OSDN Git Service

42a611141beba73d3257c36cbabbe28ddf45a71e
[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_MAP port_specific_symbol_files GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE baseline_dir GLIBCXX_TEST_ABI_TRUE GLIBCXX_TEST_ABI_FALSE ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
313 ac_subst_files=''
314
315 # Initialize some variables set by options.
316 ac_init_help=
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
320 cache_file=/dev/null
321 exec_prefix=NONE
322 no_create=
323 no_recursion=
324 prefix=NONE
325 program_prefix=NONE
326 program_suffix=NONE
327 program_transform_name=s,x,x,
328 silent=
329 site=
330 srcdir=
331 verbose=
332 x_includes=NONE
333 x_libraries=NONE
334
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
352
353 ac_prev=
354 for ac_option
355 do
356   # If the previous option needs an argument, assign it.
357   if test -n "$ac_prev"; then
358     eval "$ac_prev=\$ac_option"
359     ac_prev=
360     continue
361   fi
362
363   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364
365   # Accept the important Cygnus configure options, so we can diagnose typos.
366
367   case $ac_option in
368
369   -bindir | --bindir | --bindi | --bind | --bin | --bi)
370     ac_prev=bindir ;;
371   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372     bindir=$ac_optarg ;;
373
374   -build | --build | --buil | --bui | --bu)
375     ac_prev=build_alias ;;
376   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377     build_alias=$ac_optarg ;;
378
379   -cache-file | --cache-file | --cache-fil | --cache-fi \
380   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381     ac_prev=cache_file ;;
382   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384     cache_file=$ac_optarg ;;
385
386   --config-cache | -C)
387     cache_file=config.cache ;;
388
389   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390     ac_prev=datadir ;;
391   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392   | --da=*)
393     datadir=$ac_optarg ;;
394
395   -disable-* | --disable-*)
396     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397     # Reject names that are not valid shell variable names.
398     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400    { (exit 1); exit 1; }; }
401     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402     eval "enable_$ac_feature=no" ;;
403
404   -enable-* | --enable-*)
405     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406     # Reject names that are not valid shell variable names.
407     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409    { (exit 1); exit 1; }; }
410     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411     case $ac_option in
412       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413       *) ac_optarg=yes ;;
414     esac
415     eval "enable_$ac_feature='$ac_optarg'" ;;
416
417   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419   | --exec | --exe | --ex)
420     ac_prev=exec_prefix ;;
421   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423   | --exec=* | --exe=* | --ex=*)
424     exec_prefix=$ac_optarg ;;
425
426   -gas | --gas | --ga | --g)
427     # Obsolete; use --with-gas.
428     with_gas=yes ;;
429
430   -help | --help | --hel | --he | -h)
431     ac_init_help=long ;;
432   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433     ac_init_help=recursive ;;
434   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435     ac_init_help=short ;;
436
437   -host | --host | --hos | --ho)
438     ac_prev=host_alias ;;
439   -host=* | --host=* | --hos=* | --ho=*)
440     host_alias=$ac_optarg ;;
441
442   -includedir | --includedir | --includedi | --included | --include \
443   | --includ | --inclu | --incl | --inc)
444     ac_prev=includedir ;;
445   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446   | --includ=* | --inclu=* | --incl=* | --inc=*)
447     includedir=$ac_optarg ;;
448
449   -infodir | --infodir | --infodi | --infod | --info | --inf)
450     ac_prev=infodir ;;
451   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452     infodir=$ac_optarg ;;
453
454   -libdir | --libdir | --libdi | --libd)
455     ac_prev=libdir ;;
456   -libdir=* | --libdir=* | --libdi=* | --libd=*)
457     libdir=$ac_optarg ;;
458
459   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460   | --libexe | --libex | --libe)
461     ac_prev=libexecdir ;;
462   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463   | --libexe=* | --libex=* | --libe=*)
464     libexecdir=$ac_optarg ;;
465
466   -localstatedir | --localstatedir | --localstatedi | --localstated \
467   | --localstate | --localstat | --localsta | --localst \
468   | --locals | --local | --loca | --loc | --lo)
469     ac_prev=localstatedir ;;
470   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473     localstatedir=$ac_optarg ;;
474
475   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476     ac_prev=mandir ;;
477   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478     mandir=$ac_optarg ;;
479
480   -nfp | --nfp | --nf)
481     # Obsolete; use --without-fp.
482     with_fp=no ;;
483
484   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485   | --no-cr | --no-c | -n)
486     no_create=yes ;;
487
488   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490     no_recursion=yes ;;
491
492   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494   | --oldin | --oldi | --old | --ol | --o)
495     ac_prev=oldincludedir ;;
496   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499     oldincludedir=$ac_optarg ;;
500
501   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502     ac_prev=prefix ;;
503   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504     prefix=$ac_optarg ;;
505
506   -program-prefix | --program-prefix | --program-prefi | --program-pref \
507   | --program-pre | --program-pr | --program-p)
508     ac_prev=program_prefix ;;
509   -program-prefix=* | --program-prefix=* | --program-prefi=* \
510   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511     program_prefix=$ac_optarg ;;
512
513   -program-suffix | --program-suffix | --program-suffi | --program-suff \
514   | --program-suf | --program-su | --program-s)
515     ac_prev=program_suffix ;;
516   -program-suffix=* | --program-suffix=* | --program-suffi=* \
517   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518     program_suffix=$ac_optarg ;;
519
520   -program-transform-name | --program-transform-name \
521   | --program-transform-nam | --program-transform-na \
522   | --program-transform-n | --program-transform- \
523   | --program-transform | --program-transfor \
524   | --program-transfo | --program-transf \
525   | --program-trans | --program-tran \
526   | --progr-tra | --program-tr | --program-t)
527     ac_prev=program_transform_name ;;
528   -program-transform-name=* | --program-transform-name=* \
529   | --program-transform-nam=* | --program-transform-na=* \
530   | --program-transform-n=* | --program-transform-=* \
531   | --program-transform=* | --program-transfor=* \
532   | --program-transfo=* | --program-transf=* \
533   | --program-trans=* | --program-tran=* \
534   | --progr-tra=* | --program-tr=* | --program-t=*)
535     program_transform_name=$ac_optarg ;;
536
537   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538   | -silent | --silent | --silen | --sile | --sil)
539     silent=yes ;;
540
541   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542     ac_prev=sbindir ;;
543   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544   | --sbi=* | --sb=*)
545     sbindir=$ac_optarg ;;
546
547   -sharedstatedir | --sharedstatedir | --sharedstatedi \
548   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549   | --sharedst | --shareds | --shared | --share | --shar \
550   | --sha | --sh)
551     ac_prev=sharedstatedir ;;
552   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555   | --sha=* | --sh=*)
556     sharedstatedir=$ac_optarg ;;
557
558   -site | --site | --sit)
559     ac_prev=site ;;
560   -site=* | --site=* | --sit=*)
561     site=$ac_optarg ;;
562
563   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564     ac_prev=srcdir ;;
565   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566     srcdir=$ac_optarg ;;
567
568   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569   | --syscon | --sysco | --sysc | --sys | --sy)
570     ac_prev=sysconfdir ;;
571   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573     sysconfdir=$ac_optarg ;;
574
575   -target | --target | --targe | --targ | --tar | --ta | --t)
576     ac_prev=target_alias ;;
577   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578     target_alias=$ac_optarg ;;
579
580   -v | -verbose | --verbose | --verbos | --verbo | --verb)
581     verbose=yes ;;
582
583   -version | --version | --versio | --versi | --vers | -V)
584     ac_init_version=: ;;
585
586   -with-* | --with-*)
587     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588     # Reject names that are not valid shell variable names.
589     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590       { echo "$as_me: error: invalid package name: $ac_package" >&2
591    { (exit 1); exit 1; }; }
592     ac_package=`echo $ac_package| sed 's/-/_/g'`
593     case $ac_option in
594       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595       *) ac_optarg=yes ;;
596     esac
597     eval "with_$ac_package='$ac_optarg'" ;;
598
599   -without-* | --without-*)
600     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601     # Reject names that are not valid shell variable names.
602     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603       { echo "$as_me: error: invalid package name: $ac_package" >&2
604    { (exit 1); exit 1; }; }
605     ac_package=`echo $ac_package | sed 's/-/_/g'`
606     eval "with_$ac_package=no" ;;
607
608   --x)
609     # Obsolete; use --with-x.
610     with_x=yes ;;
611
612   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613   | --x-incl | --x-inc | --x-in | --x-i)
614     ac_prev=x_includes ;;
615   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617     x_includes=$ac_optarg ;;
618
619   -x-libraries | --x-libraries | --x-librarie | --x-librari \
620   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621     ac_prev=x_libraries ;;
622   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624     x_libraries=$ac_optarg ;;
625
626   -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628    { (exit 1); exit 1; }; }
629     ;;
630
631   *=*)
632     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633     # Reject names that are not valid shell variable names.
634     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636    { (exit 1); exit 1; }; }
637     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638     eval "$ac_envvar='$ac_optarg'"
639     export $ac_envvar ;;
640
641   *)
642     # FIXME: should be removed in autoconf 3.0.
643     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
647     ;;
648
649   esac
650 done
651
652 if test -n "$ac_prev"; then
653   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654   { echo "$as_me: error: missing argument to $ac_option" >&2
655    { (exit 1); exit 1; }; }
656 fi
657
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
660 do
661   eval ac_val=$`echo $ac_var`
662   case $ac_val in
663     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665    { (exit 1); exit 1; }; };;
666   esac
667 done
668
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671               localstatedir libdir includedir oldincludedir infodir mandir
672 do
673   eval ac_val=$`echo $ac_var`
674   case $ac_val in
675     [\\/$]* | ?:[\\/]* ) ;;
676     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677    { (exit 1); exit 1; }; };;
678   esac
679 done
680
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
684 build=$build_alias
685 host=$host_alias
686 target=$target_alias
687
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690   if test "x$build_alias" = x; then
691     cross_compiling=maybe
692     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693     If a cross compiler is detected then cross compile mode will be used." >&2
694   elif test "x$build_alias" != "x$host_alias"; then
695     cross_compiling=yes
696   fi
697 fi
698
699 ac_tool_prefix=
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
701
702 test "$silent" = yes && exec 6>/dev/null
703
704
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707   ac_srcdir_defaulted=yes
708   # Try the directory containing this script, then its parent.
709   ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711          X"$0" : 'X\(//\)[^/]' \| \
712          X"$0" : 'X\(//\)$' \| \
713          X"$0" : 'X\(/\)' \| \
714          .     : '\(.\)' 2>/dev/null ||
715 echo X"$0" |
716     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718           /^X\(\/\/\)$/{ s//\1/; q; }
719           /^X\(\/\).*/{ s//\1/; q; }
720           s/.*/./; q'`
721   srcdir=$ac_confdir
722   if test ! -r $srcdir/$ac_unique_file; then
723     srcdir=..
724   fi
725 else
726   ac_srcdir_defaulted=no
727 fi
728 if test ! -r $srcdir/$ac_unique_file; then
729   if test "$ac_srcdir_defaulted" = yes; then
730     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731    { (exit 1); exit 1; }; }
732   else
733     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734    { (exit 1); exit 1; }; }
735   fi
736 fi
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739    { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CXXCPP_set=${CXXCPP+set}
754 ac_env_CXXCPP_value=$CXXCPP
755 ac_cv_env_CXXCPP_set=${CXXCPP+set}
756 ac_cv_env_CXXCPP_value=$CXXCPP
757 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
758 ac_env_CPPFLAGS_value=$CPPFLAGS
759 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
760 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
761 ac_env_CPP_set=${CPP+set}
762 ac_env_CPP_value=$CPP
763 ac_cv_env_CPP_set=${CPP+set}
764 ac_cv_env_CPP_value=$CPP
765
766 #
767 # Report the --help message.
768 #
769 if test "$ac_init_help" = "long"; then
770   # Omit some internal or obsolete options to make the list less imposing.
771   # This message is too long to be a string in the A/UX 3.1 sh.
772   cat <<_ACEOF
773 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
774
775 Usage: $0 [OPTION]... [VAR=VALUE]...
776
777 To assign environment variables (e.g., CC, CFLAGS...), specify them as
778 VAR=VALUE.  See below for descriptions of some of the useful variables.
779
780 Defaults for the options are specified in brackets.
781
782 Configuration:
783   -h, --help              display this help and exit
784       --help=short        display options specific to this package
785       --help=recursive    display the short help of all the included packages
786   -V, --version           display version information and exit
787   -q, --quiet, --silent   do not print \`checking...' messages
788       --cache-file=FILE   cache test results in FILE [disabled]
789   -C, --config-cache      alias for \`--cache-file=config.cache'
790   -n, --no-create         do not create output files
791       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
792
793 _ACEOF
794
795   cat <<_ACEOF
796 Installation directories:
797   --prefix=PREFIX         install architecture-independent files in PREFIX
798                           [$ac_default_prefix]
799   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
800                           [PREFIX]
801
802 By default, \`make install' will install all the files in
803 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
804 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
805 for instance \`--prefix=\$HOME'.
806
807 For better control, use the options below.
808
809 Fine tuning of the installation directories:
810   --bindir=DIR           user executables [EPREFIX/bin]
811   --sbindir=DIR          system admin executables [EPREFIX/sbin]
812   --libexecdir=DIR       program executables [EPREFIX/libexec]
813   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
814   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
815   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
816   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
817   --libdir=DIR           object code libraries [EPREFIX/lib]
818   --includedir=DIR       C header files [PREFIX/include]
819   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
820   --infodir=DIR          info documentation [PREFIX/info]
821   --mandir=DIR           man documentation [PREFIX/man]
822 _ACEOF
823
824   cat <<\_ACEOF
825
826 Program names:
827   --program-prefix=PREFIX            prepend PREFIX to installed program names
828   --program-suffix=SUFFIX            append SUFFIX to installed program names
829   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
830
831 System types:
832   --build=BUILD     configure for building on BUILD [guessed]
833   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
834   --target=TARGET   configure for building compilers for TARGET [HOST]
835 _ACEOF
836 fi
837
838 if test -n "$ac_init_help"; then
839   case $ac_init_help in
840      short | recursive ) echo "Configuration of package-unused version-unused:";;
841    esac
842   cat <<\_ACEOF
843
844 Optional Features:
845   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
846   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
847   --enable-multilib       build many library versions (default)
848   --enable-maintainer-mode  enable make rules and dependencies not useful
849                           (and sometimes confusing) to the casual installer
850   --enable-shared=PKGS  build shared libraries default=yes
851   --enable-static=PKGS  build static libraries default=yes
852   --enable-fast-install=PKGS  optimize for fast installation default=yes
853   --disable-libtool-lock  avoid locking (might break parallel builds)
854   --disable-hosted-libstdcxx
855                           only build freestanding C++ runtime support
856   --enable-sjlj-exceptions
857                           force use of builtin_setjmp for exceptions
858                           [default=auto]
859   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
860                           [default=$is_hosted]
861   --enable-cstdio=PACKAGE use target-specific I/O package
862                           [default=stdio]
863   --enable-clocale[=MODEL]
864                           use MODEL for target locale package
865                           [default=auto]
866   --enable-nls            use Native Language Support (default)
867   --enable-libstdcxx-allocator=KIND
868                           use KIND for target std::allocator base
869                           [default=auto]
870   --enable-cheaders=KIND  construct "C" headers for g++
871                           [default=$c_model]
872   --enable-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   --enable-symvers=STYLE  enables symbol versioning of the shared library
891                           [default=yes]
892   --enable-version-specific-runtime-libs
893                           Specify that runtime libraries should be installed
894                           in a compiler-specific directory
895
896 Optional Packages:
897   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
898   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
899   --with-target-subdir=SUBDIR
900                           configuring in a subdirectory
901   --with-cross-host=HOST  configuring with a cross compiler
902   --with-newlib           assume newlib as a system C library
903   --with-gnu-ld           assume the C compiler uses GNU ld default=no
904   --with-pic              try to use only PIC/non-PIC objects default=use both
905   --with-gxx-include-dir=DIR
906                           installation directory for include files
907
908 Some influential environment variables:
909   CC          C compiler command
910   CFLAGS      C compiler flags
911   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
912               nonstandard directory <lib dir>
913   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
914               headers in a nonstandard directory <include dir>
915   CXX         C++ compiler command
916   CXXFLAGS    C++ compiler flags
917   CXXCPP      C++ preprocessor
918   CPP         C preprocessor
919
920 Use these variables to override the choices made by `configure' or to help
921 it to find libraries and programs with nonstandard names/locations.
922
923 _ACEOF
924 fi
925
926 if test "$ac_init_help" = "recursive"; then
927   # If there are subdirs, report their specific --help.
928   ac_popdir=`pwd`
929   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
930     test -d $ac_dir || continue
931     ac_builddir=.
932
933 if test "$ac_dir" != .; then
934   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
935   # A "../" for each directory in $ac_dir_suffix.
936   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
937 else
938   ac_dir_suffix= ac_top_builddir=
939 fi
940
941 case $srcdir in
942   .)  # No --srcdir option.  We are building in place.
943     ac_srcdir=.
944     if test -z "$ac_top_builddir"; then
945        ac_top_srcdir=.
946     else
947        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
948     fi ;;
949   [\\/]* | ?:[\\/]* )  # Absolute path.
950     ac_srcdir=$srcdir$ac_dir_suffix;
951     ac_top_srcdir=$srcdir ;;
952   *) # Relative path.
953     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
954     ac_top_srcdir=$ac_top_builddir$srcdir ;;
955 esac
956
957 # Do not use `cd foo && pwd` to compute absolute paths, because
958 # the directories may not exist.
959 case `pwd` in
960 .) ac_abs_builddir="$ac_dir";;
961 *)
962   case "$ac_dir" in
963   .) ac_abs_builddir=`pwd`;;
964   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
965   *) ac_abs_builddir=`pwd`/"$ac_dir";;
966   esac;;
967 esac
968 case $ac_abs_builddir in
969 .) ac_abs_top_builddir=${ac_top_builddir}.;;
970 *)
971   case ${ac_top_builddir}. in
972   .) ac_abs_top_builddir=$ac_abs_builddir;;
973   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
974   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
975   esac;;
976 esac
977 case $ac_abs_builddir in
978 .) ac_abs_srcdir=$ac_srcdir;;
979 *)
980   case $ac_srcdir in
981   .) ac_abs_srcdir=$ac_abs_builddir;;
982   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
983   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
984   esac;;
985 esac
986 case $ac_abs_builddir in
987 .) ac_abs_top_srcdir=$ac_top_srcdir;;
988 *)
989   case $ac_top_srcdir in
990   .) ac_abs_top_srcdir=$ac_abs_builddir;;
991   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
992   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
993   esac;;
994 esac
995
996     cd $ac_dir
997     # Check for guested configure; otherwise get Cygnus style configure.
998     if test -f $ac_srcdir/configure.gnu; then
999       echo
1000       $SHELL $ac_srcdir/configure.gnu  --help=recursive
1001     elif test -f $ac_srcdir/configure; then
1002       echo
1003       $SHELL $ac_srcdir/configure  --help=recursive
1004     elif test -f $ac_srcdir/configure.ac ||
1005            test -f $ac_srcdir/configure.in; then
1006       echo
1007       $ac_configure --help
1008     else
1009       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1010     fi
1011     cd $ac_popdir
1012   done
1013 fi
1014
1015 test -n "$ac_init_help" && exit 0
1016 if $ac_init_version; then
1017   cat <<\_ACEOF
1018 package-unused configure version-unused
1019 generated by GNU Autoconf 2.59
1020
1021 Copyright (C) 2003 Free Software Foundation, Inc.
1022 This configure script is free software; the Free Software Foundation
1023 gives unlimited permission to copy, distribute and modify it.
1024 _ACEOF
1025   exit 0
1026 fi
1027 exec 5>config.log
1028 cat >&5 <<_ACEOF
1029 This file contains any messages produced by compilers while
1030 running configure, to aid debugging if configure makes a mistake.
1031
1032 It was created by package-unused $as_me version-unused, which was
1033 generated by GNU Autoconf 2.59.  Invocation command line was
1034
1035   $ $0 $@
1036
1037 _ACEOF
1038 {
1039 cat <<_ASUNAME
1040 ## --------- ##
1041 ## Platform. ##
1042 ## --------- ##
1043
1044 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1045 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1046 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1047 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1048 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1049
1050 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1051 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1052
1053 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1054 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1055 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1056 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1057 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1058 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1059 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1060
1061 _ASUNAME
1062
1063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1064 for as_dir in $PATH
1065 do
1066   IFS=$as_save_IFS
1067   test -z "$as_dir" && as_dir=.
1068   echo "PATH: $as_dir"
1069 done
1070
1071 } >&5
1072
1073 cat >&5 <<_ACEOF
1074
1075
1076 ## ----------- ##
1077 ## Core tests. ##
1078 ## ----------- ##
1079
1080 _ACEOF
1081
1082
1083 # Keep a trace of the command line.
1084 # Strip out --no-create and --no-recursion so they do not pile up.
1085 # Strip out --silent because we don't want to record it for future runs.
1086 # Also quote any args containing shell meta-characters.
1087 # Make two passes to allow for proper duplicate-argument suppression.
1088 ac_configure_args=
1089 ac_configure_args0=
1090 ac_configure_args1=
1091 ac_sep=
1092 ac_must_keep_next=false
1093 for ac_pass in 1 2
1094 do
1095   for ac_arg
1096   do
1097     case $ac_arg in
1098     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1099     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1100     | -silent | --silent | --silen | --sile | --sil)
1101       continue ;;
1102     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1103       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1104     esac
1105     case $ac_pass in
1106     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1107     2)
1108       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1109       if test $ac_must_keep_next = true; then
1110         ac_must_keep_next=false # Got value, back to normal.
1111       else
1112         case $ac_arg in
1113           *=* | --config-cache | -C | -disable-* | --disable-* \
1114           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1115           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1116           | -with-* | --with-* | -without-* | --without-* | --x)
1117             case "$ac_configure_args0 " in
1118               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1119             esac
1120             ;;
1121           -* ) ac_must_keep_next=true ;;
1122         esac
1123       fi
1124       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1125       # Get rid of the leading space.
1126       ac_sep=" "
1127       ;;
1128     esac
1129   done
1130 done
1131 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1132 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1133
1134 # When interrupted or exit'd, cleanup temporary files, and complete
1135 # config.log.  We remove comments because anyway the quotes in there
1136 # would cause problems or look ugly.
1137 # WARNING: Be sure not to use single quotes in there, as some shells,
1138 # such as our DU 5.0 friend, will then `close' the trap.
1139 trap 'exit_status=$?
1140   # Save into config.log some information that might help in debugging.
1141   {
1142     echo
1143
1144     cat <<\_ASBOX
1145 ## ---------------- ##
1146 ## Cache variables. ##
1147 ## ---------------- ##
1148 _ASBOX
1149     echo
1150     # The following way of writing the cache mishandles newlines in values,
1151 {
1152   (set) 2>&1 |
1153     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1154     *ac_space=\ *)
1155       sed -n \
1156         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1157           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1158       ;;
1159     *)
1160       sed -n \
1161         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1162       ;;
1163     esac;
1164 }
1165     echo
1166
1167     cat <<\_ASBOX
1168 ## ----------------- ##
1169 ## Output variables. ##
1170 ## ----------------- ##
1171 _ASBOX
1172     echo
1173     for ac_var in $ac_subst_vars
1174     do
1175       eval ac_val=$`echo $ac_var`
1176       echo "$ac_var='"'"'$ac_val'"'"'"
1177     done | sort
1178     echo
1179
1180     if test -n "$ac_subst_files"; then
1181       cat <<\_ASBOX
1182 ## ------------- ##
1183 ## Output files. ##
1184 ## ------------- ##
1185 _ASBOX
1186       echo
1187       for ac_var in $ac_subst_files
1188       do
1189         eval ac_val=$`echo $ac_var`
1190         echo "$ac_var='"'"'$ac_val'"'"'"
1191       done | sort
1192       echo
1193     fi
1194
1195     if test -s confdefs.h; then
1196       cat <<\_ASBOX
1197 ## ----------- ##
1198 ## confdefs.h. ##
1199 ## ----------- ##
1200 _ASBOX
1201       echo
1202       sed "/^$/d" confdefs.h | sort
1203       echo
1204     fi
1205     test "$ac_signal" != 0 &&
1206       echo "$as_me: caught signal $ac_signal"
1207     echo "$as_me: exit $exit_status"
1208   } >&5
1209   rm -f core *.core &&
1210   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1211     exit $exit_status
1212      ' 0
1213 for ac_signal in 1 2 13 15; do
1214   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1215 done
1216 ac_signal=0
1217
1218 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1219 rm -rf conftest* confdefs.h
1220 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1221 echo >confdefs.h
1222
1223 # Predefined preprocessor variables.
1224
1225 cat >>confdefs.h <<_ACEOF
1226 #define PACKAGE_NAME "$PACKAGE_NAME"
1227 _ACEOF
1228
1229
1230 cat >>confdefs.h <<_ACEOF
1231 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1232 _ACEOF
1233
1234
1235 cat >>confdefs.h <<_ACEOF
1236 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1237 _ACEOF
1238
1239
1240 cat >>confdefs.h <<_ACEOF
1241 #define PACKAGE_STRING "$PACKAGE_STRING"
1242 _ACEOF
1243
1244
1245 cat >>confdefs.h <<_ACEOF
1246 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1247 _ACEOF
1248
1249
1250 # Let the site file select an alternate cache file if it wants to.
1251 # Prefer explicitly selected file to automatically selected ones.
1252 if test -z "$CONFIG_SITE"; then
1253   if test "x$prefix" != xNONE; then
1254     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1255   else
1256     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1257   fi
1258 fi
1259 for ac_site_file in $CONFIG_SITE; do
1260   if test -r "$ac_site_file"; then
1261     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1262 echo "$as_me: loading site script $ac_site_file" >&6;}
1263     sed 's/^/| /' "$ac_site_file" >&5
1264     . "$ac_site_file"
1265   fi
1266 done
1267
1268 if test -r "$cache_file"; then
1269   # Some versions of bash will fail to source /dev/null (special
1270   # files actually), so we avoid doing that.
1271   if test -f "$cache_file"; then
1272     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1273 echo "$as_me: loading cache $cache_file" >&6;}
1274     case $cache_file in
1275       [\\/]* | ?:[\\/]* ) . $cache_file;;
1276       *)                      . ./$cache_file;;
1277     esac
1278   fi
1279 else
1280   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1281 echo "$as_me: creating cache $cache_file" >&6;}
1282   >$cache_file
1283 fi
1284
1285 # Check that the precious variables saved in the cache have kept the same
1286 # value.
1287 ac_cache_corrupted=false
1288 for ac_var in `(set) 2>&1 |
1289                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1290   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1291   eval ac_new_set=\$ac_env_${ac_var}_set
1292   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1293   eval ac_new_val="\$ac_env_${ac_var}_value"
1294   case $ac_old_set,$ac_new_set in
1295     set,)
1296       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1297 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1298       ac_cache_corrupted=: ;;
1299     ,set)
1300       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1301 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1302       ac_cache_corrupted=: ;;
1303     ,);;
1304     *)
1305       if test "x$ac_old_val" != "x$ac_new_val"; then
1306         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1307 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1308         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1309 echo "$as_me:   former value:  $ac_old_val" >&2;}
1310         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1311 echo "$as_me:   current value: $ac_new_val" >&2;}
1312         ac_cache_corrupted=:
1313       fi;;
1314   esac
1315   # Pass precious variables to config.status.
1316   if test "$ac_new_set" = set; then
1317     case $ac_new_val in
1318     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1319       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1320     *) ac_arg=$ac_var=$ac_new_val ;;
1321     esac
1322     case " $ac_configure_args " in
1323       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1324       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1325     esac
1326   fi
1327 done
1328 if $ac_cache_corrupted; then
1329   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1330 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1331   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1332 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1333    { (exit 1); exit 1; }; }
1334 fi
1335
1336 ac_ext=c
1337 ac_cpp='$CPP $CPPFLAGS'
1338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369           ac_config_headers="$ac_config_headers config.h"
1370
1371
1372 # This works around the fact that libtool configuration may change LD
1373 # for this particular configuration, but some shells, instead of
1374 # keeping the changes in LD private, export them just because LD is
1375 # exported.  Only used at the end of this file.
1376 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
1377
1378 # For libtool versioning info, format is CURRENT:REVISION:AGE
1379 libtool_VERSION=6:5:0
1380
1381
1382 # Find the rest of the source tree framework.
1383 # Default to --enable-multilib
1384 # Check whether --enable-multilib or --disable-multilib was given.
1385 if test "${enable_multilib+set}" = set; then
1386   enableval="$enable_multilib"
1387   case "$enableval" in
1388   yes) multilib=yes ;;
1389   no)  multilib=no ;;
1390   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1391 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1392    { (exit 1); exit 1; }; } ;;
1393  esac
1394 else
1395   multilib=yes
1396 fi;
1397
1398 # We may get other options which we leave undocumented:
1399 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1400 # See config-ml.in if you want the gory details.
1401
1402 if test "$srcdir" = "."; then
1403   if test "$with_target_subdir" != "."; then
1404     multi_basedir="$srcdir/$with_multisrctop../.."
1405   else
1406     multi_basedir="$srcdir/$with_multisrctop.."
1407   fi
1408 else
1409   multi_basedir="$srcdir/.."
1410 fi
1411
1412
1413           ac_config_commands="$ac_config_commands default-1"
1414
1415
1416 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1417 #
1418 # You will slowly go insane if you do not grok the following fact:  when
1419 # building v3 as part of the compiler, the top-level /target/ becomes the
1420 # library's /host/.  configure then causes --target to default to --host,
1421 # exactly like any other package using autoconf.  Therefore, 'target' and
1422 # 'host' will always be the same.  This makes sense both for native and
1423 # cross compilers, just think about it for a little while.  :-)
1424 #
1425 # Also, if v3 is being configured as part of a cross compiler, the top-level
1426 # configure script will pass the "real" host as $with_cross_host.
1427 #
1428 # Do not delete or change the following two lines.  For why, see
1429 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1430 ac_aux_dir=
1431 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1432   if test -f $ac_dir/install-sh; then
1433     ac_aux_dir=$ac_dir
1434     ac_install_sh="$ac_aux_dir/install-sh -c"
1435     break
1436   elif test -f $ac_dir/install.sh; then
1437     ac_aux_dir=$ac_dir
1438     ac_install_sh="$ac_aux_dir/install.sh -c"
1439     break
1440   elif test -f $ac_dir/shtool; then
1441     ac_aux_dir=$ac_dir
1442     ac_install_sh="$ac_aux_dir/shtool install -c"
1443     break
1444   fi
1445 done
1446 if test -z "$ac_aux_dir"; then
1447   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1448 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1449    { (exit 1); exit 1; }; }
1450 fi
1451 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1452 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1453 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1454
1455 # Make sure we can run config.sub.
1456 $ac_config_sub sun4 >/dev/null 2>&1 ||
1457   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1458 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1459    { (exit 1); exit 1; }; }
1460
1461 echo "$as_me:$LINENO: checking build system type" >&5
1462 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1463 if test "${ac_cv_build+set}" = set; then
1464   echo $ECHO_N "(cached) $ECHO_C" >&6
1465 else
1466   ac_cv_build_alias=$build_alias
1467 test -z "$ac_cv_build_alias" &&
1468   ac_cv_build_alias=`$ac_config_guess`
1469 test -z "$ac_cv_build_alias" &&
1470   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1471 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1472    { (exit 1); exit 1; }; }
1473 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1474   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1475 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1476    { (exit 1); exit 1; }; }
1477
1478 fi
1479 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1480 echo "${ECHO_T}$ac_cv_build" >&6
1481 build=$ac_cv_build
1482 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1483 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1484 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1485
1486
1487 echo "$as_me:$LINENO: checking host system type" >&5
1488 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1489 if test "${ac_cv_host+set}" = set; then
1490   echo $ECHO_N "(cached) $ECHO_C" >&6
1491 else
1492   ac_cv_host_alias=$host_alias
1493 test -z "$ac_cv_host_alias" &&
1494   ac_cv_host_alias=$ac_cv_build_alias
1495 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1496   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1497 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1498    { (exit 1); exit 1; }; }
1499
1500 fi
1501 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1502 echo "${ECHO_T}$ac_cv_host" >&6
1503 host=$ac_cv_host
1504 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1505 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1506 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1507
1508
1509 echo "$as_me:$LINENO: checking target system type" >&5
1510 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1511 if test "${ac_cv_target+set}" = set; then
1512   echo $ECHO_N "(cached) $ECHO_C" >&6
1513 else
1514   ac_cv_target_alias=$target_alias
1515 test "x$ac_cv_target_alias" = "x" &&
1516   ac_cv_target_alias=$ac_cv_host_alias
1517 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1518   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1519 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1520    { (exit 1); exit 1; }; }
1521
1522 fi
1523 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1524 echo "${ECHO_T}$ac_cv_target" >&6
1525 target=$ac_cv_target
1526 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1527 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1528 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1529
1530
1531 # The aliases save the names the user supplied, while $host etc.
1532 # will get canonicalized.
1533 test -n "$target_alias" &&
1534   test "$program_prefix$program_suffix$program_transform_name" = \
1535     NONENONEs,x,x, &&
1536   program_prefix=${target_alias}-
1537 target_alias=${target_alias-$host_alias}
1538
1539 # Handy for debugging:
1540 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1541
1542 if test "$build" != "$host"; then
1543   # We are being configured with some form of cross compiler.
1544   GLIBCXX_IS_NATIVE=false
1545
1546 else
1547   GLIBCXX_IS_NATIVE=true
1548 fi
1549
1550 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
1551 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1552 #  1.x:  minimum required version
1553 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
1554 #              of other PACKAGE_* variables will, however, and there's nothing
1555 #              we can do about that; they come from AC_INIT).
1556 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
1557 #            file in the top srcdir, etc, etc), so stop complaining.
1558 #  no-dependencies:  turns off auto dependency generation (just for now)
1559 #  -Wall:  turns on all automake warnings...
1560 #  -Wno-portability:  ...except this one, since GNU make is now required.
1561 am__api_version="1.9"
1562 # Find a good install program.  We prefer a C program (faster),
1563 # so one script is as good as another.  But avoid the broken or
1564 # incompatible versions:
1565 # SysV /etc/install, /usr/sbin/install
1566 # SunOS /usr/etc/install
1567 # IRIX /sbin/install
1568 # AIX /bin/install
1569 # AmigaOS /C/install, which installs bootblocks on floppy discs
1570 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1571 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1572 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1573 # OS/2's system install, which has a completely different semantic
1574 # ./install, which can be erroneously created by make from ./install.sh.
1575 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1576 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1577 if test -z "$INSTALL"; then
1578 if test "${ac_cv_path_install+set}" = set; then
1579   echo $ECHO_N "(cached) $ECHO_C" >&6
1580 else
1581   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1582 for as_dir in $PATH
1583 do
1584   IFS=$as_save_IFS
1585   test -z "$as_dir" && as_dir=.
1586   # Account for people who put trailing slashes in PATH elements.
1587 case $as_dir/ in
1588   ./ | .// | /cC/* | \
1589   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1590   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1591   /usr/ucb/* ) ;;
1592   *)
1593     # OSF1 and SCO ODT 3.0 have their own names for install.
1594     # Don't use installbsd from OSF since it installs stuff as root
1595     # by default.
1596     for ac_prog in ginstall scoinst install; do
1597       for ac_exec_ext in '' $ac_executable_extensions; do
1598         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1599           if test $ac_prog = install &&
1600             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1601             # AIX install.  It has an incompatible calling convention.
1602             :
1603           elif test $ac_prog = install &&
1604             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1605             # program-specific install script used by HP pwplus--don't use.
1606             :
1607           else
1608             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1609             break 3
1610           fi
1611         fi
1612       done
1613     done
1614     ;;
1615 esac
1616 done
1617
1618
1619 fi
1620   if test "${ac_cv_path_install+set}" = set; then
1621     INSTALL=$ac_cv_path_install
1622   else
1623     # As a last resort, use the slow shell script.  We don't cache a
1624     # path for INSTALL within a source directory, because that will
1625     # break other packages using the cache if that directory is
1626     # removed, or if the path is relative.
1627     INSTALL=$ac_install_sh
1628   fi
1629 fi
1630 echo "$as_me:$LINENO: result: $INSTALL" >&5
1631 echo "${ECHO_T}$INSTALL" >&6
1632
1633 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1634 # It thinks the first close brace ends the variable substitution.
1635 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1636
1637 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1638
1639 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1640
1641 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1642 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1643 # Just in case
1644 sleep 1
1645 echo timestamp > conftest.file
1646 # Do `set' in a subshell so we don't clobber the current shell's
1647 # arguments.  Must try -L first in case configure is actually a
1648 # symlink; some systems play weird games with the mod time of symlinks
1649 # (eg FreeBSD returns the mod time of the symlink's containing
1650 # directory).
1651 if (
1652    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1653    if test "$*" = "X"; then
1654       # -L didn't work.
1655       set X `ls -t $srcdir/configure conftest.file`
1656    fi
1657    rm -f conftest.file
1658    if test "$*" != "X $srcdir/configure conftest.file" \
1659       && test "$*" != "X conftest.file $srcdir/configure"; then
1660
1661       # If neither matched, then we have a broken ls.  This can happen
1662       # if, for instance, CONFIG_SHELL is bash and it inherits a
1663       # broken ls alias from the environment.  This has actually
1664       # happened.  Such a system could not be considered "sane".
1665       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1666 alias in your environment" >&5
1667 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1668 alias in your environment" >&2;}
1669    { (exit 1); exit 1; }; }
1670    fi
1671
1672    test "$2" = conftest.file
1673    )
1674 then
1675    # Ok.
1676    :
1677 else
1678    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1679 Check your system clock" >&5
1680 echo "$as_me: error: newly created file is older than distributed files!
1681 Check your system clock" >&2;}
1682    { (exit 1); exit 1; }; }
1683 fi
1684 echo "$as_me:$LINENO: result: yes" >&5
1685 echo "${ECHO_T}yes" >&6
1686 test "$program_prefix" != NONE &&
1687   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1688 # Use a double $ so make ignores it.
1689 test "$program_suffix" != NONE &&
1690   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1691 # Double any \ or $.  echo might interpret backslashes.
1692 # By default was `s,x,x', remove it if useless.
1693 cat <<\_ACEOF >conftest.sed
1694 s/[\\$]/&&/g;s/;s,x,x,$//
1695 _ACEOF
1696 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1697 rm conftest.sed
1698
1699 # expand $ac_aux_dir to an absolute path
1700 am_aux_dir=`cd $ac_aux_dir && pwd`
1701
1702 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1703 # Use eval to expand $SHELL
1704 if eval "$MISSING --run true"; then
1705   am_missing_run="$MISSING --run "
1706 else
1707   am_missing_run=
1708   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1709 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1710 fi
1711
1712 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1713   # We used to keeping the `.' as first argument, in order to
1714   # allow $(mkdir_p) to be used without argument.  As in
1715   #   $(mkdir_p) $(somedir)
1716   # where $(somedir) is conditionally defined.  However this is wrong
1717   # for two reasons:
1718   #  1. if the package is installed by a user who cannot write `.'
1719   #     make install will fail,
1720   #  2. the above comment should most certainly read
1721   #     $(mkdir_p) $(DESTDIR)$(somedir)
1722   #     so it does not work when $(somedir) is undefined and
1723   #     $(DESTDIR) is not.
1724   #  To support the latter case, we have to write
1725   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1726   #  so the `.' trick is pointless.
1727   mkdir_p='mkdir -p --'
1728 else
1729   # On NextStep and OpenStep, the `mkdir' command does not
1730   # recognize any option.  It will interpret all options as
1731   # directories to create, and then abort because `.' already
1732   # exists.
1733   for d in ./-p ./--version;
1734   do
1735     test -d $d && rmdir $d
1736   done
1737   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1738   if test -f "$ac_aux_dir/mkinstalldirs"; then
1739     mkdir_p='$(mkinstalldirs)'
1740   else
1741     mkdir_p='$(install_sh) -d'
1742   fi
1743 fi
1744
1745 for ac_prog in gawk mawk nawk awk
1746 do
1747   # Extract the first word of "$ac_prog", so it can be a program name with args.
1748 set dummy $ac_prog; ac_word=$2
1749 echo "$as_me:$LINENO: checking for $ac_word" >&5
1750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1751 if test "${ac_cv_prog_AWK+set}" = set; then
1752   echo $ECHO_N "(cached) $ECHO_C" >&6
1753 else
1754   if test -n "$AWK"; then
1755   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1756 else
1757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1758 for as_dir in $PATH
1759 do
1760   IFS=$as_save_IFS
1761   test -z "$as_dir" && as_dir=.
1762   for ac_exec_ext in '' $ac_executable_extensions; do
1763   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1764     ac_cv_prog_AWK="$ac_prog"
1765     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1766     break 2
1767   fi
1768 done
1769 done
1770
1771 fi
1772 fi
1773 AWK=$ac_cv_prog_AWK
1774 if test -n "$AWK"; then
1775   echo "$as_me:$LINENO: result: $AWK" >&5
1776 echo "${ECHO_T}$AWK" >&6
1777 else
1778   echo "$as_me:$LINENO: result: no" >&5
1779 echo "${ECHO_T}no" >&6
1780 fi
1781
1782   test -n "$AWK" && break
1783 done
1784
1785 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1786 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1787 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1788 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1789   echo $ECHO_N "(cached) $ECHO_C" >&6
1790 else
1791   cat >conftest.make <<\_ACEOF
1792 all:
1793         @echo 'ac_maketemp="$(MAKE)"'
1794 _ACEOF
1795 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1796 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1797 if test -n "$ac_maketemp"; then
1798   eval ac_cv_prog_make_${ac_make}_set=yes
1799 else
1800   eval ac_cv_prog_make_${ac_make}_set=no
1801 fi
1802 rm -f conftest.make
1803 fi
1804 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1805   echo "$as_me:$LINENO: result: yes" >&5
1806 echo "${ECHO_T}yes" >&6
1807   SET_MAKE=
1808 else
1809   echo "$as_me:$LINENO: result: no" >&5
1810 echo "${ECHO_T}no" >&6
1811   SET_MAKE="MAKE=${MAKE-make}"
1812 fi
1813
1814 rm -rf .tst 2>/dev/null
1815 mkdir .tst 2>/dev/null
1816 if test -d .tst; then
1817   am__leading_dot=.
1818 else
1819   am__leading_dot=_
1820 fi
1821 rmdir .tst 2>/dev/null
1822
1823 # test to see if srcdir already configured
1824 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1825    test -f $srcdir/config.status; then
1826   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1827 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1828    { (exit 1); exit 1; }; }
1829 fi
1830
1831 # test whether we have cygpath
1832 if test -z "$CYGPATH_W"; then
1833   if (cygpath --version) >/dev/null 2>/dev/null; then
1834     CYGPATH_W='cygpath -w'
1835   else
1836     CYGPATH_W=echo
1837   fi
1838 fi
1839
1840
1841 # Define the identity of the package.
1842  PACKAGE='libstdc++'
1843  VERSION='version-unused'
1844
1845
1846 # Some tools Automake needs.
1847
1848 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1849
1850
1851 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1852
1853
1854 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1855
1856
1857 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1858
1859
1860 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1861
1862 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1863
1864 # Installed binaries are usually stripped using `strip' when the user
1865 # run `make install-strip'.  However `strip' might not be the right
1866 # tool to use in cross-compilation environments, therefore Automake
1867 # will honor the `STRIP' environment variable to overrule this program.
1868 if test "$cross_compiling" != no; then
1869   if test -n "$ac_tool_prefix"; then
1870   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1871 set dummy ${ac_tool_prefix}strip; ac_word=$2
1872 echo "$as_me:$LINENO: checking for $ac_word" >&5
1873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1874 if test "${ac_cv_prog_STRIP+set}" = set; then
1875   echo $ECHO_N "(cached) $ECHO_C" >&6
1876 else
1877   if test -n "$STRIP"; then
1878   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1879 else
1880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1881 for as_dir in $PATH
1882 do
1883   IFS=$as_save_IFS
1884   test -z "$as_dir" && as_dir=.
1885   for ac_exec_ext in '' $ac_executable_extensions; do
1886   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1887     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1888     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1889     break 2
1890   fi
1891 done
1892 done
1893
1894 fi
1895 fi
1896 STRIP=$ac_cv_prog_STRIP
1897 if test -n "$STRIP"; then
1898   echo "$as_me:$LINENO: result: $STRIP" >&5
1899 echo "${ECHO_T}$STRIP" >&6
1900 else
1901   echo "$as_me:$LINENO: result: no" >&5
1902 echo "${ECHO_T}no" >&6
1903 fi
1904
1905 fi
1906 if test -z "$ac_cv_prog_STRIP"; then
1907   ac_ct_STRIP=$STRIP
1908   # Extract the first word of "strip", so it can be a program name with args.
1909 set dummy strip; ac_word=$2
1910 echo "$as_me:$LINENO: checking for $ac_word" >&5
1911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1912 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1913   echo $ECHO_N "(cached) $ECHO_C" >&6
1914 else
1915   if test -n "$ac_ct_STRIP"; then
1916   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1917 else
1918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1919 for as_dir in $PATH
1920 do
1921   IFS=$as_save_IFS
1922   test -z "$as_dir" && as_dir=.
1923   for ac_exec_ext in '' $ac_executable_extensions; do
1924   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1925     ac_cv_prog_ac_ct_STRIP="strip"
1926     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1927     break 2
1928   fi
1929 done
1930 done
1931
1932   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1933 fi
1934 fi
1935 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1936 if test -n "$ac_ct_STRIP"; then
1937   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1938 echo "${ECHO_T}$ac_ct_STRIP" >&6
1939 else
1940   echo "$as_me:$LINENO: result: no" >&5
1941 echo "${ECHO_T}no" >&6
1942 fi
1943
1944   STRIP=$ac_ct_STRIP
1945 else
1946   STRIP="$ac_cv_prog_STRIP"
1947 fi
1948
1949 fi
1950 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1951
1952 # We need awk for the "check" target.  The system "awk" is bad on
1953 # some platforms.
1954 # Always define AMTAR for backward compatibility.
1955
1956 AMTAR=${AMTAR-"${am_missing_run}tar"}
1957
1958 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969 # Runs configure.host, finds CC, CXX, and assorted other critical bits.  Sets
1970 # up critical shell variables.
1971
1972   # Keep these sync'd with the list in Makefile.am.  The first provides an
1973   # expandable list at autoconf time; the second provides an expandable list
1974   # (i.e., shell variable) at configure time.
1975
1976   SUBDIRS='include libmath libsupc++ src po testsuite'
1977
1978   # These need to be absolute paths, yet at the same time need to
1979   # canonicalize only relative paths, because then amd will not unmount
1980   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1981   glibcxx_builddir=`${PWDCMD-pwd}`
1982   case $srcdir in
1983     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
1984     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1985   esac
1986   toplevel_srcdir=${glibcxx_srcdir}/..
1987
1988
1989
1990
1991   # We use these options to decide which functions to include.  They are
1992   # set from the top level.
1993
1994 # Check whether --with-target-subdir or --without-target-subdir was given.
1995 if test "${with_target_subdir+set}" = set; then
1996   withval="$with_target_subdir"
1997
1998 fi;
1999
2000
2001 # Check whether --with-cross-host or --without-cross-host was given.
2002 if test "${with_cross_host+set}" = set; then
2003   withval="$with_cross_host"
2004
2005 fi;
2006
2007
2008 # Check whether --with-newlib or --without-newlib was given.
2009 if test "${with_newlib+set}" = set; then
2010   withval="$with_newlib"
2011
2012 fi;
2013
2014   # We're almost certainly being configured before anything else which uses
2015   # C++, so all of our AC_PROG_* discoveries will be cached.  It's vital that
2016   # we not cache the value of CXX that we "discover" here, because it's set
2017   # to something unique for us and libjava.  Other target libraries need to
2018   # find CXX for themselves.  We yank the rug out from under the normal AC_*
2019   # process by sneakily renaming the cache variable.  This also lets us debug
2020   # the value of "our" CXX in postmortems.
2021   #
2022   # We must also force CXX to /not/ be a precious variable, otherwise the
2023   # wrong (non-multilib-adjusted) value will be used in multilibs.  This
2024   # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS.  And as a side
2025   # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2026   # that ourselves.  Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2027   #
2028   # -fno-builtin must be present here so that a non-conflicting form of
2029   # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2030
2031
2032
2033
2034   save_CXXFLAGS="$CXXFLAGS"
2035   CXXFLAGS="$CXXFLAGS -fno-builtin"
2036   ac_ext=c
2037 ac_cpp='$CPP $CPPFLAGS'
2038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2041 if test -n "$ac_tool_prefix"; then
2042   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2043 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2044 echo "$as_me:$LINENO: checking for $ac_word" >&5
2045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2046 if test "${ac_cv_prog_CC+set}" = set; then
2047   echo $ECHO_N "(cached) $ECHO_C" >&6
2048 else
2049   if test -n "$CC"; then
2050   ac_cv_prog_CC="$CC" # Let the user override the test.
2051 else
2052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2053 for as_dir in $PATH
2054 do
2055   IFS=$as_save_IFS
2056   test -z "$as_dir" && as_dir=.
2057   for ac_exec_ext in '' $ac_executable_extensions; do
2058   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2059     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2060     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2061     break 2
2062   fi
2063 done
2064 done
2065
2066 fi
2067 fi
2068 CC=$ac_cv_prog_CC
2069 if test -n "$CC"; then
2070   echo "$as_me:$LINENO: result: $CC" >&5
2071 echo "${ECHO_T}$CC" >&6
2072 else
2073   echo "$as_me:$LINENO: result: no" >&5
2074 echo "${ECHO_T}no" >&6
2075 fi
2076
2077 fi
2078 if test -z "$ac_cv_prog_CC"; then
2079   ac_ct_CC=$CC
2080   # Extract the first word of "gcc", so it can be a program name with args.
2081 set dummy gcc; ac_word=$2
2082 echo "$as_me:$LINENO: checking for $ac_word" >&5
2083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2084 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2085   echo $ECHO_N "(cached) $ECHO_C" >&6
2086 else
2087   if test -n "$ac_ct_CC"; then
2088   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2089 else
2090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2091 for as_dir in $PATH
2092 do
2093   IFS=$as_save_IFS
2094   test -z "$as_dir" && as_dir=.
2095   for ac_exec_ext in '' $ac_executable_extensions; do
2096   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2097     ac_cv_prog_ac_ct_CC="gcc"
2098     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2099     break 2
2100   fi
2101 done
2102 done
2103
2104 fi
2105 fi
2106 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2107 if test -n "$ac_ct_CC"; then
2108   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2109 echo "${ECHO_T}$ac_ct_CC" >&6
2110 else
2111   echo "$as_me:$LINENO: result: no" >&5
2112 echo "${ECHO_T}no" >&6
2113 fi
2114
2115   CC=$ac_ct_CC
2116 else
2117   CC="$ac_cv_prog_CC"
2118 fi
2119
2120 if test -z "$CC"; then
2121   if test -n "$ac_tool_prefix"; then
2122   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2123 set dummy ${ac_tool_prefix}cc; ac_word=$2
2124 echo "$as_me:$LINENO: checking for $ac_word" >&5
2125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2126 if test "${ac_cv_prog_CC+set}" = set; then
2127   echo $ECHO_N "(cached) $ECHO_C" >&6
2128 else
2129   if test -n "$CC"; then
2130   ac_cv_prog_CC="$CC" # Let the user override the test.
2131 else
2132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2133 for as_dir in $PATH
2134 do
2135   IFS=$as_save_IFS
2136   test -z "$as_dir" && as_dir=.
2137   for ac_exec_ext in '' $ac_executable_extensions; do
2138   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2139     ac_cv_prog_CC="${ac_tool_prefix}cc"
2140     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2141     break 2
2142   fi
2143 done
2144 done
2145
2146 fi
2147 fi
2148 CC=$ac_cv_prog_CC
2149 if test -n "$CC"; then
2150   echo "$as_me:$LINENO: result: $CC" >&5
2151 echo "${ECHO_T}$CC" >&6
2152 else
2153   echo "$as_me:$LINENO: result: no" >&5
2154 echo "${ECHO_T}no" >&6
2155 fi
2156
2157 fi
2158 if test -z "$ac_cv_prog_CC"; then
2159   ac_ct_CC=$CC
2160   # Extract the first word of "cc", so it can be a program name with args.
2161 set dummy cc; ac_word=$2
2162 echo "$as_me:$LINENO: checking for $ac_word" >&5
2163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2164 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2165   echo $ECHO_N "(cached) $ECHO_C" >&6
2166 else
2167   if test -n "$ac_ct_CC"; then
2168   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2169 else
2170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2171 for as_dir in $PATH
2172 do
2173   IFS=$as_save_IFS
2174   test -z "$as_dir" && as_dir=.
2175   for ac_exec_ext in '' $ac_executable_extensions; do
2176   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2177     ac_cv_prog_ac_ct_CC="cc"
2178     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2179     break 2
2180   fi
2181 done
2182 done
2183
2184 fi
2185 fi
2186 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2187 if test -n "$ac_ct_CC"; then
2188   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2189 echo "${ECHO_T}$ac_ct_CC" >&6
2190 else
2191   echo "$as_me:$LINENO: result: no" >&5
2192 echo "${ECHO_T}no" >&6
2193 fi
2194
2195   CC=$ac_ct_CC
2196 else
2197   CC="$ac_cv_prog_CC"
2198 fi
2199
2200 fi
2201 if test -z "$CC"; then
2202   # Extract the first word of "cc", so it can be a program name with args.
2203 set dummy cc; ac_word=$2
2204 echo "$as_me:$LINENO: checking for $ac_word" >&5
2205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2206 if test "${ac_cv_prog_CC+set}" = set; then
2207   echo $ECHO_N "(cached) $ECHO_C" >&6
2208 else
2209   if test -n "$CC"; then
2210   ac_cv_prog_CC="$CC" # Let the user override the test.
2211 else
2212   ac_prog_rejected=no
2213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2214 for as_dir in $PATH
2215 do
2216   IFS=$as_save_IFS
2217   test -z "$as_dir" && as_dir=.
2218   for ac_exec_ext in '' $ac_executable_extensions; do
2219   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2220     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2221        ac_prog_rejected=yes
2222        continue
2223      fi
2224     ac_cv_prog_CC="cc"
2225     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2226     break 2
2227   fi
2228 done
2229 done
2230
2231 if test $ac_prog_rejected = yes; then
2232   # We found a bogon in the path, so make sure we never use it.
2233   set dummy $ac_cv_prog_CC
2234   shift
2235   if test $# != 0; then
2236     # We chose a different compiler from the bogus one.
2237     # However, it has the same basename, so the bogon will be chosen
2238     # first if we set CC to just the basename; use the full file name.
2239     shift
2240     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2241   fi
2242 fi
2243 fi
2244 fi
2245 CC=$ac_cv_prog_CC
2246 if test -n "$CC"; then
2247   echo "$as_me:$LINENO: result: $CC" >&5
2248 echo "${ECHO_T}$CC" >&6
2249 else
2250   echo "$as_me:$LINENO: result: no" >&5
2251 echo "${ECHO_T}no" >&6
2252 fi
2253
2254 fi
2255 if test -z "$CC"; then
2256   if test -n "$ac_tool_prefix"; then
2257   for ac_prog in cl
2258   do
2259     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2260 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2261 echo "$as_me:$LINENO: checking for $ac_word" >&5
2262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2263 if test "${ac_cv_prog_CC+set}" = set; then
2264   echo $ECHO_N "(cached) $ECHO_C" >&6
2265 else
2266   if test -n "$CC"; then
2267   ac_cv_prog_CC="$CC" # Let the user override the test.
2268 else
2269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2270 for as_dir in $PATH
2271 do
2272   IFS=$as_save_IFS
2273   test -z "$as_dir" && as_dir=.
2274   for ac_exec_ext in '' $ac_executable_extensions; do
2275   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2276     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2277     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2278     break 2
2279   fi
2280 done
2281 done
2282
2283 fi
2284 fi
2285 CC=$ac_cv_prog_CC
2286 if test -n "$CC"; then
2287   echo "$as_me:$LINENO: result: $CC" >&5
2288 echo "${ECHO_T}$CC" >&6
2289 else
2290   echo "$as_me:$LINENO: result: no" >&5
2291 echo "${ECHO_T}no" >&6
2292 fi
2293
2294     test -n "$CC" && break
2295   done
2296 fi
2297 if test -z "$CC"; then
2298   ac_ct_CC=$CC
2299   for ac_prog in cl
2300 do
2301   # Extract the first word of "$ac_prog", so it can be a program name with args.
2302 set dummy $ac_prog; ac_word=$2
2303 echo "$as_me:$LINENO: checking for $ac_word" >&5
2304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2305 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2306   echo $ECHO_N "(cached) $ECHO_C" >&6
2307 else
2308   if test -n "$ac_ct_CC"; then
2309   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2310 else
2311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2312 for as_dir in $PATH
2313 do
2314   IFS=$as_save_IFS
2315   test -z "$as_dir" && as_dir=.
2316   for ac_exec_ext in '' $ac_executable_extensions; do
2317   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2318     ac_cv_prog_ac_ct_CC="$ac_prog"
2319     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2320     break 2
2321   fi
2322 done
2323 done
2324
2325 fi
2326 fi
2327 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2328 if test -n "$ac_ct_CC"; then
2329   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2330 echo "${ECHO_T}$ac_ct_CC" >&6
2331 else
2332   echo "$as_me:$LINENO: result: no" >&5
2333 echo "${ECHO_T}no" >&6
2334 fi
2335
2336   test -n "$ac_ct_CC" && break
2337 done
2338
2339   CC=$ac_ct_CC
2340 fi
2341
2342 fi
2343
2344
2345 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2346 See \`config.log' for more details." >&5
2347 echo "$as_me: error: no acceptable C compiler found in \$PATH
2348 See \`config.log' for more details." >&2;}
2349    { (exit 1); exit 1; }; }
2350
2351 # Provide some information about the compiler.
2352 echo "$as_me:$LINENO:" \
2353      "checking for C compiler version" >&5
2354 ac_compiler=`set X $ac_compile; echo $2`
2355 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2356   (eval $ac_compiler --version </dev/null >&5) 2>&5
2357   ac_status=$?
2358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359   (exit $ac_status); }
2360 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2361   (eval $ac_compiler -v </dev/null >&5) 2>&5
2362   ac_status=$?
2363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2364   (exit $ac_status); }
2365 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2366   (eval $ac_compiler -V </dev/null >&5) 2>&5
2367   ac_status=$?
2368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2369   (exit $ac_status); }
2370
2371 cat >conftest.$ac_ext <<_ACEOF
2372 /* confdefs.h.  */
2373 _ACEOF
2374 cat confdefs.h >>conftest.$ac_ext
2375 cat >>conftest.$ac_ext <<_ACEOF
2376 /* end confdefs.h.  */
2377
2378 int
2379 main ()
2380 {
2381
2382   ;
2383   return 0;
2384 }
2385 _ACEOF
2386 # FIXME: Cleanup?
2387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2388   (eval $ac_link) 2>&5
2389   ac_status=$?
2390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2391   (exit $ac_status); }; then
2392   gcc_no_link=no
2393 else
2394   gcc_no_link=yes
2395 fi
2396
2397 if test x$gcc_no_link = xyes; then
2398   # Setting cross_compile will disable run tests; it will
2399   # also disable AC_CHECK_FILE but that's generally
2400   # correct if we can't link.
2401   cross_compiling=yes
2402   EXEEXT=
2403 else
2404   cat >conftest.$ac_ext <<_ACEOF
2405 /* confdefs.h.  */
2406 _ACEOF
2407 cat confdefs.h >>conftest.$ac_ext
2408 cat >>conftest.$ac_ext <<_ACEOF
2409 /* end confdefs.h.  */
2410
2411 int
2412 main ()
2413 {
2414
2415   ;
2416   return 0;
2417 }
2418 _ACEOF
2419 ac_clean_files_save=$ac_clean_files
2420 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2421 # Try to create an executable without -o first, disregard a.out.
2422 # It will help us diagnose broken compilers, and finding out an intuition
2423 # of exeext.
2424 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2425 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2426 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2427 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2428   (eval $ac_link_default) 2>&5
2429   ac_status=$?
2430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2431   (exit $ac_status); }; then
2432   # Find the output, starting from the most likely.  This scheme is
2433 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2434 # resort.
2435
2436 # Be careful to initialize this variable, since it used to be cached.
2437 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2438 ac_cv_exeext=
2439 # b.out is created by i960 compilers.
2440 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2441 do
2442   test -f "$ac_file" || continue
2443   case $ac_file in
2444     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2445         ;;
2446     conftest.$ac_ext )
2447         # This is the source file.
2448         ;;
2449     [ab].out )
2450         # We found the default executable, but exeext='' is most
2451         # certainly right.
2452         break;;
2453     *.* )
2454         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2455         # FIXME: I believe we export ac_cv_exeext for Libtool,
2456         # but it would be cool to find out if it's true.  Does anybody
2457         # maintain Libtool? --akim.
2458         export ac_cv_exeext
2459         break;;
2460     * )
2461         break;;
2462   esac
2463 done
2464 else
2465   echo "$as_me: failed program was:" >&5
2466 sed 's/^/| /' conftest.$ac_ext >&5
2467
2468 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2469 See \`config.log' for more details." >&5
2470 echo "$as_me: error: C compiler cannot create executables
2471 See \`config.log' for more details." >&2;}
2472    { (exit 77); exit 77; }; }
2473 fi
2474
2475 ac_exeext=$ac_cv_exeext
2476 echo "$as_me:$LINENO: result: $ac_file" >&5
2477 echo "${ECHO_T}$ac_file" >&6
2478
2479 # Check the compiler produces executables we can run.  If not, either
2480 # the compiler is broken, or we cross compile.
2481 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2482 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2483 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2484 # If not cross compiling, check that we can run a simple program.
2485 if test "$cross_compiling" != yes; then
2486   if { ac_try='./$ac_file'
2487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2488   (eval $ac_try) 2>&5
2489   ac_status=$?
2490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2491   (exit $ac_status); }; }; then
2492     cross_compiling=no
2493   else
2494     if test "$cross_compiling" = maybe; then
2495         cross_compiling=yes
2496     else
2497         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2498 If you meant to cross compile, use \`--host'.
2499 See \`config.log' for more details." >&5
2500 echo "$as_me: error: cannot run C compiled programs.
2501 If you meant to cross compile, use \`--host'.
2502 See \`config.log' for more details." >&2;}
2503    { (exit 1); exit 1; }; }
2504     fi
2505   fi
2506 fi
2507 echo "$as_me:$LINENO: result: yes" >&5
2508 echo "${ECHO_T}yes" >&6
2509
2510 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2511 ac_clean_files=$ac_clean_files_save
2512 # Check the compiler produces executables we can run.  If not, either
2513 # the compiler is broken, or we cross compile.
2514 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2515 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2516 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2517 echo "${ECHO_T}$cross_compiling" >&6
2518
2519 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2520 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2522   (eval $ac_link) 2>&5
2523   ac_status=$?
2524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2525   (exit $ac_status); }; then
2526   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2527 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2528 # work properly (i.e., refer to `conftest.exe'), while it won't with
2529 # `rm'.
2530 for ac_file in conftest.exe conftest conftest.*; do
2531   test -f "$ac_file" || continue
2532   case $ac_file in
2533     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2534     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2535           export ac_cv_exeext
2536           break;;
2537     * ) break;;
2538   esac
2539 done
2540 else
2541   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2542 See \`config.log' for more details." >&5
2543 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2544 See \`config.log' for more details." >&2;}
2545    { (exit 1); exit 1; }; }
2546 fi
2547
2548 rm -f conftest$ac_cv_exeext
2549 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2550 echo "${ECHO_T}$ac_cv_exeext" >&6
2551
2552 rm -f conftest.$ac_ext
2553 EXEEXT=$ac_cv_exeext
2554 ac_exeext=$EXEEXT
2555 fi
2556 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2557 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2558 if test "${ac_cv_objext+set}" = set; then
2559   echo $ECHO_N "(cached) $ECHO_C" >&6
2560 else
2561   cat >conftest.$ac_ext <<_ACEOF
2562 /* confdefs.h.  */
2563 _ACEOF
2564 cat confdefs.h >>conftest.$ac_ext
2565 cat >>conftest.$ac_ext <<_ACEOF
2566 /* end confdefs.h.  */
2567
2568 int
2569 main ()
2570 {
2571
2572   ;
2573   return 0;
2574 }
2575 _ACEOF
2576 rm -f conftest.o conftest.obj
2577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2578   (eval $ac_compile) 2>&5
2579   ac_status=$?
2580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2581   (exit $ac_status); }; then
2582   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2583   case $ac_file in
2584     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2585     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2586        break;;
2587   esac
2588 done
2589 else
2590   echo "$as_me: failed program was:" >&5
2591 sed 's/^/| /' conftest.$ac_ext >&5
2592
2593 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2594 See \`config.log' for more details." >&5
2595 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2596 See \`config.log' for more details." >&2;}
2597    { (exit 1); exit 1; }; }
2598 fi
2599
2600 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2601 fi
2602 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2603 echo "${ECHO_T}$ac_cv_objext" >&6
2604 OBJEXT=$ac_cv_objext
2605 ac_objext=$OBJEXT
2606 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2607 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2608 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2609   echo $ECHO_N "(cached) $ECHO_C" >&6
2610 else
2611   cat >conftest.$ac_ext <<_ACEOF
2612 /* confdefs.h.  */
2613 _ACEOF
2614 cat confdefs.h >>conftest.$ac_ext
2615 cat >>conftest.$ac_ext <<_ACEOF
2616 /* end confdefs.h.  */
2617
2618 int
2619 main ()
2620 {
2621 #ifndef __GNUC__
2622        choke me
2623 #endif
2624
2625   ;
2626   return 0;
2627 }
2628 _ACEOF
2629 rm -f conftest.$ac_objext
2630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2631   (eval $ac_compile) 2>conftest.er1
2632   ac_status=$?
2633   grep -v '^ *+' conftest.er1 >conftest.err
2634   rm -f conftest.er1
2635   cat conftest.err >&5
2636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2637   (exit $ac_status); } &&
2638          { ac_try='test -z "$ac_c_werror_flag"
2639                          || test ! -s conftest.err'
2640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2641   (eval $ac_try) 2>&5
2642   ac_status=$?
2643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2644   (exit $ac_status); }; } &&
2645          { ac_try='test -s conftest.$ac_objext'
2646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2647   (eval $ac_try) 2>&5
2648   ac_status=$?
2649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650   (exit $ac_status); }; }; then
2651   ac_compiler_gnu=yes
2652 else
2653   echo "$as_me: failed program was:" >&5
2654 sed 's/^/| /' conftest.$ac_ext >&5
2655
2656 ac_compiler_gnu=no
2657 fi
2658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2659 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2660
2661 fi
2662 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2663 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2664 GCC=`test $ac_compiler_gnu = yes && echo yes`
2665 ac_test_CFLAGS=${CFLAGS+set}
2666 ac_save_CFLAGS=$CFLAGS
2667 CFLAGS="-g"
2668 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2669 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2670 if test "${ac_cv_prog_cc_g+set}" = set; then
2671   echo $ECHO_N "(cached) $ECHO_C" >&6
2672 else
2673   cat >conftest.$ac_ext <<_ACEOF
2674 /* confdefs.h.  */
2675 _ACEOF
2676 cat confdefs.h >>conftest.$ac_ext
2677 cat >>conftest.$ac_ext <<_ACEOF
2678 /* end confdefs.h.  */
2679
2680 int
2681 main ()
2682 {
2683
2684   ;
2685   return 0;
2686 }
2687 _ACEOF
2688 rm -f conftest.$ac_objext
2689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2690   (eval $ac_compile) 2>conftest.er1
2691   ac_status=$?
2692   grep -v '^ *+' conftest.er1 >conftest.err
2693   rm -f conftest.er1
2694   cat conftest.err >&5
2695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2696   (exit $ac_status); } &&
2697          { ac_try='test -z "$ac_c_werror_flag"
2698                          || test ! -s conftest.err'
2699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2700   (eval $ac_try) 2>&5
2701   ac_status=$?
2702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2703   (exit $ac_status); }; } &&
2704          { ac_try='test -s conftest.$ac_objext'
2705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2706   (eval $ac_try) 2>&5
2707   ac_status=$?
2708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2709   (exit $ac_status); }; }; then
2710   ac_cv_prog_cc_g=yes
2711 else
2712   echo "$as_me: failed program was:" >&5
2713 sed 's/^/| /' conftest.$ac_ext >&5
2714
2715 ac_cv_prog_cc_g=no
2716 fi
2717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2718 fi
2719 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2720 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2721 if test "$ac_test_CFLAGS" = set; then
2722   CFLAGS=$ac_save_CFLAGS
2723 elif test $ac_cv_prog_cc_g = yes; then
2724   if test "$GCC" = yes; then
2725     CFLAGS="-g -O2"
2726   else
2727     CFLAGS="-g"
2728   fi
2729 else
2730   if test "$GCC" = yes; then
2731     CFLAGS="-O2"
2732   else
2733     CFLAGS=
2734   fi
2735 fi
2736 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2737 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2738 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2739   echo $ECHO_N "(cached) $ECHO_C" >&6
2740 else
2741   ac_cv_prog_cc_stdc=no
2742 ac_save_CC=$CC
2743 cat >conftest.$ac_ext <<_ACEOF
2744 /* confdefs.h.  */
2745 _ACEOF
2746 cat confdefs.h >>conftest.$ac_ext
2747 cat >>conftest.$ac_ext <<_ACEOF
2748 /* end confdefs.h.  */
2749 #include <stdarg.h>
2750 #include <stdio.h>
2751 #include <sys/types.h>
2752 #include <sys/stat.h>
2753 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2754 struct buf { int x; };
2755 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2756 static char *e (p, i)
2757      char **p;
2758      int i;
2759 {
2760   return p[i];
2761 }
2762 static char *f (char * (*g) (char **, int), char **p, ...)
2763 {
2764   char *s;
2765   va_list v;
2766   va_start (v,p);
2767   s = g (p, va_arg (v,int));
2768   va_end (v);
2769   return s;
2770 }
2771
2772 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2773    function prototypes and stuff, but not '\xHH' hex character constants.
2774    These don't provoke an error unfortunately, instead are silently treated
2775    as 'x'.  The following induces an error, until -std1 is added to get
2776    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2777    array size at least.  It's necessary to write '\x00'==0 to get something
2778    that's true only with -std1.  */
2779 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2780
2781 int test (int i, double x);
2782 struct s1 {int (*f) (int a);};
2783 struct s2 {int (*f) (double a);};
2784 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2785 int argc;
2786 char **argv;
2787 int
2788 main ()
2789 {
2790 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2791   ;
2792   return 0;
2793 }
2794 _ACEOF
2795 # Don't try gcc -ansi; that turns off useful extensions and
2796 # breaks some systems' header files.
2797 # AIX                   -qlanglvl=ansi
2798 # Ultrix and OSF/1      -std1
2799 # HP-UX 10.20 and later -Ae
2800 # HP-UX older versions  -Aa -D_HPUX_SOURCE
2801 # SVR4                  -Xc -D__EXTENSIONS__
2802 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2803 do
2804   CC="$ac_save_CC $ac_arg"
2805   rm -f conftest.$ac_objext
2806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2807   (eval $ac_compile) 2>conftest.er1
2808   ac_status=$?
2809   grep -v '^ *+' conftest.er1 >conftest.err
2810   rm -f conftest.er1
2811   cat conftest.err >&5
2812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813   (exit $ac_status); } &&
2814          { ac_try='test -z "$ac_c_werror_flag"
2815                          || test ! -s conftest.err'
2816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2817   (eval $ac_try) 2>&5
2818   ac_status=$?
2819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2820   (exit $ac_status); }; } &&
2821          { ac_try='test -s conftest.$ac_objext'
2822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2823   (eval $ac_try) 2>&5
2824   ac_status=$?
2825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826   (exit $ac_status); }; }; then
2827   ac_cv_prog_cc_stdc=$ac_arg
2828 break
2829 else
2830   echo "$as_me: failed program was:" >&5
2831 sed 's/^/| /' conftest.$ac_ext >&5
2832
2833 fi
2834 rm -f conftest.err conftest.$ac_objext
2835 done
2836 rm -f conftest.$ac_ext conftest.$ac_objext
2837 CC=$ac_save_CC
2838
2839 fi
2840
2841 case "x$ac_cv_prog_cc_stdc" in
2842   x|xno)
2843     echo "$as_me:$LINENO: result: none needed" >&5
2844 echo "${ECHO_T}none needed" >&6 ;;
2845   *)
2846     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2847 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2848     CC="$CC $ac_cv_prog_cc_stdc" ;;
2849 esac
2850
2851 # Some people use a C++ compiler to compile C.  Since we use `exit',
2852 # in C++ we need to declare it.  In case someone uses the same compiler
2853 # for both compiling C and C++ we need to have the C++ compiler decide
2854 # the declaration of exit, since it's the most demanding environment.
2855 cat >conftest.$ac_ext <<_ACEOF
2856 #ifndef __cplusplus
2857   choke me
2858 #endif
2859 _ACEOF
2860 rm -f conftest.$ac_objext
2861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2862   (eval $ac_compile) 2>conftest.er1
2863   ac_status=$?
2864   grep -v '^ *+' conftest.er1 >conftest.err
2865   rm -f conftest.er1
2866   cat conftest.err >&5
2867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2868   (exit $ac_status); } &&
2869          { ac_try='test -z "$ac_c_werror_flag"
2870                          || test ! -s conftest.err'
2871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2872   (eval $ac_try) 2>&5
2873   ac_status=$?
2874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875   (exit $ac_status); }; } &&
2876          { ac_try='test -s conftest.$ac_objext'
2877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2878   (eval $ac_try) 2>&5
2879   ac_status=$?
2880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881   (exit $ac_status); }; }; then
2882   for ac_declaration in \
2883    '' \
2884    'extern "C" void std::exit (int) throw (); using std::exit;' \
2885    'extern "C" void std::exit (int); using std::exit;' \
2886    'extern "C" void exit (int) throw ();' \
2887    'extern "C" void exit (int);' \
2888    'void exit (int);'
2889 do
2890   cat >conftest.$ac_ext <<_ACEOF
2891 /* confdefs.h.  */
2892 _ACEOF
2893 cat confdefs.h >>conftest.$ac_ext
2894 cat >>conftest.$ac_ext <<_ACEOF
2895 /* end confdefs.h.  */
2896 $ac_declaration
2897 #include <stdlib.h>
2898 int
2899 main ()
2900 {
2901 exit (42);
2902   ;
2903   return 0;
2904 }
2905 _ACEOF
2906 rm -f conftest.$ac_objext
2907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2908   (eval $ac_compile) 2>conftest.er1
2909   ac_status=$?
2910   grep -v '^ *+' conftest.er1 >conftest.err
2911   rm -f conftest.er1
2912   cat conftest.err >&5
2913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914   (exit $ac_status); } &&
2915          { ac_try='test -z "$ac_c_werror_flag"
2916                          || test ! -s conftest.err'
2917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2918   (eval $ac_try) 2>&5
2919   ac_status=$?
2920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921   (exit $ac_status); }; } &&
2922          { ac_try='test -s conftest.$ac_objext'
2923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2924   (eval $ac_try) 2>&5
2925   ac_status=$?
2926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2927   (exit $ac_status); }; }; then
2928   :
2929 else
2930   echo "$as_me: failed program was:" >&5
2931 sed 's/^/| /' conftest.$ac_ext >&5
2932
2933 continue
2934 fi
2935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2936   cat >conftest.$ac_ext <<_ACEOF
2937 /* confdefs.h.  */
2938 _ACEOF
2939 cat confdefs.h >>conftest.$ac_ext
2940 cat >>conftest.$ac_ext <<_ACEOF
2941 /* end confdefs.h.  */
2942 $ac_declaration
2943 int
2944 main ()
2945 {
2946 exit (42);
2947   ;
2948   return 0;
2949 }
2950 _ACEOF
2951 rm -f conftest.$ac_objext
2952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2953   (eval $ac_compile) 2>conftest.er1
2954   ac_status=$?
2955   grep -v '^ *+' conftest.er1 >conftest.err
2956   rm -f conftest.er1
2957   cat conftest.err >&5
2958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2959   (exit $ac_status); } &&
2960          { ac_try='test -z "$ac_c_werror_flag"
2961                          || test ! -s conftest.err'
2962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2963   (eval $ac_try) 2>&5
2964   ac_status=$?
2965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2966   (exit $ac_status); }; } &&
2967          { ac_try='test -s conftest.$ac_objext'
2968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2969   (eval $ac_try) 2>&5
2970   ac_status=$?
2971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972   (exit $ac_status); }; }; then
2973   break
2974 else
2975   echo "$as_me: failed program was:" >&5
2976 sed 's/^/| /' conftest.$ac_ext >&5
2977
2978 fi
2979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2980 done
2981 rm -f conftest*
2982 if test -n "$ac_declaration"; then
2983   echo '#ifdef __cplusplus' >>confdefs.h
2984   echo $ac_declaration      >>confdefs.h
2985   echo '#endif'             >>confdefs.h
2986 fi
2987
2988 else
2989   echo "$as_me: failed program was:" >&5
2990 sed 's/^/| /' conftest.$ac_ext >&5
2991
2992 fi
2993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2994 ac_ext=c
2995 ac_cpp='$CPP $CPPFLAGS'
2996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2999
3000   ac_ext=cc
3001 ac_cpp='$CXXCPP $CPPFLAGS'
3002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3005 if test -n "$ac_tool_prefix"; then
3006   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3007   do
3008     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3009 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3010 echo "$as_me:$LINENO: checking for $ac_word" >&5
3011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3012 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3013   echo $ECHO_N "(cached) $ECHO_C" >&6
3014 else
3015   if test -n "$CXX"; then
3016   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3017 else
3018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3019 for as_dir in $PATH
3020 do
3021   IFS=$as_save_IFS
3022   test -z "$as_dir" && as_dir=.
3023   for ac_exec_ext in '' $ac_executable_extensions; do
3024   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3025     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3026     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3027     break 2
3028   fi
3029 done
3030 done
3031
3032 fi
3033 fi
3034 CXX=$glibcxx_cv_prog_CXX
3035 if test -n "$CXX"; then
3036   echo "$as_me:$LINENO: result: $CXX" >&5
3037 echo "${ECHO_T}$CXX" >&6
3038 else
3039   echo "$as_me:$LINENO: result: no" >&5
3040 echo "${ECHO_T}no" >&6
3041 fi
3042
3043     test -n "$CXX" && break
3044   done
3045 fi
3046 if test -z "$CXX"; then
3047   ac_ct_CXX=$CXX
3048   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3049 do
3050   # Extract the first word of "$ac_prog", so it can be a program name with args.
3051 set dummy $ac_prog; ac_word=$2
3052 echo "$as_me:$LINENO: checking for $ac_word" >&5
3053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3054 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3055   echo $ECHO_N "(cached) $ECHO_C" >&6
3056 else
3057   if test -n "$ac_ct_CXX"; then
3058   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3059 else
3060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3061 for as_dir in $PATH
3062 do
3063   IFS=$as_save_IFS
3064   test -z "$as_dir" && as_dir=.
3065   for ac_exec_ext in '' $ac_executable_extensions; do
3066   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3067     ac_cv_prog_ac_ct_CXX="$ac_prog"
3068     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3069     break 2
3070   fi
3071 done
3072 done
3073
3074 fi
3075 fi
3076 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3077 if test -n "$ac_ct_CXX"; then
3078   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3079 echo "${ECHO_T}$ac_ct_CXX" >&6
3080 else
3081   echo "$as_me:$LINENO: result: no" >&5
3082 echo "${ECHO_T}no" >&6
3083 fi
3084
3085   test -n "$ac_ct_CXX" && break
3086 done
3087 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3088
3089   CXX=$ac_ct_CXX
3090 fi
3091
3092
3093 # Provide some information about the compiler.
3094 echo "$as_me:$LINENO:" \
3095      "checking for C++ compiler version" >&5
3096 ac_compiler=`set X $ac_compile; echo $2`
3097 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3098   (eval $ac_compiler --version </dev/null >&5) 2>&5
3099   ac_status=$?
3100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3101   (exit $ac_status); }
3102 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3103   (eval $ac_compiler -v </dev/null >&5) 2>&5
3104   ac_status=$?
3105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106   (exit $ac_status); }
3107 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3108   (eval $ac_compiler -V </dev/null >&5) 2>&5
3109   ac_status=$?
3110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3111   (exit $ac_status); }
3112
3113 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3114 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3115 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3116   echo $ECHO_N "(cached) $ECHO_C" >&6
3117 else
3118   cat >conftest.$ac_ext <<_ACEOF
3119 /* confdefs.h.  */
3120 _ACEOF
3121 cat confdefs.h >>conftest.$ac_ext
3122 cat >>conftest.$ac_ext <<_ACEOF
3123 /* end confdefs.h.  */
3124
3125 int
3126 main ()
3127 {
3128 #ifndef __GNUC__
3129        choke me
3130 #endif
3131
3132   ;
3133   return 0;
3134 }
3135 _ACEOF
3136 rm -f conftest.$ac_objext
3137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3138   (eval $ac_compile) 2>conftest.er1
3139   ac_status=$?
3140   grep -v '^ *+' conftest.er1 >conftest.err
3141   rm -f conftest.er1
3142   cat conftest.err >&5
3143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3144   (exit $ac_status); } &&
3145          { ac_try='test -z "$ac_cxx_werror_flag"
3146                          || test ! -s conftest.err'
3147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3148   (eval $ac_try) 2>&5
3149   ac_status=$?
3150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151   (exit $ac_status); }; } &&
3152          { ac_try='test -s conftest.$ac_objext'
3153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3154   (eval $ac_try) 2>&5
3155   ac_status=$?
3156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157   (exit $ac_status); }; }; then
3158   ac_compiler_gnu=yes
3159 else
3160   echo "$as_me: failed program was:" >&5
3161 sed 's/^/| /' conftest.$ac_ext >&5
3162
3163 ac_compiler_gnu=no
3164 fi
3165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3166 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3167
3168 fi
3169 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3170 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3171 GXX=`test $ac_compiler_gnu = yes && echo yes`
3172 ac_test_CXXFLAGS=${CXXFLAGS+set}
3173 ac_save_CXXFLAGS=$CXXFLAGS
3174 CXXFLAGS="-g"
3175 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3176 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3177 if test "${ac_cv_prog_cxx_g+set}" = set; then
3178   echo $ECHO_N "(cached) $ECHO_C" >&6
3179 else
3180   cat >conftest.$ac_ext <<_ACEOF
3181 /* confdefs.h.  */
3182 _ACEOF
3183 cat confdefs.h >>conftest.$ac_ext
3184 cat >>conftest.$ac_ext <<_ACEOF
3185 /* end confdefs.h.  */
3186
3187 int
3188 main ()
3189 {
3190
3191   ;
3192   return 0;
3193 }
3194 _ACEOF
3195 rm -f conftest.$ac_objext
3196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3197   (eval $ac_compile) 2>conftest.er1
3198   ac_status=$?
3199   grep -v '^ *+' conftest.er1 >conftest.err
3200   rm -f conftest.er1
3201   cat conftest.err >&5
3202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203   (exit $ac_status); } &&
3204          { ac_try='test -z "$ac_cxx_werror_flag"
3205                          || test ! -s conftest.err'
3206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3207   (eval $ac_try) 2>&5
3208   ac_status=$?
3209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210   (exit $ac_status); }; } &&
3211          { ac_try='test -s conftest.$ac_objext'
3212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3213   (eval $ac_try) 2>&5
3214   ac_status=$?
3215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216   (exit $ac_status); }; }; then
3217   ac_cv_prog_cxx_g=yes
3218 else
3219   echo "$as_me: failed program was:" >&5
3220 sed 's/^/| /' conftest.$ac_ext >&5
3221
3222 ac_cv_prog_cxx_g=no
3223 fi
3224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3225 fi
3226 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3227 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3228 if test "$ac_test_CXXFLAGS" = set; then
3229   CXXFLAGS=$ac_save_CXXFLAGS
3230 elif test $ac_cv_prog_cxx_g = yes; then
3231   if test "$GXX" = yes; then
3232     CXXFLAGS="-g -O2"
3233   else
3234     CXXFLAGS="-g"
3235   fi
3236 else
3237   if test "$GXX" = yes; then
3238     CXXFLAGS="-O2"
3239   else
3240     CXXFLAGS=
3241   fi
3242 fi
3243 for ac_declaration in \
3244    '' \
3245    'extern "C" void std::exit (int) throw (); using std::exit;' \
3246    'extern "C" void std::exit (int); using std::exit;' \
3247    'extern "C" void exit (int) throw ();' \
3248    'extern "C" void exit (int);' \
3249    'void exit (int);'
3250 do
3251   cat >conftest.$ac_ext <<_ACEOF
3252 /* confdefs.h.  */
3253 _ACEOF
3254 cat confdefs.h >>conftest.$ac_ext
3255 cat >>conftest.$ac_ext <<_ACEOF
3256 /* end confdefs.h.  */
3257 $ac_declaration
3258 #include <stdlib.h>
3259 int
3260 main ()
3261 {
3262 exit (42);
3263   ;
3264   return 0;
3265 }
3266 _ACEOF
3267 rm -f conftest.$ac_objext
3268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3269   (eval $ac_compile) 2>conftest.er1
3270   ac_status=$?
3271   grep -v '^ *+' conftest.er1 >conftest.err
3272   rm -f conftest.er1
3273   cat conftest.err >&5
3274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3275   (exit $ac_status); } &&
3276          { ac_try='test -z "$ac_cxx_werror_flag"
3277                          || test ! -s conftest.err'
3278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3279   (eval $ac_try) 2>&5
3280   ac_status=$?
3281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282   (exit $ac_status); }; } &&
3283          { ac_try='test -s conftest.$ac_objext'
3284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3285   (eval $ac_try) 2>&5
3286   ac_status=$?
3287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3288   (exit $ac_status); }; }; then
3289   :
3290 else
3291   echo "$as_me: failed program was:" >&5
3292 sed 's/^/| /' conftest.$ac_ext >&5
3293
3294 continue
3295 fi
3296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3297   cat >conftest.$ac_ext <<_ACEOF
3298 /* confdefs.h.  */
3299 _ACEOF
3300 cat confdefs.h >>conftest.$ac_ext
3301 cat >>conftest.$ac_ext <<_ACEOF
3302 /* end confdefs.h.  */
3303 $ac_declaration
3304 int
3305 main ()
3306 {
3307 exit (42);
3308   ;
3309   return 0;
3310 }
3311 _ACEOF
3312 rm -f conftest.$ac_objext
3313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3314   (eval $ac_compile) 2>conftest.er1
3315   ac_status=$?
3316   grep -v '^ *+' conftest.er1 >conftest.err
3317   rm -f conftest.er1
3318   cat conftest.err >&5
3319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3320   (exit $ac_status); } &&
3321          { ac_try='test -z "$ac_cxx_werror_flag"
3322                          || test ! -s conftest.err'
3323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3324   (eval $ac_try) 2>&5
3325   ac_status=$?
3326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327   (exit $ac_status); }; } &&
3328          { ac_try='test -s conftest.$ac_objext'
3329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3330   (eval $ac_try) 2>&5
3331   ac_status=$?
3332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3333   (exit $ac_status); }; }; then
3334   break
3335 else
3336   echo "$as_me: failed program was:" >&5
3337 sed 's/^/| /' conftest.$ac_ext >&5
3338
3339 fi
3340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3341 done
3342 rm -f conftest*
3343 if test -n "$ac_declaration"; then
3344   echo '#ifdef __cplusplus' >>confdefs.h
3345   echo $ac_declaration      >>confdefs.h
3346   echo '#endif'             >>confdefs.h
3347 fi
3348
3349 ac_ext=c
3350 ac_cpp='$CPP $CPPFLAGS'
3351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3354
3355   CXXFLAGS="$save_CXXFLAGS"
3356
3357
3358
3359
3360   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3361   # available).  Uncomment the next line to force a particular method.
3362   echo "$as_me:$LINENO: checking whether ln -s works" >&5
3363 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3364 LN_S=$as_ln_s
3365 if test "$LN_S" = "ln -s"; then
3366   echo "$as_me:$LINENO: result: yes" >&5
3367 echo "${ECHO_T}yes" >&6
3368 else
3369   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3370 echo "${ECHO_T}no, using $LN_S" >&6
3371 fi
3372
3373   #LN_S='cp -p'
3374
3375   if test -n "$ac_tool_prefix"; then
3376   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3377 set dummy ${ac_tool_prefix}as; ac_word=$2
3378 echo "$as_me:$LINENO: checking for $ac_word" >&5
3379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3380 if test "${ac_cv_prog_AS+set}" = set; then
3381   echo $ECHO_N "(cached) $ECHO_C" >&6
3382 else
3383   if test -n "$AS"; then
3384   ac_cv_prog_AS="$AS" # Let the user override the test.
3385 else
3386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3387 for as_dir in $PATH
3388 do
3389   IFS=$as_save_IFS
3390   test -z "$as_dir" && as_dir=.
3391   for ac_exec_ext in '' $ac_executable_extensions; do
3392   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3393     ac_cv_prog_AS="${ac_tool_prefix}as"
3394     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3395     break 2
3396   fi
3397 done
3398 done
3399
3400 fi
3401 fi
3402 AS=$ac_cv_prog_AS
3403 if test -n "$AS"; then
3404   echo "$as_me:$LINENO: result: $AS" >&5
3405 echo "${ECHO_T}$AS" >&6
3406 else
3407   echo "$as_me:$LINENO: result: no" >&5
3408 echo "${ECHO_T}no" >&6
3409 fi
3410
3411 fi
3412 if test -z "$ac_cv_prog_AS"; then
3413   ac_ct_AS=$AS
3414   # Extract the first word of "as", so it can be a program name with args.
3415 set dummy as; ac_word=$2
3416 echo "$as_me:$LINENO: checking for $ac_word" >&5
3417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3418 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3419   echo $ECHO_N "(cached) $ECHO_C" >&6
3420 else
3421   if test -n "$ac_ct_AS"; then
3422   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3423 else
3424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3425 for as_dir in $PATH
3426 do
3427   IFS=$as_save_IFS
3428   test -z "$as_dir" && as_dir=.
3429   for ac_exec_ext in '' $ac_executable_extensions; do
3430   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3431     ac_cv_prog_ac_ct_AS="as"
3432     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3433     break 2
3434   fi
3435 done
3436 done
3437
3438 fi
3439 fi
3440 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3441 if test -n "$ac_ct_AS"; then
3442   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3443 echo "${ECHO_T}$ac_ct_AS" >&6
3444 else
3445   echo "$as_me:$LINENO: result: no" >&5
3446 echo "${ECHO_T}no" >&6
3447 fi
3448
3449   AS=$ac_ct_AS
3450 else
3451   AS="$ac_cv_prog_AS"
3452 fi
3453
3454   if test -n "$ac_tool_prefix"; then
3455   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3456 set dummy ${ac_tool_prefix}ar; ac_word=$2
3457 echo "$as_me:$LINENO: checking for $ac_word" >&5
3458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3459 if test "${ac_cv_prog_AR+set}" = set; then
3460   echo $ECHO_N "(cached) $ECHO_C" >&6
3461 else
3462   if test -n "$AR"; then
3463   ac_cv_prog_AR="$AR" # Let the user override the test.
3464 else
3465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3466 for as_dir in $PATH
3467 do
3468   IFS=$as_save_IFS
3469   test -z "$as_dir" && as_dir=.
3470   for ac_exec_ext in '' $ac_executable_extensions; do
3471   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3472     ac_cv_prog_AR="${ac_tool_prefix}ar"
3473     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3474     break 2
3475   fi
3476 done
3477 done
3478
3479 fi
3480 fi
3481 AR=$ac_cv_prog_AR
3482 if test -n "$AR"; then
3483   echo "$as_me:$LINENO: result: $AR" >&5
3484 echo "${ECHO_T}$AR" >&6
3485 else
3486   echo "$as_me:$LINENO: result: no" >&5
3487 echo "${ECHO_T}no" >&6
3488 fi
3489
3490 fi
3491 if test -z "$ac_cv_prog_AR"; then
3492   ac_ct_AR=$AR
3493   # Extract the first word of "ar", so it can be a program name with args.
3494 set dummy ar; ac_word=$2
3495 echo "$as_me:$LINENO: checking for $ac_word" >&5
3496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3497 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3498   echo $ECHO_N "(cached) $ECHO_C" >&6
3499 else
3500   if test -n "$ac_ct_AR"; then
3501   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3502 else
3503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3504 for as_dir in $PATH
3505 do
3506   IFS=$as_save_IFS
3507   test -z "$as_dir" && as_dir=.
3508   for ac_exec_ext in '' $ac_executable_extensions; do
3509   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3510     ac_cv_prog_ac_ct_AR="ar"
3511     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3512     break 2
3513   fi
3514 done
3515 done
3516
3517 fi
3518 fi
3519 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3520 if test -n "$ac_ct_AR"; then
3521   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3522 echo "${ECHO_T}$ac_ct_AR" >&6
3523 else
3524   echo "$as_me:$LINENO: result: no" >&5
3525 echo "${ECHO_T}no" >&6
3526 fi
3527
3528   AR=$ac_ct_AR
3529 else
3530   AR="$ac_cv_prog_AR"
3531 fi
3532
3533   if test -n "$ac_tool_prefix"; then
3534   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3535 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3536 echo "$as_me:$LINENO: checking for $ac_word" >&5
3537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3538 if test "${ac_cv_prog_RANLIB+set}" = set; then
3539   echo $ECHO_N "(cached) $ECHO_C" >&6
3540 else
3541   if test -n "$RANLIB"; then
3542   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3543 else
3544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3545 for as_dir in $PATH
3546 do
3547   IFS=$as_save_IFS
3548   test -z "$as_dir" && as_dir=.
3549   for ac_exec_ext in '' $ac_executable_extensions; do
3550   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3551     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3552     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3553     break 2
3554   fi
3555 done
3556 done
3557
3558 fi
3559 fi
3560 RANLIB=$ac_cv_prog_RANLIB
3561 if test -n "$RANLIB"; then
3562   echo "$as_me:$LINENO: result: $RANLIB" >&5
3563 echo "${ECHO_T}$RANLIB" >&6
3564 else
3565   echo "$as_me:$LINENO: result: no" >&5
3566 echo "${ECHO_T}no" >&6
3567 fi
3568
3569 fi
3570 if test -z "$ac_cv_prog_RANLIB"; then
3571   ac_ct_RANLIB=$RANLIB
3572   # Extract the first word of "ranlib", so it can be a program name with args.
3573 set dummy ranlib; ac_word=$2
3574 echo "$as_me:$LINENO: checking for $ac_word" >&5
3575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3576 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3577   echo $ECHO_N "(cached) $ECHO_C" >&6
3578 else
3579   if test -n "$ac_ct_RANLIB"; then
3580   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3581 else
3582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3583 for as_dir in $PATH
3584 do
3585   IFS=$as_save_IFS
3586   test -z "$as_dir" && as_dir=.
3587   for ac_exec_ext in '' $ac_executable_extensions; do
3588   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3589     ac_cv_prog_ac_ct_RANLIB="ranlib"
3590     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3591     break 2
3592   fi
3593 done
3594 done
3595
3596   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3597 fi
3598 fi
3599 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3600 if test -n "$ac_ct_RANLIB"; then
3601   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3602 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3603 else
3604   echo "$as_me:$LINENO: result: no" >&5
3605 echo "${ECHO_T}no" >&6
3606 fi
3607
3608   RANLIB=$ac_ct_RANLIB
3609 else
3610   RANLIB="$ac_cv_prog_RANLIB"
3611 fi
3612
3613
3614   echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3615 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3616     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3617 if test "${enable_maintainer_mode+set}" = set; then
3618   enableval="$enable_maintainer_mode"
3619   USE_MAINTAINER_MODE=$enableval
3620 else
3621   USE_MAINTAINER_MODE=no
3622 fi;
3623   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3624 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3625
3626
3627 if test $USE_MAINTAINER_MODE = yes; then
3628   MAINTAINER_MODE_TRUE=
3629   MAINTAINER_MODE_FALSE='#'
3630 else
3631   MAINTAINER_MODE_TRUE='#'
3632   MAINTAINER_MODE_FALSE=
3633 fi
3634
3635   MAINT=$MAINTAINER_MODE_TRUE
3636
3637
3638
3639   # Set up safe default values for all subsequent AM_CONDITIONAL tests
3640   # which are themselves conditionally expanded.
3641   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3642   ## other macros from doing the same.  This should be automated.)  -pme
3643   need_libmath=no
3644
3645   # Find platform-specific directories containing configuration info.
3646   # Also possibly modify flags used elsewhere, as needed by the platform.
3647
3648   . $glibcxx_srcdir/configure.host
3649   { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3650 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3651   { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3652 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3653
3654
3655
3656
3657 # Check whether --enable-shared or --disable-shared was given.
3658 if test "${enable_shared+set}" = set; then
3659   enableval="$enable_shared"
3660   p=${PACKAGE-default}
3661 case $enableval in
3662 yes) enable_shared=yes ;;
3663 no) enable_shared=no ;;
3664 *)
3665   enable_shared=no
3666   # Look at the argument we got.  We use all the common list separators.
3667   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3668   for pkg in $enableval; do
3669     if test "X$pkg" = "X$p"; then
3670       enable_shared=yes
3671     fi
3672   done
3673   IFS="$ac_save_ifs"
3674   ;;
3675 esac
3676 else
3677   enable_shared=yes
3678 fi;
3679 # Check whether --enable-static or --disable-static was given.
3680 if test "${enable_static+set}" = set; then
3681   enableval="$enable_static"
3682   p=${PACKAGE-default}
3683 case $enableval in
3684 yes) enable_static=yes ;;
3685 no) enable_static=no ;;
3686 *)
3687   enable_static=no
3688   # Look at the argument we got.  We use all the common list separators.
3689   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3690   for pkg in $enableval; do
3691     if test "X$pkg" = "X$p"; then
3692       enable_static=yes
3693     fi
3694   done
3695   IFS="$ac_save_ifs"
3696   ;;
3697 esac
3698 else
3699   enable_static=yes
3700 fi;
3701 # Check whether --enable-fast-install or --disable-fast-install was given.
3702 if test "${enable_fast_install+set}" = set; then
3703   enableval="$enable_fast_install"
3704   p=${PACKAGE-default}
3705 case $enableval in
3706 yes) enable_fast_install=yes ;;
3707 no) enable_fast_install=no ;;
3708 *)
3709   enable_fast_install=no
3710   # Look at the argument we got.  We use all the common list separators.
3711   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3712   for pkg in $enableval; do
3713     if test "X$pkg" = "X$p"; then
3714       enable_fast_install=yes
3715     fi
3716   done
3717   IFS="$ac_save_ifs"
3718   ;;
3719 esac
3720 else
3721   enable_fast_install=yes
3722 fi;
3723
3724 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3725 if test "${with_gnu_ld+set}" = set; then
3726   withval="$with_gnu_ld"
3727   test "$withval" = no || with_gnu_ld=yes
3728 else
3729   with_gnu_ld=no
3730 fi;
3731 ac_prog=ld
3732 if test "$GCC" = yes; then
3733   # Check if gcc -print-prog-name=ld gives a path.
3734   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3735 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3736   case $host in
3737   *-*-mingw*)
3738     # gcc leaves a trailing carriage return which upsets mingw
3739     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3740   *)
3741     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3742   esac
3743   case $ac_prog in
3744     # Accept absolute paths.
3745     [\\/]* | [A-Za-z]:[\\/]*)
3746       re_direlt='/[^/][^/]*/\.\./'
3747       # Canonicalize the path of ld
3748       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3749       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3750         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3751       done
3752       test -z "$LD" && LD="$ac_prog"
3753       ;;
3754   "")
3755     # If it fails, then pretend we aren't using GCC.
3756     ac_prog=ld
3757     ;;
3758   *)
3759     # If it is relative, then search for the first ld in PATH.
3760     with_gnu_ld=unknown
3761     ;;
3762   esac
3763 elif test "$with_gnu_ld" = yes; then
3764   echo "$as_me:$LINENO: checking for GNU ld" >&5
3765 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3766 else
3767   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3768 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3769 fi
3770 if test "${lt_cv_path_LD+set}" = set; then
3771   echo $ECHO_N "(cached) $ECHO_C" >&6
3772 else
3773   if test -z "$LD"; then
3774   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3775   for ac_dir in $PATH; do
3776     test -z "$ac_dir" && ac_dir=.
3777     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3778       lt_cv_path_LD="$ac_dir/$ac_prog"
3779       # Check to see if the program is GNU ld.  I'd rather use --version,
3780       # but apparently some GNU ld's only accept -v.
3781       # Break only if it was the GNU/non-GNU ld that we prefer.
3782       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3783         test "$with_gnu_ld" != no && break
3784       else
3785         test "$with_gnu_ld" != yes && break
3786       fi
3787     fi
3788   done
3789   IFS="$ac_save_ifs"
3790 else
3791   lt_cv_path_LD="$LD" # Let the user override the test with a path.
3792 fi
3793 fi
3794
3795 LD="$lt_cv_path_LD"
3796 if test -n "$LD"; then
3797   echo "$as_me:$LINENO: result: $LD" >&5
3798 echo "${ECHO_T}$LD" >&6
3799 else
3800   echo "$as_me:$LINENO: result: no" >&5
3801 echo "${ECHO_T}no" >&6
3802 fi
3803 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3804 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3805    { (exit 1); exit 1; }; }
3806 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3807 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3808 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3809   echo $ECHO_N "(cached) $ECHO_C" >&6
3810 else
3811   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3812 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3813   lt_cv_prog_gnu_ld=yes
3814 else
3815   lt_cv_prog_gnu_ld=no
3816 fi
3817 fi
3818 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3819 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3820 with_gnu_ld=$lt_cv_prog_gnu_ld
3821
3822
3823 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3824 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3825 if test "${lt_cv_ld_reload_flag+set}" = set; then
3826   echo $ECHO_N "(cached) $ECHO_C" >&6
3827 else
3828   lt_cv_ld_reload_flag='-r'
3829 fi
3830 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3831 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3832 reload_flag=$lt_cv_ld_reload_flag
3833 test -n "$reload_flag" && reload_flag=" $reload_flag"
3834
3835 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3836 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3837 if test "${lt_cv_path_NM+set}" = set; then
3838   echo $ECHO_N "(cached) $ECHO_C" >&6
3839 else
3840   if test -n "$NM"; then
3841   # Let the user override the test.
3842   lt_cv_path_NM="$NM"
3843 else
3844   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3845   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3846     test -z "$ac_dir" && ac_dir=.
3847     tmp_nm=$ac_dir/${ac_tool_prefix}nm
3848     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3849       # Check to see if the nm accepts a BSD-compat flag.
3850       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3851       #   nm: unknown option "B" ignored
3852       # Tru64's nm complains that /dev/null is an invalid object file
3853       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3854         lt_cv_path_NM="$tmp_nm -B"
3855         break
3856       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3857         lt_cv_path_NM="$tmp_nm -p"
3858         break
3859       else
3860         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3861         continue # so that we can try to find one that supports BSD flags
3862       fi
3863     fi
3864   done
3865   IFS="$ac_save_ifs"
3866   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3867 fi
3868 fi
3869
3870 NM="$lt_cv_path_NM"
3871 echo "$as_me:$LINENO: result: $NM" >&5
3872 echo "${ECHO_T}$NM" >&6
3873
3874 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3875 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3876 if test "${lt_cv_deplibs_check_method+set}" = set; then
3877   echo $ECHO_N "(cached) $ECHO_C" >&6
3878 else
3879   lt_cv_file_magic_cmd='$MAGIC_CMD'
3880 lt_cv_file_magic_test_file=
3881 lt_cv_deplibs_check_method='unknown'
3882 # Need to set the preceding variable on all platforms that support
3883 # interlibrary dependencies.
3884 # 'none' -- dependencies not supported.
3885 # `unknown' -- same as none, but documents that we really don't know.
3886 # 'pass_all' -- all dependencies passed with no checks.
3887 # 'test_compile' -- check by making test program.
3888 # 'file_magic [regex]' -- check by looking for files in library path
3889 # which responds to the $file_magic_cmd with a given egrep regex.
3890 # If you have `file' or equivalent on your system and you're not sure
3891 # whether `pass_all' will *always* work, you probably want this one.
3892
3893 case $host_os in
3894 aix*)
3895   lt_cv_deplibs_check_method=pass_all
3896   ;;
3897
3898 beos*)
3899   lt_cv_deplibs_check_method=pass_all
3900   ;;
3901
3902 bsdi4*)
3903   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3904   lt_cv_file_magic_cmd='/usr/bin/file -L'
3905   lt_cv_file_magic_test_file=/shlib/libc.so
3906   ;;
3907
3908 cygwin* | mingw* |pw32*)
3909   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3910   lt_cv_file_magic_cmd='$OBJDUMP -f'
3911   ;;
3912
3913 darwin* | rhapsody*)
3914   # this will be overwritten by pass_all, but leave it in just in case
3915   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3916   lt_cv_file_magic_cmd='/usr/bin/file -L'
3917   case "$host_os" in
3918   rhapsody* | darwin1.012)
3919     lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3920     ;;
3921   *) # Darwin 1.3 on
3922     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3923     ;;
3924   esac
3925   lt_cv_deplibs_check_method=pass_all
3926   ;;
3927
3928 freebsd* | kfreebsd*-gnu)
3929   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3930     case $host_cpu in
3931     i*86 )
3932       # Not sure whether the presence of OpenBSD here was a mistake.
3933       # Let's accept both of them until this is cleared up.
3934       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3935       lt_cv_file_magic_cmd=/usr/bin/file
3936       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3937       ;;
3938     esac
3939   else
3940     lt_cv_deplibs_check_method=pass_all
3941   fi
3942   ;;
3943
3944 gnu*)
3945   lt_cv_deplibs_check_method=pass_all
3946   ;;
3947
3948 hpux10.20*|hpux11*)
3949   case $host_cpu in
3950   hppa*)
3951     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3952     lt_cv_file_magic_cmd=/usr/bin/file
3953     lt_cv_file_magic_test_file=/usr/lib/libc.sl
3954     ;;
3955   ia64*)
3956     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3957     lt_cv_file_magic_cmd=/usr/bin/file
3958     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3959     ;;
3960   esac
3961   ;;
3962
3963 irix5* | irix6*)
3964   case $host_os in
3965   irix5*)
3966     # this will be overridden with pass_all, but let us keep it just in case
3967     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3968     ;;
3969   *)
3970     case $LD in
3971     *-32|*"-32 ") libmagic=32-bit;;
3972     *-n32|*"-n32 ") libmagic=N32;;
3973     *-64|*"-64 ") libmagic=64-bit;;
3974     *) libmagic=never-match;;
3975     esac
3976     # this will be overridden with pass_all, but let us keep it just in case
3977     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3978     ;;
3979   esac
3980   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3981   lt_cv_deplibs_check_method=pass_all
3982   ;;
3983
3984 # This must be Linux ELF.
3985 linux-gnu*)
3986   lt_cv_deplibs_check_method=pass_all
3987   ;;
3988
3989 netbsd* | knetbsd*-gnu)
3990   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3991     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3992   else
3993     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3994   fi
3995   ;;
3996
3997 newsos6)
3998   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3999   lt_cv_file_magic_cmd=/usr/bin/file
4000   lt_cv_file_magic_test_file=/usr/lib/libnls.so
4001   ;;
4002
4003 osf3* | osf4* | osf5*)
4004   # this will be overridden with pass_all, but let us keep it just in case
4005   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4006   lt_cv_file_magic_test_file=/shlib/libc.so
4007   lt_cv_deplibs_check_method=pass_all
4008   ;;
4009
4010 sco3.2v5*)
4011   lt_cv_deplibs_check_method=pass_all
4012   ;;
4013
4014 solaris*)
4015   lt_cv_deplibs_check_method=pass_all
4016   lt_cv_file_magic_test_file=/lib/libc.so
4017   ;;
4018
4019 sysv5uw[78]* | sysv4*uw2*)
4020   lt_cv_deplibs_check_method=pass_all
4021   ;;
4022
4023 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4024   case $host_vendor in
4025   ncr)
4026     lt_cv_deplibs_check_method=pass_all
4027     ;;
4028   motorola)
4029     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]'
4030     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4031     ;;
4032   esac
4033   ;;
4034 esac
4035
4036 fi
4037 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4038 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4039 file_magic_cmd=$lt_cv_file_magic_cmd
4040 deplibs_check_method=$lt_cv_deplibs_check_method
4041
4042
4043
4044
4045
4046 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4047
4048 # find the maximum length of command line arguments
4049 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4050 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4051 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4052   echo $ECHO_N "(cached) $ECHO_C" >&6
4053 else
4054     i=0
4055   teststring="ABCD"
4056
4057   case $build_os in
4058   msdosdjgpp*)
4059     # On DJGPP, this test can blow up pretty badly due to problems in libc
4060     # (any single argument exceeding 2000 bytes causes a buffer overrun
4061     # during glob expansion).  Even if it were fixed, the result of this
4062     # check would be larger than it should be.
4063     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4064     ;;
4065
4066   cygwin* | mingw*)
4067     # On Win9x/ME, this test blows up -- it succeeds, but takes
4068     # about 5 minutes as the teststring grows exponentially.
4069     # Worse, since 9x/ME are not pre-emptively multitasking,
4070     # you end up with a "frozen" computer, even though with patience
4071     # the test eventually succeeds (with a max line length of 256k).
4072     # Instead, let's just punt: use the minimum linelength reported by
4073     # all of the supported platforms: 8192 (on NT/2K/XP).
4074     lt_cv_sys_max_cmd_len=8192;
4075     ;;
4076
4077   amigaos*)
4078     # On AmigaOS with pdksh, this test takes hours, literally.
4079     # So we just punt and use a minimum line length of 8192.
4080     lt_cv_sys_max_cmd_len=8192;
4081     ;;
4082
4083   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4084     # This has been around since 386BSD, at least.  Likely further.
4085     if test -x /sbin/sysctl; then
4086       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4087     elif test -x /usr/sbin/sysctl; then
4088       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4089     else
4090       lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
4091     fi
4092     # And add a safety zone
4093     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4094     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4095     ;;
4096   esac
4097
4098 fi
4099
4100 if test -n "$lt_cv_sys_max_cmd_len" ; then
4101   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4102 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4103 else
4104   echo "$as_me:$LINENO: result: none" >&5
4105 echo "${ECHO_T}none" >&6
4106 fi
4107
4108
4109 # Only perform the check for file, if the check method requires it
4110 case $deplibs_check_method in
4111 file_magic*)
4112   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4113     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4114 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4115 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4116   echo $ECHO_N "(cached) $ECHO_C" >&6
4117 else
4118   case $MAGIC_CMD in
4119   /*)
4120   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4121   ;;
4122   ?:/*)
4123   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4124   ;;
4125   *)
4126   ac_save_MAGIC_CMD="$MAGIC_CMD"
4127   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
4128   ac_dummy="/usr/bin:$PATH"
4129   for ac_dir in $ac_dummy; do
4130     test -z "$ac_dir" && ac_dir=.
4131     if test -f $ac_dir/${ac_tool_prefix}file; then
4132       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4133       if test -n "$file_magic_test_file"; then
4134         case $deplibs_check_method in
4135         "file_magic "*)
4136           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4137           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4138           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4139             egrep "$file_magic_regex" > /dev/null; then
4140             :
4141           else
4142             cat <<EOF 1>&2
4143
4144 *** Warning: the command libtool uses to detect shared libraries,
4145 *** $file_magic_cmd, produces output that libtool cannot recognize.
4146 *** The result is that libtool may fail to recognize shared libraries
4147 *** as such.  This will affect the creation of libtool libraries that
4148 *** depend on shared libraries, but programs linked with such libtool
4149 *** libraries will work regardless of this problem.  Nevertheless, you
4150 *** may want to report the problem to your system manager and/or to
4151 *** bug-libtool@gnu.org
4152
4153 EOF
4154           fi ;;
4155         esac
4156       fi
4157       break
4158     fi
4159   done
4160   IFS="$ac_save_ifs"
4161   MAGIC_CMD="$ac_save_MAGIC_CMD"
4162   ;;
4163 esac
4164 fi
4165
4166 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4167 if test -n "$MAGIC_CMD"; then
4168   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4169 echo "${ECHO_T}$MAGIC_CMD" >&6
4170 else
4171   echo "$as_me:$LINENO: result: no" >&5
4172 echo "${ECHO_T}no" >&6
4173 fi
4174
4175 if test -z "$lt_cv_path_MAGIC_CMD"; then
4176   if test -n "$ac_tool_prefix"; then
4177     echo "$as_me:$LINENO: checking for file" >&5
4178 echo $ECHO_N "checking for file... $ECHO_C" >&6
4179 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4180   echo $ECHO_N "(cached) $ECHO_C" >&6
4181 else
4182   case $MAGIC_CMD in
4183   /*)
4184   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4185   ;;
4186   ?:/*)
4187   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4188   ;;
4189   *)
4190   ac_save_MAGIC_CMD="$MAGIC_CMD"
4191   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
4192   ac_dummy="/usr/bin:$PATH"
4193   for ac_dir in $ac_dummy; do
4194     test -z "$ac_dir" && ac_dir=.
4195     if test -f $ac_dir/file; then
4196       lt_cv_path_MAGIC_CMD="$ac_dir/file"
4197       if test -n "$file_magic_test_file"; then
4198         case $deplibs_check_method in
4199         "file_magic "*)
4200           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4201           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4202           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4203             egrep "$file_magic_regex" > /dev/null; then
4204             :
4205           else
4206             cat <<EOF 1>&2
4207
4208 *** Warning: the command libtool uses to detect shared libraries,
4209 *** $file_magic_cmd, produces output that libtool cannot recognize.
4210 *** The result is that libtool may fail to recognize shared libraries
4211 *** as such.  This will affect the creation of libtool libraries that
4212 *** depend on shared libraries, but programs linked with such libtool
4213 *** libraries will work regardless of this problem.  Nevertheless, you
4214 *** may want to report the problem to your system manager and/or to
4215 *** bug-libtool@gnu.org
4216
4217 EOF
4218           fi ;;
4219         esac
4220       fi
4221       break
4222     fi
4223   done
4224   IFS="$ac_save_ifs"
4225   MAGIC_CMD="$ac_save_MAGIC_CMD"
4226   ;;
4227 esac
4228 fi
4229
4230 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4231 if test -n "$MAGIC_CMD"; then
4232   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4233 echo "${ECHO_T}$MAGIC_CMD" >&6
4234 else
4235   echo "$as_me:$LINENO: result: no" >&5
4236 echo "${ECHO_T}no" >&6
4237 fi
4238
4239   else
4240     MAGIC_CMD=:
4241   fi
4242 fi
4243
4244   fi
4245   ;;
4246 esac
4247
4248 if test -n "$ac_tool_prefix"; then
4249   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4250 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4251 echo "$as_me:$LINENO: checking for $ac_word" >&5
4252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4253 if test "${ac_cv_prog_RANLIB+set}" = set; then
4254   echo $ECHO_N "(cached) $ECHO_C" >&6
4255 else
4256   if test -n "$RANLIB"; then
4257   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4258 else
4259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4260 for as_dir in $PATH
4261 do
4262   IFS=$as_save_IFS
4263   test -z "$as_dir" && as_dir=.
4264   for ac_exec_ext in '' $ac_executable_extensions; do
4265   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4266     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4267     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4268     break 2
4269   fi
4270 done
4271 done
4272
4273 fi
4274 fi
4275 RANLIB=$ac_cv_prog_RANLIB
4276 if test -n "$RANLIB"; then
4277   echo "$as_me:$LINENO: result: $RANLIB" >&5
4278 echo "${ECHO_T}$RANLIB" >&6
4279 else
4280   echo "$as_me:$LINENO: result: no" >&5
4281 echo "${ECHO_T}no" >&6
4282 fi
4283
4284 fi
4285 if test -z "$ac_cv_prog_RANLIB"; then
4286   ac_ct_RANLIB=$RANLIB
4287   # Extract the first word of "ranlib", so it can be a program name with args.
4288 set dummy ranlib; ac_word=$2
4289 echo "$as_me:$LINENO: checking for $ac_word" >&5
4290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4291 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4292   echo $ECHO_N "(cached) $ECHO_C" >&6
4293 else
4294   if test -n "$ac_ct_RANLIB"; then
4295   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4296 else
4297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4298 for as_dir in $PATH
4299 do
4300   IFS=$as_save_IFS
4301   test -z "$as_dir" && as_dir=.
4302   for ac_exec_ext in '' $ac_executable_extensions; do
4303   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4304     ac_cv_prog_ac_ct_RANLIB="ranlib"
4305     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4306     break 2
4307   fi
4308 done
4309 done
4310
4311   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4312 fi
4313 fi
4314 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4315 if test -n "$ac_ct_RANLIB"; then
4316   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4317 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4318 else
4319   echo "$as_me:$LINENO: result: no" >&5
4320 echo "${ECHO_T}no" >&6
4321 fi
4322
4323   RANLIB=$ac_ct_RANLIB
4324 else
4325   RANLIB="$ac_cv_prog_RANLIB"
4326 fi
4327
4328 if test -n "$ac_tool_prefix"; then
4329   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4330 set dummy ${ac_tool_prefix}strip; ac_word=$2
4331 echo "$as_me:$LINENO: checking for $ac_word" >&5
4332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4333 if test "${ac_cv_prog_STRIP+set}" = set; then
4334   echo $ECHO_N "(cached) $ECHO_C" >&6
4335 else
4336   if test -n "$STRIP"; then
4337   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4338 else
4339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4340 for as_dir in $PATH
4341 do
4342   IFS=$as_save_IFS
4343   test -z "$as_dir" && as_dir=.
4344   for ac_exec_ext in '' $ac_executable_extensions; do
4345   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4346     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4347     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4348     break 2
4349   fi
4350 done
4351 done
4352
4353 fi
4354 fi
4355 STRIP=$ac_cv_prog_STRIP
4356 if test -n "$STRIP"; then
4357   echo "$as_me:$LINENO: result: $STRIP" >&5
4358 echo "${ECHO_T}$STRIP" >&6
4359 else
4360   echo "$as_me:$LINENO: result: no" >&5
4361 echo "${ECHO_T}no" >&6
4362 fi
4363
4364 fi
4365 if test -z "$ac_cv_prog_STRIP"; then
4366   ac_ct_STRIP=$STRIP
4367   # Extract the first word of "strip", so it can be a program name with args.
4368 set dummy strip; ac_word=$2
4369 echo "$as_me:$LINENO: checking for $ac_word" >&5
4370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4371 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4372   echo $ECHO_N "(cached) $ECHO_C" >&6
4373 else
4374   if test -n "$ac_ct_STRIP"; then
4375   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4376 else
4377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4378 for as_dir in $PATH
4379 do
4380   IFS=$as_save_IFS
4381   test -z "$as_dir" && as_dir=.
4382   for ac_exec_ext in '' $ac_executable_extensions; do
4383   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4384     ac_cv_prog_ac_ct_STRIP="strip"
4385     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4386     break 2
4387   fi
4388 done
4389 done
4390
4391   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4392 fi
4393 fi
4394 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4395 if test -n "$ac_ct_STRIP"; then
4396   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4397 echo "${ECHO_T}$ac_ct_STRIP" >&6
4398 else
4399   echo "$as_me:$LINENO: result: no" >&5
4400 echo "${ECHO_T}no" >&6
4401 fi
4402
4403   STRIP=$ac_ct_STRIP
4404 else
4405   STRIP="$ac_cv_prog_STRIP"
4406 fi
4407
4408
4409 # Check for any special flags to pass to ltconfig.
4410 libtool_flags="--cache-file=$cache_file"
4411 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4412 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4413 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4414 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4415 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4416
4417
4418 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4419 if test "${enable_libtool_lock+set}" = set; then
4420   enableval="$enable_libtool_lock"
4421
4422 fi;
4423 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4424 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4425
4426
4427 # Check whether --with-pic or --without-pic was given.
4428 if test "${with_pic+set}" = set; then
4429   withval="$with_pic"
4430   pic_mode="$withval"
4431 else
4432   pic_mode=default
4433 fi;
4434 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4435 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4436
4437 # Some flags need to be propagated to the compiler or linker for good
4438 # libtool support.
4439 case $host in
4440 *-*-irix6*)
4441   # Find out which ABI we are using.
4442   echo '#line 4442 "configure"' > conftest.$ac_ext
4443   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4444   (eval $ac_compile) 2>&5
4445   ac_status=$?
4446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4447   (exit $ac_status); }; then
4448    if test "$lt_cv_prog_gnu_ld" = yes; then
4449     case `/usr/bin/file conftest.$ac_objext` in
4450     *32-bit*)
4451       LD="${LD-ld} -melf32bsmip"
4452       ;;
4453     *N32*)
4454       LD="${LD-ld} -melf32bmipn32"
4455       ;;
4456     *64-bit*)
4457       LD="${LD-ld} -melf64bmip"
4458       ;;
4459     esac
4460    else
4461     case `/usr/bin/file conftest.$ac_objext` in
4462     *32-bit*)
4463       LD="${LD-ld} -32"
4464       ;;
4465     *N32*)
4466       LD="${LD-ld} -n32"
4467       ;;
4468     *64-bit*)
4469       LD="${LD-ld} -64"
4470       ;;
4471     esac
4472    fi
4473   fi
4474   rm -rf conftest*
4475   ;;
4476
4477 ia64-*-hpux*)
4478   # Find out which ABI we are using.
4479   echo 'int i;' > conftest.$ac_ext
4480   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4481   (eval $ac_compile) 2>&5
4482   ac_status=$?
4483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4484   (exit $ac_status); }; then
4485     case "`/usr/bin/file conftest.o`" in
4486     *ELF-32*)
4487       HPUX_IA64_MODE="32"
4488       ;;
4489     *ELF-64*)
4490       HPUX_IA64_MODE="64"
4491       ;;
4492     esac
4493   fi
4494   rm -rf conftest*
4495   ;;
4496
4497 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4498   # Find out which ABI we are using.
4499   echo 'int i;' > conftest.$ac_ext
4500   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4501   (eval $ac_compile) 2>&5
4502   ac_status=$?
4503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4504   (exit $ac_status); }; then
4505     case "`/usr/bin/file conftest.o`" in
4506     *32-bit*)
4507       case $host in
4508         x86_64-*linux*)
4509           LD="${LD-ld} -m elf_i386"
4510           ;;
4511         ppc64-*linux*|powerpc64-*linux*)
4512           LD="${LD-ld} -m elf32ppclinux"
4513           ;;
4514         s390x-*linux*)
4515           LD="${LD-ld} -m elf_s390"
4516           ;;
4517         sparc64-*linux*)
4518           LD="${LD-ld} -m elf32_sparc"
4519           ;;
4520       esac
4521       ;;
4522     *64-bit*)
4523       case $host in
4524         x86_64-*linux*)
4525           LD="${LD-ld} -m elf_x86_64"
4526           ;;
4527         ppc*-*linux*|powerpc*-*linux*)
4528           LD="${LD-ld} -m elf64ppc"
4529           ;;
4530         s390*-*linux*)
4531           LD="${LD-ld} -m elf64_s390"
4532           ;;
4533         sparc*-*linux*)
4534           LD="${LD-ld} -m elf64_sparc"
4535           ;;
4536       esac
4537       ;;
4538     esac
4539   fi
4540   rm -rf conftest*
4541   ;;
4542
4543 *-*-sco3.2v5*)
4544   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4545   SAVE_CFLAGS="$CFLAGS"
4546   CFLAGS="$CFLAGS -belf"
4547   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4548 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4549 if test "${lt_cv_cc_needs_belf+set}" = set; then
4550   echo $ECHO_N "(cached) $ECHO_C" >&6
4551 else
4552
4553
4554      ac_ext=c
4555 ac_cpp='$CPP $CPPFLAGS'
4556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4559
4560      if test x$gcc_no_link = xyes; then
4561   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4563    { (exit 1); exit 1; }; }
4564 fi
4565 cat >conftest.$ac_ext <<_ACEOF
4566 /* confdefs.h.  */
4567 _ACEOF
4568 cat confdefs.h >>conftest.$ac_ext
4569 cat >>conftest.$ac_ext <<_ACEOF
4570 /* end confdefs.h.  */
4571
4572 int
4573 main ()
4574 {
4575
4576   ;
4577   return 0;
4578 }
4579 _ACEOF
4580 rm -f conftest.$ac_objext conftest$ac_exeext
4581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4582   (eval $ac_link) 2>conftest.er1
4583   ac_status=$?
4584   grep -v '^ *+' conftest.er1 >conftest.err
4585   rm -f conftest.er1
4586   cat conftest.err >&5
4587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588   (exit $ac_status); } &&
4589          { ac_try='test -z "$ac_c_werror_flag"
4590                          || test ! -s conftest.err'
4591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4592   (eval $ac_try) 2>&5
4593   ac_status=$?
4594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4595   (exit $ac_status); }; } &&
4596          { ac_try='test -s conftest$ac_exeext'
4597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4598   (eval $ac_try) 2>&5
4599   ac_status=$?
4600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4601   (exit $ac_status); }; }; then
4602   lt_cv_cc_needs_belf=yes
4603 else
4604   echo "$as_me: failed program was:" >&5
4605 sed 's/^/| /' conftest.$ac_ext >&5
4606
4607 lt_cv_cc_needs_belf=no
4608 fi
4609 rm -f conftest.err conftest.$ac_objext \
4610       conftest$ac_exeext conftest.$ac_ext
4611      ac_ext=c
4612 ac_cpp='$CPP $CPPFLAGS'
4613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4616
4617 fi
4618 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4619 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4620   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4621     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4622     CFLAGS="$SAVE_CFLAGS"
4623   fi
4624   ;;
4625
4626
4627 esac
4628
4629
4630 # Save cache, so that ltconfig can load it
4631 cat >confcache <<\_ACEOF
4632 # This file is a shell script that caches the results of configure
4633 # tests run on this system so they can be shared between configure
4634 # scripts and configure runs, see configure's option --config-cache.
4635 # It is not useful on other systems.  If it contains results you don't
4636 # want to keep, you may remove or edit it.
4637 #
4638 # config.status only pays attention to the cache file if you give it
4639 # the --recheck option to rerun configure.
4640 #
4641 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4642 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4643 # following values.
4644
4645 _ACEOF
4646
4647 # The following way of writing the cache mishandles newlines in values,
4648 # but we know of no workaround that is simple, portable, and efficient.
4649 # So, don't put newlines in cache variables' values.
4650 # Ultrix sh set writes to stderr and can't be redirected directly,
4651 # and sets the high bit in the cache file unless we assign to the vars.
4652 {
4653   (set) 2>&1 |
4654     case `(ac_space=' '; set | grep ac_space) 2>&1` in
4655     *ac_space=\ *)
4656       # `set' does not quote correctly, so add quotes (double-quote
4657       # substitution turns \\\\ into \\, and sed turns \\ into \).
4658       sed -n \
4659         "s/'/'\\\\''/g;
4660           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4661       ;;
4662     *)
4663       # `set' quotes correctly as required by POSIX, so do not add quotes.
4664       sed -n \
4665         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4666       ;;
4667     esac;
4668 } |
4669   sed '
4670      t clear
4671      : clear
4672      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4673      t end
4674      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4675      : end' >>confcache
4676 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4677   if test -w $cache_file; then
4678     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4679     cat confcache >$cache_file
4680   else
4681     echo "not updating unwritable cache $cache_file"
4682   fi
4683 fi
4684 rm -f confcache
4685
4686 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
4687 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4688 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4689 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4690 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4691 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4692 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4693 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4694 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4695 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4696 echo "$as_me: error: libtool configure failed" >&2;}
4697    { (exit 1); exit 1; }; }
4698
4699 # Reload cache, that may have been modified by ltconfig
4700 if test -r "$cache_file"; then
4701   # Some versions of bash will fail to source /dev/null (special
4702   # files actually), so we avoid doing that.
4703   if test -f "$cache_file"; then
4704     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4705 echo "$as_me: loading cache $cache_file" >&6;}
4706     case $cache_file in
4707       [\\/]* | ?:[\\/]* ) . $cache_file;;
4708       *)                      . ./$cache_file;;
4709     esac
4710   fi
4711 else
4712   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4713 echo "$as_me: creating cache $cache_file" >&6;}
4714   >$cache_file
4715 fi
4716
4717
4718 # This can be used to rebuild libtool when needed
4719 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4720
4721 # Always use our own libtool.
4722 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4723
4724 # Redirect the config.log output again, so that the ltconfig log is not
4725 # clobbered by the next message.
4726 exec 5>>./config.log
4727
4728 ac_ext=cc
4729 ac_cpp='$CXXCPP $CPPFLAGS'
4730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4733 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4734 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4735 if test -z "$CXXCPP"; then
4736   if test "${ac_cv_prog_CXXCPP+set}" = set; then
4737   echo $ECHO_N "(cached) $ECHO_C" >&6
4738 else
4739       # Double quotes because CXXCPP needs to be expanded
4740     for CXXCPP in "$CXX -E" "/lib/cpp"
4741     do
4742       ac_preproc_ok=false
4743 for ac_cxx_preproc_warn_flag in '' yes
4744 do
4745   # Use a header file that comes with gcc, so configuring glibc
4746   # with a fresh cross-compiler works.
4747   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4748   # <limits.h> exists even on freestanding compilers.
4749   # On the NeXT, cc -E runs the code through the compiler's parser,
4750   # not just through cpp. "Syntax error" is here to catch this case.
4751   cat >conftest.$ac_ext <<_ACEOF
4752 /* confdefs.h.  */
4753 _ACEOF
4754 cat confdefs.h >>conftest.$ac_ext
4755 cat >>conftest.$ac_ext <<_ACEOF
4756 /* end confdefs.h.  */
4757 #ifdef __STDC__
4758 # include <limits.h>
4759 #else
4760 # include <assert.h>
4761 #endif
4762                      Syntax error
4763 _ACEOF
4764 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4765   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4766   ac_status=$?
4767   grep -v '^ *+' conftest.er1 >conftest.err
4768   rm -f conftest.er1
4769   cat conftest.err >&5
4770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4771   (exit $ac_status); } >/dev/null; then
4772   if test -s conftest.err; then
4773     ac_cpp_err=$ac_cxx_preproc_warn_flag
4774     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4775   else
4776     ac_cpp_err=
4777   fi
4778 else
4779   ac_cpp_err=yes
4780 fi
4781 if test -z "$ac_cpp_err"; then
4782   :
4783 else
4784   echo "$as_me: failed program was:" >&5
4785 sed 's/^/| /' conftest.$ac_ext >&5
4786
4787   # Broken: fails on valid input.
4788 continue
4789 fi
4790 rm -f conftest.err conftest.$ac_ext
4791
4792   # OK, works on sane cases.  Now check whether non-existent headers
4793   # can be detected and how.
4794   cat >conftest.$ac_ext <<_ACEOF
4795 /* confdefs.h.  */
4796 _ACEOF
4797 cat confdefs.h >>conftest.$ac_ext
4798 cat >>conftest.$ac_ext <<_ACEOF
4799 /* end confdefs.h.  */
4800 #include <ac_nonexistent.h>
4801 _ACEOF
4802 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4803   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4804   ac_status=$?
4805   grep -v '^ *+' conftest.er1 >conftest.err
4806   rm -f conftest.er1
4807   cat conftest.err >&5
4808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4809   (exit $ac_status); } >/dev/null; then
4810   if test -s conftest.err; then
4811     ac_cpp_err=$ac_cxx_preproc_warn_flag
4812     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4813   else
4814     ac_cpp_err=
4815   fi
4816 else
4817   ac_cpp_err=yes
4818 fi
4819 if test -z "$ac_cpp_err"; then
4820   # Broken: success on invalid input.
4821 continue
4822 else
4823   echo "$as_me: failed program was:" >&5
4824 sed 's/^/| /' conftest.$ac_ext >&5
4825
4826   # Passes both tests.
4827 ac_preproc_ok=:
4828 break
4829 fi
4830 rm -f conftest.err conftest.$ac_ext
4831
4832 done
4833 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4834 rm -f conftest.err conftest.$ac_ext
4835 if $ac_preproc_ok; then
4836   break
4837 fi
4838
4839     done
4840     ac_cv_prog_CXXCPP=$CXXCPP
4841
4842 fi
4843   CXXCPP=$ac_cv_prog_CXXCPP
4844 else
4845   ac_cv_prog_CXXCPP=$CXXCPP
4846 fi
4847 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4848 echo "${ECHO_T}$CXXCPP" >&6
4849 ac_preproc_ok=false
4850 for ac_cxx_preproc_warn_flag in '' yes
4851 do
4852   # Use a header file that comes with gcc, so configuring glibc
4853   # with a fresh cross-compiler works.
4854   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4855   # <limits.h> exists even on freestanding compilers.
4856   # On the NeXT, cc -E runs the code through the compiler's parser,
4857   # not just through cpp. "Syntax error" is here to catch this case.
4858   cat >conftest.$ac_ext <<_ACEOF
4859 /* confdefs.h.  */
4860 _ACEOF
4861 cat confdefs.h >>conftest.$ac_ext
4862 cat >>conftest.$ac_ext <<_ACEOF
4863 /* end confdefs.h.  */
4864 #ifdef __STDC__
4865 # include <limits.h>
4866 #else
4867 # include <assert.h>
4868 #endif
4869                      Syntax error
4870 _ACEOF
4871 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4872   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4873   ac_status=$?
4874   grep -v '^ *+' conftest.er1 >conftest.err
4875   rm -f conftest.er1
4876   cat conftest.err >&5
4877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4878   (exit $ac_status); } >/dev/null; then
4879   if test -s conftest.err; then
4880     ac_cpp_err=$ac_cxx_preproc_warn_flag
4881     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4882   else
4883     ac_cpp_err=
4884   fi
4885 else
4886   ac_cpp_err=yes
4887 fi
4888 if test -z "$ac_cpp_err"; then
4889   :
4890 else
4891   echo "$as_me: failed program was:" >&5
4892 sed 's/^/| /' conftest.$ac_ext >&5
4893
4894   # Broken: fails on valid input.
4895 continue
4896 fi
4897 rm -f conftest.err conftest.$ac_ext
4898
4899   # OK, works on sane cases.  Now check whether non-existent headers
4900   # can be detected and how.
4901   cat >conftest.$ac_ext <<_ACEOF
4902 /* confdefs.h.  */
4903 _ACEOF
4904 cat confdefs.h >>conftest.$ac_ext
4905 cat >>conftest.$ac_ext <<_ACEOF
4906 /* end confdefs.h.  */
4907 #include <ac_nonexistent.h>
4908 _ACEOF
4909 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4910   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4911   ac_status=$?
4912   grep -v '^ *+' conftest.er1 >conftest.err
4913   rm -f conftest.er1
4914   cat conftest.err >&5
4915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4916   (exit $ac_status); } >/dev/null; then
4917   if test -s conftest.err; then
4918     ac_cpp_err=$ac_cxx_preproc_warn_flag
4919     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4920   else
4921     ac_cpp_err=
4922   fi
4923 else
4924   ac_cpp_err=yes
4925 fi
4926 if test -z "$ac_cpp_err"; then
4927   # Broken: success on invalid input.
4928 continue
4929 else
4930   echo "$as_me: failed program was:" >&5
4931 sed 's/^/| /' conftest.$ac_ext >&5
4932
4933   # Passes both tests.
4934 ac_preproc_ok=:
4935 break
4936 fi
4937 rm -f conftest.err conftest.$ac_ext
4938
4939 done
4940 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4941 rm -f conftest.err conftest.$ac_ext
4942 if $ac_preproc_ok; then
4943   :
4944 else
4945   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4946 See \`config.log' for more details." >&5
4947 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4948 See \`config.log' for more details." >&2;}
4949    { (exit 1); exit 1; }; }
4950 fi
4951
4952 ac_ext=c
4953 ac_cpp='$CPP $CPPFLAGS'
4954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4957
4958
4959
4960 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4961 lt_save_CC="$CC"
4962 lt_save_CFLAGS="$CFLAGS"
4963 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4964 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4965 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4966 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4967 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4968 deplibs_check_method="$deplibs_check_method" \
4969 file_magic_cmd="$file_magic_cmd" \
4970 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4971 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4972 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4973 echo "$as_me: error: libtool tag configuration failed" >&2;}
4974    { (exit 1); exit 1; }; }
4975 CC="$lt_save_CC"
4976 CFLAGS="$lt_save_CFLAGS"
4977
4978 # Redirect the config.log output again, so that the ltconfig log is not
4979 # clobbered by the next message.
4980 exec 5>>./config.log
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990 # Possibly disable most of the library.
4991 ## TODO: Consider skipping unncessary tests altogether in this case, rather
4992 ## than just ignoring the results.  Faster /and/ more correct, win win.
4993
4994   # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
4995 if test "${enable_hosted_libstdcxx+set}" = set; then
4996   enableval="$enable_hosted_libstdcxx"
4997
4998 else
4999   case "$host" in
5000         arm*-*-symbianelf*)
5001             enable_hosted_libstdcxx=no
5002             ;;
5003         *)
5004             enable_hosted_libstdcxx=yes
5005             ;;
5006      esac
5007 fi;
5008   if test "$enable_hosted_libstdcxx" = no; then
5009     { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
5010 echo "$as_me: Only freestanding libraries will be built" >&6;}
5011     is_hosted=no
5012     hosted_define=0
5013     enable_abi_check=no
5014     enable_libstdcxx_pch=no
5015   else
5016     is_hosted=yes
5017     hosted_define=1
5018   fi
5019
5020
5021 cat >>confdefs.h <<_ACEOF
5022 #define _GLIBCXX_HOSTED $hosted_define
5023 _ACEOF
5024
5025
5026
5027 # Check for compiler support that doesn't require linking.
5028
5029   echo "$as_me:$LINENO: checking for exception model to use" >&5
5030 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
5031
5032
5033   ac_ext=cc
5034 ac_cpp='$CXXCPP $CPPFLAGS'
5035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5038
5039    # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
5040 if test "${enable_sjlj_exceptions+set}" = set; then
5041   enableval="$enable_sjlj_exceptions"
5042
5043       case "$enableval" in
5044        yes|no|auto) ;;
5045        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
5046 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
5047    { (exit 1); exit 1; }; } ;;
5048                           esac
5049
5050 else
5051   enable_sjlj_exceptions=auto
5052 fi;
5053
5054
5055   if test $enable_sjlj_exceptions = auto; then
5056     # Botheration.  Now we've got to detect the exception model.  Link tests
5057     # against libgcc.a are problematic since we've not been given proper -L
5058     # bits for single-tree newlib and libgloss.
5059     #
5060     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
5061     cat > conftest.$ac_ext << EOF
5062 #line 5062 "configure"
5063 struct S { ~S(); };
5064 void bar();
5065 void foo()
5066 {
5067   S s;
5068   bar();
5069 }
5070 EOF
5071     old_CXXFLAGS="$CXXFLAGS"
5072     CXXFLAGS=-S
5073     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5074   (eval $ac_compile) 2>&5
5075   ac_status=$?
5076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5077   (exit $ac_status); }; then
5078       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5079         enable_sjlj_exceptions=yes
5080       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5081         enable_sjlj_exceptions=no
5082       fi
5083     fi
5084     CXXFLAGS="$old_CXXFLAGS"
5085     rm -f conftest*
5086   fi
5087
5088   # This is a tad weird, for hysterical raisins.  We have to map enable/disable
5089   # to two different models.
5090   case $enable_sjlj_exceptions in
5091     yes)
5092
5093 cat >>confdefs.h <<\_ACEOF
5094 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5095 _ACEOF
5096
5097       ac_exception_model_name=sjlj
5098       ;;
5099     no)
5100       ac_exception_model_name="call frame"
5101       ;;
5102     *)
5103       { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5104 echo "$as_me: error: unable to detect exception model" >&2;}
5105    { (exit 1); exit 1; }; }
5106       ;;
5107   esac
5108  ac_ext=c
5109 ac_cpp='$CPP $CPPFLAGS'
5110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5113
5114  echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5115 echo "${ECHO_T}$ac_exception_model_name" >&6
5116
5117
5118   echo "$as_me:$LINENO: checking for enabled PCH" >&5
5119 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5120    # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5121 if test "${enable_libstdcxx_pch+set}" = set; then
5122   enableval="$enable_libstdcxx_pch"
5123
5124       case "$enableval" in
5125        yes|no) ;;
5126        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5127 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5128    { (exit 1); exit 1; }; } ;;
5129       esac
5130
5131 else
5132   enable_libstdcxx_pch=$is_hosted
5133 fi;
5134
5135   echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5136 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5137
5138   if test $enable_libstdcxx_pch = yes; then
5139     echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5140 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5141 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5142   echo $ECHO_N "(cached) $ECHO_C" >&6
5143 else
5144   ac_save_CXXFLAGS="$CXXFLAGS"
5145        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5146
5147
5148        ac_ext=cc
5149 ac_cpp='$CXXCPP $CPPFLAGS'
5150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5153
5154        echo '#include <math.h>' > conftest.h
5155        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5156                           -o conftest.h.gch 1>&5 2>&1 &&
5157                 echo '#error "pch failed"' > conftest.h &&
5158           echo '#include "conftest.h"' > conftest.cc &&
5159                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5160        then
5161          glibcxx_cv_prog_CXX_pch=yes
5162        else
5163          glibcxx_cv_prog_CXX_pch=no
5164        fi
5165        rm -f conftest*
5166        CXXFLAGS=$ac_save_CXXFLAGS
5167        ac_ext=c
5168 ac_cpp='$CPP $CPPFLAGS'
5169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5172
5173
5174 fi
5175 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5176 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5177     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5178   fi
5179
5180
5181   if test $enable_libstdcxx_pch = yes; then
5182     glibcxx_PCHFLAGS="-include bits/stdc++.h"
5183   else
5184     glibcxx_PCHFLAGS=""
5185   fi
5186
5187
5188
5189 # Enable all the variable C++ runtime options.
5190
5191   echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5192 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5193    # Check whether --enable-cstdio or --disable-cstdio was given.
5194 if test "${enable_cstdio+set}" = set; then
5195   enableval="$enable_cstdio"
5196
5197       case "$enableval" in
5198        stdio) ;;
5199        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5200 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5201    { (exit 1); exit 1; }; } ;;
5202                           esac
5203
5204 else
5205   enable_cstdio=stdio
5206 fi;
5207
5208
5209   # Now that libio has been removed, you can have any color you want as long
5210   # as it's black.  This is one big no-op until other packages are added, but
5211   # showing the framework never hurts.
5212   case ${enable_cstdio} in
5213     stdio)
5214       CSTDIO_H=config/io/c_io_stdio.h
5215       BASIC_FILE_H=config/io/basic_file_stdio.h
5216       BASIC_FILE_CC=config/io/basic_file_stdio.cc
5217       echo "$as_me:$LINENO: result: stdio" >&5
5218 echo "${ECHO_T}stdio" >&6
5219       ;;
5220   esac
5221
5222
5223
5224
5225
5226 ac_ext=c
5227 ac_cpp='$CPP $CPPFLAGS'
5228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5231 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5232 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5233 # On Suns, sometimes $CPP names a directory.
5234 if test -n "$CPP" && test -d "$CPP"; then
5235   CPP=
5236 fi
5237 if test -z "$CPP"; then
5238   if test "${ac_cv_prog_CPP+set}" = set; then
5239   echo $ECHO_N "(cached) $ECHO_C" >&6
5240 else
5241       # Double quotes because CPP needs to be expanded
5242     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5243     do
5244       ac_preproc_ok=false
5245 for ac_c_preproc_warn_flag in '' yes
5246 do
5247   # Use a header file that comes with gcc, so configuring glibc
5248   # with a fresh cross-compiler works.
5249   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5250   # <limits.h> exists even on freestanding compilers.
5251   # On the NeXT, cc -E runs the code through the compiler's parser,
5252   # not just through cpp. "Syntax error" is here to catch this case.
5253   cat >conftest.$ac_ext <<_ACEOF
5254 /* confdefs.h.  */
5255 _ACEOF
5256 cat confdefs.h >>conftest.$ac_ext
5257 cat >>conftest.$ac_ext <<_ACEOF
5258 /* end confdefs.h.  */
5259 #ifdef __STDC__
5260 # include <limits.h>
5261 #else
5262 # include <assert.h>
5263 #endif
5264                      Syntax error
5265 _ACEOF
5266 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5267   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5268   ac_status=$?
5269   grep -v '^ *+' conftest.er1 >conftest.err
5270   rm -f conftest.er1
5271   cat conftest.err >&5
5272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5273   (exit $ac_status); } >/dev/null; then
5274   if test -s conftest.err; then
5275     ac_cpp_err=$ac_c_preproc_warn_flag
5276     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5277   else
5278     ac_cpp_err=
5279   fi
5280 else
5281   ac_cpp_err=yes
5282 fi
5283 if test -z "$ac_cpp_err"; then
5284   :
5285 else
5286   echo "$as_me: failed program was:" >&5
5287 sed 's/^/| /' conftest.$ac_ext >&5
5288
5289   # Broken: fails on valid input.
5290 continue
5291 fi
5292 rm -f conftest.err conftest.$ac_ext
5293
5294   # OK, works on sane cases.  Now check whether non-existent headers
5295   # can be detected and how.
5296   cat >conftest.$ac_ext <<_ACEOF
5297 /* confdefs.h.  */
5298 _ACEOF
5299 cat confdefs.h >>conftest.$ac_ext
5300 cat >>conftest.$ac_ext <<_ACEOF
5301 /* end confdefs.h.  */
5302 #include <ac_nonexistent.h>
5303 _ACEOF
5304 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5305   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5306   ac_status=$?
5307   grep -v '^ *+' conftest.er1 >conftest.err
5308   rm -f conftest.er1
5309   cat conftest.err >&5
5310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5311   (exit $ac_status); } >/dev/null; then
5312   if test -s conftest.err; then
5313     ac_cpp_err=$ac_c_preproc_warn_flag
5314     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5315   else
5316     ac_cpp_err=
5317   fi
5318 else
5319   ac_cpp_err=yes
5320 fi
5321 if test -z "$ac_cpp_err"; then
5322   # Broken: success on invalid input.
5323 continue
5324 else
5325   echo "$as_me: failed program was:" >&5
5326 sed 's/^/| /' conftest.$ac_ext >&5
5327
5328   # Passes both tests.
5329 ac_preproc_ok=:
5330 break
5331 fi
5332 rm -f conftest.err conftest.$ac_ext
5333
5334 done
5335 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5336 rm -f conftest.err conftest.$ac_ext
5337 if $ac_preproc_ok; then
5338   break
5339 fi
5340
5341     done
5342     ac_cv_prog_CPP=$CPP
5343
5344 fi
5345   CPP=$ac_cv_prog_CPP
5346 else
5347   ac_cv_prog_CPP=$CPP
5348 fi
5349 echo "$as_me:$LINENO: result: $CPP" >&5
5350 echo "${ECHO_T}$CPP" >&6
5351 ac_preproc_ok=false
5352 for ac_c_preproc_warn_flag in '' yes
5353 do
5354   # Use a header file that comes with gcc, so configuring glibc
5355   # with a fresh cross-compiler works.
5356   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5357   # <limits.h> exists even on freestanding compilers.
5358   # On the NeXT, cc -E runs the code through the compiler's parser,
5359   # not just through cpp. "Syntax error" is here to catch this case.
5360   cat >conftest.$ac_ext <<_ACEOF
5361 /* confdefs.h.  */
5362 _ACEOF
5363 cat confdefs.h >>conftest.$ac_ext
5364 cat >>conftest.$ac_ext <<_ACEOF
5365 /* end confdefs.h.  */
5366 #ifdef __STDC__
5367 # include <limits.h>
5368 #else
5369 # include <assert.h>
5370 #endif
5371                      Syntax error
5372 _ACEOF
5373 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5374   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5375   ac_status=$?
5376   grep -v '^ *+' conftest.er1 >conftest.err
5377   rm -f conftest.er1
5378   cat conftest.err >&5
5379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5380   (exit $ac_status); } >/dev/null; then
5381   if test -s conftest.err; then
5382     ac_cpp_err=$ac_c_preproc_warn_flag
5383     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5384   else
5385     ac_cpp_err=
5386   fi
5387 else
5388   ac_cpp_err=yes
5389 fi
5390 if test -z "$ac_cpp_err"; then
5391   :
5392 else
5393   echo "$as_me: failed program was:" >&5
5394 sed 's/^/| /' conftest.$ac_ext >&5
5395
5396   # Broken: fails on valid input.
5397 continue
5398 fi
5399 rm -f conftest.err conftest.$ac_ext
5400
5401   # OK, works on sane cases.  Now check whether non-existent headers
5402   # can be detected and how.
5403   cat >conftest.$ac_ext <<_ACEOF
5404 /* confdefs.h.  */
5405 _ACEOF
5406 cat confdefs.h >>conftest.$ac_ext
5407 cat >>conftest.$ac_ext <<_ACEOF
5408 /* end confdefs.h.  */
5409 #include <ac_nonexistent.h>
5410 _ACEOF
5411 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5412   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5413   ac_status=$?
5414   grep -v '^ *+' conftest.er1 >conftest.err
5415   rm -f conftest.er1
5416   cat conftest.err >&5
5417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5418   (exit $ac_status); } >/dev/null; then
5419   if test -s conftest.err; then
5420     ac_cpp_err=$ac_c_preproc_warn_flag
5421     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5422   else
5423     ac_cpp_err=
5424   fi
5425 else
5426   ac_cpp_err=yes
5427 fi
5428 if test -z "$ac_cpp_err"; then
5429   # Broken: success on invalid input.
5430 continue
5431 else
5432   echo "$as_me: failed program was:" >&5
5433 sed 's/^/| /' conftest.$ac_ext >&5
5434
5435   # Passes both tests.
5436 ac_preproc_ok=:
5437 break
5438 fi
5439 rm -f conftest.err conftest.$ac_ext
5440
5441 done
5442 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5443 rm -f conftest.err conftest.$ac_ext
5444 if $ac_preproc_ok; then
5445   :
5446 else
5447   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5448 See \`config.log' for more details." >&5
5449 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5450 See \`config.log' for more details." >&2;}
5451    { (exit 1); exit 1; }; }
5452 fi
5453
5454 ac_ext=c
5455 ac_cpp='$CPP $CPPFLAGS'
5456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5459
5460
5461 echo "$as_me:$LINENO: checking for egrep" >&5
5462 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5463 if test "${ac_cv_prog_egrep+set}" = set; then
5464   echo $ECHO_N "(cached) $ECHO_C" >&6
5465 else
5466   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5467     then ac_cv_prog_egrep='grep -E'
5468     else ac_cv_prog_egrep='egrep'
5469     fi
5470 fi
5471 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5472 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5473  EGREP=$ac_cv_prog_egrep
5474
5475
5476 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5477 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5478 if test "${ac_cv_header_stdc+set}" = set; then
5479   echo $ECHO_N "(cached) $ECHO_C" >&6
5480 else
5481   cat >conftest.$ac_ext <<_ACEOF
5482 /* confdefs.h.  */
5483 _ACEOF
5484 cat confdefs.h >>conftest.$ac_ext
5485 cat >>conftest.$ac_ext <<_ACEOF
5486 /* end confdefs.h.  */
5487 #include <stdlib.h>
5488 #include <stdarg.h>
5489 #include <string.h>
5490 #include <float.h>
5491
5492 int
5493 main ()
5494 {
5495
5496   ;
5497   return 0;
5498 }
5499 _ACEOF
5500 rm -f conftest.$ac_objext
5501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5502   (eval $ac_compile) 2>conftest.er1
5503   ac_status=$?
5504   grep -v '^ *+' conftest.er1 >conftest.err
5505   rm -f conftest.er1
5506   cat conftest.err >&5
5507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5508   (exit $ac_status); } &&
5509          { ac_try='test -z "$ac_c_werror_flag"
5510                          || test ! -s conftest.err'
5511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5512   (eval $ac_try) 2>&5
5513   ac_status=$?
5514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5515   (exit $ac_status); }; } &&
5516          { ac_try='test -s conftest.$ac_objext'
5517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5518   (eval $ac_try) 2>&5
5519   ac_status=$?
5520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5521   (exit $ac_status); }; }; then
5522   ac_cv_header_stdc=yes
5523 else
5524   echo "$as_me: failed program was:" >&5
5525 sed 's/^/| /' conftest.$ac_ext >&5
5526
5527 ac_cv_header_stdc=no
5528 fi
5529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5530
5531 if test $ac_cv_header_stdc = yes; then
5532   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5533   cat >conftest.$ac_ext <<_ACEOF
5534 /* confdefs.h.  */
5535 _ACEOF
5536 cat confdefs.h >>conftest.$ac_ext
5537 cat >>conftest.$ac_ext <<_ACEOF
5538 /* end confdefs.h.  */
5539 #include <string.h>
5540
5541 _ACEOF
5542 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5543   $EGREP "memchr" >/dev/null 2>&1; then
5544   :
5545 else
5546   ac_cv_header_stdc=no
5547 fi
5548 rm -f conftest*
5549
5550 fi
5551
5552 if test $ac_cv_header_stdc = yes; then
5553   # ISC 2.0.2 stdlib.h does not declare free, 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 <stdlib.h>
5561
5562 _ACEOF
5563 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5564   $EGREP "free" >/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   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5575   if test "$cross_compiling" = yes; then
5576   :
5577 else
5578   cat >conftest.$ac_ext <<_ACEOF
5579 /* confdefs.h.  */
5580 _ACEOF
5581 cat confdefs.h >>conftest.$ac_ext
5582 cat >>conftest.$ac_ext <<_ACEOF
5583 /* end confdefs.h.  */
5584 #include <ctype.h>
5585 #if ((' ' & 0x0FF) == 0x020)
5586 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5587 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5588 #else
5589 # define ISLOWER(c) \
5590                    (('a' <= (c) && (c) <= 'i') \
5591                      || ('j' <= (c) && (c) <= 'r') \
5592                      || ('s' <= (c) && (c) <= 'z'))
5593 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5594 #endif
5595
5596 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5597 int
5598 main ()
5599 {
5600   int i;
5601   for (i = 0; i < 256; i++)
5602     if (XOR (islower (i), ISLOWER (i))
5603         || toupper (i) != TOUPPER (i))
5604       exit(2);
5605   exit (0);
5606 }
5607 _ACEOF
5608 rm -f conftest$ac_exeext
5609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5610   (eval $ac_link) 2>&5
5611   ac_status=$?
5612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5613   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5615   (eval $ac_try) 2>&5
5616   ac_status=$?
5617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5618   (exit $ac_status); }; }; then
5619   :
5620 else
5621   echo "$as_me: program exited with status $ac_status" >&5
5622 echo "$as_me: failed program was:" >&5
5623 sed 's/^/| /' conftest.$ac_ext >&5
5624
5625 ( exit $ac_status )
5626 ac_cv_header_stdc=no
5627 fi
5628 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5629 fi
5630 fi
5631 fi
5632 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5633 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5634 if test $ac_cv_header_stdc = yes; then
5635
5636 cat >>confdefs.h <<\_ACEOF
5637 #define STDC_HEADERS 1
5638 _ACEOF
5639
5640 fi
5641
5642 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5653                   inttypes.h stdint.h unistd.h
5654 do
5655 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5656 echo "$as_me:$LINENO: checking for $ac_header" >&5
5657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5659   echo $ECHO_N "(cached) $ECHO_C" >&6
5660 else
5661   cat >conftest.$ac_ext <<_ACEOF
5662 /* confdefs.h.  */
5663 _ACEOF
5664 cat confdefs.h >>conftest.$ac_ext
5665 cat >>conftest.$ac_ext <<_ACEOF
5666 /* end confdefs.h.  */
5667 $ac_includes_default
5668
5669 #include <$ac_header>
5670 _ACEOF
5671 rm -f conftest.$ac_objext
5672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5673   (eval $ac_compile) 2>conftest.er1
5674   ac_status=$?
5675   grep -v '^ *+' conftest.er1 >conftest.err
5676   rm -f conftest.er1
5677   cat conftest.err >&5
5678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5679   (exit $ac_status); } &&
5680          { ac_try='test -z "$ac_c_werror_flag"
5681                          || test ! -s conftest.err'
5682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5683   (eval $ac_try) 2>&5
5684   ac_status=$?
5685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5686   (exit $ac_status); }; } &&
5687          { ac_try='test -s conftest.$ac_objext'
5688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5689   (eval $ac_try) 2>&5
5690   ac_status=$?
5691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5692   (exit $ac_status); }; }; then
5693   eval "$as_ac_Header=yes"
5694 else
5695   echo "$as_me: failed program was:" >&5
5696 sed 's/^/| /' conftest.$ac_ext >&5
5697
5698 eval "$as_ac_Header=no"
5699 fi
5700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5701 fi
5702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5703 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5705   cat >>confdefs.h <<_ACEOF
5706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5707 _ACEOF
5708
5709 fi
5710
5711 done
5712
5713
5714
5715   echo "$as_me:$LINENO: checking for C locale to use" >&5
5716 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5717    # Check whether --enable-clocale or --disable-clocale was given.
5718 if test "${enable_clocale+set}" = set; then
5719   enableval="$enable_clocale"
5720
5721       case "$enableval" in
5722        generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5723        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5724 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5725    { (exit 1); exit 1; }; } ;;
5726                           esac
5727
5728 else
5729   enable_clocale=auto
5730 fi;
5731
5732
5733   # If they didn't use this option switch, or if they specified --enable
5734   # with no specific model, we'll have to look for one.  If they
5735   # specified --disable (???), do likewise.
5736   if test $enable_clocale = no || test $enable_clocale = yes; then
5737      enable_clocale=auto
5738   fi
5739
5740   # Either a known package, or "auto"
5741   enable_clocale_flag=$enable_clocale
5742
5743   # Probe for locale support if no specific model is specified.
5744   # Default to "generic".
5745   if test $enable_clocale_flag = auto; then
5746     case ${target_os} in
5747       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5748         cat >conftest.$ac_ext <<_ACEOF
5749 /* confdefs.h.  */
5750 _ACEOF
5751 cat confdefs.h >>conftest.$ac_ext
5752 cat >>conftest.$ac_ext <<_ACEOF
5753 /* end confdefs.h.  */
5754
5755         #include <features.h>
5756         #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5757           _GLIBCXX_ok
5758         #endif
5759
5760 _ACEOF
5761 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5762   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5763   enable_clocale_flag=gnu
5764 else
5765   enable_clocale_flag=generic
5766 fi
5767 rm -f conftest*
5768
5769
5770         # Test for bugs early in glibc-2.2.x series
5771           if test $enable_clocale_flag = gnu; then
5772           if test "$cross_compiling" = yes; then
5773   enable_clocale_flag=generic
5774 else
5775   cat >conftest.$ac_ext <<_ACEOF
5776 /* confdefs.h.  */
5777 _ACEOF
5778 cat confdefs.h >>conftest.$ac_ext
5779 cat >>conftest.$ac_ext <<_ACEOF
5780 /* end confdefs.h.  */
5781
5782           #define _GNU_SOURCE 1
5783           #include <locale.h>
5784           #include <string.h>
5785           #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5786           extern __typeof(newlocale) __newlocale;
5787           extern __typeof(duplocale) __duplocale;
5788           extern __typeof(strcoll_l) __strcoll_l;
5789           #endif
5790           int main()
5791           {
5792               const char __one[] = "Äuglein Augmen";
5793               const char __two[] = "Äuglein";
5794               int i;
5795               int j;
5796               __locale_t        loc;
5797                __locale_t        loc_dup;
5798               loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5799               loc_dup = __duplocale(loc);
5800               i = __strcoll_l(__one, __two, loc);
5801               j = __strcoll_l(__one, __two, loc_dup);
5802               return 0;
5803           }
5804
5805 _ACEOF
5806 rm -f conftest$ac_exeext
5807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5808   (eval $ac_link) 2>&5
5809   ac_status=$?
5810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5811   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5813   (eval $ac_try) 2>&5
5814   ac_status=$?
5815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5816   (exit $ac_status); }; }; then
5817   enable_clocale_flag=gnu
5818 else
5819   echo "$as_me: program exited with status $ac_status" >&5
5820 echo "$as_me: failed program was:" >&5
5821 sed 's/^/| /' conftest.$ac_ext >&5
5822
5823 ( exit $ac_status )
5824 enable_clocale_flag=generic
5825 fi
5826 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5827 fi
5828           fi
5829
5830         # ... at some point put __strxfrm_l tests in as well.
5831         ;;
5832       darwin* | freebsd*)
5833         enable_clocale_flag=darwin
5834         ;;
5835       *)
5836         enable_clocale_flag=generic
5837         ;;
5838     esac
5839   fi
5840
5841   # Deal with gettext issues.  Default to not using it (=no) until we detect
5842   # support for it later.  Let the user turn it off via --e/d, but let that
5843   # default to on for easier handling.
5844   USE_NLS=no
5845   # Check whether --enable-nls or --disable-nls was given.
5846 if test "${enable_nls+set}" = set; then
5847   enableval="$enable_nls"
5848
5849 else
5850   enable_nls=yes
5851 fi;
5852
5853   # Set configure bits for specified locale package
5854   case ${enable_clocale_flag} in
5855     generic)
5856       echo "$as_me:$LINENO: result: generic" >&5
5857 echo "${ECHO_T}generic" >&6
5858
5859       CLOCALE_H=config/locale/generic/c_locale.h
5860       CLOCALE_CC=config/locale/generic/c_locale.cc
5861       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5862       CCOLLATE_CC=config/locale/generic/collate_members.cc
5863       CCTYPE_CC=config/locale/generic/ctype_members.cc
5864       CMESSAGES_H=config/locale/generic/messages_members.h
5865       CMESSAGES_CC=config/locale/generic/messages_members.cc
5866       CMONEY_CC=config/locale/generic/monetary_members.cc
5867       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5868       CTIME_H=config/locale/generic/time_members.h
5869       CTIME_CC=config/locale/generic/time_members.cc
5870       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5871       ;;
5872     darwin)
5873       echo "$as_me:$LINENO: result: darwin or freebsd" >&5
5874 echo "${ECHO_T}darwin or freebsd" >&6
5875
5876       CLOCALE_H=config/locale/generic/c_locale.h
5877       CLOCALE_CC=config/locale/generic/c_locale.cc
5878       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5879       CCOLLATE_CC=config/locale/generic/collate_members.cc
5880       CCTYPE_CC=config/locale/darwin/ctype_members.cc
5881       CMESSAGES_H=config/locale/generic/messages_members.h
5882       CMESSAGES_CC=config/locale/generic/messages_members.cc
5883       CMONEY_CC=config/locale/generic/monetary_members.cc
5884       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5885       CTIME_H=config/locale/generic/time_members.h
5886       CTIME_CC=config/locale/generic/time_members.cc
5887       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5888       ;;
5889
5890     gnu)
5891       echo "$as_me:$LINENO: result: gnu" >&5
5892 echo "${ECHO_T}gnu" >&6
5893
5894       # Declare intention to use gettext, and add support for specific
5895       # languages.
5896       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5897       ALL_LINGUAS="de fr"
5898
5899       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5900       # Extract the first word of "msgfmt", so it can be a program name with args.
5901 set dummy msgfmt; ac_word=$2
5902 echo "$as_me:$LINENO: checking for $ac_word" >&5
5903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5904 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5905   echo $ECHO_N "(cached) $ECHO_C" >&6
5906 else
5907   if test -n "$check_msgfmt"; then
5908   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5909 else
5910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5911 for as_dir in $PATH
5912 do
5913   IFS=$as_save_IFS
5914   test -z "$as_dir" && as_dir=.
5915   for ac_exec_ext in '' $ac_executable_extensions; do
5916   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5917     ac_cv_prog_check_msgfmt="yes"
5918     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5919     break 2
5920   fi
5921 done
5922 done
5923
5924   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5925 fi
5926 fi
5927 check_msgfmt=$ac_cv_prog_check_msgfmt
5928 if test -n "$check_msgfmt"; then
5929   echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5930 echo "${ECHO_T}$check_msgfmt" >&6
5931 else
5932   echo "$as_me:$LINENO: result: no" >&5
5933 echo "${ECHO_T}no" >&6
5934 fi
5935
5936       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5937         USE_NLS=yes
5938       fi
5939       # Export the build objects.
5940       for ling in $ALL_LINGUAS; do \
5941         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5942         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5943       done
5944
5945
5946
5947       CLOCALE_H=config/locale/gnu/c_locale.h
5948       CLOCALE_CC=config/locale/gnu/c_locale.cc
5949       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5950       CCOLLATE_CC=config/locale/gnu/collate_members.cc
5951       CCTYPE_CC=config/locale/gnu/ctype_members.cc
5952       CMESSAGES_H=config/locale/gnu/messages_members.h
5953       CMESSAGES_CC=config/locale/gnu/messages_members.cc
5954       CMONEY_CC=config/locale/gnu/monetary_members.cc
5955       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5956       CTIME_H=config/locale/gnu/time_members.h
5957       CTIME_CC=config/locale/gnu/time_members.cc
5958       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5959       ;;
5960     ieee_1003.1-2001)
5961       echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5962 echo "${ECHO_T}IEEE 1003.1" >&6
5963
5964       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5965       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5966       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5967       CCOLLATE_CC=config/locale/generic/collate_members.cc
5968       CCTYPE_CC=config/locale/generic/ctype_members.cc
5969       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5970       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5971       CMONEY_CC=config/locale/generic/monetary_members.cc
5972       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5973       CTIME_H=config/locale/generic/time_members.h
5974       CTIME_CC=config/locale/generic/time_members.cc
5975       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5976       ;;
5977   esac
5978
5979   # This is where the testsuite looks for locale catalogs, using the
5980   # -DLOCALEDIR define during testsuite compilation.
5981   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
5982
5983
5984   # A standalone libintl (e.g., GNU libintl) may be in use.
5985   if test $USE_NLS = yes; then
5986
5987 for ac_header in libintl.h
5988 do
5989 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5990 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5991   echo "$as_me:$LINENO: checking for $ac_header" >&5
5992 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5993 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5994   echo $ECHO_N "(cached) $ECHO_C" >&6
5995 fi
5996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5997 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5998 else
5999   # Is the header compilable?
6000 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6001 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6002 cat >conftest.$ac_ext <<_ACEOF
6003 /* confdefs.h.  */
6004 _ACEOF
6005 cat confdefs.h >>conftest.$ac_ext
6006 cat >>conftest.$ac_ext <<_ACEOF
6007 /* end confdefs.h.  */
6008 $ac_includes_default
6009 #include <$ac_header>
6010 _ACEOF
6011 rm -f conftest.$ac_objext
6012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6013   (eval $ac_compile) 2>conftest.er1
6014   ac_status=$?
6015   grep -v '^ *+' conftest.er1 >conftest.err
6016   rm -f conftest.er1
6017   cat conftest.err >&5
6018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6019   (exit $ac_status); } &&
6020          { ac_try='test -z "$ac_c_werror_flag"
6021                          || test ! -s conftest.err'
6022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6023   (eval $ac_try) 2>&5
6024   ac_status=$?
6025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6026   (exit $ac_status); }; } &&
6027          { ac_try='test -s conftest.$ac_objext'
6028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6029   (eval $ac_try) 2>&5
6030   ac_status=$?
6031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6032   (exit $ac_status); }; }; then
6033   ac_header_compiler=yes
6034 else
6035   echo "$as_me: failed program was:" >&5
6036 sed 's/^/| /' conftest.$ac_ext >&5
6037
6038 ac_header_compiler=no
6039 fi
6040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6041 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6042 echo "${ECHO_T}$ac_header_compiler" >&6
6043
6044 # Is the header present?
6045 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6046 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6047 cat >conftest.$ac_ext <<_ACEOF
6048 /* confdefs.h.  */
6049 _ACEOF
6050 cat confdefs.h >>conftest.$ac_ext
6051 cat >>conftest.$ac_ext <<_ACEOF
6052 /* end confdefs.h.  */
6053 #include <$ac_header>
6054 _ACEOF
6055 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6056   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6057   ac_status=$?
6058   grep -v '^ *+' conftest.er1 >conftest.err
6059   rm -f conftest.er1
6060   cat conftest.err >&5
6061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6062   (exit $ac_status); } >/dev/null; then
6063   if test -s conftest.err; then
6064     ac_cpp_err=$ac_c_preproc_warn_flag
6065     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6066   else
6067     ac_cpp_err=
6068   fi
6069 else
6070   ac_cpp_err=yes
6071 fi
6072 if test -z "$ac_cpp_err"; then
6073   ac_header_preproc=yes
6074 else
6075   echo "$as_me: failed program was:" >&5
6076 sed 's/^/| /' conftest.$ac_ext >&5
6077
6078   ac_header_preproc=no
6079 fi
6080 rm -f conftest.err conftest.$ac_ext
6081 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6082 echo "${ECHO_T}$ac_header_preproc" >&6
6083
6084 # So?  What about this header?
6085 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6086   yes:no: )
6087     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6088 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6089     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6090 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6091     ac_header_preproc=yes
6092     ;;
6093   no:yes:* )
6094     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6095 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6096     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6097 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6098     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6099 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6100     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6101 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6102     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6103 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6104     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6105 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6106     (
6107       cat <<\_ASBOX
6108 ## ----------------------------------------- ##
6109 ## Report this to the package-unused lists.  ##
6110 ## ----------------------------------------- ##
6111 _ASBOX
6112     ) |
6113       sed "s/^/$as_me: WARNING:     /" >&2
6114     ;;
6115 esac
6116 echo "$as_me:$LINENO: checking for $ac_header" >&5
6117 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6118 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6119   echo $ECHO_N "(cached) $ECHO_C" >&6
6120 else
6121   eval "$as_ac_Header=\$ac_header_preproc"
6122 fi
6123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6124 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6125
6126 fi
6127 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6128   cat >>confdefs.h <<_ACEOF
6129 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6130 _ACEOF
6131
6132 else
6133   USE_NLS=no
6134 fi
6135
6136 done
6137
6138     echo "$as_me:$LINENO: checking for library containing gettext" >&5
6139 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6140 if test "${ac_cv_search_gettext+set}" = set; then
6141   echo $ECHO_N "(cached) $ECHO_C" >&6
6142 else
6143   ac_func_search_save_LIBS=$LIBS
6144 ac_cv_search_gettext=no
6145 if test x$gcc_no_link = xyes; then
6146   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6148    { (exit 1); exit 1; }; }
6149 fi
6150 cat >conftest.$ac_ext <<_ACEOF
6151 /* confdefs.h.  */
6152 _ACEOF
6153 cat confdefs.h >>conftest.$ac_ext
6154 cat >>conftest.$ac_ext <<_ACEOF
6155 /* end confdefs.h.  */
6156
6157 /* Override any gcc2 internal prototype to avoid an error.  */
6158 #ifdef __cplusplus
6159 extern "C"
6160 #endif
6161 /* We use char because int might match the return type of a gcc2
6162    builtin and then its argument prototype would still apply.  */
6163 char gettext ();
6164 int
6165 main ()
6166 {
6167 gettext ();
6168   ;
6169   return 0;
6170 }
6171 _ACEOF
6172 rm -f conftest.$ac_objext conftest$ac_exeext
6173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6174   (eval $ac_link) 2>conftest.er1
6175   ac_status=$?
6176   grep -v '^ *+' conftest.er1 >conftest.err
6177   rm -f conftest.er1
6178   cat conftest.err >&5
6179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6180   (exit $ac_status); } &&
6181          { ac_try='test -z "$ac_c_werror_flag"
6182                          || test ! -s conftest.err'
6183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6184   (eval $ac_try) 2>&5
6185   ac_status=$?
6186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6187   (exit $ac_status); }; } &&
6188          { ac_try='test -s conftest$ac_exeext'
6189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6190   (eval $ac_try) 2>&5
6191   ac_status=$?
6192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6193   (exit $ac_status); }; }; then
6194   ac_cv_search_gettext="none required"
6195 else
6196   echo "$as_me: failed program was:" >&5
6197 sed 's/^/| /' conftest.$ac_ext >&5
6198
6199 fi
6200 rm -f conftest.err conftest.$ac_objext \
6201       conftest$ac_exeext conftest.$ac_ext
6202 if test "$ac_cv_search_gettext" = no; then
6203   for ac_lib in intl; do
6204     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
6205     if test x$gcc_no_link = xyes; then
6206   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6208    { (exit 1); exit 1; }; }
6209 fi
6210 cat >conftest.$ac_ext <<_ACEOF
6211 /* confdefs.h.  */
6212 _ACEOF
6213 cat confdefs.h >>conftest.$ac_ext
6214 cat >>conftest.$ac_ext <<_ACEOF
6215 /* end confdefs.h.  */
6216
6217 /* Override any gcc2 internal prototype to avoid an error.  */
6218 #ifdef __cplusplus
6219 extern "C"
6220 #endif
6221 /* We use char because int might match the return type of a gcc2
6222    builtin and then its argument prototype would still apply.  */
6223 char gettext ();
6224 int
6225 main ()
6226 {
6227 gettext ();
6228   ;
6229   return 0;
6230 }
6231 _ACEOF
6232 rm -f conftest.$ac_objext conftest$ac_exeext
6233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6234   (eval $ac_link) 2>conftest.er1
6235   ac_status=$?
6236   grep -v '^ *+' conftest.er1 >conftest.err
6237   rm -f conftest.er1
6238   cat conftest.err >&5
6239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6240   (exit $ac_status); } &&
6241          { ac_try='test -z "$ac_c_werror_flag"
6242                          || test ! -s conftest.err'
6243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6244   (eval $ac_try) 2>&5
6245   ac_status=$?
6246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6247   (exit $ac_status); }; } &&
6248          { ac_try='test -s conftest$ac_exeext'
6249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6250   (eval $ac_try) 2>&5
6251   ac_status=$?
6252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6253   (exit $ac_status); }; }; then
6254   ac_cv_search_gettext="-l$ac_lib"
6255 break
6256 else
6257   echo "$as_me: failed program was:" >&5
6258 sed 's/^/| /' conftest.$ac_ext >&5
6259
6260 fi
6261 rm -f conftest.err conftest.$ac_objext \
6262       conftest$ac_exeext conftest.$ac_ext
6263   done
6264 fi
6265 LIBS=$ac_func_search_save_LIBS
6266 fi
6267 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6268 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6269 if test "$ac_cv_search_gettext" != no; then
6270   test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6271
6272 else
6273   USE_NLS=no
6274 fi
6275
6276   fi
6277   if test $USE_NLS = yes; then
6278
6279 cat >>confdefs.h <<\_ACEOF
6280 #define _GLIBCXX_USE_NLS 1
6281 _ACEOF
6282
6283   fi
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300   echo "$as_me:$LINENO: checking for std::allocator base class" >&5
6301 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
6302    # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6303 if test "${enable_libstdcxx_allocator+set}" = set; then
6304   enableval="$enable_libstdcxx_allocator"
6305
6306       case "$enableval" in
6307        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6308        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6309 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6310    { (exit 1); exit 1; }; } ;;
6311                           esac
6312
6313 else
6314   enable_libstdcxx_allocator=auto
6315 fi;
6316
6317
6318   # If they didn't use this option switch, or if they specified --enable
6319   # with no specific model, we'll have to look for one.  If they
6320   # specified --disable (???), do likewise.
6321   if test $enable_libstdcxx_allocator = no ||
6322      test $enable_libstdcxx_allocator = yes;
6323   then
6324      enable_libstdcxx_allocator=auto
6325   fi
6326
6327   # Either a known package, or "auto". Auto implies the default choice
6328   # for a particular platform.
6329   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6330
6331   # Probe for host-specific support if no specific model is specified.
6332   # Default to "new".
6333   if test $enable_libstdcxx_allocator_flag = auto; then
6334     case ${target_os} in
6335       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6336         enable_libstdcxx_allocator_flag=mt
6337         ;;
6338       *)
6339         enable_libstdcxx_allocator_flag=new
6340         ;;
6341     esac
6342   fi
6343   echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6344 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6345
6346
6347   # Set configure bits for specified locale package
6348   case ${enable_libstdcxx_allocator_flag} in
6349     bitmap)
6350       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6351       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6352       ;;
6353     malloc)
6354       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6355       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6356       ;;
6357     mt)
6358       ALLOCATOR_H=config/allocator/mt_allocator_base.h
6359       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6360       ;;
6361     new)
6362       ALLOCATOR_H=config/allocator/new_allocator_base.h
6363       ALLOCATOR_NAME=__gnu_cxx::new_allocator
6364       ;;
6365     pool)
6366       ALLOCATOR_H=config/allocator/pool_allocator_base.h
6367       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6368       ;;
6369   esac
6370
6371
6372
6373
6374
6375    # Check whether --enable-cheaders or --disable-cheaders was given.
6376 if test "${enable_cheaders+set}" = set; then
6377   enableval="$enable_cheaders"
6378
6379       case "$enableval" in
6380        c|c_std) ;;
6381        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6382 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6383    { (exit 1); exit 1; }; } ;;
6384                           esac
6385
6386 else
6387   enable_cheaders=$c_model
6388 fi;
6389
6390   { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6391 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6392
6393   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6394
6395
6396
6397
6398
6399
6400
6401
6402    # Check whether --enable-c99 or --disable-c99 was given.
6403 if test "${enable_c99+set}" = set; then
6404   enableval="$enable_c99"
6405
6406       case "$enableval" in
6407        yes|no) ;;
6408        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6409 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6410    { (exit 1); exit 1; }; } ;;
6411       esac
6412
6413 else
6414   enable_c99=yes
6415 fi;
6416
6417
6418   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos
6419   # even if C99 support is turned off.
6420
6421 for ac_header in wchar.h
6422 do
6423 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6424 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6425   echo "$as_me:$LINENO: checking for $ac_header" >&5
6426 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6428   echo $ECHO_N "(cached) $ECHO_C" >&6
6429 fi
6430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6431 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6432 else
6433   # Is the header compilable?
6434 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6435 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6436 cat >conftest.$ac_ext <<_ACEOF
6437 /* confdefs.h.  */
6438 _ACEOF
6439 cat confdefs.h >>conftest.$ac_ext
6440 cat >>conftest.$ac_ext <<_ACEOF
6441 /* end confdefs.h.  */
6442 $ac_includes_default
6443 #include <$ac_header>
6444 _ACEOF
6445 rm -f conftest.$ac_objext
6446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6447   (eval $ac_compile) 2>conftest.er1
6448   ac_status=$?
6449   grep -v '^ *+' conftest.er1 >conftest.err
6450   rm -f conftest.er1
6451   cat conftest.err >&5
6452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6453   (exit $ac_status); } &&
6454          { ac_try='test -z "$ac_c_werror_flag"
6455                          || test ! -s conftest.err'
6456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6457   (eval $ac_try) 2>&5
6458   ac_status=$?
6459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6460   (exit $ac_status); }; } &&
6461          { ac_try='test -s conftest.$ac_objext'
6462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6463   (eval $ac_try) 2>&5
6464   ac_status=$?
6465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6466   (exit $ac_status); }; }; then
6467   ac_header_compiler=yes
6468 else
6469   echo "$as_me: failed program was:" >&5
6470 sed 's/^/| /' conftest.$ac_ext >&5
6471
6472 ac_header_compiler=no
6473 fi
6474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6475 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6476 echo "${ECHO_T}$ac_header_compiler" >&6
6477
6478 # Is the header present?
6479 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6480 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6481 cat >conftest.$ac_ext <<_ACEOF
6482 /* confdefs.h.  */
6483 _ACEOF
6484 cat confdefs.h >>conftest.$ac_ext
6485 cat >>conftest.$ac_ext <<_ACEOF
6486 /* end confdefs.h.  */
6487 #include <$ac_header>
6488 _ACEOF
6489 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6490   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6491   ac_status=$?
6492   grep -v '^ *+' conftest.er1 >conftest.err
6493   rm -f conftest.er1
6494   cat conftest.err >&5
6495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6496   (exit $ac_status); } >/dev/null; then
6497   if test -s conftest.err; then
6498     ac_cpp_err=$ac_c_preproc_warn_flag
6499     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6500   else
6501     ac_cpp_err=
6502   fi
6503 else
6504   ac_cpp_err=yes
6505 fi
6506 if test -z "$ac_cpp_err"; then
6507   ac_header_preproc=yes
6508 else
6509   echo "$as_me: failed program was:" >&5
6510 sed 's/^/| /' conftest.$ac_ext >&5
6511
6512   ac_header_preproc=no
6513 fi
6514 rm -f conftest.err conftest.$ac_ext
6515 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6516 echo "${ECHO_T}$ac_header_preproc" >&6
6517
6518 # So?  What about this header?
6519 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6520   yes:no: )
6521     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6522 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6523     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6524 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6525     ac_header_preproc=yes
6526     ;;
6527   no:yes:* )
6528     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6529 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6530     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6531 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6532     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6533 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6534     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6535 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6536     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6537 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6538     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6539 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6540     (
6541       cat <<\_ASBOX
6542 ## ----------------------------------------- ##
6543 ## Report this to the package-unused lists.  ##
6544 ## ----------------------------------------- ##
6545 _ASBOX
6546     ) |
6547       sed "s/^/$as_me: WARNING:     /" >&2
6548     ;;
6549 esac
6550 echo "$as_me:$LINENO: checking for $ac_header" >&5
6551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6552 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6553   echo $ECHO_N "(cached) $ECHO_C" >&6
6554 else
6555   eval "$as_ac_Header=\$ac_header_preproc"
6556 fi
6557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6558 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6559
6560 fi
6561 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6562   cat >>confdefs.h <<_ACEOF
6563 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6564 _ACEOF
6565  ac_has_wchar_h=yes
6566 else
6567   ac_has_wchar_h=no
6568 fi
6569
6570 done
6571
6572   echo "$as_me:$LINENO: checking for mbstate_t" >&5
6573 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
6574   cat >conftest.$ac_ext <<_ACEOF
6575 /* confdefs.h.  */
6576 _ACEOF
6577 cat confdefs.h >>conftest.$ac_ext
6578 cat >>conftest.$ac_ext <<_ACEOF
6579 /* end confdefs.h.  */
6580 #include <wchar.h>
6581 int
6582 main ()
6583 {
6584 mbstate_t teststate;
6585   ;
6586   return 0;
6587 }
6588 _ACEOF
6589 rm -f conftest.$ac_objext
6590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6591   (eval $ac_compile) 2>conftest.er1
6592   ac_status=$?
6593   grep -v '^ *+' conftest.er1 >conftest.err
6594   rm -f conftest.er1
6595   cat conftest.err >&5
6596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6597   (exit $ac_status); } &&
6598          { ac_try='test -z "$ac_c_werror_flag"
6599                          || test ! -s conftest.err'
6600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6601   (eval $ac_try) 2>&5
6602   ac_status=$?
6603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6604   (exit $ac_status); }; } &&
6605          { ac_try='test -s conftest.$ac_objext'
6606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6607   (eval $ac_try) 2>&5
6608   ac_status=$?
6609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6610   (exit $ac_status); }; }; then
6611   have_mbstate_t=yes
6612 else
6613   echo "$as_me: failed program was:" >&5
6614 sed 's/^/| /' conftest.$ac_ext >&5
6615
6616 have_mbstate_t=no
6617 fi
6618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6619   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
6620 echo "${ECHO_T}$have_mbstate_t" >&6
6621   if test x"$have_mbstate_t" = xyes; then
6622
6623 cat >>confdefs.h <<\_ACEOF
6624 #define HAVE_MBSTATE_T 1
6625 _ACEOF
6626
6627   fi
6628
6629   if test x"$enable_c99" = x"yes"; then
6630
6631
6632
6633   ac_ext=cc
6634 ac_cpp='$CXXCPP $CPPFLAGS'
6635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6638
6639
6640   # Check for the existence of <math.h> functions used if C99 is enabled.
6641   echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6642 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6643   if test "${ac_c99_math+set}" = set; then
6644   echo $ECHO_N "(cached) $ECHO_C" >&6
6645 else
6646
6647   cat >conftest.$ac_ext <<_ACEOF
6648 /* confdefs.h.  */
6649 _ACEOF
6650 cat confdefs.h >>conftest.$ac_ext
6651 cat >>conftest.$ac_ext <<_ACEOF
6652 /* end confdefs.h.  */
6653 #include <math.h>
6654 int
6655 main ()
6656 {
6657 fpclassify(0.0);
6658                   isfinite(0.0);
6659                   isinf(0.0);
6660                   isnan(0.0);
6661                   isnormal(0.0);
6662                   signbit(0.0);
6663                   isgreater(0.0,0.0);
6664                   isgreaterequal(0.0,0.0);
6665                   isless(0.0,0.0);
6666                   islessequal(0.0,0.0);
6667                   islessgreater(0.0,0.0);
6668                   islessgreater(0.0,0.0);
6669                   isunordered(0.0,0.0);
6670
6671   ;
6672   return 0;
6673 }
6674 _ACEOF
6675 rm -f conftest.$ac_objext
6676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6677   (eval $ac_compile) 2>conftest.er1
6678   ac_status=$?
6679   grep -v '^ *+' conftest.er1 >conftest.err
6680   rm -f conftest.er1
6681   cat conftest.err >&5
6682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6683   (exit $ac_status); } &&
6684          { ac_try='test -z "$ac_cxx_werror_flag"
6685                          || test ! -s conftest.err'
6686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6687   (eval $ac_try) 2>&5
6688   ac_status=$?
6689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6690   (exit $ac_status); }; } &&
6691          { ac_try='test -s conftest.$ac_objext'
6692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6693   (eval $ac_try) 2>&5
6694   ac_status=$?
6695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696   (exit $ac_status); }; }; then
6697   ac_c99_math=yes
6698 else
6699   echo "$as_me: failed program was:" >&5
6700 sed 's/^/| /' conftest.$ac_ext >&5
6701
6702 ac_c99_math=no
6703 fi
6704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6705
6706 fi
6707
6708   echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6709 echo "${ECHO_T}$ac_c99_math" >&6
6710   if test x"$ac_c99_math" = x"yes"; then
6711
6712 cat >>confdefs.h <<\_ACEOF
6713 #define _GLIBCXX_USE_C99_MATH 1
6714 _ACEOF
6715
6716   fi
6717
6718   # Check for the existence of <complex.h> complex functions.
6719   # This is necessary even though libstdc++ uses the builtin versions
6720   # of these functions, because if the builtin cannot be used, a reference
6721   # to the library function is emitted.
6722   # In addition, need to explicitly specify "C" compilation for this
6723   # one, or else the backwards C++ <complex.h> include will be selected.
6724   save_CXXFLAGS="$CXXFLAGS"
6725   CXXFLAGS="$CXXFLAGS -x c"
6726
6727 for ac_header in complex.h
6728 do
6729 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6731   echo "$as_me:$LINENO: checking for $ac_header" >&5
6732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6734   echo $ECHO_N "(cached) $ECHO_C" >&6
6735 fi
6736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6737 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6738 else
6739   # Is the header compilable?
6740 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6741 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6742 cat >conftest.$ac_ext <<_ACEOF
6743 /* confdefs.h.  */
6744 _ACEOF
6745 cat confdefs.h >>conftest.$ac_ext
6746 cat >>conftest.$ac_ext <<_ACEOF
6747 /* end confdefs.h.  */
6748 $ac_includes_default
6749 #include <$ac_header>
6750 _ACEOF
6751 rm -f conftest.$ac_objext
6752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6753   (eval $ac_compile) 2>conftest.er1
6754   ac_status=$?
6755   grep -v '^ *+' conftest.er1 >conftest.err
6756   rm -f conftest.er1
6757   cat conftest.err >&5
6758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6759   (exit $ac_status); } &&
6760          { ac_try='test -z "$ac_cxx_werror_flag"
6761                          || test ! -s conftest.err'
6762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6763   (eval $ac_try) 2>&5
6764   ac_status=$?
6765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6766   (exit $ac_status); }; } &&
6767          { ac_try='test -s conftest.$ac_objext'
6768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6769   (eval $ac_try) 2>&5
6770   ac_status=$?
6771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772   (exit $ac_status); }; }; then
6773   ac_header_compiler=yes
6774 else
6775   echo "$as_me: failed program was:" >&5
6776 sed 's/^/| /' conftest.$ac_ext >&5
6777
6778 ac_header_compiler=no
6779 fi
6780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6781 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6782 echo "${ECHO_T}$ac_header_compiler" >&6
6783
6784 # Is the header present?
6785 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6786 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6787 cat >conftest.$ac_ext <<_ACEOF
6788 /* confdefs.h.  */
6789 _ACEOF
6790 cat confdefs.h >>conftest.$ac_ext
6791 cat >>conftest.$ac_ext <<_ACEOF
6792 /* end confdefs.h.  */
6793 #include <$ac_header>
6794 _ACEOF
6795 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6796   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6797   ac_status=$?
6798   grep -v '^ *+' conftest.er1 >conftest.err
6799   rm -f conftest.er1
6800   cat conftest.err >&5
6801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6802   (exit $ac_status); } >/dev/null; then
6803   if test -s conftest.err; then
6804     ac_cpp_err=$ac_cxx_preproc_warn_flag
6805     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6806   else
6807     ac_cpp_err=
6808   fi
6809 else
6810   ac_cpp_err=yes
6811 fi
6812 if test -z "$ac_cpp_err"; then
6813   ac_header_preproc=yes
6814 else
6815   echo "$as_me: failed program was:" >&5
6816 sed 's/^/| /' conftest.$ac_ext >&5
6817
6818   ac_header_preproc=no
6819 fi
6820 rm -f conftest.err conftest.$ac_ext
6821 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6822 echo "${ECHO_T}$ac_header_preproc" >&6
6823
6824 # So?  What about this header?
6825 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6826   yes:no: )
6827     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6828 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6829     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6830 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6831     ac_header_preproc=yes
6832     ;;
6833   no:yes:* )
6834     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6835 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6836     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6837 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6838     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6839 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6840     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6841 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6842     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6843 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6844     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6845 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6846     (
6847       cat <<\_ASBOX
6848 ## ----------------------------------------- ##
6849 ## Report this to the package-unused lists.  ##
6850 ## ----------------------------------------- ##
6851 _ASBOX
6852     ) |
6853       sed "s/^/$as_me: WARNING:     /" >&2
6854     ;;
6855 esac
6856 echo "$as_me:$LINENO: checking for $ac_header" >&5
6857 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6858 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6859   echo $ECHO_N "(cached) $ECHO_C" >&6
6860 else
6861   eval "$as_ac_Header=\$ac_header_preproc"
6862 fi
6863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6864 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6865
6866 fi
6867 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6868   cat >>confdefs.h <<_ACEOF
6869 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6870 _ACEOF
6871  ac_has_complex_h=yes
6872 else
6873   ac_has_complex_h=no
6874 fi
6875
6876 done
6877
6878   ac_c99_complex=no;
6879   if test x"$ac_has_complex_h" = x"yes"; then
6880     echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
6881 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
6882     cat >conftest.$ac_ext <<_ACEOF
6883 /* confdefs.h.  */
6884 _ACEOF
6885 cat confdefs.h >>conftest.$ac_ext
6886 cat >>conftest.$ac_ext <<_ACEOF
6887 /* end confdefs.h.  */
6888 #include <complex.h>
6889 int
6890 main ()
6891 {
6892 typedef __complex__ float float_type; float_type tmpf;
6893                     cabsf(tmpf);
6894                     cargf(tmpf);
6895                     ccosf(tmpf);
6896                     ccoshf(tmpf);
6897                     cexpf(tmpf);
6898                     clogf(tmpf);
6899                     csinf(tmpf);
6900                     csinhf(tmpf);
6901                     csqrtf(tmpf);
6902                     ctanf(tmpf);
6903                     ctanhf(tmpf);
6904                     cpowf(tmpf, tmpf);
6905                     typedef __complex__ double double_type; double_type tmpd;
6906                     cabs(tmpd);
6907                     carg(tmpd);
6908                     ccos(tmpd);
6909                     ccosh(tmpd);
6910                     cexp(tmpd);
6911                     clog(tmpd);
6912                     csin(tmpd);
6913                     csinh(tmpd);
6914                     csqrt(tmpd);
6915                     ctan(tmpd);
6916                     ctanh(tmpd);
6917                     cpow(tmpd, tmpd);
6918                     typedef __complex__ long double ld_type; ld_type tmpld;
6919                     cabsl(tmpld);
6920                     cargl(tmpld);
6921                     ccosl(tmpld);
6922                     ccoshl(tmpld);
6923                     cexpl(tmpld);
6924                     clogl(tmpld);
6925                     csinl(tmpld);
6926                     csinhl(tmpld);
6927                     csqrtl(tmpld);
6928                     ctanl(tmpld);
6929                     ctanhl(tmpld);
6930                     cpowl(tmpld, tmpld);
6931
6932   ;
6933   return 0;
6934 }
6935 _ACEOF
6936 rm -f conftest.$ac_objext
6937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6938   (eval $ac_compile) 2>conftest.er1
6939   ac_status=$?
6940   grep -v '^ *+' conftest.er1 >conftest.err
6941   rm -f conftest.er1
6942   cat conftest.err >&5
6943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6944   (exit $ac_status); } &&
6945          { ac_try='test -z "$ac_cxx_werror_flag"
6946                          || test ! -s conftest.err'
6947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6948   (eval $ac_try) 2>&5
6949   ac_status=$?
6950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6951   (exit $ac_status); }; } &&
6952          { ac_try='test -s conftest.$ac_objext'
6953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6954   (eval $ac_try) 2>&5
6955   ac_status=$?
6956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6957   (exit $ac_status); }; }; then
6958   ac_c99_complex=yes
6959 else
6960   echo "$as_me: failed program was:" >&5
6961 sed 's/^/| /' conftest.$ac_ext >&5
6962
6963 ac_c99_complex=no
6964 fi
6965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6966   fi
6967   CXXFLAGS="$save_CXXFLAGS"
6968   echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
6969 echo "${ECHO_T}$ac_c99_complex" >&6
6970   if test x"$ac_c99_complex" = x"yes"; then
6971
6972 cat >>confdefs.h <<\_ACEOF
6973 #define _GLIBCXX_USE_C99_COMPLEX 1
6974 _ACEOF
6975
6976   fi
6977
6978   # Check for the existence in <stdio.h> of vscanf, et. al.
6979   echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6980 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6981   if test "${ac_c99_stdio+set}" = set; then
6982   echo $ECHO_N "(cached) $ECHO_C" >&6
6983 else
6984
6985   cat >conftest.$ac_ext <<_ACEOF
6986 /* confdefs.h.  */
6987 _ACEOF
6988 cat confdefs.h >>conftest.$ac_ext
6989 cat >>conftest.$ac_ext <<_ACEOF
6990 /* end confdefs.h.  */
6991 #include <stdio.h>
6992                   #include <stdarg.h>
6993                   void foo(char* fmt, ...)
6994                   {
6995                     va_list args; va_start(args, fmt);
6996                     vfscanf(stderr, "%i", args);
6997                     vscanf("%i", args);
6998                     vsnprintf(fmt, 0, "%i", args);
6999                     vsscanf(fmt, "%i", args);
7000                   }
7001 int
7002 main ()
7003 {
7004 snprintf("12", 0, "%i");
7005   ;
7006   return 0;
7007 }
7008 _ACEOF
7009 rm -f conftest.$ac_objext
7010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7011   (eval $ac_compile) 2>conftest.er1
7012   ac_status=$?
7013   grep -v '^ *+' conftest.er1 >conftest.err
7014   rm -f conftest.er1
7015   cat conftest.err >&5
7016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7017   (exit $ac_status); } &&
7018          { ac_try='test -z "$ac_cxx_werror_flag"
7019                          || test ! -s conftest.err'
7020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7021   (eval $ac_try) 2>&5
7022   ac_status=$?
7023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7024   (exit $ac_status); }; } &&
7025          { ac_try='test -s conftest.$ac_objext'
7026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7027   (eval $ac_try) 2>&5
7028   ac_status=$?
7029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7030   (exit $ac_status); }; }; then
7031   ac_c99_stdio=yes
7032 else
7033   echo "$as_me: failed program was:" >&5
7034 sed 's/^/| /' conftest.$ac_ext >&5
7035
7036 ac_c99_stdio=no
7037 fi
7038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7039
7040 fi
7041
7042   echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7043 echo "${ECHO_T}$ac_c99_stdio" >&6
7044
7045   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7046   echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7047 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7048   if test "${ac_c99_stdlib+set}" = set; then
7049   echo $ECHO_N "(cached) $ECHO_C" >&6
7050 else
7051
7052   cat >conftest.$ac_ext <<_ACEOF
7053 /* confdefs.h.  */
7054 _ACEOF
7055 cat confdefs.h >>conftest.$ac_ext
7056 cat >>conftest.$ac_ext <<_ACEOF
7057 /* end confdefs.h.  */
7058 #include <stdlib.h>
7059 int
7060 main ()
7061 {
7062 char* tmp;
7063                   strtof("gnu", &tmp);
7064                   strtold("gnu", &tmp);
7065                   strtoll("gnu", &tmp, 10);
7066                   strtoull("gnu", &tmp, 10);
7067                   llabs(10);
7068                   lldiv(10,1);
7069                   atoll("10");
7070                   _Exit(0);
7071                   lldiv_t mydivt;
7072   ;
7073   return 0;
7074 }
7075 _ACEOF
7076 rm -f conftest.$ac_objext
7077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7078   (eval $ac_compile) 2>conftest.er1
7079   ac_status=$?
7080   grep -v '^ *+' conftest.er1 >conftest.err
7081   rm -f conftest.er1
7082   cat conftest.err >&5
7083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7084   (exit $ac_status); } &&
7085          { ac_try='test -z "$ac_cxx_werror_flag"
7086                          || test ! -s conftest.err'
7087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7088   (eval $ac_try) 2>&5
7089   ac_status=$?
7090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7091   (exit $ac_status); }; } &&
7092          { ac_try='test -s conftest.$ac_objext'
7093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7094   (eval $ac_try) 2>&5
7095   ac_status=$?
7096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7097   (exit $ac_status); }; }; then
7098   ac_c99_stdlib=yes
7099 else
7100   echo "$as_me: failed program was:" >&5
7101 sed 's/^/| /' conftest.$ac_ext >&5
7102
7103 ac_c99_stdlib=no
7104 fi
7105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7106
7107 fi
7108
7109   echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7110 echo "${ECHO_T}$ac_c99_stdlib" >&6
7111
7112   # Check for the existence in <wchar.h> of wcstoull, WEOF, etc.
7113
7114 for ac_header in wctype.h
7115 do
7116 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7118   echo "$as_me:$LINENO: checking for $ac_header" >&5
7119 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7121   echo $ECHO_N "(cached) $ECHO_C" >&6
7122 fi
7123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7124 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7125 else
7126   # Is the header compilable?
7127 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7128 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7129 cat >conftest.$ac_ext <<_ACEOF
7130 /* confdefs.h.  */
7131 _ACEOF
7132 cat confdefs.h >>conftest.$ac_ext
7133 cat >>conftest.$ac_ext <<_ACEOF
7134 /* end confdefs.h.  */
7135 $ac_includes_default
7136 #include <$ac_header>
7137 _ACEOF
7138 rm -f conftest.$ac_objext
7139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7140   (eval $ac_compile) 2>conftest.er1
7141   ac_status=$?
7142   grep -v '^ *+' conftest.er1 >conftest.err
7143   rm -f conftest.er1
7144   cat conftest.err >&5
7145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7146   (exit $ac_status); } &&
7147          { ac_try='test -z "$ac_cxx_werror_flag"
7148                          || test ! -s conftest.err'
7149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7150   (eval $ac_try) 2>&5
7151   ac_status=$?
7152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7153   (exit $ac_status); }; } &&
7154          { ac_try='test -s conftest.$ac_objext'
7155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7156   (eval $ac_try) 2>&5
7157   ac_status=$?
7158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7159   (exit $ac_status); }; }; then
7160   ac_header_compiler=yes
7161 else
7162   echo "$as_me: failed program was:" >&5
7163 sed 's/^/| /' conftest.$ac_ext >&5
7164
7165 ac_header_compiler=no
7166 fi
7167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7168 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7169 echo "${ECHO_T}$ac_header_compiler" >&6
7170
7171 # Is the header present?
7172 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7173 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7174 cat >conftest.$ac_ext <<_ACEOF
7175 /* confdefs.h.  */
7176 _ACEOF
7177 cat confdefs.h >>conftest.$ac_ext
7178 cat >>conftest.$ac_ext <<_ACEOF
7179 /* end confdefs.h.  */
7180 #include <$ac_header>
7181 _ACEOF
7182 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7183   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7184   ac_status=$?
7185   grep -v '^ *+' conftest.er1 >conftest.err
7186   rm -f conftest.er1
7187   cat conftest.err >&5
7188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7189   (exit $ac_status); } >/dev/null; then
7190   if test -s conftest.err; then
7191     ac_cpp_err=$ac_cxx_preproc_warn_flag
7192     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7193   else
7194     ac_cpp_err=
7195   fi
7196 else
7197   ac_cpp_err=yes
7198 fi
7199 if test -z "$ac_cpp_err"; then
7200   ac_header_preproc=yes
7201 else
7202   echo "$as_me: failed program was:" >&5
7203 sed 's/^/| /' conftest.$ac_ext >&5
7204
7205   ac_header_preproc=no
7206 fi
7207 rm -f conftest.err conftest.$ac_ext
7208 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7209 echo "${ECHO_T}$ac_header_preproc" >&6
7210
7211 # So?  What about this header?
7212 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7213   yes:no: )
7214     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7215 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7216     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7217 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7218     ac_header_preproc=yes
7219     ;;
7220   no:yes:* )
7221     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7222 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7223     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7224 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7225     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7226 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7227     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7228 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7229     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7230 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7231     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7232 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7233     (
7234       cat <<\_ASBOX
7235 ## ----------------------------------------- ##
7236 ## Report this to the package-unused lists.  ##
7237 ## ----------------------------------------- ##
7238 _ASBOX
7239     ) |
7240       sed "s/^/$as_me: WARNING:     /" >&2
7241     ;;
7242 esac
7243 echo "$as_me:$LINENO: checking for $ac_header" >&5
7244 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7245 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7246   echo $ECHO_N "(cached) $ECHO_C" >&6
7247 else
7248   eval "$as_ac_Header=\$ac_header_preproc"
7249 fi
7250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7251 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7252
7253 fi
7254 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7255   cat >>confdefs.h <<_ACEOF
7256 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7257 _ACEOF
7258  ac_has_wctype_h=yes
7259 else
7260   ac_has_wctype_h=no
7261 fi
7262
7263 done
7264
7265   ac_c99_wchar=no;
7266   if test x"$ac_has_wchar_h" = xyes &&
7267      test x"$ac_has_wctype_h" = xyes; then
7268     cat >conftest.$ac_ext <<_ACEOF
7269 /* confdefs.h.  */
7270 _ACEOF
7271 cat confdefs.h >>conftest.$ac_ext
7272 cat >>conftest.$ac_ext <<_ACEOF
7273 /* end confdefs.h.  */
7274 #include <wchar.h>
7275                     #include <stddef.h>
7276                     wint_t i;
7277                     long l = WEOF;
7278                     long j = WCHAR_MIN;
7279                     long k = WCHAR_MAX;
7280                     namespace test
7281                     {
7282                       using ::btowc;
7283                       using ::fgetwc;
7284                       using ::fgetws;
7285                       using ::fputwc;
7286                       using ::fputws;
7287                       using ::fwide;
7288                       using ::fwprintf;
7289                       using ::fwscanf;
7290                       using ::getwc;
7291                       using ::getwchar;
7292                       using ::mbrlen;
7293                       using ::mbrtowc;
7294                       using ::mbsinit;
7295                       using ::mbsrtowcs;
7296                       using ::putwc;
7297                       using ::putwchar;
7298                       using ::swprintf;
7299                       using ::swscanf;
7300                       using ::ungetwc;
7301                       using ::vfwprintf;
7302                       using ::vswprintf;
7303                       using ::vwprintf;
7304                       using ::wcrtomb;
7305                       using ::wcscat;
7306                       using ::wcschr;
7307                       using ::wcscmp;
7308                       using ::wcscoll;
7309                       using ::wcscpy;
7310                       using ::wcscspn;
7311                       using ::wcsftime;
7312                       using ::wcslen;
7313                       using ::wcsncat;
7314                       using ::wcsncmp;
7315                       using ::wcsncpy;
7316                       using ::wcspbrk;
7317                       using ::wcsrchr;
7318                       using ::wcsrtombs;
7319                       using ::wcsspn;
7320                       using ::wcsstr;
7321                       using ::wcstod;
7322                       using ::wcstok;
7323                       using ::wcstol;
7324                       using ::wcstold;
7325                       using ::wcstoll;
7326                       using ::wcstoul;
7327                       using ::wcstoull;
7328                       using ::wcsxfrm;
7329                       using ::wctob;
7330                       using ::wmemchr;
7331                       using ::wmemcmp;
7332                       using ::wmemcpy;
7333                       using ::wmemmove;
7334                       using ::wmemset;
7335                       using ::wprintf;
7336                       using ::wscanf;
7337                     }
7338
7339 int
7340 main ()
7341 {
7342
7343   ;
7344   return 0;
7345 }
7346 _ACEOF
7347 rm -f conftest.$ac_objext
7348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7349   (eval $ac_compile) 2>conftest.er1
7350   ac_status=$?
7351   grep -v '^ *+' conftest.er1 >conftest.err
7352   rm -f conftest.er1
7353   cat conftest.err >&5
7354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7355   (exit $ac_status); } &&
7356          { ac_try='test -z "$ac_cxx_werror_flag"
7357                          || test ! -s conftest.err'
7358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7359   (eval $ac_try) 2>&5
7360   ac_status=$?
7361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7362   (exit $ac_status); }; } &&
7363          { ac_try='test -s conftest.$ac_objext'
7364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7365   (eval $ac_try) 2>&5
7366   ac_status=$?
7367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7368   (exit $ac_status); }; }; then
7369   ac_c99_wchar=yes
7370 else
7371   echo "$as_me: failed program was:" >&5
7372 sed 's/^/| /' conftest.$ac_ext >&5
7373
7374 ac_c99_wchar=no
7375 fi
7376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7377
7378     # Checks for wide character functions that may not be present.
7379     # Injection of these is wrapped with guard macros.
7380     # NB: only put functions here, instead of immediately above, if
7381     # absolutely necessary.
7382     cat >conftest.$ac_ext <<_ACEOF
7383 /* confdefs.h.  */
7384 _ACEOF
7385 cat confdefs.h >>conftest.$ac_ext
7386 cat >>conftest.$ac_ext <<_ACEOF
7387 /* end confdefs.h.  */
7388 #include <wchar.h>
7389                     namespace test { using ::vfwscanf; }
7390 int
7391 main ()
7392 {
7393
7394   ;
7395   return 0;
7396 }
7397 _ACEOF
7398 rm -f conftest.$ac_objext
7399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7400   (eval $ac_compile) 2>conftest.er1
7401   ac_status=$?
7402   grep -v '^ *+' conftest.er1 >conftest.err
7403   rm -f conftest.er1
7404   cat conftest.err >&5
7405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7406   (exit $ac_status); } &&
7407          { ac_try='test -z "$ac_cxx_werror_flag"
7408                          || test ! -s conftest.err'
7409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7410   (eval $ac_try) 2>&5
7411   ac_status=$?
7412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7413   (exit $ac_status); }; } &&
7414          { ac_try='test -s conftest.$ac_objext'
7415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7416   (eval $ac_try) 2>&5
7417   ac_status=$?
7418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7419   (exit $ac_status); }; }; then
7420
7421 cat >>confdefs.h <<\_ACEOF
7422 #define HAVE_VFWSCANF 1
7423 _ACEOF
7424
7425 else
7426   echo "$as_me: failed program was:" >&5
7427 sed 's/^/| /' conftest.$ac_ext >&5
7428
7429 fi
7430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7431
7432     cat >conftest.$ac_ext <<_ACEOF
7433 /* confdefs.h.  */
7434 _ACEOF
7435 cat confdefs.h >>conftest.$ac_ext
7436 cat >>conftest.$ac_ext <<_ACEOF
7437 /* end confdefs.h.  */
7438 #include <wchar.h>
7439                     namespace test { using ::vswscanf; }
7440 int
7441 main ()
7442 {
7443
7444   ;
7445   return 0;
7446 }
7447 _ACEOF
7448 rm -f conftest.$ac_objext
7449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7450   (eval $ac_compile) 2>conftest.er1
7451   ac_status=$?
7452   grep -v '^ *+' conftest.er1 >conftest.err
7453   rm -f conftest.er1
7454   cat conftest.err >&5
7455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7456   (exit $ac_status); } &&
7457          { ac_try='test -z "$ac_cxx_werror_flag"
7458                          || test ! -s conftest.err'
7459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7460   (eval $ac_try) 2>&5
7461   ac_status=$?
7462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7463   (exit $ac_status); }; } &&
7464          { ac_try='test -s conftest.$ac_objext'
7465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7466   (eval $ac_try) 2>&5
7467   ac_status=$?
7468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7469   (exit $ac_status); }; }; then
7470
7471 cat >>confdefs.h <<\_ACEOF
7472 #define HAVE_VSWSCANF 1
7473 _ACEOF
7474
7475 else
7476   echo "$as_me: failed program was:" >&5
7477 sed 's/^/| /' conftest.$ac_ext >&5
7478
7479 fi
7480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7481
7482     cat >conftest.$ac_ext <<_ACEOF
7483 /* confdefs.h.  */
7484 _ACEOF
7485 cat confdefs.h >>conftest.$ac_ext
7486 cat >>conftest.$ac_ext <<_ACEOF
7487 /* end confdefs.h.  */
7488 #include <wchar.h>
7489                     namespace test { using ::vwscanf; }
7490 int
7491 main ()
7492 {
7493
7494   ;
7495   return 0;
7496 }
7497 _ACEOF
7498 rm -f conftest.$ac_objext
7499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7500   (eval $ac_compile) 2>conftest.er1
7501   ac_status=$?
7502   grep -v '^ *+' conftest.er1 >conftest.err
7503   rm -f conftest.er1
7504   cat conftest.err >&5
7505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7506   (exit $ac_status); } &&
7507          { ac_try='test -z "$ac_cxx_werror_flag"
7508                          || test ! -s conftest.err'
7509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7510   (eval $ac_try) 2>&5
7511   ac_status=$?
7512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7513   (exit $ac_status); }; } &&
7514          { ac_try='test -s conftest.$ac_objext'
7515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7516   (eval $ac_try) 2>&5
7517   ac_status=$?
7518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7519   (exit $ac_status); }; }; then
7520
7521 cat >>confdefs.h <<\_ACEOF
7522 #define HAVE_VWSCANF 1
7523 _ACEOF
7524
7525 else
7526   echo "$as_me: failed program was:" >&5
7527 sed 's/^/| /' conftest.$ac_ext >&5
7528
7529 fi
7530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7531
7532     cat >conftest.$ac_ext <<_ACEOF
7533 /* confdefs.h.  */
7534 _ACEOF
7535 cat confdefs.h >>conftest.$ac_ext
7536 cat >>conftest.$ac_ext <<_ACEOF
7537 /* end confdefs.h.  */
7538 #include <wchar.h>
7539                     namespace test { using ::wcstof; }
7540 int
7541 main ()
7542 {
7543
7544   ;
7545   return 0;
7546 }
7547 _ACEOF
7548 rm -f conftest.$ac_objext
7549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7550   (eval $ac_compile) 2>conftest.er1
7551   ac_status=$?
7552   grep -v '^ *+' conftest.er1 >conftest.err
7553   rm -f conftest.er1
7554   cat conftest.err >&5
7555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7556   (exit $ac_status); } &&
7557          { ac_try='test -z "$ac_cxx_werror_flag"
7558                          || test ! -s conftest.err'
7559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7560   (eval $ac_try) 2>&5
7561   ac_status=$?
7562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7563   (exit $ac_status); }; } &&
7564          { ac_try='test -s conftest.$ac_objext'
7565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7566   (eval $ac_try) 2>&5
7567   ac_status=$?
7568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7569   (exit $ac_status); }; }; then
7570
7571 cat >>confdefs.h <<\_ACEOF
7572 #define HAVE_WCSTOF 1
7573 _ACEOF
7574
7575 else
7576   echo "$as_me: failed program was:" >&5
7577 sed 's/^/| /' conftest.$ac_ext >&5
7578
7579 fi
7580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7581
7582     cat >conftest.$ac_ext <<_ACEOF
7583 /* confdefs.h.  */
7584 _ACEOF
7585 cat confdefs.h >>conftest.$ac_ext
7586 cat >>conftest.$ac_ext <<_ACEOF
7587 /* end confdefs.h.  */
7588 #include <wctype.h>
7589 int
7590 main ()
7591 {
7592  wint_t t; int i = iswblank(t);
7593   ;
7594   return 0;
7595 }
7596 _ACEOF
7597 rm -f conftest.$ac_objext
7598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7599   (eval $ac_compile) 2>conftest.er1
7600   ac_status=$?
7601   grep -v '^ *+' conftest.er1 >conftest.err
7602   rm -f conftest.er1
7603   cat conftest.err >&5
7604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7605   (exit $ac_status); } &&
7606          { ac_try='test -z "$ac_cxx_werror_flag"
7607                          || test ! -s conftest.err'
7608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7609   (eval $ac_try) 2>&5
7610   ac_status=$?
7611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7612   (exit $ac_status); }; } &&
7613          { ac_try='test -s conftest.$ac_objext'
7614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7615   (eval $ac_try) 2>&5
7616   ac_status=$?
7617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7618   (exit $ac_status); }; }; then
7619
7620 cat >>confdefs.h <<\_ACEOF
7621 #define HAVE_ISWBLANK 1
7622 _ACEOF
7623
7624 else
7625   echo "$as_me: failed program was:" >&5
7626 sed 's/^/| /' conftest.$ac_ext >&5
7627
7628 fi
7629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7630
7631     echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
7632 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
7633     echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7634 echo "${ECHO_T}$ac_c99_wchar" >&6
7635   fi
7636
7637   # Option parsed, now set things appropriately.
7638   if test x"$ac_c99_math" = x"no" ||
7639      test x"$ac_c99_complex" = x"no" ||
7640      test x"$ac_c99_stdio" = x"no" ||
7641      test x"$ac_c99_stdlib" = x"no" ||
7642      test x"$ac_c99_wchar" = x"no"; then
7643     enable_c99=no;
7644   else
7645
7646 cat >>confdefs.h <<\_ACEOF
7647 #define _GLIBCXX_USE_C99 1
7648 _ACEOF
7649
7650   fi
7651
7652   ac_ext=c
7653 ac_cpp='$CPP $CPPFLAGS'
7654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7657
7658   fi
7659
7660   echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
7661 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
7662   echo "$as_me:$LINENO: result: $enable_c99" >&5
7663 echo "${ECHO_T}$enable_c99" >&6
7664
7665
7666    # Check whether --enable-long-long or --disable-long-long was given.
7667 if test "${enable_long_long+set}" = set; then
7668   enableval="$enable_long_long"
7669
7670       case "$enableval" in
7671        yes|no) ;;
7672        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7673 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7674    { (exit 1); exit 1; }; } ;;
7675       esac
7676
7677 else
7678   enable_long_long=yes
7679 fi;
7680
7681   if test $enable_long_long = yes; then
7682
7683 cat >>confdefs.h <<\_ACEOF
7684 #define _GLIBCXX_USE_LONG_LONG 1
7685 _ACEOF
7686
7687   fi
7688   echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
7689 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
7690   echo "$as_me:$LINENO: result: $enable_long_long" >&5
7691 echo "${ECHO_T}$enable_long_long" >&6
7692
7693
7694    # Check whether --enable-wchar_t or --disable-wchar_t was given.
7695 if test "${enable_wchar_t+set}" = set; then
7696   enableval="$enable_wchar_t"
7697
7698       case "$enableval" in
7699        yes|no) ;;
7700        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
7701 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
7702    { (exit 1); exit 1; }; } ;;
7703       esac
7704
7705 else
7706   enable_wchar_t=yes
7707 fi;
7708
7709   if test x"$ac_c99_wchar" = x"yes" && test x"$enable_wchar_t" = x"yes"; then
7710
7711 cat >>confdefs.h <<\_ACEOF
7712 #define _GLIBCXX_USE_WCHAR_T 1
7713 _ACEOF
7714
7715   fi
7716   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
7717 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
7718   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
7719 echo "${ECHO_T}$enable_wchar_t" >&6
7720
7721
7722    # Check whether --enable-concept-checks or --disable-concept-checks was given.
7723 if test "${enable_concept_checks+set}" = set; then
7724   enableval="$enable_concept_checks"
7725
7726       case "$enableval" in
7727        yes|no) ;;
7728        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7729 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7730    { (exit 1); exit 1; }; } ;;
7731       esac
7732
7733 else
7734   enable_concept_checks=no
7735 fi;
7736
7737   if test $enable_concept_checks = yes; then
7738
7739 cat >>confdefs.h <<\_ACEOF
7740 #define _GLIBCXX_CONCEPT_CHECKS 1
7741 _ACEOF
7742
7743   fi
7744
7745
7746    # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7747 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7748   enableval="$enable_libstdcxx_debug_flags"
7749   case "x$enable_libstdcxx_debug_flags" in
7750       xno | x)    enable_libstdcxx_debug_flags= ;;
7751       x-*)        ;;
7752       *)          { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7753 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7754    { (exit 1); exit 1; }; } ;;
7755      esac
7756 else
7757   enable_libstdcxx_debug_flags="-g3 -O0"
7758 fi;
7759
7760
7761   # Option parsed, now set things appropriately
7762   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7763
7764
7765   { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7766 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7767
7768
7769   echo "$as_me:$LINENO: checking for additional debug build" >&5
7770 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7771    # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7772 if test "${enable_libstdcxx_debug+set}" = set; then
7773   enableval="$enable_libstdcxx_debug"
7774
7775       case "$enableval" in
7776        yes|no) ;;
7777        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7778 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7779    { (exit 1); exit 1; }; } ;;
7780       esac
7781
7782 else
7783   enable_libstdcxx_debug=no
7784 fi;
7785
7786   echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7787 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7788
7789
7790   echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7791 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7792    # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7793 if test "${enable_cxx_flags+set}" = set; then
7794   enableval="$enable_cxx_flags"
7795   case "x$enable_cxx_flags" in
7796       xno | x)   enable_cxx_flags= ;;
7797       x-*)       ;;
7798       *)         { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7799 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7800    { (exit 1); exit 1; }; } ;;
7801      esac
7802 else
7803   enable_cxx_flags=
7804 fi;
7805
7806
7807   # Run through flags (either default or command-line) and set anything
7808   # extra (e.g., #defines) that must accompany particular g++ options.
7809   if test -n "$enable_cxx_flags"; then
7810     for f in $enable_cxx_flags; do
7811       case "$f" in
7812         -fhonor-std)  ;;
7813         -*)  ;;
7814         *)   # and we're trying to pass /what/ exactly?
7815              { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7816 echo "$as_me: error: compiler flags start with a -" >&2;}
7817    { (exit 1); exit 1; }; } ;;
7818       esac
7819     done
7820   fi
7821
7822   EXTRA_CXX_FLAGS="$enable_cxx_flags"
7823   echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7824 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7825
7826
7827
7828    # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
7829 if test "${enable_fully_dynamic_string+set}" = set; then
7830   enableval="$enable_fully_dynamic_string"
7831
7832       case "$enableval" in
7833        yes|no) ;;
7834        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
7835 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
7836    { (exit 1); exit 1; }; } ;;
7837       esac
7838
7839 else
7840   enable_fully_dynamic_string=no
7841 fi;
7842
7843   if test $enable_fully_dynamic_string = yes; then
7844
7845 cat >>confdefs.h <<\_ACEOF
7846 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
7847 _ACEOF
7848
7849   fi
7850
7851
7852 # No surprises, no surprises...
7853
7854   echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7855 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7856   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7857   echo "$as_me:$LINENO: result: $target_thread_file" >&5
7858 echo "${ECHO_T}$target_thread_file" >&6
7859
7860   if test $target_thread_file != single; then
7861
7862 cat >>confdefs.h <<\_ACEOF
7863 #define HAVE_GTHR_DEFAULT 1
7864 _ACEOF
7865
7866   fi
7867
7868   glibcxx_thread_h=gthr-$target_thread_file.h
7869
7870     gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
7871   if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
7872     enable_thread=yes
7873   else
7874    enable_thread=no
7875   fi
7876
7877
7878
7879 if test $atomicity_dir = cpu/generic ; then
7880   { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7881 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7882   if test $target_thread_file = single; then
7883     { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7884 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7885     { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7886 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7887   else
7888     { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7889 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7890     { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7891 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7892   fi
7893 fi
7894
7895
7896 if $GLIBCXX_IS_NATIVE; then
7897
7898   # We can do more elaborate tests that assume a working linker.
7899   CANADIAN=no
7900
7901   # Check for available headers.
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7918   machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7919   sys/types.h sys/ipc.h sys/sem.h
7920 do
7921 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7922 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7923   echo "$as_me:$LINENO: checking for $ac_header" >&5
7924 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7925 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7926   echo $ECHO_N "(cached) $ECHO_C" >&6
7927 fi
7928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7929 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7930 else
7931   # Is the header compilable?
7932 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7933 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7934 cat >conftest.$ac_ext <<_ACEOF
7935 /* confdefs.h.  */
7936 _ACEOF
7937 cat confdefs.h >>conftest.$ac_ext
7938 cat >>conftest.$ac_ext <<_ACEOF
7939 /* end confdefs.h.  */
7940 $ac_includes_default
7941 #include <$ac_header>
7942 _ACEOF
7943 rm -f conftest.$ac_objext
7944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7945   (eval $ac_compile) 2>conftest.er1
7946   ac_status=$?
7947   grep -v '^ *+' conftest.er1 >conftest.err
7948   rm -f conftest.er1
7949   cat conftest.err >&5
7950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7951   (exit $ac_status); } &&
7952          { ac_try='test -z "$ac_c_werror_flag"
7953                          || test ! -s conftest.err'
7954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7955   (eval $ac_try) 2>&5
7956   ac_status=$?
7957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7958   (exit $ac_status); }; } &&
7959          { ac_try='test -s conftest.$ac_objext'
7960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7961   (eval $ac_try) 2>&5
7962   ac_status=$?
7963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7964   (exit $ac_status); }; }; then
7965   ac_header_compiler=yes
7966 else
7967   echo "$as_me: failed program was:" >&5
7968 sed 's/^/| /' conftest.$ac_ext >&5
7969
7970 ac_header_compiler=no
7971 fi
7972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7973 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7974 echo "${ECHO_T}$ac_header_compiler" >&6
7975
7976 # Is the header present?
7977 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7978 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7979 cat >conftest.$ac_ext <<_ACEOF
7980 /* confdefs.h.  */
7981 _ACEOF
7982 cat confdefs.h >>conftest.$ac_ext
7983 cat >>conftest.$ac_ext <<_ACEOF
7984 /* end confdefs.h.  */
7985 #include <$ac_header>
7986 _ACEOF
7987 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7988   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7989   ac_status=$?
7990   grep -v '^ *+' conftest.er1 >conftest.err
7991   rm -f conftest.er1
7992   cat conftest.err >&5
7993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7994   (exit $ac_status); } >/dev/null; then
7995   if test -s conftest.err; then
7996     ac_cpp_err=$ac_c_preproc_warn_flag
7997     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7998   else
7999     ac_cpp_err=
8000   fi
8001 else
8002   ac_cpp_err=yes
8003 fi
8004 if test -z "$ac_cpp_err"; then
8005   ac_header_preproc=yes
8006 else
8007   echo "$as_me: failed program was:" >&5
8008 sed 's/^/| /' conftest.$ac_ext >&5
8009
8010   ac_header_preproc=no
8011 fi
8012 rm -f conftest.err conftest.$ac_ext
8013 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8014 echo "${ECHO_T}$ac_header_preproc" >&6
8015
8016 # So?  What about this header?
8017 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8018   yes:no: )
8019     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8020 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8021     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8022 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8023     ac_header_preproc=yes
8024     ;;
8025   no:yes:* )
8026     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8027 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8028     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
8029 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
8030     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8031 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8032     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
8033 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
8034     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8035 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8036     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8037 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8038     (
8039       cat <<\_ASBOX
8040 ## ----------------------------------------- ##
8041 ## Report this to the package-unused lists.  ##
8042 ## ----------------------------------------- ##
8043 _ASBOX
8044     ) |
8045       sed "s/^/$as_me: WARNING:     /" >&2
8046     ;;
8047 esac
8048 echo "$as_me:$LINENO: checking for $ac_header" >&5
8049 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8050 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8051   echo $ECHO_N "(cached) $ECHO_C" >&6
8052 else
8053   eval "$as_ac_Header=\$ac_header_preproc"
8054 fi
8055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8056 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8057
8058 fi
8059 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8060   cat >>confdefs.h <<_ACEOF
8061 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8062 _ACEOF
8063
8064 fi
8065
8066 done
8067
8068
8069
8070   # All these tests are for C++; save the language and the compiler flags.
8071   # The CXXFLAGS thing is suspicious, but based on similar bits previously
8072   # found in GLIBCXX_CONFIGURE.
8073
8074
8075   ac_ext=cc
8076 ac_cpp='$CXXCPP $CPPFLAGS'
8077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8080
8081   ac_test_CXXFLAGS="${CXXFLAGS+set}"
8082   ac_save_CXXFLAGS="$CXXFLAGS"
8083
8084   # Check for maintainer-mode bits.
8085   if test x"$USE_MAINTAINER_MODE" = xno; then
8086     WERROR=''
8087   else
8088     WERROR='-Werror'
8089   fi
8090
8091   # Check for -ffunction-sections -fdata-sections
8092   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8093 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8094   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8095   cat >conftest.$ac_ext <<_ACEOF
8096 /* confdefs.h.  */
8097 _ACEOF
8098 cat confdefs.h >>conftest.$ac_ext
8099 cat >>conftest.$ac_ext <<_ACEOF
8100 /* end confdefs.h.  */
8101
8102 int
8103 main ()
8104 {
8105 int foo;
8106   ;
8107   return 0;
8108 }
8109 _ACEOF
8110 rm -f conftest.$ac_objext
8111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8112   (eval $ac_compile) 2>conftest.er1
8113   ac_status=$?
8114   grep -v '^ *+' conftest.er1 >conftest.err
8115   rm -f conftest.er1
8116   cat conftest.err >&5
8117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8118   (exit $ac_status); } &&
8119          { ac_try='test -z "$ac_cxx_werror_flag"
8120                          || test ! -s conftest.err'
8121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8122   (eval $ac_try) 2>&5
8123   ac_status=$?
8124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8125   (exit $ac_status); }; } &&
8126          { ac_try='test -s conftest.$ac_objext'
8127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8128   (eval $ac_try) 2>&5
8129   ac_status=$?
8130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8131   (exit $ac_status); }; }; then
8132   ac_fdsections=yes
8133 else
8134   echo "$as_me: failed program was:" >&5
8135 sed 's/^/| /' conftest.$ac_ext >&5
8136
8137 ac_fdsections=no
8138 fi
8139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8140   if test "$ac_test_CXXFLAGS" = set; then
8141     CXXFLAGS="$ac_save_CXXFLAGS"
8142   else
8143     # this is the suspicious part
8144     CXXFLAGS=''
8145   fi
8146   if test x"$ac_fdsections" = x"yes"; then
8147     SECTION_FLAGS='-ffunction-sections -fdata-sections'
8148   fi
8149   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8150 echo "${ECHO_T}$ac_fdsections" >&6
8151
8152   ac_ext=c
8153 ac_cpp='$CPP $CPPFLAGS'
8154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8157
8158
8159
8160
8161
8162   # If we're not using GNU ld, then there's no point in even trying these
8163   # tests.  Check for that first.  We should have already tested for gld
8164   # by now (in libtool), but require it now just to be safe...
8165   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8166   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8167
8168
8169
8170   # The name set by libtool depends on the version of libtool.  Shame on us
8171   # for depending on an impl detail, but c'est la vie.  Older versions used
8172   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8173   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8174   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
8175   # set (hence we're using an older libtool), then set it.
8176   if test x${with_gnu_ld+set} != xset; then
8177     if test x${ac_cv_prog_gnu_ld+set} != xset; then
8178       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
8179       with_gnu_ld=no
8180     else
8181       with_gnu_ld=$ac_cv_prog_gnu_ld
8182     fi
8183   fi
8184
8185   # Start by getting the version number.  I think the libtool test already
8186   # does some of this, but throws away the result.
8187
8188   ldver=`$LD --version 2>/dev/null | head -1 | \
8189          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8190
8191   glibcxx_gnu_ld_version=`echo $ldver | \
8192          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8193
8194   # Set --gc-sections.
8195   if test "$with_gnu_ld" = "notbroken"; then
8196     # GNU ld it is!  Joy and bunny rabbits!
8197
8198     # All these tests are for C++; save the language and the compiler flags.
8199     # Need to do this so that g++ won't try to link in libstdc++
8200     ac_test_CFLAGS="${CFLAGS+set}"
8201     ac_save_CFLAGS="$CFLAGS"
8202     CFLAGS='-x c++  -Wl,--gc-sections'
8203
8204     # Check for -Wl,--gc-sections
8205     # XXX This test is broken at the moment, as symbols required for linking
8206     # are now in libsupc++ (not built yet).  In addition, this test has
8207     # cored on solaris in the past.  In addition, --gc-sections doesn't
8208     # really work at the moment (keeps on discarding used sections, first
8209     # .eh_frame and now some of the glibc sections for iconv).
8210     # Bzzzzt.  Thanks for playing, maybe next time.
8211     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8212 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8213     if test "$cross_compiling" = yes; then
8214   ac_sectionLDflags=yes
8215 else
8216   cat >conftest.$ac_ext <<_ACEOF
8217 /* confdefs.h.  */
8218 _ACEOF
8219 cat confdefs.h >>conftest.$ac_ext
8220 cat >>conftest.$ac_ext <<_ACEOF
8221 /* end confdefs.h.  */
8222
8223      int main(void)
8224      {
8225        try { throw 1; }
8226        catch (...) { };
8227        return 0;
8228      }
8229
8230 _ACEOF
8231 rm -f conftest$ac_exeext
8232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8233   (eval $ac_link) 2>&5
8234   ac_status=$?
8235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8236   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8238   (eval $ac_try) 2>&5
8239   ac_status=$?
8240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8241   (exit $ac_status); }; }; then
8242   ac_sectionLDflags=yes
8243 else
8244   echo "$as_me: program exited with status $ac_status" >&5
8245 echo "$as_me: failed program was:" >&5
8246 sed 's/^/| /' conftest.$ac_ext >&5
8247
8248 ( exit $ac_status )
8249 ac_sectionLDflags=no
8250 fi
8251 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8252 fi
8253     if test "$ac_test_CFLAGS" = set; then
8254       CFLAGS="$ac_save_CFLAGS"
8255     else
8256       # this is the suspicious part
8257       CFLAGS=''
8258     fi
8259     if test "$ac_sectionLDflags" = "yes"; then
8260       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8261     fi
8262     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
8263 echo "${ECHO_T}$ac_sectionLDflags" >&6
8264   fi
8265
8266   # Set linker optimization flags.
8267   if test x"$with_gnu_ld" = x"yes"; then
8268     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8269   fi
8270
8271
8272
8273
8274
8275   ac_test_CXXFLAGS="${CXXFLAGS+set}"
8276   ac_save_CXXFLAGS="$CXXFLAGS"
8277   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8278
8279     echo "$as_me:$LINENO: checking for sin in -lm" >&5
8280 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8281 if test "${ac_cv_lib_m_sin+set}" = set; then
8282   echo $ECHO_N "(cached) $ECHO_C" >&6
8283 else
8284   ac_check_lib_save_LIBS=$LIBS
8285 LIBS="-lm  $LIBS"
8286 if test x$gcc_no_link = xyes; then
8287   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8289    { (exit 1); exit 1; }; }
8290 fi
8291 cat >conftest.$ac_ext <<_ACEOF
8292 /* confdefs.h.  */
8293 _ACEOF
8294 cat confdefs.h >>conftest.$ac_ext
8295 cat >>conftest.$ac_ext <<_ACEOF
8296 /* end confdefs.h.  */
8297
8298 /* Override any gcc2 internal prototype to avoid an error.  */
8299 #ifdef __cplusplus
8300 extern "C"
8301 #endif
8302 /* We use char because int might match the return type of a gcc2
8303    builtin and then its argument prototype would still apply.  */
8304 char sin ();
8305 int
8306 main ()
8307 {
8308 sin ();
8309   ;
8310   return 0;
8311 }
8312 _ACEOF
8313 rm -f conftest.$ac_objext conftest$ac_exeext
8314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8315   (eval $ac_link) 2>conftest.er1
8316   ac_status=$?
8317   grep -v '^ *+' conftest.er1 >conftest.err
8318   rm -f conftest.er1
8319   cat conftest.err >&5
8320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8321   (exit $ac_status); } &&
8322          { ac_try='test -z "$ac_c_werror_flag"
8323                          || test ! -s conftest.err'
8324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8325   (eval $ac_try) 2>&5
8326   ac_status=$?
8327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8328   (exit $ac_status); }; } &&
8329          { ac_try='test -s conftest$ac_exeext'
8330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8331   (eval $ac_try) 2>&5
8332   ac_status=$?
8333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8334   (exit $ac_status); }; }; then
8335   ac_cv_lib_m_sin=yes
8336 else
8337   echo "$as_me: failed program was:" >&5
8338 sed 's/^/| /' conftest.$ac_ext >&5
8339
8340 ac_cv_lib_m_sin=no
8341 fi
8342 rm -f conftest.err conftest.$ac_objext \
8343       conftest$ac_exeext conftest.$ac_ext
8344 LIBS=$ac_check_lib_save_LIBS
8345 fi
8346 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8347 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8348 if test $ac_cv_lib_m_sin = yes; then
8349   libm="-lm"
8350 fi
8351
8352   ac_save_LIBS="$LIBS"
8353   LIBS="$LIBS $libm"
8354
8355
8356
8357   echo "$as_me:$LINENO: checking for isinf declaration" >&5
8358 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8359   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8360     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8361   echo $ECHO_N "(cached) $ECHO_C" >&6
8362 else
8363
8364
8365
8366       ac_ext=cc
8367 ac_cpp='$CXXCPP $CPPFLAGS'
8368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8371
8372       cat >conftest.$ac_ext <<_ACEOF
8373 /* confdefs.h.  */
8374 _ACEOF
8375 cat confdefs.h >>conftest.$ac_ext
8376 cat >>conftest.$ac_ext <<_ACEOF
8377 /* end confdefs.h.  */
8378 #include <math.h>
8379                       #ifdef HAVE_IEEEFP_H
8380                       #include <ieeefp.h>
8381                       #endif
8382
8383 int
8384 main ()
8385 {
8386  isinf(0);
8387   ;
8388   return 0;
8389 }
8390 _ACEOF
8391 rm -f conftest.$ac_objext
8392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8393   (eval $ac_compile) 2>conftest.er1
8394   ac_status=$?
8395   grep -v '^ *+' conftest.er1 >conftest.err
8396   rm -f conftest.er1
8397   cat conftest.err >&5
8398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8399   (exit $ac_status); } &&
8400          { ac_try='test -z "$ac_cxx_werror_flag"
8401                          || test ! -s conftest.err'
8402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8403   (eval $ac_try) 2>&5
8404   ac_status=$?
8405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8406   (exit $ac_status); }; } &&
8407          { ac_try='test -s conftest.$ac_objext'
8408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8409   (eval $ac_try) 2>&5
8410   ac_status=$?
8411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8412   (exit $ac_status); }; }; then
8413   glibcxx_cv_func_isinf_use=yes
8414 else
8415   echo "$as_me: failed program was:" >&5
8416 sed 's/^/| /' conftest.$ac_ext >&5
8417
8418 glibcxx_cv_func_isinf_use=no
8419 fi
8420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8421       ac_ext=c
8422 ac_cpp='$CPP $CPPFLAGS'
8423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8426
8427
8428 fi
8429
8430   fi
8431   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8432 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8433
8434   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8435
8436 for ac_func in isinf
8437 do
8438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8439 echo "$as_me:$LINENO: checking for $ac_func" >&5
8440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8441 if eval "test \"\${$as_ac_var+set}\" = set"; then
8442   echo $ECHO_N "(cached) $ECHO_C" >&6
8443 else
8444   if test x$gcc_no_link = xyes; then
8445   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8447    { (exit 1); exit 1; }; }
8448 fi
8449 cat >conftest.$ac_ext <<_ACEOF
8450 /* confdefs.h.  */
8451 _ACEOF
8452 cat confdefs.h >>conftest.$ac_ext
8453 cat >>conftest.$ac_ext <<_ACEOF
8454 /* end confdefs.h.  */
8455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8456    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8457 #define $ac_func innocuous_$ac_func
8458
8459 /* System header to define __stub macros and hopefully few prototypes,
8460     which can conflict with char $ac_func (); below.
8461     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8462     <limits.h> exists even on freestanding compilers.  */
8463
8464 #ifdef __STDC__
8465 # include <limits.h>
8466 #else
8467 # include <assert.h>
8468 #endif
8469
8470 #undef $ac_func
8471
8472 /* Override any gcc2 internal prototype to avoid an error.  */
8473 #ifdef __cplusplus
8474 extern "C"
8475 {
8476 #endif
8477 /* We use char because int might match the return type of a gcc2
8478    builtin and then its argument prototype would still apply.  */
8479 char $ac_func ();
8480 /* The GNU C library defines this for functions which it implements
8481     to always fail with ENOSYS.  Some functions are actually named
8482     something starting with __ and the normal name is an alias.  */
8483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8484 choke me
8485 #else
8486 char (*f) () = $ac_func;
8487 #endif
8488 #ifdef __cplusplus
8489 }
8490 #endif
8491
8492 int
8493 main ()
8494 {
8495 return f != $ac_func;
8496   ;
8497   return 0;
8498 }
8499 _ACEOF
8500 rm -f conftest.$ac_objext conftest$ac_exeext
8501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8502   (eval $ac_link) 2>conftest.er1
8503   ac_status=$?
8504   grep -v '^ *+' conftest.er1 >conftest.err
8505   rm -f conftest.er1
8506   cat conftest.err >&5
8507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8508   (exit $ac_status); } &&
8509          { ac_try='test -z "$ac_c_werror_flag"
8510                          || test ! -s conftest.err'
8511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8512   (eval $ac_try) 2>&5
8513   ac_status=$?
8514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8515   (exit $ac_status); }; } &&
8516          { ac_try='test -s conftest$ac_exeext'
8517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8518   (eval $ac_try) 2>&5
8519   ac_status=$?
8520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8521   (exit $ac_status); }; }; then
8522   eval "$as_ac_var=yes"
8523 else
8524   echo "$as_me: failed program was:" >&5
8525 sed 's/^/| /' conftest.$ac_ext >&5
8526
8527 eval "$as_ac_var=no"
8528 fi
8529 rm -f conftest.err conftest.$ac_objext \
8530       conftest$ac_exeext conftest.$ac_ext
8531 fi
8532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8534 if test `eval echo '${'$as_ac_var'}'` = yes; then
8535   cat >>confdefs.h <<_ACEOF
8536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8537 _ACEOF
8538
8539 fi
8540 done
8541
8542   else
8543
8544   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8545 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8546   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8547     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8548   echo $ECHO_N "(cached) $ECHO_C" >&6
8549 else
8550
8551
8552
8553       ac_ext=cc
8554 ac_cpp='$CXXCPP $CPPFLAGS'
8555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8558
8559       cat >conftest.$ac_ext <<_ACEOF
8560 /* confdefs.h.  */
8561 _ACEOF
8562 cat confdefs.h >>conftest.$ac_ext
8563 cat >>conftest.$ac_ext <<_ACEOF
8564 /* end confdefs.h.  */
8565 #include <math.h>
8566                       #ifdef HAVE_IEEEFP_H
8567                       #include <ieeefp.h>
8568                       #endif
8569
8570 int
8571 main ()
8572 {
8573  _isinf(0);
8574   ;
8575   return 0;
8576 }
8577 _ACEOF
8578 rm -f conftest.$ac_objext
8579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8580   (eval $ac_compile) 2>conftest.er1
8581   ac_status=$?
8582   grep -v '^ *+' conftest.er1 >conftest.err
8583   rm -f conftest.er1
8584   cat conftest.err >&5
8585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8586   (exit $ac_status); } &&
8587          { ac_try='test -z "$ac_cxx_werror_flag"
8588                          || test ! -s conftest.err'
8589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8590   (eval $ac_try) 2>&5
8591   ac_status=$?
8592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8593   (exit $ac_status); }; } &&
8594          { ac_try='test -s conftest.$ac_objext'
8595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8596   (eval $ac_try) 2>&5
8597   ac_status=$?
8598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8599   (exit $ac_status); }; }; then
8600   glibcxx_cv_func__isinf_use=yes
8601 else
8602   echo "$as_me: failed program was:" >&5
8603 sed 's/^/| /' conftest.$ac_ext >&5
8604
8605 glibcxx_cv_func__isinf_use=no
8606 fi
8607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8608       ac_ext=c
8609 ac_cpp='$CPP $CPPFLAGS'
8610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8613
8614
8615 fi
8616
8617   fi
8618   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8619 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8620
8621     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8622
8623 for ac_func in _isinf
8624 do
8625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8626 echo "$as_me:$LINENO: checking for $ac_func" >&5
8627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8628 if eval "test \"\${$as_ac_var+set}\" = set"; then
8629   echo $ECHO_N "(cached) $ECHO_C" >&6
8630 else
8631   if test x$gcc_no_link = xyes; then
8632   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8634    { (exit 1); exit 1; }; }
8635 fi
8636 cat >conftest.$ac_ext <<_ACEOF
8637 /* confdefs.h.  */
8638 _ACEOF
8639 cat confdefs.h >>conftest.$ac_ext
8640 cat >>conftest.$ac_ext <<_ACEOF
8641 /* end confdefs.h.  */
8642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8643    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8644 #define $ac_func innocuous_$ac_func
8645
8646 /* System header to define __stub macros and hopefully few prototypes,
8647     which can conflict with char $ac_func (); below.
8648     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8649     <limits.h> exists even on freestanding compilers.  */
8650
8651 #ifdef __STDC__
8652 # include <limits.h>
8653 #else
8654 # include <assert.h>
8655 #endif
8656
8657 #undef $ac_func
8658
8659 /* Override any gcc2 internal prototype to avoid an error.  */
8660 #ifdef __cplusplus
8661 extern "C"
8662 {
8663 #endif
8664 /* We use char because int might match the return type of a gcc2
8665    builtin and then its argument prototype would still apply.  */
8666 char $ac_func ();
8667 /* The GNU C library defines this for functions which it implements
8668     to always fail with ENOSYS.  Some functions are actually named
8669     something starting with __ and the normal name is an alias.  */
8670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8671 choke me
8672 #else
8673 char (*f) () = $ac_func;
8674 #endif
8675 #ifdef __cplusplus
8676 }
8677 #endif
8678
8679 int
8680 main ()
8681 {
8682 return f != $ac_func;
8683   ;
8684   return 0;
8685 }
8686 _ACEOF
8687 rm -f conftest.$ac_objext conftest$ac_exeext
8688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8689   (eval $ac_link) 2>conftest.er1
8690   ac_status=$?
8691   grep -v '^ *+' conftest.er1 >conftest.err
8692   rm -f conftest.er1
8693   cat conftest.err >&5
8694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8695   (exit $ac_status); } &&
8696          { ac_try='test -z "$ac_c_werror_flag"
8697                          || test ! -s conftest.err'
8698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8699   (eval $ac_try) 2>&5
8700   ac_status=$?
8701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8702   (exit $ac_status); }; } &&
8703          { ac_try='test -s conftest$ac_exeext'
8704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8705   (eval $ac_try) 2>&5
8706   ac_status=$?
8707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8708   (exit $ac_status); }; }; then
8709   eval "$as_ac_var=yes"
8710 else
8711   echo "$as_me: failed program was:" >&5
8712 sed 's/^/| /' conftest.$ac_ext >&5
8713
8714 eval "$as_ac_var=no"
8715 fi
8716 rm -f conftest.err conftest.$ac_objext \
8717       conftest$ac_exeext conftest.$ac_ext
8718 fi
8719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8721 if test `eval echo '${'$as_ac_var'}'` = yes; then
8722   cat >>confdefs.h <<_ACEOF
8723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8724 _ACEOF
8725
8726 fi
8727 done
8728
8729     fi
8730   fi
8731
8732
8733
8734
8735
8736
8737   echo "$as_me:$LINENO: checking for isnan declaration" >&5
8738 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8739   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8740     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8741   echo $ECHO_N "(cached) $ECHO_C" >&6
8742 else
8743
8744
8745
8746       ac_ext=cc
8747 ac_cpp='$CXXCPP $CPPFLAGS'
8748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8751
8752       cat >conftest.$ac_ext <<_ACEOF
8753 /* confdefs.h.  */
8754 _ACEOF
8755 cat confdefs.h >>conftest.$ac_ext
8756 cat >>conftest.$ac_ext <<_ACEOF
8757 /* end confdefs.h.  */
8758 #include <math.h>
8759                       #ifdef HAVE_IEEEFP_H
8760                       #include <ieeefp.h>
8761                       #endif
8762
8763 int
8764 main ()
8765 {
8766  isnan(0);
8767   ;
8768   return 0;
8769 }
8770 _ACEOF
8771 rm -f conftest.$ac_objext
8772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8773   (eval $ac_compile) 2>conftest.er1
8774   ac_status=$?
8775   grep -v '^ *+' conftest.er1 >conftest.err
8776   rm -f conftest.er1
8777   cat conftest.err >&5
8778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8779   (exit $ac_status); } &&
8780          { ac_try='test -z "$ac_cxx_werror_flag"
8781                          || test ! -s conftest.err'
8782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8783   (eval $ac_try) 2>&5
8784   ac_status=$?
8785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8786   (exit $ac_status); }; } &&
8787          { ac_try='test -s conftest.$ac_objext'
8788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8789   (eval $ac_try) 2>&5
8790   ac_status=$?
8791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8792   (exit $ac_status); }; }; then
8793   glibcxx_cv_func_isnan_use=yes
8794 else
8795   echo "$as_me: failed program was:" >&5
8796 sed 's/^/| /' conftest.$ac_ext >&5
8797
8798 glibcxx_cv_func_isnan_use=no
8799 fi
8800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8801       ac_ext=c
8802 ac_cpp='$CPP $CPPFLAGS'
8803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8806
8807
8808 fi
8809
8810   fi
8811   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8812 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8813
8814   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8815
8816 for ac_func in isnan
8817 do
8818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8819 echo "$as_me:$LINENO: checking for $ac_func" >&5
8820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8821 if eval "test \"\${$as_ac_var+set}\" = set"; then
8822   echo $ECHO_N "(cached) $ECHO_C" >&6
8823 else
8824   if test x$gcc_no_link = xyes; then
8825   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8827    { (exit 1); exit 1; }; }
8828 fi
8829 cat >conftest.$ac_ext <<_ACEOF
8830 /* confdefs.h.  */
8831 _ACEOF
8832 cat confdefs.h >>conftest.$ac_ext
8833 cat >>conftest.$ac_ext <<_ACEOF
8834 /* end confdefs.h.  */
8835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8836    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8837 #define $ac_func innocuous_$ac_func
8838
8839 /* System header to define __stub macros and hopefully few prototypes,
8840     which can conflict with char $ac_func (); below.
8841     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8842     <limits.h> exists even on freestanding compilers.  */
8843
8844 #ifdef __STDC__
8845 # include <limits.h>
8846 #else
8847 # include <assert.h>
8848 #endif
8849
8850 #undef $ac_func
8851
8852 /* Override any gcc2 internal prototype to avoid an error.  */
8853 #ifdef __cplusplus
8854 extern "C"
8855 {
8856 #endif
8857 /* We use char because int might match the return type of a gcc2
8858    builtin and then its argument prototype would still apply.  */
8859 char $ac_func ();
8860 /* The GNU C library defines this for functions which it implements
8861     to always fail with ENOSYS.  Some functions are actually named
8862     something starting with __ and the normal name is an alias.  */
8863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8864 choke me
8865 #else
8866 char (*f) () = $ac_func;
8867 #endif
8868 #ifdef __cplusplus
8869 }
8870 #endif
8871
8872 int
8873 main ()
8874 {
8875 return f != $ac_func;
8876   ;
8877   return 0;
8878 }
8879 _ACEOF
8880 rm -f conftest.$ac_objext conftest$ac_exeext
8881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8882   (eval $ac_link) 2>conftest.er1
8883   ac_status=$?
8884   grep -v '^ *+' conftest.er1 >conftest.err
8885   rm -f conftest.er1
8886   cat conftest.err >&5
8887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8888   (exit $ac_status); } &&
8889          { ac_try='test -z "$ac_c_werror_flag"
8890                          || test ! -s conftest.err'
8891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8892   (eval $ac_try) 2>&5
8893   ac_status=$?
8894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8895   (exit $ac_status); }; } &&
8896          { ac_try='test -s conftest$ac_exeext'
8897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8898   (eval $ac_try) 2>&5
8899   ac_status=$?
8900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8901   (exit $ac_status); }; }; then
8902   eval "$as_ac_var=yes"
8903 else
8904   echo "$as_me: failed program was:" >&5
8905 sed 's/^/| /' conftest.$ac_ext >&5
8906
8907 eval "$as_ac_var=no"
8908 fi
8909 rm -f conftest.err conftest.$ac_objext \
8910       conftest$ac_exeext conftest.$ac_ext
8911 fi
8912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8914 if test `eval echo '${'$as_ac_var'}'` = yes; then
8915   cat >>confdefs.h <<_ACEOF
8916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8917 _ACEOF
8918
8919 fi
8920 done
8921
8922   else
8923
8924   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8925 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8926   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8927     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8928   echo $ECHO_N "(cached) $ECHO_C" >&6
8929 else
8930
8931
8932
8933       ac_ext=cc
8934 ac_cpp='$CXXCPP $CPPFLAGS'
8935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8938
8939       cat >conftest.$ac_ext <<_ACEOF
8940 /* confdefs.h.  */
8941 _ACEOF
8942 cat confdefs.h >>conftest.$ac_ext
8943 cat >>conftest.$ac_ext <<_ACEOF
8944 /* end confdefs.h.  */
8945 #include <math.h>
8946                       #ifdef HAVE_IEEEFP_H
8947                       #include <ieeefp.h>
8948                       #endif
8949
8950 int
8951 main ()
8952 {
8953  _isnan(0);
8954   ;
8955   return 0;
8956 }
8957 _ACEOF
8958 rm -f conftest.$ac_objext
8959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8960   (eval $ac_compile) 2>conftest.er1
8961   ac_status=$?
8962   grep -v '^ *+' conftest.er1 >conftest.err
8963   rm -f conftest.er1
8964   cat conftest.err >&5
8965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8966   (exit $ac_status); } &&
8967          { ac_try='test -z "$ac_cxx_werror_flag"
8968                          || test ! -s conftest.err'
8969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8970   (eval $ac_try) 2>&5
8971   ac_status=$?
8972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8973   (exit $ac_status); }; } &&
8974          { ac_try='test -s conftest.$ac_objext'
8975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8976   (eval $ac_try) 2>&5
8977   ac_status=$?
8978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8979   (exit $ac_status); }; }; then
8980   glibcxx_cv_func__isnan_use=yes
8981 else
8982   echo "$as_me: failed program was:" >&5
8983 sed 's/^/| /' conftest.$ac_ext >&5
8984
8985 glibcxx_cv_func__isnan_use=no
8986 fi
8987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8988       ac_ext=c
8989 ac_cpp='$CPP $CPPFLAGS'
8990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8993
8994
8995 fi
8996
8997   fi
8998   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
8999 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
9000
9001     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
9002
9003 for ac_func in _isnan
9004 do
9005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9006 echo "$as_me:$LINENO: checking for $ac_func" >&5
9007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9008 if eval "test \"\${$as_ac_var+set}\" = set"; then
9009   echo $ECHO_N "(cached) $ECHO_C" >&6
9010 else
9011   if test x$gcc_no_link = xyes; then
9012   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9014    { (exit 1); exit 1; }; }
9015 fi
9016 cat >conftest.$ac_ext <<_ACEOF
9017 /* confdefs.h.  */
9018 _ACEOF
9019 cat confdefs.h >>conftest.$ac_ext
9020 cat >>conftest.$ac_ext <<_ACEOF
9021 /* end confdefs.h.  */
9022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9023    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9024 #define $ac_func innocuous_$ac_func
9025
9026 /* System header to define __stub macros and hopefully few prototypes,
9027     which can conflict with char $ac_func (); below.
9028     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9029     <limits.h> exists even on freestanding compilers.  */
9030
9031 #ifdef __STDC__
9032 # include <limits.h>
9033 #else
9034 # include <assert.h>
9035 #endif
9036
9037 #undef $ac_func
9038
9039 /* Override any gcc2 internal prototype to avoid an error.  */
9040 #ifdef __cplusplus
9041 extern "C"
9042 {
9043 #endif
9044 /* We use char because int might match the return type of a gcc2
9045    builtin and then its argument prototype would still apply.  */
9046 char $ac_func ();
9047 /* The GNU C library defines this for functions which it implements
9048     to always fail with ENOSYS.  Some functions are actually named
9049     something starting with __ and the normal name is an alias.  */
9050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9051 choke me
9052 #else
9053 char (*f) () = $ac_func;
9054 #endif
9055 #ifdef __cplusplus
9056 }
9057 #endif
9058
9059 int
9060 main ()
9061 {
9062 return f != $ac_func;
9063   ;
9064   return 0;
9065 }
9066 _ACEOF
9067 rm -f conftest.$ac_objext conftest$ac_exeext
9068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9069   (eval $ac_link) 2>conftest.er1
9070   ac_status=$?
9071   grep -v '^ *+' conftest.er1 >conftest.err
9072   rm -f conftest.er1
9073   cat conftest.err >&5
9074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9075   (exit $ac_status); } &&
9076          { ac_try='test -z "$ac_c_werror_flag"
9077                          || test ! -s conftest.err'
9078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9079   (eval $ac_try) 2>&5
9080   ac_status=$?
9081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9082   (exit $ac_status); }; } &&
9083          { ac_try='test -s conftest$ac_exeext'
9084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9085   (eval $ac_try) 2>&5
9086   ac_status=$?
9087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9088   (exit $ac_status); }; }; then
9089   eval "$as_ac_var=yes"
9090 else
9091   echo "$as_me: failed program was:" >&5
9092 sed 's/^/| /' conftest.$ac_ext >&5
9093
9094 eval "$as_ac_var=no"
9095 fi
9096 rm -f conftest.err conftest.$ac_objext \
9097       conftest$ac_exeext conftest.$ac_ext
9098 fi
9099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9101 if test `eval echo '${'$as_ac_var'}'` = yes; then
9102   cat >>confdefs.h <<_ACEOF
9103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9104 _ACEOF
9105
9106 fi
9107 done
9108
9109     fi
9110   fi
9111
9112
9113
9114
9115
9116
9117   echo "$as_me:$LINENO: checking for finite declaration" >&5
9118 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9119   if test x${glibcxx_cv_func_finite_use+set} != xset; then
9120     if test "${glibcxx_cv_func_finite_use+set}" = set; then
9121   echo $ECHO_N "(cached) $ECHO_C" >&6
9122 else
9123
9124
9125
9126       ac_ext=cc
9127 ac_cpp='$CXXCPP $CPPFLAGS'
9128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9131
9132       cat >conftest.$ac_ext <<_ACEOF
9133 /* confdefs.h.  */
9134 _ACEOF
9135 cat confdefs.h >>conftest.$ac_ext
9136 cat >>conftest.$ac_ext <<_ACEOF
9137 /* end confdefs.h.  */
9138 #include <math.h>
9139                       #ifdef HAVE_IEEEFP_H
9140                       #include <ieeefp.h>
9141                       #endif
9142
9143 int
9144 main ()
9145 {
9146  finite(0);
9147   ;
9148   return 0;
9149 }
9150 _ACEOF
9151 rm -f conftest.$ac_objext
9152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9153   (eval $ac_compile) 2>conftest.er1
9154   ac_status=$?
9155   grep -v '^ *+' conftest.er1 >conftest.err
9156   rm -f conftest.er1
9157   cat conftest.err >&5
9158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9159   (exit $ac_status); } &&
9160          { ac_try='test -z "$ac_cxx_werror_flag"
9161                          || test ! -s conftest.err'
9162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9163   (eval $ac_try) 2>&5
9164   ac_status=$?
9165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9166   (exit $ac_status); }; } &&
9167          { ac_try='test -s conftest.$ac_objext'
9168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9169   (eval $ac_try) 2>&5
9170   ac_status=$?
9171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9172   (exit $ac_status); }; }; then
9173   glibcxx_cv_func_finite_use=yes
9174 else
9175   echo "$as_me: failed program was:" >&5
9176 sed 's/^/| /' conftest.$ac_ext >&5
9177
9178 glibcxx_cv_func_finite_use=no
9179 fi
9180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9181       ac_ext=c
9182 ac_cpp='$CPP $CPPFLAGS'
9183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9186
9187
9188 fi
9189
9190   fi
9191   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9192 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9193
9194   if test x$glibcxx_cv_func_finite_use = x"yes"; then
9195
9196 for ac_func in finite
9197 do
9198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9199 echo "$as_me:$LINENO: checking for $ac_func" >&5
9200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9201 if eval "test \"\${$as_ac_var+set}\" = set"; then
9202   echo $ECHO_N "(cached) $ECHO_C" >&6
9203 else
9204   if test x$gcc_no_link = xyes; then
9205   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9207    { (exit 1); exit 1; }; }
9208 fi
9209 cat >conftest.$ac_ext <<_ACEOF
9210 /* confdefs.h.  */
9211 _ACEOF
9212 cat confdefs.h >>conftest.$ac_ext
9213 cat >>conftest.$ac_ext <<_ACEOF
9214 /* end confdefs.h.  */
9215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9216    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9217 #define $ac_func innocuous_$ac_func
9218
9219 /* System header to define __stub macros and hopefully few prototypes,
9220     which can conflict with char $ac_func (); below.
9221     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9222     <limits.h> exists even on freestanding compilers.  */
9223
9224 #ifdef __STDC__
9225 # include <limits.h>
9226 #else
9227 # include <assert.h>
9228 #endif
9229
9230 #undef $ac_func
9231
9232 /* Override any gcc2 internal prototype to avoid an error.  */
9233 #ifdef __cplusplus
9234 extern "C"
9235 {
9236 #endif
9237 /* We use char because int might match the return type of a gcc2
9238    builtin and then its argument prototype would still apply.  */
9239 char $ac_func ();
9240 /* The GNU C library defines this for functions which it implements
9241     to always fail with ENOSYS.  Some functions are actually named
9242     something starting with __ and the normal name is an alias.  */
9243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9244 choke me
9245 #else
9246 char (*f) () = $ac_func;
9247 #endif
9248 #ifdef __cplusplus
9249 }
9250 #endif
9251
9252 int
9253 main ()
9254 {
9255 return f != $ac_func;
9256   ;
9257   return 0;
9258 }
9259 _ACEOF
9260 rm -f conftest.$ac_objext conftest$ac_exeext
9261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9262   (eval $ac_link) 2>conftest.er1
9263   ac_status=$?
9264   grep -v '^ *+' conftest.er1 >conftest.err
9265   rm -f conftest.er1
9266   cat conftest.err >&5
9267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9268   (exit $ac_status); } &&
9269          { ac_try='test -z "$ac_c_werror_flag"
9270                          || test ! -s conftest.err'
9271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9272   (eval $ac_try) 2>&5
9273   ac_status=$?
9274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9275   (exit $ac_status); }; } &&
9276          { ac_try='test -s conftest$ac_exeext'
9277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9278   (eval $ac_try) 2>&5
9279   ac_status=$?
9280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9281   (exit $ac_status); }; }; then
9282   eval "$as_ac_var=yes"
9283 else
9284   echo "$as_me: failed program was:" >&5
9285 sed 's/^/| /' conftest.$ac_ext >&5
9286
9287 eval "$as_ac_var=no"
9288 fi
9289 rm -f conftest.err conftest.$ac_objext \
9290       conftest$ac_exeext conftest.$ac_ext
9291 fi
9292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9294 if test `eval echo '${'$as_ac_var'}'` = yes; then
9295   cat >>confdefs.h <<_ACEOF
9296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9297 _ACEOF
9298
9299 fi
9300 done
9301
9302   else
9303
9304   echo "$as_me:$LINENO: checking for _finite declaration" >&5
9305 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9306   if test x${glibcxx_cv_func__finite_use+set} != xset; then
9307     if test "${glibcxx_cv_func__finite_use+set}" = set; then
9308   echo $ECHO_N "(cached) $ECHO_C" >&6
9309 else
9310
9311
9312
9313       ac_ext=cc
9314 ac_cpp='$CXXCPP $CPPFLAGS'
9315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9318
9319       cat >conftest.$ac_ext <<_ACEOF
9320 /* confdefs.h.  */
9321 _ACEOF
9322 cat confdefs.h >>conftest.$ac_ext
9323 cat >>conftest.$ac_ext <<_ACEOF
9324 /* end confdefs.h.  */
9325 #include <math.h>
9326                       #ifdef HAVE_IEEEFP_H
9327                       #include <ieeefp.h>
9328                       #endif
9329
9330 int
9331 main ()
9332 {
9333  _finite(0);
9334   ;
9335   return 0;
9336 }
9337 _ACEOF
9338 rm -f conftest.$ac_objext
9339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9340   (eval $ac_compile) 2>conftest.er1
9341   ac_status=$?
9342   grep -v '^ *+' conftest.er1 >conftest.err
9343   rm -f conftest.er1
9344   cat conftest.err >&5
9345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9346   (exit $ac_status); } &&
9347          { ac_try='test -z "$ac_cxx_werror_flag"
9348                          || test ! -s conftest.err'
9349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9350   (eval $ac_try) 2>&5
9351   ac_status=$?
9352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9353   (exit $ac_status); }; } &&
9354          { ac_try='test -s conftest.$ac_objext'
9355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9356   (eval $ac_try) 2>&5
9357   ac_status=$?
9358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9359   (exit $ac_status); }; }; then
9360   glibcxx_cv_func__finite_use=yes
9361 else
9362   echo "$as_me: failed program was:" >&5
9363 sed 's/^/| /' conftest.$ac_ext >&5
9364
9365 glibcxx_cv_func__finite_use=no
9366 fi
9367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9368       ac_ext=c
9369 ac_cpp='$CPP $CPPFLAGS'
9370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9373
9374
9375 fi
9376
9377   fi
9378   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9379 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9380
9381     if test x$glibcxx_cv_func__finite_use = x"yes"; then
9382
9383 for ac_func in _finite
9384 do
9385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9386 echo "$as_me:$LINENO: checking for $ac_func" >&5
9387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9388 if eval "test \"\${$as_ac_var+set}\" = set"; then
9389   echo $ECHO_N "(cached) $ECHO_C" >&6
9390 else
9391   if test x$gcc_no_link = xyes; then
9392   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9394    { (exit 1); exit 1; }; }
9395 fi
9396 cat >conftest.$ac_ext <<_ACEOF
9397 /* confdefs.h.  */
9398 _ACEOF
9399 cat confdefs.h >>conftest.$ac_ext
9400 cat >>conftest.$ac_ext <<_ACEOF
9401 /* end confdefs.h.  */
9402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9403    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9404 #define $ac_func innocuous_$ac_func
9405
9406 /* System header to define __stub macros and hopefully few prototypes,
9407     which can conflict with char $ac_func (); below.
9408     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9409     <limits.h> exists even on freestanding compilers.  */
9410
9411 #ifdef __STDC__
9412 # include <limits.h>
9413 #else
9414 # include <assert.h>
9415 #endif
9416
9417 #undef $ac_func
9418
9419 /* Override any gcc2 internal prototype to avoid an error.  */
9420 #ifdef __cplusplus
9421 extern "C"
9422 {
9423 #endif
9424 /* We use char because int might match the return type of a gcc2
9425    builtin and then its argument prototype would still apply.  */
9426 char $ac_func ();
9427 /* The GNU C library defines this for functions which it implements
9428     to always fail with ENOSYS.  Some functions are actually named
9429     something starting with __ and the normal name is an alias.  */
9430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9431 choke me
9432 #else
9433 char (*f) () = $ac_func;
9434 #endif
9435 #ifdef __cplusplus
9436 }
9437 #endif
9438
9439 int
9440 main ()
9441 {
9442 return f != $ac_func;
9443   ;
9444   return 0;
9445 }
9446 _ACEOF
9447 rm -f conftest.$ac_objext conftest$ac_exeext
9448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9449   (eval $ac_link) 2>conftest.er1
9450   ac_status=$?
9451   grep -v '^ *+' conftest.er1 >conftest.err
9452   rm -f conftest.er1
9453   cat conftest.err >&5
9454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9455   (exit $ac_status); } &&
9456          { ac_try='test -z "$ac_c_werror_flag"
9457                          || test ! -s conftest.err'
9458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9459   (eval $ac_try) 2>&5
9460   ac_status=$?
9461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9462   (exit $ac_status); }; } &&
9463          { ac_try='test -s conftest$ac_exeext'
9464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9465   (eval $ac_try) 2>&5
9466   ac_status=$?
9467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9468   (exit $ac_status); }; }; then
9469   eval "$as_ac_var=yes"
9470 else
9471   echo "$as_me: failed program was:" >&5
9472 sed 's/^/| /' conftest.$ac_ext >&5
9473
9474 eval "$as_ac_var=no"
9475 fi
9476 rm -f conftest.err conftest.$ac_objext \
9477       conftest$ac_exeext conftest.$ac_ext
9478 fi
9479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9481 if test `eval echo '${'$as_ac_var'}'` = yes; then
9482   cat >>confdefs.h <<_ACEOF
9483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9484 _ACEOF
9485
9486 fi
9487 done
9488
9489     fi
9490   fi
9491
9492
9493
9494
9495
9496
9497   echo "$as_me:$LINENO: checking for copysign declaration" >&5
9498 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9499   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9500     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9501   echo $ECHO_N "(cached) $ECHO_C" >&6
9502 else
9503
9504
9505
9506       ac_ext=cc
9507 ac_cpp='$CXXCPP $CPPFLAGS'
9508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9511
9512       cat >conftest.$ac_ext <<_ACEOF
9513 /* confdefs.h.  */
9514 _ACEOF
9515 cat confdefs.h >>conftest.$ac_ext
9516 cat >>conftest.$ac_ext <<_ACEOF
9517 /* end confdefs.h.  */
9518 #include <math.h>
9519 int
9520 main ()
9521 {
9522  copysign(0, 0);
9523   ;
9524   return 0;
9525 }
9526 _ACEOF
9527 rm -f conftest.$ac_objext
9528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9529   (eval $ac_compile) 2>conftest.er1
9530   ac_status=$?
9531   grep -v '^ *+' conftest.er1 >conftest.err
9532   rm -f conftest.er1
9533   cat conftest.err >&5
9534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9535   (exit $ac_status); } &&
9536          { ac_try='test -z "$ac_cxx_werror_flag"
9537                          || test ! -s conftest.err'
9538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9539   (eval $ac_try) 2>&5
9540   ac_status=$?
9541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9542   (exit $ac_status); }; } &&
9543          { ac_try='test -s conftest.$ac_objext'
9544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9545   (eval $ac_try) 2>&5
9546   ac_status=$?
9547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9548   (exit $ac_status); }; }; then
9549   glibcxx_cv_func_copysign_use=yes
9550 else
9551   echo "$as_me: failed program was:" >&5
9552 sed 's/^/| /' conftest.$ac_ext >&5
9553
9554 glibcxx_cv_func_copysign_use=no
9555 fi
9556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9557       ac_ext=c
9558 ac_cpp='$CPP $CPPFLAGS'
9559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9562
9563
9564 fi
9565
9566   fi
9567   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9568 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9569
9570   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9571
9572 for ac_func in copysign
9573 do
9574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9575 echo "$as_me:$LINENO: checking for $ac_func" >&5
9576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9577 if eval "test \"\${$as_ac_var+set}\" = set"; then
9578   echo $ECHO_N "(cached) $ECHO_C" >&6
9579 else
9580   if test x$gcc_no_link = xyes; then
9581   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9583    { (exit 1); exit 1; }; }
9584 fi
9585 cat >conftest.$ac_ext <<_ACEOF
9586 /* confdefs.h.  */
9587 _ACEOF
9588 cat confdefs.h >>conftest.$ac_ext
9589 cat >>conftest.$ac_ext <<_ACEOF
9590 /* end confdefs.h.  */
9591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9592    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9593 #define $ac_func innocuous_$ac_func
9594
9595 /* System header to define __stub macros and hopefully few prototypes,
9596     which can conflict with char $ac_func (); below.
9597     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9598     <limits.h> exists even on freestanding compilers.  */
9599
9600 #ifdef __STDC__
9601 # include <limits.h>
9602 #else
9603 # include <assert.h>
9604 #endif
9605
9606 #undef $ac_func
9607
9608 /* Override any gcc2 internal prototype to avoid an error.  */
9609 #ifdef __cplusplus
9610 extern "C"
9611 {
9612 #endif
9613 /* We use char because int might match the return type of a gcc2
9614    builtin and then its argument prototype would still apply.  */
9615 char $ac_func ();
9616 /* The GNU C library defines this for functions which it implements
9617     to always fail with ENOSYS.  Some functions are actually named
9618     something starting with __ and the normal name is an alias.  */
9619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9620 choke me
9621 #else
9622 char (*f) () = $ac_func;
9623 #endif
9624 #ifdef __cplusplus
9625 }
9626 #endif
9627
9628 int
9629 main ()
9630 {
9631 return f != $ac_func;
9632   ;
9633   return 0;
9634 }
9635 _ACEOF
9636 rm -f conftest.$ac_objext conftest$ac_exeext
9637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9638   (eval $ac_link) 2>conftest.er1
9639   ac_status=$?
9640   grep -v '^ *+' conftest.er1 >conftest.err
9641   rm -f conftest.er1
9642   cat conftest.err >&5
9643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9644   (exit $ac_status); } &&
9645          { ac_try='test -z "$ac_c_werror_flag"
9646                          || test ! -s conftest.err'
9647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9648   (eval $ac_try) 2>&5
9649   ac_status=$?
9650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9651   (exit $ac_status); }; } &&
9652          { ac_try='test -s conftest$ac_exeext'
9653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9654   (eval $ac_try) 2>&5
9655   ac_status=$?
9656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9657   (exit $ac_status); }; }; then
9658   eval "$as_ac_var=yes"
9659 else
9660   echo "$as_me: failed program was:" >&5
9661 sed 's/^/| /' conftest.$ac_ext >&5
9662
9663 eval "$as_ac_var=no"
9664 fi
9665 rm -f conftest.err conftest.$ac_objext \
9666       conftest$ac_exeext conftest.$ac_ext
9667 fi
9668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9670 if test `eval echo '${'$as_ac_var'}'` = yes; then
9671   cat >>confdefs.h <<_ACEOF
9672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9673 _ACEOF
9674
9675 fi
9676 done
9677
9678   else
9679
9680   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9681 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9682   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9683     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9684   echo $ECHO_N "(cached) $ECHO_C" >&6
9685 else
9686
9687
9688
9689       ac_ext=cc
9690 ac_cpp='$CXXCPP $CPPFLAGS'
9691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9694
9695       cat >conftest.$ac_ext <<_ACEOF
9696 /* confdefs.h.  */
9697 _ACEOF
9698 cat confdefs.h >>conftest.$ac_ext
9699 cat >>conftest.$ac_ext <<_ACEOF
9700 /* end confdefs.h.  */
9701 #include <math.h>
9702 int
9703 main ()
9704 {
9705  _copysign(0, 0);
9706   ;
9707   return 0;
9708 }
9709 _ACEOF
9710 rm -f conftest.$ac_objext
9711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9712   (eval $ac_compile) 2>conftest.er1
9713   ac_status=$?
9714   grep -v '^ *+' conftest.er1 >conftest.err
9715   rm -f conftest.er1
9716   cat conftest.err >&5
9717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9718   (exit $ac_status); } &&
9719          { ac_try='test -z "$ac_cxx_werror_flag"
9720                          || test ! -s conftest.err'
9721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9722   (eval $ac_try) 2>&5
9723   ac_status=$?
9724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9725   (exit $ac_status); }; } &&
9726          { ac_try='test -s conftest.$ac_objext'
9727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9728   (eval $ac_try) 2>&5
9729   ac_status=$?
9730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9731   (exit $ac_status); }; }; then
9732   glibcxx_cv_func__copysign_use=yes
9733 else
9734   echo "$as_me: failed program was:" >&5
9735 sed 's/^/| /' conftest.$ac_ext >&5
9736
9737 glibcxx_cv_func__copysign_use=no
9738 fi
9739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9740       ac_ext=c
9741 ac_cpp='$CPP $CPPFLAGS'
9742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9745
9746
9747 fi
9748
9749   fi
9750   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9751 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9752
9753     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9754
9755 for ac_func in _copysign
9756 do
9757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9758 echo "$as_me:$LINENO: checking for $ac_func" >&5
9759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9760 if eval "test \"\${$as_ac_var+set}\" = set"; then
9761   echo $ECHO_N "(cached) $ECHO_C" >&6
9762 else
9763   if test x$gcc_no_link = xyes; then
9764   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9766    { (exit 1); exit 1; }; }
9767 fi
9768 cat >conftest.$ac_ext <<_ACEOF
9769 /* confdefs.h.  */
9770 _ACEOF
9771 cat confdefs.h >>conftest.$ac_ext
9772 cat >>conftest.$ac_ext <<_ACEOF
9773 /* end confdefs.h.  */
9774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9775    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9776 #define $ac_func innocuous_$ac_func
9777
9778 /* System header to define __stub macros and hopefully few prototypes,
9779     which can conflict with char $ac_func (); below.
9780     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9781     <limits.h> exists even on freestanding compilers.  */
9782
9783 #ifdef __STDC__
9784 # include <limits.h>
9785 #else
9786 # include <assert.h>
9787 #endif
9788
9789 #undef $ac_func
9790
9791 /* Override any gcc2 internal prototype to avoid an error.  */
9792 #ifdef __cplusplus
9793 extern "C"
9794 {
9795 #endif
9796 /* We use char because int might match the return type of a gcc2
9797    builtin and then its argument prototype would still apply.  */
9798 char $ac_func ();
9799 /* The GNU C library defines this for functions which it implements
9800     to always fail with ENOSYS.  Some functions are actually named
9801     something starting with __ and the normal name is an alias.  */
9802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9803 choke me
9804 #else
9805 char (*f) () = $ac_func;
9806 #endif
9807 #ifdef __cplusplus
9808 }
9809 #endif
9810
9811 int
9812 main ()
9813 {
9814 return f != $ac_func;
9815   ;
9816   return 0;
9817 }
9818 _ACEOF
9819 rm -f conftest.$ac_objext conftest$ac_exeext
9820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9821   (eval $ac_link) 2>conftest.er1
9822   ac_status=$?
9823   grep -v '^ *+' conftest.er1 >conftest.err
9824   rm -f conftest.er1
9825   cat conftest.err >&5
9826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9827   (exit $ac_status); } &&
9828          { ac_try='test -z "$ac_c_werror_flag"
9829                          || test ! -s conftest.err'
9830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9831   (eval $ac_try) 2>&5
9832   ac_status=$?
9833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9834   (exit $ac_status); }; } &&
9835          { ac_try='test -s conftest$ac_exeext'
9836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9837   (eval $ac_try) 2>&5
9838   ac_status=$?
9839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9840   (exit $ac_status); }; }; then
9841   eval "$as_ac_var=yes"
9842 else
9843   echo "$as_me: failed program was:" >&5
9844 sed 's/^/| /' conftest.$ac_ext >&5
9845
9846 eval "$as_ac_var=no"
9847 fi
9848 rm -f conftest.err conftest.$ac_objext \
9849       conftest$ac_exeext conftest.$ac_ext
9850 fi
9851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9853 if test `eval echo '${'$as_ac_var'}'` = yes; then
9854   cat >>confdefs.h <<_ACEOF
9855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9856 _ACEOF
9857
9858 fi
9859 done
9860
9861     fi
9862   fi
9863
9864
9865
9866
9867
9868
9869   echo "$as_me:$LINENO: checking for sincos declaration" >&5
9870 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9871   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9872     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9873   echo $ECHO_N "(cached) $ECHO_C" >&6
9874 else
9875
9876
9877
9878       ac_ext=cc
9879 ac_cpp='$CXXCPP $CPPFLAGS'
9880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9883
9884       cat >conftest.$ac_ext <<_ACEOF
9885 /* confdefs.h.  */
9886 _ACEOF
9887 cat confdefs.h >>conftest.$ac_ext
9888 cat >>conftest.$ac_ext <<_ACEOF
9889 /* end confdefs.h.  */
9890 #include <math.h>
9891 int
9892 main ()
9893 {
9894  sincos(0, 0, 0);
9895   ;
9896   return 0;
9897 }
9898 _ACEOF
9899 rm -f conftest.$ac_objext
9900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9901   (eval $ac_compile) 2>conftest.er1
9902   ac_status=$?
9903   grep -v '^ *+' conftest.er1 >conftest.err
9904   rm -f conftest.er1
9905   cat conftest.err >&5
9906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9907   (exit $ac_status); } &&
9908          { ac_try='test -z "$ac_cxx_werror_flag"
9909                          || test ! -s conftest.err'
9910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9911   (eval $ac_try) 2>&5
9912   ac_status=$?
9913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9914   (exit $ac_status); }; } &&
9915          { ac_try='test -s conftest.$ac_objext'
9916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9917   (eval $ac_try) 2>&5
9918   ac_status=$?
9919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9920   (exit $ac_status); }; }; then
9921   glibcxx_cv_func_sincos_use=yes
9922 else
9923   echo "$as_me: failed program was:" >&5
9924 sed 's/^/| /' conftest.$ac_ext >&5
9925
9926 glibcxx_cv_func_sincos_use=no
9927 fi
9928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9929       ac_ext=c
9930 ac_cpp='$CPP $CPPFLAGS'
9931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9934
9935
9936 fi
9937
9938   fi
9939   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9940 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9941
9942   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9943
9944 for ac_func in sincos
9945 do
9946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9947 echo "$as_me:$LINENO: checking for $ac_func" >&5
9948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9949 if eval "test \"\${$as_ac_var+set}\" = set"; then
9950   echo $ECHO_N "(cached) $ECHO_C" >&6
9951 else
9952   if test x$gcc_no_link = xyes; then
9953   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9955    { (exit 1); exit 1; }; }
9956 fi
9957 cat >conftest.$ac_ext <<_ACEOF
9958 /* confdefs.h.  */
9959 _ACEOF
9960 cat confdefs.h >>conftest.$ac_ext
9961 cat >>conftest.$ac_ext <<_ACEOF
9962 /* end confdefs.h.  */
9963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9964    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9965 #define $ac_func innocuous_$ac_func
9966
9967 /* System header to define __stub macros and hopefully few prototypes,
9968     which can conflict with char $ac_func (); below.
9969     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9970     <limits.h> exists even on freestanding compilers.  */
9971
9972 #ifdef __STDC__
9973 # include <limits.h>
9974 #else
9975 # include <assert.h>
9976 #endif
9977
9978 #undef $ac_func
9979
9980 /* Override any gcc2 internal prototype to avoid an error.  */
9981 #ifdef __cplusplus
9982 extern "C"
9983 {
9984 #endif
9985 /* We use char because int might match the return type of a gcc2
9986    builtin and then its argument prototype would still apply.  */
9987 char $ac_func ();
9988 /* The GNU C library defines this for functions which it implements
9989     to always fail with ENOSYS.  Some functions are actually named
9990     something starting with __ and the normal name is an alias.  */
9991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9992 choke me
9993 #else
9994 char (*f) () = $ac_func;
9995 #endif
9996 #ifdef __cplusplus
9997 }
9998 #endif
9999
10000 int
10001 main ()
10002 {
10003 return f != $ac_func;
10004   ;
10005   return 0;
10006 }
10007 _ACEOF
10008 rm -f conftest.$ac_objext conftest$ac_exeext
10009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10010   (eval $ac_link) 2>conftest.er1
10011   ac_status=$?
10012   grep -v '^ *+' conftest.er1 >conftest.err
10013   rm -f conftest.er1
10014   cat conftest.err >&5
10015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10016   (exit $ac_status); } &&
10017          { ac_try='test -z "$ac_c_werror_flag"
10018                          || test ! -s conftest.err'
10019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10020   (eval $ac_try) 2>&5
10021   ac_status=$?
10022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10023   (exit $ac_status); }; } &&
10024          { ac_try='test -s conftest$ac_exeext'
10025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10026   (eval $ac_try) 2>&5
10027   ac_status=$?
10028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10029   (exit $ac_status); }; }; then
10030   eval "$as_ac_var=yes"
10031 else
10032   echo "$as_me: failed program was:" >&5
10033 sed 's/^/| /' conftest.$ac_ext >&5
10034
10035 eval "$as_ac_var=no"
10036 fi
10037 rm -f conftest.err conftest.$ac_objext \
10038       conftest$ac_exeext conftest.$ac_ext
10039 fi
10040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10042 if test `eval echo '${'$as_ac_var'}'` = yes; then
10043   cat >>confdefs.h <<_ACEOF
10044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10045 _ACEOF
10046
10047 fi
10048 done
10049
10050   else
10051
10052   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10053 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10054   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10055     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10056   echo $ECHO_N "(cached) $ECHO_C" >&6
10057 else
10058
10059
10060
10061       ac_ext=cc
10062 ac_cpp='$CXXCPP $CPPFLAGS'
10063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10066
10067       cat >conftest.$ac_ext <<_ACEOF
10068 /* confdefs.h.  */
10069 _ACEOF
10070 cat confdefs.h >>conftest.$ac_ext
10071 cat >>conftest.$ac_ext <<_ACEOF
10072 /* end confdefs.h.  */
10073 #include <math.h>
10074 int
10075 main ()
10076 {
10077  _sincos(0, 0, 0);
10078   ;
10079   return 0;
10080 }
10081 _ACEOF
10082 rm -f conftest.$ac_objext
10083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10084   (eval $ac_compile) 2>conftest.er1
10085   ac_status=$?
10086   grep -v '^ *+' conftest.er1 >conftest.err
10087   rm -f conftest.er1
10088   cat conftest.err >&5
10089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10090   (exit $ac_status); } &&
10091          { ac_try='test -z "$ac_cxx_werror_flag"
10092                          || test ! -s conftest.err'
10093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10094   (eval $ac_try) 2>&5
10095   ac_status=$?
10096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10097   (exit $ac_status); }; } &&
10098          { ac_try='test -s conftest.$ac_objext'
10099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10100   (eval $ac_try) 2>&5
10101   ac_status=$?
10102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10103   (exit $ac_status); }; }; then
10104   glibcxx_cv_func__sincos_use=yes
10105 else
10106   echo "$as_me: failed program was:" >&5
10107 sed 's/^/| /' conftest.$ac_ext >&5
10108
10109 glibcxx_cv_func__sincos_use=no
10110 fi
10111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10112       ac_ext=c
10113 ac_cpp='$CPP $CPPFLAGS'
10114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10117
10118
10119 fi
10120
10121   fi
10122   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10123 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10124
10125     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10126
10127 for ac_func in _sincos
10128 do
10129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10130 echo "$as_me:$LINENO: checking for $ac_func" >&5
10131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10132 if eval "test \"\${$as_ac_var+set}\" = set"; then
10133   echo $ECHO_N "(cached) $ECHO_C" >&6
10134 else
10135   if test x$gcc_no_link = xyes; then
10136   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10138    { (exit 1); exit 1; }; }
10139 fi
10140 cat >conftest.$ac_ext <<_ACEOF
10141 /* confdefs.h.  */
10142 _ACEOF
10143 cat confdefs.h >>conftest.$ac_ext
10144 cat >>conftest.$ac_ext <<_ACEOF
10145 /* end confdefs.h.  */
10146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10147    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10148 #define $ac_func innocuous_$ac_func
10149
10150 /* System header to define __stub macros and hopefully few prototypes,
10151     which can conflict with char $ac_func (); below.
10152     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10153     <limits.h> exists even on freestanding compilers.  */
10154
10155 #ifdef __STDC__
10156 # include <limits.h>
10157 #else
10158 # include <assert.h>
10159 #endif
10160
10161 #undef $ac_func
10162
10163 /* Override any gcc2 internal prototype to avoid an error.  */
10164 #ifdef __cplusplus
10165 extern "C"
10166 {
10167 #endif
10168 /* We use char because int might match the return type of a gcc2
10169    builtin and then its argument prototype would still apply.  */
10170 char $ac_func ();
10171 /* The GNU C library defines this for functions which it implements
10172     to always fail with ENOSYS.  Some functions are actually named
10173     something starting with __ and the normal name is an alias.  */
10174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10175 choke me
10176 #else
10177 char (*f) () = $ac_func;
10178 #endif
10179 #ifdef __cplusplus
10180 }
10181 #endif
10182
10183 int
10184 main ()
10185 {
10186 return f != $ac_func;
10187   ;
10188   return 0;
10189 }
10190 _ACEOF
10191 rm -f conftest.$ac_objext conftest$ac_exeext
10192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10193   (eval $ac_link) 2>conftest.er1
10194   ac_status=$?
10195   grep -v '^ *+' conftest.er1 >conftest.err
10196   rm -f conftest.er1
10197   cat conftest.err >&5
10198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10199   (exit $ac_status); } &&
10200          { ac_try='test -z "$ac_c_werror_flag"
10201                          || test ! -s conftest.err'
10202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10203   (eval $ac_try) 2>&5
10204   ac_status=$?
10205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10206   (exit $ac_status); }; } &&
10207          { ac_try='test -s conftest$ac_exeext'
10208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10209   (eval $ac_try) 2>&5
10210   ac_status=$?
10211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10212   (exit $ac_status); }; }; then
10213   eval "$as_ac_var=yes"
10214 else
10215   echo "$as_me: failed program was:" >&5
10216 sed 's/^/| /' conftest.$ac_ext >&5
10217
10218 eval "$as_ac_var=no"
10219 fi
10220 rm -f conftest.err conftest.$ac_objext \
10221       conftest$ac_exeext conftest.$ac_ext
10222 fi
10223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10225 if test `eval echo '${'$as_ac_var'}'` = yes; then
10226   cat >>confdefs.h <<_ACEOF
10227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10228 _ACEOF
10229
10230 fi
10231 done
10232
10233     fi
10234   fi
10235
10236
10237
10238
10239
10240
10241   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10242 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10243   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10244     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10245   echo $ECHO_N "(cached) $ECHO_C" >&6
10246 else
10247
10248
10249
10250       ac_ext=cc
10251 ac_cpp='$CXXCPP $CPPFLAGS'
10252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10255
10256       cat >conftest.$ac_ext <<_ACEOF
10257 /* confdefs.h.  */
10258 _ACEOF
10259 cat confdefs.h >>conftest.$ac_ext
10260 cat >>conftest.$ac_ext <<_ACEOF
10261 /* end confdefs.h.  */
10262 #include <math.h>
10263                       #ifdef HAVE_IEEEFP_H
10264                       #include <ieeefp.h>
10265                       #endif
10266
10267 int
10268 main ()
10269 {
10270  fpclass(0);
10271   ;
10272   return 0;
10273 }
10274 _ACEOF
10275 rm -f conftest.$ac_objext
10276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10277   (eval $ac_compile) 2>conftest.er1
10278   ac_status=$?
10279   grep -v '^ *+' conftest.er1 >conftest.err
10280   rm -f conftest.er1
10281   cat conftest.err >&5
10282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10283   (exit $ac_status); } &&
10284          { ac_try='test -z "$ac_cxx_werror_flag"
10285                          || test ! -s conftest.err'
10286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10287   (eval $ac_try) 2>&5
10288   ac_status=$?
10289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10290   (exit $ac_status); }; } &&
10291          { ac_try='test -s conftest.$ac_objext'
10292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10293   (eval $ac_try) 2>&5
10294   ac_status=$?
10295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10296   (exit $ac_status); }; }; then
10297   glibcxx_cv_func_fpclass_use=yes
10298 else
10299   echo "$as_me: failed program was:" >&5
10300 sed 's/^/| /' conftest.$ac_ext >&5
10301
10302 glibcxx_cv_func_fpclass_use=no
10303 fi
10304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10305       ac_ext=c
10306 ac_cpp='$CPP $CPPFLAGS'
10307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10310
10311
10312 fi
10313
10314   fi
10315   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10316 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10317
10318   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10319
10320 for ac_func in fpclass
10321 do
10322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10323 echo "$as_me:$LINENO: checking for $ac_func" >&5
10324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10325 if eval "test \"\${$as_ac_var+set}\" = set"; then
10326   echo $ECHO_N "(cached) $ECHO_C" >&6
10327 else
10328   if test x$gcc_no_link = xyes; then
10329   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10331    { (exit 1); exit 1; }; }
10332 fi
10333 cat >conftest.$ac_ext <<_ACEOF
10334 /* confdefs.h.  */
10335 _ACEOF
10336 cat confdefs.h >>conftest.$ac_ext
10337 cat >>conftest.$ac_ext <<_ACEOF
10338 /* end confdefs.h.  */
10339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10340    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10341 #define $ac_func innocuous_$ac_func
10342
10343 /* System header to define __stub macros and hopefully few prototypes,
10344     which can conflict with char $ac_func (); below.
10345     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10346     <limits.h> exists even on freestanding compilers.  */
10347
10348 #ifdef __STDC__
10349 # include <limits.h>
10350 #else
10351 # include <assert.h>
10352 #endif
10353
10354 #undef $ac_func
10355
10356 /* Override any gcc2 internal prototype to avoid an error.  */
10357 #ifdef __cplusplus
10358 extern "C"
10359 {
10360 #endif
10361 /* We use char because int might match the return type of a gcc2
10362    builtin and then its argument prototype would still apply.  */
10363 char $ac_func ();
10364 /* The GNU C library defines this for functions which it implements
10365     to always fail with ENOSYS.  Some functions are actually named
10366     something starting with __ and the normal name is an alias.  */
10367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10368 choke me
10369 #else
10370 char (*f) () = $ac_func;
10371 #endif
10372 #ifdef __cplusplus
10373 }
10374 #endif
10375
10376 int
10377 main ()
10378 {
10379 return f != $ac_func;
10380   ;
10381   return 0;
10382 }
10383 _ACEOF
10384 rm -f conftest.$ac_objext conftest$ac_exeext
10385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10386   (eval $ac_link) 2>conftest.er1
10387   ac_status=$?
10388   grep -v '^ *+' conftest.er1 >conftest.err
10389   rm -f conftest.er1
10390   cat conftest.err >&5
10391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10392   (exit $ac_status); } &&
10393          { ac_try='test -z "$ac_c_werror_flag"
10394                          || test ! -s conftest.err'
10395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10396   (eval $ac_try) 2>&5
10397   ac_status=$?
10398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10399   (exit $ac_status); }; } &&
10400          { ac_try='test -s conftest$ac_exeext'
10401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10402   (eval $ac_try) 2>&5
10403   ac_status=$?
10404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10405   (exit $ac_status); }; }; then
10406   eval "$as_ac_var=yes"
10407 else
10408   echo "$as_me: failed program was:" >&5
10409 sed 's/^/| /' conftest.$ac_ext >&5
10410
10411 eval "$as_ac_var=no"
10412 fi
10413 rm -f conftest.err conftest.$ac_objext \
10414       conftest$ac_exeext conftest.$ac_ext
10415 fi
10416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10418 if test `eval echo '${'$as_ac_var'}'` = yes; then
10419   cat >>confdefs.h <<_ACEOF
10420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10421 _ACEOF
10422
10423 fi
10424 done
10425
10426   else
10427
10428   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10429 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10430   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10431     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10432   echo $ECHO_N "(cached) $ECHO_C" >&6
10433 else
10434
10435
10436
10437       ac_ext=cc
10438 ac_cpp='$CXXCPP $CPPFLAGS'
10439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10442
10443       cat >conftest.$ac_ext <<_ACEOF
10444 /* confdefs.h.  */
10445 _ACEOF
10446 cat confdefs.h >>conftest.$ac_ext
10447 cat >>conftest.$ac_ext <<_ACEOF
10448 /* end confdefs.h.  */
10449 #include <math.h>
10450                       #ifdef HAVE_IEEEFP_H
10451                       #include <ieeefp.h>
10452                       #endif
10453
10454 int
10455 main ()
10456 {
10457  _fpclass(0);
10458   ;
10459   return 0;
10460 }
10461 _ACEOF
10462 rm -f conftest.$ac_objext
10463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10464   (eval $ac_compile) 2>conftest.er1
10465   ac_status=$?
10466   grep -v '^ *+' conftest.er1 >conftest.err
10467   rm -f conftest.er1
10468   cat conftest.err >&5
10469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10470   (exit $ac_status); } &&
10471          { ac_try='test -z "$ac_cxx_werror_flag"
10472                          || test ! -s conftest.err'
10473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10474   (eval $ac_try) 2>&5
10475   ac_status=$?
10476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10477   (exit $ac_status); }; } &&
10478          { ac_try='test -s conftest.$ac_objext'
10479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10480   (eval $ac_try) 2>&5
10481   ac_status=$?
10482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10483   (exit $ac_status); }; }; then
10484   glibcxx_cv_func__fpclass_use=yes
10485 else
10486   echo "$as_me: failed program was:" >&5
10487 sed 's/^/| /' conftest.$ac_ext >&5
10488
10489 glibcxx_cv_func__fpclass_use=no
10490 fi
10491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10492       ac_ext=c
10493 ac_cpp='$CPP $CPPFLAGS'
10494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10497
10498
10499 fi
10500
10501   fi
10502   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10503 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10504
10505     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10506
10507 for ac_func in _fpclass
10508 do
10509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10510 echo "$as_me:$LINENO: checking for $ac_func" >&5
10511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10512 if eval "test \"\${$as_ac_var+set}\" = set"; then
10513   echo $ECHO_N "(cached) $ECHO_C" >&6
10514 else
10515   if test x$gcc_no_link = xyes; then
10516   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10518    { (exit 1); exit 1; }; }
10519 fi
10520 cat >conftest.$ac_ext <<_ACEOF
10521 /* confdefs.h.  */
10522 _ACEOF
10523 cat confdefs.h >>conftest.$ac_ext
10524 cat >>conftest.$ac_ext <<_ACEOF
10525 /* end confdefs.h.  */
10526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10527    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10528 #define $ac_func innocuous_$ac_func
10529
10530 /* System header to define __stub macros and hopefully few prototypes,
10531     which can conflict with char $ac_func (); below.
10532     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10533     <limits.h> exists even on freestanding compilers.  */
10534
10535 #ifdef __STDC__
10536 # include <limits.h>
10537 #else
10538 # include <assert.h>
10539 #endif
10540
10541 #undef $ac_func
10542
10543 /* Override any gcc2 internal prototype to avoid an error.  */
10544 #ifdef __cplusplus
10545 extern "C"
10546 {
10547 #endif
10548 /* We use char because int might match the return type of a gcc2
10549    builtin and then its argument prototype would still apply.  */
10550 char $ac_func ();
10551 /* The GNU C library defines this for functions which it implements
10552     to always fail with ENOSYS.  Some functions are actually named
10553     something starting with __ and the normal name is an alias.  */
10554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10555 choke me
10556 #else
10557 char (*f) () = $ac_func;
10558 #endif
10559 #ifdef __cplusplus
10560 }
10561 #endif
10562
10563 int
10564 main ()
10565 {
10566 return f != $ac_func;
10567   ;
10568   return 0;
10569 }
10570 _ACEOF
10571 rm -f conftest.$ac_objext conftest$ac_exeext
10572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10573   (eval $ac_link) 2>conftest.er1
10574   ac_status=$?
10575   grep -v '^ *+' conftest.er1 >conftest.err
10576   rm -f conftest.er1
10577   cat conftest.err >&5
10578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10579   (exit $ac_status); } &&
10580          { ac_try='test -z "$ac_c_werror_flag"
10581                          || test ! -s conftest.err'
10582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10583   (eval $ac_try) 2>&5
10584   ac_status=$?
10585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10586   (exit $ac_status); }; } &&
10587          { ac_try='test -s conftest$ac_exeext'
10588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10589   (eval $ac_try) 2>&5
10590   ac_status=$?
10591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10592   (exit $ac_status); }; }; then
10593   eval "$as_ac_var=yes"
10594 else
10595   echo "$as_me: failed program was:" >&5
10596 sed 's/^/| /' conftest.$ac_ext >&5
10597
10598 eval "$as_ac_var=no"
10599 fi
10600 rm -f conftest.err conftest.$ac_objext \
10601       conftest$ac_exeext conftest.$ac_ext
10602 fi
10603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10605 if test `eval echo '${'$as_ac_var'}'` = yes; then
10606   cat >>confdefs.h <<_ACEOF
10607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10608 _ACEOF
10609
10610 fi
10611 done
10612
10613     fi
10614   fi
10615
10616
10617
10618
10619
10620
10621   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10622 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10623   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10624     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10625   echo $ECHO_N "(cached) $ECHO_C" >&6
10626 else
10627
10628
10629
10630       ac_ext=cc
10631 ac_cpp='$CXXCPP $CPPFLAGS'
10632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10635
10636       cat >conftest.$ac_ext <<_ACEOF
10637 /* confdefs.h.  */
10638 _ACEOF
10639 cat confdefs.h >>conftest.$ac_ext
10640 cat >>conftest.$ac_ext <<_ACEOF
10641 /* end confdefs.h.  */
10642 #include <math.h>
10643                       #ifdef HAVE_IEEEFP_H
10644                       #include <ieeefp.h>
10645                       #endif
10646
10647 int
10648 main ()
10649 {
10650  qfpclass(0);
10651   ;
10652   return 0;
10653 }
10654 _ACEOF
10655 rm -f conftest.$ac_objext
10656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10657   (eval $ac_compile) 2>conftest.er1
10658   ac_status=$?
10659   grep -v '^ *+' conftest.er1 >conftest.err
10660   rm -f conftest.er1
10661   cat conftest.err >&5
10662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10663   (exit $ac_status); } &&
10664          { ac_try='test -z "$ac_cxx_werror_flag"
10665                          || test ! -s conftest.err'
10666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10667   (eval $ac_try) 2>&5
10668   ac_status=$?
10669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10670   (exit $ac_status); }; } &&
10671          { ac_try='test -s conftest.$ac_objext'
10672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10673   (eval $ac_try) 2>&5
10674   ac_status=$?
10675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10676   (exit $ac_status); }; }; then
10677   glibcxx_cv_func_qfpclass_use=yes
10678 else
10679   echo "$as_me: failed program was:" >&5
10680 sed 's/^/| /' conftest.$ac_ext >&5
10681
10682 glibcxx_cv_func_qfpclass_use=no
10683 fi
10684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10685       ac_ext=c
10686 ac_cpp='$CPP $CPPFLAGS'
10687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10690
10691
10692 fi
10693
10694   fi
10695   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10696 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10697
10698   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10699
10700 for ac_func in qfpclass
10701 do
10702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10703 echo "$as_me:$LINENO: checking for $ac_func" >&5
10704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10705 if eval "test \"\${$as_ac_var+set}\" = set"; then
10706   echo $ECHO_N "(cached) $ECHO_C" >&6
10707 else
10708   if test x$gcc_no_link = xyes; then
10709   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10711    { (exit 1); exit 1; }; }
10712 fi
10713 cat >conftest.$ac_ext <<_ACEOF
10714 /* confdefs.h.  */
10715 _ACEOF
10716 cat confdefs.h >>conftest.$ac_ext
10717 cat >>conftest.$ac_ext <<_ACEOF
10718 /* end confdefs.h.  */
10719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10720    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10721 #define $ac_func innocuous_$ac_func
10722
10723 /* System header to define __stub macros and hopefully few prototypes,
10724     which can conflict with char $ac_func (); below.
10725     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10726     <limits.h> exists even on freestanding compilers.  */
10727
10728 #ifdef __STDC__
10729 # include <limits.h>
10730 #else
10731 # include <assert.h>
10732 #endif
10733
10734 #undef $ac_func
10735
10736 /* Override any gcc2 internal prototype to avoid an error.  */
10737 #ifdef __cplusplus
10738 extern "C"
10739 {
10740 #endif
10741 /* We use char because int might match the return type of a gcc2
10742    builtin and then its argument prototype would still apply.  */
10743 char $ac_func ();
10744 /* The GNU C library defines this for functions which it implements
10745     to always fail with ENOSYS.  Some functions are actually named
10746     something starting with __ and the normal name is an alias.  */
10747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10748 choke me
10749 #else
10750 char (*f) () = $ac_func;
10751 #endif
10752 #ifdef __cplusplus
10753 }
10754 #endif
10755
10756 int
10757 main ()
10758 {
10759 return f != $ac_func;
10760   ;
10761   return 0;
10762 }
10763 _ACEOF
10764 rm -f conftest.$ac_objext conftest$ac_exeext
10765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10766   (eval $ac_link) 2>conftest.er1
10767   ac_status=$?
10768   grep -v '^ *+' conftest.er1 >conftest.err
10769   rm -f conftest.er1
10770   cat conftest.err >&5
10771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10772   (exit $ac_status); } &&
10773          { ac_try='test -z "$ac_c_werror_flag"
10774                          || test ! -s conftest.err'
10775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10776   (eval $ac_try) 2>&5
10777   ac_status=$?
10778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10779   (exit $ac_status); }; } &&
10780          { ac_try='test -s conftest$ac_exeext'
10781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10782   (eval $ac_try) 2>&5
10783   ac_status=$?
10784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10785   (exit $ac_status); }; }; then
10786   eval "$as_ac_var=yes"
10787 else
10788   echo "$as_me: failed program was:" >&5
10789 sed 's/^/| /' conftest.$ac_ext >&5
10790
10791 eval "$as_ac_var=no"
10792 fi
10793 rm -f conftest.err conftest.$ac_objext \
10794       conftest$ac_exeext conftest.$ac_ext
10795 fi
10796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10798 if test `eval echo '${'$as_ac_var'}'` = yes; then
10799   cat >>confdefs.h <<_ACEOF
10800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10801 _ACEOF
10802
10803 fi
10804 done
10805
10806   else
10807
10808   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
10809 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
10810   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
10811     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
10812   echo $ECHO_N "(cached) $ECHO_C" >&6
10813 else
10814
10815
10816
10817       ac_ext=cc
10818 ac_cpp='$CXXCPP $CPPFLAGS'
10819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10822
10823       cat >conftest.$ac_ext <<_ACEOF
10824 /* confdefs.h.  */
10825 _ACEOF
10826 cat confdefs.h >>conftest.$ac_ext
10827 cat >>conftest.$ac_ext <<_ACEOF
10828 /* end confdefs.h.  */
10829 #include <math.h>
10830                       #ifdef HAVE_IEEEFP_H
10831                       #include <ieeefp.h>
10832                       #endif
10833
10834 int
10835 main ()
10836 {
10837  _qfpclass(0);
10838   ;
10839   return 0;
10840 }
10841 _ACEOF
10842 rm -f conftest.$ac_objext
10843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10844   (eval $ac_compile) 2>conftest.er1
10845   ac_status=$?
10846   grep -v '^ *+' conftest.er1 >conftest.err
10847   rm -f conftest.er1
10848   cat conftest.err >&5
10849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10850   (exit $ac_status); } &&
10851          { ac_try='test -z "$ac_cxx_werror_flag"
10852                          || test ! -s conftest.err'
10853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10854   (eval $ac_try) 2>&5
10855   ac_status=$?
10856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10857   (exit $ac_status); }; } &&
10858          { ac_try='test -s conftest.$ac_objext'
10859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10860   (eval $ac_try) 2>&5
10861   ac_status=$?
10862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10863   (exit $ac_status); }; }; then
10864   glibcxx_cv_func__qfpclass_use=yes
10865 else
10866   echo "$as_me: failed program was:" >&5
10867 sed 's/^/| /' conftest.$ac_ext >&5
10868
10869 glibcxx_cv_func__qfpclass_use=no
10870 fi
10871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10872       ac_ext=c
10873 ac_cpp='$CPP $CPPFLAGS'
10874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10877
10878
10879 fi
10880
10881   fi
10882   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10883 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10884
10885     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10886
10887 for ac_func in _qfpclass
10888 do
10889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10890 echo "$as_me:$LINENO: checking for $ac_func" >&5
10891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10892 if eval "test \"\${$as_ac_var+set}\" = set"; then
10893   echo $ECHO_N "(cached) $ECHO_C" >&6
10894 else
10895   if test x$gcc_no_link = xyes; then
10896   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10898    { (exit 1); exit 1; }; }
10899 fi
10900 cat >conftest.$ac_ext <<_ACEOF
10901 /* confdefs.h.  */
10902 _ACEOF
10903 cat confdefs.h >>conftest.$ac_ext
10904 cat >>conftest.$ac_ext <<_ACEOF
10905 /* end confdefs.h.  */
10906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10907    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10908 #define $ac_func innocuous_$ac_func
10909
10910 /* System header to define __stub macros and hopefully few prototypes,
10911     which can conflict with char $ac_func (); below.
10912     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10913     <limits.h> exists even on freestanding compilers.  */
10914
10915 #ifdef __STDC__
10916 # include <limits.h>
10917 #else
10918 # include <assert.h>
10919 #endif
10920
10921 #undef $ac_func
10922
10923 /* Override any gcc2 internal prototype to avoid an error.  */
10924 #ifdef __cplusplus
10925 extern "C"
10926 {
10927 #endif
10928 /* We use char because int might match the return type of a gcc2
10929    builtin and then its argument prototype would still apply.  */
10930 char $ac_func ();
10931 /* The GNU C library defines this for functions which it implements
10932     to always fail with ENOSYS.  Some functions are actually named
10933     something starting with __ and the normal name is an alias.  */
10934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10935 choke me
10936 #else
10937 char (*f) () = $ac_func;
10938 #endif
10939 #ifdef __cplusplus
10940 }
10941 #endif
10942
10943 int
10944 main ()
10945 {
10946 return f != $ac_func;
10947   ;
10948   return 0;
10949 }
10950 _ACEOF
10951 rm -f conftest.$ac_objext conftest$ac_exeext
10952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10953   (eval $ac_link) 2>conftest.er1
10954   ac_status=$?
10955   grep -v '^ *+' conftest.er1 >conftest.err
10956   rm -f conftest.er1
10957   cat conftest.err >&5
10958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10959   (exit $ac_status); } &&
10960          { ac_try='test -z "$ac_c_werror_flag"
10961                          || test ! -s conftest.err'
10962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10963   (eval $ac_try) 2>&5
10964   ac_status=$?
10965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10966   (exit $ac_status); }; } &&
10967          { ac_try='test -s conftest$ac_exeext'
10968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10969   (eval $ac_try) 2>&5
10970   ac_status=$?
10971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10972   (exit $ac_status); }; }; then
10973   eval "$as_ac_var=yes"
10974 else
10975   echo "$as_me: failed program was:" >&5
10976 sed 's/^/| /' conftest.$ac_ext >&5
10977
10978 eval "$as_ac_var=no"
10979 fi
10980 rm -f conftest.err conftest.$ac_objext \
10981       conftest$ac_exeext conftest.$ac_ext
10982 fi
10983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10984 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10985 if test `eval echo '${'$as_ac_var'}'` = yes; then
10986   cat >>confdefs.h <<_ACEOF
10987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10988 _ACEOF
10989
10990 fi
10991 done
10992
10993     fi
10994   fi
10995
10996
10997
10998
10999
11000
11001   echo "$as_me:$LINENO: checking for hypot declaration" >&5
11002 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
11003   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
11004     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
11005   echo $ECHO_N "(cached) $ECHO_C" >&6
11006 else
11007
11008
11009
11010       ac_ext=cc
11011 ac_cpp='$CXXCPP $CPPFLAGS'
11012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11015
11016       cat >conftest.$ac_ext <<_ACEOF
11017 /* confdefs.h.  */
11018 _ACEOF
11019 cat confdefs.h >>conftest.$ac_ext
11020 cat >>conftest.$ac_ext <<_ACEOF
11021 /* end confdefs.h.  */
11022 #include <math.h>
11023 int
11024 main ()
11025 {
11026  hypot(0, 0);
11027   ;
11028   return 0;
11029 }
11030 _ACEOF
11031 rm -f conftest.$ac_objext
11032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11033   (eval $ac_compile) 2>conftest.er1
11034   ac_status=$?
11035   grep -v '^ *+' conftest.er1 >conftest.err
11036   rm -f conftest.er1
11037   cat conftest.err >&5
11038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11039   (exit $ac_status); } &&
11040          { ac_try='test -z "$ac_cxx_werror_flag"
11041                          || test ! -s conftest.err'
11042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11043   (eval $ac_try) 2>&5
11044   ac_status=$?
11045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11046   (exit $ac_status); }; } &&
11047          { ac_try='test -s conftest.$ac_objext'
11048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11049   (eval $ac_try) 2>&5
11050   ac_status=$?
11051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11052   (exit $ac_status); }; }; then
11053   glibcxx_cv_func_hypot_use=yes
11054 else
11055   echo "$as_me: failed program was:" >&5
11056 sed 's/^/| /' conftest.$ac_ext >&5
11057
11058 glibcxx_cv_func_hypot_use=no
11059 fi
11060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11061       ac_ext=c
11062 ac_cpp='$CPP $CPPFLAGS'
11063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11066
11067
11068 fi
11069
11070   fi
11071   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11072 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11073
11074   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11075
11076 for ac_func in hypot
11077 do
11078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11079 echo "$as_me:$LINENO: checking for $ac_func" >&5
11080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11081 if eval "test \"\${$as_ac_var+set}\" = set"; then
11082   echo $ECHO_N "(cached) $ECHO_C" >&6
11083 else
11084   if test x$gcc_no_link = xyes; then
11085   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11087    { (exit 1); exit 1; }; }
11088 fi
11089 cat >conftest.$ac_ext <<_ACEOF
11090 /* confdefs.h.  */
11091 _ACEOF
11092 cat confdefs.h >>conftest.$ac_ext
11093 cat >>conftest.$ac_ext <<_ACEOF
11094 /* end confdefs.h.  */
11095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11096    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11097 #define $ac_func innocuous_$ac_func
11098
11099 /* System header to define __stub macros and hopefully few prototypes,
11100     which can conflict with char $ac_func (); below.
11101     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11102     <limits.h> exists even on freestanding compilers.  */
11103
11104 #ifdef __STDC__
11105 # include <limits.h>
11106 #else
11107 # include <assert.h>
11108 #endif
11109
11110 #undef $ac_func
11111
11112 /* Override any gcc2 internal prototype to avoid an error.  */
11113 #ifdef __cplusplus
11114 extern "C"
11115 {
11116 #endif
11117 /* We use char because int might match the return type of a gcc2
11118    builtin and then its argument prototype would still apply.  */
11119 char $ac_func ();
11120 /* The GNU C library defines this for functions which it implements
11121     to always fail with ENOSYS.  Some functions are actually named
11122     something starting with __ and the normal name is an alias.  */
11123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11124 choke me
11125 #else
11126 char (*f) () = $ac_func;
11127 #endif
11128 #ifdef __cplusplus
11129 }
11130 #endif
11131
11132 int
11133 main ()
11134 {
11135 return f != $ac_func;
11136   ;
11137   return 0;
11138 }
11139 _ACEOF
11140 rm -f conftest.$ac_objext conftest$ac_exeext
11141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11142   (eval $ac_link) 2>conftest.er1
11143   ac_status=$?
11144   grep -v '^ *+' conftest.er1 >conftest.err
11145   rm -f conftest.er1
11146   cat conftest.err >&5
11147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11148   (exit $ac_status); } &&
11149          { ac_try='test -z "$ac_c_werror_flag"
11150                          || test ! -s conftest.err'
11151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11152   (eval $ac_try) 2>&5
11153   ac_status=$?
11154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11155   (exit $ac_status); }; } &&
11156          { ac_try='test -s conftest$ac_exeext'
11157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11158   (eval $ac_try) 2>&5
11159   ac_status=$?
11160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11161   (exit $ac_status); }; }; then
11162   eval "$as_ac_var=yes"
11163 else
11164   echo "$as_me: failed program was:" >&5
11165 sed 's/^/| /' conftest.$ac_ext >&5
11166
11167 eval "$as_ac_var=no"
11168 fi
11169 rm -f conftest.err conftest.$ac_objext \
11170       conftest$ac_exeext conftest.$ac_ext
11171 fi
11172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11174 if test `eval echo '${'$as_ac_var'}'` = yes; then
11175   cat >>confdefs.h <<_ACEOF
11176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11177 _ACEOF
11178
11179 fi
11180 done
11181
11182   else
11183
11184   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11185 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11186   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11187     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11188   echo $ECHO_N "(cached) $ECHO_C" >&6
11189 else
11190
11191
11192
11193       ac_ext=cc
11194 ac_cpp='$CXXCPP $CPPFLAGS'
11195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11198
11199       cat >conftest.$ac_ext <<_ACEOF
11200 /* confdefs.h.  */
11201 _ACEOF
11202 cat confdefs.h >>conftest.$ac_ext
11203 cat >>conftest.$ac_ext <<_ACEOF
11204 /* end confdefs.h.  */
11205 #include <math.h>
11206 int
11207 main ()
11208 {
11209  _hypot(0, 0);
11210   ;
11211   return 0;
11212 }
11213 _ACEOF
11214 rm -f conftest.$ac_objext
11215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11216   (eval $ac_compile) 2>conftest.er1
11217   ac_status=$?
11218   grep -v '^ *+' conftest.er1 >conftest.err
11219   rm -f conftest.er1
11220   cat conftest.err >&5
11221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11222   (exit $ac_status); } &&
11223          { ac_try='test -z "$ac_cxx_werror_flag"
11224                          || test ! -s conftest.err'
11225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11226   (eval $ac_try) 2>&5
11227   ac_status=$?
11228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11229   (exit $ac_status); }; } &&
11230          { ac_try='test -s conftest.$ac_objext'
11231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11232   (eval $ac_try) 2>&5
11233   ac_status=$?
11234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11235   (exit $ac_status); }; }; then
11236   glibcxx_cv_func__hypot_use=yes
11237 else
11238   echo "$as_me: failed program was:" >&5
11239 sed 's/^/| /' conftest.$ac_ext >&5
11240
11241 glibcxx_cv_func__hypot_use=no
11242 fi
11243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11244       ac_ext=c
11245 ac_cpp='$CPP $CPPFLAGS'
11246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11249
11250
11251 fi
11252
11253   fi
11254   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11255 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11256
11257     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11258
11259 for ac_func in _hypot
11260 do
11261 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11262 echo "$as_me:$LINENO: checking for $ac_func" >&5
11263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11264 if eval "test \"\${$as_ac_var+set}\" = set"; then
11265   echo $ECHO_N "(cached) $ECHO_C" >&6
11266 else
11267   if test x$gcc_no_link = xyes; then
11268   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11270    { (exit 1); exit 1; }; }
11271 fi
11272 cat >conftest.$ac_ext <<_ACEOF
11273 /* confdefs.h.  */
11274 _ACEOF
11275 cat confdefs.h >>conftest.$ac_ext
11276 cat >>conftest.$ac_ext <<_ACEOF
11277 /* end confdefs.h.  */
11278 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11279    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11280 #define $ac_func innocuous_$ac_func
11281
11282 /* System header to define __stub macros and hopefully few prototypes,
11283     which can conflict with char $ac_func (); below.
11284     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11285     <limits.h> exists even on freestanding compilers.  */
11286
11287 #ifdef __STDC__
11288 # include <limits.h>
11289 #else
11290 # include <assert.h>
11291 #endif
11292
11293 #undef $ac_func
11294
11295 /* Override any gcc2 internal prototype to avoid an error.  */
11296 #ifdef __cplusplus
11297 extern "C"
11298 {
11299 #endif
11300 /* We use char because int might match the return type of a gcc2
11301    builtin and then its argument prototype would still apply.  */
11302 char $ac_func ();
11303 /* The GNU C library defines this for functions which it implements
11304     to always fail with ENOSYS.  Some functions are actually named
11305     something starting with __ and the normal name is an alias.  */
11306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11307 choke me
11308 #else
11309 char (*f) () = $ac_func;
11310 #endif
11311 #ifdef __cplusplus
11312 }
11313 #endif
11314
11315 int
11316 main ()
11317 {
11318 return f != $ac_func;
11319   ;
11320   return 0;
11321 }
11322 _ACEOF
11323 rm -f conftest.$ac_objext conftest$ac_exeext
11324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11325   (eval $ac_link) 2>conftest.er1
11326   ac_status=$?
11327   grep -v '^ *+' conftest.er1 >conftest.err
11328   rm -f conftest.er1
11329   cat conftest.err >&5
11330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11331   (exit $ac_status); } &&
11332          { ac_try='test -z "$ac_c_werror_flag"
11333                          || test ! -s conftest.err'
11334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11335   (eval $ac_try) 2>&5
11336   ac_status=$?
11337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11338   (exit $ac_status); }; } &&
11339          { ac_try='test -s conftest$ac_exeext'
11340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11341   (eval $ac_try) 2>&5
11342   ac_status=$?
11343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11344   (exit $ac_status); }; }; then
11345   eval "$as_ac_var=yes"
11346 else
11347   echo "$as_me: failed program was:" >&5
11348 sed 's/^/| /' conftest.$ac_ext >&5
11349
11350 eval "$as_ac_var=no"
11351 fi
11352 rm -f conftest.err conftest.$ac_objext \
11353       conftest$ac_exeext conftest.$ac_ext
11354 fi
11355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11356 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11357 if test `eval echo '${'$as_ac_var'}'` = yes; then
11358   cat >>confdefs.h <<_ACEOF
11359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11360 _ACEOF
11361
11362 fi
11363 done
11364
11365     fi
11366   fi
11367
11368
11369
11370
11371
11372
11373     echo "$as_me:$LINENO: checking for float trig functions" >&5
11374 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11375   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11376   echo $ECHO_N "(cached) $ECHO_C" >&6
11377 else
11378
11379
11380
11381     ac_ext=cc
11382 ac_cpp='$CXXCPP $CPPFLAGS'
11383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11386
11387     cat >conftest.$ac_ext <<_ACEOF
11388 /* confdefs.h.  */
11389 _ACEOF
11390 cat confdefs.h >>conftest.$ac_ext
11391 cat >>conftest.$ac_ext <<_ACEOF
11392 /* end confdefs.h.  */
11393 #include <math.h>
11394 int
11395 main ()
11396 {
11397 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
11398   ;
11399   return 0;
11400 }
11401 _ACEOF
11402 rm -f conftest.$ac_objext
11403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11404   (eval $ac_compile) 2>conftest.er1
11405   ac_status=$?
11406   grep -v '^ *+' conftest.er1 >conftest.err
11407   rm -f conftest.er1
11408   cat conftest.err >&5
11409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11410   (exit $ac_status); } &&
11411          { ac_try='test -z "$ac_cxx_werror_flag"
11412                          || test ! -s conftest.err'
11413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11414   (eval $ac_try) 2>&5
11415   ac_status=$?
11416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11417   (exit $ac_status); }; } &&
11418          { ac_try='test -s conftest.$ac_objext'
11419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11420   (eval $ac_try) 2>&5
11421   ac_status=$?
11422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11423   (exit $ac_status); }; }; then
11424   glibcxx_cv_func_float_trig_use=yes
11425 else
11426   echo "$as_me: failed program was:" >&5
11427 sed 's/^/| /' conftest.$ac_ext >&5
11428
11429 glibcxx_cv_func_float_trig_use=no
11430 fi
11431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11432     ac_ext=c
11433 ac_cpp='$CPP $CPPFLAGS'
11434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11437
11438 fi
11439
11440   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11441 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11442   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
11453 do
11454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11455 echo "$as_me:$LINENO: checking for $ac_func" >&5
11456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11457 if eval "test \"\${$as_ac_var+set}\" = set"; then
11458   echo $ECHO_N "(cached) $ECHO_C" >&6
11459 else
11460   if test x$gcc_no_link = xyes; then
11461   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11463    { (exit 1); exit 1; }; }
11464 fi
11465 cat >conftest.$ac_ext <<_ACEOF
11466 /* confdefs.h.  */
11467 _ACEOF
11468 cat confdefs.h >>conftest.$ac_ext
11469 cat >>conftest.$ac_ext <<_ACEOF
11470 /* end confdefs.h.  */
11471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11472    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11473 #define $ac_func innocuous_$ac_func
11474
11475 /* System header to define __stub macros and hopefully few prototypes,
11476     which can conflict with char $ac_func (); below.
11477     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11478     <limits.h> exists even on freestanding compilers.  */
11479
11480 #ifdef __STDC__
11481 # include <limits.h>
11482 #else
11483 # include <assert.h>
11484 #endif
11485
11486 #undef $ac_func
11487
11488 /* Override any gcc2 internal prototype to avoid an error.  */
11489 #ifdef __cplusplus
11490 extern "C"
11491 {
11492 #endif
11493 /* We use char because int might match the return type of a gcc2
11494    builtin and then its argument prototype would still apply.  */
11495 char $ac_func ();
11496 /* The GNU C library defines this for functions which it implements
11497     to always fail with ENOSYS.  Some functions are actually named
11498     something starting with __ and the normal name is an alias.  */
11499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11500 choke me
11501 #else
11502 char (*f) () = $ac_func;
11503 #endif
11504 #ifdef __cplusplus
11505 }
11506 #endif
11507
11508 int
11509 main ()
11510 {
11511 return f != $ac_func;
11512   ;
11513   return 0;
11514 }
11515 _ACEOF
11516 rm -f conftest.$ac_objext conftest$ac_exeext
11517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11518   (eval $ac_link) 2>conftest.er1
11519   ac_status=$?
11520   grep -v '^ *+' conftest.er1 >conftest.err
11521   rm -f conftest.er1
11522   cat conftest.err >&5
11523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11524   (exit $ac_status); } &&
11525          { ac_try='test -z "$ac_c_werror_flag"
11526                          || test ! -s conftest.err'
11527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11528   (eval $ac_try) 2>&5
11529   ac_status=$?
11530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11531   (exit $ac_status); }; } &&
11532          { ac_try='test -s conftest$ac_exeext'
11533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11534   (eval $ac_try) 2>&5
11535   ac_status=$?
11536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11537   (exit $ac_status); }; }; then
11538   eval "$as_ac_var=yes"
11539 else
11540   echo "$as_me: failed program was:" >&5
11541 sed 's/^/| /' conftest.$ac_ext >&5
11542
11543 eval "$as_ac_var=no"
11544 fi
11545 rm -f conftest.err conftest.$ac_objext \
11546       conftest$ac_exeext conftest.$ac_ext
11547 fi
11548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11550 if test `eval echo '${'$as_ac_var'}'` = yes; then
11551   cat >>confdefs.h <<_ACEOF
11552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11553 _ACEOF
11554
11555 fi
11556 done
11557
11558   else
11559     echo "$as_me:$LINENO: checking for _float trig functions" >&5
11560 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
11561     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
11562   echo $ECHO_N "(cached) $ECHO_C" >&6
11563 else
11564
11565
11566
11567       ac_ext=cc
11568 ac_cpp='$CXXCPP $CPPFLAGS'
11569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11572
11573       cat >conftest.$ac_ext <<_ACEOF
11574 /* confdefs.h.  */
11575 _ACEOF
11576 cat confdefs.h >>conftest.$ac_ext
11577 cat >>conftest.$ac_ext <<_ACEOF
11578 /* end confdefs.h.  */
11579 #include <math.h>
11580 int
11581 main ()
11582 {
11583 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
11584   ;
11585   return 0;
11586 }
11587 _ACEOF
11588 rm -f conftest.$ac_objext
11589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11590   (eval $ac_compile) 2>conftest.er1
11591   ac_status=$?
11592   grep -v '^ *+' conftest.er1 >conftest.err
11593   rm -f conftest.er1
11594   cat conftest.err >&5
11595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11596   (exit $ac_status); } &&
11597          { ac_try='test -z "$ac_cxx_werror_flag"
11598                          || test ! -s conftest.err'
11599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11600   (eval $ac_try) 2>&5
11601   ac_status=$?
11602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11603   (exit $ac_status); }; } &&
11604          { ac_try='test -s conftest.$ac_objext'
11605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11606   (eval $ac_try) 2>&5
11607   ac_status=$?
11608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11609   (exit $ac_status); }; }; then
11610   glibcxx_cv_func__float_trig_use=yes
11611 else
11612   echo "$as_me: failed program was:" >&5
11613 sed 's/^/| /' conftest.$ac_ext >&5
11614
11615 glibcxx_cv_func__float_trig_use=no
11616 fi
11617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11618       ac_ext=c
11619 ac_cpp='$CPP $CPPFLAGS'
11620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11623
11624 fi
11625
11626     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
11627 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
11628     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
11639 do
11640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11641 echo "$as_me:$LINENO: checking for $ac_func" >&5
11642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11643 if eval "test \"\${$as_ac_var+set}\" = set"; then
11644   echo $ECHO_N "(cached) $ECHO_C" >&6
11645 else
11646   if test x$gcc_no_link = xyes; then
11647   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11649    { (exit 1); exit 1; }; }
11650 fi
11651 cat >conftest.$ac_ext <<_ACEOF
11652 /* confdefs.h.  */
11653 _ACEOF
11654 cat confdefs.h >>conftest.$ac_ext
11655 cat >>conftest.$ac_ext <<_ACEOF
11656 /* end confdefs.h.  */
11657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11658    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11659 #define $ac_func innocuous_$ac_func
11660
11661 /* System header to define __stub macros and hopefully few prototypes,
11662     which can conflict with char $ac_func (); below.
11663     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11664     <limits.h> exists even on freestanding compilers.  */
11665
11666 #ifdef __STDC__
11667 # include <limits.h>
11668 #else
11669 # include <assert.h>
11670 #endif
11671
11672 #undef $ac_func
11673
11674 /* Override any gcc2 internal prototype to avoid an error.  */
11675 #ifdef __cplusplus
11676 extern "C"
11677 {
11678 #endif
11679 /* We use char because int might match the return type of a gcc2
11680    builtin and then its argument prototype would still apply.  */
11681 char $ac_func ();
11682 /* The GNU C library defines this for functions which it implements
11683     to always fail with ENOSYS.  Some functions are actually named
11684     something starting with __ and the normal name is an alias.  */
11685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11686 choke me
11687 #else
11688 char (*f) () = $ac_func;
11689 #endif
11690 #ifdef __cplusplus
11691 }
11692 #endif
11693
11694 int
11695 main ()
11696 {
11697 return f != $ac_func;
11698   ;
11699   return 0;
11700 }
11701 _ACEOF
11702 rm -f conftest.$ac_objext conftest$ac_exeext
11703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11704   (eval $ac_link) 2>conftest.er1
11705   ac_status=$?
11706   grep -v '^ *+' conftest.er1 >conftest.err
11707   rm -f conftest.er1
11708   cat conftest.err >&5
11709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11710   (exit $ac_status); } &&
11711          { ac_try='test -z "$ac_c_werror_flag"
11712                          || test ! -s conftest.err'
11713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11714   (eval $ac_try) 2>&5
11715   ac_status=$?
11716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11717   (exit $ac_status); }; } &&
11718          { ac_try='test -s conftest$ac_exeext'
11719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11720   (eval $ac_try) 2>&5
11721   ac_status=$?
11722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11723   (exit $ac_status); }; }; then
11724   eval "$as_ac_var=yes"
11725 else
11726   echo "$as_me: failed program was:" >&5
11727 sed 's/^/| /' conftest.$ac_ext >&5
11728
11729 eval "$as_ac_var=no"
11730 fi
11731 rm -f conftest.err conftest.$ac_objext \
11732       conftest$ac_exeext conftest.$ac_ext
11733 fi
11734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11736 if test `eval echo '${'$as_ac_var'}'` = yes; then
11737   cat >>confdefs.h <<_ACEOF
11738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11739 _ACEOF
11740
11741 fi
11742 done
11743
11744     fi
11745   fi
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760     echo "$as_me:$LINENO: checking for float round functions" >&5
11761 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11762   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11763   echo $ECHO_N "(cached) $ECHO_C" >&6
11764 else
11765
11766
11767
11768     ac_ext=cc
11769 ac_cpp='$CXXCPP $CPPFLAGS'
11770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11773
11774     cat >conftest.$ac_ext <<_ACEOF
11775 /* confdefs.h.  */
11776 _ACEOF
11777 cat confdefs.h >>conftest.$ac_ext
11778 cat >>conftest.$ac_ext <<_ACEOF
11779 /* end confdefs.h.  */
11780 #include <math.h>
11781 int
11782 main ()
11783 {
11784 ceilf (0); floorf (0);
11785   ;
11786   return 0;
11787 }
11788 _ACEOF
11789 rm -f conftest.$ac_objext
11790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11791   (eval $ac_compile) 2>conftest.er1
11792   ac_status=$?
11793   grep -v '^ *+' conftest.er1 >conftest.err
11794   rm -f conftest.er1
11795   cat conftest.err >&5
11796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11797   (exit $ac_status); } &&
11798          { ac_try='test -z "$ac_cxx_werror_flag"
11799                          || test ! -s conftest.err'
11800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11801   (eval $ac_try) 2>&5
11802   ac_status=$?
11803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11804   (exit $ac_status); }; } &&
11805          { ac_try='test -s conftest.$ac_objext'
11806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11807   (eval $ac_try) 2>&5
11808   ac_status=$?
11809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11810   (exit $ac_status); }; }; then
11811   glibcxx_cv_func_float_round_use=yes
11812 else
11813   echo "$as_me: failed program was:" >&5
11814 sed 's/^/| /' conftest.$ac_ext >&5
11815
11816 glibcxx_cv_func_float_round_use=no
11817 fi
11818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11819     ac_ext=c
11820 ac_cpp='$CPP $CPPFLAGS'
11821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11824
11825 fi
11826
11827   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
11828 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
11829   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
11830
11831
11832 for ac_func in ceilf floorf
11833 do
11834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11835 echo "$as_me:$LINENO: checking for $ac_func" >&5
11836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11837 if eval "test \"\${$as_ac_var+set}\" = set"; then
11838   echo $ECHO_N "(cached) $ECHO_C" >&6
11839 else
11840   if test x$gcc_no_link = xyes; then
11841   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11843    { (exit 1); exit 1; }; }
11844 fi
11845 cat >conftest.$ac_ext <<_ACEOF
11846 /* confdefs.h.  */
11847 _ACEOF
11848 cat confdefs.h >>conftest.$ac_ext
11849 cat >>conftest.$ac_ext <<_ACEOF
11850 /* end confdefs.h.  */
11851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11852    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11853 #define $ac_func innocuous_$ac_func
11854
11855 /* System header to define __stub macros and hopefully few prototypes,
11856     which can conflict with char $ac_func (); below.
11857     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11858     <limits.h> exists even on freestanding compilers.  */
11859
11860 #ifdef __STDC__
11861 # include <limits.h>
11862 #else
11863 # include <assert.h>
11864 #endif
11865
11866 #undef $ac_func
11867
11868 /* Override any gcc2 internal prototype to avoid an error.  */
11869 #ifdef __cplusplus
11870 extern "C"
11871 {
11872 #endif
11873 /* We use char because int might match the return type of a gcc2
11874    builtin and then its argument prototype would still apply.  */
11875 char $ac_func ();
11876 /* The GNU C library defines this for functions which it implements
11877     to always fail with ENOSYS.  Some functions are actually named
11878     something starting with __ and the normal name is an alias.  */
11879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11880 choke me
11881 #else
11882 char (*f) () = $ac_func;
11883 #endif
11884 #ifdef __cplusplus
11885 }
11886 #endif
11887
11888 int
11889 main ()
11890 {
11891 return f != $ac_func;
11892   ;
11893   return 0;
11894 }
11895 _ACEOF
11896 rm -f conftest.$ac_objext conftest$ac_exeext
11897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11898   (eval $ac_link) 2>conftest.er1
11899   ac_status=$?
11900   grep -v '^ *+' conftest.er1 >conftest.err
11901   rm -f conftest.er1
11902   cat conftest.err >&5
11903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11904   (exit $ac_status); } &&
11905          { ac_try='test -z "$ac_c_werror_flag"
11906                          || test ! -s conftest.err'
11907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11908   (eval $ac_try) 2>&5
11909   ac_status=$?
11910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11911   (exit $ac_status); }; } &&
11912          { ac_try='test -s conftest$ac_exeext'
11913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11914   (eval $ac_try) 2>&5
11915   ac_status=$?
11916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11917   (exit $ac_status); }; }; then
11918   eval "$as_ac_var=yes"
11919 else
11920   echo "$as_me: failed program was:" >&5
11921 sed 's/^/| /' conftest.$ac_ext >&5
11922
11923 eval "$as_ac_var=no"
11924 fi
11925 rm -f conftest.err conftest.$ac_objext \
11926       conftest$ac_exeext conftest.$ac_ext
11927 fi
11928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11930 if test `eval echo '${'$as_ac_var'}'` = yes; then
11931   cat >>confdefs.h <<_ACEOF
11932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11933 _ACEOF
11934
11935 fi
11936 done
11937
11938   else
11939     echo "$as_me:$LINENO: checking for _float round functions" >&5
11940 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
11941     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
11942   echo $ECHO_N "(cached) $ECHO_C" >&6
11943 else
11944
11945
11946
11947       ac_ext=cc
11948 ac_cpp='$CXXCPP $CPPFLAGS'
11949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11952
11953       cat >conftest.$ac_ext <<_ACEOF
11954 /* confdefs.h.  */
11955 _ACEOF
11956 cat confdefs.h >>conftest.$ac_ext
11957 cat >>conftest.$ac_ext <<_ACEOF
11958 /* end confdefs.h.  */
11959 #include <math.h>
11960 int
11961 main ()
11962 {
11963 _ceilf (0); _floorf (0);
11964   ;
11965   return 0;
11966 }
11967 _ACEOF
11968 rm -f conftest.$ac_objext
11969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11970   (eval $ac_compile) 2>conftest.er1
11971   ac_status=$?
11972   grep -v '^ *+' conftest.er1 >conftest.err
11973   rm -f conftest.er1
11974   cat conftest.err >&5
11975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11976   (exit $ac_status); } &&
11977          { ac_try='test -z "$ac_cxx_werror_flag"
11978                          || test ! -s conftest.err'
11979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11980   (eval $ac_try) 2>&5
11981   ac_status=$?
11982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11983   (exit $ac_status); }; } &&
11984          { ac_try='test -s conftest.$ac_objext'
11985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11986   (eval $ac_try) 2>&5
11987   ac_status=$?
11988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11989   (exit $ac_status); }; }; then
11990   glibcxx_cv_func__float_round_use=yes
11991 else
11992   echo "$as_me: failed program was:" >&5
11993 sed 's/^/| /' conftest.$ac_ext >&5
11994
11995 glibcxx_cv_func__float_round_use=no
11996 fi
11997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11998       ac_ext=c
11999 ac_cpp='$CPP $CPPFLAGS'
12000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12003
12004 fi
12005
12006     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
12007 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
12008     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
12009
12010
12011 for ac_func in _ceilf _floorf
12012 do
12013 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12014 echo "$as_me:$LINENO: checking for $ac_func" >&5
12015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12016 if eval "test \"\${$as_ac_var+set}\" = set"; then
12017   echo $ECHO_N "(cached) $ECHO_C" >&6
12018 else
12019   if test x$gcc_no_link = xyes; then
12020   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12022    { (exit 1); exit 1; }; }
12023 fi
12024 cat >conftest.$ac_ext <<_ACEOF
12025 /* confdefs.h.  */
12026 _ACEOF
12027 cat confdefs.h >>conftest.$ac_ext
12028 cat >>conftest.$ac_ext <<_ACEOF
12029 /* end confdefs.h.  */
12030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12031    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12032 #define $ac_func innocuous_$ac_func
12033
12034 /* System header to define __stub macros and hopefully few prototypes,
12035     which can conflict with char $ac_func (); below.
12036     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12037     <limits.h> exists even on freestanding compilers.  */
12038
12039 #ifdef __STDC__
12040 # include <limits.h>
12041 #else
12042 # include <assert.h>
12043 #endif
12044
12045 #undef $ac_func
12046
12047 /* Override any gcc2 internal prototype to avoid an error.  */
12048 #ifdef __cplusplus
12049 extern "C"
12050 {
12051 #endif
12052 /* We use char because int might match the return type of a gcc2
12053    builtin and then its argument prototype would still apply.  */
12054 char $ac_func ();
12055 /* The GNU C library defines this for functions which it implements
12056     to always fail with ENOSYS.  Some functions are actually named
12057     something starting with __ and the normal name is an alias.  */
12058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12059 choke me
12060 #else
12061 char (*f) () = $ac_func;
12062 #endif
12063 #ifdef __cplusplus
12064 }
12065 #endif
12066
12067 int
12068 main ()
12069 {
12070 return f != $ac_func;
12071   ;
12072   return 0;
12073 }
12074 _ACEOF
12075 rm -f conftest.$ac_objext conftest$ac_exeext
12076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12077   (eval $ac_link) 2>conftest.er1
12078   ac_status=$?
12079   grep -v '^ *+' conftest.er1 >conftest.err
12080   rm -f conftest.er1
12081   cat conftest.err >&5
12082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12083   (exit $ac_status); } &&
12084          { ac_try='test -z "$ac_c_werror_flag"
12085                          || test ! -s conftest.err'
12086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12087   (eval $ac_try) 2>&5
12088   ac_status=$?
12089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12090   (exit $ac_status); }; } &&
12091          { ac_try='test -s conftest$ac_exeext'
12092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12093   (eval $ac_try) 2>&5
12094   ac_status=$?
12095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12096   (exit $ac_status); }; }; then
12097   eval "$as_ac_var=yes"
12098 else
12099   echo "$as_me: failed program was:" >&5
12100 sed 's/^/| /' conftest.$ac_ext >&5
12101
12102 eval "$as_ac_var=no"
12103 fi
12104 rm -f conftest.err conftest.$ac_objext \
12105       conftest$ac_exeext conftest.$ac_ext
12106 fi
12107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12108 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12109 if test `eval echo '${'$as_ac_var'}'` = yes; then
12110   cat >>confdefs.h <<_ACEOF
12111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12112 _ACEOF
12113
12114 fi
12115 done
12116
12117     fi
12118   fi
12119
12120
12121
12122
12123
12124
12125
12126
12127   echo "$as_me:$LINENO: checking for expf declaration" >&5
12128 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
12129   if test x${glibcxx_cv_func_expf_use+set} != xset; then
12130     if test "${glibcxx_cv_func_expf_use+set}" = set; then
12131   echo $ECHO_N "(cached) $ECHO_C" >&6
12132 else
12133
12134
12135
12136       ac_ext=cc
12137 ac_cpp='$CXXCPP $CPPFLAGS'
12138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12141
12142       cat >conftest.$ac_ext <<_ACEOF
12143 /* confdefs.h.  */
12144 _ACEOF
12145 cat confdefs.h >>conftest.$ac_ext
12146 cat >>conftest.$ac_ext <<_ACEOF
12147 /* end confdefs.h.  */
12148 #include <math.h>
12149                       #ifdef HAVE_IEEEFP_H
12150                       #include <ieeefp.h>
12151                       #endif
12152
12153 int
12154 main ()
12155 {
12156  expf(0);
12157   ;
12158   return 0;
12159 }
12160 _ACEOF
12161 rm -f conftest.$ac_objext
12162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12163   (eval $ac_compile) 2>conftest.er1
12164   ac_status=$?
12165   grep -v '^ *+' conftest.er1 >conftest.err
12166   rm -f conftest.er1
12167   cat conftest.err >&5
12168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12169   (exit $ac_status); } &&
12170          { ac_try='test -z "$ac_cxx_werror_flag"
12171                          || test ! -s conftest.err'
12172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12173   (eval $ac_try) 2>&5
12174   ac_status=$?
12175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12176   (exit $ac_status); }; } &&
12177          { ac_try='test -s conftest.$ac_objext'
12178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12179   (eval $ac_try) 2>&5
12180   ac_status=$?
12181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12182   (exit $ac_status); }; }; then
12183   glibcxx_cv_func_expf_use=yes
12184 else
12185   echo "$as_me: failed program was:" >&5
12186 sed 's/^/| /' conftest.$ac_ext >&5
12187
12188 glibcxx_cv_func_expf_use=no
12189 fi
12190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12191       ac_ext=c
12192 ac_cpp='$CPP $CPPFLAGS'
12193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12196
12197
12198 fi
12199
12200   fi
12201   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
12202 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
12203
12204   if test x$glibcxx_cv_func_expf_use = x"yes"; then
12205
12206 for ac_func in expf
12207 do
12208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12209 echo "$as_me:$LINENO: checking for $ac_func" >&5
12210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12211 if eval "test \"\${$as_ac_var+set}\" = set"; then
12212   echo $ECHO_N "(cached) $ECHO_C" >&6
12213 else
12214   if test x$gcc_no_link = xyes; then
12215   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12217    { (exit 1); exit 1; }; }
12218 fi
12219 cat >conftest.$ac_ext <<_ACEOF
12220 /* confdefs.h.  */
12221 _ACEOF
12222 cat confdefs.h >>conftest.$ac_ext
12223 cat >>conftest.$ac_ext <<_ACEOF
12224 /* end confdefs.h.  */
12225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12226    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12227 #define $ac_func innocuous_$ac_func
12228
12229 /* System header to define __stub macros and hopefully few prototypes,
12230     which can conflict with char $ac_func (); below.
12231     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12232     <limits.h> exists even on freestanding compilers.  */
12233
12234 #ifdef __STDC__
12235 # include <limits.h>
12236 #else
12237 # include <assert.h>
12238 #endif
12239
12240 #undef $ac_func
12241
12242 /* Override any gcc2 internal prototype to avoid an error.  */
12243 #ifdef __cplusplus
12244 extern "C"
12245 {
12246 #endif
12247 /* We use char because int might match the return type of a gcc2
12248    builtin and then its argument prototype would still apply.  */
12249 char $ac_func ();
12250 /* The GNU C library defines this for functions which it implements
12251     to always fail with ENOSYS.  Some functions are actually named
12252     something starting with __ and the normal name is an alias.  */
12253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12254 choke me
12255 #else
12256 char (*f) () = $ac_func;
12257 #endif
12258 #ifdef __cplusplus
12259 }
12260 #endif
12261
12262 int
12263 main ()
12264 {
12265 return f != $ac_func;
12266   ;
12267   return 0;
12268 }
12269 _ACEOF
12270 rm -f conftest.$ac_objext conftest$ac_exeext
12271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12272   (eval $ac_link) 2>conftest.er1
12273   ac_status=$?
12274   grep -v '^ *+' conftest.er1 >conftest.err
12275   rm -f conftest.er1
12276   cat conftest.err >&5
12277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12278   (exit $ac_status); } &&
12279          { ac_try='test -z "$ac_c_werror_flag"
12280                          || test ! -s conftest.err'
12281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12282   (eval $ac_try) 2>&5
12283   ac_status=$?
12284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12285   (exit $ac_status); }; } &&
12286          { ac_try='test -s conftest$ac_exeext'
12287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12288   (eval $ac_try) 2>&5
12289   ac_status=$?
12290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12291   (exit $ac_status); }; }; then
12292   eval "$as_ac_var=yes"
12293 else
12294   echo "$as_me: failed program was:" >&5
12295 sed 's/^/| /' conftest.$ac_ext >&5
12296
12297 eval "$as_ac_var=no"
12298 fi
12299 rm -f conftest.err conftest.$ac_objext \
12300       conftest$ac_exeext conftest.$ac_ext
12301 fi
12302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12304 if test `eval echo '${'$as_ac_var'}'` = yes; then
12305   cat >>confdefs.h <<_ACEOF
12306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12307 _ACEOF
12308
12309 fi
12310 done
12311
12312   else
12313
12314   echo "$as_me:$LINENO: checking for _expf declaration" >&5
12315 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
12316   if test x${glibcxx_cv_func__expf_use+set} != xset; then
12317     if test "${glibcxx_cv_func__expf_use+set}" = set; then
12318   echo $ECHO_N "(cached) $ECHO_C" >&6
12319 else
12320
12321
12322
12323       ac_ext=cc
12324 ac_cpp='$CXXCPP $CPPFLAGS'
12325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12328
12329       cat >conftest.$ac_ext <<_ACEOF
12330 /* confdefs.h.  */
12331 _ACEOF
12332 cat confdefs.h >>conftest.$ac_ext
12333 cat >>conftest.$ac_ext <<_ACEOF
12334 /* end confdefs.h.  */
12335 #include <math.h>
12336                       #ifdef HAVE_IEEEFP_H
12337                       #include <ieeefp.h>
12338                       #endif
12339
12340 int
12341 main ()
12342 {
12343  _expf(0);
12344   ;
12345   return 0;
12346 }
12347 _ACEOF
12348 rm -f conftest.$ac_objext
12349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12350   (eval $ac_compile) 2>conftest.er1
12351   ac_status=$?
12352   grep -v '^ *+' conftest.er1 >conftest.err
12353   rm -f conftest.er1
12354   cat conftest.err >&5
12355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12356   (exit $ac_status); } &&
12357          { ac_try='test -z "$ac_cxx_werror_flag"
12358                          || test ! -s conftest.err'
12359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12360   (eval $ac_try) 2>&5
12361   ac_status=$?
12362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12363   (exit $ac_status); }; } &&
12364          { ac_try='test -s conftest.$ac_objext'
12365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12366   (eval $ac_try) 2>&5
12367   ac_status=$?
12368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12369   (exit $ac_status); }; }; then
12370   glibcxx_cv_func__expf_use=yes
12371 else
12372   echo "$as_me: failed program was:" >&5
12373 sed 's/^/| /' conftest.$ac_ext >&5
12374
12375 glibcxx_cv_func__expf_use=no
12376 fi
12377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12378       ac_ext=c
12379 ac_cpp='$CPP $CPPFLAGS'
12380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12383
12384
12385 fi
12386
12387   fi
12388   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
12389 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
12390
12391     if test x$glibcxx_cv_func__expf_use = x"yes"; then
12392
12393 for ac_func in _expf
12394 do
12395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12396 echo "$as_me:$LINENO: checking for $ac_func" >&5
12397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12398 if eval "test \"\${$as_ac_var+set}\" = set"; then
12399   echo $ECHO_N "(cached) $ECHO_C" >&6
12400 else
12401   if test x$gcc_no_link = xyes; then
12402   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12404    { (exit 1); exit 1; }; }
12405 fi
12406 cat >conftest.$ac_ext <<_ACEOF
12407 /* confdefs.h.  */
12408 _ACEOF
12409 cat confdefs.h >>conftest.$ac_ext
12410 cat >>conftest.$ac_ext <<_ACEOF
12411 /* end confdefs.h.  */
12412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12413    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12414 #define $ac_func innocuous_$ac_func
12415
12416 /* System header to define __stub macros and hopefully few prototypes,
12417     which can conflict with char $ac_func (); below.
12418     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12419     <limits.h> exists even on freestanding compilers.  */
12420
12421 #ifdef __STDC__
12422 # include <limits.h>
12423 #else
12424 # include <assert.h>
12425 #endif
12426
12427 #undef $ac_func
12428
12429 /* Override any gcc2 internal prototype to avoid an error.  */
12430 #ifdef __cplusplus
12431 extern "C"
12432 {
12433 #endif
12434 /* We use char because int might match the return type of a gcc2
12435    builtin and then its argument prototype would still apply.  */
12436 char $ac_func ();
12437 /* The GNU C library defines this for functions which it implements
12438     to always fail with ENOSYS.  Some functions are actually named
12439     something starting with __ and the normal name is an alias.  */
12440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12441 choke me
12442 #else
12443 char (*f) () = $ac_func;
12444 #endif
12445 #ifdef __cplusplus
12446 }
12447 #endif
12448
12449 int
12450 main ()
12451 {
12452 return f != $ac_func;
12453   ;
12454   return 0;
12455 }
12456 _ACEOF
12457 rm -f conftest.$ac_objext conftest$ac_exeext
12458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12459   (eval $ac_link) 2>conftest.er1
12460   ac_status=$?
12461   grep -v '^ *+' conftest.er1 >conftest.err
12462   rm -f conftest.er1
12463   cat conftest.err >&5
12464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12465   (exit $ac_status); } &&
12466          { ac_try='test -z "$ac_c_werror_flag"
12467                          || test ! -s conftest.err'
12468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12469   (eval $ac_try) 2>&5
12470   ac_status=$?
12471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12472   (exit $ac_status); }; } &&
12473          { ac_try='test -s conftest$ac_exeext'
12474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12475   (eval $ac_try) 2>&5
12476   ac_status=$?
12477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12478   (exit $ac_status); }; }; then
12479   eval "$as_ac_var=yes"
12480 else
12481   echo "$as_me: failed program was:" >&5
12482 sed 's/^/| /' conftest.$ac_ext >&5
12483
12484 eval "$as_ac_var=no"
12485 fi
12486 rm -f conftest.err conftest.$ac_objext \
12487       conftest$ac_exeext conftest.$ac_ext
12488 fi
12489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12491 if test `eval echo '${'$as_ac_var'}'` = yes; then
12492   cat >>confdefs.h <<_ACEOF
12493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12494 _ACEOF
12495
12496 fi
12497 done
12498
12499     fi
12500   fi
12501
12502
12503
12504
12505
12506
12507   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12508 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12509   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12510     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12511   echo $ECHO_N "(cached) $ECHO_C" >&6
12512 else
12513
12514
12515
12516       ac_ext=cc
12517 ac_cpp='$CXXCPP $CPPFLAGS'
12518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12521
12522       cat >conftest.$ac_ext <<_ACEOF
12523 /* confdefs.h.  */
12524 _ACEOF
12525 cat confdefs.h >>conftest.$ac_ext
12526 cat >>conftest.$ac_ext <<_ACEOF
12527 /* end confdefs.h.  */
12528 #include <math.h>
12529                       #ifdef HAVE_IEEEFP_H
12530                       #include <ieeefp.h>
12531                       #endif
12532
12533 int
12534 main ()
12535 {
12536  isnanf(0);
12537   ;
12538   return 0;
12539 }
12540 _ACEOF
12541 rm -f conftest.$ac_objext
12542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12543   (eval $ac_compile) 2>conftest.er1
12544   ac_status=$?
12545   grep -v '^ *+' conftest.er1 >conftest.err
12546   rm -f conftest.er1
12547   cat conftest.err >&5
12548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12549   (exit $ac_status); } &&
12550          { ac_try='test -z "$ac_cxx_werror_flag"
12551                          || test ! -s conftest.err'
12552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12553   (eval $ac_try) 2>&5
12554   ac_status=$?
12555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12556   (exit $ac_status); }; } &&
12557          { ac_try='test -s conftest.$ac_objext'
12558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12559   (eval $ac_try) 2>&5
12560   ac_status=$?
12561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12562   (exit $ac_status); }; }; then
12563   glibcxx_cv_func_isnanf_use=yes
12564 else
12565   echo "$as_me: failed program was:" >&5
12566 sed 's/^/| /' conftest.$ac_ext >&5
12567
12568 glibcxx_cv_func_isnanf_use=no
12569 fi
12570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12571       ac_ext=c
12572 ac_cpp='$CPP $CPPFLAGS'
12573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12576
12577
12578 fi
12579
12580   fi
12581   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12582 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12583
12584   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12585
12586 for ac_func in isnanf
12587 do
12588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12589 echo "$as_me:$LINENO: checking for $ac_func" >&5
12590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12591 if eval "test \"\${$as_ac_var+set}\" = set"; then
12592   echo $ECHO_N "(cached) $ECHO_C" >&6
12593 else
12594   if test x$gcc_no_link = xyes; then
12595   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12597    { (exit 1); exit 1; }; }
12598 fi
12599 cat >conftest.$ac_ext <<_ACEOF
12600 /* confdefs.h.  */
12601 _ACEOF
12602 cat confdefs.h >>conftest.$ac_ext
12603 cat >>conftest.$ac_ext <<_ACEOF
12604 /* end confdefs.h.  */
12605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12606    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12607 #define $ac_func innocuous_$ac_func
12608
12609 /* System header to define __stub macros and hopefully few prototypes,
12610     which can conflict with char $ac_func (); below.
12611     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12612     <limits.h> exists even on freestanding compilers.  */
12613
12614 #ifdef __STDC__
12615 # include <limits.h>
12616 #else
12617 # include <assert.h>
12618 #endif
12619
12620 #undef $ac_func
12621
12622 /* Override any gcc2 internal prototype to avoid an error.  */
12623 #ifdef __cplusplus
12624 extern "C"
12625 {
12626 #endif
12627 /* We use char because int might match the return type of a gcc2
12628    builtin and then its argument prototype would still apply.  */
12629 char $ac_func ();
12630 /* The GNU C library defines this for functions which it implements
12631     to always fail with ENOSYS.  Some functions are actually named
12632     something starting with __ and the normal name is an alias.  */
12633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12634 choke me
12635 #else
12636 char (*f) () = $ac_func;
12637 #endif
12638 #ifdef __cplusplus
12639 }
12640 #endif
12641
12642 int
12643 main ()
12644 {
12645 return f != $ac_func;
12646   ;
12647   return 0;
12648 }
12649 _ACEOF
12650 rm -f conftest.$ac_objext conftest$ac_exeext
12651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12652   (eval $ac_link) 2>conftest.er1
12653   ac_status=$?
12654   grep -v '^ *+' conftest.er1 >conftest.err
12655   rm -f conftest.er1
12656   cat conftest.err >&5
12657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12658   (exit $ac_status); } &&
12659          { ac_try='test -z "$ac_c_werror_flag"
12660                          || test ! -s conftest.err'
12661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12662   (eval $ac_try) 2>&5
12663   ac_status=$?
12664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12665   (exit $ac_status); }; } &&
12666          { ac_try='test -s conftest$ac_exeext'
12667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12668   (eval $ac_try) 2>&5
12669   ac_status=$?
12670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12671   (exit $ac_status); }; }; then
12672   eval "$as_ac_var=yes"
12673 else
12674   echo "$as_me: failed program was:" >&5
12675 sed 's/^/| /' conftest.$ac_ext >&5
12676
12677 eval "$as_ac_var=no"
12678 fi
12679 rm -f conftest.err conftest.$ac_objext \
12680       conftest$ac_exeext conftest.$ac_ext
12681 fi
12682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12684 if test `eval echo '${'$as_ac_var'}'` = yes; then
12685   cat >>confdefs.h <<_ACEOF
12686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12687 _ACEOF
12688
12689 fi
12690 done
12691
12692   else
12693
12694   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12695 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12696   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12697     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12698   echo $ECHO_N "(cached) $ECHO_C" >&6
12699 else
12700
12701
12702
12703       ac_ext=cc
12704 ac_cpp='$CXXCPP $CPPFLAGS'
12705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12708
12709       cat >conftest.$ac_ext <<_ACEOF
12710 /* confdefs.h.  */
12711 _ACEOF
12712 cat confdefs.h >>conftest.$ac_ext
12713 cat >>conftest.$ac_ext <<_ACEOF
12714 /* end confdefs.h.  */
12715 #include <math.h>
12716                       #ifdef HAVE_IEEEFP_H
12717                       #include <ieeefp.h>
12718                       #endif
12719
12720 int
12721 main ()
12722 {
12723  _isnanf(0);
12724   ;
12725   return 0;
12726 }
12727 _ACEOF
12728 rm -f conftest.$ac_objext
12729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12730   (eval $ac_compile) 2>conftest.er1
12731   ac_status=$?
12732   grep -v '^ *+' conftest.er1 >conftest.err
12733   rm -f conftest.er1
12734   cat conftest.err >&5
12735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12736   (exit $ac_status); } &&
12737          { ac_try='test -z "$ac_cxx_werror_flag"
12738                          || test ! -s conftest.err'
12739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12740   (eval $ac_try) 2>&5
12741   ac_status=$?
12742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12743   (exit $ac_status); }; } &&
12744          { ac_try='test -s conftest.$ac_objext'
12745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12746   (eval $ac_try) 2>&5
12747   ac_status=$?
12748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12749   (exit $ac_status); }; }; then
12750   glibcxx_cv_func__isnanf_use=yes
12751 else
12752   echo "$as_me: failed program was:" >&5
12753 sed 's/^/| /' conftest.$ac_ext >&5
12754
12755 glibcxx_cv_func__isnanf_use=no
12756 fi
12757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12758       ac_ext=c
12759 ac_cpp='$CPP $CPPFLAGS'
12760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12763
12764
12765 fi
12766
12767   fi
12768   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
12769 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
12770
12771     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
12772
12773 for ac_func in _isnanf
12774 do
12775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12776 echo "$as_me:$LINENO: checking for $ac_func" >&5
12777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12778 if eval "test \"\${$as_ac_var+set}\" = set"; then
12779   echo $ECHO_N "(cached) $ECHO_C" >&6
12780 else
12781   if test x$gcc_no_link = xyes; then
12782   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12784    { (exit 1); exit 1; }; }
12785 fi
12786 cat >conftest.$ac_ext <<_ACEOF
12787 /* confdefs.h.  */
12788 _ACEOF
12789 cat confdefs.h >>conftest.$ac_ext
12790 cat >>conftest.$ac_ext <<_ACEOF
12791 /* end confdefs.h.  */
12792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12793    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12794 #define $ac_func innocuous_$ac_func
12795
12796 /* System header to define __stub macros and hopefully few prototypes,
12797     which can conflict with char $ac_func (); below.
12798     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12799     <limits.h> exists even on freestanding compilers.  */
12800
12801 #ifdef __STDC__
12802 # include <limits.h>
12803 #else
12804 # include <assert.h>
12805 #endif
12806
12807 #undef $ac_func
12808
12809 /* Override any gcc2 internal prototype to avoid an error.  */
12810 #ifdef __cplusplus
12811 extern "C"
12812 {
12813 #endif
12814 /* We use char because int might match the return type of a gcc2
12815    builtin and then its argument prototype would still apply.  */
12816 char $ac_func ();
12817 /* The GNU C library defines this for functions which it implements
12818     to always fail with ENOSYS.  Some functions are actually named
12819     something starting with __ and the normal name is an alias.  */
12820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12821 choke me
12822 #else
12823 char (*f) () = $ac_func;
12824 #endif
12825 #ifdef __cplusplus
12826 }
12827 #endif
12828
12829 int
12830 main ()
12831 {
12832 return f != $ac_func;
12833   ;
12834   return 0;
12835 }
12836 _ACEOF
12837 rm -f conftest.$ac_objext conftest$ac_exeext
12838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12839   (eval $ac_link) 2>conftest.er1
12840   ac_status=$?
12841   grep -v '^ *+' conftest.er1 >conftest.err
12842   rm -f conftest.er1
12843   cat conftest.err >&5
12844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12845   (exit $ac_status); } &&
12846          { ac_try='test -z "$ac_c_werror_flag"
12847                          || test ! -s conftest.err'
12848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12849   (eval $ac_try) 2>&5
12850   ac_status=$?
12851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12852   (exit $ac_status); }; } &&
12853          { ac_try='test -s conftest$ac_exeext'
12854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12855   (eval $ac_try) 2>&5
12856   ac_status=$?
12857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12858   (exit $ac_status); }; }; then
12859   eval "$as_ac_var=yes"
12860 else
12861   echo "$as_me: failed program was:" >&5
12862 sed 's/^/| /' conftest.$ac_ext >&5
12863
12864 eval "$as_ac_var=no"
12865 fi
12866 rm -f conftest.err conftest.$ac_objext \
12867       conftest$ac_exeext conftest.$ac_ext
12868 fi
12869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12871 if test `eval echo '${'$as_ac_var'}'` = yes; then
12872   cat >>confdefs.h <<_ACEOF
12873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12874 _ACEOF
12875
12876 fi
12877 done
12878
12879     fi
12880   fi
12881
12882
12883
12884
12885
12886
12887   echo "$as_me:$LINENO: checking for isinff declaration" >&5
12888 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
12889   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
12890     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
12891   echo $ECHO_N "(cached) $ECHO_C" >&6
12892 else
12893
12894
12895
12896       ac_ext=cc
12897 ac_cpp='$CXXCPP $CPPFLAGS'
12898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12901
12902       cat >conftest.$ac_ext <<_ACEOF
12903 /* confdefs.h.  */
12904 _ACEOF
12905 cat confdefs.h >>conftest.$ac_ext
12906 cat >>conftest.$ac_ext <<_ACEOF
12907 /* end confdefs.h.  */
12908 #include <math.h>
12909                       #ifdef HAVE_IEEEFP_H
12910                       #include <ieeefp.h>
12911                       #endif
12912
12913 int
12914 main ()
12915 {
12916  isinff(0);
12917   ;
12918   return 0;
12919 }
12920 _ACEOF
12921 rm -f conftest.$ac_objext
12922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12923   (eval $ac_compile) 2>conftest.er1
12924   ac_status=$?
12925   grep -v '^ *+' conftest.er1 >conftest.err
12926   rm -f conftest.er1
12927   cat conftest.err >&5
12928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12929   (exit $ac_status); } &&
12930          { ac_try='test -z "$ac_cxx_werror_flag"
12931                          || test ! -s conftest.err'
12932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12933   (eval $ac_try) 2>&5
12934   ac_status=$?
12935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12936   (exit $ac_status); }; } &&
12937          { ac_try='test -s conftest.$ac_objext'
12938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12939   (eval $ac_try) 2>&5
12940   ac_status=$?
12941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12942   (exit $ac_status); }; }; then
12943   glibcxx_cv_func_isinff_use=yes
12944 else
12945   echo "$as_me: failed program was:" >&5
12946 sed 's/^/| /' conftest.$ac_ext >&5
12947
12948 glibcxx_cv_func_isinff_use=no
12949 fi
12950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12951       ac_ext=c
12952 ac_cpp='$CPP $CPPFLAGS'
12953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12956
12957
12958 fi
12959
12960   fi
12961   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
12962 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
12963
12964   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
12965
12966 for ac_func in isinff
12967 do
12968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12969 echo "$as_me:$LINENO: checking for $ac_func" >&5
12970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12971 if eval "test \"\${$as_ac_var+set}\" = set"; then
12972   echo $ECHO_N "(cached) $ECHO_C" >&6
12973 else
12974   if test x$gcc_no_link = xyes; then
12975   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12977    { (exit 1); exit 1; }; }
12978 fi
12979 cat >conftest.$ac_ext <<_ACEOF
12980 /* confdefs.h.  */
12981 _ACEOF
12982 cat confdefs.h >>conftest.$ac_ext
12983 cat >>conftest.$ac_ext <<_ACEOF
12984 /* end confdefs.h.  */
12985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12986    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12987 #define $ac_func innocuous_$ac_func
12988
12989 /* System header to define __stub macros and hopefully few prototypes,
12990     which can conflict with char $ac_func (); below.
12991     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12992     <limits.h> exists even on freestanding compilers.  */
12993
12994 #ifdef __STDC__
12995 # include <limits.h>
12996 #else
12997 # include <assert.h>
12998 #endif
12999
13000 #undef $ac_func
13001
13002 /* Override any gcc2 internal prototype to avoid an error.  */
13003 #ifdef __cplusplus
13004 extern "C"
13005 {
13006 #endif
13007 /* We use char because int might match the return type of a gcc2
13008    builtin and then its argument prototype would still apply.  */
13009 char $ac_func ();
13010 /* The GNU C library defines this for functions which it implements
13011     to always fail with ENOSYS.  Some functions are actually named
13012     something starting with __ and the normal name is an alias.  */
13013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13014 choke me
13015 #else
13016 char (*f) () = $ac_func;
13017 #endif
13018 #ifdef __cplusplus
13019 }
13020 #endif
13021
13022 int
13023 main ()
13024 {
13025 return f != $ac_func;
13026   ;
13027   return 0;
13028 }
13029 _ACEOF
13030 rm -f conftest.$ac_objext conftest$ac_exeext
13031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13032   (eval $ac_link) 2>conftest.er1
13033   ac_status=$?
13034   grep -v '^ *+' conftest.er1 >conftest.err
13035   rm -f conftest.er1
13036   cat conftest.err >&5
13037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13038   (exit $ac_status); } &&
13039          { ac_try='test -z "$ac_c_werror_flag"
13040                          || test ! -s conftest.err'
13041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13042   (eval $ac_try) 2>&5
13043   ac_status=$?
13044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13045   (exit $ac_status); }; } &&
13046          { ac_try='test -s conftest$ac_exeext'
13047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13048   (eval $ac_try) 2>&5
13049   ac_status=$?
13050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13051   (exit $ac_status); }; }; then
13052   eval "$as_ac_var=yes"
13053 else
13054   echo "$as_me: failed program was:" >&5
13055 sed 's/^/| /' conftest.$ac_ext >&5
13056
13057 eval "$as_ac_var=no"
13058 fi
13059 rm -f conftest.err conftest.$ac_objext \
13060       conftest$ac_exeext conftest.$ac_ext
13061 fi
13062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13064 if test `eval echo '${'$as_ac_var'}'` = yes; then
13065   cat >>confdefs.h <<_ACEOF
13066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13067 _ACEOF
13068
13069 fi
13070 done
13071
13072   else
13073
13074   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
13075 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
13076   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
13077     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
13078   echo $ECHO_N "(cached) $ECHO_C" >&6
13079 else
13080
13081
13082
13083       ac_ext=cc
13084 ac_cpp='$CXXCPP $CPPFLAGS'
13085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13088
13089       cat >conftest.$ac_ext <<_ACEOF
13090 /* confdefs.h.  */
13091 _ACEOF
13092 cat confdefs.h >>conftest.$ac_ext
13093 cat >>conftest.$ac_ext <<_ACEOF
13094 /* end confdefs.h.  */
13095 #include <math.h>
13096                       #ifdef HAVE_IEEEFP_H
13097                       #include <ieeefp.h>
13098                       #endif
13099
13100 int
13101 main ()
13102 {
13103  _isinff(0);
13104   ;
13105   return 0;
13106 }
13107 _ACEOF
13108 rm -f conftest.$ac_objext
13109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13110   (eval $ac_compile) 2>conftest.er1
13111   ac_status=$?
13112   grep -v '^ *+' conftest.er1 >conftest.err
13113   rm -f conftest.er1
13114   cat conftest.err >&5
13115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13116   (exit $ac_status); } &&
13117          { ac_try='test -z "$ac_cxx_werror_flag"
13118                          || test ! -s conftest.err'
13119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13120   (eval $ac_try) 2>&5
13121   ac_status=$?
13122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13123   (exit $ac_status); }; } &&
13124          { ac_try='test -s conftest.$ac_objext'
13125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13126   (eval $ac_try) 2>&5
13127   ac_status=$?
13128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13129   (exit $ac_status); }; }; then
13130   glibcxx_cv_func__isinff_use=yes
13131 else
13132   echo "$as_me: failed program was:" >&5
13133 sed 's/^/| /' conftest.$ac_ext >&5
13134
13135 glibcxx_cv_func__isinff_use=no
13136 fi
13137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13138       ac_ext=c
13139 ac_cpp='$CPP $CPPFLAGS'
13140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13143
13144
13145 fi
13146
13147   fi
13148   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
13149 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
13150
13151     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
13152
13153 for ac_func in _isinff
13154 do
13155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13156 echo "$as_me:$LINENO: checking for $ac_func" >&5
13157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13158 if eval "test \"\${$as_ac_var+set}\" = set"; then
13159   echo $ECHO_N "(cached) $ECHO_C" >&6
13160 else
13161   if test x$gcc_no_link = xyes; then
13162   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13164    { (exit 1); exit 1; }; }
13165 fi
13166 cat >conftest.$ac_ext <<_ACEOF
13167 /* confdefs.h.  */
13168 _ACEOF
13169 cat confdefs.h >>conftest.$ac_ext
13170 cat >>conftest.$ac_ext <<_ACEOF
13171 /* end confdefs.h.  */
13172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13173    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13174 #define $ac_func innocuous_$ac_func
13175
13176 /* System header to define __stub macros and hopefully few prototypes,
13177     which can conflict with char $ac_func (); below.
13178     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13179     <limits.h> exists even on freestanding compilers.  */
13180
13181 #ifdef __STDC__
13182 # include <limits.h>
13183 #else
13184 # include <assert.h>
13185 #endif
13186
13187 #undef $ac_func
13188
13189 /* Override any gcc2 internal prototype to avoid an error.  */
13190 #ifdef __cplusplus
13191 extern "C"
13192 {
13193 #endif
13194 /* We use char because int might match the return type of a gcc2
13195    builtin and then its argument prototype would still apply.  */
13196 char $ac_func ();
13197 /* The GNU C library defines this for functions which it implements
13198     to always fail with ENOSYS.  Some functions are actually named
13199     something starting with __ and the normal name is an alias.  */
13200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13201 choke me
13202 #else
13203 char (*f) () = $ac_func;
13204 #endif
13205 #ifdef __cplusplus
13206 }
13207 #endif
13208
13209 int
13210 main ()
13211 {
13212 return f != $ac_func;
13213   ;
13214   return 0;
13215 }
13216 _ACEOF
13217 rm -f conftest.$ac_objext conftest$ac_exeext
13218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13219   (eval $ac_link) 2>conftest.er1
13220   ac_status=$?
13221   grep -v '^ *+' conftest.er1 >conftest.err
13222   rm -f conftest.er1
13223   cat conftest.err >&5
13224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13225   (exit $ac_status); } &&
13226          { ac_try='test -z "$ac_c_werror_flag"
13227                          || test ! -s conftest.err'
13228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13229   (eval $ac_try) 2>&5
13230   ac_status=$?
13231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13232   (exit $ac_status); }; } &&
13233          { ac_try='test -s conftest$ac_exeext'
13234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13235   (eval $ac_try) 2>&5
13236   ac_status=$?
13237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13238   (exit $ac_status); }; }; then
13239   eval "$as_ac_var=yes"
13240 else
13241   echo "$as_me: failed program was:" >&5
13242 sed 's/^/| /' conftest.$ac_ext >&5
13243
13244 eval "$as_ac_var=no"
13245 fi
13246 rm -f conftest.err conftest.$ac_objext \
13247       conftest$ac_exeext conftest.$ac_ext
13248 fi
13249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13251 if test `eval echo '${'$as_ac_var'}'` = yes; then
13252   cat >>confdefs.h <<_ACEOF
13253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13254 _ACEOF
13255
13256 fi
13257 done
13258
13259     fi
13260   fi
13261
13262
13263
13264
13265
13266
13267   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
13268 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
13269   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
13270     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
13271   echo $ECHO_N "(cached) $ECHO_C" >&6
13272 else
13273
13274
13275
13276       ac_ext=cc
13277 ac_cpp='$CXXCPP $CPPFLAGS'
13278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13281
13282       cat >conftest.$ac_ext <<_ACEOF
13283 /* confdefs.h.  */
13284 _ACEOF
13285 cat confdefs.h >>conftest.$ac_ext
13286 cat >>conftest.$ac_ext <<_ACEOF
13287 /* end confdefs.h.  */
13288 #include <math.h>
13289 int
13290 main ()
13291 {
13292  atan2f(0, 0);
13293   ;
13294   return 0;
13295 }
13296 _ACEOF
13297 rm -f conftest.$ac_objext
13298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13299   (eval $ac_compile) 2>conftest.er1
13300   ac_status=$?
13301   grep -v '^ *+' conftest.er1 >conftest.err
13302   rm -f conftest.er1
13303   cat conftest.err >&5
13304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13305   (exit $ac_status); } &&
13306          { ac_try='test -z "$ac_cxx_werror_flag"
13307                          || test ! -s conftest.err'
13308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13309   (eval $ac_try) 2>&5
13310   ac_status=$?
13311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13312   (exit $ac_status); }; } &&
13313          { ac_try='test -s conftest.$ac_objext'
13314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13315   (eval $ac_try) 2>&5
13316   ac_status=$?
13317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13318   (exit $ac_status); }; }; then
13319   glibcxx_cv_func_atan2f_use=yes
13320 else
13321   echo "$as_me: failed program was:" >&5
13322 sed 's/^/| /' conftest.$ac_ext >&5
13323
13324 glibcxx_cv_func_atan2f_use=no
13325 fi
13326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13327       ac_ext=c
13328 ac_cpp='$CPP $CPPFLAGS'
13329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13332
13333
13334 fi
13335
13336   fi
13337   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
13338 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
13339
13340   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
13341
13342 for ac_func in atan2f
13343 do
13344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13345 echo "$as_me:$LINENO: checking for $ac_func" >&5
13346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13347 if eval "test \"\${$as_ac_var+set}\" = set"; then
13348   echo $ECHO_N "(cached) $ECHO_C" >&6
13349 else
13350   if test x$gcc_no_link = xyes; then
13351   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13353    { (exit 1); exit 1; }; }
13354 fi
13355 cat >conftest.$ac_ext <<_ACEOF
13356 /* confdefs.h.  */
13357 _ACEOF
13358 cat confdefs.h >>conftest.$ac_ext
13359 cat >>conftest.$ac_ext <<_ACEOF
13360 /* end confdefs.h.  */
13361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13362    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13363 #define $ac_func innocuous_$ac_func
13364
13365 /* System header to define __stub macros and hopefully few prototypes,
13366     which can conflict with char $ac_func (); below.
13367     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13368     <limits.h> exists even on freestanding compilers.  */
13369
13370 #ifdef __STDC__
13371 # include <limits.h>
13372 #else
13373 # include <assert.h>
13374 #endif
13375
13376 #undef $ac_func
13377
13378 /* Override any gcc2 internal prototype to avoid an error.  */
13379 #ifdef __cplusplus
13380 extern "C"
13381 {
13382 #endif
13383 /* We use char because int might match the return type of a gcc2
13384    builtin and then its argument prototype would still apply.  */
13385 char $ac_func ();
13386 /* The GNU C library defines this for functions which it implements
13387     to always fail with ENOSYS.  Some functions are actually named
13388     something starting with __ and the normal name is an alias.  */
13389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13390 choke me
13391 #else
13392 char (*f) () = $ac_func;
13393 #endif
13394 #ifdef __cplusplus
13395 }
13396 #endif
13397
13398 int
13399 main ()
13400 {
13401 return f != $ac_func;
13402   ;
13403   return 0;
13404 }
13405 _ACEOF
13406 rm -f conftest.$ac_objext conftest$ac_exeext
13407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13408   (eval $ac_link) 2>conftest.er1
13409   ac_status=$?
13410   grep -v '^ *+' conftest.er1 >conftest.err
13411   rm -f conftest.er1
13412   cat conftest.err >&5
13413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13414   (exit $ac_status); } &&
13415          { ac_try='test -z "$ac_c_werror_flag"
13416                          || test ! -s conftest.err'
13417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13418   (eval $ac_try) 2>&5
13419   ac_status=$?
13420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13421   (exit $ac_status); }; } &&
13422          { ac_try='test -s conftest$ac_exeext'
13423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13424   (eval $ac_try) 2>&5
13425   ac_status=$?
13426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13427   (exit $ac_status); }; }; then
13428   eval "$as_ac_var=yes"
13429 else
13430   echo "$as_me: failed program was:" >&5
13431 sed 's/^/| /' conftest.$ac_ext >&5
13432
13433 eval "$as_ac_var=no"
13434 fi
13435 rm -f conftest.err conftest.$ac_objext \
13436       conftest$ac_exeext conftest.$ac_ext
13437 fi
13438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13440 if test `eval echo '${'$as_ac_var'}'` = yes; then
13441   cat >>confdefs.h <<_ACEOF
13442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13443 _ACEOF
13444
13445 fi
13446 done
13447
13448   else
13449
13450   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13451 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13452   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13453     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13454   echo $ECHO_N "(cached) $ECHO_C" >&6
13455 else
13456
13457
13458
13459       ac_ext=cc
13460 ac_cpp='$CXXCPP $CPPFLAGS'
13461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13464
13465       cat >conftest.$ac_ext <<_ACEOF
13466 /* confdefs.h.  */
13467 _ACEOF
13468 cat confdefs.h >>conftest.$ac_ext
13469 cat >>conftest.$ac_ext <<_ACEOF
13470 /* end confdefs.h.  */
13471 #include <math.h>
13472 int
13473 main ()
13474 {
13475  _atan2f(0, 0);
13476   ;
13477   return 0;
13478 }
13479 _ACEOF
13480 rm -f conftest.$ac_objext
13481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13482   (eval $ac_compile) 2>conftest.er1
13483   ac_status=$?
13484   grep -v '^ *+' conftest.er1 >conftest.err
13485   rm -f conftest.er1
13486   cat conftest.err >&5
13487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13488   (exit $ac_status); } &&
13489          { ac_try='test -z "$ac_cxx_werror_flag"
13490                          || test ! -s conftest.err'
13491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13492   (eval $ac_try) 2>&5
13493   ac_status=$?
13494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13495   (exit $ac_status); }; } &&
13496          { ac_try='test -s conftest.$ac_objext'
13497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13498   (eval $ac_try) 2>&5
13499   ac_status=$?
13500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13501   (exit $ac_status); }; }; then
13502   glibcxx_cv_func__atan2f_use=yes
13503 else
13504   echo "$as_me: failed program was:" >&5
13505 sed 's/^/| /' conftest.$ac_ext >&5
13506
13507 glibcxx_cv_func__atan2f_use=no
13508 fi
13509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13510       ac_ext=c
13511 ac_cpp='$CPP $CPPFLAGS'
13512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13515
13516
13517 fi
13518
13519   fi
13520   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13521 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13522
13523     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13524
13525 for ac_func in _atan2f
13526 do
13527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13528 echo "$as_me:$LINENO: checking for $ac_func" >&5
13529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13530 if eval "test \"\${$as_ac_var+set}\" = set"; then
13531   echo $ECHO_N "(cached) $ECHO_C" >&6
13532 else
13533   if test x$gcc_no_link = xyes; then
13534   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13536    { (exit 1); exit 1; }; }
13537 fi
13538 cat >conftest.$ac_ext <<_ACEOF
13539 /* confdefs.h.  */
13540 _ACEOF
13541 cat confdefs.h >>conftest.$ac_ext
13542 cat >>conftest.$ac_ext <<_ACEOF
13543 /* end confdefs.h.  */
13544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13545    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13546 #define $ac_func innocuous_$ac_func
13547
13548 /* System header to define __stub macros and hopefully few prototypes,
13549     which can conflict with char $ac_func (); below.
13550     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13551     <limits.h> exists even on freestanding compilers.  */
13552
13553 #ifdef __STDC__
13554 # include <limits.h>
13555 #else
13556 # include <assert.h>
13557 #endif
13558
13559 #undef $ac_func
13560
13561 /* Override any gcc2 internal prototype to avoid an error.  */
13562 #ifdef __cplusplus
13563 extern "C"
13564 {
13565 #endif
13566 /* We use char because int might match the return type of a gcc2
13567    builtin and then its argument prototype would still apply.  */
13568 char $ac_func ();
13569 /* The GNU C library defines this for functions which it implements
13570     to always fail with ENOSYS.  Some functions are actually named
13571     something starting with __ and the normal name is an alias.  */
13572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13573 choke me
13574 #else
13575 char (*f) () = $ac_func;
13576 #endif
13577 #ifdef __cplusplus
13578 }
13579 #endif
13580
13581 int
13582 main ()
13583 {
13584 return f != $ac_func;
13585   ;
13586   return 0;
13587 }
13588 _ACEOF
13589 rm -f conftest.$ac_objext conftest$ac_exeext
13590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13591   (eval $ac_link) 2>conftest.er1
13592   ac_status=$?
13593   grep -v '^ *+' conftest.er1 >conftest.err
13594   rm -f conftest.er1
13595   cat conftest.err >&5
13596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13597   (exit $ac_status); } &&
13598          { ac_try='test -z "$ac_c_werror_flag"
13599                          || test ! -s conftest.err'
13600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13601   (eval $ac_try) 2>&5
13602   ac_status=$?
13603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13604   (exit $ac_status); }; } &&
13605          { ac_try='test -s conftest$ac_exeext'
13606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13607   (eval $ac_try) 2>&5
13608   ac_status=$?
13609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13610   (exit $ac_status); }; }; then
13611   eval "$as_ac_var=yes"
13612 else
13613   echo "$as_me: failed program was:" >&5
13614 sed 's/^/| /' conftest.$ac_ext >&5
13615
13616 eval "$as_ac_var=no"
13617 fi
13618 rm -f conftest.err conftest.$ac_objext \
13619       conftest$ac_exeext conftest.$ac_ext
13620 fi
13621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13623 if test `eval echo '${'$as_ac_var'}'` = yes; then
13624   cat >>confdefs.h <<_ACEOF
13625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13626 _ACEOF
13627
13628 fi
13629 done
13630
13631     fi
13632   fi
13633
13634
13635
13636
13637
13638
13639   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13640 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13641   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13642     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13643   echo $ECHO_N "(cached) $ECHO_C" >&6
13644 else
13645
13646
13647
13648       ac_ext=cc
13649 ac_cpp='$CXXCPP $CPPFLAGS'
13650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13653
13654       cat >conftest.$ac_ext <<_ACEOF
13655 /* confdefs.h.  */
13656 _ACEOF
13657 cat confdefs.h >>conftest.$ac_ext
13658 cat >>conftest.$ac_ext <<_ACEOF
13659 /* end confdefs.h.  */
13660 #include <math.h>
13661                       #ifdef HAVE_IEEEFP_H
13662                       #include <ieeefp.h>
13663                       #endif
13664
13665 int
13666 main ()
13667 {
13668  fabsf(0);
13669   ;
13670   return 0;
13671 }
13672 _ACEOF
13673 rm -f conftest.$ac_objext
13674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13675   (eval $ac_compile) 2>conftest.er1
13676   ac_status=$?
13677   grep -v '^ *+' conftest.er1 >conftest.err
13678   rm -f conftest.er1
13679   cat conftest.err >&5
13680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13681   (exit $ac_status); } &&
13682          { ac_try='test -z "$ac_cxx_werror_flag"
13683                          || test ! -s conftest.err'
13684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13685   (eval $ac_try) 2>&5
13686   ac_status=$?
13687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13688   (exit $ac_status); }; } &&
13689          { ac_try='test -s conftest.$ac_objext'
13690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13691   (eval $ac_try) 2>&5
13692   ac_status=$?
13693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13694   (exit $ac_status); }; }; then
13695   glibcxx_cv_func_fabsf_use=yes
13696 else
13697   echo "$as_me: failed program was:" >&5
13698 sed 's/^/| /' conftest.$ac_ext >&5
13699
13700 glibcxx_cv_func_fabsf_use=no
13701 fi
13702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13703       ac_ext=c
13704 ac_cpp='$CPP $CPPFLAGS'
13705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13708
13709
13710 fi
13711
13712   fi
13713   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13714 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13715
13716   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13717
13718 for ac_func in fabsf
13719 do
13720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13721 echo "$as_me:$LINENO: checking for $ac_func" >&5
13722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13723 if eval "test \"\${$as_ac_var+set}\" = set"; then
13724   echo $ECHO_N "(cached) $ECHO_C" >&6
13725 else
13726   if test x$gcc_no_link = xyes; then
13727   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13729    { (exit 1); exit 1; }; }
13730 fi
13731 cat >conftest.$ac_ext <<_ACEOF
13732 /* confdefs.h.  */
13733 _ACEOF
13734 cat confdefs.h >>conftest.$ac_ext
13735 cat >>conftest.$ac_ext <<_ACEOF
13736 /* end confdefs.h.  */
13737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13738    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13739 #define $ac_func innocuous_$ac_func
13740
13741 /* System header to define __stub macros and hopefully few prototypes,
13742     which can conflict with char $ac_func (); below.
13743     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13744     <limits.h> exists even on freestanding compilers.  */
13745
13746 #ifdef __STDC__
13747 # include <limits.h>
13748 #else
13749 # include <assert.h>
13750 #endif
13751
13752 #undef $ac_func
13753
13754 /* Override any gcc2 internal prototype to avoid an error.  */
13755 #ifdef __cplusplus
13756 extern "C"
13757 {
13758 #endif
13759 /* We use char because int might match the return type of a gcc2
13760    builtin and then its argument prototype would still apply.  */
13761 char $ac_func ();
13762 /* The GNU C library defines this for functions which it implements
13763     to always fail with ENOSYS.  Some functions are actually named
13764     something starting with __ and the normal name is an alias.  */
13765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13766 choke me
13767 #else
13768 char (*f) () = $ac_func;
13769 #endif
13770 #ifdef __cplusplus
13771 }
13772 #endif
13773
13774 int
13775 main ()
13776 {
13777 return f != $ac_func;
13778   ;
13779   return 0;
13780 }
13781 _ACEOF
13782 rm -f conftest.$ac_objext conftest$ac_exeext
13783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13784   (eval $ac_link) 2>conftest.er1
13785   ac_status=$?
13786   grep -v '^ *+' conftest.er1 >conftest.err
13787   rm -f conftest.er1
13788   cat conftest.err >&5
13789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13790   (exit $ac_status); } &&
13791          { ac_try='test -z "$ac_c_werror_flag"
13792                          || test ! -s conftest.err'
13793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13794   (eval $ac_try) 2>&5
13795   ac_status=$?
13796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13797   (exit $ac_status); }; } &&
13798          { ac_try='test -s conftest$ac_exeext'
13799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13800   (eval $ac_try) 2>&5
13801   ac_status=$?
13802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13803   (exit $ac_status); }; }; then
13804   eval "$as_ac_var=yes"
13805 else
13806   echo "$as_me: failed program was:" >&5
13807 sed 's/^/| /' conftest.$ac_ext >&5
13808
13809 eval "$as_ac_var=no"
13810 fi
13811 rm -f conftest.err conftest.$ac_objext \
13812       conftest$ac_exeext conftest.$ac_ext
13813 fi
13814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13816 if test `eval echo '${'$as_ac_var'}'` = yes; then
13817   cat >>confdefs.h <<_ACEOF
13818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13819 _ACEOF
13820
13821 fi
13822 done
13823
13824   else
13825
13826   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
13827 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
13828   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
13829     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
13830   echo $ECHO_N "(cached) $ECHO_C" >&6
13831 else
13832
13833
13834
13835       ac_ext=cc
13836 ac_cpp='$CXXCPP $CPPFLAGS'
13837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13840
13841       cat >conftest.$ac_ext <<_ACEOF
13842 /* confdefs.h.  */
13843 _ACEOF
13844 cat confdefs.h >>conftest.$ac_ext
13845 cat >>conftest.$ac_ext <<_ACEOF
13846 /* end confdefs.h.  */
13847 #include <math.h>
13848                       #ifdef HAVE_IEEEFP_H
13849                       #include <ieeefp.h>
13850                       #endif
13851
13852 int
13853 main ()
13854 {
13855  _fabsf(0);
13856   ;
13857   return 0;
13858 }
13859 _ACEOF
13860 rm -f conftest.$ac_objext
13861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13862   (eval $ac_compile) 2>conftest.er1
13863   ac_status=$?
13864   grep -v '^ *+' conftest.er1 >conftest.err
13865   rm -f conftest.er1
13866   cat conftest.err >&5
13867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13868   (exit $ac_status); } &&
13869          { ac_try='test -z "$ac_cxx_werror_flag"
13870                          || test ! -s conftest.err'
13871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13872   (eval $ac_try) 2>&5
13873   ac_status=$?
13874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13875   (exit $ac_status); }; } &&
13876          { ac_try='test -s conftest.$ac_objext'
13877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13878   (eval $ac_try) 2>&5
13879   ac_status=$?
13880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13881   (exit $ac_status); }; }; then
13882   glibcxx_cv_func__fabsf_use=yes
13883 else
13884   echo "$as_me: failed program was:" >&5
13885 sed 's/^/| /' conftest.$ac_ext >&5
13886
13887 glibcxx_cv_func__fabsf_use=no
13888 fi
13889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13890       ac_ext=c
13891 ac_cpp='$CPP $CPPFLAGS'
13892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13895
13896
13897 fi
13898
13899   fi
13900   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
13901 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
13902
13903     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
13904
13905 for ac_func in _fabsf
13906 do
13907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13908 echo "$as_me:$LINENO: checking for $ac_func" >&5
13909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13910 if eval "test \"\${$as_ac_var+set}\" = set"; then
13911   echo $ECHO_N "(cached) $ECHO_C" >&6
13912 else
13913   if test x$gcc_no_link = xyes; then
13914   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13916    { (exit 1); exit 1; }; }
13917 fi
13918 cat >conftest.$ac_ext <<_ACEOF
13919 /* confdefs.h.  */
13920 _ACEOF
13921 cat confdefs.h >>conftest.$ac_ext
13922 cat >>conftest.$ac_ext <<_ACEOF
13923 /* end confdefs.h.  */
13924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13925    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13926 #define $ac_func innocuous_$ac_func
13927
13928 /* System header to define __stub macros and hopefully few prototypes,
13929     which can conflict with char $ac_func (); below.
13930     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13931     <limits.h> exists even on freestanding compilers.  */
13932
13933 #ifdef __STDC__
13934 # include <limits.h>
13935 #else
13936 # include <assert.h>
13937 #endif
13938
13939 #undef $ac_func
13940
13941 /* Override any gcc2 internal prototype to avoid an error.  */
13942 #ifdef __cplusplus
13943 extern "C"
13944 {
13945 #endif
13946 /* We use char because int might match the return type of a gcc2
13947    builtin and then its argument prototype would still apply.  */
13948 char $ac_func ();
13949 /* The GNU C library defines this for functions which it implements
13950     to always fail with ENOSYS.  Some functions are actually named
13951     something starting with __ and the normal name is an alias.  */
13952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13953 choke me
13954 #else
13955 char (*f) () = $ac_func;
13956 #endif
13957 #ifdef __cplusplus
13958 }
13959 #endif
13960
13961 int
13962 main ()
13963 {
13964 return f != $ac_func;
13965   ;
13966   return 0;
13967 }
13968 _ACEOF
13969 rm -f conftest.$ac_objext conftest$ac_exeext
13970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13971   (eval $ac_link) 2>conftest.er1
13972   ac_status=$?
13973   grep -v '^ *+' conftest.er1 >conftest.err
13974   rm -f conftest.er1
13975   cat conftest.err >&5
13976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13977   (exit $ac_status); } &&
13978          { ac_try='test -z "$ac_c_werror_flag"
13979                          || test ! -s conftest.err'
13980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13981   (eval $ac_try) 2>&5
13982   ac_status=$?
13983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13984   (exit $ac_status); }; } &&
13985          { ac_try='test -s conftest$ac_exeext'
13986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13987   (eval $ac_try) 2>&5
13988   ac_status=$?
13989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13990   (exit $ac_status); }; }; then
13991   eval "$as_ac_var=yes"
13992 else
13993   echo "$as_me: failed program was:" >&5
13994 sed 's/^/| /' conftest.$ac_ext >&5
13995
13996 eval "$as_ac_var=no"
13997 fi
13998 rm -f conftest.err conftest.$ac_objext \
13999       conftest$ac_exeext conftest.$ac_ext
14000 fi
14001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14003 if test `eval echo '${'$as_ac_var'}'` = yes; then
14004   cat >>confdefs.h <<_ACEOF
14005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14006 _ACEOF
14007
14008 fi
14009 done
14010
14011     fi
14012   fi
14013
14014
14015
14016
14017
14018
14019   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
14020 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
14021   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
14022     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
14023   echo $ECHO_N "(cached) $ECHO_C" >&6
14024 else
14025
14026
14027
14028       ac_ext=cc
14029 ac_cpp='$CXXCPP $CPPFLAGS'
14030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14033
14034       cat >conftest.$ac_ext <<_ACEOF
14035 /* confdefs.h.  */
14036 _ACEOF
14037 cat confdefs.h >>conftest.$ac_ext
14038 cat >>conftest.$ac_ext <<_ACEOF
14039 /* end confdefs.h.  */
14040 #include <math.h>
14041 int
14042 main ()
14043 {
14044  fmodf(0, 0);
14045   ;
14046   return 0;
14047 }
14048 _ACEOF
14049 rm -f conftest.$ac_objext
14050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14051   (eval $ac_compile) 2>conftest.er1
14052   ac_status=$?
14053   grep -v '^ *+' conftest.er1 >conftest.err
14054   rm -f conftest.er1
14055   cat conftest.err >&5
14056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14057   (exit $ac_status); } &&
14058          { ac_try='test -z "$ac_cxx_werror_flag"
14059                          || test ! -s conftest.err'
14060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14061   (eval $ac_try) 2>&5
14062   ac_status=$?
14063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14064   (exit $ac_status); }; } &&
14065          { ac_try='test -s conftest.$ac_objext'
14066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14067   (eval $ac_try) 2>&5
14068   ac_status=$?
14069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14070   (exit $ac_status); }; }; then
14071   glibcxx_cv_func_fmodf_use=yes
14072 else
14073   echo "$as_me: failed program was:" >&5
14074 sed 's/^/| /' conftest.$ac_ext >&5
14075
14076 glibcxx_cv_func_fmodf_use=no
14077 fi
14078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14079       ac_ext=c
14080 ac_cpp='$CPP $CPPFLAGS'
14081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14084
14085
14086 fi
14087
14088   fi
14089   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
14090 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
14091
14092   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
14093
14094 for ac_func in fmodf
14095 do
14096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14097 echo "$as_me:$LINENO: checking for $ac_func" >&5
14098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14099 if eval "test \"\${$as_ac_var+set}\" = set"; then
14100   echo $ECHO_N "(cached) $ECHO_C" >&6
14101 else
14102   if test x$gcc_no_link = xyes; then
14103   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14105    { (exit 1); exit 1; }; }
14106 fi
14107 cat >conftest.$ac_ext <<_ACEOF
14108 /* confdefs.h.  */
14109 _ACEOF
14110 cat confdefs.h >>conftest.$ac_ext
14111 cat >>conftest.$ac_ext <<_ACEOF
14112 /* end confdefs.h.  */
14113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14114    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14115 #define $ac_func innocuous_$ac_func
14116
14117 /* System header to define __stub macros and hopefully few prototypes,
14118     which can conflict with char $ac_func (); below.
14119     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14120     <limits.h> exists even on freestanding compilers.  */
14121
14122 #ifdef __STDC__
14123 # include <limits.h>
14124 #else
14125 # include <assert.h>
14126 #endif
14127
14128 #undef $ac_func
14129
14130 /* Override any gcc2 internal prototype to avoid an error.  */
14131 #ifdef __cplusplus
14132 extern "C"
14133 {
14134 #endif
14135 /* We use char because int might match the return type of a gcc2
14136    builtin and then its argument prototype would still apply.  */
14137 char $ac_func ();
14138 /* The GNU C library defines this for functions which it implements
14139     to always fail with ENOSYS.  Some functions are actually named
14140     something starting with __ and the normal name is an alias.  */
14141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14142 choke me
14143 #else
14144 char (*f) () = $ac_func;
14145 #endif
14146 #ifdef __cplusplus
14147 }
14148 #endif
14149
14150 int
14151 main ()
14152 {
14153 return f != $ac_func;
14154   ;
14155   return 0;
14156 }
14157 _ACEOF
14158 rm -f conftest.$ac_objext conftest$ac_exeext
14159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14160   (eval $ac_link) 2>conftest.er1
14161   ac_status=$?
14162   grep -v '^ *+' conftest.er1 >conftest.err
14163   rm -f conftest.er1
14164   cat conftest.err >&5
14165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14166   (exit $ac_status); } &&
14167          { ac_try='test -z "$ac_c_werror_flag"
14168                          || test ! -s conftest.err'
14169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14170   (eval $ac_try) 2>&5
14171   ac_status=$?
14172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173   (exit $ac_status); }; } &&
14174          { ac_try='test -s conftest$ac_exeext'
14175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14176   (eval $ac_try) 2>&5
14177   ac_status=$?
14178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179   (exit $ac_status); }; }; then
14180   eval "$as_ac_var=yes"
14181 else
14182   echo "$as_me: failed program was:" >&5
14183 sed 's/^/| /' conftest.$ac_ext >&5
14184
14185 eval "$as_ac_var=no"
14186 fi
14187 rm -f conftest.err conftest.$ac_objext \
14188       conftest$ac_exeext conftest.$ac_ext
14189 fi
14190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14192 if test `eval echo '${'$as_ac_var'}'` = yes; then
14193   cat >>confdefs.h <<_ACEOF
14194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14195 _ACEOF
14196
14197 fi
14198 done
14199
14200   else
14201
14202   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
14203 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
14204   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
14205     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
14206   echo $ECHO_N "(cached) $ECHO_C" >&6
14207 else
14208
14209
14210
14211       ac_ext=cc
14212 ac_cpp='$CXXCPP $CPPFLAGS'
14213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14216
14217       cat >conftest.$ac_ext <<_ACEOF
14218 /* confdefs.h.  */
14219 _ACEOF
14220 cat confdefs.h >>conftest.$ac_ext
14221 cat >>conftest.$ac_ext <<_ACEOF
14222 /* end confdefs.h.  */
14223 #include <math.h>
14224 int
14225 main ()
14226 {
14227  _fmodf(0, 0);
14228   ;
14229   return 0;
14230 }
14231 _ACEOF
14232 rm -f conftest.$ac_objext
14233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14234   (eval $ac_compile) 2>conftest.er1
14235   ac_status=$?
14236   grep -v '^ *+' conftest.er1 >conftest.err
14237   rm -f conftest.er1
14238   cat conftest.err >&5
14239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14240   (exit $ac_status); } &&
14241          { ac_try='test -z "$ac_cxx_werror_flag"
14242                          || test ! -s conftest.err'
14243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14244   (eval $ac_try) 2>&5
14245   ac_status=$?
14246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14247   (exit $ac_status); }; } &&
14248          { ac_try='test -s conftest.$ac_objext'
14249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14250   (eval $ac_try) 2>&5
14251   ac_status=$?
14252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14253   (exit $ac_status); }; }; then
14254   glibcxx_cv_func__fmodf_use=yes
14255 else
14256   echo "$as_me: failed program was:" >&5
14257 sed 's/^/| /' conftest.$ac_ext >&5
14258
14259 glibcxx_cv_func__fmodf_use=no
14260 fi
14261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14262       ac_ext=c
14263 ac_cpp='$CPP $CPPFLAGS'
14264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14267
14268
14269 fi
14270
14271   fi
14272   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
14273 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
14274
14275     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
14276
14277 for ac_func in _fmodf
14278 do
14279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14280 echo "$as_me:$LINENO: checking for $ac_func" >&5
14281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14282 if eval "test \"\${$as_ac_var+set}\" = set"; then
14283   echo $ECHO_N "(cached) $ECHO_C" >&6
14284 else
14285   if test x$gcc_no_link = xyes; then
14286   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14288    { (exit 1); exit 1; }; }
14289 fi
14290 cat >conftest.$ac_ext <<_ACEOF
14291 /* confdefs.h.  */
14292 _ACEOF
14293 cat confdefs.h >>conftest.$ac_ext
14294 cat >>conftest.$ac_ext <<_ACEOF
14295 /* end confdefs.h.  */
14296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14297    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14298 #define $ac_func innocuous_$ac_func
14299
14300 /* System header to define __stub macros and hopefully few prototypes,
14301     which can conflict with char $ac_func (); below.
14302     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14303     <limits.h> exists even on freestanding compilers.  */
14304
14305 #ifdef __STDC__
14306 # include <limits.h>
14307 #else
14308 # include <assert.h>
14309 #endif
14310
14311 #undef $ac_func
14312
14313 /* Override any gcc2 internal prototype to avoid an error.  */
14314 #ifdef __cplusplus
14315 extern "C"
14316 {
14317 #endif
14318 /* We use char because int might match the return type of a gcc2
14319    builtin and then its argument prototype would still apply.  */
14320 char $ac_func ();
14321 /* The GNU C library defines this for functions which it implements
14322     to always fail with ENOSYS.  Some functions are actually named
14323     something starting with __ and the normal name is an alias.  */
14324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14325 choke me
14326 #else
14327 char (*f) () = $ac_func;
14328 #endif
14329 #ifdef __cplusplus
14330 }
14331 #endif
14332
14333 int
14334 main ()
14335 {
14336 return f != $ac_func;
14337   ;
14338   return 0;
14339 }
14340 _ACEOF
14341 rm -f conftest.$ac_objext conftest$ac_exeext
14342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14343   (eval $ac_link) 2>conftest.er1
14344   ac_status=$?
14345   grep -v '^ *+' conftest.er1 >conftest.err
14346   rm -f conftest.er1
14347   cat conftest.err >&5
14348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14349   (exit $ac_status); } &&
14350          { ac_try='test -z "$ac_c_werror_flag"
14351                          || test ! -s conftest.err'
14352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14353   (eval $ac_try) 2>&5
14354   ac_status=$?
14355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14356   (exit $ac_status); }; } &&
14357          { ac_try='test -s conftest$ac_exeext'
14358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14359   (eval $ac_try) 2>&5
14360   ac_status=$?
14361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14362   (exit $ac_status); }; }; then
14363   eval "$as_ac_var=yes"
14364 else
14365   echo "$as_me: failed program was:" >&5
14366 sed 's/^/| /' conftest.$ac_ext >&5
14367
14368 eval "$as_ac_var=no"
14369 fi
14370 rm -f conftest.err conftest.$ac_objext \
14371       conftest$ac_exeext conftest.$ac_ext
14372 fi
14373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14375 if test `eval echo '${'$as_ac_var'}'` = yes; then
14376   cat >>confdefs.h <<_ACEOF
14377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14378 _ACEOF
14379
14380 fi
14381 done
14382
14383     fi
14384   fi
14385
14386
14387
14388
14389
14390
14391   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
14392 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
14393   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
14394     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
14395   echo $ECHO_N "(cached) $ECHO_C" >&6
14396 else
14397
14398
14399
14400       ac_ext=cc
14401 ac_cpp='$CXXCPP $CPPFLAGS'
14402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14405
14406       cat >conftest.$ac_ext <<_ACEOF
14407 /* confdefs.h.  */
14408 _ACEOF
14409 cat confdefs.h >>conftest.$ac_ext
14410 cat >>conftest.$ac_ext <<_ACEOF
14411 /* end confdefs.h.  */
14412 #include <math.h>
14413 int
14414 main ()
14415 {
14416  frexpf(0, 0);
14417   ;
14418   return 0;
14419 }
14420 _ACEOF
14421 rm -f conftest.$ac_objext
14422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14423   (eval $ac_compile) 2>conftest.er1
14424   ac_status=$?
14425   grep -v '^ *+' conftest.er1 >conftest.err
14426   rm -f conftest.er1
14427   cat conftest.err >&5
14428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14429   (exit $ac_status); } &&
14430          { ac_try='test -z "$ac_cxx_werror_flag"
14431                          || test ! -s conftest.err'
14432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14433   (eval $ac_try) 2>&5
14434   ac_status=$?
14435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14436   (exit $ac_status); }; } &&
14437          { ac_try='test -s conftest.$ac_objext'
14438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14439   (eval $ac_try) 2>&5
14440   ac_status=$?
14441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14442   (exit $ac_status); }; }; then
14443   glibcxx_cv_func_frexpf_use=yes
14444 else
14445   echo "$as_me: failed program was:" >&5
14446 sed 's/^/| /' conftest.$ac_ext >&5
14447
14448 glibcxx_cv_func_frexpf_use=no
14449 fi
14450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14451       ac_ext=c
14452 ac_cpp='$CPP $CPPFLAGS'
14453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14456
14457
14458 fi
14459
14460   fi
14461   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14462 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14463
14464   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14465
14466 for ac_func in frexpf
14467 do
14468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14469 echo "$as_me:$LINENO: checking for $ac_func" >&5
14470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14471 if eval "test \"\${$as_ac_var+set}\" = set"; then
14472   echo $ECHO_N "(cached) $ECHO_C" >&6
14473 else
14474   if test x$gcc_no_link = xyes; then
14475   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14477    { (exit 1); exit 1; }; }
14478 fi
14479 cat >conftest.$ac_ext <<_ACEOF
14480 /* confdefs.h.  */
14481 _ACEOF
14482 cat confdefs.h >>conftest.$ac_ext
14483 cat >>conftest.$ac_ext <<_ACEOF
14484 /* end confdefs.h.  */
14485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14486    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14487 #define $ac_func innocuous_$ac_func
14488
14489 /* System header to define __stub macros and hopefully few prototypes,
14490     which can conflict with char $ac_func (); below.
14491     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14492     <limits.h> exists even on freestanding compilers.  */
14493
14494 #ifdef __STDC__
14495 # include <limits.h>
14496 #else
14497 # include <assert.h>
14498 #endif
14499
14500 #undef $ac_func
14501
14502 /* Override any gcc2 internal prototype to avoid an error.  */
14503 #ifdef __cplusplus
14504 extern "C"
14505 {
14506 #endif
14507 /* We use char because int might match the return type of a gcc2
14508    builtin and then its argument prototype would still apply.  */
14509 char $ac_func ();
14510 /* The GNU C library defines this for functions which it implements
14511     to always fail with ENOSYS.  Some functions are actually named
14512     something starting with __ and the normal name is an alias.  */
14513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14514 choke me
14515 #else
14516 char (*f) () = $ac_func;
14517 #endif
14518 #ifdef __cplusplus
14519 }
14520 #endif
14521
14522 int
14523 main ()
14524 {
14525 return f != $ac_func;
14526   ;
14527   return 0;
14528 }
14529 _ACEOF
14530 rm -f conftest.$ac_objext conftest$ac_exeext
14531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14532   (eval $ac_link) 2>conftest.er1
14533   ac_status=$?
14534   grep -v '^ *+' conftest.er1 >conftest.err
14535   rm -f conftest.er1
14536   cat conftest.err >&5
14537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14538   (exit $ac_status); } &&
14539          { ac_try='test -z "$ac_c_werror_flag"
14540                          || test ! -s conftest.err'
14541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14542   (eval $ac_try) 2>&5
14543   ac_status=$?
14544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14545   (exit $ac_status); }; } &&
14546          { ac_try='test -s conftest$ac_exeext'
14547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14548   (eval $ac_try) 2>&5
14549   ac_status=$?
14550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14551   (exit $ac_status); }; }; then
14552   eval "$as_ac_var=yes"
14553 else
14554   echo "$as_me: failed program was:" >&5
14555 sed 's/^/| /' conftest.$ac_ext >&5
14556
14557 eval "$as_ac_var=no"
14558 fi
14559 rm -f conftest.err conftest.$ac_objext \
14560       conftest$ac_exeext conftest.$ac_ext
14561 fi
14562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14564 if test `eval echo '${'$as_ac_var'}'` = yes; then
14565   cat >>confdefs.h <<_ACEOF
14566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14567 _ACEOF
14568
14569 fi
14570 done
14571
14572   else
14573
14574   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14575 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14576   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14577     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14578   echo $ECHO_N "(cached) $ECHO_C" >&6
14579 else
14580
14581
14582
14583       ac_ext=cc
14584 ac_cpp='$CXXCPP $CPPFLAGS'
14585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14588
14589       cat >conftest.$ac_ext <<_ACEOF
14590 /* confdefs.h.  */
14591 _ACEOF
14592 cat confdefs.h >>conftest.$ac_ext
14593 cat >>conftest.$ac_ext <<_ACEOF
14594 /* end confdefs.h.  */
14595 #include <math.h>
14596 int
14597 main ()
14598 {
14599  _frexpf(0, 0);
14600   ;
14601   return 0;
14602 }
14603 _ACEOF
14604 rm -f conftest.$ac_objext
14605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14606   (eval $ac_compile) 2>conftest.er1
14607   ac_status=$?
14608   grep -v '^ *+' conftest.er1 >conftest.err
14609   rm -f conftest.er1
14610   cat conftest.err >&5
14611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14612   (exit $ac_status); } &&
14613          { ac_try='test -z "$ac_cxx_werror_flag"
14614                          || test ! -s conftest.err'
14615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14616   (eval $ac_try) 2>&5
14617   ac_status=$?
14618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14619   (exit $ac_status); }; } &&
14620          { ac_try='test -s conftest.$ac_objext'
14621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14622   (eval $ac_try) 2>&5
14623   ac_status=$?
14624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14625   (exit $ac_status); }; }; then
14626   glibcxx_cv_func__frexpf_use=yes
14627 else
14628   echo "$as_me: failed program was:" >&5
14629 sed 's/^/| /' conftest.$ac_ext >&5
14630
14631 glibcxx_cv_func__frexpf_use=no
14632 fi
14633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14634       ac_ext=c
14635 ac_cpp='$CPP $CPPFLAGS'
14636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14639
14640
14641 fi
14642
14643   fi
14644   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14645 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14646
14647     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14648
14649 for ac_func in _frexpf
14650 do
14651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14652 echo "$as_me:$LINENO: checking for $ac_func" >&5
14653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14654 if eval "test \"\${$as_ac_var+set}\" = set"; then
14655   echo $ECHO_N "(cached) $ECHO_C" >&6
14656 else
14657   if test x$gcc_no_link = xyes; then
14658   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14660    { (exit 1); exit 1; }; }
14661 fi
14662 cat >conftest.$ac_ext <<_ACEOF
14663 /* confdefs.h.  */
14664 _ACEOF
14665 cat confdefs.h >>conftest.$ac_ext
14666 cat >>conftest.$ac_ext <<_ACEOF
14667 /* end confdefs.h.  */
14668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14669    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14670 #define $ac_func innocuous_$ac_func
14671
14672 /* System header to define __stub macros and hopefully few prototypes,
14673     which can conflict with char $ac_func (); below.
14674     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14675     <limits.h> exists even on freestanding compilers.  */
14676
14677 #ifdef __STDC__
14678 # include <limits.h>
14679 #else
14680 # include <assert.h>
14681 #endif
14682
14683 #undef $ac_func
14684
14685 /* Override any gcc2 internal prototype to avoid an error.  */
14686 #ifdef __cplusplus
14687 extern "C"
14688 {
14689 #endif
14690 /* We use char because int might match the return type of a gcc2
14691    builtin and then its argument prototype would still apply.  */
14692 char $ac_func ();
14693 /* The GNU C library defines this for functions which it implements
14694     to always fail with ENOSYS.  Some functions are actually named
14695     something starting with __ and the normal name is an alias.  */
14696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14697 choke me
14698 #else
14699 char (*f) () = $ac_func;
14700 #endif
14701 #ifdef __cplusplus
14702 }
14703 #endif
14704
14705 int
14706 main ()
14707 {
14708 return f != $ac_func;
14709   ;
14710   return 0;
14711 }
14712 _ACEOF
14713 rm -f conftest.$ac_objext conftest$ac_exeext
14714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14715   (eval $ac_link) 2>conftest.er1
14716   ac_status=$?
14717   grep -v '^ *+' conftest.er1 >conftest.err
14718   rm -f conftest.er1
14719   cat conftest.err >&5
14720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14721   (exit $ac_status); } &&
14722          { ac_try='test -z "$ac_c_werror_flag"
14723                          || test ! -s conftest.err'
14724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14725   (eval $ac_try) 2>&5
14726   ac_status=$?
14727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14728   (exit $ac_status); }; } &&
14729          { ac_try='test -s conftest$ac_exeext'
14730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14731   (eval $ac_try) 2>&5
14732   ac_status=$?
14733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14734   (exit $ac_status); }; }; then
14735   eval "$as_ac_var=yes"
14736 else
14737   echo "$as_me: failed program was:" >&5
14738 sed 's/^/| /' conftest.$ac_ext >&5
14739
14740 eval "$as_ac_var=no"
14741 fi
14742 rm -f conftest.err conftest.$ac_objext \
14743       conftest$ac_exeext conftest.$ac_ext
14744 fi
14745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14746 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14747 if test `eval echo '${'$as_ac_var'}'` = yes; then
14748   cat >>confdefs.h <<_ACEOF
14749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14750 _ACEOF
14751
14752 fi
14753 done
14754
14755     fi
14756   fi
14757
14758
14759
14760
14761
14762
14763   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14764 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14765   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14766     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14767   echo $ECHO_N "(cached) $ECHO_C" >&6
14768 else
14769
14770
14771
14772       ac_ext=cc
14773 ac_cpp='$CXXCPP $CPPFLAGS'
14774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14777
14778       cat >conftest.$ac_ext <<_ACEOF
14779 /* confdefs.h.  */
14780 _ACEOF
14781 cat confdefs.h >>conftest.$ac_ext
14782 cat >>conftest.$ac_ext <<_ACEOF
14783 /* end confdefs.h.  */
14784 #include <math.h>
14785 int
14786 main ()
14787 {
14788  hypotf(0, 0);
14789   ;
14790   return 0;
14791 }
14792 _ACEOF
14793 rm -f conftest.$ac_objext
14794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14795   (eval $ac_compile) 2>conftest.er1
14796   ac_status=$?
14797   grep -v '^ *+' conftest.er1 >conftest.err
14798   rm -f conftest.er1
14799   cat conftest.err >&5
14800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14801   (exit $ac_status); } &&
14802          { ac_try='test -z "$ac_cxx_werror_flag"
14803                          || test ! -s conftest.err'
14804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14805   (eval $ac_try) 2>&5
14806   ac_status=$?
14807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14808   (exit $ac_status); }; } &&
14809          { ac_try='test -s conftest.$ac_objext'
14810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14811   (eval $ac_try) 2>&5
14812   ac_status=$?
14813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14814   (exit $ac_status); }; }; then
14815   glibcxx_cv_func_hypotf_use=yes
14816 else
14817   echo "$as_me: failed program was:" >&5
14818 sed 's/^/| /' conftest.$ac_ext >&5
14819
14820 glibcxx_cv_func_hypotf_use=no
14821 fi
14822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14823       ac_ext=c
14824 ac_cpp='$CPP $CPPFLAGS'
14825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14828
14829
14830 fi
14831
14832   fi
14833   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
14834 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
14835
14836   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
14837
14838 for ac_func in hypotf
14839 do
14840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14841 echo "$as_me:$LINENO: checking for $ac_func" >&5
14842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14843 if eval "test \"\${$as_ac_var+set}\" = set"; then
14844   echo $ECHO_N "(cached) $ECHO_C" >&6
14845 else
14846   if test x$gcc_no_link = xyes; then
14847   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14849    { (exit 1); exit 1; }; }
14850 fi
14851 cat >conftest.$ac_ext <<_ACEOF
14852 /* confdefs.h.  */
14853 _ACEOF
14854 cat confdefs.h >>conftest.$ac_ext
14855 cat >>conftest.$ac_ext <<_ACEOF
14856 /* end confdefs.h.  */
14857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14858    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14859 #define $ac_func innocuous_$ac_func
14860
14861 /* System header to define __stub macros and hopefully few prototypes,
14862     which can conflict with char $ac_func (); below.
14863     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14864     <limits.h> exists even on freestanding compilers.  */
14865
14866 #ifdef __STDC__
14867 # include <limits.h>
14868 #else
14869 # include <assert.h>
14870 #endif
14871
14872 #undef $ac_func
14873
14874 /* Override any gcc2 internal prototype to avoid an error.  */
14875 #ifdef __cplusplus
14876 extern "C"
14877 {
14878 #endif
14879 /* We use char because int might match the return type of a gcc2
14880    builtin and then its argument prototype would still apply.  */
14881 char $ac_func ();
14882 /* The GNU C library defines this for functions which it implements
14883     to always fail with ENOSYS.  Some functions are actually named
14884     something starting with __ and the normal name is an alias.  */
14885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14886 choke me
14887 #else
14888 char (*f) () = $ac_func;
14889 #endif
14890 #ifdef __cplusplus
14891 }
14892 #endif
14893
14894 int
14895 main ()
14896 {
14897 return f != $ac_func;
14898   ;
14899   return 0;
14900 }
14901 _ACEOF
14902 rm -f conftest.$ac_objext conftest$ac_exeext
14903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14904   (eval $ac_link) 2>conftest.er1
14905   ac_status=$?
14906   grep -v '^ *+' conftest.er1 >conftest.err
14907   rm -f conftest.er1
14908   cat conftest.err >&5
14909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14910   (exit $ac_status); } &&
14911          { ac_try='test -z "$ac_c_werror_flag"
14912                          || test ! -s conftest.err'
14913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14914   (eval $ac_try) 2>&5
14915   ac_status=$?
14916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14917   (exit $ac_status); }; } &&
14918          { ac_try='test -s conftest$ac_exeext'
14919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14920   (eval $ac_try) 2>&5
14921   ac_status=$?
14922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14923   (exit $ac_status); }; }; then
14924   eval "$as_ac_var=yes"
14925 else
14926   echo "$as_me: failed program was:" >&5
14927 sed 's/^/| /' conftest.$ac_ext >&5
14928
14929 eval "$as_ac_var=no"
14930 fi
14931 rm -f conftest.err conftest.$ac_objext \
14932       conftest$ac_exeext conftest.$ac_ext
14933 fi
14934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14936 if test `eval echo '${'$as_ac_var'}'` = yes; then
14937   cat >>confdefs.h <<_ACEOF
14938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14939 _ACEOF
14940
14941 fi
14942 done
14943
14944   else
14945
14946   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
14947 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
14948   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
14949     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
14950   echo $ECHO_N "(cached) $ECHO_C" >&6
14951 else
14952
14953
14954
14955       ac_ext=cc
14956 ac_cpp='$CXXCPP $CPPFLAGS'
14957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14960
14961       cat >conftest.$ac_ext <<_ACEOF
14962 /* confdefs.h.  */
14963 _ACEOF
14964 cat confdefs.h >>conftest.$ac_ext
14965 cat >>conftest.$ac_ext <<_ACEOF
14966 /* end confdefs.h.  */
14967 #include <math.h>
14968 int
14969 main ()
14970 {
14971  _hypotf(0, 0);
14972   ;
14973   return 0;
14974 }
14975 _ACEOF
14976 rm -f conftest.$ac_objext
14977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14978   (eval $ac_compile) 2>conftest.er1
14979   ac_status=$?
14980   grep -v '^ *+' conftest.er1 >conftest.err
14981   rm -f conftest.er1
14982   cat conftest.err >&5
14983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14984   (exit $ac_status); } &&
14985          { ac_try='test -z "$ac_cxx_werror_flag"
14986                          || test ! -s conftest.err'
14987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14988   (eval $ac_try) 2>&5
14989   ac_status=$?
14990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14991   (exit $ac_status); }; } &&
14992          { ac_try='test -s conftest.$ac_objext'
14993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14994   (eval $ac_try) 2>&5
14995   ac_status=$?
14996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14997   (exit $ac_status); }; }; then
14998   glibcxx_cv_func__hypotf_use=yes
14999 else
15000   echo "$as_me: failed program was:" >&5
15001 sed 's/^/| /' conftest.$ac_ext >&5
15002
15003 glibcxx_cv_func__hypotf_use=no
15004 fi
15005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15006       ac_ext=c
15007 ac_cpp='$CPP $CPPFLAGS'
15008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15011
15012
15013 fi
15014
15015   fi
15016   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
15017 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
15018
15019     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
15020
15021 for ac_func in _hypotf
15022 do
15023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15024 echo "$as_me:$LINENO: checking for $ac_func" >&5
15025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15026 if eval "test \"\${$as_ac_var+set}\" = set"; then
15027   echo $ECHO_N "(cached) $ECHO_C" >&6
15028 else
15029   if test x$gcc_no_link = xyes; then
15030   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15032    { (exit 1); exit 1; }; }
15033 fi
15034 cat >conftest.$ac_ext <<_ACEOF
15035 /* confdefs.h.  */
15036 _ACEOF
15037 cat confdefs.h >>conftest.$ac_ext
15038 cat >>conftest.$ac_ext <<_ACEOF
15039 /* end confdefs.h.  */
15040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15041    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15042 #define $ac_func innocuous_$ac_func
15043
15044 /* System header to define __stub macros and hopefully few prototypes,
15045     which can conflict with char $ac_func (); below.
15046     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15047     <limits.h> exists even on freestanding compilers.  */
15048
15049 #ifdef __STDC__
15050 # include <limits.h>
15051 #else
15052 # include <assert.h>
15053 #endif
15054
15055 #undef $ac_func
15056
15057 /* Override any gcc2 internal prototype to avoid an error.  */
15058 #ifdef __cplusplus
15059 extern "C"
15060 {
15061 #endif
15062 /* We use char because int might match the return type of a gcc2
15063    builtin and then its argument prototype would still apply.  */
15064 char $ac_func ();
15065 /* The GNU C library defines this for functions which it implements
15066     to always fail with ENOSYS.  Some functions are actually named
15067     something starting with __ and the normal name is an alias.  */
15068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15069 choke me
15070 #else
15071 char (*f) () = $ac_func;
15072 #endif
15073 #ifdef __cplusplus
15074 }
15075 #endif
15076
15077 int
15078 main ()
15079 {
15080 return f != $ac_func;
15081   ;
15082   return 0;
15083 }
15084 _ACEOF
15085 rm -f conftest.$ac_objext conftest$ac_exeext
15086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15087   (eval $ac_link) 2>conftest.er1
15088   ac_status=$?
15089   grep -v '^ *+' conftest.er1 >conftest.err
15090   rm -f conftest.er1
15091   cat conftest.err >&5
15092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15093   (exit $ac_status); } &&
15094          { ac_try='test -z "$ac_c_werror_flag"
15095                          || test ! -s conftest.err'
15096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15097   (eval $ac_try) 2>&5
15098   ac_status=$?
15099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15100   (exit $ac_status); }; } &&
15101          { ac_try='test -s conftest$ac_exeext'
15102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15103   (eval $ac_try) 2>&5
15104   ac_status=$?
15105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15106   (exit $ac_status); }; }; then
15107   eval "$as_ac_var=yes"
15108 else
15109   echo "$as_me: failed program was:" >&5
15110 sed 's/^/| /' conftest.$ac_ext >&5
15111
15112 eval "$as_ac_var=no"
15113 fi
15114 rm -f conftest.err conftest.$ac_objext \
15115       conftest$ac_exeext conftest.$ac_ext
15116 fi
15117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15119 if test `eval echo '${'$as_ac_var'}'` = yes; then
15120   cat >>confdefs.h <<_ACEOF
15121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15122 _ACEOF
15123
15124 fi
15125 done
15126
15127     fi
15128   fi
15129
15130
15131
15132
15133
15134
15135   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
15136 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
15137   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
15138     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
15139   echo $ECHO_N "(cached) $ECHO_C" >&6
15140 else
15141
15142
15143
15144       ac_ext=cc
15145 ac_cpp='$CXXCPP $CPPFLAGS'
15146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15149
15150       cat >conftest.$ac_ext <<_ACEOF
15151 /* confdefs.h.  */
15152 _ACEOF
15153 cat confdefs.h >>conftest.$ac_ext
15154 cat >>conftest.$ac_ext <<_ACEOF
15155 /* end confdefs.h.  */
15156 #include <math.h>
15157 int
15158 main ()
15159 {
15160  ldexpf(0, 0);
15161   ;
15162   return 0;
15163 }
15164 _ACEOF
15165 rm -f conftest.$ac_objext
15166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15167   (eval $ac_compile) 2>conftest.er1
15168   ac_status=$?
15169   grep -v '^ *+' conftest.er1 >conftest.err
15170   rm -f conftest.er1
15171   cat conftest.err >&5
15172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15173   (exit $ac_status); } &&
15174          { ac_try='test -z "$ac_cxx_werror_flag"
15175                          || test ! -s conftest.err'
15176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15177   (eval $ac_try) 2>&5
15178   ac_status=$?
15179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15180   (exit $ac_status); }; } &&
15181          { ac_try='test -s conftest.$ac_objext'
15182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15183   (eval $ac_try) 2>&5
15184   ac_status=$?
15185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15186   (exit $ac_status); }; }; then
15187   glibcxx_cv_func_ldexpf_use=yes
15188 else
15189   echo "$as_me: failed program was:" >&5
15190 sed 's/^/| /' conftest.$ac_ext >&5
15191
15192 glibcxx_cv_func_ldexpf_use=no
15193 fi
15194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15195       ac_ext=c
15196 ac_cpp='$CPP $CPPFLAGS'
15197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15200
15201
15202 fi
15203
15204   fi
15205   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
15206 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
15207
15208   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
15209
15210 for ac_func in ldexpf
15211 do
15212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15213 echo "$as_me:$LINENO: checking for $ac_func" >&5
15214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15215 if eval "test \"\${$as_ac_var+set}\" = set"; then
15216   echo $ECHO_N "(cached) $ECHO_C" >&6
15217 else
15218   if test x$gcc_no_link = xyes; then
15219   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15221    { (exit 1); exit 1; }; }
15222 fi
15223 cat >conftest.$ac_ext <<_ACEOF
15224 /* confdefs.h.  */
15225 _ACEOF
15226 cat confdefs.h >>conftest.$ac_ext
15227 cat >>conftest.$ac_ext <<_ACEOF
15228 /* end confdefs.h.  */
15229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15230    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15231 #define $ac_func innocuous_$ac_func
15232
15233 /* System header to define __stub macros and hopefully few prototypes,
15234     which can conflict with char $ac_func (); below.
15235     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15236     <limits.h> exists even on freestanding compilers.  */
15237
15238 #ifdef __STDC__
15239 # include <limits.h>
15240 #else
15241 # include <assert.h>
15242 #endif
15243
15244 #undef $ac_func
15245
15246 /* Override any gcc2 internal prototype to avoid an error.  */
15247 #ifdef __cplusplus
15248 extern "C"
15249 {
15250 #endif
15251 /* We use char because int might match the return type of a gcc2
15252    builtin and then its argument prototype would still apply.  */
15253 char $ac_func ();
15254 /* The GNU C library defines this for functions which it implements
15255     to always fail with ENOSYS.  Some functions are actually named
15256     something starting with __ and the normal name is an alias.  */
15257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15258 choke me
15259 #else
15260 char (*f) () = $ac_func;
15261 #endif
15262 #ifdef __cplusplus
15263 }
15264 #endif
15265
15266 int
15267 main ()
15268 {
15269 return f != $ac_func;
15270   ;
15271   return 0;
15272 }
15273 _ACEOF
15274 rm -f conftest.$ac_objext conftest$ac_exeext
15275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15276   (eval $ac_link) 2>conftest.er1
15277   ac_status=$?
15278   grep -v '^ *+' conftest.er1 >conftest.err
15279   rm -f conftest.er1
15280   cat conftest.err >&5
15281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15282   (exit $ac_status); } &&
15283          { ac_try='test -z "$ac_c_werror_flag"
15284                          || test ! -s conftest.err'
15285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15286   (eval $ac_try) 2>&5
15287   ac_status=$?
15288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15289   (exit $ac_status); }; } &&
15290          { ac_try='test -s conftest$ac_exeext'
15291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15292   (eval $ac_try) 2>&5
15293   ac_status=$?
15294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15295   (exit $ac_status); }; }; then
15296   eval "$as_ac_var=yes"
15297 else
15298   echo "$as_me: failed program was:" >&5
15299 sed 's/^/| /' conftest.$ac_ext >&5
15300
15301 eval "$as_ac_var=no"
15302 fi
15303 rm -f conftest.err conftest.$ac_objext \
15304       conftest$ac_exeext conftest.$ac_ext
15305 fi
15306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15308 if test `eval echo '${'$as_ac_var'}'` = yes; then
15309   cat >>confdefs.h <<_ACEOF
15310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15311 _ACEOF
15312
15313 fi
15314 done
15315
15316   else
15317
15318   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
15319 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
15320   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
15321     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
15322   echo $ECHO_N "(cached) $ECHO_C" >&6
15323 else
15324
15325
15326
15327       ac_ext=cc
15328 ac_cpp='$CXXCPP $CPPFLAGS'
15329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15332
15333       cat >conftest.$ac_ext <<_ACEOF
15334 /* confdefs.h.  */
15335 _ACEOF
15336 cat confdefs.h >>conftest.$ac_ext
15337 cat >>conftest.$ac_ext <<_ACEOF
15338 /* end confdefs.h.  */
15339 #include <math.h>
15340 int
15341 main ()
15342 {
15343  _ldexpf(0, 0);
15344   ;
15345   return 0;
15346 }
15347 _ACEOF
15348 rm -f conftest.$ac_objext
15349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15350   (eval $ac_compile) 2>conftest.er1
15351   ac_status=$?
15352   grep -v '^ *+' conftest.er1 >conftest.err
15353   rm -f conftest.er1
15354   cat conftest.err >&5
15355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15356   (exit $ac_status); } &&
15357          { ac_try='test -z "$ac_cxx_werror_flag"
15358                          || test ! -s conftest.err'
15359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15360   (eval $ac_try) 2>&5
15361   ac_status=$?
15362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15363   (exit $ac_status); }; } &&
15364          { ac_try='test -s conftest.$ac_objext'
15365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15366   (eval $ac_try) 2>&5
15367   ac_status=$?
15368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15369   (exit $ac_status); }; }; then
15370   glibcxx_cv_func__ldexpf_use=yes
15371 else
15372   echo "$as_me: failed program was:" >&5
15373 sed 's/^/| /' conftest.$ac_ext >&5
15374
15375 glibcxx_cv_func__ldexpf_use=no
15376 fi
15377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15378       ac_ext=c
15379 ac_cpp='$CPP $CPPFLAGS'
15380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15383
15384
15385 fi
15386
15387   fi
15388   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
15389 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
15390
15391     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
15392
15393 for ac_func in _ldexpf
15394 do
15395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15396 echo "$as_me:$LINENO: checking for $ac_func" >&5
15397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15398 if eval "test \"\${$as_ac_var+set}\" = set"; then
15399   echo $ECHO_N "(cached) $ECHO_C" >&6
15400 else
15401   if test x$gcc_no_link = xyes; then
15402   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15404    { (exit 1); exit 1; }; }
15405 fi
15406 cat >conftest.$ac_ext <<_ACEOF
15407 /* confdefs.h.  */
15408 _ACEOF
15409 cat confdefs.h >>conftest.$ac_ext
15410 cat >>conftest.$ac_ext <<_ACEOF
15411 /* end confdefs.h.  */
15412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15413    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15414 #define $ac_func innocuous_$ac_func
15415
15416 /* System header to define __stub macros and hopefully few prototypes,
15417     which can conflict with char $ac_func (); below.
15418     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15419     <limits.h> exists even on freestanding compilers.  */
15420
15421 #ifdef __STDC__
15422 # include <limits.h>
15423 #else
15424 # include <assert.h>
15425 #endif
15426
15427 #undef $ac_func
15428
15429 /* Override any gcc2 internal prototype to avoid an error.  */
15430 #ifdef __cplusplus
15431 extern "C"
15432 {
15433 #endif
15434 /* We use char because int might match the return type of a gcc2
15435    builtin and then its argument prototype would still apply.  */
15436 char $ac_func ();
15437 /* The GNU C library defines this for functions which it implements
15438     to always fail with ENOSYS.  Some functions are actually named
15439     something starting with __ and the normal name is an alias.  */
15440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15441 choke me
15442 #else
15443 char (*f) () = $ac_func;
15444 #endif
15445 #ifdef __cplusplus
15446 }
15447 #endif
15448
15449 int
15450 main ()
15451 {
15452 return f != $ac_func;
15453   ;
15454   return 0;
15455 }
15456 _ACEOF
15457 rm -f conftest.$ac_objext conftest$ac_exeext
15458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15459   (eval $ac_link) 2>conftest.er1
15460   ac_status=$?
15461   grep -v '^ *+' conftest.er1 >conftest.err
15462   rm -f conftest.er1
15463   cat conftest.err >&5
15464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15465   (exit $ac_status); } &&
15466          { ac_try='test -z "$ac_c_werror_flag"
15467                          || test ! -s conftest.err'
15468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15469   (eval $ac_try) 2>&5
15470   ac_status=$?
15471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15472   (exit $ac_status); }; } &&
15473          { ac_try='test -s conftest$ac_exeext'
15474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15475   (eval $ac_try) 2>&5
15476   ac_status=$?
15477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15478   (exit $ac_status); }; }; then
15479   eval "$as_ac_var=yes"
15480 else
15481   echo "$as_me: failed program was:" >&5
15482 sed 's/^/| /' conftest.$ac_ext >&5
15483
15484 eval "$as_ac_var=no"
15485 fi
15486 rm -f conftest.err conftest.$ac_objext \
15487       conftest$ac_exeext conftest.$ac_ext
15488 fi
15489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15491 if test `eval echo '${'$as_ac_var'}'` = yes; then
15492   cat >>confdefs.h <<_ACEOF
15493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15494 _ACEOF
15495
15496 fi
15497 done
15498
15499     fi
15500   fi
15501
15502
15503
15504
15505
15506
15507   echo "$as_me:$LINENO: checking for logf declaration" >&5
15508 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15509   if test x${glibcxx_cv_func_logf_use+set} != xset; then
15510     if test "${glibcxx_cv_func_logf_use+set}" = set; then
15511   echo $ECHO_N "(cached) $ECHO_C" >&6
15512 else
15513
15514
15515
15516       ac_ext=cc
15517 ac_cpp='$CXXCPP $CPPFLAGS'
15518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15521
15522       cat >conftest.$ac_ext <<_ACEOF
15523 /* confdefs.h.  */
15524 _ACEOF
15525 cat confdefs.h >>conftest.$ac_ext
15526 cat >>conftest.$ac_ext <<_ACEOF
15527 /* end confdefs.h.  */
15528 #include <math.h>
15529                       #ifdef HAVE_IEEEFP_H
15530                       #include <ieeefp.h>
15531                       #endif
15532
15533 int
15534 main ()
15535 {
15536  logf(0);
15537   ;
15538   return 0;
15539 }
15540 _ACEOF
15541 rm -f conftest.$ac_objext
15542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15543   (eval $ac_compile) 2>conftest.er1
15544   ac_status=$?
15545   grep -v '^ *+' conftest.er1 >conftest.err
15546   rm -f conftest.er1
15547   cat conftest.err >&5
15548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15549   (exit $ac_status); } &&
15550          { ac_try='test -z "$ac_cxx_werror_flag"
15551                          || test ! -s conftest.err'
15552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15553   (eval $ac_try) 2>&5
15554   ac_status=$?
15555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15556   (exit $ac_status); }; } &&
15557          { ac_try='test -s conftest.$ac_objext'
15558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15559   (eval $ac_try) 2>&5
15560   ac_status=$?
15561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15562   (exit $ac_status); }; }; then
15563   glibcxx_cv_func_logf_use=yes
15564 else
15565   echo "$as_me: failed program was:" >&5
15566 sed 's/^/| /' conftest.$ac_ext >&5
15567
15568 glibcxx_cv_func_logf_use=no
15569 fi
15570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15571       ac_ext=c
15572 ac_cpp='$CPP $CPPFLAGS'
15573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15576
15577
15578 fi
15579
15580   fi
15581   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15582 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15583
15584   if test x$glibcxx_cv_func_logf_use = x"yes"; then
15585
15586 for ac_func in logf
15587 do
15588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15589 echo "$as_me:$LINENO: checking for $ac_func" >&5
15590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15591 if eval "test \"\${$as_ac_var+set}\" = set"; then
15592   echo $ECHO_N "(cached) $ECHO_C" >&6
15593 else
15594   if test x$gcc_no_link = xyes; then
15595   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15597    { (exit 1); exit 1; }; }
15598 fi
15599 cat >conftest.$ac_ext <<_ACEOF
15600 /* confdefs.h.  */
15601 _ACEOF
15602 cat confdefs.h >>conftest.$ac_ext
15603 cat >>conftest.$ac_ext <<_ACEOF
15604 /* end confdefs.h.  */
15605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15606    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15607 #define $ac_func innocuous_$ac_func
15608
15609 /* System header to define __stub macros and hopefully few prototypes,
15610     which can conflict with char $ac_func (); below.
15611     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15612     <limits.h> exists even on freestanding compilers.  */
15613
15614 #ifdef __STDC__
15615 # include <limits.h>
15616 #else
15617 # include <assert.h>
15618 #endif
15619
15620 #undef $ac_func
15621
15622 /* Override any gcc2 internal prototype to avoid an error.  */
15623 #ifdef __cplusplus
15624 extern "C"
15625 {
15626 #endif
15627 /* We use char because int might match the return type of a gcc2
15628    builtin and then its argument prototype would still apply.  */
15629 char $ac_func ();
15630 /* The GNU C library defines this for functions which it implements
15631     to always fail with ENOSYS.  Some functions are actually named
15632     something starting with __ and the normal name is an alias.  */
15633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15634 choke me
15635 #else
15636 char (*f) () = $ac_func;
15637 #endif
15638 #ifdef __cplusplus
15639 }
15640 #endif
15641
15642 int
15643 main ()
15644 {
15645 return f != $ac_func;
15646   ;
15647   return 0;
15648 }
15649 _ACEOF
15650 rm -f conftest.$ac_objext conftest$ac_exeext
15651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15652   (eval $ac_link) 2>conftest.er1
15653   ac_status=$?
15654   grep -v '^ *+' conftest.er1 >conftest.err
15655   rm -f conftest.er1
15656   cat conftest.err >&5
15657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15658   (exit $ac_status); } &&
15659          { ac_try='test -z "$ac_c_werror_flag"
15660                          || test ! -s conftest.err'
15661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15662   (eval $ac_try) 2>&5
15663   ac_status=$?
15664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15665   (exit $ac_status); }; } &&
15666          { ac_try='test -s conftest$ac_exeext'
15667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15668   (eval $ac_try) 2>&5
15669   ac_status=$?
15670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15671   (exit $ac_status); }; }; then
15672   eval "$as_ac_var=yes"
15673 else
15674   echo "$as_me: failed program was:" >&5
15675 sed 's/^/| /' conftest.$ac_ext >&5
15676
15677 eval "$as_ac_var=no"
15678 fi
15679 rm -f conftest.err conftest.$ac_objext \
15680       conftest$ac_exeext conftest.$ac_ext
15681 fi
15682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15684 if test `eval echo '${'$as_ac_var'}'` = yes; then
15685   cat >>confdefs.h <<_ACEOF
15686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15687 _ACEOF
15688
15689 fi
15690 done
15691
15692   else
15693
15694   echo "$as_me:$LINENO: checking for _logf declaration" >&5
15695 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15696   if test x${glibcxx_cv_func__logf_use+set} != xset; then
15697     if test "${glibcxx_cv_func__logf_use+set}" = set; then
15698   echo $ECHO_N "(cached) $ECHO_C" >&6
15699 else
15700
15701
15702
15703       ac_ext=cc
15704 ac_cpp='$CXXCPP $CPPFLAGS'
15705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15708
15709       cat >conftest.$ac_ext <<_ACEOF
15710 /* confdefs.h.  */
15711 _ACEOF
15712 cat confdefs.h >>conftest.$ac_ext
15713 cat >>conftest.$ac_ext <<_ACEOF
15714 /* end confdefs.h.  */
15715 #include <math.h>
15716                       #ifdef HAVE_IEEEFP_H
15717                       #include <ieeefp.h>
15718                       #endif
15719
15720 int
15721 main ()
15722 {
15723  _logf(0);
15724   ;
15725   return 0;
15726 }
15727 _ACEOF
15728 rm -f conftest.$ac_objext
15729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15730   (eval $ac_compile) 2>conftest.er1
15731   ac_status=$?
15732   grep -v '^ *+' conftest.er1 >conftest.err
15733   rm -f conftest.er1
15734   cat conftest.err >&5
15735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15736   (exit $ac_status); } &&
15737          { ac_try='test -z "$ac_cxx_werror_flag"
15738                          || test ! -s conftest.err'
15739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15740   (eval $ac_try) 2>&5
15741   ac_status=$?
15742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15743   (exit $ac_status); }; } &&
15744          { ac_try='test -s conftest.$ac_objext'
15745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15746   (eval $ac_try) 2>&5
15747   ac_status=$?
15748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15749   (exit $ac_status); }; }; then
15750   glibcxx_cv_func__logf_use=yes
15751 else
15752   echo "$as_me: failed program was:" >&5
15753 sed 's/^/| /' conftest.$ac_ext >&5
15754
15755 glibcxx_cv_func__logf_use=no
15756 fi
15757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15758       ac_ext=c
15759 ac_cpp='$CPP $CPPFLAGS'
15760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15763
15764
15765 fi
15766
15767   fi
15768   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
15769 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
15770
15771     if test x$glibcxx_cv_func__logf_use = x"yes"; then
15772
15773 for ac_func in _logf
15774 do
15775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15776 echo "$as_me:$LINENO: checking for $ac_func" >&5
15777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15778 if eval "test \"\${$as_ac_var+set}\" = set"; then
15779   echo $ECHO_N "(cached) $ECHO_C" >&6
15780 else
15781   if test x$gcc_no_link = xyes; then
15782   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15784    { (exit 1); exit 1; }; }
15785 fi
15786 cat >conftest.$ac_ext <<_ACEOF
15787 /* confdefs.h.  */
15788 _ACEOF
15789 cat confdefs.h >>conftest.$ac_ext
15790 cat >>conftest.$ac_ext <<_ACEOF
15791 /* end confdefs.h.  */
15792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15793    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15794 #define $ac_func innocuous_$ac_func
15795
15796 /* System header to define __stub macros and hopefully few prototypes,
15797     which can conflict with char $ac_func (); below.
15798     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15799     <limits.h> exists even on freestanding compilers.  */
15800
15801 #ifdef __STDC__
15802 # include <limits.h>
15803 #else
15804 # include <assert.h>
15805 #endif
15806
15807 #undef $ac_func
15808
15809 /* Override any gcc2 internal prototype to avoid an error.  */
15810 #ifdef __cplusplus
15811 extern "C"
15812 {
15813 #endif
15814 /* We use char because int might match the return type of a gcc2
15815    builtin and then its argument prototype would still apply.  */
15816 char $ac_func ();
15817 /* The GNU C library defines this for functions which it implements
15818     to always fail with ENOSYS.  Some functions are actually named
15819     something starting with __ and the normal name is an alias.  */
15820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15821 choke me
15822 #else
15823 char (*f) () = $ac_func;
15824 #endif
15825 #ifdef __cplusplus
15826 }
15827 #endif
15828
15829 int
15830 main ()
15831 {
15832 return f != $ac_func;
15833   ;
15834   return 0;
15835 }
15836 _ACEOF
15837 rm -f conftest.$ac_objext conftest$ac_exeext
15838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15839   (eval $ac_link) 2>conftest.er1
15840   ac_status=$?
15841   grep -v '^ *+' conftest.er1 >conftest.err
15842   rm -f conftest.er1
15843   cat conftest.err >&5
15844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845   (exit $ac_status); } &&
15846          { ac_try='test -z "$ac_c_werror_flag"
15847                          || test ! -s conftest.err'
15848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15849   (eval $ac_try) 2>&5
15850   ac_status=$?
15851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15852   (exit $ac_status); }; } &&
15853          { ac_try='test -s conftest$ac_exeext'
15854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15855   (eval $ac_try) 2>&5
15856   ac_status=$?
15857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15858   (exit $ac_status); }; }; then
15859   eval "$as_ac_var=yes"
15860 else
15861   echo "$as_me: failed program was:" >&5
15862 sed 's/^/| /' conftest.$ac_ext >&5
15863
15864 eval "$as_ac_var=no"
15865 fi
15866 rm -f conftest.err conftest.$ac_objext \
15867       conftest$ac_exeext conftest.$ac_ext
15868 fi
15869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15871 if test `eval echo '${'$as_ac_var'}'` = yes; then
15872   cat >>confdefs.h <<_ACEOF
15873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15874 _ACEOF
15875
15876 fi
15877 done
15878
15879     fi
15880   fi
15881
15882
15883
15884
15885
15886
15887   echo "$as_me:$LINENO: checking for log10f declaration" >&5
15888 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
15889   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
15890     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
15891   echo $ECHO_N "(cached) $ECHO_C" >&6
15892 else
15893
15894
15895
15896       ac_ext=cc
15897 ac_cpp='$CXXCPP $CPPFLAGS'
15898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15901
15902       cat >conftest.$ac_ext <<_ACEOF
15903 /* confdefs.h.  */
15904 _ACEOF
15905 cat confdefs.h >>conftest.$ac_ext
15906 cat >>conftest.$ac_ext <<_ACEOF
15907 /* end confdefs.h.  */
15908 #include <math.h>
15909                       #ifdef HAVE_IEEEFP_H
15910                       #include <ieeefp.h>
15911                       #endif
15912
15913 int
15914 main ()
15915 {
15916  log10f(0);
15917   ;
15918   return 0;
15919 }
15920 _ACEOF
15921 rm -f conftest.$ac_objext
15922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15923   (eval $ac_compile) 2>conftest.er1
15924   ac_status=$?
15925   grep -v '^ *+' conftest.er1 >conftest.err
15926   rm -f conftest.er1
15927   cat conftest.err >&5
15928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15929   (exit $ac_status); } &&
15930          { ac_try='test -z "$ac_cxx_werror_flag"
15931                          || test ! -s conftest.err'
15932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15933   (eval $ac_try) 2>&5
15934   ac_status=$?
15935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15936   (exit $ac_status); }; } &&
15937          { ac_try='test -s conftest.$ac_objext'
15938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15939   (eval $ac_try) 2>&5
15940   ac_status=$?
15941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15942   (exit $ac_status); }; }; then
15943   glibcxx_cv_func_log10f_use=yes
15944 else
15945   echo "$as_me: failed program was:" >&5
15946 sed 's/^/| /' conftest.$ac_ext >&5
15947
15948 glibcxx_cv_func_log10f_use=no
15949 fi
15950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15951       ac_ext=c
15952 ac_cpp='$CPP $CPPFLAGS'
15953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15956
15957
15958 fi
15959
15960   fi
15961   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
15962 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
15963
15964   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
15965
15966 for ac_func in log10f
15967 do
15968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15969 echo "$as_me:$LINENO: checking for $ac_func" >&5
15970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15971 if eval "test \"\${$as_ac_var+set}\" = set"; then
15972   echo $ECHO_N "(cached) $ECHO_C" >&6
15973 else
15974   if test x$gcc_no_link = xyes; then
15975   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15977    { (exit 1); exit 1; }; }
15978 fi
15979 cat >conftest.$ac_ext <<_ACEOF
15980 /* confdefs.h.  */
15981 _ACEOF
15982 cat confdefs.h >>conftest.$ac_ext
15983 cat >>conftest.$ac_ext <<_ACEOF
15984 /* end confdefs.h.  */
15985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15986    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15987 #define $ac_func innocuous_$ac_func
15988
15989 /* System header to define __stub macros and hopefully few prototypes,
15990     which can conflict with char $ac_func (); below.
15991     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15992     <limits.h> exists even on freestanding compilers.  */
15993
15994 #ifdef __STDC__
15995 # include <limits.h>
15996 #else
15997 # include <assert.h>
15998 #endif
15999
16000 #undef $ac_func
16001
16002 /* Override any gcc2 internal prototype to avoid an error.  */
16003 #ifdef __cplusplus
16004 extern "C"
16005 {
16006 #endif
16007 /* We use char because int might match the return type of a gcc2
16008    builtin and then its argument prototype would still apply.  */
16009 char $ac_func ();
16010 /* The GNU C library defines this for functions which it implements
16011     to always fail with ENOSYS.  Some functions are actually named
16012     something starting with __ and the normal name is an alias.  */
16013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16014 choke me
16015 #else
16016 char (*f) () = $ac_func;
16017 #endif
16018 #ifdef __cplusplus
16019 }
16020 #endif
16021
16022 int
16023 main ()
16024 {
16025 return f != $ac_func;
16026   ;
16027   return 0;
16028 }
16029 _ACEOF
16030 rm -f conftest.$ac_objext conftest$ac_exeext
16031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16032   (eval $ac_link) 2>conftest.er1
16033   ac_status=$?
16034   grep -v '^ *+' conftest.er1 >conftest.err
16035   rm -f conftest.er1
16036   cat conftest.err >&5
16037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16038   (exit $ac_status); } &&
16039          { ac_try='test -z "$ac_c_werror_flag"
16040                          || test ! -s conftest.err'
16041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16042   (eval $ac_try) 2>&5
16043   ac_status=$?
16044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16045   (exit $ac_status); }; } &&
16046          { ac_try='test -s conftest$ac_exeext'
16047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16048   (eval $ac_try) 2>&5
16049   ac_status=$?
16050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051   (exit $ac_status); }; }; then
16052   eval "$as_ac_var=yes"
16053 else
16054   echo "$as_me: failed program was:" >&5
16055 sed 's/^/| /' conftest.$ac_ext >&5
16056
16057 eval "$as_ac_var=no"
16058 fi
16059 rm -f conftest.err conftest.$ac_objext \
16060       conftest$ac_exeext conftest.$ac_ext
16061 fi
16062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16064 if test `eval echo '${'$as_ac_var'}'` = yes; then
16065   cat >>confdefs.h <<_ACEOF
16066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16067 _ACEOF
16068
16069 fi
16070 done
16071
16072   else
16073
16074   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
16075 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
16076   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
16077     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
16078   echo $ECHO_N "(cached) $ECHO_C" >&6
16079 else
16080
16081
16082
16083       ac_ext=cc
16084 ac_cpp='$CXXCPP $CPPFLAGS'
16085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16088
16089       cat >conftest.$ac_ext <<_ACEOF
16090 /* confdefs.h.  */
16091 _ACEOF
16092 cat confdefs.h >>conftest.$ac_ext
16093 cat >>conftest.$ac_ext <<_ACEOF
16094 /* end confdefs.h.  */
16095 #include <math.h>
16096                       #ifdef HAVE_IEEEFP_H
16097                       #include <ieeefp.h>
16098                       #endif
16099
16100 int
16101 main ()
16102 {
16103  _log10f(0);
16104   ;
16105   return 0;
16106 }
16107 _ACEOF
16108 rm -f conftest.$ac_objext
16109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16110   (eval $ac_compile) 2>conftest.er1
16111   ac_status=$?
16112   grep -v '^ *+' conftest.er1 >conftest.err
16113   rm -f conftest.er1
16114   cat conftest.err >&5
16115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16116   (exit $ac_status); } &&
16117          { ac_try='test -z "$ac_cxx_werror_flag"
16118                          || test ! -s conftest.err'
16119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16120   (eval $ac_try) 2>&5
16121   ac_status=$?
16122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16123   (exit $ac_status); }; } &&
16124          { ac_try='test -s conftest.$ac_objext'
16125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16126   (eval $ac_try) 2>&5
16127   ac_status=$?
16128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16129   (exit $ac_status); }; }; then
16130   glibcxx_cv_func__log10f_use=yes
16131 else
16132   echo "$as_me: failed program was:" >&5
16133 sed 's/^/| /' conftest.$ac_ext >&5
16134
16135 glibcxx_cv_func__log10f_use=no
16136 fi
16137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16138       ac_ext=c
16139 ac_cpp='$CPP $CPPFLAGS'
16140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16143
16144
16145 fi
16146
16147   fi
16148   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
16149 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
16150
16151     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
16152
16153 for ac_func in _log10f
16154 do
16155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16156 echo "$as_me:$LINENO: checking for $ac_func" >&5
16157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16158 if eval "test \"\${$as_ac_var+set}\" = set"; then
16159   echo $ECHO_N "(cached) $ECHO_C" >&6
16160 else
16161   if test x$gcc_no_link = xyes; then
16162   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16164    { (exit 1); exit 1; }; }
16165 fi
16166 cat >conftest.$ac_ext <<_ACEOF
16167 /* confdefs.h.  */
16168 _ACEOF
16169 cat confdefs.h >>conftest.$ac_ext
16170 cat >>conftest.$ac_ext <<_ACEOF
16171 /* end confdefs.h.  */
16172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16173    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16174 #define $ac_func innocuous_$ac_func
16175
16176 /* System header to define __stub macros and hopefully few prototypes,
16177     which can conflict with char $ac_func (); below.
16178     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16179     <limits.h> exists even on freestanding compilers.  */
16180
16181 #ifdef __STDC__
16182 # include <limits.h>
16183 #else
16184 # include <assert.h>
16185 #endif
16186
16187 #undef $ac_func
16188
16189 /* Override any gcc2 internal prototype to avoid an error.  */
16190 #ifdef __cplusplus
16191 extern "C"
16192 {
16193 #endif
16194 /* We use char because int might match the return type of a gcc2
16195    builtin and then its argument prototype would still apply.  */
16196 char $ac_func ();
16197 /* The GNU C library defines this for functions which it implements
16198     to always fail with ENOSYS.  Some functions are actually named
16199     something starting with __ and the normal name is an alias.  */
16200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16201 choke me
16202 #else
16203 char (*f) () = $ac_func;
16204 #endif
16205 #ifdef __cplusplus
16206 }
16207 #endif
16208
16209 int
16210 main ()
16211 {
16212 return f != $ac_func;
16213   ;
16214   return 0;
16215 }
16216 _ACEOF
16217 rm -f conftest.$ac_objext conftest$ac_exeext
16218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16219   (eval $ac_link) 2>conftest.er1
16220   ac_status=$?
16221   grep -v '^ *+' conftest.er1 >conftest.err
16222   rm -f conftest.er1
16223   cat conftest.err >&5
16224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16225   (exit $ac_status); } &&
16226          { ac_try='test -z "$ac_c_werror_flag"
16227                          || test ! -s conftest.err'
16228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16229   (eval $ac_try) 2>&5
16230   ac_status=$?
16231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16232   (exit $ac_status); }; } &&
16233          { ac_try='test -s conftest$ac_exeext'
16234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16235   (eval $ac_try) 2>&5
16236   ac_status=$?
16237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16238   (exit $ac_status); }; }; then
16239   eval "$as_ac_var=yes"
16240 else
16241   echo "$as_me: failed program was:" >&5
16242 sed 's/^/| /' conftest.$ac_ext >&5
16243
16244 eval "$as_ac_var=no"
16245 fi
16246 rm -f conftest.err conftest.$ac_objext \
16247       conftest$ac_exeext conftest.$ac_ext
16248 fi
16249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16251 if test `eval echo '${'$as_ac_var'}'` = yes; then
16252   cat >>confdefs.h <<_ACEOF
16253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16254 _ACEOF
16255
16256 fi
16257 done
16258
16259     fi
16260   fi
16261
16262
16263
16264
16265
16266
16267   echo "$as_me:$LINENO: checking for modff declaration" >&5
16268 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
16269   if test x${glibcxx_cv_func_modff_use+set} != xset; then
16270     if test "${glibcxx_cv_func_modff_use+set}" = set; then
16271   echo $ECHO_N "(cached) $ECHO_C" >&6
16272 else
16273
16274
16275
16276       ac_ext=cc
16277 ac_cpp='$CXXCPP $CPPFLAGS'
16278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16281
16282       cat >conftest.$ac_ext <<_ACEOF
16283 /* confdefs.h.  */
16284 _ACEOF
16285 cat confdefs.h >>conftest.$ac_ext
16286 cat >>conftest.$ac_ext <<_ACEOF
16287 /* end confdefs.h.  */
16288 #include <math.h>
16289 int
16290 main ()
16291 {
16292  modff(0, 0);
16293   ;
16294   return 0;
16295 }
16296 _ACEOF
16297 rm -f conftest.$ac_objext
16298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16299   (eval $ac_compile) 2>conftest.er1
16300   ac_status=$?
16301   grep -v '^ *+' conftest.er1 >conftest.err
16302   rm -f conftest.er1
16303   cat conftest.err >&5
16304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16305   (exit $ac_status); } &&
16306          { ac_try='test -z "$ac_cxx_werror_flag"
16307                          || test ! -s conftest.err'
16308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16309   (eval $ac_try) 2>&5
16310   ac_status=$?
16311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16312   (exit $ac_status); }; } &&
16313          { ac_try='test -s conftest.$ac_objext'
16314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16315   (eval $ac_try) 2>&5
16316   ac_status=$?
16317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16318   (exit $ac_status); }; }; then
16319   glibcxx_cv_func_modff_use=yes
16320 else
16321   echo "$as_me: failed program was:" >&5
16322 sed 's/^/| /' conftest.$ac_ext >&5
16323
16324 glibcxx_cv_func_modff_use=no
16325 fi
16326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16327       ac_ext=c
16328 ac_cpp='$CPP $CPPFLAGS'
16329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16332
16333
16334 fi
16335
16336   fi
16337   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
16338 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
16339
16340   if test x$glibcxx_cv_func_modff_use = x"yes"; then
16341
16342 for ac_func in modff
16343 do
16344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16345 echo "$as_me:$LINENO: checking for $ac_func" >&5
16346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16347 if eval "test \"\${$as_ac_var+set}\" = set"; then
16348   echo $ECHO_N "(cached) $ECHO_C" >&6
16349 else
16350   if test x$gcc_no_link = xyes; then
16351   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16353    { (exit 1); exit 1; }; }
16354 fi
16355 cat >conftest.$ac_ext <<_ACEOF
16356 /* confdefs.h.  */
16357 _ACEOF
16358 cat confdefs.h >>conftest.$ac_ext
16359 cat >>conftest.$ac_ext <<_ACEOF
16360 /* end confdefs.h.  */
16361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16362    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16363 #define $ac_func innocuous_$ac_func
16364
16365 /* System header to define __stub macros and hopefully few prototypes,
16366     which can conflict with char $ac_func (); below.
16367     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16368     <limits.h> exists even on freestanding compilers.  */
16369
16370 #ifdef __STDC__
16371 # include <limits.h>
16372 #else
16373 # include <assert.h>
16374 #endif
16375
16376 #undef $ac_func
16377
16378 /* Override any gcc2 internal prototype to avoid an error.  */
16379 #ifdef __cplusplus
16380 extern "C"
16381 {
16382 #endif
16383 /* We use char because int might match the return type of a gcc2
16384    builtin and then its argument prototype would still apply.  */
16385 char $ac_func ();
16386 /* The GNU C library defines this for functions which it implements
16387     to always fail with ENOSYS.  Some functions are actually named
16388     something starting with __ and the normal name is an alias.  */
16389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16390 choke me
16391 #else
16392 char (*f) () = $ac_func;
16393 #endif
16394 #ifdef __cplusplus
16395 }
16396 #endif
16397
16398 int
16399 main ()
16400 {
16401 return f != $ac_func;
16402   ;
16403   return 0;
16404 }
16405 _ACEOF
16406 rm -f conftest.$ac_objext conftest$ac_exeext
16407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16408   (eval $ac_link) 2>conftest.er1
16409   ac_status=$?
16410   grep -v '^ *+' conftest.er1 >conftest.err
16411   rm -f conftest.er1
16412   cat conftest.err >&5
16413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16414   (exit $ac_status); } &&
16415          { ac_try='test -z "$ac_c_werror_flag"
16416                          || test ! -s conftest.err'
16417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16418   (eval $ac_try) 2>&5
16419   ac_status=$?
16420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16421   (exit $ac_status); }; } &&
16422          { ac_try='test -s conftest$ac_exeext'
16423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16424   (eval $ac_try) 2>&5
16425   ac_status=$?
16426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16427   (exit $ac_status); }; }; then
16428   eval "$as_ac_var=yes"
16429 else
16430   echo "$as_me: failed program was:" >&5
16431 sed 's/^/| /' conftest.$ac_ext >&5
16432
16433 eval "$as_ac_var=no"
16434 fi
16435 rm -f conftest.err conftest.$ac_objext \
16436       conftest$ac_exeext conftest.$ac_ext
16437 fi
16438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16440 if test `eval echo '${'$as_ac_var'}'` = yes; then
16441   cat >>confdefs.h <<_ACEOF
16442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16443 _ACEOF
16444
16445 fi
16446 done
16447
16448   else
16449
16450   echo "$as_me:$LINENO: checking for _modff declaration" >&5
16451 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
16452   if test x${glibcxx_cv_func__modff_use+set} != xset; then
16453     if test "${glibcxx_cv_func__modff_use+set}" = set; then
16454   echo $ECHO_N "(cached) $ECHO_C" >&6
16455 else
16456
16457
16458
16459       ac_ext=cc
16460 ac_cpp='$CXXCPP $CPPFLAGS'
16461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16464
16465       cat >conftest.$ac_ext <<_ACEOF
16466 /* confdefs.h.  */
16467 _ACEOF
16468 cat confdefs.h >>conftest.$ac_ext
16469 cat >>conftest.$ac_ext <<_ACEOF
16470 /* end confdefs.h.  */
16471 #include <math.h>
16472 int
16473 main ()
16474 {
16475  _modff(0, 0);
16476   ;
16477   return 0;
16478 }
16479 _ACEOF
16480 rm -f conftest.$ac_objext
16481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16482   (eval $ac_compile) 2>conftest.er1
16483   ac_status=$?
16484   grep -v '^ *+' conftest.er1 >conftest.err
16485   rm -f conftest.er1
16486   cat conftest.err >&5
16487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16488   (exit $ac_status); } &&
16489          { ac_try='test -z "$ac_cxx_werror_flag"
16490                          || test ! -s conftest.err'
16491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16492   (eval $ac_try) 2>&5
16493   ac_status=$?
16494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16495   (exit $ac_status); }; } &&
16496          { ac_try='test -s conftest.$ac_objext'
16497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16498   (eval $ac_try) 2>&5
16499   ac_status=$?
16500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16501   (exit $ac_status); }; }; then
16502   glibcxx_cv_func__modff_use=yes
16503 else
16504   echo "$as_me: failed program was:" >&5
16505 sed 's/^/| /' conftest.$ac_ext >&5
16506
16507 glibcxx_cv_func__modff_use=no
16508 fi
16509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16510       ac_ext=c
16511 ac_cpp='$CPP $CPPFLAGS'
16512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16515
16516
16517 fi
16518
16519   fi
16520   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16521 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16522
16523     if test x$glibcxx_cv_func__modff_use = x"yes"; then
16524
16525 for ac_func in _modff
16526 do
16527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16528 echo "$as_me:$LINENO: checking for $ac_func" >&5
16529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16530 if eval "test \"\${$as_ac_var+set}\" = set"; then
16531   echo $ECHO_N "(cached) $ECHO_C" >&6
16532 else
16533   if test x$gcc_no_link = xyes; then
16534   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16536    { (exit 1); exit 1; }; }
16537 fi
16538 cat >conftest.$ac_ext <<_ACEOF
16539 /* confdefs.h.  */
16540 _ACEOF
16541 cat confdefs.h >>conftest.$ac_ext
16542 cat >>conftest.$ac_ext <<_ACEOF
16543 /* end confdefs.h.  */
16544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16545    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16546 #define $ac_func innocuous_$ac_func
16547
16548 /* System header to define __stub macros and hopefully few prototypes,
16549     which can conflict with char $ac_func (); below.
16550     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16551     <limits.h> exists even on freestanding compilers.  */
16552
16553 #ifdef __STDC__
16554 # include <limits.h>
16555 #else
16556 # include <assert.h>
16557 #endif
16558
16559 #undef $ac_func
16560
16561 /* Override any gcc2 internal prototype to avoid an error.  */
16562 #ifdef __cplusplus
16563 extern "C"
16564 {
16565 #endif
16566 /* We use char because int might match the return type of a gcc2
16567    builtin and then its argument prototype would still apply.  */
16568 char $ac_func ();
16569 /* The GNU C library defines this for functions which it implements
16570     to always fail with ENOSYS.  Some functions are actually named
16571     something starting with __ and the normal name is an alias.  */
16572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16573 choke me
16574 #else
16575 char (*f) () = $ac_func;
16576 #endif
16577 #ifdef __cplusplus
16578 }
16579 #endif
16580
16581 int
16582 main ()
16583 {
16584 return f != $ac_func;
16585   ;
16586   return 0;
16587 }
16588 _ACEOF
16589 rm -f conftest.$ac_objext conftest$ac_exeext
16590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16591   (eval $ac_link) 2>conftest.er1
16592   ac_status=$?
16593   grep -v '^ *+' conftest.er1 >conftest.err
16594   rm -f conftest.er1
16595   cat conftest.err >&5
16596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16597   (exit $ac_status); } &&
16598          { ac_try='test -z "$ac_c_werror_flag"
16599                          || test ! -s conftest.err'
16600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16601   (eval $ac_try) 2>&5
16602   ac_status=$?
16603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604   (exit $ac_status); }; } &&
16605          { ac_try='test -s conftest$ac_exeext'
16606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16607   (eval $ac_try) 2>&5
16608   ac_status=$?
16609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16610   (exit $ac_status); }; }; then
16611   eval "$as_ac_var=yes"
16612 else
16613   echo "$as_me: failed program was:" >&5
16614 sed 's/^/| /' conftest.$ac_ext >&5
16615
16616 eval "$as_ac_var=no"
16617 fi
16618 rm -f conftest.err conftest.$ac_objext \
16619       conftest$ac_exeext conftest.$ac_ext
16620 fi
16621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16623 if test `eval echo '${'$as_ac_var'}'` = yes; then
16624   cat >>confdefs.h <<_ACEOF
16625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16626 _ACEOF
16627
16628 fi
16629 done
16630
16631     fi
16632   fi
16633
16634
16635
16636
16637
16638
16639   echo "$as_me:$LINENO: checking for modf declaration" >&5
16640 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
16641   if test x${glibcxx_cv_func_modf_use+set} != xset; then
16642     if test "${glibcxx_cv_func_modf_use+set}" = set; then
16643   echo $ECHO_N "(cached) $ECHO_C" >&6
16644 else
16645
16646
16647
16648       ac_ext=cc
16649 ac_cpp='$CXXCPP $CPPFLAGS'
16650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16653
16654       cat >conftest.$ac_ext <<_ACEOF
16655 /* confdefs.h.  */
16656 _ACEOF
16657 cat confdefs.h >>conftest.$ac_ext
16658 cat >>conftest.$ac_ext <<_ACEOF
16659 /* end confdefs.h.  */
16660 #include <math.h>
16661 int
16662 main ()
16663 {
16664  modf(0, 0);
16665   ;
16666   return 0;
16667 }
16668 _ACEOF
16669 rm -f conftest.$ac_objext
16670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16671   (eval $ac_compile) 2>conftest.er1
16672   ac_status=$?
16673   grep -v '^ *+' conftest.er1 >conftest.err
16674   rm -f conftest.er1
16675   cat conftest.err >&5
16676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16677   (exit $ac_status); } &&
16678          { ac_try='test -z "$ac_cxx_werror_flag"
16679                          || test ! -s conftest.err'
16680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16681   (eval $ac_try) 2>&5
16682   ac_status=$?
16683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684   (exit $ac_status); }; } &&
16685          { ac_try='test -s conftest.$ac_objext'
16686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16687   (eval $ac_try) 2>&5
16688   ac_status=$?
16689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16690   (exit $ac_status); }; }; then
16691   glibcxx_cv_func_modf_use=yes
16692 else
16693   echo "$as_me: failed program was:" >&5
16694 sed 's/^/| /' conftest.$ac_ext >&5
16695
16696 glibcxx_cv_func_modf_use=no
16697 fi
16698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16699       ac_ext=c
16700 ac_cpp='$CPP $CPPFLAGS'
16701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16704
16705
16706 fi
16707
16708   fi
16709   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
16710 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
16711
16712   if test x$glibcxx_cv_func_modf_use = x"yes"; then
16713
16714 for ac_func in modf
16715 do
16716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16717 echo "$as_me:$LINENO: checking for $ac_func" >&5
16718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16719 if eval "test \"\${$as_ac_var+set}\" = set"; then
16720   echo $ECHO_N "(cached) $ECHO_C" >&6
16721 else
16722   if test x$gcc_no_link = xyes; then
16723   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16725    { (exit 1); exit 1; }; }
16726 fi
16727 cat >conftest.$ac_ext <<_ACEOF
16728 /* confdefs.h.  */
16729 _ACEOF
16730 cat confdefs.h >>conftest.$ac_ext
16731 cat >>conftest.$ac_ext <<_ACEOF
16732 /* end confdefs.h.  */
16733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16734    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16735 #define $ac_func innocuous_$ac_func
16736
16737 /* System header to define __stub macros and hopefully few prototypes,
16738     which can conflict with char $ac_func (); below.
16739     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16740     <limits.h> exists even on freestanding compilers.  */
16741
16742 #ifdef __STDC__
16743 # include <limits.h>
16744 #else
16745 # include <assert.h>
16746 #endif
16747
16748 #undef $ac_func
16749
16750 /* Override any gcc2 internal prototype to avoid an error.  */
16751 #ifdef __cplusplus
16752 extern "C"
16753 {
16754 #endif
16755 /* We use char because int might match the return type of a gcc2
16756    builtin and then its argument prototype would still apply.  */
16757 char $ac_func ();
16758 /* The GNU C library defines this for functions which it implements
16759     to always fail with ENOSYS.  Some functions are actually named
16760     something starting with __ and the normal name is an alias.  */
16761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16762 choke me
16763 #else
16764 char (*f) () = $ac_func;
16765 #endif
16766 #ifdef __cplusplus
16767 }
16768 #endif
16769
16770 int
16771 main ()
16772 {
16773 return f != $ac_func;
16774   ;
16775   return 0;
16776 }
16777 _ACEOF
16778 rm -f conftest.$ac_objext conftest$ac_exeext
16779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16780   (eval $ac_link) 2>conftest.er1
16781   ac_status=$?
16782   grep -v '^ *+' conftest.er1 >conftest.err
16783   rm -f conftest.er1
16784   cat conftest.err >&5
16785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16786   (exit $ac_status); } &&
16787          { ac_try='test -z "$ac_c_werror_flag"
16788                          || test ! -s conftest.err'
16789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16790   (eval $ac_try) 2>&5
16791   ac_status=$?
16792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16793   (exit $ac_status); }; } &&
16794          { ac_try='test -s conftest$ac_exeext'
16795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16796   (eval $ac_try) 2>&5
16797   ac_status=$?
16798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16799   (exit $ac_status); }; }; then
16800   eval "$as_ac_var=yes"
16801 else
16802   echo "$as_me: failed program was:" >&5
16803 sed 's/^/| /' conftest.$ac_ext >&5
16804
16805 eval "$as_ac_var=no"
16806 fi
16807 rm -f conftest.err conftest.$ac_objext \
16808       conftest$ac_exeext conftest.$ac_ext
16809 fi
16810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16812 if test `eval echo '${'$as_ac_var'}'` = yes; then
16813   cat >>confdefs.h <<_ACEOF
16814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16815 _ACEOF
16816
16817 fi
16818 done
16819
16820   else
16821
16822   echo "$as_me:$LINENO: checking for _modf declaration" >&5
16823 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
16824   if test x${glibcxx_cv_func__modf_use+set} != xset; then
16825     if test "${glibcxx_cv_func__modf_use+set}" = set; then
16826   echo $ECHO_N "(cached) $ECHO_C" >&6
16827 else
16828
16829
16830
16831       ac_ext=cc
16832 ac_cpp='$CXXCPP $CPPFLAGS'
16833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16836
16837       cat >conftest.$ac_ext <<_ACEOF
16838 /* confdefs.h.  */
16839 _ACEOF
16840 cat confdefs.h >>conftest.$ac_ext
16841 cat >>conftest.$ac_ext <<_ACEOF
16842 /* end confdefs.h.  */
16843 #include <math.h>
16844 int
16845 main ()
16846 {
16847  _modf(0, 0);
16848   ;
16849   return 0;
16850 }
16851 _ACEOF
16852 rm -f conftest.$ac_objext
16853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16854   (eval $ac_compile) 2>conftest.er1
16855   ac_status=$?
16856   grep -v '^ *+' conftest.er1 >conftest.err
16857   rm -f conftest.er1
16858   cat conftest.err >&5
16859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16860   (exit $ac_status); } &&
16861          { ac_try='test -z "$ac_cxx_werror_flag"
16862                          || test ! -s conftest.err'
16863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16864   (eval $ac_try) 2>&5
16865   ac_status=$?
16866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16867   (exit $ac_status); }; } &&
16868          { ac_try='test -s conftest.$ac_objext'
16869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16870   (eval $ac_try) 2>&5
16871   ac_status=$?
16872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16873   (exit $ac_status); }; }; then
16874   glibcxx_cv_func__modf_use=yes
16875 else
16876   echo "$as_me: failed program was:" >&5
16877 sed 's/^/| /' conftest.$ac_ext >&5
16878
16879 glibcxx_cv_func__modf_use=no
16880 fi
16881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16882       ac_ext=c
16883 ac_cpp='$CPP $CPPFLAGS'
16884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16887
16888
16889 fi
16890
16891   fi
16892   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
16893 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
16894
16895     if test x$glibcxx_cv_func__modf_use = x"yes"; then
16896
16897 for ac_func in _modf
16898 do
16899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16900 echo "$as_me:$LINENO: checking for $ac_func" >&5
16901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16902 if eval "test \"\${$as_ac_var+set}\" = set"; then
16903   echo $ECHO_N "(cached) $ECHO_C" >&6
16904 else
16905   if test x$gcc_no_link = xyes; then
16906   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16908    { (exit 1); exit 1; }; }
16909 fi
16910 cat >conftest.$ac_ext <<_ACEOF
16911 /* confdefs.h.  */
16912 _ACEOF
16913 cat confdefs.h >>conftest.$ac_ext
16914 cat >>conftest.$ac_ext <<_ACEOF
16915 /* end confdefs.h.  */
16916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16917    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16918 #define $ac_func innocuous_$ac_func
16919
16920 /* System header to define __stub macros and hopefully few prototypes,
16921     which can conflict with char $ac_func (); below.
16922     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16923     <limits.h> exists even on freestanding compilers.  */
16924
16925 #ifdef __STDC__
16926 # include <limits.h>
16927 #else
16928 # include <assert.h>
16929 #endif
16930
16931 #undef $ac_func
16932
16933 /* Override any gcc2 internal prototype to avoid an error.  */
16934 #ifdef __cplusplus
16935 extern "C"
16936 {
16937 #endif
16938 /* We use char because int might match the return type of a gcc2
16939    builtin and then its argument prototype would still apply.  */
16940 char $ac_func ();
16941 /* The GNU C library defines this for functions which it implements
16942     to always fail with ENOSYS.  Some functions are actually named
16943     something starting with __ and the normal name is an alias.  */
16944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16945 choke me
16946 #else
16947 char (*f) () = $ac_func;
16948 #endif
16949 #ifdef __cplusplus
16950 }
16951 #endif
16952
16953 int
16954 main ()
16955 {
16956 return f != $ac_func;
16957   ;
16958   return 0;
16959 }
16960 _ACEOF
16961 rm -f conftest.$ac_objext conftest$ac_exeext
16962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16963   (eval $ac_link) 2>conftest.er1
16964   ac_status=$?
16965   grep -v '^ *+' conftest.er1 >conftest.err
16966   rm -f conftest.er1
16967   cat conftest.err >&5
16968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16969   (exit $ac_status); } &&
16970          { ac_try='test -z "$ac_c_werror_flag"
16971                          || test ! -s conftest.err'
16972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16973   (eval $ac_try) 2>&5
16974   ac_status=$?
16975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16976   (exit $ac_status); }; } &&
16977          { ac_try='test -s conftest$ac_exeext'
16978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16979   (eval $ac_try) 2>&5
16980   ac_status=$?
16981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16982   (exit $ac_status); }; }; then
16983   eval "$as_ac_var=yes"
16984 else
16985   echo "$as_me: failed program was:" >&5
16986 sed 's/^/| /' conftest.$ac_ext >&5
16987
16988 eval "$as_ac_var=no"
16989 fi
16990 rm -f conftest.err conftest.$ac_objext \
16991       conftest$ac_exeext conftest.$ac_ext
16992 fi
16993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16995 if test `eval echo '${'$as_ac_var'}'` = yes; then
16996   cat >>confdefs.h <<_ACEOF
16997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16998 _ACEOF
16999
17000 fi
17001 done
17002
17003     fi
17004   fi
17005
17006
17007
17008
17009
17010
17011   echo "$as_me:$LINENO: checking for powf declaration" >&5
17012 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
17013   if test x${glibcxx_cv_func_powf_use+set} != xset; then
17014     if test "${glibcxx_cv_func_powf_use+set}" = set; then
17015   echo $ECHO_N "(cached) $ECHO_C" >&6
17016 else
17017
17018
17019
17020       ac_ext=cc
17021 ac_cpp='$CXXCPP $CPPFLAGS'
17022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17025
17026       cat >conftest.$ac_ext <<_ACEOF
17027 /* confdefs.h.  */
17028 _ACEOF
17029 cat confdefs.h >>conftest.$ac_ext
17030 cat >>conftest.$ac_ext <<_ACEOF
17031 /* end confdefs.h.  */
17032 #include <math.h>
17033 int
17034 main ()
17035 {
17036  powf(0, 0);
17037   ;
17038   return 0;
17039 }
17040 _ACEOF
17041 rm -f conftest.$ac_objext
17042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17043   (eval $ac_compile) 2>conftest.er1
17044   ac_status=$?
17045   grep -v '^ *+' conftest.er1 >conftest.err
17046   rm -f conftest.er1
17047   cat conftest.err >&5
17048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17049   (exit $ac_status); } &&
17050          { ac_try='test -z "$ac_cxx_werror_flag"
17051                          || test ! -s conftest.err'
17052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17053   (eval $ac_try) 2>&5
17054   ac_status=$?
17055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17056   (exit $ac_status); }; } &&
17057          { ac_try='test -s conftest.$ac_objext'
17058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17059   (eval $ac_try) 2>&5
17060   ac_status=$?
17061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17062   (exit $ac_status); }; }; then
17063   glibcxx_cv_func_powf_use=yes
17064 else
17065   echo "$as_me: failed program was:" >&5
17066 sed 's/^/| /' conftest.$ac_ext >&5
17067
17068 glibcxx_cv_func_powf_use=no
17069 fi
17070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17071       ac_ext=c
17072 ac_cpp='$CPP $CPPFLAGS'
17073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17076
17077
17078 fi
17079
17080   fi
17081   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
17082 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
17083
17084   if test x$glibcxx_cv_func_powf_use = x"yes"; then
17085
17086 for ac_func in powf
17087 do
17088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17089 echo "$as_me:$LINENO: checking for $ac_func" >&5
17090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17091 if eval "test \"\${$as_ac_var+set}\" = set"; then
17092   echo $ECHO_N "(cached) $ECHO_C" >&6
17093 else
17094   if test x$gcc_no_link = xyes; then
17095   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17097    { (exit 1); exit 1; }; }
17098 fi
17099 cat >conftest.$ac_ext <<_ACEOF
17100 /* confdefs.h.  */
17101 _ACEOF
17102 cat confdefs.h >>conftest.$ac_ext
17103 cat >>conftest.$ac_ext <<_ACEOF
17104 /* end confdefs.h.  */
17105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17106    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17107 #define $ac_func innocuous_$ac_func
17108
17109 /* System header to define __stub macros and hopefully few prototypes,
17110     which can conflict with char $ac_func (); below.
17111     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17112     <limits.h> exists even on freestanding compilers.  */
17113
17114 #ifdef __STDC__
17115 # include <limits.h>
17116 #else
17117 # include <assert.h>
17118 #endif
17119
17120 #undef $ac_func
17121
17122 /* Override any gcc2 internal prototype to avoid an error.  */
17123 #ifdef __cplusplus
17124 extern "C"
17125 {
17126 #endif
17127 /* We use char because int might match the return type of a gcc2
17128    builtin and then its argument prototype would still apply.  */
17129 char $ac_func ();
17130 /* The GNU C library defines this for functions which it implements
17131     to always fail with ENOSYS.  Some functions are actually named
17132     something starting with __ and the normal name is an alias.  */
17133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17134 choke me
17135 #else
17136 char (*f) () = $ac_func;
17137 #endif
17138 #ifdef __cplusplus
17139 }
17140 #endif
17141
17142 int
17143 main ()
17144 {
17145 return f != $ac_func;
17146   ;
17147   return 0;
17148 }
17149 _ACEOF
17150 rm -f conftest.$ac_objext conftest$ac_exeext
17151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17152   (eval $ac_link) 2>conftest.er1
17153   ac_status=$?
17154   grep -v '^ *+' conftest.er1 >conftest.err
17155   rm -f conftest.er1
17156   cat conftest.err >&5
17157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17158   (exit $ac_status); } &&
17159          { ac_try='test -z "$ac_c_werror_flag"
17160                          || test ! -s conftest.err'
17161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17162   (eval $ac_try) 2>&5
17163   ac_status=$?
17164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17165   (exit $ac_status); }; } &&
17166          { ac_try='test -s conftest$ac_exeext'
17167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17168   (eval $ac_try) 2>&5
17169   ac_status=$?
17170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17171   (exit $ac_status); }; }; then
17172   eval "$as_ac_var=yes"
17173 else
17174   echo "$as_me: failed program was:" >&5
17175 sed 's/^/| /' conftest.$ac_ext >&5
17176
17177 eval "$as_ac_var=no"
17178 fi
17179 rm -f conftest.err conftest.$ac_objext \
17180       conftest$ac_exeext conftest.$ac_ext
17181 fi
17182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17184 if test `eval echo '${'$as_ac_var'}'` = yes; then
17185   cat >>confdefs.h <<_ACEOF
17186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17187 _ACEOF
17188
17189 fi
17190 done
17191
17192   else
17193
17194   echo "$as_me:$LINENO: checking for _powf declaration" >&5
17195 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
17196   if test x${glibcxx_cv_func__powf_use+set} != xset; then
17197     if test "${glibcxx_cv_func__powf_use+set}" = set; then
17198   echo $ECHO_N "(cached) $ECHO_C" >&6
17199 else
17200
17201
17202
17203       ac_ext=cc
17204 ac_cpp='$CXXCPP $CPPFLAGS'
17205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17208
17209       cat >conftest.$ac_ext <<_ACEOF
17210 /* confdefs.h.  */
17211 _ACEOF
17212 cat confdefs.h >>conftest.$ac_ext
17213 cat >>conftest.$ac_ext <<_ACEOF
17214 /* end confdefs.h.  */
17215 #include <math.h>
17216 int
17217 main ()
17218 {
17219  _powf(0, 0);
17220   ;
17221   return 0;
17222 }
17223 _ACEOF
17224 rm -f conftest.$ac_objext
17225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17226   (eval $ac_compile) 2>conftest.er1
17227   ac_status=$?
17228   grep -v '^ *+' conftest.er1 >conftest.err
17229   rm -f conftest.er1
17230   cat conftest.err >&5
17231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17232   (exit $ac_status); } &&
17233          { ac_try='test -z "$ac_cxx_werror_flag"
17234                          || test ! -s conftest.err'
17235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17236   (eval $ac_try) 2>&5
17237   ac_status=$?
17238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17239   (exit $ac_status); }; } &&
17240          { ac_try='test -s conftest.$ac_objext'
17241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17242   (eval $ac_try) 2>&5
17243   ac_status=$?
17244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17245   (exit $ac_status); }; }; then
17246   glibcxx_cv_func__powf_use=yes
17247 else
17248   echo "$as_me: failed program was:" >&5
17249 sed 's/^/| /' conftest.$ac_ext >&5
17250
17251 glibcxx_cv_func__powf_use=no
17252 fi
17253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17254       ac_ext=c
17255 ac_cpp='$CPP $CPPFLAGS'
17256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17259
17260
17261 fi
17262
17263   fi
17264   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
17265 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
17266
17267     if test x$glibcxx_cv_func__powf_use = x"yes"; then
17268
17269 for ac_func in _powf
17270 do
17271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17272 echo "$as_me:$LINENO: checking for $ac_func" >&5
17273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17274 if eval "test \"\${$as_ac_var+set}\" = set"; then
17275   echo $ECHO_N "(cached) $ECHO_C" >&6
17276 else
17277   if test x$gcc_no_link = xyes; then
17278   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17280    { (exit 1); exit 1; }; }
17281 fi
17282 cat >conftest.$ac_ext <<_ACEOF
17283 /* confdefs.h.  */
17284 _ACEOF
17285 cat confdefs.h >>conftest.$ac_ext
17286 cat >>conftest.$ac_ext <<_ACEOF
17287 /* end confdefs.h.  */
17288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17289    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17290 #define $ac_func innocuous_$ac_func
17291
17292 /* System header to define __stub macros and hopefully few prototypes,
17293     which can conflict with char $ac_func (); below.
17294     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17295     <limits.h> exists even on freestanding compilers.  */
17296
17297 #ifdef __STDC__
17298 # include <limits.h>
17299 #else
17300 # include <assert.h>
17301 #endif
17302
17303 #undef $ac_func
17304
17305 /* Override any gcc2 internal prototype to avoid an error.  */
17306 #ifdef __cplusplus
17307 extern "C"
17308 {
17309 #endif
17310 /* We use char because int might match the return type of a gcc2
17311    builtin and then its argument prototype would still apply.  */
17312 char $ac_func ();
17313 /* The GNU C library defines this for functions which it implements
17314     to always fail with ENOSYS.  Some functions are actually named
17315     something starting with __ and the normal name is an alias.  */
17316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17317 choke me
17318 #else
17319 char (*f) () = $ac_func;
17320 #endif
17321 #ifdef __cplusplus
17322 }
17323 #endif
17324
17325 int
17326 main ()
17327 {
17328 return f != $ac_func;
17329   ;
17330   return 0;
17331 }
17332 _ACEOF
17333 rm -f conftest.$ac_objext conftest$ac_exeext
17334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17335   (eval $ac_link) 2>conftest.er1
17336   ac_status=$?
17337   grep -v '^ *+' conftest.er1 >conftest.err
17338   rm -f conftest.er1
17339   cat conftest.err >&5
17340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17341   (exit $ac_status); } &&
17342          { ac_try='test -z "$ac_c_werror_flag"
17343                          || test ! -s conftest.err'
17344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17345   (eval $ac_try) 2>&5
17346   ac_status=$?
17347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17348   (exit $ac_status); }; } &&
17349          { ac_try='test -s conftest$ac_exeext'
17350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17351   (eval $ac_try) 2>&5
17352   ac_status=$?
17353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17354   (exit $ac_status); }; }; then
17355   eval "$as_ac_var=yes"
17356 else
17357   echo "$as_me: failed program was:" >&5
17358 sed 's/^/| /' conftest.$ac_ext >&5
17359
17360 eval "$as_ac_var=no"
17361 fi
17362 rm -f conftest.err conftest.$ac_objext \
17363       conftest$ac_exeext conftest.$ac_ext
17364 fi
17365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17367 if test `eval echo '${'$as_ac_var'}'` = yes; then
17368   cat >>confdefs.h <<_ACEOF
17369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17370 _ACEOF
17371
17372 fi
17373 done
17374
17375     fi
17376   fi
17377
17378
17379
17380
17381
17382
17383   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
17384 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
17385   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
17386     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
17387   echo $ECHO_N "(cached) $ECHO_C" >&6
17388 else
17389
17390
17391
17392       ac_ext=cc
17393 ac_cpp='$CXXCPP $CPPFLAGS'
17394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17397
17398       cat >conftest.$ac_ext <<_ACEOF
17399 /* confdefs.h.  */
17400 _ACEOF
17401 cat confdefs.h >>conftest.$ac_ext
17402 cat >>conftest.$ac_ext <<_ACEOF
17403 /* end confdefs.h.  */
17404 #include <math.h>
17405                       #ifdef HAVE_IEEEFP_H
17406                       #include <ieeefp.h>
17407                       #endif
17408
17409 int
17410 main ()
17411 {
17412  sqrtf(0);
17413   ;
17414   return 0;
17415 }
17416 _ACEOF
17417 rm -f conftest.$ac_objext
17418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17419   (eval $ac_compile) 2>conftest.er1
17420   ac_status=$?
17421   grep -v '^ *+' conftest.er1 >conftest.err
17422   rm -f conftest.er1
17423   cat conftest.err >&5
17424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17425   (exit $ac_status); } &&
17426          { ac_try='test -z "$ac_cxx_werror_flag"
17427                          || test ! -s conftest.err'
17428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17429   (eval $ac_try) 2>&5
17430   ac_status=$?
17431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17432   (exit $ac_status); }; } &&
17433          { ac_try='test -s conftest.$ac_objext'
17434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17435   (eval $ac_try) 2>&5
17436   ac_status=$?
17437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438   (exit $ac_status); }; }; then
17439   glibcxx_cv_func_sqrtf_use=yes
17440 else
17441   echo "$as_me: failed program was:" >&5
17442 sed 's/^/| /' conftest.$ac_ext >&5
17443
17444 glibcxx_cv_func_sqrtf_use=no
17445 fi
17446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17447       ac_ext=c
17448 ac_cpp='$CPP $CPPFLAGS'
17449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17452
17453
17454 fi
17455
17456   fi
17457   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
17458 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
17459
17460   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
17461
17462 for ac_func in sqrtf
17463 do
17464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17465 echo "$as_me:$LINENO: checking for $ac_func" >&5
17466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17467 if eval "test \"\${$as_ac_var+set}\" = set"; then
17468   echo $ECHO_N "(cached) $ECHO_C" >&6
17469 else
17470   if test x$gcc_no_link = xyes; then
17471   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17473    { (exit 1); exit 1; }; }
17474 fi
17475 cat >conftest.$ac_ext <<_ACEOF
17476 /* confdefs.h.  */
17477 _ACEOF
17478 cat confdefs.h >>conftest.$ac_ext
17479 cat >>conftest.$ac_ext <<_ACEOF
17480 /* end confdefs.h.  */
17481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17482    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17483 #define $ac_func innocuous_$ac_func
17484
17485 /* System header to define __stub macros and hopefully few prototypes,
17486     which can conflict with char $ac_func (); below.
17487     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17488     <limits.h> exists even on freestanding compilers.  */
17489
17490 #ifdef __STDC__
17491 # include <limits.h>
17492 #else
17493 # include <assert.h>
17494 #endif
17495
17496 #undef $ac_func
17497
17498 /* Override any gcc2 internal prototype to avoid an error.  */
17499 #ifdef __cplusplus
17500 extern "C"
17501 {
17502 #endif
17503 /* We use char because int might match the return type of a gcc2
17504    builtin and then its argument prototype would still apply.  */
17505 char $ac_func ();
17506 /* The GNU C library defines this for functions which it implements
17507     to always fail with ENOSYS.  Some functions are actually named
17508     something starting with __ and the normal name is an alias.  */
17509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17510 choke me
17511 #else
17512 char (*f) () = $ac_func;
17513 #endif
17514 #ifdef __cplusplus
17515 }
17516 #endif
17517
17518 int
17519 main ()
17520 {
17521 return f != $ac_func;
17522   ;
17523   return 0;
17524 }
17525 _ACEOF
17526 rm -f conftest.$ac_objext conftest$ac_exeext
17527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17528   (eval $ac_link) 2>conftest.er1
17529   ac_status=$?
17530   grep -v '^ *+' conftest.er1 >conftest.err
17531   rm -f conftest.er1
17532   cat conftest.err >&5
17533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17534   (exit $ac_status); } &&
17535          { ac_try='test -z "$ac_c_werror_flag"
17536                          || test ! -s conftest.err'
17537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17538   (eval $ac_try) 2>&5
17539   ac_status=$?
17540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17541   (exit $ac_status); }; } &&
17542          { ac_try='test -s conftest$ac_exeext'
17543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17544   (eval $ac_try) 2>&5
17545   ac_status=$?
17546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17547   (exit $ac_status); }; }; then
17548   eval "$as_ac_var=yes"
17549 else
17550   echo "$as_me: failed program was:" >&5
17551 sed 's/^/| /' conftest.$ac_ext >&5
17552
17553 eval "$as_ac_var=no"
17554 fi
17555 rm -f conftest.err conftest.$ac_objext \
17556       conftest$ac_exeext conftest.$ac_ext
17557 fi
17558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17560 if test `eval echo '${'$as_ac_var'}'` = yes; then
17561   cat >>confdefs.h <<_ACEOF
17562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17563 _ACEOF
17564
17565 fi
17566 done
17567
17568   else
17569
17570   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
17571 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
17572   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
17573     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
17574   echo $ECHO_N "(cached) $ECHO_C" >&6
17575 else
17576
17577
17578
17579       ac_ext=cc
17580 ac_cpp='$CXXCPP $CPPFLAGS'
17581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17584
17585       cat >conftest.$ac_ext <<_ACEOF
17586 /* confdefs.h.  */
17587 _ACEOF
17588 cat confdefs.h >>conftest.$ac_ext
17589 cat >>conftest.$ac_ext <<_ACEOF
17590 /* end confdefs.h.  */
17591 #include <math.h>
17592                       #ifdef HAVE_IEEEFP_H
17593                       #include <ieeefp.h>
17594                       #endif
17595
17596 int
17597 main ()
17598 {
17599  _sqrtf(0);
17600   ;
17601   return 0;
17602 }
17603 _ACEOF
17604 rm -f conftest.$ac_objext
17605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17606   (eval $ac_compile) 2>conftest.er1
17607   ac_status=$?
17608   grep -v '^ *+' conftest.er1 >conftest.err
17609   rm -f conftest.er1
17610   cat conftest.err >&5
17611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17612   (exit $ac_status); } &&
17613          { ac_try='test -z "$ac_cxx_werror_flag"
17614                          || test ! -s conftest.err'
17615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17616   (eval $ac_try) 2>&5
17617   ac_status=$?
17618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17619   (exit $ac_status); }; } &&
17620          { ac_try='test -s conftest.$ac_objext'
17621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17622   (eval $ac_try) 2>&5
17623   ac_status=$?
17624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17625   (exit $ac_status); }; }; then
17626   glibcxx_cv_func__sqrtf_use=yes
17627 else
17628   echo "$as_me: failed program was:" >&5
17629 sed 's/^/| /' conftest.$ac_ext >&5
17630
17631 glibcxx_cv_func__sqrtf_use=no
17632 fi
17633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17634       ac_ext=c
17635 ac_cpp='$CPP $CPPFLAGS'
17636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17639
17640
17641 fi
17642
17643   fi
17644   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
17645 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
17646
17647     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
17648
17649 for ac_func in _sqrtf
17650 do
17651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17652 echo "$as_me:$LINENO: checking for $ac_func" >&5
17653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17654 if eval "test \"\${$as_ac_var+set}\" = set"; then
17655   echo $ECHO_N "(cached) $ECHO_C" >&6
17656 else
17657   if test x$gcc_no_link = xyes; then
17658   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17660    { (exit 1); exit 1; }; }
17661 fi
17662 cat >conftest.$ac_ext <<_ACEOF
17663 /* confdefs.h.  */
17664 _ACEOF
17665 cat confdefs.h >>conftest.$ac_ext
17666 cat >>conftest.$ac_ext <<_ACEOF
17667 /* end confdefs.h.  */
17668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17669    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17670 #define $ac_func innocuous_$ac_func
17671
17672 /* System header to define __stub macros and hopefully few prototypes,
17673     which can conflict with char $ac_func (); below.
17674     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17675     <limits.h> exists even on freestanding compilers.  */
17676
17677 #ifdef __STDC__
17678 # include <limits.h>
17679 #else
17680 # include <assert.h>
17681 #endif
17682
17683 #undef $ac_func
17684
17685 /* Override any gcc2 internal prototype to avoid an error.  */
17686 #ifdef __cplusplus
17687 extern "C"
17688 {
17689 #endif
17690 /* We use char because int might match the return type of a gcc2
17691    builtin and then its argument prototype would still apply.  */
17692 char $ac_func ();
17693 /* The GNU C library defines this for functions which it implements
17694     to always fail with ENOSYS.  Some functions are actually named
17695     something starting with __ and the normal name is an alias.  */
17696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17697 choke me
17698 #else
17699 char (*f) () = $ac_func;
17700 #endif
17701 #ifdef __cplusplus
17702 }
17703 #endif
17704
17705 int
17706 main ()
17707 {
17708 return f != $ac_func;
17709   ;
17710   return 0;
17711 }
17712 _ACEOF
17713 rm -f conftest.$ac_objext conftest$ac_exeext
17714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17715   (eval $ac_link) 2>conftest.er1
17716   ac_status=$?
17717   grep -v '^ *+' conftest.er1 >conftest.err
17718   rm -f conftest.er1
17719   cat conftest.err >&5
17720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721   (exit $ac_status); } &&
17722          { ac_try='test -z "$ac_c_werror_flag"
17723                          || test ! -s conftest.err'
17724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17725   (eval $ac_try) 2>&5
17726   ac_status=$?
17727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17728   (exit $ac_status); }; } &&
17729          { ac_try='test -s conftest$ac_exeext'
17730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17731   (eval $ac_try) 2>&5
17732   ac_status=$?
17733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17734   (exit $ac_status); }; }; then
17735   eval "$as_ac_var=yes"
17736 else
17737   echo "$as_me: failed program was:" >&5
17738 sed 's/^/| /' conftest.$ac_ext >&5
17739
17740 eval "$as_ac_var=no"
17741 fi
17742 rm -f conftest.err conftest.$ac_objext \
17743       conftest$ac_exeext conftest.$ac_ext
17744 fi
17745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17746 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17747 if test `eval echo '${'$as_ac_var'}'` = yes; then
17748   cat >>confdefs.h <<_ACEOF
17749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17750 _ACEOF
17751
17752 fi
17753 done
17754
17755     fi
17756   fi
17757
17758
17759
17760
17761
17762
17763   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
17764 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
17765   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
17766     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
17767   echo $ECHO_N "(cached) $ECHO_C" >&6
17768 else
17769
17770
17771
17772       ac_ext=cc
17773 ac_cpp='$CXXCPP $CPPFLAGS'
17774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17777
17778       cat >conftest.$ac_ext <<_ACEOF
17779 /* confdefs.h.  */
17780 _ACEOF
17781 cat confdefs.h >>conftest.$ac_ext
17782 cat >>conftest.$ac_ext <<_ACEOF
17783 /* end confdefs.h.  */
17784 #include <math.h>
17785 int
17786 main ()
17787 {
17788  sincosf(0, 0, 0);
17789   ;
17790   return 0;
17791 }
17792 _ACEOF
17793 rm -f conftest.$ac_objext
17794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17795   (eval $ac_compile) 2>conftest.er1
17796   ac_status=$?
17797   grep -v '^ *+' conftest.er1 >conftest.err
17798   rm -f conftest.er1
17799   cat conftest.err >&5
17800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17801   (exit $ac_status); } &&
17802          { ac_try='test -z "$ac_cxx_werror_flag"
17803                          || test ! -s conftest.err'
17804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17805   (eval $ac_try) 2>&5
17806   ac_status=$?
17807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17808   (exit $ac_status); }; } &&
17809          { ac_try='test -s conftest.$ac_objext'
17810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17811   (eval $ac_try) 2>&5
17812   ac_status=$?
17813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17814   (exit $ac_status); }; }; then
17815   glibcxx_cv_func_sincosf_use=yes
17816 else
17817   echo "$as_me: failed program was:" >&5
17818 sed 's/^/| /' conftest.$ac_ext >&5
17819
17820 glibcxx_cv_func_sincosf_use=no
17821 fi
17822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17823       ac_ext=c
17824 ac_cpp='$CPP $CPPFLAGS'
17825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17828
17829
17830 fi
17831
17832   fi
17833   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
17834 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
17835
17836   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
17837
17838 for ac_func in sincosf
17839 do
17840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17841 echo "$as_me:$LINENO: checking for $ac_func" >&5
17842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17843 if eval "test \"\${$as_ac_var+set}\" = set"; then
17844   echo $ECHO_N "(cached) $ECHO_C" >&6
17845 else
17846   if test x$gcc_no_link = xyes; then
17847   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17849    { (exit 1); exit 1; }; }
17850 fi
17851 cat >conftest.$ac_ext <<_ACEOF
17852 /* confdefs.h.  */
17853 _ACEOF
17854 cat confdefs.h >>conftest.$ac_ext
17855 cat >>conftest.$ac_ext <<_ACEOF
17856 /* end confdefs.h.  */
17857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17858    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17859 #define $ac_func innocuous_$ac_func
17860
17861 /* System header to define __stub macros and hopefully few prototypes,
17862     which can conflict with char $ac_func (); below.
17863     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17864     <limits.h> exists even on freestanding compilers.  */
17865
17866 #ifdef __STDC__
17867 # include <limits.h>
17868 #else
17869 # include <assert.h>
17870 #endif
17871
17872 #undef $ac_func
17873
17874 /* Override any gcc2 internal prototype to avoid an error.  */
17875 #ifdef __cplusplus
17876 extern "C"
17877 {
17878 #endif
17879 /* We use char because int might match the return type of a gcc2
17880    builtin and then its argument prototype would still apply.  */
17881 char $ac_func ();
17882 /* The GNU C library defines this for functions which it implements
17883     to always fail with ENOSYS.  Some functions are actually named
17884     something starting with __ and the normal name is an alias.  */
17885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17886 choke me
17887 #else
17888 char (*f) () = $ac_func;
17889 #endif
17890 #ifdef __cplusplus
17891 }
17892 #endif
17893
17894 int
17895 main ()
17896 {
17897 return f != $ac_func;
17898   ;
17899   return 0;
17900 }
17901 _ACEOF
17902 rm -f conftest.$ac_objext conftest$ac_exeext
17903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17904   (eval $ac_link) 2>conftest.er1
17905   ac_status=$?
17906   grep -v '^ *+' conftest.er1 >conftest.err
17907   rm -f conftest.er1
17908   cat conftest.err >&5
17909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17910   (exit $ac_status); } &&
17911          { ac_try='test -z "$ac_c_werror_flag"
17912                          || test ! -s conftest.err'
17913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17914   (eval $ac_try) 2>&5
17915   ac_status=$?
17916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17917   (exit $ac_status); }; } &&
17918          { ac_try='test -s conftest$ac_exeext'
17919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17920   (eval $ac_try) 2>&5
17921   ac_status=$?
17922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17923   (exit $ac_status); }; }; then
17924   eval "$as_ac_var=yes"
17925 else
17926   echo "$as_me: failed program was:" >&5
17927 sed 's/^/| /' conftest.$ac_ext >&5
17928
17929 eval "$as_ac_var=no"
17930 fi
17931 rm -f conftest.err conftest.$ac_objext \
17932       conftest$ac_exeext conftest.$ac_ext
17933 fi
17934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17936 if test `eval echo '${'$as_ac_var'}'` = yes; then
17937   cat >>confdefs.h <<_ACEOF
17938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17939 _ACEOF
17940
17941 fi
17942 done
17943
17944   else
17945
17946   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
17947 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
17948   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
17949     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
17950   echo $ECHO_N "(cached) $ECHO_C" >&6
17951 else
17952
17953
17954
17955       ac_ext=cc
17956 ac_cpp='$CXXCPP $CPPFLAGS'
17957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17960
17961       cat >conftest.$ac_ext <<_ACEOF
17962 /* confdefs.h.  */
17963 _ACEOF
17964 cat confdefs.h >>conftest.$ac_ext
17965 cat >>conftest.$ac_ext <<_ACEOF
17966 /* end confdefs.h.  */
17967 #include <math.h>
17968 int
17969 main ()
17970 {
17971  _sincosf(0, 0, 0);
17972   ;
17973   return 0;
17974 }
17975 _ACEOF
17976 rm -f conftest.$ac_objext
17977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17978   (eval $ac_compile) 2>conftest.er1
17979   ac_status=$?
17980   grep -v '^ *+' conftest.er1 >conftest.err
17981   rm -f conftest.er1
17982   cat conftest.err >&5
17983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17984   (exit $ac_status); } &&
17985          { ac_try='test -z "$ac_cxx_werror_flag"
17986                          || test ! -s conftest.err'
17987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17988   (eval $ac_try) 2>&5
17989   ac_status=$?
17990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17991   (exit $ac_status); }; } &&
17992          { ac_try='test -s conftest.$ac_objext'
17993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17994   (eval $ac_try) 2>&5
17995   ac_status=$?
17996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17997   (exit $ac_status); }; }; then
17998   glibcxx_cv_func__sincosf_use=yes
17999 else
18000   echo "$as_me: failed program was:" >&5
18001 sed 's/^/| /' conftest.$ac_ext >&5
18002
18003 glibcxx_cv_func__sincosf_use=no
18004 fi
18005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18006       ac_ext=c
18007 ac_cpp='$CPP $CPPFLAGS'
18008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18011
18012
18013 fi
18014
18015   fi
18016   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
18017 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
18018
18019     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
18020
18021 for ac_func in _sincosf
18022 do
18023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18024 echo "$as_me:$LINENO: checking for $ac_func" >&5
18025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18026 if eval "test \"\${$as_ac_var+set}\" = set"; then
18027   echo $ECHO_N "(cached) $ECHO_C" >&6
18028 else
18029   if test x$gcc_no_link = xyes; then
18030   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18032    { (exit 1); exit 1; }; }
18033 fi
18034 cat >conftest.$ac_ext <<_ACEOF
18035 /* confdefs.h.  */
18036 _ACEOF
18037 cat confdefs.h >>conftest.$ac_ext
18038 cat >>conftest.$ac_ext <<_ACEOF
18039 /* end confdefs.h.  */
18040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18041    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18042 #define $ac_func innocuous_$ac_func
18043
18044 /* System header to define __stub macros and hopefully few prototypes,
18045     which can conflict with char $ac_func (); below.
18046     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18047     <limits.h> exists even on freestanding compilers.  */
18048
18049 #ifdef __STDC__
18050 # include <limits.h>
18051 #else
18052 # include <assert.h>
18053 #endif
18054
18055 #undef $ac_func
18056
18057 /* Override any gcc2 internal prototype to avoid an error.  */
18058 #ifdef __cplusplus
18059 extern "C"
18060 {
18061 #endif
18062 /* We use char because int might match the return type of a gcc2
18063    builtin and then its argument prototype would still apply.  */
18064 char $ac_func ();
18065 /* The GNU C library defines this for functions which it implements
18066     to always fail with ENOSYS.  Some functions are actually named
18067     something starting with __ and the normal name is an alias.  */
18068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18069 choke me
18070 #else
18071 char (*f) () = $ac_func;
18072 #endif
18073 #ifdef __cplusplus
18074 }
18075 #endif
18076
18077 int
18078 main ()
18079 {
18080 return f != $ac_func;
18081   ;
18082   return 0;
18083 }
18084 _ACEOF
18085 rm -f conftest.$ac_objext conftest$ac_exeext
18086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18087   (eval $ac_link) 2>conftest.er1
18088   ac_status=$?
18089   grep -v '^ *+' conftest.er1 >conftest.err
18090   rm -f conftest.er1
18091   cat conftest.err >&5
18092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18093   (exit $ac_status); } &&
18094          { ac_try='test -z "$ac_c_werror_flag"
18095                          || test ! -s conftest.err'
18096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18097   (eval $ac_try) 2>&5
18098   ac_status=$?
18099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18100   (exit $ac_status); }; } &&
18101          { ac_try='test -s conftest$ac_exeext'
18102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18103   (eval $ac_try) 2>&5
18104   ac_status=$?
18105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18106   (exit $ac_status); }; }; then
18107   eval "$as_ac_var=yes"
18108 else
18109   echo "$as_me: failed program was:" >&5
18110 sed 's/^/| /' conftest.$ac_ext >&5
18111
18112 eval "$as_ac_var=no"
18113 fi
18114 rm -f conftest.err conftest.$ac_objext \
18115       conftest$ac_exeext conftest.$ac_ext
18116 fi
18117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18119 if test `eval echo '${'$as_ac_var'}'` = yes; then
18120   cat >>confdefs.h <<_ACEOF
18121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18122 _ACEOF
18123
18124 fi
18125 done
18126
18127     fi
18128   fi
18129
18130
18131
18132
18133
18134
18135   echo "$as_me:$LINENO: checking for finitef declaration" >&5
18136 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
18137   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
18138     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
18139   echo $ECHO_N "(cached) $ECHO_C" >&6
18140 else
18141
18142
18143
18144       ac_ext=cc
18145 ac_cpp='$CXXCPP $CPPFLAGS'
18146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18149
18150       cat >conftest.$ac_ext <<_ACEOF
18151 /* confdefs.h.  */
18152 _ACEOF
18153 cat confdefs.h >>conftest.$ac_ext
18154 cat >>conftest.$ac_ext <<_ACEOF
18155 /* end confdefs.h.  */
18156 #include <math.h>
18157                       #ifdef HAVE_IEEEFP_H
18158                       #include <ieeefp.h>
18159                       #endif
18160
18161 int
18162 main ()
18163 {
18164  finitef(0);
18165   ;
18166   return 0;
18167 }
18168 _ACEOF
18169 rm -f conftest.$ac_objext
18170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18171   (eval $ac_compile) 2>conftest.er1
18172   ac_status=$?
18173   grep -v '^ *+' conftest.er1 >conftest.err
18174   rm -f conftest.er1
18175   cat conftest.err >&5
18176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18177   (exit $ac_status); } &&
18178          { ac_try='test -z "$ac_cxx_werror_flag"
18179                          || test ! -s conftest.err'
18180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18181   (eval $ac_try) 2>&5
18182   ac_status=$?
18183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18184   (exit $ac_status); }; } &&
18185          { ac_try='test -s conftest.$ac_objext'
18186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18187   (eval $ac_try) 2>&5
18188   ac_status=$?
18189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18190   (exit $ac_status); }; }; then
18191   glibcxx_cv_func_finitef_use=yes
18192 else
18193   echo "$as_me: failed program was:" >&5
18194 sed 's/^/| /' conftest.$ac_ext >&5
18195
18196 glibcxx_cv_func_finitef_use=no
18197 fi
18198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18199       ac_ext=c
18200 ac_cpp='$CPP $CPPFLAGS'
18201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18204
18205
18206 fi
18207
18208   fi
18209   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
18210 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
18211
18212   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
18213
18214 for ac_func in finitef
18215 do
18216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18217 echo "$as_me:$LINENO: checking for $ac_func" >&5
18218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18219 if eval "test \"\${$as_ac_var+set}\" = set"; then
18220   echo $ECHO_N "(cached) $ECHO_C" >&6
18221 else
18222   if test x$gcc_no_link = xyes; then
18223   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18225    { (exit 1); exit 1; }; }
18226 fi
18227 cat >conftest.$ac_ext <<_ACEOF
18228 /* confdefs.h.  */
18229 _ACEOF
18230 cat confdefs.h >>conftest.$ac_ext
18231 cat >>conftest.$ac_ext <<_ACEOF
18232 /* end confdefs.h.  */
18233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18234    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18235 #define $ac_func innocuous_$ac_func
18236
18237 /* System header to define __stub macros and hopefully few prototypes,
18238     which can conflict with char $ac_func (); below.
18239     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18240     <limits.h> exists even on freestanding compilers.  */
18241
18242 #ifdef __STDC__
18243 # include <limits.h>
18244 #else
18245 # include <assert.h>
18246 #endif
18247
18248 #undef $ac_func
18249
18250 /* Override any gcc2 internal prototype to avoid an error.  */
18251 #ifdef __cplusplus
18252 extern "C"
18253 {
18254 #endif
18255 /* We use char because int might match the return type of a gcc2
18256    builtin and then its argument prototype would still apply.  */
18257 char $ac_func ();
18258 /* The GNU C library defines this for functions which it implements
18259     to always fail with ENOSYS.  Some functions are actually named
18260     something starting with __ and the normal name is an alias.  */
18261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18262 choke me
18263 #else
18264 char (*f) () = $ac_func;
18265 #endif
18266 #ifdef __cplusplus
18267 }
18268 #endif
18269
18270 int
18271 main ()
18272 {
18273 return f != $ac_func;
18274   ;
18275   return 0;
18276 }
18277 _ACEOF
18278 rm -f conftest.$ac_objext conftest$ac_exeext
18279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18280   (eval $ac_link) 2>conftest.er1
18281   ac_status=$?
18282   grep -v '^ *+' conftest.er1 >conftest.err
18283   rm -f conftest.er1
18284   cat conftest.err >&5
18285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286   (exit $ac_status); } &&
18287          { ac_try='test -z "$ac_c_werror_flag"
18288                          || test ! -s conftest.err'
18289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18290   (eval $ac_try) 2>&5
18291   ac_status=$?
18292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18293   (exit $ac_status); }; } &&
18294          { ac_try='test -s conftest$ac_exeext'
18295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18296   (eval $ac_try) 2>&5
18297   ac_status=$?
18298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18299   (exit $ac_status); }; }; then
18300   eval "$as_ac_var=yes"
18301 else
18302   echo "$as_me: failed program was:" >&5
18303 sed 's/^/| /' conftest.$ac_ext >&5
18304
18305 eval "$as_ac_var=no"
18306 fi
18307 rm -f conftest.err conftest.$ac_objext \
18308       conftest$ac_exeext conftest.$ac_ext
18309 fi
18310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18312 if test `eval echo '${'$as_ac_var'}'` = yes; then
18313   cat >>confdefs.h <<_ACEOF
18314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18315 _ACEOF
18316
18317 fi
18318 done
18319
18320   else
18321
18322   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
18323 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
18324   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
18325     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
18326   echo $ECHO_N "(cached) $ECHO_C" >&6
18327 else
18328
18329
18330
18331       ac_ext=cc
18332 ac_cpp='$CXXCPP $CPPFLAGS'
18333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18336
18337       cat >conftest.$ac_ext <<_ACEOF
18338 /* confdefs.h.  */
18339 _ACEOF
18340 cat confdefs.h >>conftest.$ac_ext
18341 cat >>conftest.$ac_ext <<_ACEOF
18342 /* end confdefs.h.  */
18343 #include <math.h>
18344                       #ifdef HAVE_IEEEFP_H
18345                       #include <ieeefp.h>
18346                       #endif
18347
18348 int
18349 main ()
18350 {
18351  _finitef(0);
18352   ;
18353   return 0;
18354 }
18355 _ACEOF
18356 rm -f conftest.$ac_objext
18357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18358   (eval $ac_compile) 2>conftest.er1
18359   ac_status=$?
18360   grep -v '^ *+' conftest.er1 >conftest.err
18361   rm -f conftest.er1
18362   cat conftest.err >&5
18363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18364   (exit $ac_status); } &&
18365          { ac_try='test -z "$ac_cxx_werror_flag"
18366                          || test ! -s conftest.err'
18367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18368   (eval $ac_try) 2>&5
18369   ac_status=$?
18370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18371   (exit $ac_status); }; } &&
18372          { ac_try='test -s conftest.$ac_objext'
18373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18374   (eval $ac_try) 2>&5
18375   ac_status=$?
18376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18377   (exit $ac_status); }; }; then
18378   glibcxx_cv_func__finitef_use=yes
18379 else
18380   echo "$as_me: failed program was:" >&5
18381 sed 's/^/| /' conftest.$ac_ext >&5
18382
18383 glibcxx_cv_func__finitef_use=no
18384 fi
18385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18386       ac_ext=c
18387 ac_cpp='$CPP $CPPFLAGS'
18388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18391
18392
18393 fi
18394
18395   fi
18396   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
18397 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
18398
18399     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
18400
18401 for ac_func in _finitef
18402 do
18403 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18404 echo "$as_me:$LINENO: checking for $ac_func" >&5
18405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18406 if eval "test \"\${$as_ac_var+set}\" = set"; then
18407   echo $ECHO_N "(cached) $ECHO_C" >&6
18408 else
18409   if test x$gcc_no_link = xyes; then
18410   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18412    { (exit 1); exit 1; }; }
18413 fi
18414 cat >conftest.$ac_ext <<_ACEOF
18415 /* confdefs.h.  */
18416 _ACEOF
18417 cat confdefs.h >>conftest.$ac_ext
18418 cat >>conftest.$ac_ext <<_ACEOF
18419 /* end confdefs.h.  */
18420 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18421    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18422 #define $ac_func innocuous_$ac_func
18423
18424 /* System header to define __stub macros and hopefully few prototypes,
18425     which can conflict with char $ac_func (); below.
18426     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18427     <limits.h> exists even on freestanding compilers.  */
18428
18429 #ifdef __STDC__
18430 # include <limits.h>
18431 #else
18432 # include <assert.h>
18433 #endif
18434
18435 #undef $ac_func
18436
18437 /* Override any gcc2 internal prototype to avoid an error.  */
18438 #ifdef __cplusplus
18439 extern "C"
18440 {
18441 #endif
18442 /* We use char because int might match the return type of a gcc2
18443    builtin and then its argument prototype would still apply.  */
18444 char $ac_func ();
18445 /* The GNU C library defines this for functions which it implements
18446     to always fail with ENOSYS.  Some functions are actually named
18447     something starting with __ and the normal name is an alias.  */
18448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18449 choke me
18450 #else
18451 char (*f) () = $ac_func;
18452 #endif
18453 #ifdef __cplusplus
18454 }
18455 #endif
18456
18457 int
18458 main ()
18459 {
18460 return f != $ac_func;
18461   ;
18462   return 0;
18463 }
18464 _ACEOF
18465 rm -f conftest.$ac_objext conftest$ac_exeext
18466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18467   (eval $ac_link) 2>conftest.er1
18468   ac_status=$?
18469   grep -v '^ *+' conftest.er1 >conftest.err
18470   rm -f conftest.er1
18471   cat conftest.err >&5
18472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18473   (exit $ac_status); } &&
18474          { ac_try='test -z "$ac_c_werror_flag"
18475                          || test ! -s conftest.err'
18476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18477   (eval $ac_try) 2>&5
18478   ac_status=$?
18479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18480   (exit $ac_status); }; } &&
18481          { ac_try='test -s conftest$ac_exeext'
18482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18483   (eval $ac_try) 2>&5
18484   ac_status=$?
18485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18486   (exit $ac_status); }; }; then
18487   eval "$as_ac_var=yes"
18488 else
18489   echo "$as_me: failed program was:" >&5
18490 sed 's/^/| /' conftest.$ac_ext >&5
18491
18492 eval "$as_ac_var=no"
18493 fi
18494 rm -f conftest.err conftest.$ac_objext \
18495       conftest$ac_exeext conftest.$ac_ext
18496 fi
18497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18499 if test `eval echo '${'$as_ac_var'}'` = yes; then
18500   cat >>confdefs.h <<_ACEOF
18501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18502 _ACEOF
18503
18504 fi
18505 done
18506
18507     fi
18508   fi
18509
18510
18511
18512
18513
18514
18515     echo "$as_me:$LINENO: checking for long double trig functions" >&5
18516 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
18517   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
18518   echo $ECHO_N "(cached) $ECHO_C" >&6
18519 else
18520
18521
18522
18523     ac_ext=cc
18524 ac_cpp='$CXXCPP $CPPFLAGS'
18525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18528
18529     cat >conftest.$ac_ext <<_ACEOF
18530 /* confdefs.h.  */
18531 _ACEOF
18532 cat confdefs.h >>conftest.$ac_ext
18533 cat >>conftest.$ac_ext <<_ACEOF
18534 /* end confdefs.h.  */
18535 #include <math.h>
18536 int
18537 main ()
18538 {
18539 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
18540   ;
18541   return 0;
18542 }
18543 _ACEOF
18544 rm -f conftest.$ac_objext
18545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18546   (eval $ac_compile) 2>conftest.er1
18547   ac_status=$?
18548   grep -v '^ *+' conftest.er1 >conftest.err
18549   rm -f conftest.er1
18550   cat conftest.err >&5
18551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18552   (exit $ac_status); } &&
18553          { ac_try='test -z "$ac_cxx_werror_flag"
18554                          || test ! -s conftest.err'
18555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18556   (eval $ac_try) 2>&5
18557   ac_status=$?
18558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18559   (exit $ac_status); }; } &&
18560          { ac_try='test -s conftest.$ac_objext'
18561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18562   (eval $ac_try) 2>&5
18563   ac_status=$?
18564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18565   (exit $ac_status); }; }; then
18566   glibcxx_cv_func_long_double_trig_use=yes
18567 else
18568   echo "$as_me: failed program was:" >&5
18569 sed 's/^/| /' conftest.$ac_ext >&5
18570
18571 glibcxx_cv_func_long_double_trig_use=no
18572 fi
18573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18574     ac_ext=c
18575 ac_cpp='$CPP $CPPFLAGS'
18576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18579
18580 fi
18581
18582   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
18583 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
18584   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
18585
18586
18587
18588
18589
18590
18591
18592
18593
18594 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
18595 do
18596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18597 echo "$as_me:$LINENO: checking for $ac_func" >&5
18598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18599 if eval "test \"\${$as_ac_var+set}\" = set"; then
18600   echo $ECHO_N "(cached) $ECHO_C" >&6
18601 else
18602   if test x$gcc_no_link = xyes; then
18603   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18605    { (exit 1); exit 1; }; }
18606 fi
18607 cat >conftest.$ac_ext <<_ACEOF
18608 /* confdefs.h.  */
18609 _ACEOF
18610 cat confdefs.h >>conftest.$ac_ext
18611 cat >>conftest.$ac_ext <<_ACEOF
18612 /* end confdefs.h.  */
18613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18614    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18615 #define $ac_func innocuous_$ac_func
18616
18617 /* System header to define __stub macros and hopefully few prototypes,
18618     which can conflict with char $ac_func (); below.
18619     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18620     <limits.h> exists even on freestanding compilers.  */
18621
18622 #ifdef __STDC__
18623 # include <limits.h>
18624 #else
18625 # include <assert.h>
18626 #endif
18627
18628 #undef $ac_func
18629
18630 /* Override any gcc2 internal prototype to avoid an error.  */
18631 #ifdef __cplusplus
18632 extern "C"
18633 {
18634 #endif
18635 /* We use char because int might match the return type of a gcc2
18636    builtin and then its argument prototype would still apply.  */
18637 char $ac_func ();
18638 /* The GNU C library defines this for functions which it implements
18639     to always fail with ENOSYS.  Some functions are actually named
18640     something starting with __ and the normal name is an alias.  */
18641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18642 choke me
18643 #else
18644 char (*f) () = $ac_func;
18645 #endif
18646 #ifdef __cplusplus
18647 }
18648 #endif
18649
18650 int
18651 main ()
18652 {
18653 return f != $ac_func;
18654   ;
18655   return 0;
18656 }
18657 _ACEOF
18658 rm -f conftest.$ac_objext conftest$ac_exeext
18659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18660   (eval $ac_link) 2>conftest.er1
18661   ac_status=$?
18662   grep -v '^ *+' conftest.er1 >conftest.err
18663   rm -f conftest.er1
18664   cat conftest.err >&5
18665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18666   (exit $ac_status); } &&
18667          { ac_try='test -z "$ac_c_werror_flag"
18668                          || test ! -s conftest.err'
18669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18670   (eval $ac_try) 2>&5
18671   ac_status=$?
18672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18673   (exit $ac_status); }; } &&
18674          { ac_try='test -s conftest$ac_exeext'
18675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18676   (eval $ac_try) 2>&5
18677   ac_status=$?
18678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18679   (exit $ac_status); }; }; then
18680   eval "$as_ac_var=yes"
18681 else
18682   echo "$as_me: failed program was:" >&5
18683 sed 's/^/| /' conftest.$ac_ext >&5
18684
18685 eval "$as_ac_var=no"
18686 fi
18687 rm -f conftest.err conftest.$ac_objext \
18688       conftest$ac_exeext conftest.$ac_ext
18689 fi
18690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18692 if test `eval echo '${'$as_ac_var'}'` = yes; then
18693   cat >>confdefs.h <<_ACEOF
18694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18695 _ACEOF
18696
18697 fi
18698 done
18699
18700   else
18701     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
18702 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
18703     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
18704   echo $ECHO_N "(cached) $ECHO_C" >&6
18705 else
18706
18707
18708
18709       ac_ext=cc
18710 ac_cpp='$CXXCPP $CPPFLAGS'
18711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18714
18715       cat >conftest.$ac_ext <<_ACEOF
18716 /* confdefs.h.  */
18717 _ACEOF
18718 cat confdefs.h >>conftest.$ac_ext
18719 cat >>conftest.$ac_ext <<_ACEOF
18720 /* end confdefs.h.  */
18721 #include <math.h>
18722 int
18723 main ()
18724 {
18725 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
18726   ;
18727   return 0;
18728 }
18729 _ACEOF
18730 rm -f conftest.$ac_objext
18731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18732   (eval $ac_compile) 2>conftest.er1
18733   ac_status=$?
18734   grep -v '^ *+' conftest.er1 >conftest.err
18735   rm -f conftest.er1
18736   cat conftest.err >&5
18737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18738   (exit $ac_status); } &&
18739          { ac_try='test -z "$ac_cxx_werror_flag"
18740                          || test ! -s conftest.err'
18741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18742   (eval $ac_try) 2>&5
18743   ac_status=$?
18744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18745   (exit $ac_status); }; } &&
18746          { ac_try='test -s conftest.$ac_objext'
18747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18748   (eval $ac_try) 2>&5
18749   ac_status=$?
18750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18751   (exit $ac_status); }; }; then
18752   glibcxx_cv_func__long_double_trig_use=yes
18753 else
18754   echo "$as_me: failed program was:" >&5
18755 sed 's/^/| /' conftest.$ac_ext >&5
18756
18757 glibcxx_cv_func__long_double_trig_use=no
18758 fi
18759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18760       ac_ext=c
18761 ac_cpp='$CPP $CPPFLAGS'
18762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18765
18766 fi
18767
18768     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
18769 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
18770     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
18771
18772
18773
18774
18775
18776
18777
18778
18779
18780 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
18781 do
18782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18783 echo "$as_me:$LINENO: checking for $ac_func" >&5
18784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18785 if eval "test \"\${$as_ac_var+set}\" = set"; then
18786   echo $ECHO_N "(cached) $ECHO_C" >&6
18787 else
18788   if test x$gcc_no_link = xyes; then
18789   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18791    { (exit 1); exit 1; }; }
18792 fi
18793 cat >conftest.$ac_ext <<_ACEOF
18794 /* confdefs.h.  */
18795 _ACEOF
18796 cat confdefs.h >>conftest.$ac_ext
18797 cat >>conftest.$ac_ext <<_ACEOF
18798 /* end confdefs.h.  */
18799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18800    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18801 #define $ac_func innocuous_$ac_func
18802
18803 /* System header to define __stub macros and hopefully few prototypes,
18804     which can conflict with char $ac_func (); below.
18805     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18806     <limits.h> exists even on freestanding compilers.  */
18807
18808 #ifdef __STDC__
18809 # include <limits.h>
18810 #else
18811 # include <assert.h>
18812 #endif
18813
18814 #undef $ac_func
18815
18816 /* Override any gcc2 internal prototype to avoid an error.  */
18817 #ifdef __cplusplus
18818 extern "C"
18819 {
18820 #endif
18821 /* We use char because int might match the return type of a gcc2
18822    builtin and then its argument prototype would still apply.  */
18823 char $ac_func ();
18824 /* The GNU C library defines this for functions which it implements
18825     to always fail with ENOSYS.  Some functions are actually named
18826     something starting with __ and the normal name is an alias.  */
18827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18828 choke me
18829 #else
18830 char (*f) () = $ac_func;
18831 #endif
18832 #ifdef __cplusplus
18833 }
18834 #endif
18835
18836 int
18837 main ()
18838 {
18839 return f != $ac_func;
18840   ;
18841   return 0;
18842 }
18843 _ACEOF
18844 rm -f conftest.$ac_objext conftest$ac_exeext
18845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18846   (eval $ac_link) 2>conftest.er1
18847   ac_status=$?
18848   grep -v '^ *+' conftest.er1 >conftest.err
18849   rm -f conftest.er1
18850   cat conftest.err >&5
18851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18852   (exit $ac_status); } &&
18853          { ac_try='test -z "$ac_c_werror_flag"
18854                          || test ! -s conftest.err'
18855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18856   (eval $ac_try) 2>&5
18857   ac_status=$?
18858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18859   (exit $ac_status); }; } &&
18860          { ac_try='test -s conftest$ac_exeext'
18861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18862   (eval $ac_try) 2>&5
18863   ac_status=$?
18864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18865   (exit $ac_status); }; }; then
18866   eval "$as_ac_var=yes"
18867 else
18868   echo "$as_me: failed program was:" >&5
18869 sed 's/^/| /' conftest.$ac_ext >&5
18870
18871 eval "$as_ac_var=no"
18872 fi
18873 rm -f conftest.err conftest.$ac_objext \
18874       conftest$ac_exeext conftest.$ac_ext
18875 fi
18876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18878 if test `eval echo '${'$as_ac_var'}'` = yes; then
18879   cat >>confdefs.h <<_ACEOF
18880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18881 _ACEOF
18882
18883 fi
18884 done
18885
18886     fi
18887   fi
18888
18889
18890
18891
18892
18893
18894
18895
18896
18897
18898
18899
18900
18901
18902     echo "$as_me:$LINENO: checking for long double round functions" >&5
18903 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
18904   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
18905   echo $ECHO_N "(cached) $ECHO_C" >&6
18906 else
18907
18908
18909
18910     ac_ext=cc
18911 ac_cpp='$CXXCPP $CPPFLAGS'
18912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18915
18916     cat >conftest.$ac_ext <<_ACEOF
18917 /* confdefs.h.  */
18918 _ACEOF
18919 cat confdefs.h >>conftest.$ac_ext
18920 cat >>conftest.$ac_ext <<_ACEOF
18921 /* end confdefs.h.  */
18922 #include <math.h>
18923 int
18924 main ()
18925 {
18926 ceill (0); floorl (0);
18927   ;
18928   return 0;
18929 }
18930 _ACEOF
18931 rm -f conftest.$ac_objext
18932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18933   (eval $ac_compile) 2>conftest.er1
18934   ac_status=$?
18935   grep -v '^ *+' conftest.er1 >conftest.err
18936   rm -f conftest.er1
18937   cat conftest.err >&5
18938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18939   (exit $ac_status); } &&
18940          { ac_try='test -z "$ac_cxx_werror_flag"
18941                          || test ! -s conftest.err'
18942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18943   (eval $ac_try) 2>&5
18944   ac_status=$?
18945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18946   (exit $ac_status); }; } &&
18947          { ac_try='test -s conftest.$ac_objext'
18948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18949   (eval $ac_try) 2>&5
18950   ac_status=$?
18951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18952   (exit $ac_status); }; }; then
18953   glibcxx_cv_func_long_double_round_use=yes
18954 else
18955   echo "$as_me: failed program was:" >&5
18956 sed 's/^/| /' conftest.$ac_ext >&5
18957
18958 glibcxx_cv_func_long_double_round_use=no
18959 fi
18960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18961     ac_ext=c
18962 ac_cpp='$CPP $CPPFLAGS'
18963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18966
18967 fi
18968
18969   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
18970 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
18971   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
18972
18973
18974 for ac_func in ceill floorl
18975 do
18976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18977 echo "$as_me:$LINENO: checking for $ac_func" >&5
18978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18979 if eval "test \"\${$as_ac_var+set}\" = set"; then
18980   echo $ECHO_N "(cached) $ECHO_C" >&6
18981 else
18982   if test x$gcc_no_link = xyes; then
18983   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18985    { (exit 1); exit 1; }; }
18986 fi
18987 cat >conftest.$ac_ext <<_ACEOF
18988 /* confdefs.h.  */
18989 _ACEOF
18990 cat confdefs.h >>conftest.$ac_ext
18991 cat >>conftest.$ac_ext <<_ACEOF
18992 /* end confdefs.h.  */
18993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18994    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18995 #define $ac_func innocuous_$ac_func
18996
18997 /* System header to define __stub macros and hopefully few prototypes,
18998     which can conflict with char $ac_func (); below.
18999     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19000     <limits.h> exists even on freestanding compilers.  */
19001
19002 #ifdef __STDC__
19003 # include <limits.h>
19004 #else
19005 # include <assert.h>
19006 #endif
19007
19008 #undef $ac_func
19009
19010 /* Override any gcc2 internal prototype to avoid an error.  */
19011 #ifdef __cplusplus
19012 extern "C"
19013 {
19014 #endif
19015 /* We use char because int might match the return type of a gcc2
19016    builtin and then its argument prototype would still apply.  */
19017 char $ac_func ();
19018 /* The GNU C library defines this for functions which it implements
19019     to always fail with ENOSYS.  Some functions are actually named
19020     something starting with __ and the normal name is an alias.  */
19021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19022 choke me
19023 #else
19024 char (*f) () = $ac_func;
19025 #endif
19026 #ifdef __cplusplus
19027 }
19028 #endif
19029
19030 int
19031 main ()
19032 {
19033 return f != $ac_func;
19034   ;
19035   return 0;
19036 }
19037 _ACEOF
19038 rm -f conftest.$ac_objext conftest$ac_exeext
19039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19040   (eval $ac_link) 2>conftest.er1
19041   ac_status=$?
19042   grep -v '^ *+' conftest.er1 >conftest.err
19043   rm -f conftest.er1
19044   cat conftest.err >&5
19045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19046   (exit $ac_status); } &&
19047          { ac_try='test -z "$ac_c_werror_flag"
19048                          || test ! -s conftest.err'
19049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19050   (eval $ac_try) 2>&5
19051   ac_status=$?
19052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19053   (exit $ac_status); }; } &&
19054          { ac_try='test -s conftest$ac_exeext'
19055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19056   (eval $ac_try) 2>&5
19057   ac_status=$?
19058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19059   (exit $ac_status); }; }; then
19060   eval "$as_ac_var=yes"
19061 else
19062   echo "$as_me: failed program was:" >&5
19063 sed 's/^/| /' conftest.$ac_ext >&5
19064
19065 eval "$as_ac_var=no"
19066 fi
19067 rm -f conftest.err conftest.$ac_objext \
19068       conftest$ac_exeext conftest.$ac_ext
19069 fi
19070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19072 if test `eval echo '${'$as_ac_var'}'` = yes; then
19073   cat >>confdefs.h <<_ACEOF
19074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19075 _ACEOF
19076
19077 fi
19078 done
19079
19080   else
19081     echo "$as_me:$LINENO: checking for _long double round functions" >&5
19082 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
19083     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
19084   echo $ECHO_N "(cached) $ECHO_C" >&6
19085 else
19086
19087
19088
19089       ac_ext=cc
19090 ac_cpp='$CXXCPP $CPPFLAGS'
19091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19094
19095       cat >conftest.$ac_ext <<_ACEOF
19096 /* confdefs.h.  */
19097 _ACEOF
19098 cat confdefs.h >>conftest.$ac_ext
19099 cat >>conftest.$ac_ext <<_ACEOF
19100 /* end confdefs.h.  */
19101 #include <math.h>
19102 int
19103 main ()
19104 {
19105 _ceill (0); _floorl (0);
19106   ;
19107   return 0;
19108 }
19109 _ACEOF
19110 rm -f conftest.$ac_objext
19111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19112   (eval $ac_compile) 2>conftest.er1
19113   ac_status=$?
19114   grep -v '^ *+' conftest.er1 >conftest.err
19115   rm -f conftest.er1
19116   cat conftest.err >&5
19117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19118   (exit $ac_status); } &&
19119          { ac_try='test -z "$ac_cxx_werror_flag"
19120                          || test ! -s conftest.err'
19121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19122   (eval $ac_try) 2>&5
19123   ac_status=$?
19124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125   (exit $ac_status); }; } &&
19126          { ac_try='test -s conftest.$ac_objext'
19127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19128   (eval $ac_try) 2>&5
19129   ac_status=$?
19130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19131   (exit $ac_status); }; }; then
19132   glibcxx_cv_func__long_double_round_use=yes
19133 else
19134   echo "$as_me: failed program was:" >&5
19135 sed 's/^/| /' conftest.$ac_ext >&5
19136
19137 glibcxx_cv_func__long_double_round_use=no
19138 fi
19139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19140       ac_ext=c
19141 ac_cpp='$CPP $CPPFLAGS'
19142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19145
19146 fi
19147
19148     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
19149 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
19150     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
19151
19152
19153 for ac_func in _ceill _floorl
19154 do
19155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19156 echo "$as_me:$LINENO: checking for $ac_func" >&5
19157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19158 if eval "test \"\${$as_ac_var+set}\" = set"; then
19159   echo $ECHO_N "(cached) $ECHO_C" >&6
19160 else
19161   if test x$gcc_no_link = xyes; then
19162   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19164    { (exit 1); exit 1; }; }
19165 fi
19166 cat >conftest.$ac_ext <<_ACEOF
19167 /* confdefs.h.  */
19168 _ACEOF
19169 cat confdefs.h >>conftest.$ac_ext
19170 cat >>conftest.$ac_ext <<_ACEOF
19171 /* end confdefs.h.  */
19172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19173    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19174 #define $ac_func innocuous_$ac_func
19175
19176 /* System header to define __stub macros and hopefully few prototypes,
19177     which can conflict with char $ac_func (); below.
19178     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19179     <limits.h> exists even on freestanding compilers.  */
19180
19181 #ifdef __STDC__
19182 # include <limits.h>
19183 #else
19184 # include <assert.h>
19185 #endif
19186
19187 #undef $ac_func
19188
19189 /* Override any gcc2 internal prototype to avoid an error.  */
19190 #ifdef __cplusplus
19191 extern "C"
19192 {
19193 #endif
19194 /* We use char because int might match the return type of a gcc2
19195    builtin and then its argument prototype would still apply.  */
19196 char $ac_func ();
19197 /* The GNU C library defines this for functions which it implements
19198     to always fail with ENOSYS.  Some functions are actually named
19199     something starting with __ and the normal name is an alias.  */
19200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19201 choke me
19202 #else
19203 char (*f) () = $ac_func;
19204 #endif
19205 #ifdef __cplusplus
19206 }
19207 #endif
19208
19209 int
19210 main ()
19211 {
19212 return f != $ac_func;
19213   ;
19214   return 0;
19215 }
19216 _ACEOF
19217 rm -f conftest.$ac_objext conftest$ac_exeext
19218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19219   (eval $ac_link) 2>conftest.er1
19220   ac_status=$?
19221   grep -v '^ *+' conftest.er1 >conftest.err
19222   rm -f conftest.er1
19223   cat conftest.err >&5
19224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19225   (exit $ac_status); } &&
19226          { ac_try='test -z "$ac_c_werror_flag"
19227                          || test ! -s conftest.err'
19228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19229   (eval $ac_try) 2>&5
19230   ac_status=$?
19231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19232   (exit $ac_status); }; } &&
19233          { ac_try='test -s conftest$ac_exeext'
19234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19235   (eval $ac_try) 2>&5
19236   ac_status=$?
19237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19238   (exit $ac_status); }; }; then
19239   eval "$as_ac_var=yes"
19240 else
19241   echo "$as_me: failed program was:" >&5
19242 sed 's/^/| /' conftest.$ac_ext >&5
19243
19244 eval "$as_ac_var=no"
19245 fi
19246 rm -f conftest.err conftest.$ac_objext \
19247       conftest$ac_exeext conftest.$ac_ext
19248 fi
19249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19251 if test `eval echo '${'$as_ac_var'}'` = yes; then
19252   cat >>confdefs.h <<_ACEOF
19253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19254 _ACEOF
19255
19256 fi
19257 done
19258
19259     fi
19260   fi
19261
19262
19263
19264
19265
19266
19267
19268
19269   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
19270 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
19271   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
19272     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
19273   echo $ECHO_N "(cached) $ECHO_C" >&6
19274 else
19275
19276
19277
19278       ac_ext=cc
19279 ac_cpp='$CXXCPP $CPPFLAGS'
19280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19283
19284       cat >conftest.$ac_ext <<_ACEOF
19285 /* confdefs.h.  */
19286 _ACEOF
19287 cat confdefs.h >>conftest.$ac_ext
19288 cat >>conftest.$ac_ext <<_ACEOF
19289 /* end confdefs.h.  */
19290 #include <math.h>
19291                       #ifdef HAVE_IEEEFP_H
19292                       #include <ieeefp.h>
19293                       #endif
19294
19295 int
19296 main ()
19297 {
19298  isnanl(0);
19299   ;
19300   return 0;
19301 }
19302 _ACEOF
19303 rm -f conftest.$ac_objext
19304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19305   (eval $ac_compile) 2>conftest.er1
19306   ac_status=$?
19307   grep -v '^ *+' conftest.er1 >conftest.err
19308   rm -f conftest.er1
19309   cat conftest.err >&5
19310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19311   (exit $ac_status); } &&
19312          { ac_try='test -z "$ac_cxx_werror_flag"
19313                          || test ! -s conftest.err'
19314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19315   (eval $ac_try) 2>&5
19316   ac_status=$?
19317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19318   (exit $ac_status); }; } &&
19319          { ac_try='test -s conftest.$ac_objext'
19320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19321   (eval $ac_try) 2>&5
19322   ac_status=$?
19323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19324   (exit $ac_status); }; }; then
19325   glibcxx_cv_func_isnanl_use=yes
19326 else
19327   echo "$as_me: failed program was:" >&5
19328 sed 's/^/| /' conftest.$ac_ext >&5
19329
19330 glibcxx_cv_func_isnanl_use=no
19331 fi
19332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19333       ac_ext=c
19334 ac_cpp='$CPP $CPPFLAGS'
19335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19338
19339
19340 fi
19341
19342   fi
19343   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
19344 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
19345
19346   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
19347
19348 for ac_func in isnanl
19349 do
19350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19351 echo "$as_me:$LINENO: checking for $ac_func" >&5
19352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19353 if eval "test \"\${$as_ac_var+set}\" = set"; then
19354   echo $ECHO_N "(cached) $ECHO_C" >&6
19355 else
19356   if test x$gcc_no_link = xyes; then
19357   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19359    { (exit 1); exit 1; }; }
19360 fi
19361 cat >conftest.$ac_ext <<_ACEOF
19362 /* confdefs.h.  */
19363 _ACEOF
19364 cat confdefs.h >>conftest.$ac_ext
19365 cat >>conftest.$ac_ext <<_ACEOF
19366 /* end confdefs.h.  */
19367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19368    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19369 #define $ac_func innocuous_$ac_func
19370
19371 /* System header to define __stub macros and hopefully few prototypes,
19372     which can conflict with char $ac_func (); below.
19373     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19374     <limits.h> exists even on freestanding compilers.  */
19375
19376 #ifdef __STDC__
19377 # include <limits.h>
19378 #else
19379 # include <assert.h>
19380 #endif
19381
19382 #undef $ac_func
19383
19384 /* Override any gcc2 internal prototype to avoid an error.  */
19385 #ifdef __cplusplus
19386 extern "C"
19387 {
19388 #endif
19389 /* We use char because int might match the return type of a gcc2
19390    builtin and then its argument prototype would still apply.  */
19391 char $ac_func ();
19392 /* The GNU C library defines this for functions which it implements
19393     to always fail with ENOSYS.  Some functions are actually named
19394     something starting with __ and the normal name is an alias.  */
19395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19396 choke me
19397 #else
19398 char (*f) () = $ac_func;
19399 #endif
19400 #ifdef __cplusplus
19401 }
19402 #endif
19403
19404 int
19405 main ()
19406 {
19407 return f != $ac_func;
19408   ;
19409   return 0;
19410 }
19411 _ACEOF
19412 rm -f conftest.$ac_objext conftest$ac_exeext
19413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19414   (eval $ac_link) 2>conftest.er1
19415   ac_status=$?
19416   grep -v '^ *+' conftest.er1 >conftest.err
19417   rm -f conftest.er1
19418   cat conftest.err >&5
19419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19420   (exit $ac_status); } &&
19421          { ac_try='test -z "$ac_c_werror_flag"
19422                          || test ! -s conftest.err'
19423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19424   (eval $ac_try) 2>&5
19425   ac_status=$?
19426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19427   (exit $ac_status); }; } &&
19428          { ac_try='test -s conftest$ac_exeext'
19429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19430   (eval $ac_try) 2>&5
19431   ac_status=$?
19432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19433   (exit $ac_status); }; }; then
19434   eval "$as_ac_var=yes"
19435 else
19436   echo "$as_me: failed program was:" >&5
19437 sed 's/^/| /' conftest.$ac_ext >&5
19438
19439 eval "$as_ac_var=no"
19440 fi
19441 rm -f conftest.err conftest.$ac_objext \
19442       conftest$ac_exeext conftest.$ac_ext
19443 fi
19444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19446 if test `eval echo '${'$as_ac_var'}'` = yes; then
19447   cat >>confdefs.h <<_ACEOF
19448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19449 _ACEOF
19450
19451 fi
19452 done
19453
19454   else
19455
19456   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
19457 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
19458   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
19459     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
19460   echo $ECHO_N "(cached) $ECHO_C" >&6
19461 else
19462
19463
19464
19465       ac_ext=cc
19466 ac_cpp='$CXXCPP $CPPFLAGS'
19467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19470
19471       cat >conftest.$ac_ext <<_ACEOF
19472 /* confdefs.h.  */
19473 _ACEOF
19474 cat confdefs.h >>conftest.$ac_ext
19475 cat >>conftest.$ac_ext <<_ACEOF
19476 /* end confdefs.h.  */
19477 #include <math.h>
19478                       #ifdef HAVE_IEEEFP_H
19479                       #include <ieeefp.h>
19480                       #endif
19481
19482 int
19483 main ()
19484 {
19485  _isnanl(0);
19486   ;
19487   return 0;
19488 }
19489 _ACEOF
19490 rm -f conftest.$ac_objext
19491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19492   (eval $ac_compile) 2>conftest.er1
19493   ac_status=$?
19494   grep -v '^ *+' conftest.er1 >conftest.err
19495   rm -f conftest.er1
19496   cat conftest.err >&5
19497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19498   (exit $ac_status); } &&
19499          { ac_try='test -z "$ac_cxx_werror_flag"
19500                          || test ! -s conftest.err'
19501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19502   (eval $ac_try) 2>&5
19503   ac_status=$?
19504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19505   (exit $ac_status); }; } &&
19506          { ac_try='test -s conftest.$ac_objext'
19507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19508   (eval $ac_try) 2>&5
19509   ac_status=$?
19510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19511   (exit $ac_status); }; }; then
19512   glibcxx_cv_func__isnanl_use=yes
19513 else
19514   echo "$as_me: failed program was:" >&5
19515 sed 's/^/| /' conftest.$ac_ext >&5
19516
19517 glibcxx_cv_func__isnanl_use=no
19518 fi
19519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19520       ac_ext=c
19521 ac_cpp='$CPP $CPPFLAGS'
19522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19525
19526
19527 fi
19528
19529   fi
19530   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
19531 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
19532
19533     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
19534
19535 for ac_func in _isnanl
19536 do
19537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19538 echo "$as_me:$LINENO: checking for $ac_func" >&5
19539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19540 if eval "test \"\${$as_ac_var+set}\" = set"; then
19541   echo $ECHO_N "(cached) $ECHO_C" >&6
19542 else
19543   if test x$gcc_no_link = xyes; then
19544   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19546    { (exit 1); exit 1; }; }
19547 fi
19548 cat >conftest.$ac_ext <<_ACEOF
19549 /* confdefs.h.  */
19550 _ACEOF
19551 cat confdefs.h >>conftest.$ac_ext
19552 cat >>conftest.$ac_ext <<_ACEOF
19553 /* end confdefs.h.  */
19554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19555    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19556 #define $ac_func innocuous_$ac_func
19557
19558 /* System header to define __stub macros and hopefully few prototypes,
19559     which can conflict with char $ac_func (); below.
19560     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19561     <limits.h> exists even on freestanding compilers.  */
19562
19563 #ifdef __STDC__
19564 # include <limits.h>
19565 #else
19566 # include <assert.h>
19567 #endif
19568
19569 #undef $ac_func
19570
19571 /* Override any gcc2 internal prototype to avoid an error.  */
19572 #ifdef __cplusplus
19573 extern "C"
19574 {
19575 #endif
19576 /* We use char because int might match the return type of a gcc2
19577    builtin and then its argument prototype would still apply.  */
19578 char $ac_func ();
19579 /* The GNU C library defines this for functions which it implements
19580     to always fail with ENOSYS.  Some functions are actually named
19581     something starting with __ and the normal name is an alias.  */
19582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19583 choke me
19584 #else
19585 char (*f) () = $ac_func;
19586 #endif
19587 #ifdef __cplusplus
19588 }
19589 #endif
19590
19591 int
19592 main ()
19593 {
19594 return f != $ac_func;
19595   ;
19596   return 0;
19597 }
19598 _ACEOF
19599 rm -f conftest.$ac_objext conftest$ac_exeext
19600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19601   (eval $ac_link) 2>conftest.er1
19602   ac_status=$?
19603   grep -v '^ *+' conftest.er1 >conftest.err
19604   rm -f conftest.er1
19605   cat conftest.err >&5
19606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19607   (exit $ac_status); } &&
19608          { ac_try='test -z "$ac_c_werror_flag"
19609                          || test ! -s conftest.err'
19610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19611   (eval $ac_try) 2>&5
19612   ac_status=$?
19613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19614   (exit $ac_status); }; } &&
19615          { ac_try='test -s conftest$ac_exeext'
19616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19617   (eval $ac_try) 2>&5
19618   ac_status=$?
19619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19620   (exit $ac_status); }; }; then
19621   eval "$as_ac_var=yes"
19622 else
19623   echo "$as_me: failed program was:" >&5
19624 sed 's/^/| /' conftest.$ac_ext >&5
19625
19626 eval "$as_ac_var=no"
19627 fi
19628 rm -f conftest.err conftest.$ac_objext \
19629       conftest$ac_exeext conftest.$ac_ext
19630 fi
19631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19633 if test `eval echo '${'$as_ac_var'}'` = yes; then
19634   cat >>confdefs.h <<_ACEOF
19635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19636 _ACEOF
19637
19638 fi
19639 done
19640
19641     fi
19642   fi
19643
19644
19645
19646
19647
19648
19649   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
19650 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
19651   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
19652     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
19653   echo $ECHO_N "(cached) $ECHO_C" >&6
19654 else
19655
19656
19657
19658       ac_ext=cc
19659 ac_cpp='$CXXCPP $CPPFLAGS'
19660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19663
19664       cat >conftest.$ac_ext <<_ACEOF
19665 /* confdefs.h.  */
19666 _ACEOF
19667 cat confdefs.h >>conftest.$ac_ext
19668 cat >>conftest.$ac_ext <<_ACEOF
19669 /* end confdefs.h.  */
19670 #include <math.h>
19671                       #ifdef HAVE_IEEEFP_H
19672                       #include <ieeefp.h>
19673                       #endif
19674
19675 int
19676 main ()
19677 {
19678  isinfl(0);
19679   ;
19680   return 0;
19681 }
19682 _ACEOF
19683 rm -f conftest.$ac_objext
19684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19685   (eval $ac_compile) 2>conftest.er1
19686   ac_status=$?
19687   grep -v '^ *+' conftest.er1 >conftest.err
19688   rm -f conftest.er1
19689   cat conftest.err >&5
19690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19691   (exit $ac_status); } &&
19692          { ac_try='test -z "$ac_cxx_werror_flag"
19693                          || test ! -s conftest.err'
19694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19695   (eval $ac_try) 2>&5
19696   ac_status=$?
19697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19698   (exit $ac_status); }; } &&
19699          { ac_try='test -s conftest.$ac_objext'
19700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19701   (eval $ac_try) 2>&5
19702   ac_status=$?
19703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19704   (exit $ac_status); }; }; then
19705   glibcxx_cv_func_isinfl_use=yes
19706 else
19707   echo "$as_me: failed program was:" >&5
19708 sed 's/^/| /' conftest.$ac_ext >&5
19709
19710 glibcxx_cv_func_isinfl_use=no
19711 fi
19712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19713       ac_ext=c
19714 ac_cpp='$CPP $CPPFLAGS'
19715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19718
19719
19720 fi
19721
19722   fi
19723   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
19724 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
19725
19726   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
19727
19728 for ac_func in isinfl
19729 do
19730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19731 echo "$as_me:$LINENO: checking for $ac_func" >&5
19732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19733 if eval "test \"\${$as_ac_var+set}\" = set"; then
19734   echo $ECHO_N "(cached) $ECHO_C" >&6
19735 else
19736   if test x$gcc_no_link = xyes; then
19737   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19739    { (exit 1); exit 1; }; }
19740 fi
19741 cat >conftest.$ac_ext <<_ACEOF
19742 /* confdefs.h.  */
19743 _ACEOF
19744 cat confdefs.h >>conftest.$ac_ext
19745 cat >>conftest.$ac_ext <<_ACEOF
19746 /* end confdefs.h.  */
19747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19748    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19749 #define $ac_func innocuous_$ac_func
19750
19751 /* System header to define __stub macros and hopefully few prototypes,
19752     which can conflict with char $ac_func (); below.
19753     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19754     <limits.h> exists even on freestanding compilers.  */
19755
19756 #ifdef __STDC__
19757 # include <limits.h>
19758 #else
19759 # include <assert.h>
19760 #endif
19761
19762 #undef $ac_func
19763
19764 /* Override any gcc2 internal prototype to avoid an error.  */
19765 #ifdef __cplusplus
19766 extern "C"
19767 {
19768 #endif
19769 /* We use char because int might match the return type of a gcc2
19770    builtin and then its argument prototype would still apply.  */
19771 char $ac_func ();
19772 /* The GNU C library defines this for functions which it implements
19773     to always fail with ENOSYS.  Some functions are actually named
19774     something starting with __ and the normal name is an alias.  */
19775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19776 choke me
19777 #else
19778 char (*f) () = $ac_func;
19779 #endif
19780 #ifdef __cplusplus
19781 }
19782 #endif
19783
19784 int
19785 main ()
19786 {
19787 return f != $ac_func;
19788   ;
19789   return 0;
19790 }
19791 _ACEOF
19792 rm -f conftest.$ac_objext conftest$ac_exeext
19793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19794   (eval $ac_link) 2>conftest.er1
19795   ac_status=$?
19796   grep -v '^ *+' conftest.er1 >conftest.err
19797   rm -f conftest.er1
19798   cat conftest.err >&5
19799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19800   (exit $ac_status); } &&
19801          { ac_try='test -z "$ac_c_werror_flag"
19802                          || test ! -s conftest.err'
19803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19804   (eval $ac_try) 2>&5
19805   ac_status=$?
19806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19807   (exit $ac_status); }; } &&
19808          { ac_try='test -s conftest$ac_exeext'
19809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19810   (eval $ac_try) 2>&5
19811   ac_status=$?
19812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19813   (exit $ac_status); }; }; then
19814   eval "$as_ac_var=yes"
19815 else
19816   echo "$as_me: failed program was:" >&5
19817 sed 's/^/| /' conftest.$ac_ext >&5
19818
19819 eval "$as_ac_var=no"
19820 fi
19821 rm -f conftest.err conftest.$ac_objext \
19822       conftest$ac_exeext conftest.$ac_ext
19823 fi
19824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19826 if test `eval echo '${'$as_ac_var'}'` = yes; then
19827   cat >>confdefs.h <<_ACEOF
19828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19829 _ACEOF
19830
19831 fi
19832 done
19833
19834   else
19835
19836   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
19837 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
19838   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
19839     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
19840   echo $ECHO_N "(cached) $ECHO_C" >&6
19841 else
19842
19843
19844
19845       ac_ext=cc
19846 ac_cpp='$CXXCPP $CPPFLAGS'
19847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19850
19851       cat >conftest.$ac_ext <<_ACEOF
19852 /* confdefs.h.  */
19853 _ACEOF
19854 cat confdefs.h >>conftest.$ac_ext
19855 cat >>conftest.$ac_ext <<_ACEOF
19856 /* end confdefs.h.  */
19857 #include <math.h>
19858                       #ifdef HAVE_IEEEFP_H
19859                       #include <ieeefp.h>
19860                       #endif
19861
19862 int
19863 main ()
19864 {
19865  _isinfl(0);
19866   ;
19867   return 0;
19868 }
19869 _ACEOF
19870 rm -f conftest.$ac_objext
19871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19872   (eval $ac_compile) 2>conftest.er1
19873   ac_status=$?
19874   grep -v '^ *+' conftest.er1 >conftest.err
19875   rm -f conftest.er1
19876   cat conftest.err >&5
19877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878   (exit $ac_status); } &&
19879          { ac_try='test -z "$ac_cxx_werror_flag"
19880                          || test ! -s conftest.err'
19881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19882   (eval $ac_try) 2>&5
19883   ac_status=$?
19884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19885   (exit $ac_status); }; } &&
19886          { ac_try='test -s conftest.$ac_objext'
19887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19888   (eval $ac_try) 2>&5
19889   ac_status=$?
19890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19891   (exit $ac_status); }; }; then
19892   glibcxx_cv_func__isinfl_use=yes
19893 else
19894   echo "$as_me: failed program was:" >&5
19895 sed 's/^/| /' conftest.$ac_ext >&5
19896
19897 glibcxx_cv_func__isinfl_use=no
19898 fi
19899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19900       ac_ext=c
19901 ac_cpp='$CPP $CPPFLAGS'
19902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19905
19906
19907 fi
19908
19909   fi
19910   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
19911 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
19912
19913     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
19914
19915 for ac_func in _isinfl
19916 do
19917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19918 echo "$as_me:$LINENO: checking for $ac_func" >&5
19919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19920 if eval "test \"\${$as_ac_var+set}\" = set"; then
19921   echo $ECHO_N "(cached) $ECHO_C" >&6
19922 else
19923   if test x$gcc_no_link = xyes; then
19924   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19926    { (exit 1); exit 1; }; }
19927 fi
19928 cat >conftest.$ac_ext <<_ACEOF
19929 /* confdefs.h.  */
19930 _ACEOF
19931 cat confdefs.h >>conftest.$ac_ext
19932 cat >>conftest.$ac_ext <<_ACEOF
19933 /* end confdefs.h.  */
19934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19935    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19936 #define $ac_func innocuous_$ac_func
19937
19938 /* System header to define __stub macros and hopefully few prototypes,
19939     which can conflict with char $ac_func (); below.
19940     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19941     <limits.h> exists even on freestanding compilers.  */
19942
19943 #ifdef __STDC__
19944 # include <limits.h>
19945 #else
19946 # include <assert.h>
19947 #endif
19948
19949 #undef $ac_func
19950
19951 /* Override any gcc2 internal prototype to avoid an error.  */
19952 #ifdef __cplusplus
19953 extern "C"
19954 {
19955 #endif
19956 /* We use char because int might match the return type of a gcc2
19957    builtin and then its argument prototype would still apply.  */
19958 char $ac_func ();
19959 /* The GNU C library defines this for functions which it implements
19960     to always fail with ENOSYS.  Some functions are actually named
19961     something starting with __ and the normal name is an alias.  */
19962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19963 choke me
19964 #else
19965 char (*f) () = $ac_func;
19966 #endif
19967 #ifdef __cplusplus
19968 }
19969 #endif
19970
19971 int
19972 main ()
19973 {
19974 return f != $ac_func;
19975   ;
19976   return 0;
19977 }
19978 _ACEOF
19979 rm -f conftest.$ac_objext conftest$ac_exeext
19980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19981   (eval $ac_link) 2>conftest.er1
19982   ac_status=$?
19983   grep -v '^ *+' conftest.er1 >conftest.err
19984   rm -f conftest.er1
19985   cat conftest.err >&5
19986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19987   (exit $ac_status); } &&
19988          { ac_try='test -z "$ac_c_werror_flag"
19989                          || test ! -s conftest.err'
19990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19991   (eval $ac_try) 2>&5
19992   ac_status=$?
19993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19994   (exit $ac_status); }; } &&
19995          { ac_try='test -s conftest$ac_exeext'
19996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19997   (eval $ac_try) 2>&5
19998   ac_status=$?
19999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20000   (exit $ac_status); }; }; then
20001   eval "$as_ac_var=yes"
20002 else
20003   echo "$as_me: failed program was:" >&5
20004 sed 's/^/| /' conftest.$ac_ext >&5
20005
20006 eval "$as_ac_var=no"
20007 fi
20008 rm -f conftest.err conftest.$ac_objext \
20009       conftest$ac_exeext conftest.$ac_ext
20010 fi
20011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20013 if test `eval echo '${'$as_ac_var'}'` = yes; then
20014   cat >>confdefs.h <<_ACEOF
20015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20016 _ACEOF
20017
20018 fi
20019 done
20020
20021     fi
20022   fi
20023
20024
20025
20026
20027
20028
20029   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
20030 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
20031   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
20032     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
20033   echo $ECHO_N "(cached) $ECHO_C" >&6
20034 else
20035
20036
20037
20038       ac_ext=cc
20039 ac_cpp='$CXXCPP $CPPFLAGS'
20040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20043
20044       cat >conftest.$ac_ext <<_ACEOF
20045 /* confdefs.h.  */
20046 _ACEOF
20047 cat confdefs.h >>conftest.$ac_ext
20048 cat >>conftest.$ac_ext <<_ACEOF
20049 /* end confdefs.h.  */
20050 #include <math.h>
20051 int
20052 main ()
20053 {
20054  copysignl(0, 0);
20055   ;
20056   return 0;
20057 }
20058 _ACEOF
20059 rm -f conftest.$ac_objext
20060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20061   (eval $ac_compile) 2>conftest.er1
20062   ac_status=$?
20063   grep -v '^ *+' conftest.er1 >conftest.err
20064   rm -f conftest.er1
20065   cat conftest.err >&5
20066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20067   (exit $ac_status); } &&
20068          { ac_try='test -z "$ac_cxx_werror_flag"
20069                          || test ! -s conftest.err'
20070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20071   (eval $ac_try) 2>&5
20072   ac_status=$?
20073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20074   (exit $ac_status); }; } &&
20075          { ac_try='test -s conftest.$ac_objext'
20076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20077   (eval $ac_try) 2>&5
20078   ac_status=$?
20079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20080   (exit $ac_status); }; }; then
20081   glibcxx_cv_func_copysignl_use=yes
20082 else
20083   echo "$as_me: failed program was:" >&5
20084 sed 's/^/| /' conftest.$ac_ext >&5
20085
20086 glibcxx_cv_func_copysignl_use=no
20087 fi
20088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20089       ac_ext=c
20090 ac_cpp='$CPP $CPPFLAGS'
20091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20094
20095
20096 fi
20097
20098   fi
20099   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
20100 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
20101
20102   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
20103
20104 for ac_func in copysignl
20105 do
20106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20107 echo "$as_me:$LINENO: checking for $ac_func" >&5
20108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20109 if eval "test \"\${$as_ac_var+set}\" = set"; then
20110   echo $ECHO_N "(cached) $ECHO_C" >&6
20111 else
20112   if test x$gcc_no_link = xyes; then
20113   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20115    { (exit 1); exit 1; }; }
20116 fi
20117 cat >conftest.$ac_ext <<_ACEOF
20118 /* confdefs.h.  */
20119 _ACEOF
20120 cat confdefs.h >>conftest.$ac_ext
20121 cat >>conftest.$ac_ext <<_ACEOF
20122 /* end confdefs.h.  */
20123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20124    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20125 #define $ac_func innocuous_$ac_func
20126
20127 /* System header to define __stub macros and hopefully few prototypes,
20128     which can conflict with char $ac_func (); below.
20129     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20130     <limits.h> exists even on freestanding compilers.  */
20131
20132 #ifdef __STDC__
20133 # include <limits.h>
20134 #else
20135 # include <assert.h>
20136 #endif
20137
20138 #undef $ac_func
20139
20140 /* Override any gcc2 internal prototype to avoid an error.  */
20141 #ifdef __cplusplus
20142 extern "C"
20143 {
20144 #endif
20145 /* We use char because int might match the return type of a gcc2
20146    builtin and then its argument prototype would still apply.  */
20147 char $ac_func ();
20148 /* The GNU C library defines this for functions which it implements
20149     to always fail with ENOSYS.  Some functions are actually named
20150     something starting with __ and the normal name is an alias.  */
20151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20152 choke me
20153 #else
20154 char (*f) () = $ac_func;
20155 #endif
20156 #ifdef __cplusplus
20157 }
20158 #endif
20159
20160 int
20161 main ()
20162 {
20163 return f != $ac_func;
20164   ;
20165   return 0;
20166 }
20167 _ACEOF
20168 rm -f conftest.$ac_objext conftest$ac_exeext
20169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20170   (eval $ac_link) 2>conftest.er1
20171   ac_status=$?
20172   grep -v '^ *+' conftest.er1 >conftest.err
20173   rm -f conftest.er1
20174   cat conftest.err >&5
20175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20176   (exit $ac_status); } &&
20177          { ac_try='test -z "$ac_c_werror_flag"
20178                          || test ! -s conftest.err'
20179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20180   (eval $ac_try) 2>&5
20181   ac_status=$?
20182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20183   (exit $ac_status); }; } &&
20184          { ac_try='test -s conftest$ac_exeext'
20185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20186   (eval $ac_try) 2>&5
20187   ac_status=$?
20188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20189   (exit $ac_status); }; }; then
20190   eval "$as_ac_var=yes"
20191 else
20192   echo "$as_me: failed program was:" >&5
20193 sed 's/^/| /' conftest.$ac_ext >&5
20194
20195 eval "$as_ac_var=no"
20196 fi
20197 rm -f conftest.err conftest.$ac_objext \
20198       conftest$ac_exeext conftest.$ac_ext
20199 fi
20200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20202 if test `eval echo '${'$as_ac_var'}'` = yes; then
20203   cat >>confdefs.h <<_ACEOF
20204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20205 _ACEOF
20206
20207 fi
20208 done
20209
20210   else
20211
20212   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
20213 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
20214   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
20215     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
20216   echo $ECHO_N "(cached) $ECHO_C" >&6
20217 else
20218
20219
20220
20221       ac_ext=cc
20222 ac_cpp='$CXXCPP $CPPFLAGS'
20223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20226
20227       cat >conftest.$ac_ext <<_ACEOF
20228 /* confdefs.h.  */
20229 _ACEOF
20230 cat confdefs.h >>conftest.$ac_ext
20231 cat >>conftest.$ac_ext <<_ACEOF
20232 /* end confdefs.h.  */
20233 #include <math.h>
20234 int
20235 main ()
20236 {
20237  _copysignl(0, 0);
20238   ;
20239   return 0;
20240 }
20241 _ACEOF
20242 rm -f conftest.$ac_objext
20243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20244   (eval $ac_compile) 2>conftest.er1
20245   ac_status=$?
20246   grep -v '^ *+' conftest.er1 >conftest.err
20247   rm -f conftest.er1
20248   cat conftest.err >&5
20249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20250   (exit $ac_status); } &&
20251          { ac_try='test -z "$ac_cxx_werror_flag"
20252                          || test ! -s conftest.err'
20253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20254   (eval $ac_try) 2>&5
20255   ac_status=$?
20256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20257   (exit $ac_status); }; } &&
20258          { ac_try='test -s conftest.$ac_objext'
20259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20260   (eval $ac_try) 2>&5
20261   ac_status=$?
20262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20263   (exit $ac_status); }; }; then
20264   glibcxx_cv_func__copysignl_use=yes
20265 else
20266   echo "$as_me: failed program was:" >&5
20267 sed 's/^/| /' conftest.$ac_ext >&5
20268
20269 glibcxx_cv_func__copysignl_use=no
20270 fi
20271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20272       ac_ext=c
20273 ac_cpp='$CPP $CPPFLAGS'
20274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20277
20278
20279 fi
20280
20281   fi
20282   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
20283 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
20284
20285     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
20286
20287 for ac_func in _copysignl
20288 do
20289 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20290 echo "$as_me:$LINENO: checking for $ac_func" >&5
20291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20292 if eval "test \"\${$as_ac_var+set}\" = set"; then
20293   echo $ECHO_N "(cached) $ECHO_C" >&6
20294 else
20295   if test x$gcc_no_link = xyes; then
20296   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20297 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20298    { (exit 1); exit 1; }; }
20299 fi
20300 cat >conftest.$ac_ext <<_ACEOF
20301 /* confdefs.h.  */
20302 _ACEOF
20303 cat confdefs.h >>conftest.$ac_ext
20304 cat >>conftest.$ac_ext <<_ACEOF
20305 /* end confdefs.h.  */
20306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20307    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20308 #define $ac_func innocuous_$ac_func
20309
20310 /* System header to define __stub macros and hopefully few prototypes,
20311     which can conflict with char $ac_func (); below.
20312     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20313     <limits.h> exists even on freestanding compilers.  */
20314
20315 #ifdef __STDC__
20316 # include <limits.h>
20317 #else
20318 # include <assert.h>
20319 #endif
20320
20321 #undef $ac_func
20322
20323 /* Override any gcc2 internal prototype to avoid an error.  */
20324 #ifdef __cplusplus
20325 extern "C"
20326 {
20327 #endif
20328 /* We use char because int might match the return type of a gcc2
20329    builtin and then its argument prototype would still apply.  */
20330 char $ac_func ();
20331 /* The GNU C library defines this for functions which it implements
20332     to always fail with ENOSYS.  Some functions are actually named
20333     something starting with __ and the normal name is an alias.  */
20334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20335 choke me
20336 #else
20337 char (*f) () = $ac_func;
20338 #endif
20339 #ifdef __cplusplus
20340 }
20341 #endif
20342
20343 int
20344 main ()
20345 {
20346 return f != $ac_func;
20347   ;
20348   return 0;
20349 }
20350 _ACEOF
20351 rm -f conftest.$ac_objext conftest$ac_exeext
20352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20353   (eval $ac_link) 2>conftest.er1
20354   ac_status=$?
20355   grep -v '^ *+' conftest.er1 >conftest.err
20356   rm -f conftest.er1
20357   cat conftest.err >&5
20358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20359   (exit $ac_status); } &&
20360          { ac_try='test -z "$ac_c_werror_flag"
20361                          || test ! -s conftest.err'
20362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20363   (eval $ac_try) 2>&5
20364   ac_status=$?
20365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20366   (exit $ac_status); }; } &&
20367          { ac_try='test -s conftest$ac_exeext'
20368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20369   (eval $ac_try) 2>&5
20370   ac_status=$?
20371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20372   (exit $ac_status); }; }; then
20373   eval "$as_ac_var=yes"
20374 else
20375   echo "$as_me: failed program was:" >&5
20376 sed 's/^/| /' conftest.$ac_ext >&5
20377
20378 eval "$as_ac_var=no"
20379 fi
20380 rm -f conftest.err conftest.$ac_objext \
20381       conftest$ac_exeext conftest.$ac_ext
20382 fi
20383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20384 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20385 if test `eval echo '${'$as_ac_var'}'` = yes; then
20386   cat >>confdefs.h <<_ACEOF
20387 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20388 _ACEOF
20389
20390 fi
20391 done
20392
20393     fi
20394   fi
20395
20396
20397
20398
20399
20400
20401   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
20402 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
20403   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
20404     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
20405   echo $ECHO_N "(cached) $ECHO_C" >&6
20406 else
20407
20408
20409
20410       ac_ext=cc
20411 ac_cpp='$CXXCPP $CPPFLAGS'
20412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20415
20416       cat >conftest.$ac_ext <<_ACEOF
20417 /* confdefs.h.  */
20418 _ACEOF
20419 cat confdefs.h >>conftest.$ac_ext
20420 cat >>conftest.$ac_ext <<_ACEOF
20421 /* end confdefs.h.  */
20422 #include <math.h>
20423 int
20424 main ()
20425 {
20426  atan2l(0, 0);
20427   ;
20428   return 0;
20429 }
20430 _ACEOF
20431 rm -f conftest.$ac_objext
20432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20433   (eval $ac_compile) 2>conftest.er1
20434   ac_status=$?
20435   grep -v '^ *+' conftest.er1 >conftest.err
20436   rm -f conftest.er1
20437   cat conftest.err >&5
20438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20439   (exit $ac_status); } &&
20440          { ac_try='test -z "$ac_cxx_werror_flag"
20441                          || test ! -s conftest.err'
20442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20443   (eval $ac_try) 2>&5
20444   ac_status=$?
20445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20446   (exit $ac_status); }; } &&
20447          { ac_try='test -s conftest.$ac_objext'
20448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20449   (eval $ac_try) 2>&5
20450   ac_status=$?
20451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20452   (exit $ac_status); }; }; then
20453   glibcxx_cv_func_atan2l_use=yes
20454 else
20455   echo "$as_me: failed program was:" >&5
20456 sed 's/^/| /' conftest.$ac_ext >&5
20457
20458 glibcxx_cv_func_atan2l_use=no
20459 fi
20460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20461       ac_ext=c
20462 ac_cpp='$CPP $CPPFLAGS'
20463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20466
20467
20468 fi
20469
20470   fi
20471   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
20472 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
20473
20474   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
20475
20476 for ac_func in atan2l
20477 do
20478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20479 echo "$as_me:$LINENO: checking for $ac_func" >&5
20480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20481 if eval "test \"\${$as_ac_var+set}\" = set"; then
20482   echo $ECHO_N "(cached) $ECHO_C" >&6
20483 else
20484   if test x$gcc_no_link = xyes; then
20485   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20487    { (exit 1); exit 1; }; }
20488 fi
20489 cat >conftest.$ac_ext <<_ACEOF
20490 /* confdefs.h.  */
20491 _ACEOF
20492 cat confdefs.h >>conftest.$ac_ext
20493 cat >>conftest.$ac_ext <<_ACEOF
20494 /* end confdefs.h.  */
20495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20496    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20497 #define $ac_func innocuous_$ac_func
20498
20499 /* System header to define __stub macros and hopefully few prototypes,
20500     which can conflict with char $ac_func (); below.
20501     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20502     <limits.h> exists even on freestanding compilers.  */
20503
20504 #ifdef __STDC__
20505 # include <limits.h>
20506 #else
20507 # include <assert.h>
20508 #endif
20509
20510 #undef $ac_func
20511
20512 /* Override any gcc2 internal prototype to avoid an error.  */
20513 #ifdef __cplusplus
20514 extern "C"
20515 {
20516 #endif
20517 /* We use char because int might match the return type of a gcc2
20518    builtin and then its argument prototype would still apply.  */
20519 char $ac_func ();
20520 /* The GNU C library defines this for functions which it implements
20521     to always fail with ENOSYS.  Some functions are actually named
20522     something starting with __ and the normal name is an alias.  */
20523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20524 choke me
20525 #else
20526 char (*f) () = $ac_func;
20527 #endif
20528 #ifdef __cplusplus
20529 }
20530 #endif
20531
20532 int
20533 main ()
20534 {
20535 return f != $ac_func;
20536   ;
20537   return 0;
20538 }
20539 _ACEOF
20540 rm -f conftest.$ac_objext conftest$ac_exeext
20541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20542   (eval $ac_link) 2>conftest.er1
20543   ac_status=$?
20544   grep -v '^ *+' conftest.er1 >conftest.err
20545   rm -f conftest.er1
20546   cat conftest.err >&5
20547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20548   (exit $ac_status); } &&
20549          { ac_try='test -z "$ac_c_werror_flag"
20550                          || test ! -s conftest.err'
20551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20552   (eval $ac_try) 2>&5
20553   ac_status=$?
20554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20555   (exit $ac_status); }; } &&
20556          { ac_try='test -s conftest$ac_exeext'
20557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20558   (eval $ac_try) 2>&5
20559   ac_status=$?
20560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20561   (exit $ac_status); }; }; then
20562   eval "$as_ac_var=yes"
20563 else
20564   echo "$as_me: failed program was:" >&5
20565 sed 's/^/| /' conftest.$ac_ext >&5
20566
20567 eval "$as_ac_var=no"
20568 fi
20569 rm -f conftest.err conftest.$ac_objext \
20570       conftest$ac_exeext conftest.$ac_ext
20571 fi
20572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20574 if test `eval echo '${'$as_ac_var'}'` = yes; then
20575   cat >>confdefs.h <<_ACEOF
20576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20577 _ACEOF
20578
20579 fi
20580 done
20581
20582   else
20583
20584   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
20585 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
20586   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
20587     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
20588   echo $ECHO_N "(cached) $ECHO_C" >&6
20589 else
20590
20591
20592
20593       ac_ext=cc
20594 ac_cpp='$CXXCPP $CPPFLAGS'
20595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20598
20599       cat >conftest.$ac_ext <<_ACEOF
20600 /* confdefs.h.  */
20601 _ACEOF
20602 cat confdefs.h >>conftest.$ac_ext
20603 cat >>conftest.$ac_ext <<_ACEOF
20604 /* end confdefs.h.  */
20605 #include <math.h>
20606 int
20607 main ()
20608 {
20609  _atan2l(0, 0);
20610   ;
20611   return 0;
20612 }
20613 _ACEOF
20614 rm -f conftest.$ac_objext
20615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20616   (eval $ac_compile) 2>conftest.er1
20617   ac_status=$?
20618   grep -v '^ *+' conftest.er1 >conftest.err
20619   rm -f conftest.er1
20620   cat conftest.err >&5
20621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20622   (exit $ac_status); } &&
20623          { ac_try='test -z "$ac_cxx_werror_flag"
20624                          || test ! -s conftest.err'
20625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20626   (eval $ac_try) 2>&5
20627   ac_status=$?
20628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629   (exit $ac_status); }; } &&
20630          { ac_try='test -s conftest.$ac_objext'
20631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20632   (eval $ac_try) 2>&5
20633   ac_status=$?
20634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20635   (exit $ac_status); }; }; then
20636   glibcxx_cv_func__atan2l_use=yes
20637 else
20638   echo "$as_me: failed program was:" >&5
20639 sed 's/^/| /' conftest.$ac_ext >&5
20640
20641 glibcxx_cv_func__atan2l_use=no
20642 fi
20643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20644       ac_ext=c
20645 ac_cpp='$CPP $CPPFLAGS'
20646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20649
20650
20651 fi
20652
20653   fi
20654   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
20655 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
20656
20657     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
20658
20659 for ac_func in _atan2l
20660 do
20661 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20662 echo "$as_me:$LINENO: checking for $ac_func" >&5
20663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20664 if eval "test \"\${$as_ac_var+set}\" = set"; then
20665   echo $ECHO_N "(cached) $ECHO_C" >&6
20666 else
20667   if test x$gcc_no_link = xyes; then
20668   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20670    { (exit 1); exit 1; }; }
20671 fi
20672 cat >conftest.$ac_ext <<_ACEOF
20673 /* confdefs.h.  */
20674 _ACEOF
20675 cat confdefs.h >>conftest.$ac_ext
20676 cat >>conftest.$ac_ext <<_ACEOF
20677 /* end confdefs.h.  */
20678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20679    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20680 #define $ac_func innocuous_$ac_func
20681
20682 /* System header to define __stub macros and hopefully few prototypes,
20683     which can conflict with char $ac_func (); below.
20684     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20685     <limits.h> exists even on freestanding compilers.  */
20686
20687 #ifdef __STDC__
20688 # include <limits.h>
20689 #else
20690 # include <assert.h>
20691 #endif
20692
20693 #undef $ac_func
20694
20695 /* Override any gcc2 internal prototype to avoid an error.  */
20696 #ifdef __cplusplus
20697 extern "C"
20698 {
20699 #endif
20700 /* We use char because int might match the return type of a gcc2
20701    builtin and then its argument prototype would still apply.  */
20702 char $ac_func ();
20703 /* The GNU C library defines this for functions which it implements
20704     to always fail with ENOSYS.  Some functions are actually named
20705     something starting with __ and the normal name is an alias.  */
20706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20707 choke me
20708 #else
20709 char (*f) () = $ac_func;
20710 #endif
20711 #ifdef __cplusplus
20712 }
20713 #endif
20714
20715 int
20716 main ()
20717 {
20718 return f != $ac_func;
20719   ;
20720   return 0;
20721 }
20722 _ACEOF
20723 rm -f conftest.$ac_objext conftest$ac_exeext
20724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20725   (eval $ac_link) 2>conftest.er1
20726   ac_status=$?
20727   grep -v '^ *+' conftest.er1 >conftest.err
20728   rm -f conftest.er1
20729   cat conftest.err >&5
20730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20731   (exit $ac_status); } &&
20732          { ac_try='test -z "$ac_c_werror_flag"
20733                          || test ! -s conftest.err'
20734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20735   (eval $ac_try) 2>&5
20736   ac_status=$?
20737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20738   (exit $ac_status); }; } &&
20739          { ac_try='test -s conftest$ac_exeext'
20740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20741   (eval $ac_try) 2>&5
20742   ac_status=$?
20743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20744   (exit $ac_status); }; }; then
20745   eval "$as_ac_var=yes"
20746 else
20747   echo "$as_me: failed program was:" >&5
20748 sed 's/^/| /' conftest.$ac_ext >&5
20749
20750 eval "$as_ac_var=no"
20751 fi
20752 rm -f conftest.err conftest.$ac_objext \
20753       conftest$ac_exeext conftest.$ac_ext
20754 fi
20755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20757 if test `eval echo '${'$as_ac_var'}'` = yes; then
20758   cat >>confdefs.h <<_ACEOF
20759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20760 _ACEOF
20761
20762 fi
20763 done
20764
20765     fi
20766   fi
20767
20768
20769
20770
20771
20772
20773   echo "$as_me:$LINENO: checking for expl declaration" >&5
20774 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
20775   if test x${glibcxx_cv_func_expl_use+set} != xset; then
20776     if test "${glibcxx_cv_func_expl_use+set}" = set; then
20777   echo $ECHO_N "(cached) $ECHO_C" >&6
20778 else
20779
20780
20781
20782       ac_ext=cc
20783 ac_cpp='$CXXCPP $CPPFLAGS'
20784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20787
20788       cat >conftest.$ac_ext <<_ACEOF
20789 /* confdefs.h.  */
20790 _ACEOF
20791 cat confdefs.h >>conftest.$ac_ext
20792 cat >>conftest.$ac_ext <<_ACEOF
20793 /* end confdefs.h.  */
20794 #include <math.h>
20795                       #ifdef HAVE_IEEEFP_H
20796                       #include <ieeefp.h>
20797                       #endif
20798
20799 int
20800 main ()
20801 {
20802  expl(0);
20803   ;
20804   return 0;
20805 }
20806 _ACEOF
20807 rm -f conftest.$ac_objext
20808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20809   (eval $ac_compile) 2>conftest.er1
20810   ac_status=$?
20811   grep -v '^ *+' conftest.er1 >conftest.err
20812   rm -f conftest.er1
20813   cat conftest.err >&5
20814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20815   (exit $ac_status); } &&
20816          { ac_try='test -z "$ac_cxx_werror_flag"
20817                          || test ! -s conftest.err'
20818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20819   (eval $ac_try) 2>&5
20820   ac_status=$?
20821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20822   (exit $ac_status); }; } &&
20823          { ac_try='test -s conftest.$ac_objext'
20824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20825   (eval $ac_try) 2>&5
20826   ac_status=$?
20827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20828   (exit $ac_status); }; }; then
20829   glibcxx_cv_func_expl_use=yes
20830 else
20831   echo "$as_me: failed program was:" >&5
20832 sed 's/^/| /' conftest.$ac_ext >&5
20833
20834 glibcxx_cv_func_expl_use=no
20835 fi
20836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20837       ac_ext=c
20838 ac_cpp='$CPP $CPPFLAGS'
20839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20842
20843
20844 fi
20845
20846   fi
20847   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
20848 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
20849
20850   if test x$glibcxx_cv_func_expl_use = x"yes"; then
20851
20852 for ac_func in expl
20853 do
20854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20855 echo "$as_me:$LINENO: checking for $ac_func" >&5
20856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20857 if eval "test \"\${$as_ac_var+set}\" = set"; then
20858   echo $ECHO_N "(cached) $ECHO_C" >&6
20859 else
20860   if test x$gcc_no_link = xyes; then
20861   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20863    { (exit 1); exit 1; }; }
20864 fi
20865 cat >conftest.$ac_ext <<_ACEOF
20866 /* confdefs.h.  */
20867 _ACEOF
20868 cat confdefs.h >>conftest.$ac_ext
20869 cat >>conftest.$ac_ext <<_ACEOF
20870 /* end confdefs.h.  */
20871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20872    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20873 #define $ac_func innocuous_$ac_func
20874
20875 /* System header to define __stub macros and hopefully few prototypes,
20876     which can conflict with char $ac_func (); below.
20877     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20878     <limits.h> exists even on freestanding compilers.  */
20879
20880 #ifdef __STDC__
20881 # include <limits.h>
20882 #else
20883 # include <assert.h>
20884 #endif
20885
20886 #undef $ac_func
20887
20888 /* Override any gcc2 internal prototype to avoid an error.  */
20889 #ifdef __cplusplus
20890 extern "C"
20891 {
20892 #endif
20893 /* We use char because int might match the return type of a gcc2
20894    builtin and then its argument prototype would still apply.  */
20895 char $ac_func ();
20896 /* The GNU C library defines this for functions which it implements
20897     to always fail with ENOSYS.  Some functions are actually named
20898     something starting with __ and the normal name is an alias.  */
20899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20900 choke me
20901 #else
20902 char (*f) () = $ac_func;
20903 #endif
20904 #ifdef __cplusplus
20905 }
20906 #endif
20907
20908 int
20909 main ()
20910 {
20911 return f != $ac_func;
20912   ;
20913   return 0;
20914 }
20915 _ACEOF
20916 rm -f conftest.$ac_objext conftest$ac_exeext
20917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20918   (eval $ac_link) 2>conftest.er1
20919   ac_status=$?
20920   grep -v '^ *+' conftest.er1 >conftest.err
20921   rm -f conftest.er1
20922   cat conftest.err >&5
20923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20924   (exit $ac_status); } &&
20925          { ac_try='test -z "$ac_c_werror_flag"
20926                          || test ! -s conftest.err'
20927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20928   (eval $ac_try) 2>&5
20929   ac_status=$?
20930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20931   (exit $ac_status); }; } &&
20932          { ac_try='test -s conftest$ac_exeext'
20933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20934   (eval $ac_try) 2>&5
20935   ac_status=$?
20936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20937   (exit $ac_status); }; }; then
20938   eval "$as_ac_var=yes"
20939 else
20940   echo "$as_me: failed program was:" >&5
20941 sed 's/^/| /' conftest.$ac_ext >&5
20942
20943 eval "$as_ac_var=no"
20944 fi
20945 rm -f conftest.err conftest.$ac_objext \
20946       conftest$ac_exeext conftest.$ac_ext
20947 fi
20948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20950 if test `eval echo '${'$as_ac_var'}'` = yes; then
20951   cat >>confdefs.h <<_ACEOF
20952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20953 _ACEOF
20954
20955 fi
20956 done
20957
20958   else
20959
20960   echo "$as_me:$LINENO: checking for _expl declaration" >&5
20961 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
20962   if test x${glibcxx_cv_func__expl_use+set} != xset; then
20963     if test "${glibcxx_cv_func__expl_use+set}" = set; then
20964   echo $ECHO_N "(cached) $ECHO_C" >&6
20965 else
20966
20967
20968
20969       ac_ext=cc
20970 ac_cpp='$CXXCPP $CPPFLAGS'
20971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20974
20975       cat >conftest.$ac_ext <<_ACEOF
20976 /* confdefs.h.  */
20977 _ACEOF
20978 cat confdefs.h >>conftest.$ac_ext
20979 cat >>conftest.$ac_ext <<_ACEOF
20980 /* end confdefs.h.  */
20981 #include <math.h>
20982                       #ifdef HAVE_IEEEFP_H
20983                       #include <ieeefp.h>
20984                       #endif
20985
20986 int
20987 main ()
20988 {
20989  _expl(0);
20990   ;
20991   return 0;
20992 }
20993 _ACEOF
20994 rm -f conftest.$ac_objext
20995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20996   (eval $ac_compile) 2>conftest.er1
20997   ac_status=$?
20998   grep -v '^ *+' conftest.er1 >conftest.err
20999   rm -f conftest.er1
21000   cat conftest.err >&5
21001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21002   (exit $ac_status); } &&
21003          { ac_try='test -z "$ac_cxx_werror_flag"
21004                          || test ! -s conftest.err'
21005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21006   (eval $ac_try) 2>&5
21007   ac_status=$?
21008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21009   (exit $ac_status); }; } &&
21010          { ac_try='test -s conftest.$ac_objext'
21011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21012   (eval $ac_try) 2>&5
21013   ac_status=$?
21014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21015   (exit $ac_status); }; }; then
21016   glibcxx_cv_func__expl_use=yes
21017 else
21018   echo "$as_me: failed program was:" >&5
21019 sed 's/^/| /' conftest.$ac_ext >&5
21020
21021 glibcxx_cv_func__expl_use=no
21022 fi
21023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21024       ac_ext=c
21025 ac_cpp='$CPP $CPPFLAGS'
21026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21029
21030
21031 fi
21032
21033   fi
21034   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
21035 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
21036
21037     if test x$glibcxx_cv_func__expl_use = x"yes"; then
21038
21039 for ac_func in _expl
21040 do
21041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21042 echo "$as_me:$LINENO: checking for $ac_func" >&5
21043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21044 if eval "test \"\${$as_ac_var+set}\" = set"; then
21045   echo $ECHO_N "(cached) $ECHO_C" >&6
21046 else
21047   if test x$gcc_no_link = xyes; then
21048   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21050    { (exit 1); exit 1; }; }
21051 fi
21052 cat >conftest.$ac_ext <<_ACEOF
21053 /* confdefs.h.  */
21054 _ACEOF
21055 cat confdefs.h >>conftest.$ac_ext
21056 cat >>conftest.$ac_ext <<_ACEOF
21057 /* end confdefs.h.  */
21058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21059    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21060 #define $ac_func innocuous_$ac_func
21061
21062 /* System header to define __stub macros and hopefully few prototypes,
21063     which can conflict with char $ac_func (); below.
21064     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21065     <limits.h> exists even on freestanding compilers.  */
21066
21067 #ifdef __STDC__
21068 # include <limits.h>
21069 #else
21070 # include <assert.h>
21071 #endif
21072
21073 #undef $ac_func
21074
21075 /* Override any gcc2 internal prototype to avoid an error.  */
21076 #ifdef __cplusplus
21077 extern "C"
21078 {
21079 #endif
21080 /* We use char because int might match the return type of a gcc2
21081    builtin and then its argument prototype would still apply.  */
21082 char $ac_func ();
21083 /* The GNU C library defines this for functions which it implements
21084     to always fail with ENOSYS.  Some functions are actually named
21085     something starting with __ and the normal name is an alias.  */
21086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21087 choke me
21088 #else
21089 char (*f) () = $ac_func;
21090 #endif
21091 #ifdef __cplusplus
21092 }
21093 #endif
21094
21095 int
21096 main ()
21097 {
21098 return f != $ac_func;
21099   ;
21100   return 0;
21101 }
21102 _ACEOF
21103 rm -f conftest.$ac_objext conftest$ac_exeext
21104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21105   (eval $ac_link) 2>conftest.er1
21106   ac_status=$?
21107   grep -v '^ *+' conftest.er1 >conftest.err
21108   rm -f conftest.er1
21109   cat conftest.err >&5
21110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21111   (exit $ac_status); } &&
21112          { ac_try='test -z "$ac_c_werror_flag"
21113                          || test ! -s conftest.err'
21114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21115   (eval $ac_try) 2>&5
21116   ac_status=$?
21117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21118   (exit $ac_status); }; } &&
21119          { ac_try='test -s conftest$ac_exeext'
21120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21121   (eval $ac_try) 2>&5
21122   ac_status=$?
21123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21124   (exit $ac_status); }; }; then
21125   eval "$as_ac_var=yes"
21126 else
21127   echo "$as_me: failed program was:" >&5
21128 sed 's/^/| /' conftest.$ac_ext >&5
21129
21130 eval "$as_ac_var=no"
21131 fi
21132 rm -f conftest.err conftest.$ac_objext \
21133       conftest$ac_exeext conftest.$ac_ext
21134 fi
21135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21137 if test `eval echo '${'$as_ac_var'}'` = yes; then
21138   cat >>confdefs.h <<_ACEOF
21139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21140 _ACEOF
21141
21142 fi
21143 done
21144
21145     fi
21146   fi
21147
21148
21149
21150
21151
21152
21153   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
21154 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
21155   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
21156     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
21157   echo $ECHO_N "(cached) $ECHO_C" >&6
21158 else
21159
21160
21161
21162       ac_ext=cc
21163 ac_cpp='$CXXCPP $CPPFLAGS'
21164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21167
21168       cat >conftest.$ac_ext <<_ACEOF
21169 /* confdefs.h.  */
21170 _ACEOF
21171 cat confdefs.h >>conftest.$ac_ext
21172 cat >>conftest.$ac_ext <<_ACEOF
21173 /* end confdefs.h.  */
21174 #include <math.h>
21175                       #ifdef HAVE_IEEEFP_H
21176                       #include <ieeefp.h>
21177                       #endif
21178
21179 int
21180 main ()
21181 {
21182  fabsl(0);
21183   ;
21184   return 0;
21185 }
21186 _ACEOF
21187 rm -f conftest.$ac_objext
21188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21189   (eval $ac_compile) 2>conftest.er1
21190   ac_status=$?
21191   grep -v '^ *+' conftest.er1 >conftest.err
21192   rm -f conftest.er1
21193   cat conftest.err >&5
21194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21195   (exit $ac_status); } &&
21196          { ac_try='test -z "$ac_cxx_werror_flag"
21197                          || test ! -s conftest.err'
21198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21199   (eval $ac_try) 2>&5
21200   ac_status=$?
21201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21202   (exit $ac_status); }; } &&
21203          { ac_try='test -s conftest.$ac_objext'
21204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21205   (eval $ac_try) 2>&5
21206   ac_status=$?
21207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21208   (exit $ac_status); }; }; then
21209   glibcxx_cv_func_fabsl_use=yes
21210 else
21211   echo "$as_me: failed program was:" >&5
21212 sed 's/^/| /' conftest.$ac_ext >&5
21213
21214 glibcxx_cv_func_fabsl_use=no
21215 fi
21216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21217       ac_ext=c
21218 ac_cpp='$CPP $CPPFLAGS'
21219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21222
21223
21224 fi
21225
21226   fi
21227   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
21228 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
21229
21230   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
21231
21232 for ac_func in fabsl
21233 do
21234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21235 echo "$as_me:$LINENO: checking for $ac_func" >&5
21236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21237 if eval "test \"\${$as_ac_var+set}\" = set"; then
21238   echo $ECHO_N "(cached) $ECHO_C" >&6
21239 else
21240   if test x$gcc_no_link = xyes; then
21241   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21243    { (exit 1); exit 1; }; }
21244 fi
21245 cat >conftest.$ac_ext <<_ACEOF
21246 /* confdefs.h.  */
21247 _ACEOF
21248 cat confdefs.h >>conftest.$ac_ext
21249 cat >>conftest.$ac_ext <<_ACEOF
21250 /* end confdefs.h.  */
21251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21252    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21253 #define $ac_func innocuous_$ac_func
21254
21255 /* System header to define __stub macros and hopefully few prototypes,
21256     which can conflict with char $ac_func (); below.
21257     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21258     <limits.h> exists even on freestanding compilers.  */
21259
21260 #ifdef __STDC__
21261 # include <limits.h>
21262 #else
21263 # include <assert.h>
21264 #endif
21265
21266 #undef $ac_func
21267
21268 /* Override any gcc2 internal prototype to avoid an error.  */
21269 #ifdef __cplusplus
21270 extern "C"
21271 {
21272 #endif
21273 /* We use char because int might match the return type of a gcc2
21274    builtin and then its argument prototype would still apply.  */
21275 char $ac_func ();
21276 /* The GNU C library defines this for functions which it implements
21277     to always fail with ENOSYS.  Some functions are actually named
21278     something starting with __ and the normal name is an alias.  */
21279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21280 choke me
21281 #else
21282 char (*f) () = $ac_func;
21283 #endif
21284 #ifdef __cplusplus
21285 }
21286 #endif
21287
21288 int
21289 main ()
21290 {
21291 return f != $ac_func;
21292   ;
21293   return 0;
21294 }
21295 _ACEOF
21296 rm -f conftest.$ac_objext conftest$ac_exeext
21297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21298   (eval $ac_link) 2>conftest.er1
21299   ac_status=$?
21300   grep -v '^ *+' conftest.er1 >conftest.err
21301   rm -f conftest.er1
21302   cat conftest.err >&5
21303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21304   (exit $ac_status); } &&
21305          { ac_try='test -z "$ac_c_werror_flag"
21306                          || test ! -s conftest.err'
21307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21308   (eval $ac_try) 2>&5
21309   ac_status=$?
21310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21311   (exit $ac_status); }; } &&
21312          { ac_try='test -s conftest$ac_exeext'
21313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21314   (eval $ac_try) 2>&5
21315   ac_status=$?
21316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21317   (exit $ac_status); }; }; then
21318   eval "$as_ac_var=yes"
21319 else
21320   echo "$as_me: failed program was:" >&5
21321 sed 's/^/| /' conftest.$ac_ext >&5
21322
21323 eval "$as_ac_var=no"
21324 fi
21325 rm -f conftest.err conftest.$ac_objext \
21326       conftest$ac_exeext conftest.$ac_ext
21327 fi
21328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21330 if test `eval echo '${'$as_ac_var'}'` = yes; then
21331   cat >>confdefs.h <<_ACEOF
21332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21333 _ACEOF
21334
21335 fi
21336 done
21337
21338   else
21339
21340   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
21341 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
21342   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
21343     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
21344   echo $ECHO_N "(cached) $ECHO_C" >&6
21345 else
21346
21347
21348
21349       ac_ext=cc
21350 ac_cpp='$CXXCPP $CPPFLAGS'
21351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21354
21355       cat >conftest.$ac_ext <<_ACEOF
21356 /* confdefs.h.  */
21357 _ACEOF
21358 cat confdefs.h >>conftest.$ac_ext
21359 cat >>conftest.$ac_ext <<_ACEOF
21360 /* end confdefs.h.  */
21361 #include <math.h>
21362                       #ifdef HAVE_IEEEFP_H
21363                       #include <ieeefp.h>
21364                       #endif
21365
21366 int
21367 main ()
21368 {
21369  _fabsl(0);
21370   ;
21371   return 0;
21372 }
21373 _ACEOF
21374 rm -f conftest.$ac_objext
21375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21376   (eval $ac_compile) 2>conftest.er1
21377   ac_status=$?
21378   grep -v '^ *+' conftest.er1 >conftest.err
21379   rm -f conftest.er1
21380   cat conftest.err >&5
21381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21382   (exit $ac_status); } &&
21383          { ac_try='test -z "$ac_cxx_werror_flag"
21384                          || test ! -s conftest.err'
21385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21386   (eval $ac_try) 2>&5
21387   ac_status=$?
21388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21389   (exit $ac_status); }; } &&
21390          { ac_try='test -s conftest.$ac_objext'
21391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21392   (eval $ac_try) 2>&5
21393   ac_status=$?
21394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21395   (exit $ac_status); }; }; then
21396   glibcxx_cv_func__fabsl_use=yes
21397 else
21398   echo "$as_me: failed program was:" >&5
21399 sed 's/^/| /' conftest.$ac_ext >&5
21400
21401 glibcxx_cv_func__fabsl_use=no
21402 fi
21403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21404       ac_ext=c
21405 ac_cpp='$CPP $CPPFLAGS'
21406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21409
21410
21411 fi
21412
21413   fi
21414   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
21415 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
21416
21417     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
21418
21419 for ac_func in _fabsl
21420 do
21421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21422 echo "$as_me:$LINENO: checking for $ac_func" >&5
21423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21424 if eval "test \"\${$as_ac_var+set}\" = set"; then
21425   echo $ECHO_N "(cached) $ECHO_C" >&6
21426 else
21427   if test x$gcc_no_link = xyes; then
21428   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21430    { (exit 1); exit 1; }; }
21431 fi
21432 cat >conftest.$ac_ext <<_ACEOF
21433 /* confdefs.h.  */
21434 _ACEOF
21435 cat confdefs.h >>conftest.$ac_ext
21436 cat >>conftest.$ac_ext <<_ACEOF
21437 /* end confdefs.h.  */
21438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21439    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21440 #define $ac_func innocuous_$ac_func
21441
21442 /* System header to define __stub macros and hopefully few prototypes,
21443     which can conflict with char $ac_func (); below.
21444     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21445     <limits.h> exists even on freestanding compilers.  */
21446
21447 #ifdef __STDC__
21448 # include <limits.h>
21449 #else
21450 # include <assert.h>
21451 #endif
21452
21453 #undef $ac_func
21454
21455 /* Override any gcc2 internal prototype to avoid an error.  */
21456 #ifdef __cplusplus
21457 extern "C"
21458 {
21459 #endif
21460 /* We use char because int might match the return type of a gcc2
21461    builtin and then its argument prototype would still apply.  */
21462 char $ac_func ();
21463 /* The GNU C library defines this for functions which it implements
21464     to always fail with ENOSYS.  Some functions are actually named
21465     something starting with __ and the normal name is an alias.  */
21466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21467 choke me
21468 #else
21469 char (*f) () = $ac_func;
21470 #endif
21471 #ifdef __cplusplus
21472 }
21473 #endif
21474
21475 int
21476 main ()
21477 {
21478 return f != $ac_func;
21479   ;
21480   return 0;
21481 }
21482 _ACEOF
21483 rm -f conftest.$ac_objext conftest$ac_exeext
21484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21485   (eval $ac_link) 2>conftest.er1
21486   ac_status=$?
21487   grep -v '^ *+' conftest.er1 >conftest.err
21488   rm -f conftest.er1
21489   cat conftest.err >&5
21490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21491   (exit $ac_status); } &&
21492          { ac_try='test -z "$ac_c_werror_flag"
21493                          || test ! -s conftest.err'
21494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21495   (eval $ac_try) 2>&5
21496   ac_status=$?
21497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21498   (exit $ac_status); }; } &&
21499          { ac_try='test -s conftest$ac_exeext'
21500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21501   (eval $ac_try) 2>&5
21502   ac_status=$?
21503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21504   (exit $ac_status); }; }; then
21505   eval "$as_ac_var=yes"
21506 else
21507   echo "$as_me: failed program was:" >&5
21508 sed 's/^/| /' conftest.$ac_ext >&5
21509
21510 eval "$as_ac_var=no"
21511 fi
21512 rm -f conftest.err conftest.$ac_objext \
21513       conftest$ac_exeext conftest.$ac_ext
21514 fi
21515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21517 if test `eval echo '${'$as_ac_var'}'` = yes; then
21518   cat >>confdefs.h <<_ACEOF
21519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21520 _ACEOF
21521
21522 fi
21523 done
21524
21525     fi
21526   fi
21527
21528
21529
21530
21531
21532
21533   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
21534 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
21535   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
21536     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
21537   echo $ECHO_N "(cached) $ECHO_C" >&6
21538 else
21539
21540
21541
21542       ac_ext=cc
21543 ac_cpp='$CXXCPP $CPPFLAGS'
21544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21547
21548       cat >conftest.$ac_ext <<_ACEOF
21549 /* confdefs.h.  */
21550 _ACEOF
21551 cat confdefs.h >>conftest.$ac_ext
21552 cat >>conftest.$ac_ext <<_ACEOF
21553 /* end confdefs.h.  */
21554 #include <math.h>
21555 int
21556 main ()
21557 {
21558  fmodl(0, 0);
21559   ;
21560   return 0;
21561 }
21562 _ACEOF
21563 rm -f conftest.$ac_objext
21564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21565   (eval $ac_compile) 2>conftest.er1
21566   ac_status=$?
21567   grep -v '^ *+' conftest.er1 >conftest.err
21568   rm -f conftest.er1
21569   cat conftest.err >&5
21570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21571   (exit $ac_status); } &&
21572          { ac_try='test -z "$ac_cxx_werror_flag"
21573                          || test ! -s conftest.err'
21574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21575   (eval $ac_try) 2>&5
21576   ac_status=$?
21577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21578   (exit $ac_status); }; } &&
21579          { ac_try='test -s conftest.$ac_objext'
21580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21581   (eval $ac_try) 2>&5
21582   ac_status=$?
21583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21584   (exit $ac_status); }; }; then
21585   glibcxx_cv_func_fmodl_use=yes
21586 else
21587   echo "$as_me: failed program was:" >&5
21588 sed 's/^/| /' conftest.$ac_ext >&5
21589
21590 glibcxx_cv_func_fmodl_use=no
21591 fi
21592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21593       ac_ext=c
21594 ac_cpp='$CPP $CPPFLAGS'
21595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21598
21599
21600 fi
21601
21602   fi
21603   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
21604 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
21605
21606   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
21607
21608 for ac_func in fmodl
21609 do
21610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21611 echo "$as_me:$LINENO: checking for $ac_func" >&5
21612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21613 if eval "test \"\${$as_ac_var+set}\" = set"; then
21614   echo $ECHO_N "(cached) $ECHO_C" >&6
21615 else
21616   if test x$gcc_no_link = xyes; then
21617   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21619    { (exit 1); exit 1; }; }
21620 fi
21621 cat >conftest.$ac_ext <<_ACEOF
21622 /* confdefs.h.  */
21623 _ACEOF
21624 cat confdefs.h >>conftest.$ac_ext
21625 cat >>conftest.$ac_ext <<_ACEOF
21626 /* end confdefs.h.  */
21627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21628    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21629 #define $ac_func innocuous_$ac_func
21630
21631 /* System header to define __stub macros and hopefully few prototypes,
21632     which can conflict with char $ac_func (); below.
21633     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21634     <limits.h> exists even on freestanding compilers.  */
21635
21636 #ifdef __STDC__
21637 # include <limits.h>
21638 #else
21639 # include <assert.h>
21640 #endif
21641
21642 #undef $ac_func
21643
21644 /* Override any gcc2 internal prototype to avoid an error.  */
21645 #ifdef __cplusplus
21646 extern "C"
21647 {
21648 #endif
21649 /* We use char because int might match the return type of a gcc2
21650    builtin and then its argument prototype would still apply.  */
21651 char $ac_func ();
21652 /* The GNU C library defines this for functions which it implements
21653     to always fail with ENOSYS.  Some functions are actually named
21654     something starting with __ and the normal name is an alias.  */
21655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21656 choke me
21657 #else
21658 char (*f) () = $ac_func;
21659 #endif
21660 #ifdef __cplusplus
21661 }
21662 #endif
21663
21664 int
21665 main ()
21666 {
21667 return f != $ac_func;
21668   ;
21669   return 0;
21670 }
21671 _ACEOF
21672 rm -f conftest.$ac_objext conftest$ac_exeext
21673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21674   (eval $ac_link) 2>conftest.er1
21675   ac_status=$?
21676   grep -v '^ *+' conftest.er1 >conftest.err
21677   rm -f conftest.er1
21678   cat conftest.err >&5
21679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21680   (exit $ac_status); } &&
21681          { ac_try='test -z "$ac_c_werror_flag"
21682                          || test ! -s conftest.err'
21683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21684   (eval $ac_try) 2>&5
21685   ac_status=$?
21686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21687   (exit $ac_status); }; } &&
21688          { ac_try='test -s conftest$ac_exeext'
21689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21690   (eval $ac_try) 2>&5
21691   ac_status=$?
21692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21693   (exit $ac_status); }; }; then
21694   eval "$as_ac_var=yes"
21695 else
21696   echo "$as_me: failed program was:" >&5
21697 sed 's/^/| /' conftest.$ac_ext >&5
21698
21699 eval "$as_ac_var=no"
21700 fi
21701 rm -f conftest.err conftest.$ac_objext \
21702       conftest$ac_exeext conftest.$ac_ext
21703 fi
21704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21706 if test `eval echo '${'$as_ac_var'}'` = yes; then
21707   cat >>confdefs.h <<_ACEOF
21708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21709 _ACEOF
21710
21711 fi
21712 done
21713
21714   else
21715
21716   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
21717 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
21718   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
21719     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
21720   echo $ECHO_N "(cached) $ECHO_C" >&6
21721 else
21722
21723
21724
21725       ac_ext=cc
21726 ac_cpp='$CXXCPP $CPPFLAGS'
21727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21730
21731       cat >conftest.$ac_ext <<_ACEOF
21732 /* confdefs.h.  */
21733 _ACEOF
21734 cat confdefs.h >>conftest.$ac_ext
21735 cat >>conftest.$ac_ext <<_ACEOF
21736 /* end confdefs.h.  */
21737 #include <math.h>
21738 int
21739 main ()
21740 {
21741  _fmodl(0, 0);
21742   ;
21743   return 0;
21744 }
21745 _ACEOF
21746 rm -f conftest.$ac_objext
21747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21748   (eval $ac_compile) 2>conftest.er1
21749   ac_status=$?
21750   grep -v '^ *+' conftest.er1 >conftest.err
21751   rm -f conftest.er1
21752   cat conftest.err >&5
21753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21754   (exit $ac_status); } &&
21755          { ac_try='test -z "$ac_cxx_werror_flag"
21756                          || test ! -s conftest.err'
21757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21758   (eval $ac_try) 2>&5
21759   ac_status=$?
21760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21761   (exit $ac_status); }; } &&
21762          { ac_try='test -s conftest.$ac_objext'
21763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21764   (eval $ac_try) 2>&5
21765   ac_status=$?
21766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21767   (exit $ac_status); }; }; then
21768   glibcxx_cv_func__fmodl_use=yes
21769 else
21770   echo "$as_me: failed program was:" >&5
21771 sed 's/^/| /' conftest.$ac_ext >&5
21772
21773 glibcxx_cv_func__fmodl_use=no
21774 fi
21775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21776       ac_ext=c
21777 ac_cpp='$CPP $CPPFLAGS'
21778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21781
21782
21783 fi
21784
21785   fi
21786   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
21787 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
21788
21789     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
21790
21791 for ac_func in _fmodl
21792 do
21793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21794 echo "$as_me:$LINENO: checking for $ac_func" >&5
21795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21796 if eval "test \"\${$as_ac_var+set}\" = set"; then
21797   echo $ECHO_N "(cached) $ECHO_C" >&6
21798 else
21799   if test x$gcc_no_link = xyes; then
21800   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21802    { (exit 1); exit 1; }; }
21803 fi
21804 cat >conftest.$ac_ext <<_ACEOF
21805 /* confdefs.h.  */
21806 _ACEOF
21807 cat confdefs.h >>conftest.$ac_ext
21808 cat >>conftest.$ac_ext <<_ACEOF
21809 /* end confdefs.h.  */
21810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21811    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21812 #define $ac_func innocuous_$ac_func
21813
21814 /* System header to define __stub macros and hopefully few prototypes,
21815     which can conflict with char $ac_func (); below.
21816     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21817     <limits.h> exists even on freestanding compilers.  */
21818
21819 #ifdef __STDC__
21820 # include <limits.h>
21821 #else
21822 # include <assert.h>
21823 #endif
21824
21825 #undef $ac_func
21826
21827 /* Override any gcc2 internal prototype to avoid an error.  */
21828 #ifdef __cplusplus
21829 extern "C"
21830 {
21831 #endif
21832 /* We use char because int might match the return type of a gcc2
21833    builtin and then its argument prototype would still apply.  */
21834 char $ac_func ();
21835 /* The GNU C library defines this for functions which it implements
21836     to always fail with ENOSYS.  Some functions are actually named
21837     something starting with __ and the normal name is an alias.  */
21838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21839 choke me
21840 #else
21841 char (*f) () = $ac_func;
21842 #endif
21843 #ifdef __cplusplus
21844 }
21845 #endif
21846
21847 int
21848 main ()
21849 {
21850 return f != $ac_func;
21851   ;
21852   return 0;
21853 }
21854 _ACEOF
21855 rm -f conftest.$ac_objext conftest$ac_exeext
21856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21857   (eval $ac_link) 2>conftest.er1
21858   ac_status=$?
21859   grep -v '^ *+' conftest.er1 >conftest.err
21860   rm -f conftest.er1
21861   cat conftest.err >&5
21862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21863   (exit $ac_status); } &&
21864          { ac_try='test -z "$ac_c_werror_flag"
21865                          || test ! -s conftest.err'
21866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21867   (eval $ac_try) 2>&5
21868   ac_status=$?
21869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21870   (exit $ac_status); }; } &&
21871          { ac_try='test -s conftest$ac_exeext'
21872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21873   (eval $ac_try) 2>&5
21874   ac_status=$?
21875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21876   (exit $ac_status); }; }; then
21877   eval "$as_ac_var=yes"
21878 else
21879   echo "$as_me: failed program was:" >&5
21880 sed 's/^/| /' conftest.$ac_ext >&5
21881
21882 eval "$as_ac_var=no"
21883 fi
21884 rm -f conftest.err conftest.$ac_objext \
21885       conftest$ac_exeext conftest.$ac_ext
21886 fi
21887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21889 if test `eval echo '${'$as_ac_var'}'` = yes; then
21890   cat >>confdefs.h <<_ACEOF
21891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21892 _ACEOF
21893
21894 fi
21895 done
21896
21897     fi
21898   fi
21899
21900
21901
21902
21903
21904
21905   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
21906 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
21907   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
21908     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
21909   echo $ECHO_N "(cached) $ECHO_C" >&6
21910 else
21911
21912
21913
21914       ac_ext=cc
21915 ac_cpp='$CXXCPP $CPPFLAGS'
21916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21919
21920       cat >conftest.$ac_ext <<_ACEOF
21921 /* confdefs.h.  */
21922 _ACEOF
21923 cat confdefs.h >>conftest.$ac_ext
21924 cat >>conftest.$ac_ext <<_ACEOF
21925 /* end confdefs.h.  */
21926 #include <math.h>
21927 int
21928 main ()
21929 {
21930  frexpl(0, 0);
21931   ;
21932   return 0;
21933 }
21934 _ACEOF
21935 rm -f conftest.$ac_objext
21936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21937   (eval $ac_compile) 2>conftest.er1
21938   ac_status=$?
21939   grep -v '^ *+' conftest.er1 >conftest.err
21940   rm -f conftest.er1
21941   cat conftest.err >&5
21942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21943   (exit $ac_status); } &&
21944          { ac_try='test -z "$ac_cxx_werror_flag"
21945                          || test ! -s conftest.err'
21946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21947   (eval $ac_try) 2>&5
21948   ac_status=$?
21949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21950   (exit $ac_status); }; } &&
21951          { ac_try='test -s conftest.$ac_objext'
21952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21953   (eval $ac_try) 2>&5
21954   ac_status=$?
21955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21956   (exit $ac_status); }; }; then
21957   glibcxx_cv_func_frexpl_use=yes
21958 else
21959   echo "$as_me: failed program was:" >&5
21960 sed 's/^/| /' conftest.$ac_ext >&5
21961
21962 glibcxx_cv_func_frexpl_use=no
21963 fi
21964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21965       ac_ext=c
21966 ac_cpp='$CPP $CPPFLAGS'
21967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21970
21971
21972 fi
21973
21974   fi
21975   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
21976 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
21977
21978   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
21979
21980 for ac_func in frexpl
21981 do
21982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21983 echo "$as_me:$LINENO: checking for $ac_func" >&5
21984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21985 if eval "test \"\${$as_ac_var+set}\" = set"; then
21986   echo $ECHO_N "(cached) $ECHO_C" >&6
21987 else
21988   if test x$gcc_no_link = xyes; then
21989   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21991    { (exit 1); exit 1; }; }
21992 fi
21993 cat >conftest.$ac_ext <<_ACEOF
21994 /* confdefs.h.  */
21995 _ACEOF
21996 cat confdefs.h >>conftest.$ac_ext
21997 cat >>conftest.$ac_ext <<_ACEOF
21998 /* end confdefs.h.  */
21999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22000    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22001 #define $ac_func innocuous_$ac_func
22002
22003 /* System header to define __stub macros and hopefully few prototypes,
22004     which can conflict with char $ac_func (); below.
22005     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22006     <limits.h> exists even on freestanding compilers.  */
22007
22008 #ifdef __STDC__
22009 # include <limits.h>
22010 #else
22011 # include <assert.h>
22012 #endif
22013
22014 #undef $ac_func
22015
22016 /* Override any gcc2 internal prototype to avoid an error.  */
22017 #ifdef __cplusplus
22018 extern "C"
22019 {
22020 #endif
22021 /* We use char because int might match the return type of a gcc2
22022    builtin and then its argument prototype would still apply.  */
22023 char $ac_func ();
22024 /* The GNU C library defines this for functions which it implements
22025     to always fail with ENOSYS.  Some functions are actually named
22026     something starting with __ and the normal name is an alias.  */
22027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22028 choke me
22029 #else
22030 char (*f) () = $ac_func;
22031 #endif
22032 #ifdef __cplusplus
22033 }
22034 #endif
22035
22036 int
22037 main ()
22038 {
22039 return f != $ac_func;
22040   ;
22041   return 0;
22042 }
22043 _ACEOF
22044 rm -f conftest.$ac_objext conftest$ac_exeext
22045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22046   (eval $ac_link) 2>conftest.er1
22047   ac_status=$?
22048   grep -v '^ *+' conftest.er1 >conftest.err
22049   rm -f conftest.er1
22050   cat conftest.err >&5
22051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22052   (exit $ac_status); } &&
22053          { ac_try='test -z "$ac_c_werror_flag"
22054                          || test ! -s conftest.err'
22055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22056   (eval $ac_try) 2>&5
22057   ac_status=$?
22058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22059   (exit $ac_status); }; } &&
22060          { ac_try='test -s conftest$ac_exeext'
22061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22062   (eval $ac_try) 2>&5
22063   ac_status=$?
22064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22065   (exit $ac_status); }; }; then
22066   eval "$as_ac_var=yes"
22067 else
22068   echo "$as_me: failed program was:" >&5
22069 sed 's/^/| /' conftest.$ac_ext >&5
22070
22071 eval "$as_ac_var=no"
22072 fi
22073 rm -f conftest.err conftest.$ac_objext \
22074       conftest$ac_exeext conftest.$ac_ext
22075 fi
22076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22078 if test `eval echo '${'$as_ac_var'}'` = yes; then
22079   cat >>confdefs.h <<_ACEOF
22080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22081 _ACEOF
22082
22083 fi
22084 done
22085
22086   else
22087
22088   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
22089 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
22090   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
22091     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
22092   echo $ECHO_N "(cached) $ECHO_C" >&6
22093 else
22094
22095
22096
22097       ac_ext=cc
22098 ac_cpp='$CXXCPP $CPPFLAGS'
22099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22102
22103       cat >conftest.$ac_ext <<_ACEOF
22104 /* confdefs.h.  */
22105 _ACEOF
22106 cat confdefs.h >>conftest.$ac_ext
22107 cat >>conftest.$ac_ext <<_ACEOF
22108 /* end confdefs.h.  */
22109 #include <math.h>
22110 int
22111 main ()
22112 {
22113  _frexpl(0, 0);
22114   ;
22115   return 0;
22116 }
22117 _ACEOF
22118 rm -f conftest.$ac_objext
22119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22120   (eval $ac_compile) 2>conftest.er1
22121   ac_status=$?
22122   grep -v '^ *+' conftest.er1 >conftest.err
22123   rm -f conftest.er1
22124   cat conftest.err >&5
22125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22126   (exit $ac_status); } &&
22127          { ac_try='test -z "$ac_cxx_werror_flag"
22128                          || test ! -s conftest.err'
22129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22130   (eval $ac_try) 2>&5
22131   ac_status=$?
22132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22133   (exit $ac_status); }; } &&
22134          { ac_try='test -s conftest.$ac_objext'
22135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22136   (eval $ac_try) 2>&5
22137   ac_status=$?
22138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22139   (exit $ac_status); }; }; then
22140   glibcxx_cv_func__frexpl_use=yes
22141 else
22142   echo "$as_me: failed program was:" >&5
22143 sed 's/^/| /' conftest.$ac_ext >&5
22144
22145 glibcxx_cv_func__frexpl_use=no
22146 fi
22147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22148       ac_ext=c
22149 ac_cpp='$CPP $CPPFLAGS'
22150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22153
22154
22155 fi
22156
22157   fi
22158   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
22159 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
22160
22161     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
22162
22163 for ac_func in _frexpl
22164 do
22165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22166 echo "$as_me:$LINENO: checking for $ac_func" >&5
22167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22168 if eval "test \"\${$as_ac_var+set}\" = set"; then
22169   echo $ECHO_N "(cached) $ECHO_C" >&6
22170 else
22171   if test x$gcc_no_link = xyes; then
22172   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22174    { (exit 1); exit 1; }; }
22175 fi
22176 cat >conftest.$ac_ext <<_ACEOF
22177 /* confdefs.h.  */
22178 _ACEOF
22179 cat confdefs.h >>conftest.$ac_ext
22180 cat >>conftest.$ac_ext <<_ACEOF
22181 /* end confdefs.h.  */
22182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22183    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22184 #define $ac_func innocuous_$ac_func
22185
22186 /* System header to define __stub macros and hopefully few prototypes,
22187     which can conflict with char $ac_func (); below.
22188     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22189     <limits.h> exists even on freestanding compilers.  */
22190
22191 #ifdef __STDC__
22192 # include <limits.h>
22193 #else
22194 # include <assert.h>
22195 #endif
22196
22197 #undef $ac_func
22198
22199 /* Override any gcc2 internal prototype to avoid an error.  */
22200 #ifdef __cplusplus
22201 extern "C"
22202 {
22203 #endif
22204 /* We use char because int might match the return type of a gcc2
22205    builtin and then its argument prototype would still apply.  */
22206 char $ac_func ();
22207 /* The GNU C library defines this for functions which it implements
22208     to always fail with ENOSYS.  Some functions are actually named
22209     something starting with __ and the normal name is an alias.  */
22210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22211 choke me
22212 #else
22213 char (*f) () = $ac_func;
22214 #endif
22215 #ifdef __cplusplus
22216 }
22217 #endif
22218
22219 int
22220 main ()
22221 {
22222 return f != $ac_func;
22223   ;
22224   return 0;
22225 }
22226 _ACEOF
22227 rm -f conftest.$ac_objext conftest$ac_exeext
22228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22229   (eval $ac_link) 2>conftest.er1
22230   ac_status=$?
22231   grep -v '^ *+' conftest.er1 >conftest.err
22232   rm -f conftest.er1
22233   cat conftest.err >&5
22234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22235   (exit $ac_status); } &&
22236          { ac_try='test -z "$ac_c_werror_flag"
22237                          || test ! -s conftest.err'
22238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22239   (eval $ac_try) 2>&5
22240   ac_status=$?
22241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22242   (exit $ac_status); }; } &&
22243          { ac_try='test -s conftest$ac_exeext'
22244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22245   (eval $ac_try) 2>&5
22246   ac_status=$?
22247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22248   (exit $ac_status); }; }; then
22249   eval "$as_ac_var=yes"
22250 else
22251   echo "$as_me: failed program was:" >&5
22252 sed 's/^/| /' conftest.$ac_ext >&5
22253
22254 eval "$as_ac_var=no"
22255 fi
22256 rm -f conftest.err conftest.$ac_objext \
22257       conftest$ac_exeext conftest.$ac_ext
22258 fi
22259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22261 if test `eval echo '${'$as_ac_var'}'` = yes; then
22262   cat >>confdefs.h <<_ACEOF
22263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22264 _ACEOF
22265
22266 fi
22267 done
22268
22269     fi
22270   fi
22271
22272
22273
22274
22275
22276
22277   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
22278 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
22279   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
22280     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
22281   echo $ECHO_N "(cached) $ECHO_C" >&6
22282 else
22283
22284
22285
22286       ac_ext=cc
22287 ac_cpp='$CXXCPP $CPPFLAGS'
22288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22291
22292       cat >conftest.$ac_ext <<_ACEOF
22293 /* confdefs.h.  */
22294 _ACEOF
22295 cat confdefs.h >>conftest.$ac_ext
22296 cat >>conftest.$ac_ext <<_ACEOF
22297 /* end confdefs.h.  */
22298 #include <math.h>
22299 int
22300 main ()
22301 {
22302  hypotl(0, 0);
22303   ;
22304   return 0;
22305 }
22306 _ACEOF
22307 rm -f conftest.$ac_objext
22308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22309   (eval $ac_compile) 2>conftest.er1
22310   ac_status=$?
22311   grep -v '^ *+' conftest.er1 >conftest.err
22312   rm -f conftest.er1
22313   cat conftest.err >&5
22314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22315   (exit $ac_status); } &&
22316          { ac_try='test -z "$ac_cxx_werror_flag"
22317                          || test ! -s conftest.err'
22318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22319   (eval $ac_try) 2>&5
22320   ac_status=$?
22321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22322   (exit $ac_status); }; } &&
22323          { ac_try='test -s conftest.$ac_objext'
22324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22325   (eval $ac_try) 2>&5
22326   ac_status=$?
22327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22328   (exit $ac_status); }; }; then
22329   glibcxx_cv_func_hypotl_use=yes
22330 else
22331   echo "$as_me: failed program was:" >&5
22332 sed 's/^/| /' conftest.$ac_ext >&5
22333
22334 glibcxx_cv_func_hypotl_use=no
22335 fi
22336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22337       ac_ext=c
22338 ac_cpp='$CPP $CPPFLAGS'
22339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22342
22343
22344 fi
22345
22346   fi
22347   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
22348 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
22349
22350   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
22351
22352 for ac_func in hypotl
22353 do
22354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22355 echo "$as_me:$LINENO: checking for $ac_func" >&5
22356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22357 if eval "test \"\${$as_ac_var+set}\" = set"; then
22358   echo $ECHO_N "(cached) $ECHO_C" >&6
22359 else
22360   if test x$gcc_no_link = xyes; then
22361   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22363    { (exit 1); exit 1; }; }
22364 fi
22365 cat >conftest.$ac_ext <<_ACEOF
22366 /* confdefs.h.  */
22367 _ACEOF
22368 cat confdefs.h >>conftest.$ac_ext
22369 cat >>conftest.$ac_ext <<_ACEOF
22370 /* end confdefs.h.  */
22371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22372    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22373 #define $ac_func innocuous_$ac_func
22374
22375 /* System header to define __stub macros and hopefully few prototypes,
22376     which can conflict with char $ac_func (); below.
22377     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22378     <limits.h> exists even on freestanding compilers.  */
22379
22380 #ifdef __STDC__
22381 # include <limits.h>
22382 #else
22383 # include <assert.h>
22384 #endif
22385
22386 #undef $ac_func
22387
22388 /* Override any gcc2 internal prototype to avoid an error.  */
22389 #ifdef __cplusplus
22390 extern "C"
22391 {
22392 #endif
22393 /* We use char because int might match the return type of a gcc2
22394    builtin and then its argument prototype would still apply.  */
22395 char $ac_func ();
22396 /* The GNU C library defines this for functions which it implements
22397     to always fail with ENOSYS.  Some functions are actually named
22398     something starting with __ and the normal name is an alias.  */
22399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22400 choke me
22401 #else
22402 char (*f) () = $ac_func;
22403 #endif
22404 #ifdef __cplusplus
22405 }
22406 #endif
22407
22408 int
22409 main ()
22410 {
22411 return f != $ac_func;
22412   ;
22413   return 0;
22414 }
22415 _ACEOF
22416 rm -f conftest.$ac_objext conftest$ac_exeext
22417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22418   (eval $ac_link) 2>conftest.er1
22419   ac_status=$?
22420   grep -v '^ *+' conftest.er1 >conftest.err
22421   rm -f conftest.er1
22422   cat conftest.err >&5
22423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22424   (exit $ac_status); } &&
22425          { ac_try='test -z "$ac_c_werror_flag"
22426                          || test ! -s conftest.err'
22427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22428   (eval $ac_try) 2>&5
22429   ac_status=$?
22430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22431   (exit $ac_status); }; } &&
22432          { ac_try='test -s conftest$ac_exeext'
22433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22434   (eval $ac_try) 2>&5
22435   ac_status=$?
22436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22437   (exit $ac_status); }; }; then
22438   eval "$as_ac_var=yes"
22439 else
22440   echo "$as_me: failed program was:" >&5
22441 sed 's/^/| /' conftest.$ac_ext >&5
22442
22443 eval "$as_ac_var=no"
22444 fi
22445 rm -f conftest.err conftest.$ac_objext \
22446       conftest$ac_exeext conftest.$ac_ext
22447 fi
22448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22450 if test `eval echo '${'$as_ac_var'}'` = yes; then
22451   cat >>confdefs.h <<_ACEOF
22452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22453 _ACEOF
22454
22455 fi
22456 done
22457
22458   else
22459
22460   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
22461 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
22462   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
22463     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
22464   echo $ECHO_N "(cached) $ECHO_C" >&6
22465 else
22466
22467
22468
22469       ac_ext=cc
22470 ac_cpp='$CXXCPP $CPPFLAGS'
22471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22474
22475       cat >conftest.$ac_ext <<_ACEOF
22476 /* confdefs.h.  */
22477 _ACEOF
22478 cat confdefs.h >>conftest.$ac_ext
22479 cat >>conftest.$ac_ext <<_ACEOF
22480 /* end confdefs.h.  */
22481 #include <math.h>
22482 int
22483 main ()
22484 {
22485  _hypotl(0, 0);
22486   ;
22487   return 0;
22488 }
22489 _ACEOF
22490 rm -f conftest.$ac_objext
22491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22492   (eval $ac_compile) 2>conftest.er1
22493   ac_status=$?
22494   grep -v '^ *+' conftest.er1 >conftest.err
22495   rm -f conftest.er1
22496   cat conftest.err >&5
22497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22498   (exit $ac_status); } &&
22499          { ac_try='test -z "$ac_cxx_werror_flag"
22500                          || test ! -s conftest.err'
22501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22502   (eval $ac_try) 2>&5
22503   ac_status=$?
22504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22505   (exit $ac_status); }; } &&
22506          { ac_try='test -s conftest.$ac_objext'
22507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22508   (eval $ac_try) 2>&5
22509   ac_status=$?
22510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22511   (exit $ac_status); }; }; then
22512   glibcxx_cv_func__hypotl_use=yes
22513 else
22514   echo "$as_me: failed program was:" >&5
22515 sed 's/^/| /' conftest.$ac_ext >&5
22516
22517 glibcxx_cv_func__hypotl_use=no
22518 fi
22519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22520       ac_ext=c
22521 ac_cpp='$CPP $CPPFLAGS'
22522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22525
22526
22527 fi
22528
22529   fi
22530   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
22531 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
22532
22533     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
22534
22535 for ac_func in _hypotl
22536 do
22537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22538 echo "$as_me:$LINENO: checking for $ac_func" >&5
22539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22540 if eval "test \"\${$as_ac_var+set}\" = set"; then
22541   echo $ECHO_N "(cached) $ECHO_C" >&6
22542 else
22543   if test x$gcc_no_link = xyes; then
22544   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22546    { (exit 1); exit 1; }; }
22547 fi
22548 cat >conftest.$ac_ext <<_ACEOF
22549 /* confdefs.h.  */
22550 _ACEOF
22551 cat confdefs.h >>conftest.$ac_ext
22552 cat >>conftest.$ac_ext <<_ACEOF
22553 /* end confdefs.h.  */
22554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22555    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22556 #define $ac_func innocuous_$ac_func
22557
22558 /* System header to define __stub macros and hopefully few prototypes,
22559     which can conflict with char $ac_func (); below.
22560     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22561     <limits.h> exists even on freestanding compilers.  */
22562
22563 #ifdef __STDC__
22564 # include <limits.h>
22565 #else
22566 # include <assert.h>
22567 #endif
22568
22569 #undef $ac_func
22570
22571 /* Override any gcc2 internal prototype to avoid an error.  */
22572 #ifdef __cplusplus
22573 extern "C"
22574 {
22575 #endif
22576 /* We use char because int might match the return type of a gcc2
22577    builtin and then its argument prototype would still apply.  */
22578 char $ac_func ();
22579 /* The GNU C library defines this for functions which it implements
22580     to always fail with ENOSYS.  Some functions are actually named
22581     something starting with __ and the normal name is an alias.  */
22582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22583 choke me
22584 #else
22585 char (*f) () = $ac_func;
22586 #endif
22587 #ifdef __cplusplus
22588 }
22589 #endif
22590
22591 int
22592 main ()
22593 {
22594 return f != $ac_func;
22595   ;
22596   return 0;
22597 }
22598 _ACEOF
22599 rm -f conftest.$ac_objext conftest$ac_exeext
22600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22601   (eval $ac_link) 2>conftest.er1
22602   ac_status=$?
22603   grep -v '^ *+' conftest.er1 >conftest.err
22604   rm -f conftest.er1
22605   cat conftest.err >&5
22606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22607   (exit $ac_status); } &&
22608          { ac_try='test -z "$ac_c_werror_flag"
22609                          || test ! -s conftest.err'
22610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22611   (eval $ac_try) 2>&5
22612   ac_status=$?
22613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22614   (exit $ac_status); }; } &&
22615          { ac_try='test -s conftest$ac_exeext'
22616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22617   (eval $ac_try) 2>&5
22618   ac_status=$?
22619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22620   (exit $ac_status); }; }; then
22621   eval "$as_ac_var=yes"
22622 else
22623   echo "$as_me: failed program was:" >&5
22624 sed 's/^/| /' conftest.$ac_ext >&5
22625
22626 eval "$as_ac_var=no"
22627 fi
22628 rm -f conftest.err conftest.$ac_objext \
22629       conftest$ac_exeext conftest.$ac_ext
22630 fi
22631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22633 if test `eval echo '${'$as_ac_var'}'` = yes; then
22634   cat >>confdefs.h <<_ACEOF
22635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22636 _ACEOF
22637
22638 fi
22639 done
22640
22641     fi
22642   fi
22643
22644
22645
22646
22647
22648
22649   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
22650 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
22651   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
22652     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
22653   echo $ECHO_N "(cached) $ECHO_C" >&6
22654 else
22655
22656
22657
22658       ac_ext=cc
22659 ac_cpp='$CXXCPP $CPPFLAGS'
22660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22663
22664       cat >conftest.$ac_ext <<_ACEOF
22665 /* confdefs.h.  */
22666 _ACEOF
22667 cat confdefs.h >>conftest.$ac_ext
22668 cat >>conftest.$ac_ext <<_ACEOF
22669 /* end confdefs.h.  */
22670 #include <math.h>
22671 int
22672 main ()
22673 {
22674  ldexpl(0, 0);
22675   ;
22676   return 0;
22677 }
22678 _ACEOF
22679 rm -f conftest.$ac_objext
22680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22681   (eval $ac_compile) 2>conftest.er1
22682   ac_status=$?
22683   grep -v '^ *+' conftest.er1 >conftest.err
22684   rm -f conftest.er1
22685   cat conftest.err >&5
22686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22687   (exit $ac_status); } &&
22688          { ac_try='test -z "$ac_cxx_werror_flag"
22689                          || test ! -s conftest.err'
22690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22691   (eval $ac_try) 2>&5
22692   ac_status=$?
22693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22694   (exit $ac_status); }; } &&
22695          { ac_try='test -s conftest.$ac_objext'
22696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22697   (eval $ac_try) 2>&5
22698   ac_status=$?
22699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22700   (exit $ac_status); }; }; then
22701   glibcxx_cv_func_ldexpl_use=yes
22702 else
22703   echo "$as_me: failed program was:" >&5
22704 sed 's/^/| /' conftest.$ac_ext >&5
22705
22706 glibcxx_cv_func_ldexpl_use=no
22707 fi
22708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22709       ac_ext=c
22710 ac_cpp='$CPP $CPPFLAGS'
22711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22714
22715
22716 fi
22717
22718   fi
22719   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
22720 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
22721
22722   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
22723
22724 for ac_func in ldexpl
22725 do
22726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22727 echo "$as_me:$LINENO: checking for $ac_func" >&5
22728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22729 if eval "test \"\${$as_ac_var+set}\" = set"; then
22730   echo $ECHO_N "(cached) $ECHO_C" >&6
22731 else
22732   if test x$gcc_no_link = xyes; then
22733   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22735    { (exit 1); exit 1; }; }
22736 fi
22737 cat >conftest.$ac_ext <<_ACEOF
22738 /* confdefs.h.  */
22739 _ACEOF
22740 cat confdefs.h >>conftest.$ac_ext
22741 cat >>conftest.$ac_ext <<_ACEOF
22742 /* end confdefs.h.  */
22743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22744    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22745 #define $ac_func innocuous_$ac_func
22746
22747 /* System header to define __stub macros and hopefully few prototypes,
22748     which can conflict with char $ac_func (); below.
22749     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22750     <limits.h> exists even on freestanding compilers.  */
22751
22752 #ifdef __STDC__
22753 # include <limits.h>
22754 #else
22755 # include <assert.h>
22756 #endif
22757
22758 #undef $ac_func
22759
22760 /* Override any gcc2 internal prototype to avoid an error.  */
22761 #ifdef __cplusplus
22762 extern "C"
22763 {
22764 #endif
22765 /* We use char because int might match the return type of a gcc2
22766    builtin and then its argument prototype would still apply.  */
22767 char $ac_func ();
22768 /* The GNU C library defines this for functions which it implements
22769     to always fail with ENOSYS.  Some functions are actually named
22770     something starting with __ and the normal name is an alias.  */
22771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22772 choke me
22773 #else
22774 char (*f) () = $ac_func;
22775 #endif
22776 #ifdef __cplusplus
22777 }
22778 #endif
22779
22780 int
22781 main ()
22782 {
22783 return f != $ac_func;
22784   ;
22785   return 0;
22786 }
22787 _ACEOF
22788 rm -f conftest.$ac_objext conftest$ac_exeext
22789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22790   (eval $ac_link) 2>conftest.er1
22791   ac_status=$?
22792   grep -v '^ *+' conftest.er1 >conftest.err
22793   rm -f conftest.er1
22794   cat conftest.err >&5
22795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22796   (exit $ac_status); } &&
22797          { ac_try='test -z "$ac_c_werror_flag"
22798                          || test ! -s conftest.err'
22799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22800   (eval $ac_try) 2>&5
22801   ac_status=$?
22802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22803   (exit $ac_status); }; } &&
22804          { ac_try='test -s conftest$ac_exeext'
22805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22806   (eval $ac_try) 2>&5
22807   ac_status=$?
22808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22809   (exit $ac_status); }; }; then
22810   eval "$as_ac_var=yes"
22811 else
22812   echo "$as_me: failed program was:" >&5
22813 sed 's/^/| /' conftest.$ac_ext >&5
22814
22815 eval "$as_ac_var=no"
22816 fi
22817 rm -f conftest.err conftest.$ac_objext \
22818       conftest$ac_exeext conftest.$ac_ext
22819 fi
22820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22821 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22822 if test `eval echo '${'$as_ac_var'}'` = yes; then
22823   cat >>confdefs.h <<_ACEOF
22824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22825 _ACEOF
22826
22827 fi
22828 done
22829
22830   else
22831
22832   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
22833 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
22834   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
22835     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
22836   echo $ECHO_N "(cached) $ECHO_C" >&6
22837 else
22838
22839
22840
22841       ac_ext=cc
22842 ac_cpp='$CXXCPP $CPPFLAGS'
22843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22846
22847       cat >conftest.$ac_ext <<_ACEOF
22848 /* confdefs.h.  */
22849 _ACEOF
22850 cat confdefs.h >>conftest.$ac_ext
22851 cat >>conftest.$ac_ext <<_ACEOF
22852 /* end confdefs.h.  */
22853 #include <math.h>
22854 int
22855 main ()
22856 {
22857  _ldexpl(0, 0);
22858   ;
22859   return 0;
22860 }
22861 _ACEOF
22862 rm -f conftest.$ac_objext
22863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22864   (eval $ac_compile) 2>conftest.er1
22865   ac_status=$?
22866   grep -v '^ *+' conftest.er1 >conftest.err
22867   rm -f conftest.er1
22868   cat conftest.err >&5
22869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22870   (exit $ac_status); } &&
22871          { ac_try='test -z "$ac_cxx_werror_flag"
22872                          || test ! -s conftest.err'
22873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22874   (eval $ac_try) 2>&5
22875   ac_status=$?
22876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22877   (exit $ac_status); }; } &&
22878          { ac_try='test -s conftest.$ac_objext'
22879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22880   (eval $ac_try) 2>&5
22881   ac_status=$?
22882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22883   (exit $ac_status); }; }; then
22884   glibcxx_cv_func__ldexpl_use=yes
22885 else
22886   echo "$as_me: failed program was:" >&5
22887 sed 's/^/| /' conftest.$ac_ext >&5
22888
22889 glibcxx_cv_func__ldexpl_use=no
22890 fi
22891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22892       ac_ext=c
22893 ac_cpp='$CPP $CPPFLAGS'
22894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22897
22898
22899 fi
22900
22901   fi
22902   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
22903 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
22904
22905     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
22906
22907 for ac_func in _ldexpl
22908 do
22909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22910 echo "$as_me:$LINENO: checking for $ac_func" >&5
22911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22912 if eval "test \"\${$as_ac_var+set}\" = set"; then
22913   echo $ECHO_N "(cached) $ECHO_C" >&6
22914 else
22915   if test x$gcc_no_link = xyes; then
22916   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22918    { (exit 1); exit 1; }; }
22919 fi
22920 cat >conftest.$ac_ext <<_ACEOF
22921 /* confdefs.h.  */
22922 _ACEOF
22923 cat confdefs.h >>conftest.$ac_ext
22924 cat >>conftest.$ac_ext <<_ACEOF
22925 /* end confdefs.h.  */
22926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22927    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22928 #define $ac_func innocuous_$ac_func
22929
22930 /* System header to define __stub macros and hopefully few prototypes,
22931     which can conflict with char $ac_func (); below.
22932     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22933     <limits.h> exists even on freestanding compilers.  */
22934
22935 #ifdef __STDC__
22936 # include <limits.h>
22937 #else
22938 # include <assert.h>
22939 #endif
22940
22941 #undef $ac_func
22942
22943 /* Override any gcc2 internal prototype to avoid an error.  */
22944 #ifdef __cplusplus
22945 extern "C"
22946 {
22947 #endif
22948 /* We use char because int might match the return type of a gcc2
22949    builtin and then its argument prototype would still apply.  */
22950 char $ac_func ();
22951 /* The GNU C library defines this for functions which it implements
22952     to always fail with ENOSYS.  Some functions are actually named
22953     something starting with __ and the normal name is an alias.  */
22954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22955 choke me
22956 #else
22957 char (*f) () = $ac_func;
22958 #endif
22959 #ifdef __cplusplus
22960 }
22961 #endif
22962
22963 int
22964 main ()
22965 {
22966 return f != $ac_func;
22967   ;
22968   return 0;
22969 }
22970 _ACEOF
22971 rm -f conftest.$ac_objext conftest$ac_exeext
22972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22973   (eval $ac_link) 2>conftest.er1
22974   ac_status=$?
22975   grep -v '^ *+' conftest.er1 >conftest.err
22976   rm -f conftest.er1
22977   cat conftest.err >&5
22978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22979   (exit $ac_status); } &&
22980          { ac_try='test -z "$ac_c_werror_flag"
22981                          || test ! -s conftest.err'
22982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22983   (eval $ac_try) 2>&5
22984   ac_status=$?
22985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22986   (exit $ac_status); }; } &&
22987          { ac_try='test -s conftest$ac_exeext'
22988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22989   (eval $ac_try) 2>&5
22990   ac_status=$?
22991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22992   (exit $ac_status); }; }; then
22993   eval "$as_ac_var=yes"
22994 else
22995   echo "$as_me: failed program was:" >&5
22996 sed 's/^/| /' conftest.$ac_ext >&5
22997
22998 eval "$as_ac_var=no"
22999 fi
23000 rm -f conftest.err conftest.$ac_objext \
23001       conftest$ac_exeext conftest.$ac_ext
23002 fi
23003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23004 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23005 if test `eval echo '${'$as_ac_var'}'` = yes; then
23006   cat >>confdefs.h <<_ACEOF
23007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23008 _ACEOF
23009
23010 fi
23011 done
23012
23013     fi
23014   fi
23015
23016
23017
23018
23019
23020
23021   echo "$as_me:$LINENO: checking for logl declaration" >&5
23022 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
23023   if test x${glibcxx_cv_func_logl_use+set} != xset; then
23024     if test "${glibcxx_cv_func_logl_use+set}" = set; then
23025   echo $ECHO_N "(cached) $ECHO_C" >&6
23026 else
23027
23028
23029
23030       ac_ext=cc
23031 ac_cpp='$CXXCPP $CPPFLAGS'
23032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23035
23036       cat >conftest.$ac_ext <<_ACEOF
23037 /* confdefs.h.  */
23038 _ACEOF
23039 cat confdefs.h >>conftest.$ac_ext
23040 cat >>conftest.$ac_ext <<_ACEOF
23041 /* end confdefs.h.  */
23042 #include <math.h>
23043                       #ifdef HAVE_IEEEFP_H
23044                       #include <ieeefp.h>
23045                       #endif
23046
23047 int
23048 main ()
23049 {
23050  logl(0);
23051   ;
23052   return 0;
23053 }
23054 _ACEOF
23055 rm -f conftest.$ac_objext
23056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23057   (eval $ac_compile) 2>conftest.er1
23058   ac_status=$?
23059   grep -v '^ *+' conftest.er1 >conftest.err
23060   rm -f conftest.er1
23061   cat conftest.err >&5
23062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23063   (exit $ac_status); } &&
23064          { ac_try='test -z "$ac_cxx_werror_flag"
23065                          || test ! -s conftest.err'
23066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23067   (eval $ac_try) 2>&5
23068   ac_status=$?
23069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23070   (exit $ac_status); }; } &&
23071          { ac_try='test -s conftest.$ac_objext'
23072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23073   (eval $ac_try) 2>&5
23074   ac_status=$?
23075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23076   (exit $ac_status); }; }; then
23077   glibcxx_cv_func_logl_use=yes
23078 else
23079   echo "$as_me: failed program was:" >&5
23080 sed 's/^/| /' conftest.$ac_ext >&5
23081
23082 glibcxx_cv_func_logl_use=no
23083 fi
23084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23085       ac_ext=c
23086 ac_cpp='$CPP $CPPFLAGS'
23087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23090
23091
23092 fi
23093
23094   fi
23095   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
23096 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
23097
23098   if test x$glibcxx_cv_func_logl_use = x"yes"; then
23099
23100 for ac_func in logl
23101 do
23102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23103 echo "$as_me:$LINENO: checking for $ac_func" >&5
23104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23105 if eval "test \"\${$as_ac_var+set}\" = set"; then
23106   echo $ECHO_N "(cached) $ECHO_C" >&6
23107 else
23108   if test x$gcc_no_link = xyes; then
23109   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23111    { (exit 1); exit 1; }; }
23112 fi
23113 cat >conftest.$ac_ext <<_ACEOF
23114 /* confdefs.h.  */
23115 _ACEOF
23116 cat confdefs.h >>conftest.$ac_ext
23117 cat >>conftest.$ac_ext <<_ACEOF
23118 /* end confdefs.h.  */
23119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23120    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23121 #define $ac_func innocuous_$ac_func
23122
23123 /* System header to define __stub macros and hopefully few prototypes,
23124     which can conflict with char $ac_func (); below.
23125     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23126     <limits.h> exists even on freestanding compilers.  */
23127
23128 #ifdef __STDC__
23129 # include <limits.h>
23130 #else
23131 # include <assert.h>
23132 #endif
23133
23134 #undef $ac_func
23135
23136 /* Override any gcc2 internal prototype to avoid an error.  */
23137 #ifdef __cplusplus
23138 extern "C"
23139 {
23140 #endif
23141 /* We use char because int might match the return type of a gcc2
23142    builtin and then its argument prototype would still apply.  */
23143 char $ac_func ();
23144 /* The GNU C library defines this for functions which it implements
23145     to always fail with ENOSYS.  Some functions are actually named
23146     something starting with __ and the normal name is an alias.  */
23147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23148 choke me
23149 #else
23150 char (*f) () = $ac_func;
23151 #endif
23152 #ifdef __cplusplus
23153 }
23154 #endif
23155
23156 int
23157 main ()
23158 {
23159 return f != $ac_func;
23160   ;
23161   return 0;
23162 }
23163 _ACEOF
23164 rm -f conftest.$ac_objext conftest$ac_exeext
23165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23166   (eval $ac_link) 2>conftest.er1
23167   ac_status=$?
23168   grep -v '^ *+' conftest.er1 >conftest.err
23169   rm -f conftest.er1
23170   cat conftest.err >&5
23171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23172   (exit $ac_status); } &&
23173          { ac_try='test -z "$ac_c_werror_flag"
23174                          || test ! -s conftest.err'
23175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23176   (eval $ac_try) 2>&5
23177   ac_status=$?
23178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23179   (exit $ac_status); }; } &&
23180          { ac_try='test -s conftest$ac_exeext'
23181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23182   (eval $ac_try) 2>&5
23183   ac_status=$?
23184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23185   (exit $ac_status); }; }; then
23186   eval "$as_ac_var=yes"
23187 else
23188   echo "$as_me: failed program was:" >&5
23189 sed 's/^/| /' conftest.$ac_ext >&5
23190
23191 eval "$as_ac_var=no"
23192 fi
23193 rm -f conftest.err conftest.$ac_objext \
23194       conftest$ac_exeext conftest.$ac_ext
23195 fi
23196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23198 if test `eval echo '${'$as_ac_var'}'` = yes; then
23199   cat >>confdefs.h <<_ACEOF
23200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23201 _ACEOF
23202
23203 fi
23204 done
23205
23206   else
23207
23208   echo "$as_me:$LINENO: checking for _logl declaration" >&5
23209 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
23210   if test x${glibcxx_cv_func__logl_use+set} != xset; then
23211     if test "${glibcxx_cv_func__logl_use+set}" = set; then
23212   echo $ECHO_N "(cached) $ECHO_C" >&6
23213 else
23214
23215
23216
23217       ac_ext=cc
23218 ac_cpp='$CXXCPP $CPPFLAGS'
23219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23222
23223       cat >conftest.$ac_ext <<_ACEOF
23224 /* confdefs.h.  */
23225 _ACEOF
23226 cat confdefs.h >>conftest.$ac_ext
23227 cat >>conftest.$ac_ext <<_ACEOF
23228 /* end confdefs.h.  */
23229 #include <math.h>
23230                       #ifdef HAVE_IEEEFP_H
23231                       #include <ieeefp.h>
23232                       #endif
23233
23234 int
23235 main ()
23236 {
23237  _logl(0);
23238   ;
23239   return 0;
23240 }
23241 _ACEOF
23242 rm -f conftest.$ac_objext
23243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23244   (eval $ac_compile) 2>conftest.er1
23245   ac_status=$?
23246   grep -v '^ *+' conftest.er1 >conftest.err
23247   rm -f conftest.er1
23248   cat conftest.err >&5
23249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23250   (exit $ac_status); } &&
23251          { ac_try='test -z "$ac_cxx_werror_flag"
23252                          || test ! -s conftest.err'
23253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23254   (eval $ac_try) 2>&5
23255   ac_status=$?
23256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23257   (exit $ac_status); }; } &&
23258          { ac_try='test -s conftest.$ac_objext'
23259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23260   (eval $ac_try) 2>&5
23261   ac_status=$?
23262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23263   (exit $ac_status); }; }; then
23264   glibcxx_cv_func__logl_use=yes
23265 else
23266   echo "$as_me: failed program was:" >&5
23267 sed 's/^/| /' conftest.$ac_ext >&5
23268
23269 glibcxx_cv_func__logl_use=no
23270 fi
23271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23272       ac_ext=c
23273 ac_cpp='$CPP $CPPFLAGS'
23274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23277
23278
23279 fi
23280
23281   fi
23282   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
23283 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
23284
23285     if test x$glibcxx_cv_func__logl_use = x"yes"; then
23286
23287 for ac_func in _logl
23288 do
23289 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23290 echo "$as_me:$LINENO: checking for $ac_func" >&5
23291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23292 if eval "test \"\${$as_ac_var+set}\" = set"; then
23293   echo $ECHO_N "(cached) $ECHO_C" >&6
23294 else
23295   if test x$gcc_no_link = xyes; then
23296   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23297 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23298    { (exit 1); exit 1; }; }
23299 fi
23300 cat >conftest.$ac_ext <<_ACEOF
23301 /* confdefs.h.  */
23302 _ACEOF
23303 cat confdefs.h >>conftest.$ac_ext
23304 cat >>conftest.$ac_ext <<_ACEOF
23305 /* end confdefs.h.  */
23306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23307    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23308 #define $ac_func innocuous_$ac_func
23309
23310 /* System header to define __stub macros and hopefully few prototypes,
23311     which can conflict with char $ac_func (); below.
23312     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23313     <limits.h> exists even on freestanding compilers.  */
23314
23315 #ifdef __STDC__
23316 # include <limits.h>
23317 #else
23318 # include <assert.h>
23319 #endif
23320
23321 #undef $ac_func
23322
23323 /* Override any gcc2 internal prototype to avoid an error.  */
23324 #ifdef __cplusplus
23325 extern "C"
23326 {
23327 #endif
23328 /* We use char because int might match the return type of a gcc2
23329    builtin and then its argument prototype would still apply.  */
23330 char $ac_func ();
23331 /* The GNU C library defines this for functions which it implements
23332     to always fail with ENOSYS.  Some functions are actually named
23333     something starting with __ and the normal name is an alias.  */
23334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23335 choke me
23336 #else
23337 char (*f) () = $ac_func;
23338 #endif
23339 #ifdef __cplusplus
23340 }
23341 #endif
23342
23343 int
23344 main ()
23345 {
23346 return f != $ac_func;
23347   ;
23348   return 0;
23349 }
23350 _ACEOF
23351 rm -f conftest.$ac_objext conftest$ac_exeext
23352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23353   (eval $ac_link) 2>conftest.er1
23354   ac_status=$?
23355   grep -v '^ *+' conftest.er1 >conftest.err
23356   rm -f conftest.er1
23357   cat conftest.err >&5
23358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23359   (exit $ac_status); } &&
23360          { ac_try='test -z "$ac_c_werror_flag"
23361                          || test ! -s conftest.err'
23362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23363   (eval $ac_try) 2>&5
23364   ac_status=$?
23365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23366   (exit $ac_status); }; } &&
23367          { ac_try='test -s conftest$ac_exeext'
23368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23369   (eval $ac_try) 2>&5
23370   ac_status=$?
23371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23372   (exit $ac_status); }; }; then
23373   eval "$as_ac_var=yes"
23374 else
23375   echo "$as_me: failed program was:" >&5
23376 sed 's/^/| /' conftest.$ac_ext >&5
23377
23378 eval "$as_ac_var=no"
23379 fi
23380 rm -f conftest.err conftest.$ac_objext \
23381       conftest$ac_exeext conftest.$ac_ext
23382 fi
23383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23384 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23385 if test `eval echo '${'$as_ac_var'}'` = yes; then
23386   cat >>confdefs.h <<_ACEOF
23387 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23388 _ACEOF
23389
23390 fi
23391 done
23392
23393     fi
23394   fi
23395
23396
23397
23398
23399
23400
23401   echo "$as_me:$LINENO: checking for log10l declaration" >&5
23402 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
23403   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
23404     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
23405   echo $ECHO_N "(cached) $ECHO_C" >&6
23406 else
23407
23408
23409
23410       ac_ext=cc
23411 ac_cpp='$CXXCPP $CPPFLAGS'
23412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23415
23416       cat >conftest.$ac_ext <<_ACEOF
23417 /* confdefs.h.  */
23418 _ACEOF
23419 cat confdefs.h >>conftest.$ac_ext
23420 cat >>conftest.$ac_ext <<_ACEOF
23421 /* end confdefs.h.  */
23422 #include <math.h>
23423                       #ifdef HAVE_IEEEFP_H
23424                       #include <ieeefp.h>
23425                       #endif
23426
23427 int
23428 main ()
23429 {
23430  log10l(0);
23431   ;
23432   return 0;
23433 }
23434 _ACEOF
23435 rm -f conftest.$ac_objext
23436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23437   (eval $ac_compile) 2>conftest.er1
23438   ac_status=$?
23439   grep -v '^ *+' conftest.er1 >conftest.err
23440   rm -f conftest.er1
23441   cat conftest.err >&5
23442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23443   (exit $ac_status); } &&
23444          { ac_try='test -z "$ac_cxx_werror_flag"
23445                          || test ! -s conftest.err'
23446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23447   (eval $ac_try) 2>&5
23448   ac_status=$?
23449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23450   (exit $ac_status); }; } &&
23451          { ac_try='test -s conftest.$ac_objext'
23452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23453   (eval $ac_try) 2>&5
23454   ac_status=$?
23455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23456   (exit $ac_status); }; }; then
23457   glibcxx_cv_func_log10l_use=yes
23458 else
23459   echo "$as_me: failed program was:" >&5
23460 sed 's/^/| /' conftest.$ac_ext >&5
23461
23462 glibcxx_cv_func_log10l_use=no
23463 fi
23464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23465       ac_ext=c
23466 ac_cpp='$CPP $CPPFLAGS'
23467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23470
23471
23472 fi
23473
23474   fi
23475   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
23476 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
23477
23478   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
23479
23480 for ac_func in log10l
23481 do
23482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23483 echo "$as_me:$LINENO: checking for $ac_func" >&5
23484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23485 if eval "test \"\${$as_ac_var+set}\" = set"; then
23486   echo $ECHO_N "(cached) $ECHO_C" >&6
23487 else
23488   if test x$gcc_no_link = xyes; then
23489   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23491    { (exit 1); exit 1; }; }
23492 fi
23493 cat >conftest.$ac_ext <<_ACEOF
23494 /* confdefs.h.  */
23495 _ACEOF
23496 cat confdefs.h >>conftest.$ac_ext
23497 cat >>conftest.$ac_ext <<_ACEOF
23498 /* end confdefs.h.  */
23499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23500    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23501 #define $ac_func innocuous_$ac_func
23502
23503 /* System header to define __stub macros and hopefully few prototypes,
23504     which can conflict with char $ac_func (); below.
23505     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23506     <limits.h> exists even on freestanding compilers.  */
23507
23508 #ifdef __STDC__
23509 # include <limits.h>
23510 #else
23511 # include <assert.h>
23512 #endif
23513
23514 #undef $ac_func
23515
23516 /* Override any gcc2 internal prototype to avoid an error.  */
23517 #ifdef __cplusplus
23518 extern "C"
23519 {
23520 #endif
23521 /* We use char because int might match the return type of a gcc2
23522    builtin and then its argument prototype would still apply.  */
23523 char $ac_func ();
23524 /* The GNU C library defines this for functions which it implements
23525     to always fail with ENOSYS.  Some functions are actually named
23526     something starting with __ and the normal name is an alias.  */
23527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23528 choke me
23529 #else
23530 char (*f) () = $ac_func;
23531 #endif
23532 #ifdef __cplusplus
23533 }
23534 #endif
23535
23536 int
23537 main ()
23538 {
23539 return f != $ac_func;
23540   ;
23541   return 0;
23542 }
23543 _ACEOF
23544 rm -f conftest.$ac_objext conftest$ac_exeext
23545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23546   (eval $ac_link) 2>conftest.er1
23547   ac_status=$?
23548   grep -v '^ *+' conftest.er1 >conftest.err
23549   rm -f conftest.er1
23550   cat conftest.err >&5
23551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23552   (exit $ac_status); } &&
23553          { ac_try='test -z "$ac_c_werror_flag"
23554                          || test ! -s conftest.err'
23555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23556   (eval $ac_try) 2>&5
23557   ac_status=$?
23558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23559   (exit $ac_status); }; } &&
23560          { ac_try='test -s conftest$ac_exeext'
23561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23562   (eval $ac_try) 2>&5
23563   ac_status=$?
23564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23565   (exit $ac_status); }; }; then
23566   eval "$as_ac_var=yes"
23567 else
23568   echo "$as_me: failed program was:" >&5
23569 sed 's/^/| /' conftest.$ac_ext >&5
23570
23571 eval "$as_ac_var=no"
23572 fi
23573 rm -f conftest.err conftest.$ac_objext \
23574       conftest$ac_exeext conftest.$ac_ext
23575 fi
23576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23578 if test `eval echo '${'$as_ac_var'}'` = yes; then
23579   cat >>confdefs.h <<_ACEOF
23580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23581 _ACEOF
23582
23583 fi
23584 done
23585
23586   else
23587
23588   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
23589 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
23590   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
23591     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
23592   echo $ECHO_N "(cached) $ECHO_C" >&6
23593 else
23594
23595
23596
23597       ac_ext=cc
23598 ac_cpp='$CXXCPP $CPPFLAGS'
23599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23602
23603       cat >conftest.$ac_ext <<_ACEOF
23604 /* confdefs.h.  */
23605 _ACEOF
23606 cat confdefs.h >>conftest.$ac_ext
23607 cat >>conftest.$ac_ext <<_ACEOF
23608 /* end confdefs.h.  */
23609 #include <math.h>
23610                       #ifdef HAVE_IEEEFP_H
23611                       #include <ieeefp.h>
23612                       #endif
23613
23614 int
23615 main ()
23616 {
23617  _log10l(0);
23618   ;
23619   return 0;
23620 }
23621 _ACEOF
23622 rm -f conftest.$ac_objext
23623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23624   (eval $ac_compile) 2>conftest.er1
23625   ac_status=$?
23626   grep -v '^ *+' conftest.er1 >conftest.err
23627   rm -f conftest.er1
23628   cat conftest.err >&5
23629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23630   (exit $ac_status); } &&
23631          { ac_try='test -z "$ac_cxx_werror_flag"
23632                          || test ! -s conftest.err'
23633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23634   (eval $ac_try) 2>&5
23635   ac_status=$?
23636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23637   (exit $ac_status); }; } &&
23638          { ac_try='test -s conftest.$ac_objext'
23639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23640   (eval $ac_try) 2>&5
23641   ac_status=$?
23642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23643   (exit $ac_status); }; }; then
23644   glibcxx_cv_func__log10l_use=yes
23645 else
23646   echo "$as_me: failed program was:" >&5
23647 sed 's/^/| /' conftest.$ac_ext >&5
23648
23649 glibcxx_cv_func__log10l_use=no
23650 fi
23651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23652       ac_ext=c
23653 ac_cpp='$CPP $CPPFLAGS'
23654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23657
23658
23659 fi
23660
23661   fi
23662   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
23663 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
23664
23665     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
23666
23667 for ac_func in _log10l
23668 do
23669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23670 echo "$as_me:$LINENO: checking for $ac_func" >&5
23671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23672 if eval "test \"\${$as_ac_var+set}\" = set"; then
23673   echo $ECHO_N "(cached) $ECHO_C" >&6
23674 else
23675   if test x$gcc_no_link = xyes; then
23676   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23678    { (exit 1); exit 1; }; }
23679 fi
23680 cat >conftest.$ac_ext <<_ACEOF
23681 /* confdefs.h.  */
23682 _ACEOF
23683 cat confdefs.h >>conftest.$ac_ext
23684 cat >>conftest.$ac_ext <<_ACEOF
23685 /* end confdefs.h.  */
23686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23687    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23688 #define $ac_func innocuous_$ac_func
23689
23690 /* System header to define __stub macros and hopefully few prototypes,
23691     which can conflict with char $ac_func (); below.
23692     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23693     <limits.h> exists even on freestanding compilers.  */
23694
23695 #ifdef __STDC__
23696 # include <limits.h>
23697 #else
23698 # include <assert.h>
23699 #endif
23700
23701 #undef $ac_func
23702
23703 /* Override any gcc2 internal prototype to avoid an error.  */
23704 #ifdef __cplusplus
23705 extern "C"
23706 {
23707 #endif
23708 /* We use char because int might match the return type of a gcc2
23709    builtin and then its argument prototype would still apply.  */
23710 char $ac_func ();
23711 /* The GNU C library defines this for functions which it implements
23712     to always fail with ENOSYS.  Some functions are actually named
23713     something starting with __ and the normal name is an alias.  */
23714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23715 choke me
23716 #else
23717 char (*f) () = $ac_func;
23718 #endif
23719 #ifdef __cplusplus
23720 }
23721 #endif
23722
23723 int
23724 main ()
23725 {
23726 return f != $ac_func;
23727   ;
23728   return 0;
23729 }
23730 _ACEOF
23731 rm -f conftest.$ac_objext conftest$ac_exeext
23732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23733   (eval $ac_link) 2>conftest.er1
23734   ac_status=$?
23735   grep -v '^ *+' conftest.er1 >conftest.err
23736   rm -f conftest.er1
23737   cat conftest.err >&5
23738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23739   (exit $ac_status); } &&
23740          { ac_try='test -z "$ac_c_werror_flag"
23741                          || test ! -s conftest.err'
23742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23743   (eval $ac_try) 2>&5
23744   ac_status=$?
23745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23746   (exit $ac_status); }; } &&
23747          { ac_try='test -s conftest$ac_exeext'
23748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23749   (eval $ac_try) 2>&5
23750   ac_status=$?
23751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23752   (exit $ac_status); }; }; then
23753   eval "$as_ac_var=yes"
23754 else
23755   echo "$as_me: failed program was:" >&5
23756 sed 's/^/| /' conftest.$ac_ext >&5
23757
23758 eval "$as_ac_var=no"
23759 fi
23760 rm -f conftest.err conftest.$ac_objext \
23761       conftest$ac_exeext conftest.$ac_ext
23762 fi
23763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23765 if test `eval echo '${'$as_ac_var'}'` = yes; then
23766   cat >>confdefs.h <<_ACEOF
23767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23768 _ACEOF
23769
23770 fi
23771 done
23772
23773     fi
23774   fi
23775
23776
23777
23778
23779
23780
23781   echo "$as_me:$LINENO: checking for modfl declaration" >&5
23782 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
23783   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
23784     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
23785   echo $ECHO_N "(cached) $ECHO_C" >&6
23786 else
23787
23788
23789
23790       ac_ext=cc
23791 ac_cpp='$CXXCPP $CPPFLAGS'
23792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23795
23796       cat >conftest.$ac_ext <<_ACEOF
23797 /* confdefs.h.  */
23798 _ACEOF
23799 cat confdefs.h >>conftest.$ac_ext
23800 cat >>conftest.$ac_ext <<_ACEOF
23801 /* end confdefs.h.  */
23802 #include <math.h>
23803 int
23804 main ()
23805 {
23806  modfl(0, 0);
23807   ;
23808   return 0;
23809 }
23810 _ACEOF
23811 rm -f conftest.$ac_objext
23812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23813   (eval $ac_compile) 2>conftest.er1
23814   ac_status=$?
23815   grep -v '^ *+' conftest.er1 >conftest.err
23816   rm -f conftest.er1
23817   cat conftest.err >&5
23818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23819   (exit $ac_status); } &&
23820          { ac_try='test -z "$ac_cxx_werror_flag"
23821                          || test ! -s conftest.err'
23822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23823   (eval $ac_try) 2>&5
23824   ac_status=$?
23825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23826   (exit $ac_status); }; } &&
23827          { ac_try='test -s conftest.$ac_objext'
23828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23829   (eval $ac_try) 2>&5
23830   ac_status=$?
23831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23832   (exit $ac_status); }; }; then
23833   glibcxx_cv_func_modfl_use=yes
23834 else
23835   echo "$as_me: failed program was:" >&5
23836 sed 's/^/| /' conftest.$ac_ext >&5
23837
23838 glibcxx_cv_func_modfl_use=no
23839 fi
23840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23841       ac_ext=c
23842 ac_cpp='$CPP $CPPFLAGS'
23843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23846
23847
23848 fi
23849
23850   fi
23851   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
23852 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
23853
23854   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
23855
23856 for ac_func in modfl
23857 do
23858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23859 echo "$as_me:$LINENO: checking for $ac_func" >&5
23860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23861 if eval "test \"\${$as_ac_var+set}\" = set"; then
23862   echo $ECHO_N "(cached) $ECHO_C" >&6
23863 else
23864   if test x$gcc_no_link = xyes; then
23865   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23867    { (exit 1); exit 1; }; }
23868 fi
23869 cat >conftest.$ac_ext <<_ACEOF
23870 /* confdefs.h.  */
23871 _ACEOF
23872 cat confdefs.h >>conftest.$ac_ext
23873 cat >>conftest.$ac_ext <<_ACEOF
23874 /* end confdefs.h.  */
23875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23876    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23877 #define $ac_func innocuous_$ac_func
23878
23879 /* System header to define __stub macros and hopefully few prototypes,
23880     which can conflict with char $ac_func (); below.
23881     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23882     <limits.h> exists even on freestanding compilers.  */
23883
23884 #ifdef __STDC__
23885 # include <limits.h>
23886 #else
23887 # include <assert.h>
23888 #endif
23889
23890 #undef $ac_func
23891
23892 /* Override any gcc2 internal prototype to avoid an error.  */
23893 #ifdef __cplusplus
23894 extern "C"
23895 {
23896 #endif
23897 /* We use char because int might match the return type of a gcc2
23898    builtin and then its argument prototype would still apply.  */
23899 char $ac_func ();
23900 /* The GNU C library defines this for functions which it implements
23901     to always fail with ENOSYS.  Some functions are actually named
23902     something starting with __ and the normal name is an alias.  */
23903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23904 choke me
23905 #else
23906 char (*f) () = $ac_func;
23907 #endif
23908 #ifdef __cplusplus
23909 }
23910 #endif
23911
23912 int
23913 main ()
23914 {
23915 return f != $ac_func;
23916   ;
23917   return 0;
23918 }
23919 _ACEOF
23920 rm -f conftest.$ac_objext conftest$ac_exeext
23921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23922   (eval $ac_link) 2>conftest.er1
23923   ac_status=$?
23924   grep -v '^ *+' conftest.er1 >conftest.err
23925   rm -f conftest.er1
23926   cat conftest.err >&5
23927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23928   (exit $ac_status); } &&
23929          { ac_try='test -z "$ac_c_werror_flag"
23930                          || test ! -s conftest.err'
23931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23932   (eval $ac_try) 2>&5
23933   ac_status=$?
23934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23935   (exit $ac_status); }; } &&
23936          { ac_try='test -s conftest$ac_exeext'
23937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23938   (eval $ac_try) 2>&5
23939   ac_status=$?
23940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23941   (exit $ac_status); }; }; then
23942   eval "$as_ac_var=yes"
23943 else
23944   echo "$as_me: failed program was:" >&5
23945 sed 's/^/| /' conftest.$ac_ext >&5
23946
23947 eval "$as_ac_var=no"
23948 fi
23949 rm -f conftest.err conftest.$ac_objext \
23950       conftest$ac_exeext conftest.$ac_ext
23951 fi
23952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23954 if test `eval echo '${'$as_ac_var'}'` = yes; then
23955   cat >>confdefs.h <<_ACEOF
23956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23957 _ACEOF
23958
23959 fi
23960 done
23961
23962   else
23963
23964   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
23965 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
23966   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
23967     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
23968   echo $ECHO_N "(cached) $ECHO_C" >&6
23969 else
23970
23971
23972
23973       ac_ext=cc
23974 ac_cpp='$CXXCPP $CPPFLAGS'
23975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23978
23979       cat >conftest.$ac_ext <<_ACEOF
23980 /* confdefs.h.  */
23981 _ACEOF
23982 cat confdefs.h >>conftest.$ac_ext
23983 cat >>conftest.$ac_ext <<_ACEOF
23984 /* end confdefs.h.  */
23985 #include <math.h>
23986 int
23987 main ()
23988 {
23989  _modfl(0, 0);
23990   ;
23991   return 0;
23992 }
23993 _ACEOF
23994 rm -f conftest.$ac_objext
23995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23996   (eval $ac_compile) 2>conftest.er1
23997   ac_status=$?
23998   grep -v '^ *+' conftest.er1 >conftest.err
23999   rm -f conftest.er1
24000   cat conftest.err >&5
24001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24002   (exit $ac_status); } &&
24003          { ac_try='test -z "$ac_cxx_werror_flag"
24004                          || test ! -s conftest.err'
24005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24006   (eval $ac_try) 2>&5
24007   ac_status=$?
24008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24009   (exit $ac_status); }; } &&
24010          { ac_try='test -s conftest.$ac_objext'
24011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24012   (eval $ac_try) 2>&5
24013   ac_status=$?
24014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24015   (exit $ac_status); }; }; then
24016   glibcxx_cv_func__modfl_use=yes
24017 else
24018   echo "$as_me: failed program was:" >&5
24019 sed 's/^/| /' conftest.$ac_ext >&5
24020
24021 glibcxx_cv_func__modfl_use=no
24022 fi
24023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24024       ac_ext=c
24025 ac_cpp='$CPP $CPPFLAGS'
24026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24029
24030
24031 fi
24032
24033   fi
24034   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
24035 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
24036
24037     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24038
24039 for ac_func in _modfl
24040 do
24041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24042 echo "$as_me:$LINENO: checking for $ac_func" >&5
24043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24044 if eval "test \"\${$as_ac_var+set}\" = set"; then
24045   echo $ECHO_N "(cached) $ECHO_C" >&6
24046 else
24047   if test x$gcc_no_link = xyes; then
24048   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24050    { (exit 1); exit 1; }; }
24051 fi
24052 cat >conftest.$ac_ext <<_ACEOF
24053 /* confdefs.h.  */
24054 _ACEOF
24055 cat confdefs.h >>conftest.$ac_ext
24056 cat >>conftest.$ac_ext <<_ACEOF
24057 /* end confdefs.h.  */
24058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24059    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24060 #define $ac_func innocuous_$ac_func
24061
24062 /* System header to define __stub macros and hopefully few prototypes,
24063     which can conflict with char $ac_func (); below.
24064     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24065     <limits.h> exists even on freestanding compilers.  */
24066
24067 #ifdef __STDC__
24068 # include <limits.h>
24069 #else
24070 # include <assert.h>
24071 #endif
24072
24073 #undef $ac_func
24074
24075 /* Override any gcc2 internal prototype to avoid an error.  */
24076 #ifdef __cplusplus
24077 extern "C"
24078 {
24079 #endif
24080 /* We use char because int might match the return type of a gcc2
24081    builtin and then its argument prototype would still apply.  */
24082 char $ac_func ();
24083 /* The GNU C library defines this for functions which it implements
24084     to always fail with ENOSYS.  Some functions are actually named
24085     something starting with __ and the normal name is an alias.  */
24086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24087 choke me
24088 #else
24089 char (*f) () = $ac_func;
24090 #endif
24091 #ifdef __cplusplus
24092 }
24093 #endif
24094
24095 int
24096 main ()
24097 {
24098 return f != $ac_func;
24099   ;
24100   return 0;
24101 }
24102 _ACEOF
24103 rm -f conftest.$ac_objext conftest$ac_exeext
24104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24105   (eval $ac_link) 2>conftest.er1
24106   ac_status=$?
24107   grep -v '^ *+' conftest.er1 >conftest.err
24108   rm -f conftest.er1
24109   cat conftest.err >&5
24110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24111   (exit $ac_status); } &&
24112          { ac_try='test -z "$ac_c_werror_flag"
24113                          || test ! -s conftest.err'
24114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24115   (eval $ac_try) 2>&5
24116   ac_status=$?
24117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24118   (exit $ac_status); }; } &&
24119          { ac_try='test -s conftest$ac_exeext'
24120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24121   (eval $ac_try) 2>&5
24122   ac_status=$?
24123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24124   (exit $ac_status); }; }; then
24125   eval "$as_ac_var=yes"
24126 else
24127   echo "$as_me: failed program was:" >&5
24128 sed 's/^/| /' conftest.$ac_ext >&5
24129
24130 eval "$as_ac_var=no"
24131 fi
24132 rm -f conftest.err conftest.$ac_objext \
24133       conftest$ac_exeext conftest.$ac_ext
24134 fi
24135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24137 if test `eval echo '${'$as_ac_var'}'` = yes; then
24138   cat >>confdefs.h <<_ACEOF
24139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24140 _ACEOF
24141
24142 fi
24143 done
24144
24145     fi
24146   fi
24147
24148
24149
24150
24151
24152
24153   echo "$as_me:$LINENO: checking for powl declaration" >&5
24154 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
24155   if test x${glibcxx_cv_func_powl_use+set} != xset; then
24156     if test "${glibcxx_cv_func_powl_use+set}" = set; then
24157   echo $ECHO_N "(cached) $ECHO_C" >&6
24158 else
24159
24160
24161
24162       ac_ext=cc
24163 ac_cpp='$CXXCPP $CPPFLAGS'
24164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24167
24168       cat >conftest.$ac_ext <<_ACEOF
24169 /* confdefs.h.  */
24170 _ACEOF
24171 cat confdefs.h >>conftest.$ac_ext
24172 cat >>conftest.$ac_ext <<_ACEOF
24173 /* end confdefs.h.  */
24174 #include <math.h>
24175 int
24176 main ()
24177 {
24178  powl(0, 0);
24179   ;
24180   return 0;
24181 }
24182 _ACEOF
24183 rm -f conftest.$ac_objext
24184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24185   (eval $ac_compile) 2>conftest.er1
24186   ac_status=$?
24187   grep -v '^ *+' conftest.er1 >conftest.err
24188   rm -f conftest.er1
24189   cat conftest.err >&5
24190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24191   (exit $ac_status); } &&
24192          { ac_try='test -z "$ac_cxx_werror_flag"
24193                          || test ! -s conftest.err'
24194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24195   (eval $ac_try) 2>&5
24196   ac_status=$?
24197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24198   (exit $ac_status); }; } &&
24199          { ac_try='test -s conftest.$ac_objext'
24200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24201   (eval $ac_try) 2>&5
24202   ac_status=$?
24203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24204   (exit $ac_status); }; }; then
24205   glibcxx_cv_func_powl_use=yes
24206 else
24207   echo "$as_me: failed program was:" >&5
24208 sed 's/^/| /' conftest.$ac_ext >&5
24209
24210 glibcxx_cv_func_powl_use=no
24211 fi
24212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24213       ac_ext=c
24214 ac_cpp='$CPP $CPPFLAGS'
24215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24218
24219
24220 fi
24221
24222   fi
24223   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
24224 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
24225
24226   if test x$glibcxx_cv_func_powl_use = x"yes"; then
24227
24228 for ac_func in powl
24229 do
24230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24231 echo "$as_me:$LINENO: checking for $ac_func" >&5
24232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24233 if eval "test \"\${$as_ac_var+set}\" = set"; then
24234   echo $ECHO_N "(cached) $ECHO_C" >&6
24235 else
24236   if test x$gcc_no_link = xyes; then
24237   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24239    { (exit 1); exit 1; }; }
24240 fi
24241 cat >conftest.$ac_ext <<_ACEOF
24242 /* confdefs.h.  */
24243 _ACEOF
24244 cat confdefs.h >>conftest.$ac_ext
24245 cat >>conftest.$ac_ext <<_ACEOF
24246 /* end confdefs.h.  */
24247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24248    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24249 #define $ac_func innocuous_$ac_func
24250
24251 /* System header to define __stub macros and hopefully few prototypes,
24252     which can conflict with char $ac_func (); below.
24253     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24254     <limits.h> exists even on freestanding compilers.  */
24255
24256 #ifdef __STDC__
24257 # include <limits.h>
24258 #else
24259 # include <assert.h>
24260 #endif
24261
24262 #undef $ac_func
24263
24264 /* Override any gcc2 internal prototype to avoid an error.  */
24265 #ifdef __cplusplus
24266 extern "C"
24267 {
24268 #endif
24269 /* We use char because int might match the return type of a gcc2
24270    builtin and then its argument prototype would still apply.  */
24271 char $ac_func ();
24272 /* The GNU C library defines this for functions which it implements
24273     to always fail with ENOSYS.  Some functions are actually named
24274     something starting with __ and the normal name is an alias.  */
24275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24276 choke me
24277 #else
24278 char (*f) () = $ac_func;
24279 #endif
24280 #ifdef __cplusplus
24281 }
24282 #endif
24283
24284 int
24285 main ()
24286 {
24287 return f != $ac_func;
24288   ;
24289   return 0;
24290 }
24291 _ACEOF
24292 rm -f conftest.$ac_objext conftest$ac_exeext
24293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24294   (eval $ac_link) 2>conftest.er1
24295   ac_status=$?
24296   grep -v '^ *+' conftest.er1 >conftest.err
24297   rm -f conftest.er1
24298   cat conftest.err >&5
24299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24300   (exit $ac_status); } &&
24301          { ac_try='test -z "$ac_c_werror_flag"
24302                          || test ! -s conftest.err'
24303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24304   (eval $ac_try) 2>&5
24305   ac_status=$?
24306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24307   (exit $ac_status); }; } &&
24308          { ac_try='test -s conftest$ac_exeext'
24309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24310   (eval $ac_try) 2>&5
24311   ac_status=$?
24312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24313   (exit $ac_status); }; }; then
24314   eval "$as_ac_var=yes"
24315 else
24316   echo "$as_me: failed program was:" >&5
24317 sed 's/^/| /' conftest.$ac_ext >&5
24318
24319 eval "$as_ac_var=no"
24320 fi
24321 rm -f conftest.err conftest.$ac_objext \
24322       conftest$ac_exeext conftest.$ac_ext
24323 fi
24324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24326 if test `eval echo '${'$as_ac_var'}'` = yes; then
24327   cat >>confdefs.h <<_ACEOF
24328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24329 _ACEOF
24330
24331 fi
24332 done
24333
24334   else
24335
24336   echo "$as_me:$LINENO: checking for _powl declaration" >&5
24337 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
24338   if test x${glibcxx_cv_func__powl_use+set} != xset; then
24339     if test "${glibcxx_cv_func__powl_use+set}" = set; then
24340   echo $ECHO_N "(cached) $ECHO_C" >&6
24341 else
24342
24343
24344
24345       ac_ext=cc
24346 ac_cpp='$CXXCPP $CPPFLAGS'
24347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24350
24351       cat >conftest.$ac_ext <<_ACEOF
24352 /* confdefs.h.  */
24353 _ACEOF
24354 cat confdefs.h >>conftest.$ac_ext
24355 cat >>conftest.$ac_ext <<_ACEOF
24356 /* end confdefs.h.  */
24357 #include <math.h>
24358 int
24359 main ()
24360 {
24361  _powl(0, 0);
24362   ;
24363   return 0;
24364 }
24365 _ACEOF
24366 rm -f conftest.$ac_objext
24367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24368   (eval $ac_compile) 2>conftest.er1
24369   ac_status=$?
24370   grep -v '^ *+' conftest.er1 >conftest.err
24371   rm -f conftest.er1
24372   cat conftest.err >&5
24373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24374   (exit $ac_status); } &&
24375          { ac_try='test -z "$ac_cxx_werror_flag"
24376                          || test ! -s conftest.err'
24377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24378   (eval $ac_try) 2>&5
24379   ac_status=$?
24380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24381   (exit $ac_status); }; } &&
24382          { ac_try='test -s conftest.$ac_objext'
24383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24384   (eval $ac_try) 2>&5
24385   ac_status=$?
24386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24387   (exit $ac_status); }; }; then
24388   glibcxx_cv_func__powl_use=yes
24389 else
24390   echo "$as_me: failed program was:" >&5
24391 sed 's/^/| /' conftest.$ac_ext >&5
24392
24393 glibcxx_cv_func__powl_use=no
24394 fi
24395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24396       ac_ext=c
24397 ac_cpp='$CPP $CPPFLAGS'
24398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24401
24402
24403 fi
24404
24405   fi
24406   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
24407 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
24408
24409     if test x$glibcxx_cv_func__powl_use = x"yes"; then
24410
24411 for ac_func in _powl
24412 do
24413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24414 echo "$as_me:$LINENO: checking for $ac_func" >&5
24415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24416 if eval "test \"\${$as_ac_var+set}\" = set"; then
24417   echo $ECHO_N "(cached) $ECHO_C" >&6
24418 else
24419   if test x$gcc_no_link = xyes; then
24420   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24422    { (exit 1); exit 1; }; }
24423 fi
24424 cat >conftest.$ac_ext <<_ACEOF
24425 /* confdefs.h.  */
24426 _ACEOF
24427 cat confdefs.h >>conftest.$ac_ext
24428 cat >>conftest.$ac_ext <<_ACEOF
24429 /* end confdefs.h.  */
24430 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24431    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24432 #define $ac_func innocuous_$ac_func
24433
24434 /* System header to define __stub macros and hopefully few prototypes,
24435     which can conflict with char $ac_func (); below.
24436     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24437     <limits.h> exists even on freestanding compilers.  */
24438
24439 #ifdef __STDC__
24440 # include <limits.h>
24441 #else
24442 # include <assert.h>
24443 #endif
24444
24445 #undef $ac_func
24446
24447 /* Override any gcc2 internal prototype to avoid an error.  */
24448 #ifdef __cplusplus
24449 extern "C"
24450 {
24451 #endif
24452 /* We use char because int might match the return type of a gcc2
24453    builtin and then its argument prototype would still apply.  */
24454 char $ac_func ();
24455 /* The GNU C library defines this for functions which it implements
24456     to always fail with ENOSYS.  Some functions are actually named
24457     something starting with __ and the normal name is an alias.  */
24458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24459 choke me
24460 #else
24461 char (*f) () = $ac_func;
24462 #endif
24463 #ifdef __cplusplus
24464 }
24465 #endif
24466
24467 int
24468 main ()
24469 {
24470 return f != $ac_func;
24471   ;
24472   return 0;
24473 }
24474 _ACEOF
24475 rm -f conftest.$ac_objext conftest$ac_exeext
24476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24477   (eval $ac_link) 2>conftest.er1
24478   ac_status=$?
24479   grep -v '^ *+' conftest.er1 >conftest.err
24480   rm -f conftest.er1
24481   cat conftest.err >&5
24482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24483   (exit $ac_status); } &&
24484          { ac_try='test -z "$ac_c_werror_flag"
24485                          || test ! -s conftest.err'
24486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24487   (eval $ac_try) 2>&5
24488   ac_status=$?
24489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24490   (exit $ac_status); }; } &&
24491          { ac_try='test -s conftest$ac_exeext'
24492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24493   (eval $ac_try) 2>&5
24494   ac_status=$?
24495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24496   (exit $ac_status); }; }; then
24497   eval "$as_ac_var=yes"
24498 else
24499   echo "$as_me: failed program was:" >&5
24500 sed 's/^/| /' conftest.$ac_ext >&5
24501
24502 eval "$as_ac_var=no"
24503 fi
24504 rm -f conftest.err conftest.$ac_objext \
24505       conftest$ac_exeext conftest.$ac_ext
24506 fi
24507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24508 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24509 if test `eval echo '${'$as_ac_var'}'` = yes; then
24510   cat >>confdefs.h <<_ACEOF
24511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24512 _ACEOF
24513
24514 fi
24515 done
24516
24517     fi
24518   fi
24519
24520
24521
24522
24523
24524
24525   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
24526 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
24527   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24528     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
24529   echo $ECHO_N "(cached) $ECHO_C" >&6
24530 else
24531
24532
24533
24534       ac_ext=cc
24535 ac_cpp='$CXXCPP $CPPFLAGS'
24536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24539
24540       cat >conftest.$ac_ext <<_ACEOF
24541 /* confdefs.h.  */
24542 _ACEOF
24543 cat confdefs.h >>conftest.$ac_ext
24544 cat >>conftest.$ac_ext <<_ACEOF
24545 /* end confdefs.h.  */
24546 #include <math.h>
24547                       #ifdef HAVE_IEEEFP_H
24548                       #include <ieeefp.h>
24549                       #endif
24550
24551 int
24552 main ()
24553 {
24554  sqrtl(0);
24555   ;
24556   return 0;
24557 }
24558 _ACEOF
24559 rm -f conftest.$ac_objext
24560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24561   (eval $ac_compile) 2>conftest.er1
24562   ac_status=$?
24563   grep -v '^ *+' conftest.er1 >conftest.err
24564   rm -f conftest.er1
24565   cat conftest.err >&5
24566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24567   (exit $ac_status); } &&
24568          { ac_try='test -z "$ac_cxx_werror_flag"
24569                          || test ! -s conftest.err'
24570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24571   (eval $ac_try) 2>&5
24572   ac_status=$?
24573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24574   (exit $ac_status); }; } &&
24575          { ac_try='test -s conftest.$ac_objext'
24576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24577   (eval $ac_try) 2>&5
24578   ac_status=$?
24579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24580   (exit $ac_status); }; }; then
24581   glibcxx_cv_func_sqrtl_use=yes
24582 else
24583   echo "$as_me: failed program was:" >&5
24584 sed 's/^/| /' conftest.$ac_ext >&5
24585
24586 glibcxx_cv_func_sqrtl_use=no
24587 fi
24588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24589       ac_ext=c
24590 ac_cpp='$CPP $CPPFLAGS'
24591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24594
24595
24596 fi
24597
24598   fi
24599   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
24600 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
24601
24602   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24603
24604 for ac_func in sqrtl
24605 do
24606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24607 echo "$as_me:$LINENO: checking for $ac_func" >&5
24608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24609 if eval "test \"\${$as_ac_var+set}\" = set"; then
24610   echo $ECHO_N "(cached) $ECHO_C" >&6
24611 else
24612   if test x$gcc_no_link = xyes; then
24613   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24615    { (exit 1); exit 1; }; }
24616 fi
24617 cat >conftest.$ac_ext <<_ACEOF
24618 /* confdefs.h.  */
24619 _ACEOF
24620 cat confdefs.h >>conftest.$ac_ext
24621 cat >>conftest.$ac_ext <<_ACEOF
24622 /* end confdefs.h.  */
24623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24624    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24625 #define $ac_func innocuous_$ac_func
24626
24627 /* System header to define __stub macros and hopefully few prototypes,
24628     which can conflict with char $ac_func (); below.
24629     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24630     <limits.h> exists even on freestanding compilers.  */
24631
24632 #ifdef __STDC__
24633 # include <limits.h>
24634 #else
24635 # include <assert.h>
24636 #endif
24637
24638 #undef $ac_func
24639
24640 /* Override any gcc2 internal prototype to avoid an error.  */
24641 #ifdef __cplusplus
24642 extern "C"
24643 {
24644 #endif
24645 /* We use char because int might match the return type of a gcc2
24646    builtin and then its argument prototype would still apply.  */
24647 char $ac_func ();
24648 /* The GNU C library defines this for functions which it implements
24649     to always fail with ENOSYS.  Some functions are actually named
24650     something starting with __ and the normal name is an alias.  */
24651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24652 choke me
24653 #else
24654 char (*f) () = $ac_func;
24655 #endif
24656 #ifdef __cplusplus
24657 }
24658 #endif
24659
24660 int
24661 main ()
24662 {
24663 return f != $ac_func;
24664   ;
24665   return 0;
24666 }
24667 _ACEOF
24668 rm -f conftest.$ac_objext conftest$ac_exeext
24669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24670   (eval $ac_link) 2>conftest.er1
24671   ac_status=$?
24672   grep -v '^ *+' conftest.er1 >conftest.err
24673   rm -f conftest.er1
24674   cat conftest.err >&5
24675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24676   (exit $ac_status); } &&
24677          { ac_try='test -z "$ac_c_werror_flag"
24678                          || test ! -s conftest.err'
24679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24680   (eval $ac_try) 2>&5
24681   ac_status=$?
24682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24683   (exit $ac_status); }; } &&
24684          { ac_try='test -s conftest$ac_exeext'
24685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24686   (eval $ac_try) 2>&5
24687   ac_status=$?
24688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24689   (exit $ac_status); }; }; then
24690   eval "$as_ac_var=yes"
24691 else
24692   echo "$as_me: failed program was:" >&5
24693 sed 's/^/| /' conftest.$ac_ext >&5
24694
24695 eval "$as_ac_var=no"
24696 fi
24697 rm -f conftest.err conftest.$ac_objext \
24698       conftest$ac_exeext conftest.$ac_ext
24699 fi
24700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24702 if test `eval echo '${'$as_ac_var'}'` = yes; then
24703   cat >>confdefs.h <<_ACEOF
24704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24705 _ACEOF
24706
24707 fi
24708 done
24709
24710   else
24711
24712   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
24713 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
24714   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24715     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
24716   echo $ECHO_N "(cached) $ECHO_C" >&6
24717 else
24718
24719
24720
24721       ac_ext=cc
24722 ac_cpp='$CXXCPP $CPPFLAGS'
24723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24726
24727       cat >conftest.$ac_ext <<_ACEOF
24728 /* confdefs.h.  */
24729 _ACEOF
24730 cat confdefs.h >>conftest.$ac_ext
24731 cat >>conftest.$ac_ext <<_ACEOF
24732 /* end confdefs.h.  */
24733 #include <math.h>
24734                       #ifdef HAVE_IEEEFP_H
24735                       #include <ieeefp.h>
24736                       #endif
24737
24738 int
24739 main ()
24740 {
24741  _sqrtl(0);
24742   ;
24743   return 0;
24744 }
24745 _ACEOF
24746 rm -f conftest.$ac_objext
24747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24748   (eval $ac_compile) 2>conftest.er1
24749   ac_status=$?
24750   grep -v '^ *+' conftest.er1 >conftest.err
24751   rm -f conftest.er1
24752   cat conftest.err >&5
24753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24754   (exit $ac_status); } &&
24755          { ac_try='test -z "$ac_cxx_werror_flag"
24756                          || test ! -s conftest.err'
24757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24758   (eval $ac_try) 2>&5
24759   ac_status=$?
24760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24761   (exit $ac_status); }; } &&
24762          { ac_try='test -s conftest.$ac_objext'
24763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24764   (eval $ac_try) 2>&5
24765   ac_status=$?
24766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24767   (exit $ac_status); }; }; then
24768   glibcxx_cv_func__sqrtl_use=yes
24769 else
24770   echo "$as_me: failed program was:" >&5
24771 sed 's/^/| /' conftest.$ac_ext >&5
24772
24773 glibcxx_cv_func__sqrtl_use=no
24774 fi
24775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24776       ac_ext=c
24777 ac_cpp='$CPP $CPPFLAGS'
24778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24781
24782
24783 fi
24784
24785   fi
24786   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
24787 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
24788
24789     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
24790
24791 for ac_func in _sqrtl
24792 do
24793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24794 echo "$as_me:$LINENO: checking for $ac_func" >&5
24795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24796 if eval "test \"\${$as_ac_var+set}\" = set"; then
24797   echo $ECHO_N "(cached) $ECHO_C" >&6
24798 else
24799   if test x$gcc_no_link = xyes; then
24800   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24802    { (exit 1); exit 1; }; }
24803 fi
24804 cat >conftest.$ac_ext <<_ACEOF
24805 /* confdefs.h.  */
24806 _ACEOF
24807 cat confdefs.h >>conftest.$ac_ext
24808 cat >>conftest.$ac_ext <<_ACEOF
24809 /* end confdefs.h.  */
24810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24811    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24812 #define $ac_func innocuous_$ac_func
24813
24814 /* System header to define __stub macros and hopefully few prototypes,
24815     which can conflict with char $ac_func (); below.
24816     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24817     <limits.h> exists even on freestanding compilers.  */
24818
24819 #ifdef __STDC__
24820 # include <limits.h>
24821 #else
24822 # include <assert.h>
24823 #endif
24824
24825 #undef $ac_func
24826
24827 /* Override any gcc2 internal prototype to avoid an error.  */
24828 #ifdef __cplusplus
24829 extern "C"
24830 {
24831 #endif
24832 /* We use char because int might match the return type of a gcc2
24833    builtin and then its argument prototype would still apply.  */
24834 char $ac_func ();
24835 /* The GNU C library defines this for functions which it implements
24836     to always fail with ENOSYS.  Some functions are actually named
24837     something starting with __ and the normal name is an alias.  */
24838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24839 choke me
24840 #else
24841 char (*f) () = $ac_func;
24842 #endif
24843 #ifdef __cplusplus
24844 }
24845 #endif
24846
24847 int
24848 main ()
24849 {
24850 return f != $ac_func;
24851   ;
24852   return 0;
24853 }
24854 _ACEOF
24855 rm -f conftest.$ac_objext conftest$ac_exeext
24856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24857   (eval $ac_link) 2>conftest.er1
24858   ac_status=$?
24859   grep -v '^ *+' conftest.er1 >conftest.err
24860   rm -f conftest.er1
24861   cat conftest.err >&5
24862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24863   (exit $ac_status); } &&
24864          { ac_try='test -z "$ac_c_werror_flag"
24865                          || test ! -s conftest.err'
24866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24867   (eval $ac_try) 2>&5
24868   ac_status=$?
24869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24870   (exit $ac_status); }; } &&
24871          { ac_try='test -s conftest$ac_exeext'
24872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24873   (eval $ac_try) 2>&5
24874   ac_status=$?
24875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24876   (exit $ac_status); }; }; then
24877   eval "$as_ac_var=yes"
24878 else
24879   echo "$as_me: failed program was:" >&5
24880 sed 's/^/| /' conftest.$ac_ext >&5
24881
24882 eval "$as_ac_var=no"
24883 fi
24884 rm -f conftest.err conftest.$ac_objext \
24885       conftest$ac_exeext conftest.$ac_ext
24886 fi
24887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24889 if test `eval echo '${'$as_ac_var'}'` = yes; then
24890   cat >>confdefs.h <<_ACEOF
24891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24892 _ACEOF
24893
24894 fi
24895 done
24896
24897     fi
24898   fi
24899
24900
24901
24902
24903
24904
24905   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
24906 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
24907   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
24908     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
24909   echo $ECHO_N "(cached) $ECHO_C" >&6
24910 else
24911
24912
24913
24914       ac_ext=cc
24915 ac_cpp='$CXXCPP $CPPFLAGS'
24916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24919
24920       cat >conftest.$ac_ext <<_ACEOF
24921 /* confdefs.h.  */
24922 _ACEOF
24923 cat confdefs.h >>conftest.$ac_ext
24924 cat >>conftest.$ac_ext <<_ACEOF
24925 /* end confdefs.h.  */
24926 #include <math.h>
24927 int
24928 main ()
24929 {
24930  sincosl(0, 0, 0);
24931   ;
24932   return 0;
24933 }
24934 _ACEOF
24935 rm -f conftest.$ac_objext
24936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24937   (eval $ac_compile) 2>conftest.er1
24938   ac_status=$?
24939   grep -v '^ *+' conftest.er1 >conftest.err
24940   rm -f conftest.er1
24941   cat conftest.err >&5
24942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24943   (exit $ac_status); } &&
24944          { ac_try='test -z "$ac_cxx_werror_flag"
24945                          || test ! -s conftest.err'
24946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24947   (eval $ac_try) 2>&5
24948   ac_status=$?
24949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24950   (exit $ac_status); }; } &&
24951          { ac_try='test -s conftest.$ac_objext'
24952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24953   (eval $ac_try) 2>&5
24954   ac_status=$?
24955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24956   (exit $ac_status); }; }; then
24957   glibcxx_cv_func_sincosl_use=yes
24958 else
24959   echo "$as_me: failed program was:" >&5
24960 sed 's/^/| /' conftest.$ac_ext >&5
24961
24962 glibcxx_cv_func_sincosl_use=no
24963 fi
24964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24965       ac_ext=c
24966 ac_cpp='$CPP $CPPFLAGS'
24967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24970
24971
24972 fi
24973
24974   fi
24975   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
24976 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
24977
24978   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
24979
24980 for ac_func in sincosl
24981 do
24982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24983 echo "$as_me:$LINENO: checking for $ac_func" >&5
24984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24985 if eval "test \"\${$as_ac_var+set}\" = set"; then
24986   echo $ECHO_N "(cached) $ECHO_C" >&6
24987 else
24988   if test x$gcc_no_link = xyes; then
24989   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24991    { (exit 1); exit 1; }; }
24992 fi
24993 cat >conftest.$ac_ext <<_ACEOF
24994 /* confdefs.h.  */
24995 _ACEOF
24996 cat confdefs.h >>conftest.$ac_ext
24997 cat >>conftest.$ac_ext <<_ACEOF
24998 /* end confdefs.h.  */
24999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25000    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25001 #define $ac_func innocuous_$ac_func
25002
25003 /* System header to define __stub macros and hopefully few prototypes,
25004     which can conflict with char $ac_func (); below.
25005     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25006     <limits.h> exists even on freestanding compilers.  */
25007
25008 #ifdef __STDC__
25009 # include <limits.h>
25010 #else
25011 # include <assert.h>
25012 #endif
25013
25014 #undef $ac_func
25015
25016 /* Override any gcc2 internal prototype to avoid an error.  */
25017 #ifdef __cplusplus
25018 extern "C"
25019 {
25020 #endif
25021 /* We use char because int might match the return type of a gcc2
25022    builtin and then its argument prototype would still apply.  */
25023 char $ac_func ();
25024 /* The GNU C library defines this for functions which it implements
25025     to always fail with ENOSYS.  Some functions are actually named
25026     something starting with __ and the normal name is an alias.  */
25027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25028 choke me
25029 #else
25030 char (*f) () = $ac_func;
25031 #endif
25032 #ifdef __cplusplus
25033 }
25034 #endif
25035
25036 int
25037 main ()
25038 {
25039 return f != $ac_func;
25040   ;
25041   return 0;
25042 }
25043 _ACEOF
25044 rm -f conftest.$ac_objext conftest$ac_exeext
25045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25046   (eval $ac_link) 2>conftest.er1
25047   ac_status=$?
25048   grep -v '^ *+' conftest.er1 >conftest.err
25049   rm -f conftest.er1
25050   cat conftest.err >&5
25051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25052   (exit $ac_status); } &&
25053          { ac_try='test -z "$ac_c_werror_flag"
25054                          || test ! -s conftest.err'
25055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25056   (eval $ac_try) 2>&5
25057   ac_status=$?
25058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25059   (exit $ac_status); }; } &&
25060          { ac_try='test -s conftest$ac_exeext'
25061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25062   (eval $ac_try) 2>&5
25063   ac_status=$?
25064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25065   (exit $ac_status); }; }; then
25066   eval "$as_ac_var=yes"
25067 else
25068   echo "$as_me: failed program was:" >&5
25069 sed 's/^/| /' conftest.$ac_ext >&5
25070
25071 eval "$as_ac_var=no"
25072 fi
25073 rm -f conftest.err conftest.$ac_objext \
25074       conftest$ac_exeext conftest.$ac_ext
25075 fi
25076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25078 if test `eval echo '${'$as_ac_var'}'` = yes; then
25079   cat >>confdefs.h <<_ACEOF
25080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25081 _ACEOF
25082
25083 fi
25084 done
25085
25086   else
25087
25088   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
25089 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
25090   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25091     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
25092   echo $ECHO_N "(cached) $ECHO_C" >&6
25093 else
25094
25095
25096
25097       ac_ext=cc
25098 ac_cpp='$CXXCPP $CPPFLAGS'
25099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25102
25103       cat >conftest.$ac_ext <<_ACEOF
25104 /* confdefs.h.  */
25105 _ACEOF
25106 cat confdefs.h >>conftest.$ac_ext
25107 cat >>conftest.$ac_ext <<_ACEOF
25108 /* end confdefs.h.  */
25109 #include <math.h>
25110 int
25111 main ()
25112 {
25113  _sincosl(0, 0, 0);
25114   ;
25115   return 0;
25116 }
25117 _ACEOF
25118 rm -f conftest.$ac_objext
25119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25120   (eval $ac_compile) 2>conftest.er1
25121   ac_status=$?
25122   grep -v '^ *+' conftest.er1 >conftest.err
25123   rm -f conftest.er1
25124   cat conftest.err >&5
25125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25126   (exit $ac_status); } &&
25127          { ac_try='test -z "$ac_cxx_werror_flag"
25128                          || test ! -s conftest.err'
25129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25130   (eval $ac_try) 2>&5
25131   ac_status=$?
25132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25133   (exit $ac_status); }; } &&
25134          { ac_try='test -s conftest.$ac_objext'
25135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25136   (eval $ac_try) 2>&5
25137   ac_status=$?
25138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25139   (exit $ac_status); }; }; then
25140   glibcxx_cv_func__sincosl_use=yes
25141 else
25142   echo "$as_me: failed program was:" >&5
25143 sed 's/^/| /' conftest.$ac_ext >&5
25144
25145 glibcxx_cv_func__sincosl_use=no
25146 fi
25147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25148       ac_ext=c
25149 ac_cpp='$CPP $CPPFLAGS'
25150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25153
25154
25155 fi
25156
25157   fi
25158   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
25159 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
25160
25161     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25162
25163 for ac_func in _sincosl
25164 do
25165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25166 echo "$as_me:$LINENO: checking for $ac_func" >&5
25167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25168 if eval "test \"\${$as_ac_var+set}\" = set"; then
25169   echo $ECHO_N "(cached) $ECHO_C" >&6
25170 else
25171   if test x$gcc_no_link = xyes; then
25172   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25174    { (exit 1); exit 1; }; }
25175 fi
25176 cat >conftest.$ac_ext <<_ACEOF
25177 /* confdefs.h.  */
25178 _ACEOF
25179 cat confdefs.h >>conftest.$ac_ext
25180 cat >>conftest.$ac_ext <<_ACEOF
25181 /* end confdefs.h.  */
25182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25183    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25184 #define $ac_func innocuous_$ac_func
25185
25186 /* System header to define __stub macros and hopefully few prototypes,
25187     which can conflict with char $ac_func (); below.
25188     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25189     <limits.h> exists even on freestanding compilers.  */
25190
25191 #ifdef __STDC__
25192 # include <limits.h>
25193 #else
25194 # include <assert.h>
25195 #endif
25196
25197 #undef $ac_func
25198
25199 /* Override any gcc2 internal prototype to avoid an error.  */
25200 #ifdef __cplusplus
25201 extern "C"
25202 {
25203 #endif
25204 /* We use char because int might match the return type of a gcc2
25205    builtin and then its argument prototype would still apply.  */
25206 char $ac_func ();
25207 /* The GNU C library defines this for functions which it implements
25208     to always fail with ENOSYS.  Some functions are actually named
25209     something starting with __ and the normal name is an alias.  */
25210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25211 choke me
25212 #else
25213 char (*f) () = $ac_func;
25214 #endif
25215 #ifdef __cplusplus
25216 }
25217 #endif
25218
25219 int
25220 main ()
25221 {
25222 return f != $ac_func;
25223   ;
25224   return 0;
25225 }
25226 _ACEOF
25227 rm -f conftest.$ac_objext conftest$ac_exeext
25228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25229   (eval $ac_link) 2>conftest.er1
25230   ac_status=$?
25231   grep -v '^ *+' conftest.er1 >conftest.err
25232   rm -f conftest.er1
25233   cat conftest.err >&5
25234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25235   (exit $ac_status); } &&
25236          { ac_try='test -z "$ac_c_werror_flag"
25237                          || test ! -s conftest.err'
25238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25239   (eval $ac_try) 2>&5
25240   ac_status=$?
25241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25242   (exit $ac_status); }; } &&
25243          { ac_try='test -s conftest$ac_exeext'
25244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25245   (eval $ac_try) 2>&5
25246   ac_status=$?
25247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25248   (exit $ac_status); }; }; then
25249   eval "$as_ac_var=yes"
25250 else
25251   echo "$as_me: failed program was:" >&5
25252 sed 's/^/| /' conftest.$ac_ext >&5
25253
25254 eval "$as_ac_var=no"
25255 fi
25256 rm -f conftest.err conftest.$ac_objext \
25257       conftest$ac_exeext conftest.$ac_ext
25258 fi
25259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25261 if test `eval echo '${'$as_ac_var'}'` = yes; then
25262   cat >>confdefs.h <<_ACEOF
25263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25264 _ACEOF
25265
25266 fi
25267 done
25268
25269     fi
25270   fi
25271
25272
25273
25274
25275
25276
25277   echo "$as_me:$LINENO: checking for finitel declaration" >&5
25278 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
25279   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25280     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
25281   echo $ECHO_N "(cached) $ECHO_C" >&6
25282 else
25283
25284
25285
25286       ac_ext=cc
25287 ac_cpp='$CXXCPP $CPPFLAGS'
25288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25291
25292       cat >conftest.$ac_ext <<_ACEOF
25293 /* confdefs.h.  */
25294 _ACEOF
25295 cat confdefs.h >>conftest.$ac_ext
25296 cat >>conftest.$ac_ext <<_ACEOF
25297 /* end confdefs.h.  */
25298 #include <math.h>
25299                       #ifdef HAVE_IEEEFP_H
25300                       #include <ieeefp.h>
25301                       #endif
25302
25303 int
25304 main ()
25305 {
25306  finitel(0);
25307   ;
25308   return 0;
25309 }
25310 _ACEOF
25311 rm -f conftest.$ac_objext
25312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25313   (eval $ac_compile) 2>conftest.er1
25314   ac_status=$?
25315   grep -v '^ *+' conftest.er1 >conftest.err
25316   rm -f conftest.er1
25317   cat conftest.err >&5
25318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25319   (exit $ac_status); } &&
25320          { ac_try='test -z "$ac_cxx_werror_flag"
25321                          || test ! -s conftest.err'
25322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25323   (eval $ac_try) 2>&5
25324   ac_status=$?
25325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25326   (exit $ac_status); }; } &&
25327          { ac_try='test -s conftest.$ac_objext'
25328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25329   (eval $ac_try) 2>&5
25330   ac_status=$?
25331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25332   (exit $ac_status); }; }; then
25333   glibcxx_cv_func_finitel_use=yes
25334 else
25335   echo "$as_me: failed program was:" >&5
25336 sed 's/^/| /' conftest.$ac_ext >&5
25337
25338 glibcxx_cv_func_finitel_use=no
25339 fi
25340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25341       ac_ext=c
25342 ac_cpp='$CPP $CPPFLAGS'
25343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25346
25347
25348 fi
25349
25350   fi
25351   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
25352 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
25353
25354   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25355
25356 for ac_func in finitel
25357 do
25358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25359 echo "$as_me:$LINENO: checking for $ac_func" >&5
25360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25361 if eval "test \"\${$as_ac_var+set}\" = set"; then
25362   echo $ECHO_N "(cached) $ECHO_C" >&6
25363 else
25364   if test x$gcc_no_link = xyes; then
25365   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25367    { (exit 1); exit 1; }; }
25368 fi
25369 cat >conftest.$ac_ext <<_ACEOF
25370 /* confdefs.h.  */
25371 _ACEOF
25372 cat confdefs.h >>conftest.$ac_ext
25373 cat >>conftest.$ac_ext <<_ACEOF
25374 /* end confdefs.h.  */
25375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25376    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25377 #define $ac_func innocuous_$ac_func
25378
25379 /* System header to define __stub macros and hopefully few prototypes,
25380     which can conflict with char $ac_func (); below.
25381     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25382     <limits.h> exists even on freestanding compilers.  */
25383
25384 #ifdef __STDC__
25385 # include <limits.h>
25386 #else
25387 # include <assert.h>
25388 #endif
25389
25390 #undef $ac_func
25391
25392 /* Override any gcc2 internal prototype to avoid an error.  */
25393 #ifdef __cplusplus
25394 extern "C"
25395 {
25396 #endif
25397 /* We use char because int might match the return type of a gcc2
25398    builtin and then its argument prototype would still apply.  */
25399 char $ac_func ();
25400 /* The GNU C library defines this for functions which it implements
25401     to always fail with ENOSYS.  Some functions are actually named
25402     something starting with __ and the normal name is an alias.  */
25403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25404 choke me
25405 #else
25406 char (*f) () = $ac_func;
25407 #endif
25408 #ifdef __cplusplus
25409 }
25410 #endif
25411
25412 int
25413 main ()
25414 {
25415 return f != $ac_func;
25416   ;
25417   return 0;
25418 }
25419 _ACEOF
25420 rm -f conftest.$ac_objext conftest$ac_exeext
25421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25422   (eval $ac_link) 2>conftest.er1
25423   ac_status=$?
25424   grep -v '^ *+' conftest.er1 >conftest.err
25425   rm -f conftest.er1
25426   cat conftest.err >&5
25427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25428   (exit $ac_status); } &&
25429          { ac_try='test -z "$ac_c_werror_flag"
25430                          || test ! -s conftest.err'
25431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25432   (eval $ac_try) 2>&5
25433   ac_status=$?
25434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25435   (exit $ac_status); }; } &&
25436          { ac_try='test -s conftest$ac_exeext'
25437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25438   (eval $ac_try) 2>&5
25439   ac_status=$?
25440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25441   (exit $ac_status); }; }; then
25442   eval "$as_ac_var=yes"
25443 else
25444   echo "$as_me: failed program was:" >&5
25445 sed 's/^/| /' conftest.$ac_ext >&5
25446
25447 eval "$as_ac_var=no"
25448 fi
25449 rm -f conftest.err conftest.$ac_objext \
25450       conftest$ac_exeext conftest.$ac_ext
25451 fi
25452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25454 if test `eval echo '${'$as_ac_var'}'` = yes; then
25455   cat >>confdefs.h <<_ACEOF
25456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25457 _ACEOF
25458
25459 fi
25460 done
25461
25462   else
25463
25464   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
25465 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
25466   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25467     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
25468   echo $ECHO_N "(cached) $ECHO_C" >&6
25469 else
25470
25471
25472
25473       ac_ext=cc
25474 ac_cpp='$CXXCPP $CPPFLAGS'
25475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25478
25479       cat >conftest.$ac_ext <<_ACEOF
25480 /* confdefs.h.  */
25481 _ACEOF
25482 cat confdefs.h >>conftest.$ac_ext
25483 cat >>conftest.$ac_ext <<_ACEOF
25484 /* end confdefs.h.  */
25485 #include <math.h>
25486                       #ifdef HAVE_IEEEFP_H
25487                       #include <ieeefp.h>
25488                       #endif
25489
25490 int
25491 main ()
25492 {
25493  _finitel(0);
25494   ;
25495   return 0;
25496 }
25497 _ACEOF
25498 rm -f conftest.$ac_objext
25499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25500   (eval $ac_compile) 2>conftest.er1
25501   ac_status=$?
25502   grep -v '^ *+' conftest.er1 >conftest.err
25503   rm -f conftest.er1
25504   cat conftest.err >&5
25505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25506   (exit $ac_status); } &&
25507          { ac_try='test -z "$ac_cxx_werror_flag"
25508                          || test ! -s conftest.err'
25509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25510   (eval $ac_try) 2>&5
25511   ac_status=$?
25512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25513   (exit $ac_status); }; } &&
25514          { ac_try='test -s conftest.$ac_objext'
25515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25516   (eval $ac_try) 2>&5
25517   ac_status=$?
25518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25519   (exit $ac_status); }; }; then
25520   glibcxx_cv_func__finitel_use=yes
25521 else
25522   echo "$as_me: failed program was:" >&5
25523 sed 's/^/| /' conftest.$ac_ext >&5
25524
25525 glibcxx_cv_func__finitel_use=no
25526 fi
25527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25528       ac_ext=c
25529 ac_cpp='$CPP $CPPFLAGS'
25530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25533
25534
25535 fi
25536
25537   fi
25538   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
25539 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
25540
25541     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25542
25543 for ac_func in _finitel
25544 do
25545 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25546 echo "$as_me:$LINENO: checking for $ac_func" >&5
25547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25548 if eval "test \"\${$as_ac_var+set}\" = set"; then
25549   echo $ECHO_N "(cached) $ECHO_C" >&6
25550 else
25551   if test x$gcc_no_link = xyes; then
25552   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25554    { (exit 1); exit 1; }; }
25555 fi
25556 cat >conftest.$ac_ext <<_ACEOF
25557 /* confdefs.h.  */
25558 _ACEOF
25559 cat confdefs.h >>conftest.$ac_ext
25560 cat >>conftest.$ac_ext <<_ACEOF
25561 /* end confdefs.h.  */
25562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25563    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25564 #define $ac_func innocuous_$ac_func
25565
25566 /* System header to define __stub macros and hopefully few prototypes,
25567     which can conflict with char $ac_func (); below.
25568     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25569     <limits.h> exists even on freestanding compilers.  */
25570
25571 #ifdef __STDC__
25572 # include <limits.h>
25573 #else
25574 # include <assert.h>
25575 #endif
25576
25577 #undef $ac_func
25578
25579 /* Override any gcc2 internal prototype to avoid an error.  */
25580 #ifdef __cplusplus
25581 extern "C"
25582 {
25583 #endif
25584 /* We use char because int might match the return type of a gcc2
25585    builtin and then its argument prototype would still apply.  */
25586 char $ac_func ();
25587 /* The GNU C library defines this for functions which it implements
25588     to always fail with ENOSYS.  Some functions are actually named
25589     something starting with __ and the normal name is an alias.  */
25590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25591 choke me
25592 #else
25593 char (*f) () = $ac_func;
25594 #endif
25595 #ifdef __cplusplus
25596 }
25597 #endif
25598
25599 int
25600 main ()
25601 {
25602 return f != $ac_func;
25603   ;
25604   return 0;
25605 }
25606 _ACEOF
25607 rm -f conftest.$ac_objext conftest$ac_exeext
25608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25609   (eval $ac_link) 2>conftest.er1
25610   ac_status=$?
25611   grep -v '^ *+' conftest.er1 >conftest.err
25612   rm -f conftest.er1
25613   cat conftest.err >&5
25614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25615   (exit $ac_status); } &&
25616          { ac_try='test -z "$ac_c_werror_flag"
25617                          || test ! -s conftest.err'
25618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25619   (eval $ac_try) 2>&5
25620   ac_status=$?
25621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25622   (exit $ac_status); }; } &&
25623          { ac_try='test -s conftest$ac_exeext'
25624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25625   (eval $ac_try) 2>&5
25626   ac_status=$?
25627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25628   (exit $ac_status); }; }; then
25629   eval "$as_ac_var=yes"
25630 else
25631   echo "$as_me: failed program was:" >&5
25632 sed 's/^/| /' conftest.$ac_ext >&5
25633
25634 eval "$as_ac_var=no"
25635 fi
25636 rm -f conftest.err conftest.$ac_objext \
25637       conftest$ac_exeext conftest.$ac_ext
25638 fi
25639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25641 if test `eval echo '${'$as_ac_var'}'` = yes; then
25642   cat >>confdefs.h <<_ACEOF
25643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25644 _ACEOF
25645
25646 fi
25647 done
25648
25649     fi
25650   fi
25651
25652
25653
25654
25655
25656   LIBS="$ac_save_LIBS"
25657   CXXFLAGS="$ac_save_CXXFLAGS"
25658
25659
25660
25661   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25662 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25663   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25664     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25665   echo $ECHO_N "(cached) $ECHO_C" >&6
25666 else
25667
25668
25669
25670       ac_ext=cc
25671 ac_cpp='$CXXCPP $CPPFLAGS'
25672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25675
25676       cat >conftest.$ac_ext <<_ACEOF
25677 /* confdefs.h.  */
25678 _ACEOF
25679 cat confdefs.h >>conftest.$ac_ext
25680 cat >>conftest.$ac_ext <<_ACEOF
25681 /* end confdefs.h.  */
25682 #include <math.h>
25683 int
25684 main ()
25685 {
25686  __builtin_abs(0);
25687   ;
25688   return 0;
25689 }
25690 _ACEOF
25691 rm -f conftest.$ac_objext
25692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25693   (eval $ac_compile) 2>conftest.er1
25694   ac_status=$?
25695   grep -v '^ *+' conftest.er1 >conftest.err
25696   rm -f conftest.er1
25697   cat conftest.err >&5
25698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25699   (exit $ac_status); } &&
25700          { ac_try='test -z "$ac_cxx_werror_flag"
25701                          || test ! -s conftest.err'
25702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25703   (eval $ac_try) 2>&5
25704   ac_status=$?
25705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25706   (exit $ac_status); }; } &&
25707          { ac_try='test -s conftest.$ac_objext'
25708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25709   (eval $ac_try) 2>&5
25710   ac_status=$?
25711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25712   (exit $ac_status); }; }; then
25713   glibcxx_cv_func___builtin_abs_use=yes
25714 else
25715   echo "$as_me: failed program was:" >&5
25716 sed 's/^/| /' conftest.$ac_ext >&5
25717
25718 glibcxx_cv_func___builtin_abs_use=no
25719 fi
25720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25721       ac_ext=c
25722 ac_cpp='$CPP $CPPFLAGS'
25723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25726
25727
25728 fi
25729
25730   fi
25731   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25732 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25733   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25734     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25735 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25736     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25737       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25738   echo $ECHO_N "(cached) $ECHO_C" >&6
25739 else
25740
25741         if test x$gcc_no_link = xyes; then
25742   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25744    { (exit 1); exit 1; }; }
25745 fi
25746 cat >conftest.$ac_ext <<_ACEOF
25747 /* confdefs.h.  */
25748 _ACEOF
25749 cat confdefs.h >>conftest.$ac_ext
25750 cat >>conftest.$ac_ext <<_ACEOF
25751 /* end confdefs.h.  */
25752 #include <math.h>
25753 int
25754 main ()
25755 {
25756  __builtin_abs(0);
25757   ;
25758   return 0;
25759 }
25760 _ACEOF
25761 rm -f conftest.$ac_objext conftest$ac_exeext
25762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25763   (eval $ac_link) 2>conftest.er1
25764   ac_status=$?
25765   grep -v '^ *+' conftest.er1 >conftest.err
25766   rm -f conftest.er1
25767   cat conftest.err >&5
25768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25769   (exit $ac_status); } &&
25770          { ac_try='test -z "$ac_c_werror_flag"
25771                          || test ! -s conftest.err'
25772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25773   (eval $ac_try) 2>&5
25774   ac_status=$?
25775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25776   (exit $ac_status); }; } &&
25777          { ac_try='test -s conftest$ac_exeext'
25778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25779   (eval $ac_try) 2>&5
25780   ac_status=$?
25781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25782   (exit $ac_status); }; }; then
25783   glibcxx_cv_func___builtin_abs_link=yes
25784 else
25785   echo "$as_me: failed program was:" >&5
25786 sed 's/^/| /' conftest.$ac_ext >&5
25787
25788 glibcxx_cv_func___builtin_abs_link=no
25789 fi
25790 rm -f conftest.err conftest.$ac_objext \
25791       conftest$ac_exeext conftest.$ac_ext
25792
25793 fi
25794
25795     fi
25796     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
25797 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
25798
25799     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
25800
25801 cat >>confdefs.h <<\_ACEOF
25802 #define HAVE___BUILTIN_ABS 1
25803 _ACEOF
25804
25805     fi
25806
25807   fi
25808
25809
25810   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
25811 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
25812   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
25813     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
25814   echo $ECHO_N "(cached) $ECHO_C" >&6
25815 else
25816
25817
25818
25819       ac_ext=cc
25820 ac_cpp='$CXXCPP $CPPFLAGS'
25821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25824
25825       cat >conftest.$ac_ext <<_ACEOF
25826 /* confdefs.h.  */
25827 _ACEOF
25828 cat confdefs.h >>conftest.$ac_ext
25829 cat >>conftest.$ac_ext <<_ACEOF
25830 /* end confdefs.h.  */
25831 #include <math.h>
25832 int
25833 main ()
25834 {
25835  __builtin_fabsf(0);
25836   ;
25837   return 0;
25838 }
25839 _ACEOF
25840 rm -f conftest.$ac_objext
25841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25842   (eval $ac_compile) 2>conftest.er1
25843   ac_status=$?
25844   grep -v '^ *+' conftest.er1 >conftest.err
25845   rm -f conftest.er1
25846   cat conftest.err >&5
25847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25848   (exit $ac_status); } &&
25849          { ac_try='test -z "$ac_cxx_werror_flag"
25850                          || test ! -s conftest.err'
25851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25852   (eval $ac_try) 2>&5
25853   ac_status=$?
25854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25855   (exit $ac_status); }; } &&
25856          { ac_try='test -s conftest.$ac_objext'
25857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25858   (eval $ac_try) 2>&5
25859   ac_status=$?
25860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25861   (exit $ac_status); }; }; then
25862   glibcxx_cv_func___builtin_fabsf_use=yes
25863 else
25864   echo "$as_me: failed program was:" >&5
25865 sed 's/^/| /' conftest.$ac_ext >&5
25866
25867 glibcxx_cv_func___builtin_fabsf_use=no
25868 fi
25869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25870       ac_ext=c
25871 ac_cpp='$CPP $CPPFLAGS'
25872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25875
25876
25877 fi
25878
25879   fi
25880   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
25881 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
25882   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
25883     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
25884 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
25885     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
25886       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
25887   echo $ECHO_N "(cached) $ECHO_C" >&6
25888 else
25889
25890         if test x$gcc_no_link = xyes; then
25891   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25893    { (exit 1); exit 1; }; }
25894 fi
25895 cat >conftest.$ac_ext <<_ACEOF
25896 /* confdefs.h.  */
25897 _ACEOF
25898 cat confdefs.h >>conftest.$ac_ext
25899 cat >>conftest.$ac_ext <<_ACEOF
25900 /* end confdefs.h.  */
25901 #include <math.h>
25902 int
25903 main ()
25904 {
25905  __builtin_fabsf(0);
25906   ;
25907   return 0;
25908 }
25909 _ACEOF
25910 rm -f conftest.$ac_objext conftest$ac_exeext
25911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25912   (eval $ac_link) 2>conftest.er1
25913   ac_status=$?
25914   grep -v '^ *+' conftest.er1 >conftest.err
25915   rm -f conftest.er1
25916   cat conftest.err >&5
25917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25918   (exit $ac_status); } &&
25919          { ac_try='test -z "$ac_c_werror_flag"
25920                          || test ! -s conftest.err'
25921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25922   (eval $ac_try) 2>&5
25923   ac_status=$?
25924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25925   (exit $ac_status); }; } &&
25926          { ac_try='test -s conftest$ac_exeext'
25927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25928   (eval $ac_try) 2>&5
25929   ac_status=$?
25930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25931   (exit $ac_status); }; }; then
25932   glibcxx_cv_func___builtin_fabsf_link=yes
25933 else
25934   echo "$as_me: failed program was:" >&5
25935 sed 's/^/| /' conftest.$ac_ext >&5
25936
25937 glibcxx_cv_func___builtin_fabsf_link=no
25938 fi
25939 rm -f conftest.err conftest.$ac_objext \
25940       conftest$ac_exeext conftest.$ac_ext
25941
25942 fi
25943
25944     fi
25945     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
25946 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
25947
25948     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
25949
25950 cat >>confdefs.h <<\_ACEOF
25951 #define HAVE___BUILTIN_FABSF 1
25952 _ACEOF
25953
25954     fi
25955
25956   fi
25957
25958
25959   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
25960 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
25961   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
25962     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
25963   echo $ECHO_N "(cached) $ECHO_C" >&6
25964 else
25965
25966
25967
25968       ac_ext=cc
25969 ac_cpp='$CXXCPP $CPPFLAGS'
25970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25973
25974       cat >conftest.$ac_ext <<_ACEOF
25975 /* confdefs.h.  */
25976 _ACEOF
25977 cat confdefs.h >>conftest.$ac_ext
25978 cat >>conftest.$ac_ext <<_ACEOF
25979 /* end confdefs.h.  */
25980 #include <math.h>
25981 int
25982 main ()
25983 {
25984  __builtin_fabs(0);
25985   ;
25986   return 0;
25987 }
25988 _ACEOF
25989 rm -f conftest.$ac_objext
25990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25991   (eval $ac_compile) 2>conftest.er1
25992   ac_status=$?
25993   grep -v '^ *+' conftest.er1 >conftest.err
25994   rm -f conftest.er1
25995   cat conftest.err >&5
25996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25997   (exit $ac_status); } &&
25998          { ac_try='test -z "$ac_cxx_werror_flag"
25999                          || test ! -s conftest.err'
26000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26001   (eval $ac_try) 2>&5
26002   ac_status=$?
26003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26004   (exit $ac_status); }; } &&
26005          { ac_try='test -s conftest.$ac_objext'
26006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26007   (eval $ac_try) 2>&5
26008   ac_status=$?
26009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26010   (exit $ac_status); }; }; then
26011   glibcxx_cv_func___builtin_fabs_use=yes
26012 else
26013   echo "$as_me: failed program was:" >&5
26014 sed 's/^/| /' conftest.$ac_ext >&5
26015
26016 glibcxx_cv_func___builtin_fabs_use=no
26017 fi
26018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26019       ac_ext=c
26020 ac_cpp='$CPP $CPPFLAGS'
26021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26024
26025
26026 fi
26027
26028   fi
26029   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
26030 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
26031   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
26032     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
26033 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
26034     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
26035       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
26036   echo $ECHO_N "(cached) $ECHO_C" >&6
26037 else
26038
26039         if test x$gcc_no_link = xyes; then
26040   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26042    { (exit 1); exit 1; }; }
26043 fi
26044 cat >conftest.$ac_ext <<_ACEOF
26045 /* confdefs.h.  */
26046 _ACEOF
26047 cat confdefs.h >>conftest.$ac_ext
26048 cat >>conftest.$ac_ext <<_ACEOF
26049 /* end confdefs.h.  */
26050 #include <math.h>
26051 int
26052 main ()
26053 {
26054  __builtin_fabs(0);
26055   ;
26056   return 0;
26057 }
26058 _ACEOF
26059 rm -f conftest.$ac_objext conftest$ac_exeext
26060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26061   (eval $ac_link) 2>conftest.er1
26062   ac_status=$?
26063   grep -v '^ *+' conftest.er1 >conftest.err
26064   rm -f conftest.er1
26065   cat conftest.err >&5
26066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26067   (exit $ac_status); } &&
26068          { ac_try='test -z "$ac_c_werror_flag"
26069                          || test ! -s conftest.err'
26070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26071   (eval $ac_try) 2>&5
26072   ac_status=$?
26073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26074   (exit $ac_status); }; } &&
26075          { ac_try='test -s conftest$ac_exeext'
26076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26077   (eval $ac_try) 2>&5
26078   ac_status=$?
26079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26080   (exit $ac_status); }; }; then
26081   glibcxx_cv_func___builtin_fabs_link=yes
26082 else
26083   echo "$as_me: failed program was:" >&5
26084 sed 's/^/| /' conftest.$ac_ext >&5
26085
26086 glibcxx_cv_func___builtin_fabs_link=no
26087 fi
26088 rm -f conftest.err conftest.$ac_objext \
26089       conftest$ac_exeext conftest.$ac_ext
26090
26091 fi
26092
26093     fi
26094     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
26095 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
26096
26097     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
26098
26099 cat >>confdefs.h <<\_ACEOF
26100 #define HAVE___BUILTIN_FABS 1
26101 _ACEOF
26102
26103     fi
26104
26105   fi
26106
26107
26108   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
26109 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
26110   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
26111     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
26112   echo $ECHO_N "(cached) $ECHO_C" >&6
26113 else
26114
26115
26116
26117       ac_ext=cc
26118 ac_cpp='$CXXCPP $CPPFLAGS'
26119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26122
26123       cat >conftest.$ac_ext <<_ACEOF
26124 /* confdefs.h.  */
26125 _ACEOF
26126 cat confdefs.h >>conftest.$ac_ext
26127 cat >>conftest.$ac_ext <<_ACEOF
26128 /* end confdefs.h.  */
26129 #include <math.h>
26130 int
26131 main ()
26132 {
26133  __builtin_fabsl(0);
26134   ;
26135   return 0;
26136 }
26137 _ACEOF
26138 rm -f conftest.$ac_objext
26139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26140   (eval $ac_compile) 2>conftest.er1
26141   ac_status=$?
26142   grep -v '^ *+' conftest.er1 >conftest.err
26143   rm -f conftest.er1
26144   cat conftest.err >&5
26145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26146   (exit $ac_status); } &&
26147          { ac_try='test -z "$ac_cxx_werror_flag"
26148                          || test ! -s conftest.err'
26149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26150   (eval $ac_try) 2>&5
26151   ac_status=$?
26152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26153   (exit $ac_status); }; } &&
26154          { ac_try='test -s conftest.$ac_objext'
26155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26156   (eval $ac_try) 2>&5
26157   ac_status=$?
26158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26159   (exit $ac_status); }; }; then
26160   glibcxx_cv_func___builtin_fabsl_use=yes
26161 else
26162   echo "$as_me: failed program was:" >&5
26163 sed 's/^/| /' conftest.$ac_ext >&5
26164
26165 glibcxx_cv_func___builtin_fabsl_use=no
26166 fi
26167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26168       ac_ext=c
26169 ac_cpp='$CPP $CPPFLAGS'
26170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26173
26174
26175 fi
26176
26177   fi
26178   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
26179 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
26180   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
26181     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
26182 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
26183     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
26184       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
26185   echo $ECHO_N "(cached) $ECHO_C" >&6
26186 else
26187
26188         if test x$gcc_no_link = xyes; then
26189   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26191    { (exit 1); exit 1; }; }
26192 fi
26193 cat >conftest.$ac_ext <<_ACEOF
26194 /* confdefs.h.  */
26195 _ACEOF
26196 cat confdefs.h >>conftest.$ac_ext
26197 cat >>conftest.$ac_ext <<_ACEOF
26198 /* end confdefs.h.  */
26199 #include <math.h>
26200 int
26201 main ()
26202 {
26203  __builtin_fabsl(0);
26204   ;
26205   return 0;
26206 }
26207 _ACEOF
26208 rm -f conftest.$ac_objext conftest$ac_exeext
26209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26210   (eval $ac_link) 2>conftest.er1
26211   ac_status=$?
26212   grep -v '^ *+' conftest.er1 >conftest.err
26213   rm -f conftest.er1
26214   cat conftest.err >&5
26215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26216   (exit $ac_status); } &&
26217          { ac_try='test -z "$ac_c_werror_flag"
26218                          || test ! -s conftest.err'
26219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26220   (eval $ac_try) 2>&5
26221   ac_status=$?
26222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26223   (exit $ac_status); }; } &&
26224          { ac_try='test -s conftest$ac_exeext'
26225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26226   (eval $ac_try) 2>&5
26227   ac_status=$?
26228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26229   (exit $ac_status); }; }; then
26230   glibcxx_cv_func___builtin_fabsl_link=yes
26231 else
26232   echo "$as_me: failed program was:" >&5
26233 sed 's/^/| /' conftest.$ac_ext >&5
26234
26235 glibcxx_cv_func___builtin_fabsl_link=no
26236 fi
26237 rm -f conftest.err conftest.$ac_objext \
26238       conftest$ac_exeext conftest.$ac_ext
26239
26240 fi
26241
26242     fi
26243     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
26244 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
26245
26246     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
26247
26248 cat >>confdefs.h <<\_ACEOF
26249 #define HAVE___BUILTIN_FABSL 1
26250 _ACEOF
26251
26252     fi
26253
26254   fi
26255
26256
26257   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
26258 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
26259   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
26260     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
26261   echo $ECHO_N "(cached) $ECHO_C" >&6
26262 else
26263
26264
26265
26266       ac_ext=cc
26267 ac_cpp='$CXXCPP $CPPFLAGS'
26268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26271
26272       cat >conftest.$ac_ext <<_ACEOF
26273 /* confdefs.h.  */
26274 _ACEOF
26275 cat confdefs.h >>conftest.$ac_ext
26276 cat >>conftest.$ac_ext <<_ACEOF
26277 /* end confdefs.h.  */
26278 #include <math.h>
26279 int
26280 main ()
26281 {
26282  __builtin_labs(0);
26283   ;
26284   return 0;
26285 }
26286 _ACEOF
26287 rm -f conftest.$ac_objext
26288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26289   (eval $ac_compile) 2>conftest.er1
26290   ac_status=$?
26291   grep -v '^ *+' conftest.er1 >conftest.err
26292   rm -f conftest.er1
26293   cat conftest.err >&5
26294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26295   (exit $ac_status); } &&
26296          { ac_try='test -z "$ac_cxx_werror_flag"
26297                          || test ! -s conftest.err'
26298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26299   (eval $ac_try) 2>&5
26300   ac_status=$?
26301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26302   (exit $ac_status); }; } &&
26303          { ac_try='test -s conftest.$ac_objext'
26304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26305   (eval $ac_try) 2>&5
26306   ac_status=$?
26307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26308   (exit $ac_status); }; }; then
26309   glibcxx_cv_func___builtin_labs_use=yes
26310 else
26311   echo "$as_me: failed program was:" >&5
26312 sed 's/^/| /' conftest.$ac_ext >&5
26313
26314 glibcxx_cv_func___builtin_labs_use=no
26315 fi
26316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26317       ac_ext=c
26318 ac_cpp='$CPP $CPPFLAGS'
26319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26322
26323
26324 fi
26325
26326   fi
26327   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
26328 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
26329   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
26330     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
26331 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
26332     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
26333       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
26334   echo $ECHO_N "(cached) $ECHO_C" >&6
26335 else
26336
26337         if test x$gcc_no_link = xyes; then
26338   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26340    { (exit 1); exit 1; }; }
26341 fi
26342 cat >conftest.$ac_ext <<_ACEOF
26343 /* confdefs.h.  */
26344 _ACEOF
26345 cat confdefs.h >>conftest.$ac_ext
26346 cat >>conftest.$ac_ext <<_ACEOF
26347 /* end confdefs.h.  */
26348 #include <math.h>
26349 int
26350 main ()
26351 {
26352  __builtin_labs(0);
26353   ;
26354   return 0;
26355 }
26356 _ACEOF
26357 rm -f conftest.$ac_objext conftest$ac_exeext
26358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26359   (eval $ac_link) 2>conftest.er1
26360   ac_status=$?
26361   grep -v '^ *+' conftest.er1 >conftest.err
26362   rm -f conftest.er1
26363   cat conftest.err >&5
26364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26365   (exit $ac_status); } &&
26366          { ac_try='test -z "$ac_c_werror_flag"
26367                          || test ! -s conftest.err'
26368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26369   (eval $ac_try) 2>&5
26370   ac_status=$?
26371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26372   (exit $ac_status); }; } &&
26373          { ac_try='test -s conftest$ac_exeext'
26374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26375   (eval $ac_try) 2>&5
26376   ac_status=$?
26377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26378   (exit $ac_status); }; }; then
26379   glibcxx_cv_func___builtin_labs_link=yes
26380 else
26381   echo "$as_me: failed program was:" >&5
26382 sed 's/^/| /' conftest.$ac_ext >&5
26383
26384 glibcxx_cv_func___builtin_labs_link=no
26385 fi
26386 rm -f conftest.err conftest.$ac_objext \
26387       conftest$ac_exeext conftest.$ac_ext
26388
26389 fi
26390
26391     fi
26392     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
26393 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
26394
26395     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
26396
26397 cat >>confdefs.h <<\_ACEOF
26398 #define HAVE___BUILTIN_LABS 1
26399 _ACEOF
26400
26401     fi
26402
26403   fi
26404
26405
26406
26407   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
26408 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
26409   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
26410     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
26411   echo $ECHO_N "(cached) $ECHO_C" >&6
26412 else
26413
26414
26415
26416       ac_ext=cc
26417 ac_cpp='$CXXCPP $CPPFLAGS'
26418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26421
26422       cat >conftest.$ac_ext <<_ACEOF
26423 /* confdefs.h.  */
26424 _ACEOF
26425 cat confdefs.h >>conftest.$ac_ext
26426 cat >>conftest.$ac_ext <<_ACEOF
26427 /* end confdefs.h.  */
26428 #include <math.h>
26429 int
26430 main ()
26431 {
26432  __builtin_sqrtf(0);
26433   ;
26434   return 0;
26435 }
26436 _ACEOF
26437 rm -f conftest.$ac_objext
26438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26439   (eval $ac_compile) 2>conftest.er1
26440   ac_status=$?
26441   grep -v '^ *+' conftest.er1 >conftest.err
26442   rm -f conftest.er1
26443   cat conftest.err >&5
26444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26445   (exit $ac_status); } &&
26446          { ac_try='test -z "$ac_cxx_werror_flag"
26447                          || test ! -s conftest.err'
26448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26449   (eval $ac_try) 2>&5
26450   ac_status=$?
26451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26452   (exit $ac_status); }; } &&
26453          { ac_try='test -s conftest.$ac_objext'
26454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26455   (eval $ac_try) 2>&5
26456   ac_status=$?
26457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26458   (exit $ac_status); }; }; then
26459   glibcxx_cv_func___builtin_sqrtf_use=yes
26460 else
26461   echo "$as_me: failed program was:" >&5
26462 sed 's/^/| /' conftest.$ac_ext >&5
26463
26464 glibcxx_cv_func___builtin_sqrtf_use=no
26465 fi
26466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26467       ac_ext=c
26468 ac_cpp='$CPP $CPPFLAGS'
26469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26472
26473
26474 fi
26475
26476   fi
26477   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
26478 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
26479   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
26480     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
26481 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
26482     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
26483       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
26484   echo $ECHO_N "(cached) $ECHO_C" >&6
26485 else
26486
26487         if test x$gcc_no_link = xyes; then
26488   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26490    { (exit 1); exit 1; }; }
26491 fi
26492 cat >conftest.$ac_ext <<_ACEOF
26493 /* confdefs.h.  */
26494 _ACEOF
26495 cat confdefs.h >>conftest.$ac_ext
26496 cat >>conftest.$ac_ext <<_ACEOF
26497 /* end confdefs.h.  */
26498 #include <math.h>
26499 int
26500 main ()
26501 {
26502  __builtin_sqrtf(0);
26503   ;
26504   return 0;
26505 }
26506 _ACEOF
26507 rm -f conftest.$ac_objext conftest$ac_exeext
26508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26509   (eval $ac_link) 2>conftest.er1
26510   ac_status=$?
26511   grep -v '^ *+' conftest.er1 >conftest.err
26512   rm -f conftest.er1
26513   cat conftest.err >&5
26514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26515   (exit $ac_status); } &&
26516          { ac_try='test -z "$ac_c_werror_flag"
26517                          || test ! -s conftest.err'
26518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26519   (eval $ac_try) 2>&5
26520   ac_status=$?
26521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26522   (exit $ac_status); }; } &&
26523          { ac_try='test -s conftest$ac_exeext'
26524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26525   (eval $ac_try) 2>&5
26526   ac_status=$?
26527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26528   (exit $ac_status); }; }; then
26529   glibcxx_cv_func___builtin_sqrtf_link=yes
26530 else
26531   echo "$as_me: failed program was:" >&5
26532 sed 's/^/| /' conftest.$ac_ext >&5
26533
26534 glibcxx_cv_func___builtin_sqrtf_link=no
26535 fi
26536 rm -f conftest.err conftest.$ac_objext \
26537       conftest$ac_exeext conftest.$ac_ext
26538
26539 fi
26540
26541     fi
26542     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26543 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26544
26545     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26546
26547 cat >>confdefs.h <<\_ACEOF
26548 #define HAVE___BUILTIN_SQRTF 1
26549 _ACEOF
26550
26551     fi
26552
26553   fi
26554
26555
26556   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26557 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26558   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26559     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26560   echo $ECHO_N "(cached) $ECHO_C" >&6
26561 else
26562
26563
26564
26565       ac_ext=cc
26566 ac_cpp='$CXXCPP $CPPFLAGS'
26567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26570
26571       cat >conftest.$ac_ext <<_ACEOF
26572 /* confdefs.h.  */
26573 _ACEOF
26574 cat confdefs.h >>conftest.$ac_ext
26575 cat >>conftest.$ac_ext <<_ACEOF
26576 /* end confdefs.h.  */
26577 #include <math.h>
26578 int
26579 main ()
26580 {
26581  __builtin_sqrt(0);
26582   ;
26583   return 0;
26584 }
26585 _ACEOF
26586 rm -f conftest.$ac_objext
26587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26588   (eval $ac_compile) 2>conftest.er1
26589   ac_status=$?
26590   grep -v '^ *+' conftest.er1 >conftest.err
26591   rm -f conftest.er1
26592   cat conftest.err >&5
26593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26594   (exit $ac_status); } &&
26595          { ac_try='test -z "$ac_cxx_werror_flag"
26596                          || test ! -s conftest.err'
26597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26598   (eval $ac_try) 2>&5
26599   ac_status=$?
26600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26601   (exit $ac_status); }; } &&
26602          { ac_try='test -s conftest.$ac_objext'
26603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26604   (eval $ac_try) 2>&5
26605   ac_status=$?
26606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26607   (exit $ac_status); }; }; then
26608   glibcxx_cv_func___builtin_sqrt_use=yes
26609 else
26610   echo "$as_me: failed program was:" >&5
26611 sed 's/^/| /' conftest.$ac_ext >&5
26612
26613 glibcxx_cv_func___builtin_sqrt_use=no
26614 fi
26615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26616       ac_ext=c
26617 ac_cpp='$CPP $CPPFLAGS'
26618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26621
26622
26623 fi
26624
26625   fi
26626   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26627 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26628   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26629     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26630 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26631     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26632       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26633   echo $ECHO_N "(cached) $ECHO_C" >&6
26634 else
26635
26636         if test x$gcc_no_link = xyes; then
26637   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26639    { (exit 1); exit 1; }; }
26640 fi
26641 cat >conftest.$ac_ext <<_ACEOF
26642 /* confdefs.h.  */
26643 _ACEOF
26644 cat confdefs.h >>conftest.$ac_ext
26645 cat >>conftest.$ac_ext <<_ACEOF
26646 /* end confdefs.h.  */
26647 #include <math.h>
26648 int
26649 main ()
26650 {
26651  __builtin_sqrt(0);
26652   ;
26653   return 0;
26654 }
26655 _ACEOF
26656 rm -f conftest.$ac_objext conftest$ac_exeext
26657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26658   (eval $ac_link) 2>conftest.er1
26659   ac_status=$?
26660   grep -v '^ *+' conftest.er1 >conftest.err
26661   rm -f conftest.er1
26662   cat conftest.err >&5
26663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26664   (exit $ac_status); } &&
26665          { ac_try='test -z "$ac_c_werror_flag"
26666                          || test ! -s conftest.err'
26667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26668   (eval $ac_try) 2>&5
26669   ac_status=$?
26670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26671   (exit $ac_status); }; } &&
26672          { ac_try='test -s conftest$ac_exeext'
26673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26674   (eval $ac_try) 2>&5
26675   ac_status=$?
26676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26677   (exit $ac_status); }; }; then
26678   glibcxx_cv_func___builtin_sqrt_link=yes
26679 else
26680   echo "$as_me: failed program was:" >&5
26681 sed 's/^/| /' conftest.$ac_ext >&5
26682
26683 glibcxx_cv_func___builtin_sqrt_link=no
26684 fi
26685 rm -f conftest.err conftest.$ac_objext \
26686       conftest$ac_exeext conftest.$ac_ext
26687
26688 fi
26689
26690     fi
26691     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26692 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26693
26694     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26695
26696 cat >>confdefs.h <<\_ACEOF
26697 #define HAVE___BUILTIN_SQRT 1
26698 _ACEOF
26699
26700     fi
26701
26702   fi
26703
26704
26705   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26706 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26707   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26708     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26709   echo $ECHO_N "(cached) $ECHO_C" >&6
26710 else
26711
26712
26713
26714       ac_ext=cc
26715 ac_cpp='$CXXCPP $CPPFLAGS'
26716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26719
26720       cat >conftest.$ac_ext <<_ACEOF
26721 /* confdefs.h.  */
26722 _ACEOF
26723 cat confdefs.h >>conftest.$ac_ext
26724 cat >>conftest.$ac_ext <<_ACEOF
26725 /* end confdefs.h.  */
26726 #include <math.h>
26727 int
26728 main ()
26729 {
26730  __builtin_sqrtl(0);
26731   ;
26732   return 0;
26733 }
26734 _ACEOF
26735 rm -f conftest.$ac_objext
26736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26737   (eval $ac_compile) 2>conftest.er1
26738   ac_status=$?
26739   grep -v '^ *+' conftest.er1 >conftest.err
26740   rm -f conftest.er1
26741   cat conftest.err >&5
26742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26743   (exit $ac_status); } &&
26744          { ac_try='test -z "$ac_cxx_werror_flag"
26745                          || test ! -s conftest.err'
26746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26747   (eval $ac_try) 2>&5
26748   ac_status=$?
26749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26750   (exit $ac_status); }; } &&
26751          { ac_try='test -s conftest.$ac_objext'
26752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26753   (eval $ac_try) 2>&5
26754   ac_status=$?
26755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26756   (exit $ac_status); }; }; then
26757   glibcxx_cv_func___builtin_sqrtl_use=yes
26758 else
26759   echo "$as_me: failed program was:" >&5
26760 sed 's/^/| /' conftest.$ac_ext >&5
26761
26762 glibcxx_cv_func___builtin_sqrtl_use=no
26763 fi
26764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26765       ac_ext=c
26766 ac_cpp='$CPP $CPPFLAGS'
26767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26770
26771
26772 fi
26773
26774   fi
26775   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
26776 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
26777   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
26778     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
26779 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
26780     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
26781       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
26782   echo $ECHO_N "(cached) $ECHO_C" >&6
26783 else
26784
26785         if test x$gcc_no_link = xyes; then
26786   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26788    { (exit 1); exit 1; }; }
26789 fi
26790 cat >conftest.$ac_ext <<_ACEOF
26791 /* confdefs.h.  */
26792 _ACEOF
26793 cat confdefs.h >>conftest.$ac_ext
26794 cat >>conftest.$ac_ext <<_ACEOF
26795 /* end confdefs.h.  */
26796 #include <math.h>
26797 int
26798 main ()
26799 {
26800  __builtin_sqrtl(0);
26801   ;
26802   return 0;
26803 }
26804 _ACEOF
26805 rm -f conftest.$ac_objext conftest$ac_exeext
26806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26807   (eval $ac_link) 2>conftest.er1
26808   ac_status=$?
26809   grep -v '^ *+' conftest.er1 >conftest.err
26810   rm -f conftest.er1
26811   cat conftest.err >&5
26812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26813   (exit $ac_status); } &&
26814          { ac_try='test -z "$ac_c_werror_flag"
26815                          || test ! -s conftest.err'
26816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26817   (eval $ac_try) 2>&5
26818   ac_status=$?
26819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26820   (exit $ac_status); }; } &&
26821          { ac_try='test -s conftest$ac_exeext'
26822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26823   (eval $ac_try) 2>&5
26824   ac_status=$?
26825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26826   (exit $ac_status); }; }; then
26827   glibcxx_cv_func___builtin_sqrtl_link=yes
26828 else
26829   echo "$as_me: failed program was:" >&5
26830 sed 's/^/| /' conftest.$ac_ext >&5
26831
26832 glibcxx_cv_func___builtin_sqrtl_link=no
26833 fi
26834 rm -f conftest.err conftest.$ac_objext \
26835       conftest$ac_exeext conftest.$ac_ext
26836
26837 fi
26838
26839     fi
26840     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
26841 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
26842
26843     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
26844
26845 cat >>confdefs.h <<\_ACEOF
26846 #define HAVE___BUILTIN_SQRTL 1
26847 _ACEOF
26848
26849     fi
26850
26851   fi
26852
26853
26854
26855   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
26856 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
26857   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
26858     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
26859   echo $ECHO_N "(cached) $ECHO_C" >&6
26860 else
26861
26862
26863
26864       ac_ext=cc
26865 ac_cpp='$CXXCPP $CPPFLAGS'
26866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26869
26870       cat >conftest.$ac_ext <<_ACEOF
26871 /* confdefs.h.  */
26872 _ACEOF
26873 cat confdefs.h >>conftest.$ac_ext
26874 cat >>conftest.$ac_ext <<_ACEOF
26875 /* end confdefs.h.  */
26876 #include <math.h>
26877 int
26878 main ()
26879 {
26880  __builtin_sinf(0);
26881   ;
26882   return 0;
26883 }
26884 _ACEOF
26885 rm -f conftest.$ac_objext
26886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26887   (eval $ac_compile) 2>conftest.er1
26888   ac_status=$?
26889   grep -v '^ *+' conftest.er1 >conftest.err
26890   rm -f conftest.er1
26891   cat conftest.err >&5
26892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26893   (exit $ac_status); } &&
26894          { ac_try='test -z "$ac_cxx_werror_flag"
26895                          || test ! -s conftest.err'
26896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26897   (eval $ac_try) 2>&5
26898   ac_status=$?
26899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26900   (exit $ac_status); }; } &&
26901          { ac_try='test -s conftest.$ac_objext'
26902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26903   (eval $ac_try) 2>&5
26904   ac_status=$?
26905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26906   (exit $ac_status); }; }; then
26907   glibcxx_cv_func___builtin_sinf_use=yes
26908 else
26909   echo "$as_me: failed program was:" >&5
26910 sed 's/^/| /' conftest.$ac_ext >&5
26911
26912 glibcxx_cv_func___builtin_sinf_use=no
26913 fi
26914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26915       ac_ext=c
26916 ac_cpp='$CPP $CPPFLAGS'
26917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26920
26921
26922 fi
26923
26924   fi
26925   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
26926 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
26927   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
26928     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
26929 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
26930     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
26931       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
26932   echo $ECHO_N "(cached) $ECHO_C" >&6
26933 else
26934
26935         if test x$gcc_no_link = xyes; then
26936   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26938    { (exit 1); exit 1; }; }
26939 fi
26940 cat >conftest.$ac_ext <<_ACEOF
26941 /* confdefs.h.  */
26942 _ACEOF
26943 cat confdefs.h >>conftest.$ac_ext
26944 cat >>conftest.$ac_ext <<_ACEOF
26945 /* end confdefs.h.  */
26946 #include <math.h>
26947 int
26948 main ()
26949 {
26950  __builtin_sinf(0);
26951   ;
26952   return 0;
26953 }
26954 _ACEOF
26955 rm -f conftest.$ac_objext conftest$ac_exeext
26956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26957   (eval $ac_link) 2>conftest.er1
26958   ac_status=$?
26959   grep -v '^ *+' conftest.er1 >conftest.err
26960   rm -f conftest.er1
26961   cat conftest.err >&5
26962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26963   (exit $ac_status); } &&
26964          { ac_try='test -z "$ac_c_werror_flag"
26965                          || test ! -s conftest.err'
26966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26967   (eval $ac_try) 2>&5
26968   ac_status=$?
26969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26970   (exit $ac_status); }; } &&
26971          { ac_try='test -s conftest$ac_exeext'
26972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26973   (eval $ac_try) 2>&5
26974   ac_status=$?
26975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26976   (exit $ac_status); }; }; then
26977   glibcxx_cv_func___builtin_sinf_link=yes
26978 else
26979   echo "$as_me: failed program was:" >&5
26980 sed 's/^/| /' conftest.$ac_ext >&5
26981
26982 glibcxx_cv_func___builtin_sinf_link=no
26983 fi
26984 rm -f conftest.err conftest.$ac_objext \
26985       conftest$ac_exeext conftest.$ac_ext
26986
26987 fi
26988
26989     fi
26990     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
26991 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
26992
26993     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
26994
26995 cat >>confdefs.h <<\_ACEOF
26996 #define HAVE___BUILTIN_SINF 1
26997 _ACEOF
26998
26999     fi
27000
27001   fi
27002
27003
27004   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
27005 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
27006   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
27007     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
27008   echo $ECHO_N "(cached) $ECHO_C" >&6
27009 else
27010
27011
27012
27013       ac_ext=cc
27014 ac_cpp='$CXXCPP $CPPFLAGS'
27015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27018
27019       cat >conftest.$ac_ext <<_ACEOF
27020 /* confdefs.h.  */
27021 _ACEOF
27022 cat confdefs.h >>conftest.$ac_ext
27023 cat >>conftest.$ac_ext <<_ACEOF
27024 /* end confdefs.h.  */
27025 #include <math.h>
27026 int
27027 main ()
27028 {
27029  __builtin_sin(0);
27030   ;
27031   return 0;
27032 }
27033 _ACEOF
27034 rm -f conftest.$ac_objext
27035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27036   (eval $ac_compile) 2>conftest.er1
27037   ac_status=$?
27038   grep -v '^ *+' conftest.er1 >conftest.err
27039   rm -f conftest.er1
27040   cat conftest.err >&5
27041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27042   (exit $ac_status); } &&
27043          { ac_try='test -z "$ac_cxx_werror_flag"
27044                          || test ! -s conftest.err'
27045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27046   (eval $ac_try) 2>&5
27047   ac_status=$?
27048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27049   (exit $ac_status); }; } &&
27050          { ac_try='test -s conftest.$ac_objext'
27051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27052   (eval $ac_try) 2>&5
27053   ac_status=$?
27054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27055   (exit $ac_status); }; }; then
27056   glibcxx_cv_func___builtin_sin_use=yes
27057 else
27058   echo "$as_me: failed program was:" >&5
27059 sed 's/^/| /' conftest.$ac_ext >&5
27060
27061 glibcxx_cv_func___builtin_sin_use=no
27062 fi
27063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27064       ac_ext=c
27065 ac_cpp='$CPP $CPPFLAGS'
27066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27069
27070
27071 fi
27072
27073   fi
27074   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
27075 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
27076   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
27077     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
27078 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
27079     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
27080       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
27081   echo $ECHO_N "(cached) $ECHO_C" >&6
27082 else
27083
27084         if test x$gcc_no_link = xyes; then
27085   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27087    { (exit 1); exit 1; }; }
27088 fi
27089 cat >conftest.$ac_ext <<_ACEOF
27090 /* confdefs.h.  */
27091 _ACEOF
27092 cat confdefs.h >>conftest.$ac_ext
27093 cat >>conftest.$ac_ext <<_ACEOF
27094 /* end confdefs.h.  */
27095 #include <math.h>
27096 int
27097 main ()
27098 {
27099  __builtin_sin(0);
27100   ;
27101   return 0;
27102 }
27103 _ACEOF
27104 rm -f conftest.$ac_objext conftest$ac_exeext
27105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27106   (eval $ac_link) 2>conftest.er1
27107   ac_status=$?
27108   grep -v '^ *+' conftest.er1 >conftest.err
27109   rm -f conftest.er1
27110   cat conftest.err >&5
27111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27112   (exit $ac_status); } &&
27113          { ac_try='test -z "$ac_c_werror_flag"
27114                          || test ! -s conftest.err'
27115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27116   (eval $ac_try) 2>&5
27117   ac_status=$?
27118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27119   (exit $ac_status); }; } &&
27120          { ac_try='test -s conftest$ac_exeext'
27121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27122   (eval $ac_try) 2>&5
27123   ac_status=$?
27124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27125   (exit $ac_status); }; }; then
27126   glibcxx_cv_func___builtin_sin_link=yes
27127 else
27128   echo "$as_me: failed program was:" >&5
27129 sed 's/^/| /' conftest.$ac_ext >&5
27130
27131 glibcxx_cv_func___builtin_sin_link=no
27132 fi
27133 rm -f conftest.err conftest.$ac_objext \
27134       conftest$ac_exeext conftest.$ac_ext
27135
27136 fi
27137
27138     fi
27139     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
27140 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
27141
27142     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
27143
27144 cat >>confdefs.h <<\_ACEOF
27145 #define HAVE___BUILTIN_SIN 1
27146 _ACEOF
27147
27148     fi
27149
27150   fi
27151
27152
27153   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
27154 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
27155   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
27156     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
27157   echo $ECHO_N "(cached) $ECHO_C" >&6
27158 else
27159
27160
27161
27162       ac_ext=cc
27163 ac_cpp='$CXXCPP $CPPFLAGS'
27164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27167
27168       cat >conftest.$ac_ext <<_ACEOF
27169 /* confdefs.h.  */
27170 _ACEOF
27171 cat confdefs.h >>conftest.$ac_ext
27172 cat >>conftest.$ac_ext <<_ACEOF
27173 /* end confdefs.h.  */
27174 #include <math.h>
27175 int
27176 main ()
27177 {
27178  __builtin_sinl(0);
27179   ;
27180   return 0;
27181 }
27182 _ACEOF
27183 rm -f conftest.$ac_objext
27184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27185   (eval $ac_compile) 2>conftest.er1
27186   ac_status=$?
27187   grep -v '^ *+' conftest.er1 >conftest.err
27188   rm -f conftest.er1
27189   cat conftest.err >&5
27190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27191   (exit $ac_status); } &&
27192          { ac_try='test -z "$ac_cxx_werror_flag"
27193                          || test ! -s conftest.err'
27194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27195   (eval $ac_try) 2>&5
27196   ac_status=$?
27197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27198   (exit $ac_status); }; } &&
27199          { ac_try='test -s conftest.$ac_objext'
27200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27201   (eval $ac_try) 2>&5
27202   ac_status=$?
27203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27204   (exit $ac_status); }; }; then
27205   glibcxx_cv_func___builtin_sinl_use=yes
27206 else
27207   echo "$as_me: failed program was:" >&5
27208 sed 's/^/| /' conftest.$ac_ext >&5
27209
27210 glibcxx_cv_func___builtin_sinl_use=no
27211 fi
27212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27213       ac_ext=c
27214 ac_cpp='$CPP $CPPFLAGS'
27215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27218
27219
27220 fi
27221
27222   fi
27223   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
27224 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
27225   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
27226     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
27227 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
27228     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
27229       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
27230   echo $ECHO_N "(cached) $ECHO_C" >&6
27231 else
27232
27233         if test x$gcc_no_link = xyes; then
27234   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27236    { (exit 1); exit 1; }; }
27237 fi
27238 cat >conftest.$ac_ext <<_ACEOF
27239 /* confdefs.h.  */
27240 _ACEOF
27241 cat confdefs.h >>conftest.$ac_ext
27242 cat >>conftest.$ac_ext <<_ACEOF
27243 /* end confdefs.h.  */
27244 #include <math.h>
27245 int
27246 main ()
27247 {
27248  __builtin_sinl(0);
27249   ;
27250   return 0;
27251 }
27252 _ACEOF
27253 rm -f conftest.$ac_objext conftest$ac_exeext
27254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27255   (eval $ac_link) 2>conftest.er1
27256   ac_status=$?
27257   grep -v '^ *+' conftest.er1 >conftest.err
27258   rm -f conftest.er1
27259   cat conftest.err >&5
27260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27261   (exit $ac_status); } &&
27262          { ac_try='test -z "$ac_c_werror_flag"
27263                          || test ! -s conftest.err'
27264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27265   (eval $ac_try) 2>&5
27266   ac_status=$?
27267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27268   (exit $ac_status); }; } &&
27269          { ac_try='test -s conftest$ac_exeext'
27270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27271   (eval $ac_try) 2>&5
27272   ac_status=$?
27273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27274   (exit $ac_status); }; }; then
27275   glibcxx_cv_func___builtin_sinl_link=yes
27276 else
27277   echo "$as_me: failed program was:" >&5
27278 sed 's/^/| /' conftest.$ac_ext >&5
27279
27280 glibcxx_cv_func___builtin_sinl_link=no
27281 fi
27282 rm -f conftest.err conftest.$ac_objext \
27283       conftest$ac_exeext conftest.$ac_ext
27284
27285 fi
27286
27287     fi
27288     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
27289 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
27290
27291     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
27292
27293 cat >>confdefs.h <<\_ACEOF
27294 #define HAVE___BUILTIN_SINL 1
27295 _ACEOF
27296
27297     fi
27298
27299   fi
27300
27301
27302
27303   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
27304 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
27305   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
27306     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
27307   echo $ECHO_N "(cached) $ECHO_C" >&6
27308 else
27309
27310
27311
27312       ac_ext=cc
27313 ac_cpp='$CXXCPP $CPPFLAGS'
27314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27317
27318       cat >conftest.$ac_ext <<_ACEOF
27319 /* confdefs.h.  */
27320 _ACEOF
27321 cat confdefs.h >>conftest.$ac_ext
27322 cat >>conftest.$ac_ext <<_ACEOF
27323 /* end confdefs.h.  */
27324 #include <math.h>
27325 int
27326 main ()
27327 {
27328  __builtin_cosf(0);
27329   ;
27330   return 0;
27331 }
27332 _ACEOF
27333 rm -f conftest.$ac_objext
27334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27335   (eval $ac_compile) 2>conftest.er1
27336   ac_status=$?
27337   grep -v '^ *+' conftest.er1 >conftest.err
27338   rm -f conftest.er1
27339   cat conftest.err >&5
27340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27341   (exit $ac_status); } &&
27342          { ac_try='test -z "$ac_cxx_werror_flag"
27343                          || test ! -s conftest.err'
27344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27345   (eval $ac_try) 2>&5
27346   ac_status=$?
27347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27348   (exit $ac_status); }; } &&
27349          { ac_try='test -s conftest.$ac_objext'
27350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27351   (eval $ac_try) 2>&5
27352   ac_status=$?
27353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27354   (exit $ac_status); }; }; then
27355   glibcxx_cv_func___builtin_cosf_use=yes
27356 else
27357   echo "$as_me: failed program was:" >&5
27358 sed 's/^/| /' conftest.$ac_ext >&5
27359
27360 glibcxx_cv_func___builtin_cosf_use=no
27361 fi
27362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27363       ac_ext=c
27364 ac_cpp='$CPP $CPPFLAGS'
27365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27368
27369
27370 fi
27371
27372   fi
27373   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
27374 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
27375   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
27376     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
27377 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
27378     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
27379       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
27380   echo $ECHO_N "(cached) $ECHO_C" >&6
27381 else
27382
27383         if test x$gcc_no_link = xyes; then
27384   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27386    { (exit 1); exit 1; }; }
27387 fi
27388 cat >conftest.$ac_ext <<_ACEOF
27389 /* confdefs.h.  */
27390 _ACEOF
27391 cat confdefs.h >>conftest.$ac_ext
27392 cat >>conftest.$ac_ext <<_ACEOF
27393 /* end confdefs.h.  */
27394 #include <math.h>
27395 int
27396 main ()
27397 {
27398  __builtin_cosf(0);
27399   ;
27400   return 0;
27401 }
27402 _ACEOF
27403 rm -f conftest.$ac_objext conftest$ac_exeext
27404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27405   (eval $ac_link) 2>conftest.er1
27406   ac_status=$?
27407   grep -v '^ *+' conftest.er1 >conftest.err
27408   rm -f conftest.er1
27409   cat conftest.err >&5
27410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27411   (exit $ac_status); } &&
27412          { ac_try='test -z "$ac_c_werror_flag"
27413                          || test ! -s conftest.err'
27414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27415   (eval $ac_try) 2>&5
27416   ac_status=$?
27417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27418   (exit $ac_status); }; } &&
27419          { ac_try='test -s conftest$ac_exeext'
27420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27421   (eval $ac_try) 2>&5
27422   ac_status=$?
27423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27424   (exit $ac_status); }; }; then
27425   glibcxx_cv_func___builtin_cosf_link=yes
27426 else
27427   echo "$as_me: failed program was:" >&5
27428 sed 's/^/| /' conftest.$ac_ext >&5
27429
27430 glibcxx_cv_func___builtin_cosf_link=no
27431 fi
27432 rm -f conftest.err conftest.$ac_objext \
27433       conftest$ac_exeext conftest.$ac_ext
27434
27435 fi
27436
27437     fi
27438     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
27439 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
27440
27441     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
27442
27443 cat >>confdefs.h <<\_ACEOF
27444 #define HAVE___BUILTIN_COSF 1
27445 _ACEOF
27446
27447     fi
27448
27449   fi
27450
27451
27452   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
27453 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
27454   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
27455     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
27456   echo $ECHO_N "(cached) $ECHO_C" >&6
27457 else
27458
27459
27460
27461       ac_ext=cc
27462 ac_cpp='$CXXCPP $CPPFLAGS'
27463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27466
27467       cat >conftest.$ac_ext <<_ACEOF
27468 /* confdefs.h.  */
27469 _ACEOF
27470 cat confdefs.h >>conftest.$ac_ext
27471 cat >>conftest.$ac_ext <<_ACEOF
27472 /* end confdefs.h.  */
27473 #include <math.h>
27474 int
27475 main ()
27476 {
27477  __builtin_cos(0);
27478   ;
27479   return 0;
27480 }
27481 _ACEOF
27482 rm -f conftest.$ac_objext
27483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27484   (eval $ac_compile) 2>conftest.er1
27485   ac_status=$?
27486   grep -v '^ *+' conftest.er1 >conftest.err
27487   rm -f conftest.er1
27488   cat conftest.err >&5
27489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27490   (exit $ac_status); } &&
27491          { ac_try='test -z "$ac_cxx_werror_flag"
27492                          || test ! -s conftest.err'
27493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27494   (eval $ac_try) 2>&5
27495   ac_status=$?
27496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27497   (exit $ac_status); }; } &&
27498          { ac_try='test -s conftest.$ac_objext'
27499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27500   (eval $ac_try) 2>&5
27501   ac_status=$?
27502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27503   (exit $ac_status); }; }; then
27504   glibcxx_cv_func___builtin_cos_use=yes
27505 else
27506   echo "$as_me: failed program was:" >&5
27507 sed 's/^/| /' conftest.$ac_ext >&5
27508
27509 glibcxx_cv_func___builtin_cos_use=no
27510 fi
27511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27512       ac_ext=c
27513 ac_cpp='$CPP $CPPFLAGS'
27514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27517
27518
27519 fi
27520
27521   fi
27522   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
27523 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
27524   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
27525     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
27526 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
27527     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27528       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27529   echo $ECHO_N "(cached) $ECHO_C" >&6
27530 else
27531
27532         if test x$gcc_no_link = xyes; then
27533   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27535    { (exit 1); exit 1; }; }
27536 fi
27537 cat >conftest.$ac_ext <<_ACEOF
27538 /* confdefs.h.  */
27539 _ACEOF
27540 cat confdefs.h >>conftest.$ac_ext
27541 cat >>conftest.$ac_ext <<_ACEOF
27542 /* end confdefs.h.  */
27543 #include <math.h>
27544 int
27545 main ()
27546 {
27547  __builtin_cos(0);
27548   ;
27549   return 0;
27550 }
27551 _ACEOF
27552 rm -f conftest.$ac_objext conftest$ac_exeext
27553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27554   (eval $ac_link) 2>conftest.er1
27555   ac_status=$?
27556   grep -v '^ *+' conftest.er1 >conftest.err
27557   rm -f conftest.er1
27558   cat conftest.err >&5
27559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27560   (exit $ac_status); } &&
27561          { ac_try='test -z "$ac_c_werror_flag"
27562                          || test ! -s conftest.err'
27563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27564   (eval $ac_try) 2>&5
27565   ac_status=$?
27566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27567   (exit $ac_status); }; } &&
27568          { ac_try='test -s conftest$ac_exeext'
27569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27570   (eval $ac_try) 2>&5
27571   ac_status=$?
27572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27573   (exit $ac_status); }; }; then
27574   glibcxx_cv_func___builtin_cos_link=yes
27575 else
27576   echo "$as_me: failed program was:" >&5
27577 sed 's/^/| /' conftest.$ac_ext >&5
27578
27579 glibcxx_cv_func___builtin_cos_link=no
27580 fi
27581 rm -f conftest.err conftest.$ac_objext \
27582       conftest$ac_exeext conftest.$ac_ext
27583
27584 fi
27585
27586     fi
27587     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27588 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27589
27590     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27591
27592 cat >>confdefs.h <<\_ACEOF
27593 #define HAVE___BUILTIN_COS 1
27594 _ACEOF
27595
27596     fi
27597
27598   fi
27599
27600
27601   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27602 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27603   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27604     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27605   echo $ECHO_N "(cached) $ECHO_C" >&6
27606 else
27607
27608
27609
27610       ac_ext=cc
27611 ac_cpp='$CXXCPP $CPPFLAGS'
27612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27615
27616       cat >conftest.$ac_ext <<_ACEOF
27617 /* confdefs.h.  */
27618 _ACEOF
27619 cat confdefs.h >>conftest.$ac_ext
27620 cat >>conftest.$ac_ext <<_ACEOF
27621 /* end confdefs.h.  */
27622 #include <math.h>
27623 int
27624 main ()
27625 {
27626  __builtin_cosl(0);
27627   ;
27628   return 0;
27629 }
27630 _ACEOF
27631 rm -f conftest.$ac_objext
27632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27633   (eval $ac_compile) 2>conftest.er1
27634   ac_status=$?
27635   grep -v '^ *+' conftest.er1 >conftest.err
27636   rm -f conftest.er1
27637   cat conftest.err >&5
27638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27639   (exit $ac_status); } &&
27640          { ac_try='test -z "$ac_cxx_werror_flag"
27641                          || test ! -s conftest.err'
27642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27643   (eval $ac_try) 2>&5
27644   ac_status=$?
27645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27646   (exit $ac_status); }; } &&
27647          { ac_try='test -s conftest.$ac_objext'
27648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27649   (eval $ac_try) 2>&5
27650   ac_status=$?
27651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27652   (exit $ac_status); }; }; then
27653   glibcxx_cv_func___builtin_cosl_use=yes
27654 else
27655   echo "$as_me: failed program was:" >&5
27656 sed 's/^/| /' conftest.$ac_ext >&5
27657
27658 glibcxx_cv_func___builtin_cosl_use=no
27659 fi
27660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27661       ac_ext=c
27662 ac_cpp='$CPP $CPPFLAGS'
27663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27666
27667
27668 fi
27669
27670   fi
27671   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27672 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27673   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27674     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27675 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27676     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27677       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27678   echo $ECHO_N "(cached) $ECHO_C" >&6
27679 else
27680
27681         if test x$gcc_no_link = xyes; then
27682   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27684    { (exit 1); exit 1; }; }
27685 fi
27686 cat >conftest.$ac_ext <<_ACEOF
27687 /* confdefs.h.  */
27688 _ACEOF
27689 cat confdefs.h >>conftest.$ac_ext
27690 cat >>conftest.$ac_ext <<_ACEOF
27691 /* end confdefs.h.  */
27692 #include <math.h>
27693 int
27694 main ()
27695 {
27696  __builtin_cosl(0);
27697   ;
27698   return 0;
27699 }
27700 _ACEOF
27701 rm -f conftest.$ac_objext conftest$ac_exeext
27702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27703   (eval $ac_link) 2>conftest.er1
27704   ac_status=$?
27705   grep -v '^ *+' conftest.er1 >conftest.err
27706   rm -f conftest.er1
27707   cat conftest.err >&5
27708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27709   (exit $ac_status); } &&
27710          { ac_try='test -z "$ac_c_werror_flag"
27711                          || test ! -s conftest.err'
27712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27713   (eval $ac_try) 2>&5
27714   ac_status=$?
27715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27716   (exit $ac_status); }; } &&
27717          { ac_try='test -s conftest$ac_exeext'
27718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27719   (eval $ac_try) 2>&5
27720   ac_status=$?
27721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27722   (exit $ac_status); }; }; then
27723   glibcxx_cv_func___builtin_cosl_link=yes
27724 else
27725   echo "$as_me: failed program was:" >&5
27726 sed 's/^/| /' conftest.$ac_ext >&5
27727
27728 glibcxx_cv_func___builtin_cosl_link=no
27729 fi
27730 rm -f conftest.err conftest.$ac_objext \
27731       conftest$ac_exeext conftest.$ac_ext
27732
27733 fi
27734
27735     fi
27736     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27737 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27738
27739     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27740
27741 cat >>confdefs.h <<\_ACEOF
27742 #define HAVE___BUILTIN_COSL 1
27743 _ACEOF
27744
27745     fi
27746
27747   fi
27748
27749
27750
27751
27752 echo "$as_me:$LINENO: checking for main in -lm" >&5
27753 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27754 if test "${ac_cv_lib_m_main+set}" = set; then
27755   echo $ECHO_N "(cached) $ECHO_C" >&6
27756 else
27757   ac_check_lib_save_LIBS=$LIBS
27758 LIBS="-lm  $LIBS"
27759 if test x$gcc_no_link = xyes; then
27760   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27762    { (exit 1); exit 1; }; }
27763 fi
27764 cat >conftest.$ac_ext <<_ACEOF
27765 /* confdefs.h.  */
27766 _ACEOF
27767 cat confdefs.h >>conftest.$ac_ext
27768 cat >>conftest.$ac_ext <<_ACEOF
27769 /* end confdefs.h.  */
27770
27771
27772 int
27773 main ()
27774 {
27775 main ();
27776   ;
27777   return 0;
27778 }
27779 _ACEOF
27780 rm -f conftest.$ac_objext conftest$ac_exeext
27781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27782   (eval $ac_link) 2>conftest.er1
27783   ac_status=$?
27784   grep -v '^ *+' conftest.er1 >conftest.err
27785   rm -f conftest.er1
27786   cat conftest.err >&5
27787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27788   (exit $ac_status); } &&
27789          { ac_try='test -z "$ac_c_werror_flag"
27790                          || test ! -s conftest.err'
27791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27792   (eval $ac_try) 2>&5
27793   ac_status=$?
27794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27795   (exit $ac_status); }; } &&
27796          { ac_try='test -s conftest$ac_exeext'
27797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27798   (eval $ac_try) 2>&5
27799   ac_status=$?
27800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27801   (exit $ac_status); }; }; then
27802   ac_cv_lib_m_main=yes
27803 else
27804   echo "$as_me: failed program was:" >&5
27805 sed 's/^/| /' conftest.$ac_ext >&5
27806
27807 ac_cv_lib_m_main=no
27808 fi
27809 rm -f conftest.err conftest.$ac_objext \
27810       conftest$ac_exeext conftest.$ac_ext
27811 LIBS=$ac_check_lib_save_LIBS
27812 fi
27813 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
27814 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
27815 if test $ac_cv_lib_m_main = yes; then
27816   cat >>confdefs.h <<_ACEOF
27817 #define HAVE_LIBM 1
27818 _ACEOF
27819
27820   LIBS="-lm $LIBS"
27821
27822 fi
27823
27824
27825 for ac_func in copysignf
27826 do
27827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27828 echo "$as_me:$LINENO: checking for $ac_func" >&5
27829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27830 if eval "test \"\${$as_ac_var+set}\" = set"; then
27831   echo $ECHO_N "(cached) $ECHO_C" >&6
27832 else
27833   if test x$gcc_no_link = xyes; then
27834   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27836    { (exit 1); exit 1; }; }
27837 fi
27838 cat >conftest.$ac_ext <<_ACEOF
27839 /* confdefs.h.  */
27840 _ACEOF
27841 cat confdefs.h >>conftest.$ac_ext
27842 cat >>conftest.$ac_ext <<_ACEOF
27843 /* end confdefs.h.  */
27844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27845    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27846 #define $ac_func innocuous_$ac_func
27847
27848 /* System header to define __stub macros and hopefully few prototypes,
27849     which can conflict with char $ac_func (); below.
27850     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27851     <limits.h> exists even on freestanding compilers.  */
27852
27853 #ifdef __STDC__
27854 # include <limits.h>
27855 #else
27856 # include <assert.h>
27857 #endif
27858
27859 #undef $ac_func
27860
27861 /* Override any gcc2 internal prototype to avoid an error.  */
27862 #ifdef __cplusplus
27863 extern "C"
27864 {
27865 #endif
27866 /* We use char because int might match the return type of a gcc2
27867    builtin and then its argument prototype would still apply.  */
27868 char $ac_func ();
27869 /* The GNU C library defines this for functions which it implements
27870     to always fail with ENOSYS.  Some functions are actually named
27871     something starting with __ and the normal name is an alias.  */
27872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27873 choke me
27874 #else
27875 char (*f) () = $ac_func;
27876 #endif
27877 #ifdef __cplusplus
27878 }
27879 #endif
27880
27881 int
27882 main ()
27883 {
27884 return f != $ac_func;
27885   ;
27886   return 0;
27887 }
27888 _ACEOF
27889 rm -f conftest.$ac_objext conftest$ac_exeext
27890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27891   (eval $ac_link) 2>conftest.er1
27892   ac_status=$?
27893   grep -v '^ *+' conftest.er1 >conftest.err
27894   rm -f conftest.er1
27895   cat conftest.err >&5
27896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27897   (exit $ac_status); } &&
27898          { ac_try='test -z "$ac_c_werror_flag"
27899                          || test ! -s conftest.err'
27900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27901   (eval $ac_try) 2>&5
27902   ac_status=$?
27903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27904   (exit $ac_status); }; } &&
27905          { ac_try='test -s conftest$ac_exeext'
27906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27907   (eval $ac_try) 2>&5
27908   ac_status=$?
27909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27910   (exit $ac_status); }; }; then
27911   eval "$as_ac_var=yes"
27912 else
27913   echo "$as_me: failed program was:" >&5
27914 sed 's/^/| /' conftest.$ac_ext >&5
27915
27916 eval "$as_ac_var=no"
27917 fi
27918 rm -f conftest.err conftest.$ac_objext \
27919       conftest$ac_exeext conftest.$ac_ext
27920 fi
27921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27923 if test `eval echo '${'$as_ac_var'}'` = yes; then
27924   cat >>confdefs.h <<_ACEOF
27925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27926 _ACEOF
27927
27928 else
27929   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
27930 fi
27931 done
27932
27933
27934
27935 for ac_func in __signbit
27936 do
27937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27938 echo "$as_me:$LINENO: checking for $ac_func" >&5
27939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27940 if eval "test \"\${$as_ac_var+set}\" = set"; then
27941   echo $ECHO_N "(cached) $ECHO_C" >&6
27942 else
27943   if test x$gcc_no_link = xyes; then
27944   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27946    { (exit 1); exit 1; }; }
27947 fi
27948 cat >conftest.$ac_ext <<_ACEOF
27949 /* confdefs.h.  */
27950 _ACEOF
27951 cat confdefs.h >>conftest.$ac_ext
27952 cat >>conftest.$ac_ext <<_ACEOF
27953 /* end confdefs.h.  */
27954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27955    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27956 #define $ac_func innocuous_$ac_func
27957
27958 /* System header to define __stub macros and hopefully few prototypes,
27959     which can conflict with char $ac_func (); below.
27960     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27961     <limits.h> exists even on freestanding compilers.  */
27962
27963 #ifdef __STDC__
27964 # include <limits.h>
27965 #else
27966 # include <assert.h>
27967 #endif
27968
27969 #undef $ac_func
27970
27971 /* Override any gcc2 internal prototype to avoid an error.  */
27972 #ifdef __cplusplus
27973 extern "C"
27974 {
27975 #endif
27976 /* We use char because int might match the return type of a gcc2
27977    builtin and then its argument prototype would still apply.  */
27978 char $ac_func ();
27979 /* The GNU C library defines this for functions which it implements
27980     to always fail with ENOSYS.  Some functions are actually named
27981     something starting with __ and the normal name is an alias.  */
27982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27983 choke me
27984 #else
27985 char (*f) () = $ac_func;
27986 #endif
27987 #ifdef __cplusplus
27988 }
27989 #endif
27990
27991 int
27992 main ()
27993 {
27994 return f != $ac_func;
27995   ;
27996   return 0;
27997 }
27998 _ACEOF
27999 rm -f conftest.$ac_objext conftest$ac_exeext
28000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28001   (eval $ac_link) 2>conftest.er1
28002   ac_status=$?
28003   grep -v '^ *+' conftest.er1 >conftest.err
28004   rm -f conftest.er1
28005   cat conftest.err >&5
28006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28007   (exit $ac_status); } &&
28008          { ac_try='test -z "$ac_c_werror_flag"
28009                          || test ! -s conftest.err'
28010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28011   (eval $ac_try) 2>&5
28012   ac_status=$?
28013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28014   (exit $ac_status); }; } &&
28015          { ac_try='test -s conftest$ac_exeext'
28016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28017   (eval $ac_try) 2>&5
28018   ac_status=$?
28019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28020   (exit $ac_status); }; }; then
28021   eval "$as_ac_var=yes"
28022 else
28023   echo "$as_me: failed program was:" >&5
28024 sed 's/^/| /' conftest.$ac_ext >&5
28025
28026 eval "$as_ac_var=no"
28027 fi
28028 rm -f conftest.err conftest.$ac_objext \
28029       conftest$ac_exeext conftest.$ac_ext
28030 fi
28031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28033 if test `eval echo '${'$as_ac_var'}'` = yes; then
28034   cat >>confdefs.h <<_ACEOF
28035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28036 _ACEOF
28037
28038 else
28039   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
28040 fi
28041 done
28042
28043
28044
28045 for ac_func in __signbitf
28046 do
28047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28048 echo "$as_me:$LINENO: checking for $ac_func" >&5
28049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28050 if eval "test \"\${$as_ac_var+set}\" = set"; then
28051   echo $ECHO_N "(cached) $ECHO_C" >&6
28052 else
28053   if test x$gcc_no_link = xyes; then
28054   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28056    { (exit 1); exit 1; }; }
28057 fi
28058 cat >conftest.$ac_ext <<_ACEOF
28059 /* confdefs.h.  */
28060 _ACEOF
28061 cat confdefs.h >>conftest.$ac_ext
28062 cat >>conftest.$ac_ext <<_ACEOF
28063 /* end confdefs.h.  */
28064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28065    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28066 #define $ac_func innocuous_$ac_func
28067
28068 /* System header to define __stub macros and hopefully few prototypes,
28069     which can conflict with char $ac_func (); below.
28070     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28071     <limits.h> exists even on freestanding compilers.  */
28072
28073 #ifdef __STDC__
28074 # include <limits.h>
28075 #else
28076 # include <assert.h>
28077 #endif
28078
28079 #undef $ac_func
28080
28081 /* Override any gcc2 internal prototype to avoid an error.  */
28082 #ifdef __cplusplus
28083 extern "C"
28084 {
28085 #endif
28086 /* We use char because int might match the return type of a gcc2
28087    builtin and then its argument prototype would still apply.  */
28088 char $ac_func ();
28089 /* The GNU C library defines this for functions which it implements
28090     to always fail with ENOSYS.  Some functions are actually named
28091     something starting with __ and the normal name is an alias.  */
28092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28093 choke me
28094 #else
28095 char (*f) () = $ac_func;
28096 #endif
28097 #ifdef __cplusplus
28098 }
28099 #endif
28100
28101 int
28102 main ()
28103 {
28104 return f != $ac_func;
28105   ;
28106   return 0;
28107 }
28108 _ACEOF
28109 rm -f conftest.$ac_objext conftest$ac_exeext
28110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28111   (eval $ac_link) 2>conftest.er1
28112   ac_status=$?
28113   grep -v '^ *+' conftest.er1 >conftest.err
28114   rm -f conftest.er1
28115   cat conftest.err >&5
28116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28117   (exit $ac_status); } &&
28118          { ac_try='test -z "$ac_c_werror_flag"
28119                          || test ! -s conftest.err'
28120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28121   (eval $ac_try) 2>&5
28122   ac_status=$?
28123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28124   (exit $ac_status); }; } &&
28125          { ac_try='test -s conftest$ac_exeext'
28126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28127   (eval $ac_try) 2>&5
28128   ac_status=$?
28129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28130   (exit $ac_status); }; }; then
28131   eval "$as_ac_var=yes"
28132 else
28133   echo "$as_me: failed program was:" >&5
28134 sed 's/^/| /' conftest.$ac_ext >&5
28135
28136 eval "$as_ac_var=no"
28137 fi
28138 rm -f conftest.err conftest.$ac_objext \
28139       conftest$ac_exeext conftest.$ac_ext
28140 fi
28141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28143 if test `eval echo '${'$as_ac_var'}'` = yes; then
28144   cat >>confdefs.h <<_ACEOF
28145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28146 _ACEOF
28147
28148 else
28149   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
28150 fi
28151 done
28152
28153
28154           if test x$ac_cv_func_copysignl = x"yes"; then
28155
28156 for ac_func in __signbitl
28157 do
28158 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28159 echo "$as_me:$LINENO: checking for $ac_func" >&5
28160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28161 if eval "test \"\${$as_ac_var+set}\" = set"; then
28162   echo $ECHO_N "(cached) $ECHO_C" >&6
28163 else
28164   if test x$gcc_no_link = xyes; then
28165   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28167    { (exit 1); exit 1; }; }
28168 fi
28169 cat >conftest.$ac_ext <<_ACEOF
28170 /* confdefs.h.  */
28171 _ACEOF
28172 cat confdefs.h >>conftest.$ac_ext
28173 cat >>conftest.$ac_ext <<_ACEOF
28174 /* end confdefs.h.  */
28175 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28176    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28177 #define $ac_func innocuous_$ac_func
28178
28179 /* System header to define __stub macros and hopefully few prototypes,
28180     which can conflict with char $ac_func (); below.
28181     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28182     <limits.h> exists even on freestanding compilers.  */
28183
28184 #ifdef __STDC__
28185 # include <limits.h>
28186 #else
28187 # include <assert.h>
28188 #endif
28189
28190 #undef $ac_func
28191
28192 /* Override any gcc2 internal prototype to avoid an error.  */
28193 #ifdef __cplusplus
28194 extern "C"
28195 {
28196 #endif
28197 /* We use char because int might match the return type of a gcc2
28198    builtin and then its argument prototype would still apply.  */
28199 char $ac_func ();
28200 /* The GNU C library defines this for functions which it implements
28201     to always fail with ENOSYS.  Some functions are actually named
28202     something starting with __ and the normal name is an alias.  */
28203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28204 choke me
28205 #else
28206 char (*f) () = $ac_func;
28207 #endif
28208 #ifdef __cplusplus
28209 }
28210 #endif
28211
28212 int
28213 main ()
28214 {
28215 return f != $ac_func;
28216   ;
28217   return 0;
28218 }
28219 _ACEOF
28220 rm -f conftest.$ac_objext conftest$ac_exeext
28221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28222   (eval $ac_link) 2>conftest.er1
28223   ac_status=$?
28224   grep -v '^ *+' conftest.er1 >conftest.err
28225   rm -f conftest.er1
28226   cat conftest.err >&5
28227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28228   (exit $ac_status); } &&
28229          { ac_try='test -z "$ac_c_werror_flag"
28230                          || test ! -s conftest.err'
28231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28232   (eval $ac_try) 2>&5
28233   ac_status=$?
28234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28235   (exit $ac_status); }; } &&
28236          { ac_try='test -s conftest$ac_exeext'
28237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28238   (eval $ac_try) 2>&5
28239   ac_status=$?
28240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28241   (exit $ac_status); }; }; then
28242   eval "$as_ac_var=yes"
28243 else
28244   echo "$as_me: failed program was:" >&5
28245 sed 's/^/| /' conftest.$ac_ext >&5
28246
28247 eval "$as_ac_var=no"
28248 fi
28249 rm -f conftest.err conftest.$ac_objext \
28250       conftest$ac_exeext conftest.$ac_ext
28251 fi
28252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28253 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28254 if test `eval echo '${'$as_ac_var'}'` = yes; then
28255   cat >>confdefs.h <<_ACEOF
28256 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28257 _ACEOF
28258
28259 else
28260   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
28261 fi
28262 done
28263
28264   fi
28265
28266   # Used in libmath/Makefile.am.
28267   if test -n "$LIBMATHOBJS"; then
28268     need_libmath=yes
28269   fi
28270
28271
28272
28273
28274   enable_iconv=no
28275   # Only continue checking if the ISO C99 headers exist and support is on.
28276   if test x"$enable_wchar_t" = xyes; then
28277
28278     # Use iconv for wchar_t to char conversions. As such, check for
28279     # X/Open Portability Guide, version 2 features (XPG2).
28280     if test "${ac_cv_header_iconv_h+set}" = set; then
28281   echo "$as_me:$LINENO: checking for iconv.h" >&5
28282 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28283 if test "${ac_cv_header_iconv_h+set}" = set; then
28284   echo $ECHO_N "(cached) $ECHO_C" >&6
28285 fi
28286 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28287 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28288 else
28289   # Is the header compilable?
28290 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28291 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28292 cat >conftest.$ac_ext <<_ACEOF
28293 /* confdefs.h.  */
28294 _ACEOF
28295 cat confdefs.h >>conftest.$ac_ext
28296 cat >>conftest.$ac_ext <<_ACEOF
28297 /* end confdefs.h.  */
28298 $ac_includes_default
28299 #include <iconv.h>
28300 _ACEOF
28301 rm -f conftest.$ac_objext
28302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28303   (eval $ac_compile) 2>conftest.er1
28304   ac_status=$?
28305   grep -v '^ *+' conftest.er1 >conftest.err
28306   rm -f conftest.er1
28307   cat conftest.err >&5
28308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28309   (exit $ac_status); } &&
28310          { ac_try='test -z "$ac_c_werror_flag"
28311                          || test ! -s conftest.err'
28312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28313   (eval $ac_try) 2>&5
28314   ac_status=$?
28315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28316   (exit $ac_status); }; } &&
28317          { ac_try='test -s conftest.$ac_objext'
28318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28319   (eval $ac_try) 2>&5
28320   ac_status=$?
28321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28322   (exit $ac_status); }; }; then
28323   ac_header_compiler=yes
28324 else
28325   echo "$as_me: failed program was:" >&5
28326 sed 's/^/| /' conftest.$ac_ext >&5
28327
28328 ac_header_compiler=no
28329 fi
28330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28331 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28332 echo "${ECHO_T}$ac_header_compiler" >&6
28333
28334 # Is the header present?
28335 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28336 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28337 cat >conftest.$ac_ext <<_ACEOF
28338 /* confdefs.h.  */
28339 _ACEOF
28340 cat confdefs.h >>conftest.$ac_ext
28341 cat >>conftest.$ac_ext <<_ACEOF
28342 /* end confdefs.h.  */
28343 #include <iconv.h>
28344 _ACEOF
28345 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28346   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28347   ac_status=$?
28348   grep -v '^ *+' conftest.er1 >conftest.err
28349   rm -f conftest.er1
28350   cat conftest.err >&5
28351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28352   (exit $ac_status); } >/dev/null; then
28353   if test -s conftest.err; then
28354     ac_cpp_err=$ac_c_preproc_warn_flag
28355     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28356   else
28357     ac_cpp_err=
28358   fi
28359 else
28360   ac_cpp_err=yes
28361 fi
28362 if test -z "$ac_cpp_err"; then
28363   ac_header_preproc=yes
28364 else
28365   echo "$as_me: failed program was:" >&5
28366 sed 's/^/| /' conftest.$ac_ext >&5
28367
28368   ac_header_preproc=no
28369 fi
28370 rm -f conftest.err conftest.$ac_ext
28371 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28372 echo "${ECHO_T}$ac_header_preproc" >&6
28373
28374 # So?  What about this header?
28375 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28376   yes:no: )
28377     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28378 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28379     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28380 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28381     ac_header_preproc=yes
28382     ;;
28383   no:yes:* )
28384     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28385 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28386     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
28387 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
28388     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28389 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28390     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
28391 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
28392     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28393 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28394     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28395 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28396     (
28397       cat <<\_ASBOX
28398 ## ----------------------------------------- ##
28399 ## Report this to the package-unused lists.  ##
28400 ## ----------------------------------------- ##
28401 _ASBOX
28402     ) |
28403       sed "s/^/$as_me: WARNING:     /" >&2
28404     ;;
28405 esac
28406 echo "$as_me:$LINENO: checking for iconv.h" >&5
28407 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28408 if test "${ac_cv_header_iconv_h+set}" = set; then
28409   echo $ECHO_N "(cached) $ECHO_C" >&6
28410 else
28411   ac_cv_header_iconv_h=$ac_header_preproc
28412 fi
28413 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28414 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28415
28416 fi
28417 if test $ac_cv_header_iconv_h = yes; then
28418   ac_has_iconv_h=yes
28419 else
28420   ac_has_iconv_h=no
28421 fi
28422
28423
28424     if test "${ac_cv_header_langinfo_h+set}" = set; then
28425   echo "$as_me:$LINENO: checking for langinfo.h" >&5
28426 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28427 if test "${ac_cv_header_langinfo_h+set}" = set; then
28428   echo $ECHO_N "(cached) $ECHO_C" >&6
28429 fi
28430 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28431 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28432 else
28433   # Is the header compilable?
28434 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28435 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28436 cat >conftest.$ac_ext <<_ACEOF
28437 /* confdefs.h.  */
28438 _ACEOF
28439 cat confdefs.h >>conftest.$ac_ext
28440 cat >>conftest.$ac_ext <<_ACEOF
28441 /* end confdefs.h.  */
28442 $ac_includes_default
28443 #include <langinfo.h>
28444 _ACEOF
28445 rm -f conftest.$ac_objext
28446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28447   (eval $ac_compile) 2>conftest.er1
28448   ac_status=$?
28449   grep -v '^ *+' conftest.er1 >conftest.err
28450   rm -f conftest.er1
28451   cat conftest.err >&5
28452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28453   (exit $ac_status); } &&
28454          { ac_try='test -z "$ac_c_werror_flag"
28455                          || test ! -s conftest.err'
28456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28457   (eval $ac_try) 2>&5
28458   ac_status=$?
28459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28460   (exit $ac_status); }; } &&
28461          { ac_try='test -s conftest.$ac_objext'
28462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28463   (eval $ac_try) 2>&5
28464   ac_status=$?
28465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28466   (exit $ac_status); }; }; then
28467   ac_header_compiler=yes
28468 else
28469   echo "$as_me: failed program was:" >&5
28470 sed 's/^/| /' conftest.$ac_ext >&5
28471
28472 ac_header_compiler=no
28473 fi
28474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28475 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28476 echo "${ECHO_T}$ac_header_compiler" >&6
28477
28478 # Is the header present?
28479 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28480 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28481 cat >conftest.$ac_ext <<_ACEOF
28482 /* confdefs.h.  */
28483 _ACEOF
28484 cat confdefs.h >>conftest.$ac_ext
28485 cat >>conftest.$ac_ext <<_ACEOF
28486 /* end confdefs.h.  */
28487 #include <langinfo.h>
28488 _ACEOF
28489 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28490   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28491   ac_status=$?
28492   grep -v '^ *+' conftest.er1 >conftest.err
28493   rm -f conftest.er1
28494   cat conftest.err >&5
28495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28496   (exit $ac_status); } >/dev/null; then
28497   if test -s conftest.err; then
28498     ac_cpp_err=$ac_c_preproc_warn_flag
28499     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28500   else
28501     ac_cpp_err=
28502   fi
28503 else
28504   ac_cpp_err=yes
28505 fi
28506 if test -z "$ac_cpp_err"; then
28507   ac_header_preproc=yes
28508 else
28509   echo "$as_me: failed program was:" >&5
28510 sed 's/^/| /' conftest.$ac_ext >&5
28511
28512   ac_header_preproc=no
28513 fi
28514 rm -f conftest.err conftest.$ac_ext
28515 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28516 echo "${ECHO_T}$ac_header_preproc" >&6
28517
28518 # So?  What about this header?
28519 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28520   yes:no: )
28521     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28522 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28523     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28524 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28525     ac_header_preproc=yes
28526     ;;
28527   no:yes:* )
28528     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28529 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28530     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
28531 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
28532     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28533 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28534     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
28535 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
28536     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28537 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28538     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28539 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28540     (
28541       cat <<\_ASBOX
28542 ## ----------------------------------------- ##
28543 ## Report this to the package-unused lists.  ##
28544 ## ----------------------------------------- ##
28545 _ASBOX
28546     ) |
28547       sed "s/^/$as_me: WARNING:     /" >&2
28548     ;;
28549 esac
28550 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28551 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28552 if test "${ac_cv_header_langinfo_h+set}" = set; then
28553   echo $ECHO_N "(cached) $ECHO_C" >&6
28554 else
28555   ac_cv_header_langinfo_h=$ac_header_preproc
28556 fi
28557 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28558 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28559
28560 fi
28561 if test $ac_cv_header_langinfo_h = yes; then
28562   ac_has_langinfo_h=yes
28563 else
28564   ac_has_langinfo_h=no
28565 fi
28566
28567
28568
28569     # Check for existence of libiconv.a providing XPG2 wchar_t support.
28570     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28571 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28572 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28573   echo $ECHO_N "(cached) $ECHO_C" >&6
28574 else
28575   ac_check_lib_save_LIBS=$LIBS
28576 LIBS="-liconv  $LIBS"
28577 if test x$gcc_no_link = xyes; then
28578   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28580    { (exit 1); exit 1; }; }
28581 fi
28582 cat >conftest.$ac_ext <<_ACEOF
28583 /* confdefs.h.  */
28584 _ACEOF
28585 cat confdefs.h >>conftest.$ac_ext
28586 cat >>conftest.$ac_ext <<_ACEOF
28587 /* end confdefs.h.  */
28588
28589 /* Override any gcc2 internal prototype to avoid an error.  */
28590 #ifdef __cplusplus
28591 extern "C"
28592 #endif
28593 /* We use char because int might match the return type of a gcc2
28594    builtin and then its argument prototype would still apply.  */
28595 char iconv ();
28596 int
28597 main ()
28598 {
28599 iconv ();
28600   ;
28601   return 0;
28602 }
28603 _ACEOF
28604 rm -f conftest.$ac_objext conftest$ac_exeext
28605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28606   (eval $ac_link) 2>conftest.er1
28607   ac_status=$?
28608   grep -v '^ *+' conftest.er1 >conftest.err
28609   rm -f conftest.er1
28610   cat conftest.err >&5
28611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28612   (exit $ac_status); } &&
28613          { ac_try='test -z "$ac_c_werror_flag"
28614                          || test ! -s conftest.err'
28615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28616   (eval $ac_try) 2>&5
28617   ac_status=$?
28618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28619   (exit $ac_status); }; } &&
28620          { ac_try='test -s conftest$ac_exeext'
28621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28622   (eval $ac_try) 2>&5
28623   ac_status=$?
28624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28625   (exit $ac_status); }; }; then
28626   ac_cv_lib_iconv_iconv=yes
28627 else
28628   echo "$as_me: failed program was:" >&5
28629 sed 's/^/| /' conftest.$ac_ext >&5
28630
28631 ac_cv_lib_iconv_iconv=no
28632 fi
28633 rm -f conftest.err conftest.$ac_objext \
28634       conftest$ac_exeext conftest.$ac_ext
28635 LIBS=$ac_check_lib_save_LIBS
28636 fi
28637 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
28638 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
28639 if test $ac_cv_lib_iconv_iconv = yes; then
28640   LIBICONV="-liconv"
28641 fi
28642
28643     ac_save_LIBS="$LIBS"
28644     LIBS="$LIBS $LIBICONV"
28645
28646
28647
28648
28649
28650
28651 for ac_func in iconv_open iconv_close iconv nl_langinfo
28652 do
28653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28654 echo "$as_me:$LINENO: checking for $ac_func" >&5
28655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28656 if eval "test \"\${$as_ac_var+set}\" = set"; then
28657   echo $ECHO_N "(cached) $ECHO_C" >&6
28658 else
28659   if test x$gcc_no_link = xyes; then
28660   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28662    { (exit 1); exit 1; }; }
28663 fi
28664 cat >conftest.$ac_ext <<_ACEOF
28665 /* confdefs.h.  */
28666 _ACEOF
28667 cat confdefs.h >>conftest.$ac_ext
28668 cat >>conftest.$ac_ext <<_ACEOF
28669 /* end confdefs.h.  */
28670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28671    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28672 #define $ac_func innocuous_$ac_func
28673
28674 /* System header to define __stub macros and hopefully few prototypes,
28675     which can conflict with char $ac_func (); below.
28676     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28677     <limits.h> exists even on freestanding compilers.  */
28678
28679 #ifdef __STDC__
28680 # include <limits.h>
28681 #else
28682 # include <assert.h>
28683 #endif
28684
28685 #undef $ac_func
28686
28687 /* Override any gcc2 internal prototype to avoid an error.  */
28688 #ifdef __cplusplus
28689 extern "C"
28690 {
28691 #endif
28692 /* We use char because int might match the return type of a gcc2
28693    builtin and then its argument prototype would still apply.  */
28694 char $ac_func ();
28695 /* The GNU C library defines this for functions which it implements
28696     to always fail with ENOSYS.  Some functions are actually named
28697     something starting with __ and the normal name is an alias.  */
28698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28699 choke me
28700 #else
28701 char (*f) () = $ac_func;
28702 #endif
28703 #ifdef __cplusplus
28704 }
28705 #endif
28706
28707 int
28708 main ()
28709 {
28710 return f != $ac_func;
28711   ;
28712   return 0;
28713 }
28714 _ACEOF
28715 rm -f conftest.$ac_objext conftest$ac_exeext
28716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28717   (eval $ac_link) 2>conftest.er1
28718   ac_status=$?
28719   grep -v '^ *+' conftest.er1 >conftest.err
28720   rm -f conftest.er1
28721   cat conftest.err >&5
28722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28723   (exit $ac_status); } &&
28724          { ac_try='test -z "$ac_c_werror_flag"
28725                          || test ! -s conftest.err'
28726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28727   (eval $ac_try) 2>&5
28728   ac_status=$?
28729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28730   (exit $ac_status); }; } &&
28731          { ac_try='test -s conftest$ac_exeext'
28732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28733   (eval $ac_try) 2>&5
28734   ac_status=$?
28735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28736   (exit $ac_status); }; }; then
28737   eval "$as_ac_var=yes"
28738 else
28739   echo "$as_me: failed program was:" >&5
28740 sed 's/^/| /' conftest.$ac_ext >&5
28741
28742 eval "$as_ac_var=no"
28743 fi
28744 rm -f conftest.err conftest.$ac_objext \
28745       conftest$ac_exeext conftest.$ac_ext
28746 fi
28747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28749 if test `eval echo '${'$as_ac_var'}'` = yes; then
28750   cat >>confdefs.h <<_ACEOF
28751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28752 _ACEOF
28753  ac_XPG2funcs=yes
28754 else
28755   ac_XPG2funcs=no
28756 fi
28757 done
28758
28759
28760     LIBS="$ac_save_LIBS"
28761
28762     if test x"$ac_has_iconv_h" = xyes &&
28763        test x"$ac_has_langinfo_h" = xyes &&
28764        test x"$ac_XPG2funcs" = xyes;
28765     then
28766
28767 cat >>confdefs.h <<\_ACEOF
28768 #define _GLIBCXX_USE_ICONV 1
28769 _ACEOF
28770
28771       enable_iconv=yes
28772     fi
28773   fi
28774   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
28775 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
28776   echo "$as_me:$LINENO: result: $enable_iconv" >&5
28777 echo "${ECHO_T}$enable_iconv" >&6
28778
28779
28780   ac_test_CXXFLAGS="${CXXFLAGS+set}"
28781   ac_save_CXXFLAGS="$CXXFLAGS"
28782   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28783
28784
28785   echo "$as_me:$LINENO: checking for strtold declaration" >&5
28786 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
28787   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28788     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
28789   echo $ECHO_N "(cached) $ECHO_C" >&6
28790 else
28791
28792
28793
28794       ac_ext=cc
28795 ac_cpp='$CXXCPP $CPPFLAGS'
28796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28799
28800       cat >conftest.$ac_ext <<_ACEOF
28801 /* confdefs.h.  */
28802 _ACEOF
28803 cat confdefs.h >>conftest.$ac_ext
28804 cat >>conftest.$ac_ext <<_ACEOF
28805 /* end confdefs.h.  */
28806 #include <stdlib.h>
28807 int
28808 main ()
28809 {
28810  strtold(0, 0);
28811   ;
28812   return 0;
28813 }
28814 _ACEOF
28815 rm -f conftest.$ac_objext
28816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28817   (eval $ac_compile) 2>conftest.er1
28818   ac_status=$?
28819   grep -v '^ *+' conftest.er1 >conftest.err
28820   rm -f conftest.er1
28821   cat conftest.err >&5
28822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28823   (exit $ac_status); } &&
28824          { ac_try='test -z "$ac_cxx_werror_flag"
28825                          || test ! -s conftest.err'
28826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28827   (eval $ac_try) 2>&5
28828   ac_status=$?
28829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28830   (exit $ac_status); }; } &&
28831          { ac_try='test -s conftest.$ac_objext'
28832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28833   (eval $ac_try) 2>&5
28834   ac_status=$?
28835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28836   (exit $ac_status); }; }; then
28837   glibcxx_cv_func_strtold_use=yes
28838 else
28839   echo "$as_me: failed program was:" >&5
28840 sed 's/^/| /' conftest.$ac_ext >&5
28841
28842 glibcxx_cv_func_strtold_use=no
28843 fi
28844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28845       ac_ext=c
28846 ac_cpp='$CPP $CPPFLAGS'
28847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28850
28851
28852 fi
28853
28854   fi
28855   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
28856 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
28857   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28858
28859 for ac_func in strtold
28860 do
28861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28862 echo "$as_me:$LINENO: checking for $ac_func" >&5
28863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28864 if eval "test \"\${$as_ac_var+set}\" = set"; then
28865   echo $ECHO_N "(cached) $ECHO_C" >&6
28866 else
28867   if test x$gcc_no_link = xyes; then
28868   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28870    { (exit 1); exit 1; }; }
28871 fi
28872 cat >conftest.$ac_ext <<_ACEOF
28873 /* confdefs.h.  */
28874 _ACEOF
28875 cat confdefs.h >>conftest.$ac_ext
28876 cat >>conftest.$ac_ext <<_ACEOF
28877 /* end confdefs.h.  */
28878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28879    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28880 #define $ac_func innocuous_$ac_func
28881
28882 /* System header to define __stub macros and hopefully few prototypes,
28883     which can conflict with char $ac_func (); below.
28884     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28885     <limits.h> exists even on freestanding compilers.  */
28886
28887 #ifdef __STDC__
28888 # include <limits.h>
28889 #else
28890 # include <assert.h>
28891 #endif
28892
28893 #undef $ac_func
28894
28895 /* Override any gcc2 internal prototype to avoid an error.  */
28896 #ifdef __cplusplus
28897 extern "C"
28898 {
28899 #endif
28900 /* We use char because int might match the return type of a gcc2
28901    builtin and then its argument prototype would still apply.  */
28902 char $ac_func ();
28903 /* The GNU C library defines this for functions which it implements
28904     to always fail with ENOSYS.  Some functions are actually named
28905     something starting with __ and the normal name is an alias.  */
28906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28907 choke me
28908 #else
28909 char (*f) () = $ac_func;
28910 #endif
28911 #ifdef __cplusplus
28912 }
28913 #endif
28914
28915 int
28916 main ()
28917 {
28918 return f != $ac_func;
28919   ;
28920   return 0;
28921 }
28922 _ACEOF
28923 rm -f conftest.$ac_objext conftest$ac_exeext
28924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28925   (eval $ac_link) 2>conftest.er1
28926   ac_status=$?
28927   grep -v '^ *+' conftest.er1 >conftest.err
28928   rm -f conftest.er1
28929   cat conftest.err >&5
28930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28931   (exit $ac_status); } &&
28932          { ac_try='test -z "$ac_c_werror_flag"
28933                          || test ! -s conftest.err'
28934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28935   (eval $ac_try) 2>&5
28936   ac_status=$?
28937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28938   (exit $ac_status); }; } &&
28939          { ac_try='test -s conftest$ac_exeext'
28940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28941   (eval $ac_try) 2>&5
28942   ac_status=$?
28943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28944   (exit $ac_status); }; }; then
28945   eval "$as_ac_var=yes"
28946 else
28947   echo "$as_me: failed program was:" >&5
28948 sed 's/^/| /' conftest.$ac_ext >&5
28949
28950 eval "$as_ac_var=no"
28951 fi
28952 rm -f conftest.err conftest.$ac_objext \
28953       conftest$ac_exeext conftest.$ac_ext
28954 fi
28955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28957 if test `eval echo '${'$as_ac_var'}'` = yes; then
28958   cat >>confdefs.h <<_ACEOF
28959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28960 _ACEOF
28961
28962 fi
28963 done
28964
28965   fi
28966
28967
28968
28969
28970
28971   echo "$as_me:$LINENO: checking for strtof declaration" >&5
28972 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
28973   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28974     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
28975   echo $ECHO_N "(cached) $ECHO_C" >&6
28976 else
28977
28978
28979
28980       ac_ext=cc
28981 ac_cpp='$CXXCPP $CPPFLAGS'
28982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28985
28986       cat >conftest.$ac_ext <<_ACEOF
28987 /* confdefs.h.  */
28988 _ACEOF
28989 cat confdefs.h >>conftest.$ac_ext
28990 cat >>conftest.$ac_ext <<_ACEOF
28991 /* end confdefs.h.  */
28992 #include <stdlib.h>
28993 int
28994 main ()
28995 {
28996  strtof(0, 0);
28997   ;
28998   return 0;
28999 }
29000 _ACEOF
29001 rm -f conftest.$ac_objext
29002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29003   (eval $ac_compile) 2>conftest.er1
29004   ac_status=$?
29005   grep -v '^ *+' conftest.er1 >conftest.err
29006   rm -f conftest.er1
29007   cat conftest.err >&5
29008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29009   (exit $ac_status); } &&
29010          { ac_try='test -z "$ac_cxx_werror_flag"
29011                          || test ! -s conftest.err'
29012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29013   (eval $ac_try) 2>&5
29014   ac_status=$?
29015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29016   (exit $ac_status); }; } &&
29017          { ac_try='test -s conftest.$ac_objext'
29018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29019   (eval $ac_try) 2>&5
29020   ac_status=$?
29021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29022   (exit $ac_status); }; }; then
29023   glibcxx_cv_func_strtof_use=yes
29024 else
29025   echo "$as_me: failed program was:" >&5
29026 sed 's/^/| /' conftest.$ac_ext >&5
29027
29028 glibcxx_cv_func_strtof_use=no
29029 fi
29030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29031       ac_ext=c
29032 ac_cpp='$CPP $CPPFLAGS'
29033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29036
29037
29038 fi
29039
29040   fi
29041   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29042 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29043   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29044
29045 for ac_func in strtof
29046 do
29047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29048 echo "$as_me:$LINENO: checking for $ac_func" >&5
29049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29050 if eval "test \"\${$as_ac_var+set}\" = set"; then
29051   echo $ECHO_N "(cached) $ECHO_C" >&6
29052 else
29053   if test x$gcc_no_link = xyes; then
29054   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29056    { (exit 1); exit 1; }; }
29057 fi
29058 cat >conftest.$ac_ext <<_ACEOF
29059 /* confdefs.h.  */
29060 _ACEOF
29061 cat confdefs.h >>conftest.$ac_ext
29062 cat >>conftest.$ac_ext <<_ACEOF
29063 /* end confdefs.h.  */
29064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29065    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29066 #define $ac_func innocuous_$ac_func
29067
29068 /* System header to define __stub macros and hopefully few prototypes,
29069     which can conflict with char $ac_func (); below.
29070     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29071     <limits.h> exists even on freestanding compilers.  */
29072
29073 #ifdef __STDC__
29074 # include <limits.h>
29075 #else
29076 # include <assert.h>
29077 #endif
29078
29079 #undef $ac_func
29080
29081 /* Override any gcc2 internal prototype to avoid an error.  */
29082 #ifdef __cplusplus
29083 extern "C"
29084 {
29085 #endif
29086 /* We use char because int might match the return type of a gcc2
29087    builtin and then its argument prototype would still apply.  */
29088 char $ac_func ();
29089 /* The GNU C library defines this for functions which it implements
29090     to always fail with ENOSYS.  Some functions are actually named
29091     something starting with __ and the normal name is an alias.  */
29092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29093 choke me
29094 #else
29095 char (*f) () = $ac_func;
29096 #endif
29097 #ifdef __cplusplus
29098 }
29099 #endif
29100
29101 int
29102 main ()
29103 {
29104 return f != $ac_func;
29105   ;
29106   return 0;
29107 }
29108 _ACEOF
29109 rm -f conftest.$ac_objext conftest$ac_exeext
29110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29111   (eval $ac_link) 2>conftest.er1
29112   ac_status=$?
29113   grep -v '^ *+' conftest.er1 >conftest.err
29114   rm -f conftest.er1
29115   cat conftest.err >&5
29116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29117   (exit $ac_status); } &&
29118          { ac_try='test -z "$ac_c_werror_flag"
29119                          || test ! -s conftest.err'
29120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29121   (eval $ac_try) 2>&5
29122   ac_status=$?
29123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29124   (exit $ac_status); }; } &&
29125          { ac_try='test -s conftest$ac_exeext'
29126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29127   (eval $ac_try) 2>&5
29128   ac_status=$?
29129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29130   (exit $ac_status); }; }; then
29131   eval "$as_ac_var=yes"
29132 else
29133   echo "$as_me: failed program was:" >&5
29134 sed 's/^/| /' conftest.$ac_ext >&5
29135
29136 eval "$as_ac_var=no"
29137 fi
29138 rm -f conftest.err conftest.$ac_objext \
29139       conftest$ac_exeext conftest.$ac_ext
29140 fi
29141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29143 if test `eval echo '${'$as_ac_var'}'` = yes; then
29144   cat >>confdefs.h <<_ACEOF
29145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29146 _ACEOF
29147
29148 fi
29149 done
29150
29151   fi
29152
29153
29154
29155
29156
29157   CXXFLAGS="$ac_save_CXXFLAGS"
29158
29159
29160   # For showmanyc_helper().
29161
29162
29163 for ac_header in sys/ioctl.h sys/filio.h
29164 do
29165 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29166 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29167   echo "$as_me:$LINENO: checking for $ac_header" >&5
29168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29169 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29170   echo $ECHO_N "(cached) $ECHO_C" >&6
29171 fi
29172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29173 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29174 else
29175   # Is the header compilable?
29176 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29177 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29178 cat >conftest.$ac_ext <<_ACEOF
29179 /* confdefs.h.  */
29180 _ACEOF
29181 cat confdefs.h >>conftest.$ac_ext
29182 cat >>conftest.$ac_ext <<_ACEOF
29183 /* end confdefs.h.  */
29184 $ac_includes_default
29185 #include <$ac_header>
29186 _ACEOF
29187 rm -f conftest.$ac_objext
29188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29189   (eval $ac_compile) 2>conftest.er1
29190   ac_status=$?
29191   grep -v '^ *+' conftest.er1 >conftest.err
29192   rm -f conftest.er1
29193   cat conftest.err >&5
29194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29195   (exit $ac_status); } &&
29196          { ac_try='test -z "$ac_c_werror_flag"
29197                          || test ! -s conftest.err'
29198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29199   (eval $ac_try) 2>&5
29200   ac_status=$?
29201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29202   (exit $ac_status); }; } &&
29203          { ac_try='test -s conftest.$ac_objext'
29204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29205   (eval $ac_try) 2>&5
29206   ac_status=$?
29207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29208   (exit $ac_status); }; }; then
29209   ac_header_compiler=yes
29210 else
29211   echo "$as_me: failed program was:" >&5
29212 sed 's/^/| /' conftest.$ac_ext >&5
29213
29214 ac_header_compiler=no
29215 fi
29216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29217 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29218 echo "${ECHO_T}$ac_header_compiler" >&6
29219
29220 # Is the header present?
29221 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29222 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29223 cat >conftest.$ac_ext <<_ACEOF
29224 /* confdefs.h.  */
29225 _ACEOF
29226 cat confdefs.h >>conftest.$ac_ext
29227 cat >>conftest.$ac_ext <<_ACEOF
29228 /* end confdefs.h.  */
29229 #include <$ac_header>
29230 _ACEOF
29231 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29232   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29233   ac_status=$?
29234   grep -v '^ *+' conftest.er1 >conftest.err
29235   rm -f conftest.er1
29236   cat conftest.err >&5
29237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29238   (exit $ac_status); } >/dev/null; then
29239   if test -s conftest.err; then
29240     ac_cpp_err=$ac_c_preproc_warn_flag
29241     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29242   else
29243     ac_cpp_err=
29244   fi
29245 else
29246   ac_cpp_err=yes
29247 fi
29248 if test -z "$ac_cpp_err"; then
29249   ac_header_preproc=yes
29250 else
29251   echo "$as_me: failed program was:" >&5
29252 sed 's/^/| /' conftest.$ac_ext >&5
29253
29254   ac_header_preproc=no
29255 fi
29256 rm -f conftest.err conftest.$ac_ext
29257 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29258 echo "${ECHO_T}$ac_header_preproc" >&6
29259
29260 # So?  What about this header?
29261 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29262   yes:no: )
29263     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29264 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29265     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29266 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29267     ac_header_preproc=yes
29268     ;;
29269   no:yes:* )
29270     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29271 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29272     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
29273 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
29274     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29275 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29276     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
29277 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
29278     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29279 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29280     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29281 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29282     (
29283       cat <<\_ASBOX
29284 ## ----------------------------------------- ##
29285 ## Report this to the package-unused lists.  ##
29286 ## ----------------------------------------- ##
29287 _ASBOX
29288     ) |
29289       sed "s/^/$as_me: WARNING:     /" >&2
29290     ;;
29291 esac
29292 echo "$as_me:$LINENO: checking for $ac_header" >&5
29293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29295   echo $ECHO_N "(cached) $ECHO_C" >&6
29296 else
29297   eval "$as_ac_Header=\$ac_header_preproc"
29298 fi
29299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29300 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29301
29302 fi
29303 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29304   cat >>confdefs.h <<_ACEOF
29305 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29306 _ACEOF
29307
29308 fi
29309
29310 done
29311
29312
29313   if test "${glibcxx_cv_POLL+set}" = set; then
29314   echo $ECHO_N "(cached) $ECHO_C" >&6
29315 else
29316
29317     if test x$gcc_no_link = xyes; then
29318   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29320    { (exit 1); exit 1; }; }
29321 fi
29322 cat >conftest.$ac_ext <<_ACEOF
29323 /* confdefs.h.  */
29324 _ACEOF
29325 cat confdefs.h >>conftest.$ac_ext
29326 cat >>conftest.$ac_ext <<_ACEOF
29327 /* end confdefs.h.  */
29328 #include <poll.h>
29329 int
29330 main ()
29331 {
29332 struct pollfd pfd[1];
29333        pfd[0].events = POLLIN;
29334        poll(pfd, 1, 0);
29335   ;
29336   return 0;
29337 }
29338 _ACEOF
29339 rm -f conftest.$ac_objext conftest$ac_exeext
29340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29341   (eval $ac_link) 2>conftest.er1
29342   ac_status=$?
29343   grep -v '^ *+' conftest.er1 >conftest.err
29344   rm -f conftest.er1
29345   cat conftest.err >&5
29346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29347   (exit $ac_status); } &&
29348          { ac_try='test -z "$ac_c_werror_flag"
29349                          || test ! -s conftest.err'
29350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29351   (eval $ac_try) 2>&5
29352   ac_status=$?
29353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29354   (exit $ac_status); }; } &&
29355          { ac_try='test -s conftest$ac_exeext'
29356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29357   (eval $ac_try) 2>&5
29358   ac_status=$?
29359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29360   (exit $ac_status); }; }; then
29361   glibcxx_cv_POLL=yes
29362 else
29363   echo "$as_me: failed program was:" >&5
29364 sed 's/^/| /' conftest.$ac_ext >&5
29365
29366 glibcxx_cv_POLL=no
29367 fi
29368 rm -f conftest.err conftest.$ac_objext \
29369       conftest$ac_exeext conftest.$ac_ext
29370
29371 fi
29372
29373   if test $glibcxx_cv_POLL = yes; then
29374
29375 cat >>confdefs.h <<\_ACEOF
29376 #define HAVE_POLL 1
29377 _ACEOF
29378
29379   fi
29380
29381
29382   if test "${glibcxx_cv_S_ISREG+set}" = set; then
29383   echo $ECHO_N "(cached) $ECHO_C" >&6
29384 else
29385
29386     if test x$gcc_no_link = xyes; then
29387   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29389    { (exit 1); exit 1; }; }
29390 fi
29391 cat >conftest.$ac_ext <<_ACEOF
29392 /* confdefs.h.  */
29393 _ACEOF
29394 cat confdefs.h >>conftest.$ac_ext
29395 cat >>conftest.$ac_ext <<_ACEOF
29396 /* end confdefs.h.  */
29397 #include <sys/stat.h>
29398 int
29399 main ()
29400 {
29401 struct stat buffer;
29402        fstat(0, &buffer);
29403        S_ISREG(buffer.st_mode);
29404   ;
29405   return 0;
29406 }
29407 _ACEOF
29408 rm -f conftest.$ac_objext conftest$ac_exeext
29409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29410   (eval $ac_link) 2>conftest.er1
29411   ac_status=$?
29412   grep -v '^ *+' conftest.er1 >conftest.err
29413   rm -f conftest.er1
29414   cat conftest.err >&5
29415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29416   (exit $ac_status); } &&
29417          { ac_try='test -z "$ac_c_werror_flag"
29418                          || test ! -s conftest.err'
29419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29420   (eval $ac_try) 2>&5
29421   ac_status=$?
29422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29423   (exit $ac_status); }; } &&
29424          { ac_try='test -s conftest$ac_exeext'
29425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29426   (eval $ac_try) 2>&5
29427   ac_status=$?
29428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29429   (exit $ac_status); }; }; then
29430   glibcxx_cv_S_ISREG=yes
29431 else
29432   echo "$as_me: failed program was:" >&5
29433 sed 's/^/| /' conftest.$ac_ext >&5
29434
29435 glibcxx_cv_S_ISREG=no
29436 fi
29437 rm -f conftest.err conftest.$ac_objext \
29438       conftest$ac_exeext conftest.$ac_ext
29439
29440 fi
29441
29442   if test "${glibcxx_cv_S_IFREG+set}" = set; then
29443   echo $ECHO_N "(cached) $ECHO_C" >&6
29444 else
29445
29446     if test x$gcc_no_link = xyes; then
29447   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29449    { (exit 1); exit 1; }; }
29450 fi
29451 cat >conftest.$ac_ext <<_ACEOF
29452 /* confdefs.h.  */
29453 _ACEOF
29454 cat confdefs.h >>conftest.$ac_ext
29455 cat >>conftest.$ac_ext <<_ACEOF
29456 /* end confdefs.h.  */
29457 #include <sys/stat.h>
29458 int
29459 main ()
29460 {
29461 struct stat buffer;
29462        fstat(0, &buffer);
29463        S_IFREG & buffer.st_mode;
29464   ;
29465   return 0;
29466 }
29467 _ACEOF
29468 rm -f conftest.$ac_objext conftest$ac_exeext
29469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29470   (eval $ac_link) 2>conftest.er1
29471   ac_status=$?
29472   grep -v '^ *+' conftest.er1 >conftest.err
29473   rm -f conftest.er1
29474   cat conftest.err >&5
29475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29476   (exit $ac_status); } &&
29477          { ac_try='test -z "$ac_c_werror_flag"
29478                          || test ! -s conftest.err'
29479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29480   (eval $ac_try) 2>&5
29481   ac_status=$?
29482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29483   (exit $ac_status); }; } &&
29484          { ac_try='test -s conftest$ac_exeext'
29485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29486   (eval $ac_try) 2>&5
29487   ac_status=$?
29488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29489   (exit $ac_status); }; }; then
29490   glibcxx_cv_S_IFREG=yes
29491 else
29492   echo "$as_me: failed program was:" >&5
29493 sed 's/^/| /' conftest.$ac_ext >&5
29494
29495 glibcxx_cv_S_IFREG=no
29496 fi
29497 rm -f conftest.err conftest.$ac_objext \
29498       conftest$ac_exeext conftest.$ac_ext
29499
29500 fi
29501
29502   if test $glibcxx_cv_S_ISREG = yes; then
29503
29504 cat >>confdefs.h <<\_ACEOF
29505 #define HAVE_S_ISREG 1
29506 _ACEOF
29507
29508   elif test $glibcxx_cv_S_IFREG = yes; then
29509
29510 cat >>confdefs.h <<\_ACEOF
29511 #define HAVE_S_IFREG 1
29512 _ACEOF
29513
29514   fi
29515
29516
29517   # For xsputn_2().
29518
29519 for ac_header in sys/uio.h
29520 do
29521 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29522 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29523   echo "$as_me:$LINENO: checking for $ac_header" >&5
29524 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29525 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29526   echo $ECHO_N "(cached) $ECHO_C" >&6
29527 fi
29528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29529 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29530 else
29531   # Is the header compilable?
29532 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29533 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29534 cat >conftest.$ac_ext <<_ACEOF
29535 /* confdefs.h.  */
29536 _ACEOF
29537 cat confdefs.h >>conftest.$ac_ext
29538 cat >>conftest.$ac_ext <<_ACEOF
29539 /* end confdefs.h.  */
29540 $ac_includes_default
29541 #include <$ac_header>
29542 _ACEOF
29543 rm -f conftest.$ac_objext
29544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29545   (eval $ac_compile) 2>conftest.er1
29546   ac_status=$?
29547   grep -v '^ *+' conftest.er1 >conftest.err
29548   rm -f conftest.er1
29549   cat conftest.err >&5
29550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29551   (exit $ac_status); } &&
29552          { ac_try='test -z "$ac_c_werror_flag"
29553                          || test ! -s conftest.err'
29554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29555   (eval $ac_try) 2>&5
29556   ac_status=$?
29557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29558   (exit $ac_status); }; } &&
29559          { ac_try='test -s conftest.$ac_objext'
29560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29561   (eval $ac_try) 2>&5
29562   ac_status=$?
29563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29564   (exit $ac_status); }; }; then
29565   ac_header_compiler=yes
29566 else
29567   echo "$as_me: failed program was:" >&5
29568 sed 's/^/| /' conftest.$ac_ext >&5
29569
29570 ac_header_compiler=no
29571 fi
29572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29573 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29574 echo "${ECHO_T}$ac_header_compiler" >&6
29575
29576 # Is the header present?
29577 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29578 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29579 cat >conftest.$ac_ext <<_ACEOF
29580 /* confdefs.h.  */
29581 _ACEOF
29582 cat confdefs.h >>conftest.$ac_ext
29583 cat >>conftest.$ac_ext <<_ACEOF
29584 /* end confdefs.h.  */
29585 #include <$ac_header>
29586 _ACEOF
29587 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29588   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29589   ac_status=$?
29590   grep -v '^ *+' conftest.er1 >conftest.err
29591   rm -f conftest.er1
29592   cat conftest.err >&5
29593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29594   (exit $ac_status); } >/dev/null; then
29595   if test -s conftest.err; then
29596     ac_cpp_err=$ac_c_preproc_warn_flag
29597     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29598   else
29599     ac_cpp_err=
29600   fi
29601 else
29602   ac_cpp_err=yes
29603 fi
29604 if test -z "$ac_cpp_err"; then
29605   ac_header_preproc=yes
29606 else
29607   echo "$as_me: failed program was:" >&5
29608 sed 's/^/| /' conftest.$ac_ext >&5
29609
29610   ac_header_preproc=no
29611 fi
29612 rm -f conftest.err conftest.$ac_ext
29613 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29614 echo "${ECHO_T}$ac_header_preproc" >&6
29615
29616 # So?  What about this header?
29617 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29618   yes:no: )
29619     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29620 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29621     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29622 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29623     ac_header_preproc=yes
29624     ;;
29625   no:yes:* )
29626     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29627 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29628     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
29629 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
29630     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29631 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29632     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
29633 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
29634     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29635 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29636     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29637 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29638     (
29639       cat <<\_ASBOX
29640 ## ----------------------------------------- ##
29641 ## Report this to the package-unused lists.  ##
29642 ## ----------------------------------------- ##
29643 _ASBOX
29644     ) |
29645       sed "s/^/$as_me: WARNING:     /" >&2
29646     ;;
29647 esac
29648 echo "$as_me:$LINENO: checking for $ac_header" >&5
29649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29650 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29651   echo $ECHO_N "(cached) $ECHO_C" >&6
29652 else
29653   eval "$as_ac_Header=\$ac_header_preproc"
29654 fi
29655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29656 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29657
29658 fi
29659 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29660   cat >>confdefs.h <<_ACEOF
29661 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29662 _ACEOF
29663
29664 fi
29665
29666 done
29667
29668
29669   if test "${glibcxx_cv_WRITEV+set}" = set; then
29670   echo $ECHO_N "(cached) $ECHO_C" >&6
29671 else
29672
29673     if test x$gcc_no_link = xyes; then
29674   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29676    { (exit 1); exit 1; }; }
29677 fi
29678 cat >conftest.$ac_ext <<_ACEOF
29679 /* confdefs.h.  */
29680 _ACEOF
29681 cat confdefs.h >>conftest.$ac_ext
29682 cat >>conftest.$ac_ext <<_ACEOF
29683 /* end confdefs.h.  */
29684 #include <sys/uio.h>
29685 int
29686 main ()
29687 {
29688 struct iovec iov[2];
29689        writev(0, iov, 0);
29690   ;
29691   return 0;
29692 }
29693 _ACEOF
29694 rm -f conftest.$ac_objext conftest$ac_exeext
29695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29696   (eval $ac_link) 2>conftest.er1
29697   ac_status=$?
29698   grep -v '^ *+' conftest.er1 >conftest.err
29699   rm -f conftest.er1
29700   cat conftest.err >&5
29701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29702   (exit $ac_status); } &&
29703          { ac_try='test -z "$ac_c_werror_flag"
29704                          || test ! -s conftest.err'
29705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29706   (eval $ac_try) 2>&5
29707   ac_status=$?
29708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29709   (exit $ac_status); }; } &&
29710          { ac_try='test -s conftest$ac_exeext'
29711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29712   (eval $ac_try) 2>&5
29713   ac_status=$?
29714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29715   (exit $ac_status); }; }; then
29716   glibcxx_cv_WRITEV=yes
29717 else
29718   echo "$as_me: failed program was:" >&5
29719 sed 's/^/| /' conftest.$ac_ext >&5
29720
29721 glibcxx_cv_WRITEV=no
29722 fi
29723 rm -f conftest.err conftest.$ac_objext \
29724       conftest$ac_exeext conftest.$ac_ext
29725
29726 fi
29727
29728   if test $glibcxx_cv_WRITEV = yes; then
29729
29730 cat >>confdefs.h <<\_ACEOF
29731 #define HAVE_WRITEV 1
29732 _ACEOF
29733
29734   fi
29735
29736
29737   # For the __streamoff_base_type typedef.
29738
29739   if test "${glibcxx_cv_INT64_T+set}" = set; then
29740   echo $ECHO_N "(cached) $ECHO_C" >&6
29741 else
29742
29743     cat >conftest.$ac_ext <<_ACEOF
29744 /* confdefs.h.  */
29745 _ACEOF
29746 cat confdefs.h >>conftest.$ac_ext
29747 cat >>conftest.$ac_ext <<_ACEOF
29748 /* end confdefs.h.  */
29749 #include <stdint.h>
29750 int
29751 main ()
29752 {
29753 int64_t var;
29754   ;
29755   return 0;
29756 }
29757 _ACEOF
29758 rm -f conftest.$ac_objext
29759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29760   (eval $ac_compile) 2>conftest.er1
29761   ac_status=$?
29762   grep -v '^ *+' conftest.er1 >conftest.err
29763   rm -f conftest.er1
29764   cat conftest.err >&5
29765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29766   (exit $ac_status); } &&
29767          { ac_try='test -z "$ac_c_werror_flag"
29768                          || test ! -s conftest.err'
29769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29770   (eval $ac_try) 2>&5
29771   ac_status=$?
29772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29773   (exit $ac_status); }; } &&
29774          { ac_try='test -s conftest.$ac_objext'
29775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29776   (eval $ac_try) 2>&5
29777   ac_status=$?
29778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29779   (exit $ac_status); }; }; then
29780   glibcxx_cv_INT64_T=yes
29781 else
29782   echo "$as_me: failed program was:" >&5
29783 sed 's/^/| /' conftest.$ac_ext >&5
29784
29785 glibcxx_cv_INT64_T=no
29786 fi
29787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29788
29789 fi
29790
29791   if test $glibcxx_cv_INT64_T = yes; then
29792
29793 cat >>confdefs.h <<\_ACEOF
29794 #define HAVE_INT64_T 1
29795 _ACEOF
29796
29797   fi
29798
29799
29800   # For LFS support.
29801
29802
29803
29804   ac_ext=cc
29805 ac_cpp='$CXXCPP $CPPFLAGS'
29806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29809
29810   ac_save_CXXFLAGS="$CXXFLAGS"
29811   CXXFLAGS="$CXXFLAGS -fno-exceptions"
29812   if test "${glibcxx_cv_LFS+set}" = set; then
29813   echo $ECHO_N "(cached) $ECHO_C" >&6
29814 else
29815
29816     if test x$gcc_no_link = xyes; then
29817   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29819    { (exit 1); exit 1; }; }
29820 fi
29821 cat >conftest.$ac_ext <<_ACEOF
29822 /* confdefs.h.  */
29823 _ACEOF
29824 cat confdefs.h >>conftest.$ac_ext
29825 cat >>conftest.$ac_ext <<_ACEOF
29826 /* end confdefs.h.  */
29827 #include <unistd.h>
29828        #include <stdio.h>
29829        #include <sys/stat.h>
29830
29831 int
29832 main ()
29833 {
29834 FILE* fp;
29835        fopen64("t", "w");
29836        fseeko64(fp, 0, SEEK_CUR);
29837        ftello64(fp);
29838        lseek64(1, 0, SEEK_CUR);
29839        struct stat64 buf;
29840        fstat64(1, &buf);
29841   ;
29842   return 0;
29843 }
29844 _ACEOF
29845 rm -f conftest.$ac_objext conftest$ac_exeext
29846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29847   (eval $ac_link) 2>conftest.er1
29848   ac_status=$?
29849   grep -v '^ *+' conftest.er1 >conftest.err
29850   rm -f conftest.er1
29851   cat conftest.err >&5
29852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29853   (exit $ac_status); } &&
29854          { ac_try='test -z "$ac_cxx_werror_flag"
29855                          || test ! -s conftest.err'
29856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29857   (eval $ac_try) 2>&5
29858   ac_status=$?
29859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29860   (exit $ac_status); }; } &&
29861          { ac_try='test -s conftest$ac_exeext'
29862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29863   (eval $ac_try) 2>&5
29864   ac_status=$?
29865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29866   (exit $ac_status); }; }; then
29867   glibcxx_cv_LFS=yes
29868 else
29869   echo "$as_me: failed program was:" >&5
29870 sed 's/^/| /' conftest.$ac_ext >&5
29871
29872 glibcxx_cv_LFS=no
29873 fi
29874 rm -f conftest.err conftest.$ac_objext \
29875       conftest$ac_exeext conftest.$ac_ext
29876
29877 fi
29878
29879   if test $glibcxx_cv_LFS = yes; then
29880
29881 cat >>confdefs.h <<\_ACEOF
29882 #define _GLIBCXX_USE_LFS 1
29883 _ACEOF
29884
29885   fi
29886   CXXFLAGS="$ac_save_CXXFLAGS"
29887   ac_ext=c
29888 ac_cpp='$CPP $CPPFLAGS'
29889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29892
29893
29894
29895
29896   if test "${ac_cv_header_locale_h+set}" = set; then
29897   echo "$as_me:$LINENO: checking for locale.h" >&5
29898 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
29899 if test "${ac_cv_header_locale_h+set}" = set; then
29900   echo $ECHO_N "(cached) $ECHO_C" >&6
29901 fi
29902 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
29903 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
29904 else
29905   # Is the header compilable?
29906 echo "$as_me:$LINENO: checking locale.h usability" >&5
29907 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
29908 cat >conftest.$ac_ext <<_ACEOF
29909 /* confdefs.h.  */
29910 _ACEOF
29911 cat confdefs.h >>conftest.$ac_ext
29912 cat >>conftest.$ac_ext <<_ACEOF
29913 /* end confdefs.h.  */
29914 $ac_includes_default
29915 #include <locale.h>
29916 _ACEOF
29917 rm -f conftest.$ac_objext
29918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29919   (eval $ac_compile) 2>conftest.er1
29920   ac_status=$?
29921   grep -v '^ *+' conftest.er1 >conftest.err
29922   rm -f conftest.er1
29923   cat conftest.err >&5
29924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29925   (exit $ac_status); } &&
29926          { ac_try='test -z "$ac_c_werror_flag"
29927                          || test ! -s conftest.err'
29928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29929   (eval $ac_try) 2>&5
29930   ac_status=$?
29931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29932   (exit $ac_status); }; } &&
29933          { ac_try='test -s conftest.$ac_objext'
29934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29935   (eval $ac_try) 2>&5
29936   ac_status=$?
29937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29938   (exit $ac_status); }; }; then
29939   ac_header_compiler=yes
29940 else
29941   echo "$as_me: failed program was:" >&5
29942 sed 's/^/| /' conftest.$ac_ext >&5
29943
29944 ac_header_compiler=no
29945 fi
29946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29947 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29948 echo "${ECHO_T}$ac_header_compiler" >&6
29949
29950 # Is the header present?
29951 echo "$as_me:$LINENO: checking locale.h presence" >&5
29952 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
29953 cat >conftest.$ac_ext <<_ACEOF
29954 /* confdefs.h.  */
29955 _ACEOF
29956 cat confdefs.h >>conftest.$ac_ext
29957 cat >>conftest.$ac_ext <<_ACEOF
29958 /* end confdefs.h.  */
29959 #include <locale.h>
29960 _ACEOF
29961 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29962   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29963   ac_status=$?
29964   grep -v '^ *+' conftest.er1 >conftest.err
29965   rm -f conftest.er1
29966   cat conftest.err >&5
29967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29968   (exit $ac_status); } >/dev/null; then
29969   if test -s conftest.err; then
29970     ac_cpp_err=$ac_c_preproc_warn_flag
29971     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29972   else
29973     ac_cpp_err=
29974   fi
29975 else
29976   ac_cpp_err=yes
29977 fi
29978 if test -z "$ac_cpp_err"; then
29979   ac_header_preproc=yes
29980 else
29981   echo "$as_me: failed program was:" >&5
29982 sed 's/^/| /' conftest.$ac_ext >&5
29983
29984   ac_header_preproc=no
29985 fi
29986 rm -f conftest.err conftest.$ac_ext
29987 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29988 echo "${ECHO_T}$ac_header_preproc" >&6
29989
29990 # So?  What about this header?
29991 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29992   yes:no: )
29993     { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
29994 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29995     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
29996 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
29997     ac_header_preproc=yes
29998     ;;
29999   no:yes:* )
30000     { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
30001 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
30002     { echo "$as_me:$LINENO: WARNING: locale.h:     check for missing prerequisite headers?" >&5
30003 echo "$as_me: WARNING: locale.h:     check for missing prerequisite headers?" >&2;}
30004     { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
30005 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
30006     { echo "$as_me:$LINENO: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&5
30007 echo "$as_me: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&2;}
30008     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
30009 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
30010     { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
30011 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
30012     (
30013       cat <<\_ASBOX
30014 ## ----------------------------------------- ##
30015 ## Report this to the package-unused lists.  ##
30016 ## ----------------------------------------- ##
30017 _ASBOX
30018     ) |
30019       sed "s/^/$as_me: WARNING:     /" >&2
30020     ;;
30021 esac
30022 echo "$as_me:$LINENO: checking for locale.h" >&5
30023 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30024 if test "${ac_cv_header_locale_h+set}" = set; then
30025   echo $ECHO_N "(cached) $ECHO_C" >&6
30026 else
30027   ac_cv_header_locale_h=$ac_header_preproc
30028 fi
30029 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30030 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30031
30032 fi
30033 if test $ac_cv_header_locale_h = yes; then
30034
30035     echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
30036 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
30037 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
30038   echo $ECHO_N "(cached) $ECHO_C" >&6
30039 else
30040   if test x$gcc_no_link = xyes; then
30041   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30043    { (exit 1); exit 1; }; }
30044 fi
30045 cat >conftest.$ac_ext <<_ACEOF
30046 /* confdefs.h.  */
30047 _ACEOF
30048 cat confdefs.h >>conftest.$ac_ext
30049 cat >>conftest.$ac_ext <<_ACEOF
30050 /* end confdefs.h.  */
30051 #include <locale.h>
30052 int
30053 main ()
30054 {
30055 return LC_MESSAGES
30056   ;
30057   return 0;
30058 }
30059 _ACEOF
30060 rm -f conftest.$ac_objext conftest$ac_exeext
30061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30062   (eval $ac_link) 2>conftest.er1
30063   ac_status=$?
30064   grep -v '^ *+' conftest.er1 >conftest.err
30065   rm -f conftest.er1
30066   cat conftest.err >&5
30067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30068   (exit $ac_status); } &&
30069          { ac_try='test -z "$ac_c_werror_flag"
30070                          || test ! -s conftest.err'
30071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30072   (eval $ac_try) 2>&5
30073   ac_status=$?
30074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30075   (exit $ac_status); }; } &&
30076          { ac_try='test -s conftest$ac_exeext'
30077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30078   (eval $ac_try) 2>&5
30079   ac_status=$?
30080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30081   (exit $ac_status); }; }; then
30082   ac_cv_val_LC_MESSAGES=yes
30083 else
30084   echo "$as_me: failed program was:" >&5
30085 sed 's/^/| /' conftest.$ac_ext >&5
30086
30087 ac_cv_val_LC_MESSAGES=no
30088 fi
30089 rm -f conftest.err conftest.$ac_objext \
30090       conftest$ac_exeext conftest.$ac_ext
30091 fi
30092 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
30093 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
30094     if test $ac_cv_val_LC_MESSAGES = yes; then
30095
30096 cat >>confdefs.h <<\_ACEOF
30097 #define HAVE_LC_MESSAGES 1
30098 _ACEOF
30099
30100     fi
30101
30102 fi
30103
30104
30105
30106
30107   cat >conftest.$ac_ext <<_ACEOF
30108 /* confdefs.h.  */
30109 _ACEOF
30110 cat confdefs.h >>conftest.$ac_ext
30111 cat >>conftest.$ac_ext <<_ACEOF
30112 /* end confdefs.h.  */
30113 #include <setjmp.h>
30114 int
30115 main ()
30116 {
30117 sigjmp_buf env;
30118      while (! sigsetjmp (env, 1))
30119        siglongjmp (env, 1);
30120
30121   ;
30122   return 0;
30123 }
30124 _ACEOF
30125 rm -f conftest.$ac_objext
30126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30127   (eval $ac_compile) 2>conftest.er1
30128   ac_status=$?
30129   grep -v '^ *+' conftest.er1 >conftest.err
30130   rm -f conftest.er1
30131   cat conftest.err >&5
30132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30133   (exit $ac_status); } &&
30134          { ac_try='test -z "$ac_c_werror_flag"
30135                          || test ! -s conftest.err'
30136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30137   (eval $ac_try) 2>&5
30138   ac_status=$?
30139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30140   (exit $ac_status); }; } &&
30141          { ac_try='test -s conftest.$ac_objext'
30142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30143   (eval $ac_try) 2>&5
30144   ac_status=$?
30145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30146   (exit $ac_status); }; }; then
30147
30148 cat >>confdefs.h <<\_ACEOF
30149 #define HAVE_SIGSETJMP 1
30150 _ACEOF
30151
30152 else
30153   echo "$as_me: failed program was:" >&5
30154 sed 's/^/| /' conftest.$ac_ext >&5
30155
30156 fi
30157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30158
30159   if test x$gcc_no_link = xyes; then
30160   if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30161     ac_cv_func_mmap_fixed_mapped=no
30162   fi
30163 fi
30164 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30165
30166
30167 for ac_header in stdlib.h unistd.h
30168 do
30169 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30171   echo "$as_me:$LINENO: checking for $ac_header" >&5
30172 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30173 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30174   echo $ECHO_N "(cached) $ECHO_C" >&6
30175 fi
30176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30177 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30178 else
30179   # Is the header compilable?
30180 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30181 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30182 cat >conftest.$ac_ext <<_ACEOF
30183 /* confdefs.h.  */
30184 _ACEOF
30185 cat confdefs.h >>conftest.$ac_ext
30186 cat >>conftest.$ac_ext <<_ACEOF
30187 /* end confdefs.h.  */
30188 $ac_includes_default
30189 #include <$ac_header>
30190 _ACEOF
30191 rm -f conftest.$ac_objext
30192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30193   (eval $ac_compile) 2>conftest.er1
30194   ac_status=$?
30195   grep -v '^ *+' conftest.er1 >conftest.err
30196   rm -f conftest.er1
30197   cat conftest.err >&5
30198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30199   (exit $ac_status); } &&
30200          { ac_try='test -z "$ac_c_werror_flag"
30201                          || test ! -s conftest.err'
30202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30203   (eval $ac_try) 2>&5
30204   ac_status=$?
30205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30206   (exit $ac_status); }; } &&
30207          { ac_try='test -s conftest.$ac_objext'
30208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30209   (eval $ac_try) 2>&5
30210   ac_status=$?
30211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30212   (exit $ac_status); }; }; then
30213   ac_header_compiler=yes
30214 else
30215   echo "$as_me: failed program was:" >&5
30216 sed 's/^/| /' conftest.$ac_ext >&5
30217
30218 ac_header_compiler=no
30219 fi
30220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30221 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30222 echo "${ECHO_T}$ac_header_compiler" >&6
30223
30224 # Is the header present?
30225 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30226 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30227 cat >conftest.$ac_ext <<_ACEOF
30228 /* confdefs.h.  */
30229 _ACEOF
30230 cat confdefs.h >>conftest.$ac_ext
30231 cat >>conftest.$ac_ext <<_ACEOF
30232 /* end confdefs.h.  */
30233 #include <$ac_header>
30234 _ACEOF
30235 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30236   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30237   ac_status=$?
30238   grep -v '^ *+' conftest.er1 >conftest.err
30239   rm -f conftest.er1
30240   cat conftest.err >&5
30241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30242   (exit $ac_status); } >/dev/null; then
30243   if test -s conftest.err; then
30244     ac_cpp_err=$ac_c_preproc_warn_flag
30245     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30246   else
30247     ac_cpp_err=
30248   fi
30249 else
30250   ac_cpp_err=yes
30251 fi
30252 if test -z "$ac_cpp_err"; then
30253   ac_header_preproc=yes
30254 else
30255   echo "$as_me: failed program was:" >&5
30256 sed 's/^/| /' conftest.$ac_ext >&5
30257
30258   ac_header_preproc=no
30259 fi
30260 rm -f conftest.err conftest.$ac_ext
30261 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30262 echo "${ECHO_T}$ac_header_preproc" >&6
30263
30264 # So?  What about this header?
30265 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30266   yes:no: )
30267     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30268 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30269     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30270 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30271     ac_header_preproc=yes
30272     ;;
30273   no:yes:* )
30274     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30275 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30276     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
30277 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
30278     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30279 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30280     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
30281 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
30282     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30283 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30284     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30285 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30286     (
30287       cat <<\_ASBOX
30288 ## ----------------------------------------- ##
30289 ## Report this to the package-unused lists.  ##
30290 ## ----------------------------------------- ##
30291 _ASBOX
30292     ) |
30293       sed "s/^/$as_me: WARNING:     /" >&2
30294     ;;
30295 esac
30296 echo "$as_me:$LINENO: checking for $ac_header" >&5
30297 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30298 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30299   echo $ECHO_N "(cached) $ECHO_C" >&6
30300 else
30301   eval "$as_ac_Header=\$ac_header_preproc"
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
30306 fi
30307 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30308   cat >>confdefs.h <<_ACEOF
30309 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30310 _ACEOF
30311
30312 fi
30313
30314 done
30315
30316
30317 for ac_func in getpagesize
30318 do
30319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30320 echo "$as_me:$LINENO: checking for $ac_func" >&5
30321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30322 if eval "test \"\${$as_ac_var+set}\" = set"; then
30323   echo $ECHO_N "(cached) $ECHO_C" >&6
30324 else
30325   if test x$gcc_no_link = xyes; then
30326   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30328    { (exit 1); exit 1; }; }
30329 fi
30330 cat >conftest.$ac_ext <<_ACEOF
30331 /* confdefs.h.  */
30332 _ACEOF
30333 cat confdefs.h >>conftest.$ac_ext
30334 cat >>conftest.$ac_ext <<_ACEOF
30335 /* end confdefs.h.  */
30336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30337    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30338 #define $ac_func innocuous_$ac_func
30339
30340 /* System header to define __stub macros and hopefully few prototypes,
30341     which can conflict with char $ac_func (); below.
30342     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30343     <limits.h> exists even on freestanding compilers.  */
30344
30345 #ifdef __STDC__
30346 # include <limits.h>
30347 #else
30348 # include <assert.h>
30349 #endif
30350
30351 #undef $ac_func
30352
30353 /* Override any gcc2 internal prototype to avoid an error.  */
30354 #ifdef __cplusplus
30355 extern "C"
30356 {
30357 #endif
30358 /* We use char because int might match the return type of a gcc2
30359    builtin and then its argument prototype would still apply.  */
30360 char $ac_func ();
30361 /* The GNU C library defines this for functions which it implements
30362     to always fail with ENOSYS.  Some functions are actually named
30363     something starting with __ and the normal name is an alias.  */
30364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30365 choke me
30366 #else
30367 char (*f) () = $ac_func;
30368 #endif
30369 #ifdef __cplusplus
30370 }
30371 #endif
30372
30373 int
30374 main ()
30375 {
30376 return f != $ac_func;
30377   ;
30378   return 0;
30379 }
30380 _ACEOF
30381 rm -f conftest.$ac_objext conftest$ac_exeext
30382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30383   (eval $ac_link) 2>conftest.er1
30384   ac_status=$?
30385   grep -v '^ *+' conftest.er1 >conftest.err
30386   rm -f conftest.er1
30387   cat conftest.err >&5
30388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30389   (exit $ac_status); } &&
30390          { ac_try='test -z "$ac_c_werror_flag"
30391                          || test ! -s conftest.err'
30392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30393   (eval $ac_try) 2>&5
30394   ac_status=$?
30395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30396   (exit $ac_status); }; } &&
30397          { ac_try='test -s conftest$ac_exeext'
30398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30399   (eval $ac_try) 2>&5
30400   ac_status=$?
30401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30402   (exit $ac_status); }; }; then
30403   eval "$as_ac_var=yes"
30404 else
30405   echo "$as_me: failed program was:" >&5
30406 sed 's/^/| /' conftest.$ac_ext >&5
30407
30408 eval "$as_ac_var=no"
30409 fi
30410 rm -f conftest.err conftest.$ac_objext \
30411       conftest$ac_exeext conftest.$ac_ext
30412 fi
30413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30415 if test `eval echo '${'$as_ac_var'}'` = yes; then
30416   cat >>confdefs.h <<_ACEOF
30417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30418 _ACEOF
30419
30420 fi
30421 done
30422
30423 echo "$as_me:$LINENO: checking for working mmap" >&5
30424 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
30425 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
30426   echo $ECHO_N "(cached) $ECHO_C" >&6
30427 else
30428   if test "$cross_compiling" = yes; then
30429   ac_cv_func_mmap_fixed_mapped=no
30430 else
30431   cat >conftest.$ac_ext <<_ACEOF
30432 /* confdefs.h.  */
30433 _ACEOF
30434 cat confdefs.h >>conftest.$ac_ext
30435 cat >>conftest.$ac_ext <<_ACEOF
30436 /* end confdefs.h.  */
30437 $ac_includes_default
30438 /* malloc might have been renamed as rpl_malloc. */
30439 #undef malloc
30440
30441 /* Thanks to Mike Haertel and Jim Avera for this test.
30442    Here is a matrix of mmap possibilities:
30443         mmap private not fixed
30444         mmap private fixed at somewhere currently unmapped
30445         mmap private fixed at somewhere already mapped
30446         mmap shared not fixed
30447         mmap shared fixed at somewhere currently unmapped
30448         mmap shared fixed at somewhere already mapped
30449    For private mappings, we should verify that changes cannot be read()
30450    back from the file, nor mmap's back from the file at a different
30451    address.  (There have been systems where private was not correctly
30452    implemented like the infamous i386 svr4.0, and systems where the
30453    VM page cache was not coherent with the file system buffer cache
30454    like early versions of FreeBSD and possibly contemporary NetBSD.)
30455    For shared mappings, we should conversely verify that changes get
30456    propagated back to all the places they're supposed to be.
30457
30458    Grep wants private fixed already mapped.
30459    The main things grep needs to know about mmap are:
30460    * does it exist and is it safe to write into the mmap'd area
30461    * how to use it (BSD variants)  */
30462
30463 #include <fcntl.h>
30464 #include <sys/mman.h>
30465
30466 #if !STDC_HEADERS && !HAVE_STDLIB_H
30467 char *malloc ();
30468 #endif
30469
30470 /* This mess was copied from the GNU getpagesize.h.  */
30471 #if !HAVE_GETPAGESIZE
30472 /* Assume that all systems that can run configure have sys/param.h.  */
30473 # if !HAVE_SYS_PARAM_H
30474 #  define HAVE_SYS_PARAM_H 1
30475 # endif
30476
30477 # ifdef _SC_PAGESIZE
30478 #  define getpagesize() sysconf(_SC_PAGESIZE)
30479 # else /* no _SC_PAGESIZE */
30480 #  if HAVE_SYS_PARAM_H
30481 #   include <sys/param.h>
30482 #   ifdef EXEC_PAGESIZE
30483 #    define getpagesize() EXEC_PAGESIZE
30484 #   else /* no EXEC_PAGESIZE */
30485 #    ifdef NBPG
30486 #     define getpagesize() NBPG * CLSIZE
30487 #     ifndef CLSIZE
30488 #      define CLSIZE 1
30489 #     endif /* no CLSIZE */
30490 #    else /* no NBPG */
30491 #     ifdef NBPC
30492 #      define getpagesize() NBPC
30493 #     else /* no NBPC */
30494 #      ifdef PAGESIZE
30495 #       define getpagesize() PAGESIZE
30496 #      endif /* PAGESIZE */
30497 #     endif /* no NBPC */
30498 #    endif /* no NBPG */
30499 #   endif /* no EXEC_PAGESIZE */
30500 #  else /* no HAVE_SYS_PARAM_H */
30501 #   define getpagesize() 8192   /* punt totally */
30502 #  endif /* no HAVE_SYS_PARAM_H */
30503 # endif /* no _SC_PAGESIZE */
30504
30505 #endif /* no HAVE_GETPAGESIZE */
30506
30507 int
30508 main ()
30509 {
30510   char *data, *data2, *data3;
30511   int i, pagesize;
30512   int fd;
30513
30514   pagesize = getpagesize ();
30515
30516   /* First, make a file with some known garbage in it. */
30517   data = (char *) malloc (pagesize);
30518   if (!data)
30519     exit (1);
30520   for (i = 0; i < pagesize; ++i)
30521     *(data + i) = rand ();
30522   umask (0);
30523   fd = creat ("conftest.mmap", 0600);
30524   if (fd < 0)
30525     exit (1);
30526   if (write (fd, data, pagesize) != pagesize)
30527     exit (1);
30528   close (fd);
30529
30530   /* Next, try to mmap the file at a fixed address which already has
30531      something else allocated at it.  If we can, also make sure that
30532      we see the same garbage.  */
30533   fd = open ("conftest.mmap", O_RDWR);
30534   if (fd < 0)
30535     exit (1);
30536   data2 = (char *) malloc (2 * pagesize);
30537   if (!data2)
30538     exit (1);
30539   data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
30540   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
30541                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
30542     exit (1);
30543   for (i = 0; i < pagesize; ++i)
30544     if (*(data + i) != *(data2 + i))
30545       exit (1);
30546
30547   /* Finally, make sure that changes to the mapped area do not
30548      percolate back to the file as seen by read().  (This is a bug on
30549      some variants of i386 svr4.0.)  */
30550   for (i = 0; i < pagesize; ++i)
30551     *(data2 + i) = *(data2 + i) + 1;
30552   data3 = (char *) malloc (pagesize);
30553   if (!data3)
30554     exit (1);
30555   if (read (fd, data3, pagesize) != pagesize)
30556     exit (1);
30557   for (i = 0; i < pagesize; ++i)
30558     if (*(data + i) != *(data3 + i))
30559       exit (1);
30560   close (fd);
30561   exit (0);
30562 }
30563 _ACEOF
30564 rm -f conftest$ac_exeext
30565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30566   (eval $ac_link) 2>&5
30567   ac_status=$?
30568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30569   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30571   (eval $ac_try) 2>&5
30572   ac_status=$?
30573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30574   (exit $ac_status); }; }; then
30575   ac_cv_func_mmap_fixed_mapped=yes
30576 else
30577   echo "$as_me: program exited with status $ac_status" >&5
30578 echo "$as_me: failed program was:" >&5
30579 sed 's/^/| /' conftest.$ac_ext >&5
30580
30581 ( exit $ac_status )
30582 ac_cv_func_mmap_fixed_mapped=no
30583 fi
30584 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30585 fi
30586 fi
30587 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
30588 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
30589 if test $ac_cv_func_mmap_fixed_mapped = yes; then
30590
30591 cat >>confdefs.h <<\_ACEOF
30592 #define HAVE_MMAP 1
30593 _ACEOF
30594
30595 fi
30596 rm -f conftest.mmap
30597
30598 fi
30599
30600 else
30601
30602   # This lets us hard-code the functionality we know we'll have in the cross
30603   # target environment.  "Let" is a sugar-coated word placed on an especially
30604   # dull and tedious hack, actually.
30605   #
30606   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
30607   # that involve linking, can't be used:
30608   #    "cannot open sim-crt0.o"
30609   #    "cannot open crt0.o"
30610   # etc.  All this is because there currently exists no unified, consistent
30611   # way for top level CC information to be passed down to target directories:
30612   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
30613   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
30614   # crosses can be removed.
30615
30616   # If Canadian cross, then don't pick up tools from the build directory.
30617   # Used only in GLIBCXX_EXPORT_INCLUDES.
30618   if test -n "$with_cross_host" &&
30619      test x"$build_alias" != x"$with_cross_host" &&
30620      test x"$build" != x"$target";
30621   then
30622     CANADIAN=yes
30623   else
30624     CANADIAN=no
30625   fi
30626
30627   # Construct crosses by hand, eliminating bits that need ld...
30628   # GLIBCXX_CHECK_COMPILER_FEATURES
30629   # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
30630   # GLIBCXX_CHECK_MATH_SUPPORT
30631
30632   # First, test for "known" system libraries.  We may be using newlib even
30633   # on a hosted environment.
30634   if test "x${with_newlib}" = "xyes"; then
30635     os_include_dir="os/newlib"
30636     cat >>confdefs.h <<\_ACEOF
30637 #define HAVE_HYPOT 1
30638 _ACEOF
30639
30640
30641     # GLIBCXX_CHECK_STDLIB_SUPPORT
30642     cat >>confdefs.h <<\_ACEOF
30643 #define HAVE_STRTOF 1
30644 _ACEOF
30645
30646     # AC_FUNC_MMAP
30647     cat >>confdefs.h <<\_ACEOF
30648 #define HAVE_MMAP 1
30649 _ACEOF
30650
30651
30652     cat >>confdefs.h <<\_ACEOF
30653 #define HAVE_ACOSF 1
30654 _ACEOF
30655
30656     cat >>confdefs.h <<\_ACEOF
30657 #define HAVE_ASINF 1
30658 _ACEOF
30659
30660     cat >>confdefs.h <<\_ACEOF
30661 #define HAVE_ATAN2F 1
30662 _ACEOF
30663
30664     cat >>confdefs.h <<\_ACEOF
30665 #define HAVE_ATANF 1
30666 _ACEOF
30667
30668     cat >>confdefs.h <<\_ACEOF
30669 #define HAVE_CEILF 1
30670 _ACEOF
30671
30672     cat >>confdefs.h <<\_ACEOF
30673 #define HAVE_COPYSIGN 1
30674 _ACEOF
30675
30676     cat >>confdefs.h <<\_ACEOF
30677 #define HAVE_COPYSIGNF 1
30678 _ACEOF
30679
30680     cat >>confdefs.h <<\_ACEOF
30681 #define HAVE_COSF 1
30682 _ACEOF
30683
30684     cat >>confdefs.h <<\_ACEOF
30685 #define HAVE_COSHF 1
30686 _ACEOF
30687
30688     cat >>confdefs.h <<\_ACEOF
30689 #define HAVE_EXPF 1
30690 _ACEOF
30691
30692     cat >>confdefs.h <<\_ACEOF
30693 #define HAVE_FABSF 1
30694 _ACEOF
30695
30696     cat >>confdefs.h <<\_ACEOF
30697 #define HAVE_FLOORF 1
30698 _ACEOF
30699
30700     cat >>confdefs.h <<\_ACEOF
30701 #define HAVE_FMODF 1
30702 _ACEOF
30703
30704     cat >>confdefs.h <<\_ACEOF
30705 #define HAVE_FREXPF 1
30706 _ACEOF
30707
30708     cat >>confdefs.h <<\_ACEOF
30709 #define HAVE_LDEXPF 1
30710 _ACEOF
30711
30712     cat >>confdefs.h <<\_ACEOF
30713 #define HAVE_LOG10F 1
30714 _ACEOF
30715
30716     cat >>confdefs.h <<\_ACEOF
30717 #define HAVE_LOGF 1
30718 _ACEOF
30719
30720     cat >>confdefs.h <<\_ACEOF
30721 #define HAVE_MODFF 1
30722 _ACEOF
30723
30724     cat >>confdefs.h <<\_ACEOF
30725 #define HAVE_POWF 1
30726 _ACEOF
30727
30728     cat >>confdefs.h <<\_ACEOF
30729 #define HAVE_SINF 1
30730 _ACEOF
30731
30732     cat >>confdefs.h <<\_ACEOF
30733 #define HAVE_SINHF 1
30734 _ACEOF
30735
30736     cat >>confdefs.h <<\_ACEOF
30737 #define HAVE_SQRTF 1
30738 _ACEOF
30739
30740     cat >>confdefs.h <<\_ACEOF
30741 #define HAVE_TANF 1
30742 _ACEOF
30743
30744     cat >>confdefs.h <<\_ACEOF
30745 #define HAVE_TANHF 1
30746 _ACEOF
30747
30748
30749     cat >>confdefs.h <<\_ACEOF
30750 #define HAVE_S_ISREG 1
30751 _ACEOF
30752
30753     cat >>confdefs.h <<\_ACEOF
30754 #define HAVE_S_IFREG 1
30755 _ACEOF
30756
30757   else
30758
30759 # Base decisions on target environment.
30760 case "${host}" in
30761   arm*-*-symbianelf*)
30762     # This is a freestanding configuration; there is nothing to do here.
30763     ;;
30764
30765   *-darwin*)
30766     # Darwin versions vary, but the linker should work in a cross environment,
30767     # so we just check for all the features here.
30768     # Check for available headers.
30769
30770
30771
30772
30773
30774
30775
30776
30777
30778
30779
30780
30781
30782 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
30783     machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
30784     sys/types.h
30785 do
30786 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30787 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30788   echo "$as_me:$LINENO: checking for $ac_header" >&5
30789 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30790 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30791   echo $ECHO_N "(cached) $ECHO_C" >&6
30792 fi
30793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30794 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30795 else
30796   # Is the header compilable?
30797 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30798 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30799 cat >conftest.$ac_ext <<_ACEOF
30800 /* confdefs.h.  */
30801 _ACEOF
30802 cat confdefs.h >>conftest.$ac_ext
30803 cat >>conftest.$ac_ext <<_ACEOF
30804 /* end confdefs.h.  */
30805 $ac_includes_default
30806 #include <$ac_header>
30807 _ACEOF
30808 rm -f conftest.$ac_objext
30809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30810   (eval $ac_compile) 2>conftest.er1
30811   ac_status=$?
30812   grep -v '^ *+' conftest.er1 >conftest.err
30813   rm -f conftest.er1
30814   cat conftest.err >&5
30815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30816   (exit $ac_status); } &&
30817          { ac_try='test -z "$ac_c_werror_flag"
30818                          || test ! -s conftest.err'
30819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30820   (eval $ac_try) 2>&5
30821   ac_status=$?
30822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30823   (exit $ac_status); }; } &&
30824          { ac_try='test -s conftest.$ac_objext'
30825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30826   (eval $ac_try) 2>&5
30827   ac_status=$?
30828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30829   (exit $ac_status); }; }; then
30830   ac_header_compiler=yes
30831 else
30832   echo "$as_me: failed program was:" >&5
30833 sed 's/^/| /' conftest.$ac_ext >&5
30834
30835 ac_header_compiler=no
30836 fi
30837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30838 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30839 echo "${ECHO_T}$ac_header_compiler" >&6
30840
30841 # Is the header present?
30842 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30843 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30844 cat >conftest.$ac_ext <<_ACEOF
30845 /* confdefs.h.  */
30846 _ACEOF
30847 cat confdefs.h >>conftest.$ac_ext
30848 cat >>conftest.$ac_ext <<_ACEOF
30849 /* end confdefs.h.  */
30850 #include <$ac_header>
30851 _ACEOF
30852 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30853   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30854   ac_status=$?
30855   grep -v '^ *+' conftest.er1 >conftest.err
30856   rm -f conftest.er1
30857   cat conftest.err >&5
30858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30859   (exit $ac_status); } >/dev/null; then
30860   if test -s conftest.err; then
30861     ac_cpp_err=$ac_c_preproc_warn_flag
30862     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30863   else
30864     ac_cpp_err=
30865   fi
30866 else
30867   ac_cpp_err=yes
30868 fi
30869 if test -z "$ac_cpp_err"; then
30870   ac_header_preproc=yes
30871 else
30872   echo "$as_me: failed program was:" >&5
30873 sed 's/^/| /' conftest.$ac_ext >&5
30874
30875   ac_header_preproc=no
30876 fi
30877 rm -f conftest.err conftest.$ac_ext
30878 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30879 echo "${ECHO_T}$ac_header_preproc" >&6
30880
30881 # So?  What about this header?
30882 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30883   yes:no: )
30884     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30885 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30886     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30887 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30888     ac_header_preproc=yes
30889     ;;
30890   no:yes:* )
30891     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30892 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30893     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
30894 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
30895     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30896 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30897     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
30898 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
30899     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30900 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30901     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30902 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30903     (
30904       cat <<\_ASBOX
30905 ## ----------------------------------------- ##
30906 ## Report this to the package-unused lists.  ##
30907 ## ----------------------------------------- ##
30908 _ASBOX
30909     ) |
30910       sed "s/^/$as_me: WARNING:     /" >&2
30911     ;;
30912 esac
30913 echo "$as_me:$LINENO: checking for $ac_header" >&5
30914 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30915 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30916   echo $ECHO_N "(cached) $ECHO_C" >&6
30917 else
30918   eval "$as_ac_Header=\$ac_header_preproc"
30919 fi
30920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30921 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30922
30923 fi
30924 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30925   cat >>confdefs.h <<_ACEOF
30926 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30927 _ACEOF
30928
30929 fi
30930
30931 done
30932
30933
30934
30935   # All these tests are for C++; save the language and the compiler flags.
30936   # The CXXFLAGS thing is suspicious, but based on similar bits previously
30937   # found in GLIBCXX_CONFIGURE.
30938
30939
30940   ac_ext=cc
30941 ac_cpp='$CXXCPP $CPPFLAGS'
30942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30945
30946   ac_test_CXXFLAGS="${CXXFLAGS+set}"
30947   ac_save_CXXFLAGS="$CXXFLAGS"
30948
30949   # Check for maintainer-mode bits.
30950   if test x"$USE_MAINTAINER_MODE" = xno; then
30951     WERROR=''
30952   else
30953     WERROR='-Werror'
30954   fi
30955
30956   # Check for -ffunction-sections -fdata-sections
30957   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
30958 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
30959   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
30960   cat >conftest.$ac_ext <<_ACEOF
30961 /* confdefs.h.  */
30962 _ACEOF
30963 cat confdefs.h >>conftest.$ac_ext
30964 cat >>conftest.$ac_ext <<_ACEOF
30965 /* end confdefs.h.  */
30966
30967 int
30968 main ()
30969 {
30970 int foo;
30971   ;
30972   return 0;
30973 }
30974 _ACEOF
30975 rm -f conftest.$ac_objext
30976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30977   (eval $ac_compile) 2>conftest.er1
30978   ac_status=$?
30979   grep -v '^ *+' conftest.er1 >conftest.err
30980   rm -f conftest.er1
30981   cat conftest.err >&5
30982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30983   (exit $ac_status); } &&
30984          { ac_try='test -z "$ac_cxx_werror_flag"
30985                          || test ! -s conftest.err'
30986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30987   (eval $ac_try) 2>&5
30988   ac_status=$?
30989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30990   (exit $ac_status); }; } &&
30991          { ac_try='test -s conftest.$ac_objext'
30992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30993   (eval $ac_try) 2>&5
30994   ac_status=$?
30995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30996   (exit $ac_status); }; }; then
30997   ac_fdsections=yes
30998 else
30999   echo "$as_me: failed program was:" >&5
31000 sed 's/^/| /' conftest.$ac_ext >&5
31001
31002 ac_fdsections=no
31003 fi
31004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31005   if test "$ac_test_CXXFLAGS" = set; then
31006     CXXFLAGS="$ac_save_CXXFLAGS"
31007   else
31008     # this is the suspicious part
31009     CXXFLAGS=''
31010   fi
31011   if test x"$ac_fdsections" = x"yes"; then
31012     SECTION_FLAGS='-ffunction-sections -fdata-sections'
31013   fi
31014   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
31015 echo "${ECHO_T}$ac_fdsections" >&6
31016
31017   ac_ext=c
31018 ac_cpp='$CPP $CPPFLAGS'
31019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31022
31023
31024
31025
31026     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
31027
31028   ac_test_CXXFLAGS="${CXXFLAGS+set}"
31029   ac_save_CXXFLAGS="$CXXFLAGS"
31030   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
31031
31032     echo "$as_me:$LINENO: checking for sin in -lm" >&5
31033 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
31034 if test "${ac_cv_lib_m_sin+set}" = set; then
31035   echo $ECHO_N "(cached) $ECHO_C" >&6
31036 else
31037   ac_check_lib_save_LIBS=$LIBS
31038 LIBS="-lm  $LIBS"
31039 if test x$gcc_no_link = xyes; then
31040   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31042    { (exit 1); exit 1; }; }
31043 fi
31044 cat >conftest.$ac_ext <<_ACEOF
31045 /* confdefs.h.  */
31046 _ACEOF
31047 cat confdefs.h >>conftest.$ac_ext
31048 cat >>conftest.$ac_ext <<_ACEOF
31049 /* end confdefs.h.  */
31050
31051 /* Override any gcc2 internal prototype to avoid an error.  */
31052 #ifdef __cplusplus
31053 extern "C"
31054 #endif
31055 /* We use char because int might match the return type of a gcc2
31056    builtin and then its argument prototype would still apply.  */
31057 char sin ();
31058 int
31059 main ()
31060 {
31061 sin ();
31062   ;
31063   return 0;
31064 }
31065 _ACEOF
31066 rm -f conftest.$ac_objext conftest$ac_exeext
31067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31068   (eval $ac_link) 2>conftest.er1
31069   ac_status=$?
31070   grep -v '^ *+' conftest.er1 >conftest.err
31071   rm -f conftest.er1
31072   cat conftest.err >&5
31073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31074   (exit $ac_status); } &&
31075          { ac_try='test -z "$ac_c_werror_flag"
31076                          || test ! -s conftest.err'
31077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31078   (eval $ac_try) 2>&5
31079   ac_status=$?
31080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31081   (exit $ac_status); }; } &&
31082          { ac_try='test -s conftest$ac_exeext'
31083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31084   (eval $ac_try) 2>&5
31085   ac_status=$?
31086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31087   (exit $ac_status); }; }; then
31088   ac_cv_lib_m_sin=yes
31089 else
31090   echo "$as_me: failed program was:" >&5
31091 sed 's/^/| /' conftest.$ac_ext >&5
31092
31093 ac_cv_lib_m_sin=no
31094 fi
31095 rm -f conftest.err conftest.$ac_objext \
31096       conftest$ac_exeext conftest.$ac_ext
31097 LIBS=$ac_check_lib_save_LIBS
31098 fi
31099 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
31100 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
31101 if test $ac_cv_lib_m_sin = yes; then
31102   libm="-lm"
31103 fi
31104
31105   ac_save_LIBS="$LIBS"
31106   LIBS="$LIBS $libm"
31107
31108
31109
31110   echo "$as_me:$LINENO: checking for isinf declaration" >&5
31111 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
31112   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
31113     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
31114   echo $ECHO_N "(cached) $ECHO_C" >&6
31115 else
31116
31117
31118
31119       ac_ext=cc
31120 ac_cpp='$CXXCPP $CPPFLAGS'
31121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31124
31125       cat >conftest.$ac_ext <<_ACEOF
31126 /* confdefs.h.  */
31127 _ACEOF
31128 cat confdefs.h >>conftest.$ac_ext
31129 cat >>conftest.$ac_ext <<_ACEOF
31130 /* end confdefs.h.  */
31131 #include <math.h>
31132                       #ifdef HAVE_IEEEFP_H
31133                       #include <ieeefp.h>
31134                       #endif
31135
31136 int
31137 main ()
31138 {
31139  isinf(0);
31140   ;
31141   return 0;
31142 }
31143 _ACEOF
31144 rm -f conftest.$ac_objext
31145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31146   (eval $ac_compile) 2>conftest.er1
31147   ac_status=$?
31148   grep -v '^ *+' conftest.er1 >conftest.err
31149   rm -f conftest.er1
31150   cat conftest.err >&5
31151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31152   (exit $ac_status); } &&
31153          { ac_try='test -z "$ac_cxx_werror_flag"
31154                          || test ! -s conftest.err'
31155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31156   (eval $ac_try) 2>&5
31157   ac_status=$?
31158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31159   (exit $ac_status); }; } &&
31160          { ac_try='test -s conftest.$ac_objext'
31161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31162   (eval $ac_try) 2>&5
31163   ac_status=$?
31164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31165   (exit $ac_status); }; }; then
31166   glibcxx_cv_func_isinf_use=yes
31167 else
31168   echo "$as_me: failed program was:" >&5
31169 sed 's/^/| /' conftest.$ac_ext >&5
31170
31171 glibcxx_cv_func_isinf_use=no
31172 fi
31173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31174       ac_ext=c
31175 ac_cpp='$CPP $CPPFLAGS'
31176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31179
31180
31181 fi
31182
31183   fi
31184   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
31185 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
31186
31187   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
31188
31189 for ac_func in isinf
31190 do
31191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31192 echo "$as_me:$LINENO: checking for $ac_func" >&5
31193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31194 if eval "test \"\${$as_ac_var+set}\" = set"; then
31195   echo $ECHO_N "(cached) $ECHO_C" >&6
31196 else
31197   if test x$gcc_no_link = xyes; then
31198   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31200    { (exit 1); exit 1; }; }
31201 fi
31202 cat >conftest.$ac_ext <<_ACEOF
31203 /* confdefs.h.  */
31204 _ACEOF
31205 cat confdefs.h >>conftest.$ac_ext
31206 cat >>conftest.$ac_ext <<_ACEOF
31207 /* end confdefs.h.  */
31208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31209    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31210 #define $ac_func innocuous_$ac_func
31211
31212 /* System header to define __stub macros and hopefully few prototypes,
31213     which can conflict with char $ac_func (); below.
31214     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31215     <limits.h> exists even on freestanding compilers.  */
31216
31217 #ifdef __STDC__
31218 # include <limits.h>
31219 #else
31220 # include <assert.h>
31221 #endif
31222
31223 #undef $ac_func
31224
31225 /* Override any gcc2 internal prototype to avoid an error.  */
31226 #ifdef __cplusplus
31227 extern "C"
31228 {
31229 #endif
31230 /* We use char because int might match the return type of a gcc2
31231    builtin and then its argument prototype would still apply.  */
31232 char $ac_func ();
31233 /* The GNU C library defines this for functions which it implements
31234     to always fail with ENOSYS.  Some functions are actually named
31235     something starting with __ and the normal name is an alias.  */
31236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31237 choke me
31238 #else
31239 char (*f) () = $ac_func;
31240 #endif
31241 #ifdef __cplusplus
31242 }
31243 #endif
31244
31245 int
31246 main ()
31247 {
31248 return f != $ac_func;
31249   ;
31250   return 0;
31251 }
31252 _ACEOF
31253 rm -f conftest.$ac_objext conftest$ac_exeext
31254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31255   (eval $ac_link) 2>conftest.er1
31256   ac_status=$?
31257   grep -v '^ *+' conftest.er1 >conftest.err
31258   rm -f conftest.er1
31259   cat conftest.err >&5
31260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31261   (exit $ac_status); } &&
31262          { ac_try='test -z "$ac_c_werror_flag"
31263                          || test ! -s conftest.err'
31264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31265   (eval $ac_try) 2>&5
31266   ac_status=$?
31267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31268   (exit $ac_status); }; } &&
31269          { ac_try='test -s conftest$ac_exeext'
31270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31271   (eval $ac_try) 2>&5
31272   ac_status=$?
31273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31274   (exit $ac_status); }; }; then
31275   eval "$as_ac_var=yes"
31276 else
31277   echo "$as_me: failed program was:" >&5
31278 sed 's/^/| /' conftest.$ac_ext >&5
31279
31280 eval "$as_ac_var=no"
31281 fi
31282 rm -f conftest.err conftest.$ac_objext \
31283       conftest$ac_exeext conftest.$ac_ext
31284 fi
31285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31287 if test `eval echo '${'$as_ac_var'}'` = yes; then
31288   cat >>confdefs.h <<_ACEOF
31289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31290 _ACEOF
31291
31292 fi
31293 done
31294
31295   else
31296
31297   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
31298 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
31299   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
31300     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
31301   echo $ECHO_N "(cached) $ECHO_C" >&6
31302 else
31303
31304
31305
31306       ac_ext=cc
31307 ac_cpp='$CXXCPP $CPPFLAGS'
31308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31311
31312       cat >conftest.$ac_ext <<_ACEOF
31313 /* confdefs.h.  */
31314 _ACEOF
31315 cat confdefs.h >>conftest.$ac_ext
31316 cat >>conftest.$ac_ext <<_ACEOF
31317 /* end confdefs.h.  */
31318 #include <math.h>
31319                       #ifdef HAVE_IEEEFP_H
31320                       #include <ieeefp.h>
31321                       #endif
31322
31323 int
31324 main ()
31325 {
31326  _isinf(0);
31327   ;
31328   return 0;
31329 }
31330 _ACEOF
31331 rm -f conftest.$ac_objext
31332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31333   (eval $ac_compile) 2>conftest.er1
31334   ac_status=$?
31335   grep -v '^ *+' conftest.er1 >conftest.err
31336   rm -f conftest.er1
31337   cat conftest.err >&5
31338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31339   (exit $ac_status); } &&
31340          { ac_try='test -z "$ac_cxx_werror_flag"
31341                          || test ! -s conftest.err'
31342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31343   (eval $ac_try) 2>&5
31344   ac_status=$?
31345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31346   (exit $ac_status); }; } &&
31347          { ac_try='test -s conftest.$ac_objext'
31348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31349   (eval $ac_try) 2>&5
31350   ac_status=$?
31351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31352   (exit $ac_status); }; }; then
31353   glibcxx_cv_func__isinf_use=yes
31354 else
31355   echo "$as_me: failed program was:" >&5
31356 sed 's/^/| /' conftest.$ac_ext >&5
31357
31358 glibcxx_cv_func__isinf_use=no
31359 fi
31360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31361       ac_ext=c
31362 ac_cpp='$CPP $CPPFLAGS'
31363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31366
31367
31368 fi
31369
31370   fi
31371   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
31372 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
31373
31374     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
31375
31376 for ac_func in _isinf
31377 do
31378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31379 echo "$as_me:$LINENO: checking for $ac_func" >&5
31380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31381 if eval "test \"\${$as_ac_var+set}\" = set"; then
31382   echo $ECHO_N "(cached) $ECHO_C" >&6
31383 else
31384   if test x$gcc_no_link = xyes; then
31385   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31387    { (exit 1); exit 1; }; }
31388 fi
31389 cat >conftest.$ac_ext <<_ACEOF
31390 /* confdefs.h.  */
31391 _ACEOF
31392 cat confdefs.h >>conftest.$ac_ext
31393 cat >>conftest.$ac_ext <<_ACEOF
31394 /* end confdefs.h.  */
31395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31396    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31397 #define $ac_func innocuous_$ac_func
31398
31399 /* System header to define __stub macros and hopefully few prototypes,
31400     which can conflict with char $ac_func (); below.
31401     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31402     <limits.h> exists even on freestanding compilers.  */
31403
31404 #ifdef __STDC__
31405 # include <limits.h>
31406 #else
31407 # include <assert.h>
31408 #endif
31409
31410 #undef $ac_func
31411
31412 /* Override any gcc2 internal prototype to avoid an error.  */
31413 #ifdef __cplusplus
31414 extern "C"
31415 {
31416 #endif
31417 /* We use char because int might match the return type of a gcc2
31418    builtin and then its argument prototype would still apply.  */
31419 char $ac_func ();
31420 /* The GNU C library defines this for functions which it implements
31421     to always fail with ENOSYS.  Some functions are actually named
31422     something starting with __ and the normal name is an alias.  */
31423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31424 choke me
31425 #else
31426 char (*f) () = $ac_func;
31427 #endif
31428 #ifdef __cplusplus
31429 }
31430 #endif
31431
31432 int
31433 main ()
31434 {
31435 return f != $ac_func;
31436   ;
31437   return 0;
31438 }
31439 _ACEOF
31440 rm -f conftest.$ac_objext conftest$ac_exeext
31441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31442   (eval $ac_link) 2>conftest.er1
31443   ac_status=$?
31444   grep -v '^ *+' conftest.er1 >conftest.err
31445   rm -f conftest.er1
31446   cat conftest.err >&5
31447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31448   (exit $ac_status); } &&
31449          { ac_try='test -z "$ac_c_werror_flag"
31450                          || test ! -s conftest.err'
31451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31452   (eval $ac_try) 2>&5
31453   ac_status=$?
31454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31455   (exit $ac_status); }; } &&
31456          { ac_try='test -s conftest$ac_exeext'
31457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31458   (eval $ac_try) 2>&5
31459   ac_status=$?
31460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31461   (exit $ac_status); }; }; then
31462   eval "$as_ac_var=yes"
31463 else
31464   echo "$as_me: failed program was:" >&5
31465 sed 's/^/| /' conftest.$ac_ext >&5
31466
31467 eval "$as_ac_var=no"
31468 fi
31469 rm -f conftest.err conftest.$ac_objext \
31470       conftest$ac_exeext conftest.$ac_ext
31471 fi
31472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31474 if test `eval echo '${'$as_ac_var'}'` = yes; then
31475   cat >>confdefs.h <<_ACEOF
31476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31477 _ACEOF
31478
31479 fi
31480 done
31481
31482     fi
31483   fi
31484
31485
31486
31487
31488
31489
31490   echo "$as_me:$LINENO: checking for isnan declaration" >&5
31491 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
31492   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
31493     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
31494   echo $ECHO_N "(cached) $ECHO_C" >&6
31495 else
31496
31497
31498
31499       ac_ext=cc
31500 ac_cpp='$CXXCPP $CPPFLAGS'
31501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31504
31505       cat >conftest.$ac_ext <<_ACEOF
31506 /* confdefs.h.  */
31507 _ACEOF
31508 cat confdefs.h >>conftest.$ac_ext
31509 cat >>conftest.$ac_ext <<_ACEOF
31510 /* end confdefs.h.  */
31511 #include <math.h>
31512                       #ifdef HAVE_IEEEFP_H
31513                       #include <ieeefp.h>
31514                       #endif
31515
31516 int
31517 main ()
31518 {
31519  isnan(0);
31520   ;
31521   return 0;
31522 }
31523 _ACEOF
31524 rm -f conftest.$ac_objext
31525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31526   (eval $ac_compile) 2>conftest.er1
31527   ac_status=$?
31528   grep -v '^ *+' conftest.er1 >conftest.err
31529   rm -f conftest.er1
31530   cat conftest.err >&5
31531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31532   (exit $ac_status); } &&
31533          { ac_try='test -z "$ac_cxx_werror_flag"
31534                          || test ! -s conftest.err'
31535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31536   (eval $ac_try) 2>&5
31537   ac_status=$?
31538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31539   (exit $ac_status); }; } &&
31540          { ac_try='test -s conftest.$ac_objext'
31541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31542   (eval $ac_try) 2>&5
31543   ac_status=$?
31544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31545   (exit $ac_status); }; }; then
31546   glibcxx_cv_func_isnan_use=yes
31547 else
31548   echo "$as_me: failed program was:" >&5
31549 sed 's/^/| /' conftest.$ac_ext >&5
31550
31551 glibcxx_cv_func_isnan_use=no
31552 fi
31553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31554       ac_ext=c
31555 ac_cpp='$CPP $CPPFLAGS'
31556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31559
31560
31561 fi
31562
31563   fi
31564   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
31565 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
31566
31567   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
31568
31569 for ac_func in isnan
31570 do
31571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31572 echo "$as_me:$LINENO: checking for $ac_func" >&5
31573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31574 if eval "test \"\${$as_ac_var+set}\" = set"; then
31575   echo $ECHO_N "(cached) $ECHO_C" >&6
31576 else
31577   if test x$gcc_no_link = xyes; then
31578   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31580    { (exit 1); exit 1; }; }
31581 fi
31582 cat >conftest.$ac_ext <<_ACEOF
31583 /* confdefs.h.  */
31584 _ACEOF
31585 cat confdefs.h >>conftest.$ac_ext
31586 cat >>conftest.$ac_ext <<_ACEOF
31587 /* end confdefs.h.  */
31588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31589    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31590 #define $ac_func innocuous_$ac_func
31591
31592 /* System header to define __stub macros and hopefully few prototypes,
31593     which can conflict with char $ac_func (); below.
31594     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31595     <limits.h> exists even on freestanding compilers.  */
31596
31597 #ifdef __STDC__
31598 # include <limits.h>
31599 #else
31600 # include <assert.h>
31601 #endif
31602
31603 #undef $ac_func
31604
31605 /* Override any gcc2 internal prototype to avoid an error.  */
31606 #ifdef __cplusplus
31607 extern "C"
31608 {
31609 #endif
31610 /* We use char because int might match the return type of a gcc2
31611    builtin and then its argument prototype would still apply.  */
31612 char $ac_func ();
31613 /* The GNU C library defines this for functions which it implements
31614     to always fail with ENOSYS.  Some functions are actually named
31615     something starting with __ and the normal name is an alias.  */
31616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31617 choke me
31618 #else
31619 char (*f) () = $ac_func;
31620 #endif
31621 #ifdef __cplusplus
31622 }
31623 #endif
31624
31625 int
31626 main ()
31627 {
31628 return f != $ac_func;
31629   ;
31630   return 0;
31631 }
31632 _ACEOF
31633 rm -f conftest.$ac_objext conftest$ac_exeext
31634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31635   (eval $ac_link) 2>conftest.er1
31636   ac_status=$?
31637   grep -v '^ *+' conftest.er1 >conftest.err
31638   rm -f conftest.er1
31639   cat conftest.err >&5
31640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31641   (exit $ac_status); } &&
31642          { ac_try='test -z "$ac_c_werror_flag"
31643                          || test ! -s conftest.err'
31644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31645   (eval $ac_try) 2>&5
31646   ac_status=$?
31647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31648   (exit $ac_status); }; } &&
31649          { ac_try='test -s conftest$ac_exeext'
31650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31651   (eval $ac_try) 2>&5
31652   ac_status=$?
31653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31654   (exit $ac_status); }; }; then
31655   eval "$as_ac_var=yes"
31656 else
31657   echo "$as_me: failed program was:" >&5
31658 sed 's/^/| /' conftest.$ac_ext >&5
31659
31660 eval "$as_ac_var=no"
31661 fi
31662 rm -f conftest.err conftest.$ac_objext \
31663       conftest$ac_exeext conftest.$ac_ext
31664 fi
31665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31666 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31667 if test `eval echo '${'$as_ac_var'}'` = yes; then
31668   cat >>confdefs.h <<_ACEOF
31669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31670 _ACEOF
31671
31672 fi
31673 done
31674
31675   else
31676
31677   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
31678 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
31679   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
31680     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
31681   echo $ECHO_N "(cached) $ECHO_C" >&6
31682 else
31683
31684
31685
31686       ac_ext=cc
31687 ac_cpp='$CXXCPP $CPPFLAGS'
31688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31691
31692       cat >conftest.$ac_ext <<_ACEOF
31693 /* confdefs.h.  */
31694 _ACEOF
31695 cat confdefs.h >>conftest.$ac_ext
31696 cat >>conftest.$ac_ext <<_ACEOF
31697 /* end confdefs.h.  */
31698 #include <math.h>
31699                       #ifdef HAVE_IEEEFP_H
31700                       #include <ieeefp.h>
31701                       #endif
31702
31703 int
31704 main ()
31705 {
31706  _isnan(0);
31707   ;
31708   return 0;
31709 }
31710 _ACEOF
31711 rm -f conftest.$ac_objext
31712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31713   (eval $ac_compile) 2>conftest.er1
31714   ac_status=$?
31715   grep -v '^ *+' conftest.er1 >conftest.err
31716   rm -f conftest.er1
31717   cat conftest.err >&5
31718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31719   (exit $ac_status); } &&
31720          { ac_try='test -z "$ac_cxx_werror_flag"
31721                          || test ! -s conftest.err'
31722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31723   (eval $ac_try) 2>&5
31724   ac_status=$?
31725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31726   (exit $ac_status); }; } &&
31727          { ac_try='test -s conftest.$ac_objext'
31728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31729   (eval $ac_try) 2>&5
31730   ac_status=$?
31731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31732   (exit $ac_status); }; }; then
31733   glibcxx_cv_func__isnan_use=yes
31734 else
31735   echo "$as_me: failed program was:" >&5
31736 sed 's/^/| /' conftest.$ac_ext >&5
31737
31738 glibcxx_cv_func__isnan_use=no
31739 fi
31740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31741       ac_ext=c
31742 ac_cpp='$CPP $CPPFLAGS'
31743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31746
31747
31748 fi
31749
31750   fi
31751   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
31752 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
31753
31754     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
31755
31756 for ac_func in _isnan
31757 do
31758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31759 echo "$as_me:$LINENO: checking for $ac_func" >&5
31760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31761 if eval "test \"\${$as_ac_var+set}\" = set"; then
31762   echo $ECHO_N "(cached) $ECHO_C" >&6
31763 else
31764   if test x$gcc_no_link = xyes; then
31765   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31767    { (exit 1); exit 1; }; }
31768 fi
31769 cat >conftest.$ac_ext <<_ACEOF
31770 /* confdefs.h.  */
31771 _ACEOF
31772 cat confdefs.h >>conftest.$ac_ext
31773 cat >>conftest.$ac_ext <<_ACEOF
31774 /* end confdefs.h.  */
31775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31776    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31777 #define $ac_func innocuous_$ac_func
31778
31779 /* System header to define __stub macros and hopefully few prototypes,
31780     which can conflict with char $ac_func (); below.
31781     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31782     <limits.h> exists even on freestanding compilers.  */
31783
31784 #ifdef __STDC__
31785 # include <limits.h>
31786 #else
31787 # include <assert.h>
31788 #endif
31789
31790 #undef $ac_func
31791
31792 /* Override any gcc2 internal prototype to avoid an error.  */
31793 #ifdef __cplusplus
31794 extern "C"
31795 {
31796 #endif
31797 /* We use char because int might match the return type of a gcc2
31798    builtin and then its argument prototype would still apply.  */
31799 char $ac_func ();
31800 /* The GNU C library defines this for functions which it implements
31801     to always fail with ENOSYS.  Some functions are actually named
31802     something starting with __ and the normal name is an alias.  */
31803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31804 choke me
31805 #else
31806 char (*f) () = $ac_func;
31807 #endif
31808 #ifdef __cplusplus
31809 }
31810 #endif
31811
31812 int
31813 main ()
31814 {
31815 return f != $ac_func;
31816   ;
31817   return 0;
31818 }
31819 _ACEOF
31820 rm -f conftest.$ac_objext conftest$ac_exeext
31821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31822   (eval $ac_link) 2>conftest.er1
31823   ac_status=$?
31824   grep -v '^ *+' conftest.er1 >conftest.err
31825   rm -f conftest.er1
31826   cat conftest.err >&5
31827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31828   (exit $ac_status); } &&
31829          { ac_try='test -z "$ac_c_werror_flag"
31830                          || test ! -s conftest.err'
31831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31832   (eval $ac_try) 2>&5
31833   ac_status=$?
31834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31835   (exit $ac_status); }; } &&
31836          { ac_try='test -s conftest$ac_exeext'
31837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31838   (eval $ac_try) 2>&5
31839   ac_status=$?
31840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31841   (exit $ac_status); }; }; then
31842   eval "$as_ac_var=yes"
31843 else
31844   echo "$as_me: failed program was:" >&5
31845 sed 's/^/| /' conftest.$ac_ext >&5
31846
31847 eval "$as_ac_var=no"
31848 fi
31849 rm -f conftest.err conftest.$ac_objext \
31850       conftest$ac_exeext conftest.$ac_ext
31851 fi
31852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31854 if test `eval echo '${'$as_ac_var'}'` = yes; then
31855   cat >>confdefs.h <<_ACEOF
31856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31857 _ACEOF
31858
31859 fi
31860 done
31861
31862     fi
31863   fi
31864
31865
31866
31867
31868
31869
31870   echo "$as_me:$LINENO: checking for finite declaration" >&5
31871 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
31872   if test x${glibcxx_cv_func_finite_use+set} != xset; then
31873     if test "${glibcxx_cv_func_finite_use+set}" = set; then
31874   echo $ECHO_N "(cached) $ECHO_C" >&6
31875 else
31876
31877
31878
31879       ac_ext=cc
31880 ac_cpp='$CXXCPP $CPPFLAGS'
31881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31884
31885       cat >conftest.$ac_ext <<_ACEOF
31886 /* confdefs.h.  */
31887 _ACEOF
31888 cat confdefs.h >>conftest.$ac_ext
31889 cat >>conftest.$ac_ext <<_ACEOF
31890 /* end confdefs.h.  */
31891 #include <math.h>
31892                       #ifdef HAVE_IEEEFP_H
31893                       #include <ieeefp.h>
31894                       #endif
31895
31896 int
31897 main ()
31898 {
31899  finite(0);
31900   ;
31901   return 0;
31902 }
31903 _ACEOF
31904 rm -f conftest.$ac_objext
31905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31906   (eval $ac_compile) 2>conftest.er1
31907   ac_status=$?
31908   grep -v '^ *+' conftest.er1 >conftest.err
31909   rm -f conftest.er1
31910   cat conftest.err >&5
31911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31912   (exit $ac_status); } &&
31913          { ac_try='test -z "$ac_cxx_werror_flag"
31914                          || test ! -s conftest.err'
31915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31916   (eval $ac_try) 2>&5
31917   ac_status=$?
31918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31919   (exit $ac_status); }; } &&
31920          { ac_try='test -s conftest.$ac_objext'
31921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31922   (eval $ac_try) 2>&5
31923   ac_status=$?
31924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31925   (exit $ac_status); }; }; then
31926   glibcxx_cv_func_finite_use=yes
31927 else
31928   echo "$as_me: failed program was:" >&5
31929 sed 's/^/| /' conftest.$ac_ext >&5
31930
31931 glibcxx_cv_func_finite_use=no
31932 fi
31933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31934       ac_ext=c
31935 ac_cpp='$CPP $CPPFLAGS'
31936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31939
31940
31941 fi
31942
31943   fi
31944   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
31945 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
31946
31947   if test x$glibcxx_cv_func_finite_use = x"yes"; then
31948
31949 for ac_func in finite
31950 do
31951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31952 echo "$as_me:$LINENO: checking for $ac_func" >&5
31953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31954 if eval "test \"\${$as_ac_var+set}\" = set"; then
31955   echo $ECHO_N "(cached) $ECHO_C" >&6
31956 else
31957   if test x$gcc_no_link = xyes; then
31958   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31960    { (exit 1); exit 1; }; }
31961 fi
31962 cat >conftest.$ac_ext <<_ACEOF
31963 /* confdefs.h.  */
31964 _ACEOF
31965 cat confdefs.h >>conftest.$ac_ext
31966 cat >>conftest.$ac_ext <<_ACEOF
31967 /* end confdefs.h.  */
31968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31969    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31970 #define $ac_func innocuous_$ac_func
31971
31972 /* System header to define __stub macros and hopefully few prototypes,
31973     which can conflict with char $ac_func (); below.
31974     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31975     <limits.h> exists even on freestanding compilers.  */
31976
31977 #ifdef __STDC__
31978 # include <limits.h>
31979 #else
31980 # include <assert.h>
31981 #endif
31982
31983 #undef $ac_func
31984
31985 /* Override any gcc2 internal prototype to avoid an error.  */
31986 #ifdef __cplusplus
31987 extern "C"
31988 {
31989 #endif
31990 /* We use char because int might match the return type of a gcc2
31991    builtin and then its argument prototype would still apply.  */
31992 char $ac_func ();
31993 /* The GNU C library defines this for functions which it implements
31994     to always fail with ENOSYS.  Some functions are actually named
31995     something starting with __ and the normal name is an alias.  */
31996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31997 choke me
31998 #else
31999 char (*f) () = $ac_func;
32000 #endif
32001 #ifdef __cplusplus
32002 }
32003 #endif
32004
32005 int
32006 main ()
32007 {
32008 return f != $ac_func;
32009   ;
32010   return 0;
32011 }
32012 _ACEOF
32013 rm -f conftest.$ac_objext conftest$ac_exeext
32014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32015   (eval $ac_link) 2>conftest.er1
32016   ac_status=$?
32017   grep -v '^ *+' conftest.er1 >conftest.err
32018   rm -f conftest.er1
32019   cat conftest.err >&5
32020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32021   (exit $ac_status); } &&
32022          { ac_try='test -z "$ac_c_werror_flag"
32023                          || test ! -s conftest.err'
32024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32025   (eval $ac_try) 2>&5
32026   ac_status=$?
32027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32028   (exit $ac_status); }; } &&
32029          { ac_try='test -s conftest$ac_exeext'
32030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32031   (eval $ac_try) 2>&5
32032   ac_status=$?
32033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32034   (exit $ac_status); }; }; then
32035   eval "$as_ac_var=yes"
32036 else
32037   echo "$as_me: failed program was:" >&5
32038 sed 's/^/| /' conftest.$ac_ext >&5
32039
32040 eval "$as_ac_var=no"
32041 fi
32042 rm -f conftest.err conftest.$ac_objext \
32043       conftest$ac_exeext conftest.$ac_ext
32044 fi
32045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32046 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32047 if test `eval echo '${'$as_ac_var'}'` = yes; then
32048   cat >>confdefs.h <<_ACEOF
32049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32050 _ACEOF
32051
32052 fi
32053 done
32054
32055   else
32056
32057   echo "$as_me:$LINENO: checking for _finite declaration" >&5
32058 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
32059   if test x${glibcxx_cv_func__finite_use+set} != xset; then
32060     if test "${glibcxx_cv_func__finite_use+set}" = set; then
32061   echo $ECHO_N "(cached) $ECHO_C" >&6
32062 else
32063
32064
32065
32066       ac_ext=cc
32067 ac_cpp='$CXXCPP $CPPFLAGS'
32068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32071
32072       cat >conftest.$ac_ext <<_ACEOF
32073 /* confdefs.h.  */
32074 _ACEOF
32075 cat confdefs.h >>conftest.$ac_ext
32076 cat >>conftest.$ac_ext <<_ACEOF
32077 /* end confdefs.h.  */
32078 #include <math.h>
32079                       #ifdef HAVE_IEEEFP_H
32080                       #include <ieeefp.h>
32081                       #endif
32082
32083 int
32084 main ()
32085 {
32086  _finite(0);
32087   ;
32088   return 0;
32089 }
32090 _ACEOF
32091 rm -f conftest.$ac_objext
32092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32093   (eval $ac_compile) 2>conftest.er1
32094   ac_status=$?
32095   grep -v '^ *+' conftest.er1 >conftest.err
32096   rm -f conftest.er1
32097   cat conftest.err >&5
32098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32099   (exit $ac_status); } &&
32100          { ac_try='test -z "$ac_cxx_werror_flag"
32101                          || test ! -s conftest.err'
32102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32103   (eval $ac_try) 2>&5
32104   ac_status=$?
32105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32106   (exit $ac_status); }; } &&
32107          { ac_try='test -s conftest.$ac_objext'
32108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32109   (eval $ac_try) 2>&5
32110   ac_status=$?
32111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32112   (exit $ac_status); }; }; then
32113   glibcxx_cv_func__finite_use=yes
32114 else
32115   echo "$as_me: failed program was:" >&5
32116 sed 's/^/| /' conftest.$ac_ext >&5
32117
32118 glibcxx_cv_func__finite_use=no
32119 fi
32120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32121       ac_ext=c
32122 ac_cpp='$CPP $CPPFLAGS'
32123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32126
32127
32128 fi
32129
32130   fi
32131   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
32132 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
32133
32134     if test x$glibcxx_cv_func__finite_use = x"yes"; then
32135
32136 for ac_func in _finite
32137 do
32138 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32139 echo "$as_me:$LINENO: checking for $ac_func" >&5
32140 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32141 if eval "test \"\${$as_ac_var+set}\" = set"; then
32142   echo $ECHO_N "(cached) $ECHO_C" >&6
32143 else
32144   if test x$gcc_no_link = xyes; then
32145   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32146 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32147    { (exit 1); exit 1; }; }
32148 fi
32149 cat >conftest.$ac_ext <<_ACEOF
32150 /* confdefs.h.  */
32151 _ACEOF
32152 cat confdefs.h >>conftest.$ac_ext
32153 cat >>conftest.$ac_ext <<_ACEOF
32154 /* end confdefs.h.  */
32155 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32156    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32157 #define $ac_func innocuous_$ac_func
32158
32159 /* System header to define __stub macros and hopefully few prototypes,
32160     which can conflict with char $ac_func (); below.
32161     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32162     <limits.h> exists even on freestanding compilers.  */
32163
32164 #ifdef __STDC__
32165 # include <limits.h>
32166 #else
32167 # include <assert.h>
32168 #endif
32169
32170 #undef $ac_func
32171
32172 /* Override any gcc2 internal prototype to avoid an error.  */
32173 #ifdef __cplusplus
32174 extern "C"
32175 {
32176 #endif
32177 /* We use char because int might match the return type of a gcc2
32178    builtin and then its argument prototype would still apply.  */
32179 char $ac_func ();
32180 /* The GNU C library defines this for functions which it implements
32181     to always fail with ENOSYS.  Some functions are actually named
32182     something starting with __ and the normal name is an alias.  */
32183 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32184 choke me
32185 #else
32186 char (*f) () = $ac_func;
32187 #endif
32188 #ifdef __cplusplus
32189 }
32190 #endif
32191
32192 int
32193 main ()
32194 {
32195 return f != $ac_func;
32196   ;
32197   return 0;
32198 }
32199 _ACEOF
32200 rm -f conftest.$ac_objext conftest$ac_exeext
32201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32202   (eval $ac_link) 2>conftest.er1
32203   ac_status=$?
32204   grep -v '^ *+' conftest.er1 >conftest.err
32205   rm -f conftest.er1
32206   cat conftest.err >&5
32207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32208   (exit $ac_status); } &&
32209          { ac_try='test -z "$ac_c_werror_flag"
32210                          || test ! -s conftest.err'
32211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32212   (eval $ac_try) 2>&5
32213   ac_status=$?
32214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32215   (exit $ac_status); }; } &&
32216          { ac_try='test -s conftest$ac_exeext'
32217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32218   (eval $ac_try) 2>&5
32219   ac_status=$?
32220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32221   (exit $ac_status); }; }; then
32222   eval "$as_ac_var=yes"
32223 else
32224   echo "$as_me: failed program was:" >&5
32225 sed 's/^/| /' conftest.$ac_ext >&5
32226
32227 eval "$as_ac_var=no"
32228 fi
32229 rm -f conftest.err conftest.$ac_objext \
32230       conftest$ac_exeext conftest.$ac_ext
32231 fi
32232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32233 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32234 if test `eval echo '${'$as_ac_var'}'` = yes; then
32235   cat >>confdefs.h <<_ACEOF
32236 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32237 _ACEOF
32238
32239 fi
32240 done
32241
32242     fi
32243   fi
32244
32245
32246
32247
32248
32249
32250   echo "$as_me:$LINENO: checking for copysign declaration" >&5
32251 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
32252   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
32253     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
32254   echo $ECHO_N "(cached) $ECHO_C" >&6
32255 else
32256
32257
32258
32259       ac_ext=cc
32260 ac_cpp='$CXXCPP $CPPFLAGS'
32261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32264
32265       cat >conftest.$ac_ext <<_ACEOF
32266 /* confdefs.h.  */
32267 _ACEOF
32268 cat confdefs.h >>conftest.$ac_ext
32269 cat >>conftest.$ac_ext <<_ACEOF
32270 /* end confdefs.h.  */
32271 #include <math.h>
32272 int
32273 main ()
32274 {
32275  copysign(0, 0);
32276   ;
32277   return 0;
32278 }
32279 _ACEOF
32280 rm -f conftest.$ac_objext
32281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32282   (eval $ac_compile) 2>conftest.er1
32283   ac_status=$?
32284   grep -v '^ *+' conftest.er1 >conftest.err
32285   rm -f conftest.er1
32286   cat conftest.err >&5
32287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32288   (exit $ac_status); } &&
32289          { ac_try='test -z "$ac_cxx_werror_flag"
32290                          || test ! -s conftest.err'
32291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32292   (eval $ac_try) 2>&5
32293   ac_status=$?
32294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32295   (exit $ac_status); }; } &&
32296          { ac_try='test -s conftest.$ac_objext'
32297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32298   (eval $ac_try) 2>&5
32299   ac_status=$?
32300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32301   (exit $ac_status); }; }; then
32302   glibcxx_cv_func_copysign_use=yes
32303 else
32304   echo "$as_me: failed program was:" >&5
32305 sed 's/^/| /' conftest.$ac_ext >&5
32306
32307 glibcxx_cv_func_copysign_use=no
32308 fi
32309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32310       ac_ext=c
32311 ac_cpp='$CPP $CPPFLAGS'
32312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32315
32316
32317 fi
32318
32319   fi
32320   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
32321 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
32322
32323   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
32324
32325 for ac_func in copysign
32326 do
32327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32328 echo "$as_me:$LINENO: checking for $ac_func" >&5
32329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32330 if eval "test \"\${$as_ac_var+set}\" = set"; then
32331   echo $ECHO_N "(cached) $ECHO_C" >&6
32332 else
32333   if test x$gcc_no_link = xyes; then
32334   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32336    { (exit 1); exit 1; }; }
32337 fi
32338 cat >conftest.$ac_ext <<_ACEOF
32339 /* confdefs.h.  */
32340 _ACEOF
32341 cat confdefs.h >>conftest.$ac_ext
32342 cat >>conftest.$ac_ext <<_ACEOF
32343 /* end confdefs.h.  */
32344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32345    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32346 #define $ac_func innocuous_$ac_func
32347
32348 /* System header to define __stub macros and hopefully few prototypes,
32349     which can conflict with char $ac_func (); below.
32350     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32351     <limits.h> exists even on freestanding compilers.  */
32352
32353 #ifdef __STDC__
32354 # include <limits.h>
32355 #else
32356 # include <assert.h>
32357 #endif
32358
32359 #undef $ac_func
32360
32361 /* Override any gcc2 internal prototype to avoid an error.  */
32362 #ifdef __cplusplus
32363 extern "C"
32364 {
32365 #endif
32366 /* We use char because int might match the return type of a gcc2
32367    builtin and then its argument prototype would still apply.  */
32368 char $ac_func ();
32369 /* The GNU C library defines this for functions which it implements
32370     to always fail with ENOSYS.  Some functions are actually named
32371     something starting with __ and the normal name is an alias.  */
32372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32373 choke me
32374 #else
32375 char (*f) () = $ac_func;
32376 #endif
32377 #ifdef __cplusplus
32378 }
32379 #endif
32380
32381 int
32382 main ()
32383 {
32384 return f != $ac_func;
32385   ;
32386   return 0;
32387 }
32388 _ACEOF
32389 rm -f conftest.$ac_objext conftest$ac_exeext
32390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32391   (eval $ac_link) 2>conftest.er1
32392   ac_status=$?
32393   grep -v '^ *+' conftest.er1 >conftest.err
32394   rm -f conftest.er1
32395   cat conftest.err >&5
32396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32397   (exit $ac_status); } &&
32398          { ac_try='test -z "$ac_c_werror_flag"
32399                          || test ! -s conftest.err'
32400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32401   (eval $ac_try) 2>&5
32402   ac_status=$?
32403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32404   (exit $ac_status); }; } &&
32405          { ac_try='test -s conftest$ac_exeext'
32406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32407   (eval $ac_try) 2>&5
32408   ac_status=$?
32409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32410   (exit $ac_status); }; }; then
32411   eval "$as_ac_var=yes"
32412 else
32413   echo "$as_me: failed program was:" >&5
32414 sed 's/^/| /' conftest.$ac_ext >&5
32415
32416 eval "$as_ac_var=no"
32417 fi
32418 rm -f conftest.err conftest.$ac_objext \
32419       conftest$ac_exeext conftest.$ac_ext
32420 fi
32421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32423 if test `eval echo '${'$as_ac_var'}'` = yes; then
32424   cat >>confdefs.h <<_ACEOF
32425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32426 _ACEOF
32427
32428 fi
32429 done
32430
32431   else
32432
32433   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
32434 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
32435   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
32436     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
32437   echo $ECHO_N "(cached) $ECHO_C" >&6
32438 else
32439
32440
32441
32442       ac_ext=cc
32443 ac_cpp='$CXXCPP $CPPFLAGS'
32444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32447
32448       cat >conftest.$ac_ext <<_ACEOF
32449 /* confdefs.h.  */
32450 _ACEOF
32451 cat confdefs.h >>conftest.$ac_ext
32452 cat >>conftest.$ac_ext <<_ACEOF
32453 /* end confdefs.h.  */
32454 #include <math.h>
32455 int
32456 main ()
32457 {
32458  _copysign(0, 0);
32459   ;
32460   return 0;
32461 }
32462 _ACEOF
32463 rm -f conftest.$ac_objext
32464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32465   (eval $ac_compile) 2>conftest.er1
32466   ac_status=$?
32467   grep -v '^ *+' conftest.er1 >conftest.err
32468   rm -f conftest.er1
32469   cat conftest.err >&5
32470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32471   (exit $ac_status); } &&
32472          { ac_try='test -z "$ac_cxx_werror_flag"
32473                          || test ! -s conftest.err'
32474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32475   (eval $ac_try) 2>&5
32476   ac_status=$?
32477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32478   (exit $ac_status); }; } &&
32479          { ac_try='test -s conftest.$ac_objext'
32480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32481   (eval $ac_try) 2>&5
32482   ac_status=$?
32483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32484   (exit $ac_status); }; }; then
32485   glibcxx_cv_func__copysign_use=yes
32486 else
32487   echo "$as_me: failed program was:" >&5
32488 sed 's/^/| /' conftest.$ac_ext >&5
32489
32490 glibcxx_cv_func__copysign_use=no
32491 fi
32492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32493       ac_ext=c
32494 ac_cpp='$CPP $CPPFLAGS'
32495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32498
32499
32500 fi
32501
32502   fi
32503   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
32504 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
32505
32506     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
32507
32508 for ac_func in _copysign
32509 do
32510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32511 echo "$as_me:$LINENO: checking for $ac_func" >&5
32512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32513 if eval "test \"\${$as_ac_var+set}\" = set"; then
32514   echo $ECHO_N "(cached) $ECHO_C" >&6
32515 else
32516   if test x$gcc_no_link = xyes; then
32517   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32519    { (exit 1); exit 1; }; }
32520 fi
32521 cat >conftest.$ac_ext <<_ACEOF
32522 /* confdefs.h.  */
32523 _ACEOF
32524 cat confdefs.h >>conftest.$ac_ext
32525 cat >>conftest.$ac_ext <<_ACEOF
32526 /* end confdefs.h.  */
32527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32528    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32529 #define $ac_func innocuous_$ac_func
32530
32531 /* System header to define __stub macros and hopefully few prototypes,
32532     which can conflict with char $ac_func (); below.
32533     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32534     <limits.h> exists even on freestanding compilers.  */
32535
32536 #ifdef __STDC__
32537 # include <limits.h>
32538 #else
32539 # include <assert.h>
32540 #endif
32541
32542 #undef $ac_func
32543
32544 /* Override any gcc2 internal prototype to avoid an error.  */
32545 #ifdef __cplusplus
32546 extern "C"
32547 {
32548 #endif
32549 /* We use char because int might match the return type of a gcc2
32550    builtin and then its argument prototype would still apply.  */
32551 char $ac_func ();
32552 /* The GNU C library defines this for functions which it implements
32553     to always fail with ENOSYS.  Some functions are actually named
32554     something starting with __ and the normal name is an alias.  */
32555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32556 choke me
32557 #else
32558 char (*f) () = $ac_func;
32559 #endif
32560 #ifdef __cplusplus
32561 }
32562 #endif
32563
32564 int
32565 main ()
32566 {
32567 return f != $ac_func;
32568   ;
32569   return 0;
32570 }
32571 _ACEOF
32572 rm -f conftest.$ac_objext conftest$ac_exeext
32573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32574   (eval $ac_link) 2>conftest.er1
32575   ac_status=$?
32576   grep -v '^ *+' conftest.er1 >conftest.err
32577   rm -f conftest.er1
32578   cat conftest.err >&5
32579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32580   (exit $ac_status); } &&
32581          { ac_try='test -z "$ac_c_werror_flag"
32582                          || test ! -s conftest.err'
32583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32584   (eval $ac_try) 2>&5
32585   ac_status=$?
32586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32587   (exit $ac_status); }; } &&
32588          { ac_try='test -s conftest$ac_exeext'
32589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32590   (eval $ac_try) 2>&5
32591   ac_status=$?
32592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32593   (exit $ac_status); }; }; then
32594   eval "$as_ac_var=yes"
32595 else
32596   echo "$as_me: failed program was:" >&5
32597 sed 's/^/| /' conftest.$ac_ext >&5
32598
32599 eval "$as_ac_var=no"
32600 fi
32601 rm -f conftest.err conftest.$ac_objext \
32602       conftest$ac_exeext conftest.$ac_ext
32603 fi
32604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32606 if test `eval echo '${'$as_ac_var'}'` = yes; then
32607   cat >>confdefs.h <<_ACEOF
32608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32609 _ACEOF
32610
32611 fi
32612 done
32613
32614     fi
32615   fi
32616
32617
32618
32619
32620
32621
32622   echo "$as_me:$LINENO: checking for sincos declaration" >&5
32623 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
32624   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32625     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
32626   echo $ECHO_N "(cached) $ECHO_C" >&6
32627 else
32628
32629
32630
32631       ac_ext=cc
32632 ac_cpp='$CXXCPP $CPPFLAGS'
32633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32636
32637       cat >conftest.$ac_ext <<_ACEOF
32638 /* confdefs.h.  */
32639 _ACEOF
32640 cat confdefs.h >>conftest.$ac_ext
32641 cat >>conftest.$ac_ext <<_ACEOF
32642 /* end confdefs.h.  */
32643 #include <math.h>
32644 int
32645 main ()
32646 {
32647  sincos(0, 0, 0);
32648   ;
32649   return 0;
32650 }
32651 _ACEOF
32652 rm -f conftest.$ac_objext
32653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32654   (eval $ac_compile) 2>conftest.er1
32655   ac_status=$?
32656   grep -v '^ *+' conftest.er1 >conftest.err
32657   rm -f conftest.er1
32658   cat conftest.err >&5
32659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32660   (exit $ac_status); } &&
32661          { ac_try='test -z "$ac_cxx_werror_flag"
32662                          || test ! -s conftest.err'
32663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32664   (eval $ac_try) 2>&5
32665   ac_status=$?
32666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32667   (exit $ac_status); }; } &&
32668          { ac_try='test -s conftest.$ac_objext'
32669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32670   (eval $ac_try) 2>&5
32671   ac_status=$?
32672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32673   (exit $ac_status); }; }; then
32674   glibcxx_cv_func_sincos_use=yes
32675 else
32676   echo "$as_me: failed program was:" >&5
32677 sed 's/^/| /' conftest.$ac_ext >&5
32678
32679 glibcxx_cv_func_sincos_use=no
32680 fi
32681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32682       ac_ext=c
32683 ac_cpp='$CPP $CPPFLAGS'
32684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32687
32688
32689 fi
32690
32691   fi
32692   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
32693 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
32694
32695   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32696
32697 for ac_func in sincos
32698 do
32699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32700 echo "$as_me:$LINENO: checking for $ac_func" >&5
32701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32702 if eval "test \"\${$as_ac_var+set}\" = set"; then
32703   echo $ECHO_N "(cached) $ECHO_C" >&6
32704 else
32705   if test x$gcc_no_link = xyes; then
32706   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32708    { (exit 1); exit 1; }; }
32709 fi
32710 cat >conftest.$ac_ext <<_ACEOF
32711 /* confdefs.h.  */
32712 _ACEOF
32713 cat confdefs.h >>conftest.$ac_ext
32714 cat >>conftest.$ac_ext <<_ACEOF
32715 /* end confdefs.h.  */
32716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32717    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32718 #define $ac_func innocuous_$ac_func
32719
32720 /* System header to define __stub macros and hopefully few prototypes,
32721     which can conflict with char $ac_func (); below.
32722     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32723     <limits.h> exists even on freestanding compilers.  */
32724
32725 #ifdef __STDC__
32726 # include <limits.h>
32727 #else
32728 # include <assert.h>
32729 #endif
32730
32731 #undef $ac_func
32732
32733 /* Override any gcc2 internal prototype to avoid an error.  */
32734 #ifdef __cplusplus
32735 extern "C"
32736 {
32737 #endif
32738 /* We use char because int might match the return type of a gcc2
32739    builtin and then its argument prototype would still apply.  */
32740 char $ac_func ();
32741 /* The GNU C library defines this for functions which it implements
32742     to always fail with ENOSYS.  Some functions are actually named
32743     something starting with __ and the normal name is an alias.  */
32744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32745 choke me
32746 #else
32747 char (*f) () = $ac_func;
32748 #endif
32749 #ifdef __cplusplus
32750 }
32751 #endif
32752
32753 int
32754 main ()
32755 {
32756 return f != $ac_func;
32757   ;
32758   return 0;
32759 }
32760 _ACEOF
32761 rm -f conftest.$ac_objext conftest$ac_exeext
32762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32763   (eval $ac_link) 2>conftest.er1
32764   ac_status=$?
32765   grep -v '^ *+' conftest.er1 >conftest.err
32766   rm -f conftest.er1
32767   cat conftest.err >&5
32768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32769   (exit $ac_status); } &&
32770          { ac_try='test -z "$ac_c_werror_flag"
32771                          || test ! -s conftest.err'
32772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32773   (eval $ac_try) 2>&5
32774   ac_status=$?
32775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32776   (exit $ac_status); }; } &&
32777          { ac_try='test -s conftest$ac_exeext'
32778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32779   (eval $ac_try) 2>&5
32780   ac_status=$?
32781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32782   (exit $ac_status); }; }; then
32783   eval "$as_ac_var=yes"
32784 else
32785   echo "$as_me: failed program was:" >&5
32786 sed 's/^/| /' conftest.$ac_ext >&5
32787
32788 eval "$as_ac_var=no"
32789 fi
32790 rm -f conftest.err conftest.$ac_objext \
32791       conftest$ac_exeext conftest.$ac_ext
32792 fi
32793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32795 if test `eval echo '${'$as_ac_var'}'` = yes; then
32796   cat >>confdefs.h <<_ACEOF
32797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32798 _ACEOF
32799
32800 fi
32801 done
32802
32803   else
32804
32805   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
32806 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
32807   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32808     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
32809   echo $ECHO_N "(cached) $ECHO_C" >&6
32810 else
32811
32812
32813
32814       ac_ext=cc
32815 ac_cpp='$CXXCPP $CPPFLAGS'
32816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32819
32820       cat >conftest.$ac_ext <<_ACEOF
32821 /* confdefs.h.  */
32822 _ACEOF
32823 cat confdefs.h >>conftest.$ac_ext
32824 cat >>conftest.$ac_ext <<_ACEOF
32825 /* end confdefs.h.  */
32826 #include <math.h>
32827 int
32828 main ()
32829 {
32830  _sincos(0, 0, 0);
32831   ;
32832   return 0;
32833 }
32834 _ACEOF
32835 rm -f conftest.$ac_objext
32836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32837   (eval $ac_compile) 2>conftest.er1
32838   ac_status=$?
32839   grep -v '^ *+' conftest.er1 >conftest.err
32840   rm -f conftest.er1
32841   cat conftest.err >&5
32842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32843   (exit $ac_status); } &&
32844          { ac_try='test -z "$ac_cxx_werror_flag"
32845                          || test ! -s conftest.err'
32846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32847   (eval $ac_try) 2>&5
32848   ac_status=$?
32849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32850   (exit $ac_status); }; } &&
32851          { ac_try='test -s conftest.$ac_objext'
32852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32853   (eval $ac_try) 2>&5
32854   ac_status=$?
32855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32856   (exit $ac_status); }; }; then
32857   glibcxx_cv_func__sincos_use=yes
32858 else
32859   echo "$as_me: failed program was:" >&5
32860 sed 's/^/| /' conftest.$ac_ext >&5
32861
32862 glibcxx_cv_func__sincos_use=no
32863 fi
32864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32865       ac_ext=c
32866 ac_cpp='$CPP $CPPFLAGS'
32867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32870
32871
32872 fi
32873
32874   fi
32875   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
32876 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
32877
32878     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
32879
32880 for ac_func in _sincos
32881 do
32882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32883 echo "$as_me:$LINENO: checking for $ac_func" >&5
32884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32885 if eval "test \"\${$as_ac_var+set}\" = set"; then
32886   echo $ECHO_N "(cached) $ECHO_C" >&6
32887 else
32888   if test x$gcc_no_link = xyes; then
32889   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32891    { (exit 1); exit 1; }; }
32892 fi
32893 cat >conftest.$ac_ext <<_ACEOF
32894 /* confdefs.h.  */
32895 _ACEOF
32896 cat confdefs.h >>conftest.$ac_ext
32897 cat >>conftest.$ac_ext <<_ACEOF
32898 /* end confdefs.h.  */
32899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32900    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32901 #define $ac_func innocuous_$ac_func
32902
32903 /* System header to define __stub macros and hopefully few prototypes,
32904     which can conflict with char $ac_func (); below.
32905     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32906     <limits.h> exists even on freestanding compilers.  */
32907
32908 #ifdef __STDC__
32909 # include <limits.h>
32910 #else
32911 # include <assert.h>
32912 #endif
32913
32914 #undef $ac_func
32915
32916 /* Override any gcc2 internal prototype to avoid an error.  */
32917 #ifdef __cplusplus
32918 extern "C"
32919 {
32920 #endif
32921 /* We use char because int might match the return type of a gcc2
32922    builtin and then its argument prototype would still apply.  */
32923 char $ac_func ();
32924 /* The GNU C library defines this for functions which it implements
32925     to always fail with ENOSYS.  Some functions are actually named
32926     something starting with __ and the normal name is an alias.  */
32927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32928 choke me
32929 #else
32930 char (*f) () = $ac_func;
32931 #endif
32932 #ifdef __cplusplus
32933 }
32934 #endif
32935
32936 int
32937 main ()
32938 {
32939 return f != $ac_func;
32940   ;
32941   return 0;
32942 }
32943 _ACEOF
32944 rm -f conftest.$ac_objext conftest$ac_exeext
32945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32946   (eval $ac_link) 2>conftest.er1
32947   ac_status=$?
32948   grep -v '^ *+' conftest.er1 >conftest.err
32949   rm -f conftest.er1
32950   cat conftest.err >&5
32951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32952   (exit $ac_status); } &&
32953          { ac_try='test -z "$ac_c_werror_flag"
32954                          || test ! -s conftest.err'
32955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32956   (eval $ac_try) 2>&5
32957   ac_status=$?
32958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32959   (exit $ac_status); }; } &&
32960          { ac_try='test -s conftest$ac_exeext'
32961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32962   (eval $ac_try) 2>&5
32963   ac_status=$?
32964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32965   (exit $ac_status); }; }; then
32966   eval "$as_ac_var=yes"
32967 else
32968   echo "$as_me: failed program was:" >&5
32969 sed 's/^/| /' conftest.$ac_ext >&5
32970
32971 eval "$as_ac_var=no"
32972 fi
32973 rm -f conftest.err conftest.$ac_objext \
32974       conftest$ac_exeext conftest.$ac_ext
32975 fi
32976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32978 if test `eval echo '${'$as_ac_var'}'` = yes; then
32979   cat >>confdefs.h <<_ACEOF
32980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32981 _ACEOF
32982
32983 fi
32984 done
32985
32986     fi
32987   fi
32988
32989
32990
32991
32992
32993
32994   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
32995 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
32996   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
32997     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
32998   echo $ECHO_N "(cached) $ECHO_C" >&6
32999 else
33000
33001
33002
33003       ac_ext=cc
33004 ac_cpp='$CXXCPP $CPPFLAGS'
33005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33008
33009       cat >conftest.$ac_ext <<_ACEOF
33010 /* confdefs.h.  */
33011 _ACEOF
33012 cat confdefs.h >>conftest.$ac_ext
33013 cat >>conftest.$ac_ext <<_ACEOF
33014 /* end confdefs.h.  */
33015 #include <math.h>
33016                       #ifdef HAVE_IEEEFP_H
33017                       #include <ieeefp.h>
33018                       #endif
33019
33020 int
33021 main ()
33022 {
33023  fpclass(0);
33024   ;
33025   return 0;
33026 }
33027 _ACEOF
33028 rm -f conftest.$ac_objext
33029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33030   (eval $ac_compile) 2>conftest.er1
33031   ac_status=$?
33032   grep -v '^ *+' conftest.er1 >conftest.err
33033   rm -f conftest.er1
33034   cat conftest.err >&5
33035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33036   (exit $ac_status); } &&
33037          { ac_try='test -z "$ac_cxx_werror_flag"
33038                          || test ! -s conftest.err'
33039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33040   (eval $ac_try) 2>&5
33041   ac_status=$?
33042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33043   (exit $ac_status); }; } &&
33044          { ac_try='test -s conftest.$ac_objext'
33045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33046   (eval $ac_try) 2>&5
33047   ac_status=$?
33048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33049   (exit $ac_status); }; }; then
33050   glibcxx_cv_func_fpclass_use=yes
33051 else
33052   echo "$as_me: failed program was:" >&5
33053 sed 's/^/| /' conftest.$ac_ext >&5
33054
33055 glibcxx_cv_func_fpclass_use=no
33056 fi
33057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33058       ac_ext=c
33059 ac_cpp='$CPP $CPPFLAGS'
33060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33063
33064
33065 fi
33066
33067   fi
33068   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
33069 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
33070
33071   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33072
33073 for ac_func in fpclass
33074 do
33075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33076 echo "$as_me:$LINENO: checking for $ac_func" >&5
33077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33078 if eval "test \"\${$as_ac_var+set}\" = set"; then
33079   echo $ECHO_N "(cached) $ECHO_C" >&6
33080 else
33081   if test x$gcc_no_link = xyes; then
33082   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33084    { (exit 1); exit 1; }; }
33085 fi
33086 cat >conftest.$ac_ext <<_ACEOF
33087 /* confdefs.h.  */
33088 _ACEOF
33089 cat confdefs.h >>conftest.$ac_ext
33090 cat >>conftest.$ac_ext <<_ACEOF
33091 /* end confdefs.h.  */
33092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33093    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33094 #define $ac_func innocuous_$ac_func
33095
33096 /* System header to define __stub macros and hopefully few prototypes,
33097     which can conflict with char $ac_func (); below.
33098     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33099     <limits.h> exists even on freestanding compilers.  */
33100
33101 #ifdef __STDC__
33102 # include <limits.h>
33103 #else
33104 # include <assert.h>
33105 #endif
33106
33107 #undef $ac_func
33108
33109 /* Override any gcc2 internal prototype to avoid an error.  */
33110 #ifdef __cplusplus
33111 extern "C"
33112 {
33113 #endif
33114 /* We use char because int might match the return type of a gcc2
33115    builtin and then its argument prototype would still apply.  */
33116 char $ac_func ();
33117 /* The GNU C library defines this for functions which it implements
33118     to always fail with ENOSYS.  Some functions are actually named
33119     something starting with __ and the normal name is an alias.  */
33120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33121 choke me
33122 #else
33123 char (*f) () = $ac_func;
33124 #endif
33125 #ifdef __cplusplus
33126 }
33127 #endif
33128
33129 int
33130 main ()
33131 {
33132 return f != $ac_func;
33133   ;
33134   return 0;
33135 }
33136 _ACEOF
33137 rm -f conftest.$ac_objext conftest$ac_exeext
33138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33139   (eval $ac_link) 2>conftest.er1
33140   ac_status=$?
33141   grep -v '^ *+' conftest.er1 >conftest.err
33142   rm -f conftest.er1
33143   cat conftest.err >&5
33144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33145   (exit $ac_status); } &&
33146          { ac_try='test -z "$ac_c_werror_flag"
33147                          || test ! -s conftest.err'
33148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33149   (eval $ac_try) 2>&5
33150   ac_status=$?
33151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33152   (exit $ac_status); }; } &&
33153          { ac_try='test -s conftest$ac_exeext'
33154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33155   (eval $ac_try) 2>&5
33156   ac_status=$?
33157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33158   (exit $ac_status); }; }; then
33159   eval "$as_ac_var=yes"
33160 else
33161   echo "$as_me: failed program was:" >&5
33162 sed 's/^/| /' conftest.$ac_ext >&5
33163
33164 eval "$as_ac_var=no"
33165 fi
33166 rm -f conftest.err conftest.$ac_objext \
33167       conftest$ac_exeext conftest.$ac_ext
33168 fi
33169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33171 if test `eval echo '${'$as_ac_var'}'` = yes; then
33172   cat >>confdefs.h <<_ACEOF
33173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33174 _ACEOF
33175
33176 fi
33177 done
33178
33179   else
33180
33181   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
33182 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
33183   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33184     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
33185   echo $ECHO_N "(cached) $ECHO_C" >&6
33186 else
33187
33188
33189
33190       ac_ext=cc
33191 ac_cpp='$CXXCPP $CPPFLAGS'
33192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33195
33196       cat >conftest.$ac_ext <<_ACEOF
33197 /* confdefs.h.  */
33198 _ACEOF
33199 cat confdefs.h >>conftest.$ac_ext
33200 cat >>conftest.$ac_ext <<_ACEOF
33201 /* end confdefs.h.  */
33202 #include <math.h>
33203                       #ifdef HAVE_IEEEFP_H
33204                       #include <ieeefp.h>
33205                       #endif
33206
33207 int
33208 main ()
33209 {
33210  _fpclass(0);
33211   ;
33212   return 0;
33213 }
33214 _ACEOF
33215 rm -f conftest.$ac_objext
33216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33217   (eval $ac_compile) 2>conftest.er1
33218   ac_status=$?
33219   grep -v '^ *+' conftest.er1 >conftest.err
33220   rm -f conftest.er1
33221   cat conftest.err >&5
33222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33223   (exit $ac_status); } &&
33224          { ac_try='test -z "$ac_cxx_werror_flag"
33225                          || test ! -s conftest.err'
33226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33227   (eval $ac_try) 2>&5
33228   ac_status=$?
33229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33230   (exit $ac_status); }; } &&
33231          { ac_try='test -s conftest.$ac_objext'
33232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33233   (eval $ac_try) 2>&5
33234   ac_status=$?
33235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33236   (exit $ac_status); }; }; then
33237   glibcxx_cv_func__fpclass_use=yes
33238 else
33239   echo "$as_me: failed program was:" >&5
33240 sed 's/^/| /' conftest.$ac_ext >&5
33241
33242 glibcxx_cv_func__fpclass_use=no
33243 fi
33244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33245       ac_ext=c
33246 ac_cpp='$CPP $CPPFLAGS'
33247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33250
33251
33252 fi
33253
33254   fi
33255   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
33256 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
33257
33258     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33259
33260 for ac_func in _fpclass
33261 do
33262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33263 echo "$as_me:$LINENO: checking for $ac_func" >&5
33264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33265 if eval "test \"\${$as_ac_var+set}\" = set"; then
33266   echo $ECHO_N "(cached) $ECHO_C" >&6
33267 else
33268   if test x$gcc_no_link = xyes; then
33269   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33271    { (exit 1); exit 1; }; }
33272 fi
33273 cat >conftest.$ac_ext <<_ACEOF
33274 /* confdefs.h.  */
33275 _ACEOF
33276 cat confdefs.h >>conftest.$ac_ext
33277 cat >>conftest.$ac_ext <<_ACEOF
33278 /* end confdefs.h.  */
33279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33280    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33281 #define $ac_func innocuous_$ac_func
33282
33283 /* System header to define __stub macros and hopefully few prototypes,
33284     which can conflict with char $ac_func (); below.
33285     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33286     <limits.h> exists even on freestanding compilers.  */
33287
33288 #ifdef __STDC__
33289 # include <limits.h>
33290 #else
33291 # include <assert.h>
33292 #endif
33293
33294 #undef $ac_func
33295
33296 /* Override any gcc2 internal prototype to avoid an error.  */
33297 #ifdef __cplusplus
33298 extern "C"
33299 {
33300 #endif
33301 /* We use char because int might match the return type of a gcc2
33302    builtin and then its argument prototype would still apply.  */
33303 char $ac_func ();
33304 /* The GNU C library defines this for functions which it implements
33305     to always fail with ENOSYS.  Some functions are actually named
33306     something starting with __ and the normal name is an alias.  */
33307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33308 choke me
33309 #else
33310 char (*f) () = $ac_func;
33311 #endif
33312 #ifdef __cplusplus
33313 }
33314 #endif
33315
33316 int
33317 main ()
33318 {
33319 return f != $ac_func;
33320   ;
33321   return 0;
33322 }
33323 _ACEOF
33324 rm -f conftest.$ac_objext conftest$ac_exeext
33325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33326   (eval $ac_link) 2>conftest.er1
33327   ac_status=$?
33328   grep -v '^ *+' conftest.er1 >conftest.err
33329   rm -f conftest.er1
33330   cat conftest.err >&5
33331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33332   (exit $ac_status); } &&
33333          { ac_try='test -z "$ac_c_werror_flag"
33334                          || test ! -s conftest.err'
33335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33336   (eval $ac_try) 2>&5
33337   ac_status=$?
33338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33339   (exit $ac_status); }; } &&
33340          { ac_try='test -s conftest$ac_exeext'
33341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33342   (eval $ac_try) 2>&5
33343   ac_status=$?
33344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33345   (exit $ac_status); }; }; then
33346   eval "$as_ac_var=yes"
33347 else
33348   echo "$as_me: failed program was:" >&5
33349 sed 's/^/| /' conftest.$ac_ext >&5
33350
33351 eval "$as_ac_var=no"
33352 fi
33353 rm -f conftest.err conftest.$ac_objext \
33354       conftest$ac_exeext conftest.$ac_ext
33355 fi
33356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33357 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33358 if test `eval echo '${'$as_ac_var'}'` = yes; then
33359   cat >>confdefs.h <<_ACEOF
33360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33361 _ACEOF
33362
33363 fi
33364 done
33365
33366     fi
33367   fi
33368
33369
33370
33371
33372
33373
33374   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
33375 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
33376   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33377     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
33378   echo $ECHO_N "(cached) $ECHO_C" >&6
33379 else
33380
33381
33382
33383       ac_ext=cc
33384 ac_cpp='$CXXCPP $CPPFLAGS'
33385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33388
33389       cat >conftest.$ac_ext <<_ACEOF
33390 /* confdefs.h.  */
33391 _ACEOF
33392 cat confdefs.h >>conftest.$ac_ext
33393 cat >>conftest.$ac_ext <<_ACEOF
33394 /* end confdefs.h.  */
33395 #include <math.h>
33396                       #ifdef HAVE_IEEEFP_H
33397                       #include <ieeefp.h>
33398                       #endif
33399
33400 int
33401 main ()
33402 {
33403  qfpclass(0);
33404   ;
33405   return 0;
33406 }
33407 _ACEOF
33408 rm -f conftest.$ac_objext
33409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33410   (eval $ac_compile) 2>conftest.er1
33411   ac_status=$?
33412   grep -v '^ *+' conftest.er1 >conftest.err
33413   rm -f conftest.er1
33414   cat conftest.err >&5
33415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33416   (exit $ac_status); } &&
33417          { ac_try='test -z "$ac_cxx_werror_flag"
33418                          || test ! -s conftest.err'
33419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33420   (eval $ac_try) 2>&5
33421   ac_status=$?
33422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33423   (exit $ac_status); }; } &&
33424          { ac_try='test -s conftest.$ac_objext'
33425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33426   (eval $ac_try) 2>&5
33427   ac_status=$?
33428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33429   (exit $ac_status); }; }; then
33430   glibcxx_cv_func_qfpclass_use=yes
33431 else
33432   echo "$as_me: failed program was:" >&5
33433 sed 's/^/| /' conftest.$ac_ext >&5
33434
33435 glibcxx_cv_func_qfpclass_use=no
33436 fi
33437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33438       ac_ext=c
33439 ac_cpp='$CPP $CPPFLAGS'
33440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33443
33444
33445 fi
33446
33447   fi
33448   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
33449 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
33450
33451   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33452
33453 for ac_func in qfpclass
33454 do
33455 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33456 echo "$as_me:$LINENO: checking for $ac_func" >&5
33457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33458 if eval "test \"\${$as_ac_var+set}\" = set"; then
33459   echo $ECHO_N "(cached) $ECHO_C" >&6
33460 else
33461   if test x$gcc_no_link = xyes; then
33462   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33464    { (exit 1); exit 1; }; }
33465 fi
33466 cat >conftest.$ac_ext <<_ACEOF
33467 /* confdefs.h.  */
33468 _ACEOF
33469 cat confdefs.h >>conftest.$ac_ext
33470 cat >>conftest.$ac_ext <<_ACEOF
33471 /* end confdefs.h.  */
33472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33473    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33474 #define $ac_func innocuous_$ac_func
33475
33476 /* System header to define __stub macros and hopefully few prototypes,
33477     which can conflict with char $ac_func (); below.
33478     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33479     <limits.h> exists even on freestanding compilers.  */
33480
33481 #ifdef __STDC__
33482 # include <limits.h>
33483 #else
33484 # include <assert.h>
33485 #endif
33486
33487 #undef $ac_func
33488
33489 /* Override any gcc2 internal prototype to avoid an error.  */
33490 #ifdef __cplusplus
33491 extern "C"
33492 {
33493 #endif
33494 /* We use char because int might match the return type of a gcc2
33495    builtin and then its argument prototype would still apply.  */
33496 char $ac_func ();
33497 /* The GNU C library defines this for functions which it implements
33498     to always fail with ENOSYS.  Some functions are actually named
33499     something starting with __ and the normal name is an alias.  */
33500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33501 choke me
33502 #else
33503 char (*f) () = $ac_func;
33504 #endif
33505 #ifdef __cplusplus
33506 }
33507 #endif
33508
33509 int
33510 main ()
33511 {
33512 return f != $ac_func;
33513   ;
33514   return 0;
33515 }
33516 _ACEOF
33517 rm -f conftest.$ac_objext conftest$ac_exeext
33518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33519   (eval $ac_link) 2>conftest.er1
33520   ac_status=$?
33521   grep -v '^ *+' conftest.er1 >conftest.err
33522   rm -f conftest.er1
33523   cat conftest.err >&5
33524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33525   (exit $ac_status); } &&
33526          { ac_try='test -z "$ac_c_werror_flag"
33527                          || test ! -s conftest.err'
33528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33529   (eval $ac_try) 2>&5
33530   ac_status=$?
33531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33532   (exit $ac_status); }; } &&
33533          { ac_try='test -s conftest$ac_exeext'
33534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33535   (eval $ac_try) 2>&5
33536   ac_status=$?
33537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33538   (exit $ac_status); }; }; then
33539   eval "$as_ac_var=yes"
33540 else
33541   echo "$as_me: failed program was:" >&5
33542 sed 's/^/| /' conftest.$ac_ext >&5
33543
33544 eval "$as_ac_var=no"
33545 fi
33546 rm -f conftest.err conftest.$ac_objext \
33547       conftest$ac_exeext conftest.$ac_ext
33548 fi
33549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33550 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33551 if test `eval echo '${'$as_ac_var'}'` = yes; then
33552   cat >>confdefs.h <<_ACEOF
33553 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33554 _ACEOF
33555
33556 fi
33557 done
33558
33559   else
33560
33561   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
33562 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
33563   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33564     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
33565   echo $ECHO_N "(cached) $ECHO_C" >&6
33566 else
33567
33568
33569
33570       ac_ext=cc
33571 ac_cpp='$CXXCPP $CPPFLAGS'
33572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33575
33576       cat >conftest.$ac_ext <<_ACEOF
33577 /* confdefs.h.  */
33578 _ACEOF
33579 cat confdefs.h >>conftest.$ac_ext
33580 cat >>conftest.$ac_ext <<_ACEOF
33581 /* end confdefs.h.  */
33582 #include <math.h>
33583                       #ifdef HAVE_IEEEFP_H
33584                       #include <ieeefp.h>
33585                       #endif
33586
33587 int
33588 main ()
33589 {
33590  _qfpclass(0);
33591   ;
33592   return 0;
33593 }
33594 _ACEOF
33595 rm -f conftest.$ac_objext
33596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33597   (eval $ac_compile) 2>conftest.er1
33598   ac_status=$?
33599   grep -v '^ *+' conftest.er1 >conftest.err
33600   rm -f conftest.er1
33601   cat conftest.err >&5
33602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33603   (exit $ac_status); } &&
33604          { ac_try='test -z "$ac_cxx_werror_flag"
33605                          || test ! -s conftest.err'
33606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33607   (eval $ac_try) 2>&5
33608   ac_status=$?
33609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33610   (exit $ac_status); }; } &&
33611          { ac_try='test -s conftest.$ac_objext'
33612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33613   (eval $ac_try) 2>&5
33614   ac_status=$?
33615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33616   (exit $ac_status); }; }; then
33617   glibcxx_cv_func__qfpclass_use=yes
33618 else
33619   echo "$as_me: failed program was:" >&5
33620 sed 's/^/| /' conftest.$ac_ext >&5
33621
33622 glibcxx_cv_func__qfpclass_use=no
33623 fi
33624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33625       ac_ext=c
33626 ac_cpp='$CPP $CPPFLAGS'
33627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33630
33631
33632 fi
33633
33634   fi
33635   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
33636 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
33637
33638     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33639
33640 for ac_func in _qfpclass
33641 do
33642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33643 echo "$as_me:$LINENO: checking for $ac_func" >&5
33644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33645 if eval "test \"\${$as_ac_var+set}\" = set"; then
33646   echo $ECHO_N "(cached) $ECHO_C" >&6
33647 else
33648   if test x$gcc_no_link = xyes; then
33649   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33651    { (exit 1); exit 1; }; }
33652 fi
33653 cat >conftest.$ac_ext <<_ACEOF
33654 /* confdefs.h.  */
33655 _ACEOF
33656 cat confdefs.h >>conftest.$ac_ext
33657 cat >>conftest.$ac_ext <<_ACEOF
33658 /* end confdefs.h.  */
33659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33660    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33661 #define $ac_func innocuous_$ac_func
33662
33663 /* System header to define __stub macros and hopefully few prototypes,
33664     which can conflict with char $ac_func (); below.
33665     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33666     <limits.h> exists even on freestanding compilers.  */
33667
33668 #ifdef __STDC__
33669 # include <limits.h>
33670 #else
33671 # include <assert.h>
33672 #endif
33673
33674 #undef $ac_func
33675
33676 /* Override any gcc2 internal prototype to avoid an error.  */
33677 #ifdef __cplusplus
33678 extern "C"
33679 {
33680 #endif
33681 /* We use char because int might match the return type of a gcc2
33682    builtin and then its argument prototype would still apply.  */
33683 char $ac_func ();
33684 /* The GNU C library defines this for functions which it implements
33685     to always fail with ENOSYS.  Some functions are actually named
33686     something starting with __ and the normal name is an alias.  */
33687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33688 choke me
33689 #else
33690 char (*f) () = $ac_func;
33691 #endif
33692 #ifdef __cplusplus
33693 }
33694 #endif
33695
33696 int
33697 main ()
33698 {
33699 return f != $ac_func;
33700   ;
33701   return 0;
33702 }
33703 _ACEOF
33704 rm -f conftest.$ac_objext conftest$ac_exeext
33705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33706   (eval $ac_link) 2>conftest.er1
33707   ac_status=$?
33708   grep -v '^ *+' conftest.er1 >conftest.err
33709   rm -f conftest.er1
33710   cat conftest.err >&5
33711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33712   (exit $ac_status); } &&
33713          { ac_try='test -z "$ac_c_werror_flag"
33714                          || test ! -s conftest.err'
33715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33716   (eval $ac_try) 2>&5
33717   ac_status=$?
33718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33719   (exit $ac_status); }; } &&
33720          { ac_try='test -s conftest$ac_exeext'
33721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33722   (eval $ac_try) 2>&5
33723   ac_status=$?
33724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33725   (exit $ac_status); }; }; then
33726   eval "$as_ac_var=yes"
33727 else
33728   echo "$as_me: failed program was:" >&5
33729 sed 's/^/| /' conftest.$ac_ext >&5
33730
33731 eval "$as_ac_var=no"
33732 fi
33733 rm -f conftest.err conftest.$ac_objext \
33734       conftest$ac_exeext conftest.$ac_ext
33735 fi
33736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33737 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33738 if test `eval echo '${'$as_ac_var'}'` = yes; then
33739   cat >>confdefs.h <<_ACEOF
33740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33741 _ACEOF
33742
33743 fi
33744 done
33745
33746     fi
33747   fi
33748
33749
33750
33751
33752
33753
33754   echo "$as_me:$LINENO: checking for hypot declaration" >&5
33755 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
33756   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33757     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
33758   echo $ECHO_N "(cached) $ECHO_C" >&6
33759 else
33760
33761
33762
33763       ac_ext=cc
33764 ac_cpp='$CXXCPP $CPPFLAGS'
33765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33768
33769       cat >conftest.$ac_ext <<_ACEOF
33770 /* confdefs.h.  */
33771 _ACEOF
33772 cat confdefs.h >>conftest.$ac_ext
33773 cat >>conftest.$ac_ext <<_ACEOF
33774 /* end confdefs.h.  */
33775 #include <math.h>
33776 int
33777 main ()
33778 {
33779  hypot(0, 0);
33780   ;
33781   return 0;
33782 }
33783 _ACEOF
33784 rm -f conftest.$ac_objext
33785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33786   (eval $ac_compile) 2>conftest.er1
33787   ac_status=$?
33788   grep -v '^ *+' conftest.er1 >conftest.err
33789   rm -f conftest.er1
33790   cat conftest.err >&5
33791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33792   (exit $ac_status); } &&
33793          { ac_try='test -z "$ac_cxx_werror_flag"
33794                          || test ! -s conftest.err'
33795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33796   (eval $ac_try) 2>&5
33797   ac_status=$?
33798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33799   (exit $ac_status); }; } &&
33800          { ac_try='test -s conftest.$ac_objext'
33801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33802   (eval $ac_try) 2>&5
33803   ac_status=$?
33804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33805   (exit $ac_status); }; }; then
33806   glibcxx_cv_func_hypot_use=yes
33807 else
33808   echo "$as_me: failed program was:" >&5
33809 sed 's/^/| /' conftest.$ac_ext >&5
33810
33811 glibcxx_cv_func_hypot_use=no
33812 fi
33813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33814       ac_ext=c
33815 ac_cpp='$CPP $CPPFLAGS'
33816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33819
33820
33821 fi
33822
33823   fi
33824   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
33825 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
33826
33827   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33828
33829 for ac_func in hypot
33830 do
33831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33832 echo "$as_me:$LINENO: checking for $ac_func" >&5
33833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33834 if eval "test \"\${$as_ac_var+set}\" = set"; then
33835   echo $ECHO_N "(cached) $ECHO_C" >&6
33836 else
33837   if test x$gcc_no_link = xyes; then
33838   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33840    { (exit 1); exit 1; }; }
33841 fi
33842 cat >conftest.$ac_ext <<_ACEOF
33843 /* confdefs.h.  */
33844 _ACEOF
33845 cat confdefs.h >>conftest.$ac_ext
33846 cat >>conftest.$ac_ext <<_ACEOF
33847 /* end confdefs.h.  */
33848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33849    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33850 #define $ac_func innocuous_$ac_func
33851
33852 /* System header to define __stub macros and hopefully few prototypes,
33853     which can conflict with char $ac_func (); below.
33854     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33855     <limits.h> exists even on freestanding compilers.  */
33856
33857 #ifdef __STDC__
33858 # include <limits.h>
33859 #else
33860 # include <assert.h>
33861 #endif
33862
33863 #undef $ac_func
33864
33865 /* Override any gcc2 internal prototype to avoid an error.  */
33866 #ifdef __cplusplus
33867 extern "C"
33868 {
33869 #endif
33870 /* We use char because int might match the return type of a gcc2
33871    builtin and then its argument prototype would still apply.  */
33872 char $ac_func ();
33873 /* The GNU C library defines this for functions which it implements
33874     to always fail with ENOSYS.  Some functions are actually named
33875     something starting with __ and the normal name is an alias.  */
33876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33877 choke me
33878 #else
33879 char (*f) () = $ac_func;
33880 #endif
33881 #ifdef __cplusplus
33882 }
33883 #endif
33884
33885 int
33886 main ()
33887 {
33888 return f != $ac_func;
33889   ;
33890   return 0;
33891 }
33892 _ACEOF
33893 rm -f conftest.$ac_objext conftest$ac_exeext
33894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33895   (eval $ac_link) 2>conftest.er1
33896   ac_status=$?
33897   grep -v '^ *+' conftest.er1 >conftest.err
33898   rm -f conftest.er1
33899   cat conftest.err >&5
33900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33901   (exit $ac_status); } &&
33902          { ac_try='test -z "$ac_c_werror_flag"
33903                          || test ! -s conftest.err'
33904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33905   (eval $ac_try) 2>&5
33906   ac_status=$?
33907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33908   (exit $ac_status); }; } &&
33909          { ac_try='test -s conftest$ac_exeext'
33910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33911   (eval $ac_try) 2>&5
33912   ac_status=$?
33913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33914   (exit $ac_status); }; }; then
33915   eval "$as_ac_var=yes"
33916 else
33917   echo "$as_me: failed program was:" >&5
33918 sed 's/^/| /' conftest.$ac_ext >&5
33919
33920 eval "$as_ac_var=no"
33921 fi
33922 rm -f conftest.err conftest.$ac_objext \
33923       conftest$ac_exeext conftest.$ac_ext
33924 fi
33925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33927 if test `eval echo '${'$as_ac_var'}'` = yes; then
33928   cat >>confdefs.h <<_ACEOF
33929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33930 _ACEOF
33931
33932 fi
33933 done
33934
33935   else
33936
33937   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
33938 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
33939   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33940     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
33941   echo $ECHO_N "(cached) $ECHO_C" >&6
33942 else
33943
33944
33945
33946       ac_ext=cc
33947 ac_cpp='$CXXCPP $CPPFLAGS'
33948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33951
33952       cat >conftest.$ac_ext <<_ACEOF
33953 /* confdefs.h.  */
33954 _ACEOF
33955 cat confdefs.h >>conftest.$ac_ext
33956 cat >>conftest.$ac_ext <<_ACEOF
33957 /* end confdefs.h.  */
33958 #include <math.h>
33959 int
33960 main ()
33961 {
33962  _hypot(0, 0);
33963   ;
33964   return 0;
33965 }
33966 _ACEOF
33967 rm -f conftest.$ac_objext
33968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33969   (eval $ac_compile) 2>conftest.er1
33970   ac_status=$?
33971   grep -v '^ *+' conftest.er1 >conftest.err
33972   rm -f conftest.er1
33973   cat conftest.err >&5
33974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33975   (exit $ac_status); } &&
33976          { ac_try='test -z "$ac_cxx_werror_flag"
33977                          || test ! -s conftest.err'
33978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33979   (eval $ac_try) 2>&5
33980   ac_status=$?
33981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33982   (exit $ac_status); }; } &&
33983          { ac_try='test -s conftest.$ac_objext'
33984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33985   (eval $ac_try) 2>&5
33986   ac_status=$?
33987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33988   (exit $ac_status); }; }; then
33989   glibcxx_cv_func__hypot_use=yes
33990 else
33991   echo "$as_me: failed program was:" >&5
33992 sed 's/^/| /' conftest.$ac_ext >&5
33993
33994 glibcxx_cv_func__hypot_use=no
33995 fi
33996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33997       ac_ext=c
33998 ac_cpp='$CPP $CPPFLAGS'
33999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34002
34003
34004 fi
34005
34006   fi
34007   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
34008 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
34009
34010     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34011
34012 for ac_func in _hypot
34013 do
34014 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34015 echo "$as_me:$LINENO: checking for $ac_func" >&5
34016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34017 if eval "test \"\${$as_ac_var+set}\" = set"; then
34018   echo $ECHO_N "(cached) $ECHO_C" >&6
34019 else
34020   if test x$gcc_no_link = xyes; then
34021   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34023    { (exit 1); exit 1; }; }
34024 fi
34025 cat >conftest.$ac_ext <<_ACEOF
34026 /* confdefs.h.  */
34027 _ACEOF
34028 cat confdefs.h >>conftest.$ac_ext
34029 cat >>conftest.$ac_ext <<_ACEOF
34030 /* end confdefs.h.  */
34031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34032    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34033 #define $ac_func innocuous_$ac_func
34034
34035 /* System header to define __stub macros and hopefully few prototypes,
34036     which can conflict with char $ac_func (); below.
34037     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34038     <limits.h> exists even on freestanding compilers.  */
34039
34040 #ifdef __STDC__
34041 # include <limits.h>
34042 #else
34043 # include <assert.h>
34044 #endif
34045
34046 #undef $ac_func
34047
34048 /* Override any gcc2 internal prototype to avoid an error.  */
34049 #ifdef __cplusplus
34050 extern "C"
34051 {
34052 #endif
34053 /* We use char because int might match the return type of a gcc2
34054    builtin and then its argument prototype would still apply.  */
34055 char $ac_func ();
34056 /* The GNU C library defines this for functions which it implements
34057     to always fail with ENOSYS.  Some functions are actually named
34058     something starting with __ and the normal name is an alias.  */
34059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34060 choke me
34061 #else
34062 char (*f) () = $ac_func;
34063 #endif
34064 #ifdef __cplusplus
34065 }
34066 #endif
34067
34068 int
34069 main ()
34070 {
34071 return f != $ac_func;
34072   ;
34073   return 0;
34074 }
34075 _ACEOF
34076 rm -f conftest.$ac_objext conftest$ac_exeext
34077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34078   (eval $ac_link) 2>conftest.er1
34079   ac_status=$?
34080   grep -v '^ *+' conftest.er1 >conftest.err
34081   rm -f conftest.er1
34082   cat conftest.err >&5
34083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34084   (exit $ac_status); } &&
34085          { ac_try='test -z "$ac_c_werror_flag"
34086                          || test ! -s conftest.err'
34087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34088   (eval $ac_try) 2>&5
34089   ac_status=$?
34090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34091   (exit $ac_status); }; } &&
34092          { ac_try='test -s conftest$ac_exeext'
34093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34094   (eval $ac_try) 2>&5
34095   ac_status=$?
34096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34097   (exit $ac_status); }; }; then
34098   eval "$as_ac_var=yes"
34099 else
34100   echo "$as_me: failed program was:" >&5
34101 sed 's/^/| /' conftest.$ac_ext >&5
34102
34103 eval "$as_ac_var=no"
34104 fi
34105 rm -f conftest.err conftest.$ac_objext \
34106       conftest$ac_exeext conftest.$ac_ext
34107 fi
34108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34109 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34110 if test `eval echo '${'$as_ac_var'}'` = yes; then
34111   cat >>confdefs.h <<_ACEOF
34112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34113 _ACEOF
34114
34115 fi
34116 done
34117
34118     fi
34119   fi
34120
34121
34122
34123
34124
34125
34126     echo "$as_me:$LINENO: checking for float trig functions" >&5
34127 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
34128   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
34129   echo $ECHO_N "(cached) $ECHO_C" >&6
34130 else
34131
34132
34133
34134     ac_ext=cc
34135 ac_cpp='$CXXCPP $CPPFLAGS'
34136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34139
34140     cat >conftest.$ac_ext <<_ACEOF
34141 /* confdefs.h.  */
34142 _ACEOF
34143 cat confdefs.h >>conftest.$ac_ext
34144 cat >>conftest.$ac_ext <<_ACEOF
34145 /* end confdefs.h.  */
34146 #include <math.h>
34147 int
34148 main ()
34149 {
34150 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34151   ;
34152   return 0;
34153 }
34154 _ACEOF
34155 rm -f conftest.$ac_objext
34156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34157   (eval $ac_compile) 2>conftest.er1
34158   ac_status=$?
34159   grep -v '^ *+' conftest.er1 >conftest.err
34160   rm -f conftest.er1
34161   cat conftest.err >&5
34162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34163   (exit $ac_status); } &&
34164          { ac_try='test -z "$ac_cxx_werror_flag"
34165                          || test ! -s conftest.err'
34166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34167   (eval $ac_try) 2>&5
34168   ac_status=$?
34169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34170   (exit $ac_status); }; } &&
34171          { ac_try='test -s conftest.$ac_objext'
34172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34173   (eval $ac_try) 2>&5
34174   ac_status=$?
34175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34176   (exit $ac_status); }; }; then
34177   glibcxx_cv_func_float_trig_use=yes
34178 else
34179   echo "$as_me: failed program was:" >&5
34180 sed 's/^/| /' conftest.$ac_ext >&5
34181
34182 glibcxx_cv_func_float_trig_use=no
34183 fi
34184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34185     ac_ext=c
34186 ac_cpp='$CPP $CPPFLAGS'
34187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34190
34191 fi
34192
34193   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
34194 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
34195   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34196
34197
34198
34199
34200
34201
34202
34203
34204
34205 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34206 do
34207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34208 echo "$as_me:$LINENO: checking for $ac_func" >&5
34209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34210 if eval "test \"\${$as_ac_var+set}\" = set"; then
34211   echo $ECHO_N "(cached) $ECHO_C" >&6
34212 else
34213   if test x$gcc_no_link = xyes; then
34214   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34216    { (exit 1); exit 1; }; }
34217 fi
34218 cat >conftest.$ac_ext <<_ACEOF
34219 /* confdefs.h.  */
34220 _ACEOF
34221 cat confdefs.h >>conftest.$ac_ext
34222 cat >>conftest.$ac_ext <<_ACEOF
34223 /* end confdefs.h.  */
34224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34225    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34226 #define $ac_func innocuous_$ac_func
34227
34228 /* System header to define __stub macros and hopefully few prototypes,
34229     which can conflict with char $ac_func (); below.
34230     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34231     <limits.h> exists even on freestanding compilers.  */
34232
34233 #ifdef __STDC__
34234 # include <limits.h>
34235 #else
34236 # include <assert.h>
34237 #endif
34238
34239 #undef $ac_func
34240
34241 /* Override any gcc2 internal prototype to avoid an error.  */
34242 #ifdef __cplusplus
34243 extern "C"
34244 {
34245 #endif
34246 /* We use char because int might match the return type of a gcc2
34247    builtin and then its argument prototype would still apply.  */
34248 char $ac_func ();
34249 /* The GNU C library defines this for functions which it implements
34250     to always fail with ENOSYS.  Some functions are actually named
34251     something starting with __ and the normal name is an alias.  */
34252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34253 choke me
34254 #else
34255 char (*f) () = $ac_func;
34256 #endif
34257 #ifdef __cplusplus
34258 }
34259 #endif
34260
34261 int
34262 main ()
34263 {
34264 return f != $ac_func;
34265   ;
34266   return 0;
34267 }
34268 _ACEOF
34269 rm -f conftest.$ac_objext conftest$ac_exeext
34270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34271   (eval $ac_link) 2>conftest.er1
34272   ac_status=$?
34273   grep -v '^ *+' conftest.er1 >conftest.err
34274   rm -f conftest.er1
34275   cat conftest.err >&5
34276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34277   (exit $ac_status); } &&
34278          { ac_try='test -z "$ac_c_werror_flag"
34279                          || test ! -s conftest.err'
34280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34281   (eval $ac_try) 2>&5
34282   ac_status=$?
34283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34284   (exit $ac_status); }; } &&
34285          { ac_try='test -s conftest$ac_exeext'
34286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34287   (eval $ac_try) 2>&5
34288   ac_status=$?
34289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34290   (exit $ac_status); }; }; then
34291   eval "$as_ac_var=yes"
34292 else
34293   echo "$as_me: failed program was:" >&5
34294 sed 's/^/| /' conftest.$ac_ext >&5
34295
34296 eval "$as_ac_var=no"
34297 fi
34298 rm -f conftest.err conftest.$ac_objext \
34299       conftest$ac_exeext conftest.$ac_ext
34300 fi
34301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34303 if test `eval echo '${'$as_ac_var'}'` = yes; then
34304   cat >>confdefs.h <<_ACEOF
34305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34306 _ACEOF
34307
34308 fi
34309 done
34310
34311   else
34312     echo "$as_me:$LINENO: checking for _float trig functions" >&5
34313 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
34314     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
34315   echo $ECHO_N "(cached) $ECHO_C" >&6
34316 else
34317
34318
34319
34320       ac_ext=cc
34321 ac_cpp='$CXXCPP $CPPFLAGS'
34322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34325
34326       cat >conftest.$ac_ext <<_ACEOF
34327 /* confdefs.h.  */
34328 _ACEOF
34329 cat confdefs.h >>conftest.$ac_ext
34330 cat >>conftest.$ac_ext <<_ACEOF
34331 /* end confdefs.h.  */
34332 #include <math.h>
34333 int
34334 main ()
34335 {
34336 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34337   ;
34338   return 0;
34339 }
34340 _ACEOF
34341 rm -f conftest.$ac_objext
34342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34343   (eval $ac_compile) 2>conftest.er1
34344   ac_status=$?
34345   grep -v '^ *+' conftest.er1 >conftest.err
34346   rm -f conftest.er1
34347   cat conftest.err >&5
34348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34349   (exit $ac_status); } &&
34350          { ac_try='test -z "$ac_cxx_werror_flag"
34351                          || test ! -s conftest.err'
34352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34353   (eval $ac_try) 2>&5
34354   ac_status=$?
34355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34356   (exit $ac_status); }; } &&
34357          { ac_try='test -s conftest.$ac_objext'
34358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34359   (eval $ac_try) 2>&5
34360   ac_status=$?
34361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34362   (exit $ac_status); }; }; then
34363   glibcxx_cv_func__float_trig_use=yes
34364 else
34365   echo "$as_me: failed program was:" >&5
34366 sed 's/^/| /' conftest.$ac_ext >&5
34367
34368 glibcxx_cv_func__float_trig_use=no
34369 fi
34370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34371       ac_ext=c
34372 ac_cpp='$CPP $CPPFLAGS'
34373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34376
34377 fi
34378
34379     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
34380 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
34381     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34382
34383
34384
34385
34386
34387
34388
34389
34390
34391 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34392 do
34393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34394 echo "$as_me:$LINENO: checking for $ac_func" >&5
34395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34396 if eval "test \"\${$as_ac_var+set}\" = set"; then
34397   echo $ECHO_N "(cached) $ECHO_C" >&6
34398 else
34399   if test x$gcc_no_link = xyes; then
34400   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34402    { (exit 1); exit 1; }; }
34403 fi
34404 cat >conftest.$ac_ext <<_ACEOF
34405 /* confdefs.h.  */
34406 _ACEOF
34407 cat confdefs.h >>conftest.$ac_ext
34408 cat >>conftest.$ac_ext <<_ACEOF
34409 /* end confdefs.h.  */
34410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34411    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34412 #define $ac_func innocuous_$ac_func
34413
34414 /* System header to define __stub macros and hopefully few prototypes,
34415     which can conflict with char $ac_func (); below.
34416     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34417     <limits.h> exists even on freestanding compilers.  */
34418
34419 #ifdef __STDC__
34420 # include <limits.h>
34421 #else
34422 # include <assert.h>
34423 #endif
34424
34425 #undef $ac_func
34426
34427 /* Override any gcc2 internal prototype to avoid an error.  */
34428 #ifdef __cplusplus
34429 extern "C"
34430 {
34431 #endif
34432 /* We use char because int might match the return type of a gcc2
34433    builtin and then its argument prototype would still apply.  */
34434 char $ac_func ();
34435 /* The GNU C library defines this for functions which it implements
34436     to always fail with ENOSYS.  Some functions are actually named
34437     something starting with __ and the normal name is an alias.  */
34438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34439 choke me
34440 #else
34441 char (*f) () = $ac_func;
34442 #endif
34443 #ifdef __cplusplus
34444 }
34445 #endif
34446
34447 int
34448 main ()
34449 {
34450 return f != $ac_func;
34451   ;
34452   return 0;
34453 }
34454 _ACEOF
34455 rm -f conftest.$ac_objext conftest$ac_exeext
34456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34457   (eval $ac_link) 2>conftest.er1
34458   ac_status=$?
34459   grep -v '^ *+' conftest.er1 >conftest.err
34460   rm -f conftest.er1
34461   cat conftest.err >&5
34462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34463   (exit $ac_status); } &&
34464          { ac_try='test -z "$ac_c_werror_flag"
34465                          || test ! -s conftest.err'
34466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34467   (eval $ac_try) 2>&5
34468   ac_status=$?
34469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34470   (exit $ac_status); }; } &&
34471          { ac_try='test -s conftest$ac_exeext'
34472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34473   (eval $ac_try) 2>&5
34474   ac_status=$?
34475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34476   (exit $ac_status); }; }; then
34477   eval "$as_ac_var=yes"
34478 else
34479   echo "$as_me: failed program was:" >&5
34480 sed 's/^/| /' conftest.$ac_ext >&5
34481
34482 eval "$as_ac_var=no"
34483 fi
34484 rm -f conftest.err conftest.$ac_objext \
34485       conftest$ac_exeext conftest.$ac_ext
34486 fi
34487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34489 if test `eval echo '${'$as_ac_var'}'` = yes; then
34490   cat >>confdefs.h <<_ACEOF
34491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34492 _ACEOF
34493
34494 fi
34495 done
34496
34497     fi
34498   fi
34499
34500
34501
34502
34503
34504
34505
34506
34507
34508
34509
34510
34511
34512
34513     echo "$as_me:$LINENO: checking for float round functions" >&5
34514 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
34515   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
34516   echo $ECHO_N "(cached) $ECHO_C" >&6
34517 else
34518
34519
34520
34521     ac_ext=cc
34522 ac_cpp='$CXXCPP $CPPFLAGS'
34523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34526
34527     cat >conftest.$ac_ext <<_ACEOF
34528 /* confdefs.h.  */
34529 _ACEOF
34530 cat confdefs.h >>conftest.$ac_ext
34531 cat >>conftest.$ac_ext <<_ACEOF
34532 /* end confdefs.h.  */
34533 #include <math.h>
34534 int
34535 main ()
34536 {
34537 ceilf (0); floorf (0);
34538   ;
34539   return 0;
34540 }
34541 _ACEOF
34542 rm -f conftest.$ac_objext
34543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34544   (eval $ac_compile) 2>conftest.er1
34545   ac_status=$?
34546   grep -v '^ *+' conftest.er1 >conftest.err
34547   rm -f conftest.er1
34548   cat conftest.err >&5
34549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34550   (exit $ac_status); } &&
34551          { ac_try='test -z "$ac_cxx_werror_flag"
34552                          || test ! -s conftest.err'
34553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34554   (eval $ac_try) 2>&5
34555   ac_status=$?
34556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34557   (exit $ac_status); }; } &&
34558          { ac_try='test -s conftest.$ac_objext'
34559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34560   (eval $ac_try) 2>&5
34561   ac_status=$?
34562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34563   (exit $ac_status); }; }; then
34564   glibcxx_cv_func_float_round_use=yes
34565 else
34566   echo "$as_me: failed program was:" >&5
34567 sed 's/^/| /' conftest.$ac_ext >&5
34568
34569 glibcxx_cv_func_float_round_use=no
34570 fi
34571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34572     ac_ext=c
34573 ac_cpp='$CPP $CPPFLAGS'
34574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34577
34578 fi
34579
34580   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
34581 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
34582   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34583
34584
34585 for ac_func in ceilf floorf
34586 do
34587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34588 echo "$as_me:$LINENO: checking for $ac_func" >&5
34589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34590 if eval "test \"\${$as_ac_var+set}\" = set"; then
34591   echo $ECHO_N "(cached) $ECHO_C" >&6
34592 else
34593   if test x$gcc_no_link = xyes; then
34594   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34596    { (exit 1); exit 1; }; }
34597 fi
34598 cat >conftest.$ac_ext <<_ACEOF
34599 /* confdefs.h.  */
34600 _ACEOF
34601 cat confdefs.h >>conftest.$ac_ext
34602 cat >>conftest.$ac_ext <<_ACEOF
34603 /* end confdefs.h.  */
34604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34605    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34606 #define $ac_func innocuous_$ac_func
34607
34608 /* System header to define __stub macros and hopefully few prototypes,
34609     which can conflict with char $ac_func (); below.
34610     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34611     <limits.h> exists even on freestanding compilers.  */
34612
34613 #ifdef __STDC__
34614 # include <limits.h>
34615 #else
34616 # include <assert.h>
34617 #endif
34618
34619 #undef $ac_func
34620
34621 /* Override any gcc2 internal prototype to avoid an error.  */
34622 #ifdef __cplusplus
34623 extern "C"
34624 {
34625 #endif
34626 /* We use char because int might match the return type of a gcc2
34627    builtin and then its argument prototype would still apply.  */
34628 char $ac_func ();
34629 /* The GNU C library defines this for functions which it implements
34630     to always fail with ENOSYS.  Some functions are actually named
34631     something starting with __ and the normal name is an alias.  */
34632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34633 choke me
34634 #else
34635 char (*f) () = $ac_func;
34636 #endif
34637 #ifdef __cplusplus
34638 }
34639 #endif
34640
34641 int
34642 main ()
34643 {
34644 return f != $ac_func;
34645   ;
34646   return 0;
34647 }
34648 _ACEOF
34649 rm -f conftest.$ac_objext conftest$ac_exeext
34650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34651   (eval $ac_link) 2>conftest.er1
34652   ac_status=$?
34653   grep -v '^ *+' conftest.er1 >conftest.err
34654   rm -f conftest.er1
34655   cat conftest.err >&5
34656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34657   (exit $ac_status); } &&
34658          { ac_try='test -z "$ac_c_werror_flag"
34659                          || test ! -s conftest.err'
34660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34661   (eval $ac_try) 2>&5
34662   ac_status=$?
34663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34664   (exit $ac_status); }; } &&
34665          { ac_try='test -s conftest$ac_exeext'
34666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34667   (eval $ac_try) 2>&5
34668   ac_status=$?
34669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34670   (exit $ac_status); }; }; then
34671   eval "$as_ac_var=yes"
34672 else
34673   echo "$as_me: failed program was:" >&5
34674 sed 's/^/| /' conftest.$ac_ext >&5
34675
34676 eval "$as_ac_var=no"
34677 fi
34678 rm -f conftest.err conftest.$ac_objext \
34679       conftest$ac_exeext conftest.$ac_ext
34680 fi
34681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34683 if test `eval echo '${'$as_ac_var'}'` = yes; then
34684   cat >>confdefs.h <<_ACEOF
34685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34686 _ACEOF
34687
34688 fi
34689 done
34690
34691   else
34692     echo "$as_me:$LINENO: checking for _float round functions" >&5
34693 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
34694     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
34695   echo $ECHO_N "(cached) $ECHO_C" >&6
34696 else
34697
34698
34699
34700       ac_ext=cc
34701 ac_cpp='$CXXCPP $CPPFLAGS'
34702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34705
34706       cat >conftest.$ac_ext <<_ACEOF
34707 /* confdefs.h.  */
34708 _ACEOF
34709 cat confdefs.h >>conftest.$ac_ext
34710 cat >>conftest.$ac_ext <<_ACEOF
34711 /* end confdefs.h.  */
34712 #include <math.h>
34713 int
34714 main ()
34715 {
34716 _ceilf (0); _floorf (0);
34717   ;
34718   return 0;
34719 }
34720 _ACEOF
34721 rm -f conftest.$ac_objext
34722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34723   (eval $ac_compile) 2>conftest.er1
34724   ac_status=$?
34725   grep -v '^ *+' conftest.er1 >conftest.err
34726   rm -f conftest.er1
34727   cat conftest.err >&5
34728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34729   (exit $ac_status); } &&
34730          { ac_try='test -z "$ac_cxx_werror_flag"
34731                          || test ! -s conftest.err'
34732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34733   (eval $ac_try) 2>&5
34734   ac_status=$?
34735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34736   (exit $ac_status); }; } &&
34737          { ac_try='test -s conftest.$ac_objext'
34738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34739   (eval $ac_try) 2>&5
34740   ac_status=$?
34741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34742   (exit $ac_status); }; }; then
34743   glibcxx_cv_func__float_round_use=yes
34744 else
34745   echo "$as_me: failed program was:" >&5
34746 sed 's/^/| /' conftest.$ac_ext >&5
34747
34748 glibcxx_cv_func__float_round_use=no
34749 fi
34750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34751       ac_ext=c
34752 ac_cpp='$CPP $CPPFLAGS'
34753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34756
34757 fi
34758
34759     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
34760 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
34761     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34762
34763
34764 for ac_func in _ceilf _floorf
34765 do
34766 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34767 echo "$as_me:$LINENO: checking for $ac_func" >&5
34768 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34769 if eval "test \"\${$as_ac_var+set}\" = set"; then
34770   echo $ECHO_N "(cached) $ECHO_C" >&6
34771 else
34772   if test x$gcc_no_link = xyes; then
34773   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34774 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34775    { (exit 1); exit 1; }; }
34776 fi
34777 cat >conftest.$ac_ext <<_ACEOF
34778 /* confdefs.h.  */
34779 _ACEOF
34780 cat confdefs.h >>conftest.$ac_ext
34781 cat >>conftest.$ac_ext <<_ACEOF
34782 /* end confdefs.h.  */
34783 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34784    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34785 #define $ac_func innocuous_$ac_func
34786
34787 /* System header to define __stub macros and hopefully few prototypes,
34788     which can conflict with char $ac_func (); below.
34789     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34790     <limits.h> exists even on freestanding compilers.  */
34791
34792 #ifdef __STDC__
34793 # include <limits.h>
34794 #else
34795 # include <assert.h>
34796 #endif
34797
34798 #undef $ac_func
34799
34800 /* Override any gcc2 internal prototype to avoid an error.  */
34801 #ifdef __cplusplus
34802 extern "C"
34803 {
34804 #endif
34805 /* We use char because int might match the return type of a gcc2
34806    builtin and then its argument prototype would still apply.  */
34807 char $ac_func ();
34808 /* The GNU C library defines this for functions which it implements
34809     to always fail with ENOSYS.  Some functions are actually named
34810     something starting with __ and the normal name is an alias.  */
34811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34812 choke me
34813 #else
34814 char (*f) () = $ac_func;
34815 #endif
34816 #ifdef __cplusplus
34817 }
34818 #endif
34819
34820 int
34821 main ()
34822 {
34823 return f != $ac_func;
34824   ;
34825   return 0;
34826 }
34827 _ACEOF
34828 rm -f conftest.$ac_objext conftest$ac_exeext
34829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34830   (eval $ac_link) 2>conftest.er1
34831   ac_status=$?
34832   grep -v '^ *+' conftest.er1 >conftest.err
34833   rm -f conftest.er1
34834   cat conftest.err >&5
34835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34836   (exit $ac_status); } &&
34837          { ac_try='test -z "$ac_c_werror_flag"
34838                          || test ! -s conftest.err'
34839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34840   (eval $ac_try) 2>&5
34841   ac_status=$?
34842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34843   (exit $ac_status); }; } &&
34844          { ac_try='test -s conftest$ac_exeext'
34845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34846   (eval $ac_try) 2>&5
34847   ac_status=$?
34848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34849   (exit $ac_status); }; }; then
34850   eval "$as_ac_var=yes"
34851 else
34852   echo "$as_me: failed program was:" >&5
34853 sed 's/^/| /' conftest.$ac_ext >&5
34854
34855 eval "$as_ac_var=no"
34856 fi
34857 rm -f conftest.err conftest.$ac_objext \
34858       conftest$ac_exeext conftest.$ac_ext
34859 fi
34860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34861 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34862 if test `eval echo '${'$as_ac_var'}'` = yes; then
34863   cat >>confdefs.h <<_ACEOF
34864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34865 _ACEOF
34866
34867 fi
34868 done
34869
34870     fi
34871   fi
34872
34873
34874
34875
34876
34877
34878
34879
34880   echo "$as_me:$LINENO: checking for expf declaration" >&5
34881 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
34882   if test x${glibcxx_cv_func_expf_use+set} != xset; then
34883     if test "${glibcxx_cv_func_expf_use+set}" = set; then
34884   echo $ECHO_N "(cached) $ECHO_C" >&6
34885 else
34886
34887
34888
34889       ac_ext=cc
34890 ac_cpp='$CXXCPP $CPPFLAGS'
34891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34894
34895       cat >conftest.$ac_ext <<_ACEOF
34896 /* confdefs.h.  */
34897 _ACEOF
34898 cat confdefs.h >>conftest.$ac_ext
34899 cat >>conftest.$ac_ext <<_ACEOF
34900 /* end confdefs.h.  */
34901 #include <math.h>
34902                       #ifdef HAVE_IEEEFP_H
34903                       #include <ieeefp.h>
34904                       #endif
34905
34906 int
34907 main ()
34908 {
34909  expf(0);
34910   ;
34911   return 0;
34912 }
34913 _ACEOF
34914 rm -f conftest.$ac_objext
34915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34916   (eval $ac_compile) 2>conftest.er1
34917   ac_status=$?
34918   grep -v '^ *+' conftest.er1 >conftest.err
34919   rm -f conftest.er1
34920   cat conftest.err >&5
34921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34922   (exit $ac_status); } &&
34923          { ac_try='test -z "$ac_cxx_werror_flag"
34924                          || test ! -s conftest.err'
34925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34926   (eval $ac_try) 2>&5
34927   ac_status=$?
34928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34929   (exit $ac_status); }; } &&
34930          { ac_try='test -s conftest.$ac_objext'
34931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34932   (eval $ac_try) 2>&5
34933   ac_status=$?
34934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34935   (exit $ac_status); }; }; then
34936   glibcxx_cv_func_expf_use=yes
34937 else
34938   echo "$as_me: failed program was:" >&5
34939 sed 's/^/| /' conftest.$ac_ext >&5
34940
34941 glibcxx_cv_func_expf_use=no
34942 fi
34943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34944       ac_ext=c
34945 ac_cpp='$CPP $CPPFLAGS'
34946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34949
34950
34951 fi
34952
34953   fi
34954   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
34955 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
34956
34957   if test x$glibcxx_cv_func_expf_use = x"yes"; then
34958
34959 for ac_func in expf
34960 do
34961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34962 echo "$as_me:$LINENO: checking for $ac_func" >&5
34963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34964 if eval "test \"\${$as_ac_var+set}\" = set"; then
34965   echo $ECHO_N "(cached) $ECHO_C" >&6
34966 else
34967   if test x$gcc_no_link = xyes; then
34968   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34970    { (exit 1); exit 1; }; }
34971 fi
34972 cat >conftest.$ac_ext <<_ACEOF
34973 /* confdefs.h.  */
34974 _ACEOF
34975 cat confdefs.h >>conftest.$ac_ext
34976 cat >>conftest.$ac_ext <<_ACEOF
34977 /* end confdefs.h.  */
34978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34979    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34980 #define $ac_func innocuous_$ac_func
34981
34982 /* System header to define __stub macros and hopefully few prototypes,
34983     which can conflict with char $ac_func (); below.
34984     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34985     <limits.h> exists even on freestanding compilers.  */
34986
34987 #ifdef __STDC__
34988 # include <limits.h>
34989 #else
34990 # include <assert.h>
34991 #endif
34992
34993 #undef $ac_func
34994
34995 /* Override any gcc2 internal prototype to avoid an error.  */
34996 #ifdef __cplusplus
34997 extern "C"
34998 {
34999 #endif
35000 /* We use char because int might match the return type of a gcc2
35001    builtin and then its argument prototype would still apply.  */
35002 char $ac_func ();
35003 /* The GNU C library defines this for functions which it implements
35004     to always fail with ENOSYS.  Some functions are actually named
35005     something starting with __ and the normal name is an alias.  */
35006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35007 choke me
35008 #else
35009 char (*f) () = $ac_func;
35010 #endif
35011 #ifdef __cplusplus
35012 }
35013 #endif
35014
35015 int
35016 main ()
35017 {
35018 return f != $ac_func;
35019   ;
35020   return 0;
35021 }
35022 _ACEOF
35023 rm -f conftest.$ac_objext conftest$ac_exeext
35024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35025   (eval $ac_link) 2>conftest.er1
35026   ac_status=$?
35027   grep -v '^ *+' conftest.er1 >conftest.err
35028   rm -f conftest.er1
35029   cat conftest.err >&5
35030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35031   (exit $ac_status); } &&
35032          { ac_try='test -z "$ac_c_werror_flag"
35033                          || test ! -s conftest.err'
35034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35035   (eval $ac_try) 2>&5
35036   ac_status=$?
35037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35038   (exit $ac_status); }; } &&
35039          { ac_try='test -s conftest$ac_exeext'
35040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35041   (eval $ac_try) 2>&5
35042   ac_status=$?
35043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35044   (exit $ac_status); }; }; then
35045   eval "$as_ac_var=yes"
35046 else
35047   echo "$as_me: failed program was:" >&5
35048 sed 's/^/| /' conftest.$ac_ext >&5
35049
35050 eval "$as_ac_var=no"
35051 fi
35052 rm -f conftest.err conftest.$ac_objext \
35053       conftest$ac_exeext conftest.$ac_ext
35054 fi
35055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35057 if test `eval echo '${'$as_ac_var'}'` = yes; then
35058   cat >>confdefs.h <<_ACEOF
35059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35060 _ACEOF
35061
35062 fi
35063 done
35064
35065   else
35066
35067   echo "$as_me:$LINENO: checking for _expf declaration" >&5
35068 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
35069   if test x${glibcxx_cv_func__expf_use+set} != xset; then
35070     if test "${glibcxx_cv_func__expf_use+set}" = set; then
35071   echo $ECHO_N "(cached) $ECHO_C" >&6
35072 else
35073
35074
35075
35076       ac_ext=cc
35077 ac_cpp='$CXXCPP $CPPFLAGS'
35078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35081
35082       cat >conftest.$ac_ext <<_ACEOF
35083 /* confdefs.h.  */
35084 _ACEOF
35085 cat confdefs.h >>conftest.$ac_ext
35086 cat >>conftest.$ac_ext <<_ACEOF
35087 /* end confdefs.h.  */
35088 #include <math.h>
35089                       #ifdef HAVE_IEEEFP_H
35090                       #include <ieeefp.h>
35091                       #endif
35092
35093 int
35094 main ()
35095 {
35096  _expf(0);
35097   ;
35098   return 0;
35099 }
35100 _ACEOF
35101 rm -f conftest.$ac_objext
35102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35103   (eval $ac_compile) 2>conftest.er1
35104   ac_status=$?
35105   grep -v '^ *+' conftest.er1 >conftest.err
35106   rm -f conftest.er1
35107   cat conftest.err >&5
35108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35109   (exit $ac_status); } &&
35110          { ac_try='test -z "$ac_cxx_werror_flag"
35111                          || test ! -s conftest.err'
35112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35113   (eval $ac_try) 2>&5
35114   ac_status=$?
35115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35116   (exit $ac_status); }; } &&
35117          { ac_try='test -s conftest.$ac_objext'
35118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35119   (eval $ac_try) 2>&5
35120   ac_status=$?
35121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35122   (exit $ac_status); }; }; then
35123   glibcxx_cv_func__expf_use=yes
35124 else
35125   echo "$as_me: failed program was:" >&5
35126 sed 's/^/| /' conftest.$ac_ext >&5
35127
35128 glibcxx_cv_func__expf_use=no
35129 fi
35130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35131       ac_ext=c
35132 ac_cpp='$CPP $CPPFLAGS'
35133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35136
35137
35138 fi
35139
35140   fi
35141   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
35142 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
35143
35144     if test x$glibcxx_cv_func__expf_use = x"yes"; then
35145
35146 for ac_func in _expf
35147 do
35148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35149 echo "$as_me:$LINENO: checking for $ac_func" >&5
35150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35151 if eval "test \"\${$as_ac_var+set}\" = set"; then
35152   echo $ECHO_N "(cached) $ECHO_C" >&6
35153 else
35154   if test x$gcc_no_link = xyes; then
35155   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35157    { (exit 1); exit 1; }; }
35158 fi
35159 cat >conftest.$ac_ext <<_ACEOF
35160 /* confdefs.h.  */
35161 _ACEOF
35162 cat confdefs.h >>conftest.$ac_ext
35163 cat >>conftest.$ac_ext <<_ACEOF
35164 /* end confdefs.h.  */
35165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35166    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35167 #define $ac_func innocuous_$ac_func
35168
35169 /* System header to define __stub macros and hopefully few prototypes,
35170     which can conflict with char $ac_func (); below.
35171     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35172     <limits.h> exists even on freestanding compilers.  */
35173
35174 #ifdef __STDC__
35175 # include <limits.h>
35176 #else
35177 # include <assert.h>
35178 #endif
35179
35180 #undef $ac_func
35181
35182 /* Override any gcc2 internal prototype to avoid an error.  */
35183 #ifdef __cplusplus
35184 extern "C"
35185 {
35186 #endif
35187 /* We use char because int might match the return type of a gcc2
35188    builtin and then its argument prototype would still apply.  */
35189 char $ac_func ();
35190 /* The GNU C library defines this for functions which it implements
35191     to always fail with ENOSYS.  Some functions are actually named
35192     something starting with __ and the normal name is an alias.  */
35193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35194 choke me
35195 #else
35196 char (*f) () = $ac_func;
35197 #endif
35198 #ifdef __cplusplus
35199 }
35200 #endif
35201
35202 int
35203 main ()
35204 {
35205 return f != $ac_func;
35206   ;
35207   return 0;
35208 }
35209 _ACEOF
35210 rm -f conftest.$ac_objext conftest$ac_exeext
35211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35212   (eval $ac_link) 2>conftest.er1
35213   ac_status=$?
35214   grep -v '^ *+' conftest.er1 >conftest.err
35215   rm -f conftest.er1
35216   cat conftest.err >&5
35217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35218   (exit $ac_status); } &&
35219          { ac_try='test -z "$ac_c_werror_flag"
35220                          || test ! -s conftest.err'
35221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35222   (eval $ac_try) 2>&5
35223   ac_status=$?
35224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35225   (exit $ac_status); }; } &&
35226          { ac_try='test -s conftest$ac_exeext'
35227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35228   (eval $ac_try) 2>&5
35229   ac_status=$?
35230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35231   (exit $ac_status); }; }; then
35232   eval "$as_ac_var=yes"
35233 else
35234   echo "$as_me: failed program was:" >&5
35235 sed 's/^/| /' conftest.$ac_ext >&5
35236
35237 eval "$as_ac_var=no"
35238 fi
35239 rm -f conftest.err conftest.$ac_objext \
35240       conftest$ac_exeext conftest.$ac_ext
35241 fi
35242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35244 if test `eval echo '${'$as_ac_var'}'` = yes; then
35245   cat >>confdefs.h <<_ACEOF
35246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35247 _ACEOF
35248
35249 fi
35250 done
35251
35252     fi
35253   fi
35254
35255
35256
35257
35258
35259
35260   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
35261 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
35262   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35263     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
35264   echo $ECHO_N "(cached) $ECHO_C" >&6
35265 else
35266
35267
35268
35269       ac_ext=cc
35270 ac_cpp='$CXXCPP $CPPFLAGS'
35271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35274
35275       cat >conftest.$ac_ext <<_ACEOF
35276 /* confdefs.h.  */
35277 _ACEOF
35278 cat confdefs.h >>conftest.$ac_ext
35279 cat >>conftest.$ac_ext <<_ACEOF
35280 /* end confdefs.h.  */
35281 #include <math.h>
35282                       #ifdef HAVE_IEEEFP_H
35283                       #include <ieeefp.h>
35284                       #endif
35285
35286 int
35287 main ()
35288 {
35289  isnanf(0);
35290   ;
35291   return 0;
35292 }
35293 _ACEOF
35294 rm -f conftest.$ac_objext
35295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35296   (eval $ac_compile) 2>conftest.er1
35297   ac_status=$?
35298   grep -v '^ *+' conftest.er1 >conftest.err
35299   rm -f conftest.er1
35300   cat conftest.err >&5
35301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35302   (exit $ac_status); } &&
35303          { ac_try='test -z "$ac_cxx_werror_flag"
35304                          || test ! -s conftest.err'
35305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35306   (eval $ac_try) 2>&5
35307   ac_status=$?
35308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35309   (exit $ac_status); }; } &&
35310          { ac_try='test -s conftest.$ac_objext'
35311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35312   (eval $ac_try) 2>&5
35313   ac_status=$?
35314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35315   (exit $ac_status); }; }; then
35316   glibcxx_cv_func_isnanf_use=yes
35317 else
35318   echo "$as_me: failed program was:" >&5
35319 sed 's/^/| /' conftest.$ac_ext >&5
35320
35321 glibcxx_cv_func_isnanf_use=no
35322 fi
35323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35324       ac_ext=c
35325 ac_cpp='$CPP $CPPFLAGS'
35326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35329
35330
35331 fi
35332
35333   fi
35334   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
35335 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
35336
35337   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35338
35339 for ac_func in isnanf
35340 do
35341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35342 echo "$as_me:$LINENO: checking for $ac_func" >&5
35343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35344 if eval "test \"\${$as_ac_var+set}\" = set"; then
35345   echo $ECHO_N "(cached) $ECHO_C" >&6
35346 else
35347   if test x$gcc_no_link = xyes; then
35348   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35350    { (exit 1); exit 1; }; }
35351 fi
35352 cat >conftest.$ac_ext <<_ACEOF
35353 /* confdefs.h.  */
35354 _ACEOF
35355 cat confdefs.h >>conftest.$ac_ext
35356 cat >>conftest.$ac_ext <<_ACEOF
35357 /* end confdefs.h.  */
35358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35359    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35360 #define $ac_func innocuous_$ac_func
35361
35362 /* System header to define __stub macros and hopefully few prototypes,
35363     which can conflict with char $ac_func (); below.
35364     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35365     <limits.h> exists even on freestanding compilers.  */
35366
35367 #ifdef __STDC__
35368 # include <limits.h>
35369 #else
35370 # include <assert.h>
35371 #endif
35372
35373 #undef $ac_func
35374
35375 /* Override any gcc2 internal prototype to avoid an error.  */
35376 #ifdef __cplusplus
35377 extern "C"
35378 {
35379 #endif
35380 /* We use char because int might match the return type of a gcc2
35381    builtin and then its argument prototype would still apply.  */
35382 char $ac_func ();
35383 /* The GNU C library defines this for functions which it implements
35384     to always fail with ENOSYS.  Some functions are actually named
35385     something starting with __ and the normal name is an alias.  */
35386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35387 choke me
35388 #else
35389 char (*f) () = $ac_func;
35390 #endif
35391 #ifdef __cplusplus
35392 }
35393 #endif
35394
35395 int
35396 main ()
35397 {
35398 return f != $ac_func;
35399   ;
35400   return 0;
35401 }
35402 _ACEOF
35403 rm -f conftest.$ac_objext conftest$ac_exeext
35404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35405   (eval $ac_link) 2>conftest.er1
35406   ac_status=$?
35407   grep -v '^ *+' conftest.er1 >conftest.err
35408   rm -f conftest.er1
35409   cat conftest.err >&5
35410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35411   (exit $ac_status); } &&
35412          { ac_try='test -z "$ac_c_werror_flag"
35413                          || test ! -s conftest.err'
35414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35415   (eval $ac_try) 2>&5
35416   ac_status=$?
35417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35418   (exit $ac_status); }; } &&
35419          { ac_try='test -s conftest$ac_exeext'
35420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35421   (eval $ac_try) 2>&5
35422   ac_status=$?
35423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35424   (exit $ac_status); }; }; then
35425   eval "$as_ac_var=yes"
35426 else
35427   echo "$as_me: failed program was:" >&5
35428 sed 's/^/| /' conftest.$ac_ext >&5
35429
35430 eval "$as_ac_var=no"
35431 fi
35432 rm -f conftest.err conftest.$ac_objext \
35433       conftest$ac_exeext conftest.$ac_ext
35434 fi
35435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35437 if test `eval echo '${'$as_ac_var'}'` = yes; then
35438   cat >>confdefs.h <<_ACEOF
35439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35440 _ACEOF
35441
35442 fi
35443 done
35444
35445   else
35446
35447   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
35448 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
35449   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35450     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
35451   echo $ECHO_N "(cached) $ECHO_C" >&6
35452 else
35453
35454
35455
35456       ac_ext=cc
35457 ac_cpp='$CXXCPP $CPPFLAGS'
35458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35461
35462       cat >conftest.$ac_ext <<_ACEOF
35463 /* confdefs.h.  */
35464 _ACEOF
35465 cat confdefs.h >>conftest.$ac_ext
35466 cat >>conftest.$ac_ext <<_ACEOF
35467 /* end confdefs.h.  */
35468 #include <math.h>
35469                       #ifdef HAVE_IEEEFP_H
35470                       #include <ieeefp.h>
35471                       #endif
35472
35473 int
35474 main ()
35475 {
35476  _isnanf(0);
35477   ;
35478   return 0;
35479 }
35480 _ACEOF
35481 rm -f conftest.$ac_objext
35482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35483   (eval $ac_compile) 2>conftest.er1
35484   ac_status=$?
35485   grep -v '^ *+' conftest.er1 >conftest.err
35486   rm -f conftest.er1
35487   cat conftest.err >&5
35488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35489   (exit $ac_status); } &&
35490          { ac_try='test -z "$ac_cxx_werror_flag"
35491                          || test ! -s conftest.err'
35492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35493   (eval $ac_try) 2>&5
35494   ac_status=$?
35495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35496   (exit $ac_status); }; } &&
35497          { ac_try='test -s conftest.$ac_objext'
35498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35499   (eval $ac_try) 2>&5
35500   ac_status=$?
35501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35502   (exit $ac_status); }; }; then
35503   glibcxx_cv_func__isnanf_use=yes
35504 else
35505   echo "$as_me: failed program was:" >&5
35506 sed 's/^/| /' conftest.$ac_ext >&5
35507
35508 glibcxx_cv_func__isnanf_use=no
35509 fi
35510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35511       ac_ext=c
35512 ac_cpp='$CPP $CPPFLAGS'
35513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35516
35517
35518 fi
35519
35520   fi
35521   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
35522 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
35523
35524     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35525
35526 for ac_func in _isnanf
35527 do
35528 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35529 echo "$as_me:$LINENO: checking for $ac_func" >&5
35530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35531 if eval "test \"\${$as_ac_var+set}\" = set"; then
35532   echo $ECHO_N "(cached) $ECHO_C" >&6
35533 else
35534   if test x$gcc_no_link = xyes; then
35535   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35537    { (exit 1); exit 1; }; }
35538 fi
35539 cat >conftest.$ac_ext <<_ACEOF
35540 /* confdefs.h.  */
35541 _ACEOF
35542 cat confdefs.h >>conftest.$ac_ext
35543 cat >>conftest.$ac_ext <<_ACEOF
35544 /* end confdefs.h.  */
35545 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35546    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35547 #define $ac_func innocuous_$ac_func
35548
35549 /* System header to define __stub macros and hopefully few prototypes,
35550     which can conflict with char $ac_func (); below.
35551     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35552     <limits.h> exists even on freestanding compilers.  */
35553
35554 #ifdef __STDC__
35555 # include <limits.h>
35556 #else
35557 # include <assert.h>
35558 #endif
35559
35560 #undef $ac_func
35561
35562 /* Override any gcc2 internal prototype to avoid an error.  */
35563 #ifdef __cplusplus
35564 extern "C"
35565 {
35566 #endif
35567 /* We use char because int might match the return type of a gcc2
35568    builtin and then its argument prototype would still apply.  */
35569 char $ac_func ();
35570 /* The GNU C library defines this for functions which it implements
35571     to always fail with ENOSYS.  Some functions are actually named
35572     something starting with __ and the normal name is an alias.  */
35573 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35574 choke me
35575 #else
35576 char (*f) () = $ac_func;
35577 #endif
35578 #ifdef __cplusplus
35579 }
35580 #endif
35581
35582 int
35583 main ()
35584 {
35585 return f != $ac_func;
35586   ;
35587   return 0;
35588 }
35589 _ACEOF
35590 rm -f conftest.$ac_objext conftest$ac_exeext
35591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35592   (eval $ac_link) 2>conftest.er1
35593   ac_status=$?
35594   grep -v '^ *+' conftest.er1 >conftest.err
35595   rm -f conftest.er1
35596   cat conftest.err >&5
35597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35598   (exit $ac_status); } &&
35599          { ac_try='test -z "$ac_c_werror_flag"
35600                          || test ! -s conftest.err'
35601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35602   (eval $ac_try) 2>&5
35603   ac_status=$?
35604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35605   (exit $ac_status); }; } &&
35606          { ac_try='test -s conftest$ac_exeext'
35607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35608   (eval $ac_try) 2>&5
35609   ac_status=$?
35610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35611   (exit $ac_status); }; }; then
35612   eval "$as_ac_var=yes"
35613 else
35614   echo "$as_me: failed program was:" >&5
35615 sed 's/^/| /' conftest.$ac_ext >&5
35616
35617 eval "$as_ac_var=no"
35618 fi
35619 rm -f conftest.err conftest.$ac_objext \
35620       conftest$ac_exeext conftest.$ac_ext
35621 fi
35622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35623 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35624 if test `eval echo '${'$as_ac_var'}'` = yes; then
35625   cat >>confdefs.h <<_ACEOF
35626 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35627 _ACEOF
35628
35629 fi
35630 done
35631
35632     fi
35633   fi
35634
35635
35636
35637
35638
35639
35640   echo "$as_me:$LINENO: checking for isinff declaration" >&5
35641 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
35642   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35643     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
35644   echo $ECHO_N "(cached) $ECHO_C" >&6
35645 else
35646
35647
35648
35649       ac_ext=cc
35650 ac_cpp='$CXXCPP $CPPFLAGS'
35651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35654
35655       cat >conftest.$ac_ext <<_ACEOF
35656 /* confdefs.h.  */
35657 _ACEOF
35658 cat confdefs.h >>conftest.$ac_ext
35659 cat >>conftest.$ac_ext <<_ACEOF
35660 /* end confdefs.h.  */
35661 #include <math.h>
35662                       #ifdef HAVE_IEEEFP_H
35663                       #include <ieeefp.h>
35664                       #endif
35665
35666 int
35667 main ()
35668 {
35669  isinff(0);
35670   ;
35671   return 0;
35672 }
35673 _ACEOF
35674 rm -f conftest.$ac_objext
35675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35676   (eval $ac_compile) 2>conftest.er1
35677   ac_status=$?
35678   grep -v '^ *+' conftest.er1 >conftest.err
35679   rm -f conftest.er1
35680   cat conftest.err >&5
35681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35682   (exit $ac_status); } &&
35683          { ac_try='test -z "$ac_cxx_werror_flag"
35684                          || test ! -s conftest.err'
35685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35686   (eval $ac_try) 2>&5
35687   ac_status=$?
35688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35689   (exit $ac_status); }; } &&
35690          { ac_try='test -s conftest.$ac_objext'
35691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35692   (eval $ac_try) 2>&5
35693   ac_status=$?
35694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35695   (exit $ac_status); }; }; then
35696   glibcxx_cv_func_isinff_use=yes
35697 else
35698   echo "$as_me: failed program was:" >&5
35699 sed 's/^/| /' conftest.$ac_ext >&5
35700
35701 glibcxx_cv_func_isinff_use=no
35702 fi
35703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35704       ac_ext=c
35705 ac_cpp='$CPP $CPPFLAGS'
35706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35709
35710
35711 fi
35712
35713   fi
35714   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
35715 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
35716
35717   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35718
35719 for ac_func in isinff
35720 do
35721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35722 echo "$as_me:$LINENO: checking for $ac_func" >&5
35723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35724 if eval "test \"\${$as_ac_var+set}\" = set"; then
35725   echo $ECHO_N "(cached) $ECHO_C" >&6
35726 else
35727   if test x$gcc_no_link = xyes; then
35728   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35730    { (exit 1); exit 1; }; }
35731 fi
35732 cat >conftest.$ac_ext <<_ACEOF
35733 /* confdefs.h.  */
35734 _ACEOF
35735 cat confdefs.h >>conftest.$ac_ext
35736 cat >>conftest.$ac_ext <<_ACEOF
35737 /* end confdefs.h.  */
35738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35739    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35740 #define $ac_func innocuous_$ac_func
35741
35742 /* System header to define __stub macros and hopefully few prototypes,
35743     which can conflict with char $ac_func (); below.
35744     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35745     <limits.h> exists even on freestanding compilers.  */
35746
35747 #ifdef __STDC__
35748 # include <limits.h>
35749 #else
35750 # include <assert.h>
35751 #endif
35752
35753 #undef $ac_func
35754
35755 /* Override any gcc2 internal prototype to avoid an error.  */
35756 #ifdef __cplusplus
35757 extern "C"
35758 {
35759 #endif
35760 /* We use char because int might match the return type of a gcc2
35761    builtin and then its argument prototype would still apply.  */
35762 char $ac_func ();
35763 /* The GNU C library defines this for functions which it implements
35764     to always fail with ENOSYS.  Some functions are actually named
35765     something starting with __ and the normal name is an alias.  */
35766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35767 choke me
35768 #else
35769 char (*f) () = $ac_func;
35770 #endif
35771 #ifdef __cplusplus
35772 }
35773 #endif
35774
35775 int
35776 main ()
35777 {
35778 return f != $ac_func;
35779   ;
35780   return 0;
35781 }
35782 _ACEOF
35783 rm -f conftest.$ac_objext conftest$ac_exeext
35784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35785   (eval $ac_link) 2>conftest.er1
35786   ac_status=$?
35787   grep -v '^ *+' conftest.er1 >conftest.err
35788   rm -f conftest.er1
35789   cat conftest.err >&5
35790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35791   (exit $ac_status); } &&
35792          { ac_try='test -z "$ac_c_werror_flag"
35793                          || test ! -s conftest.err'
35794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35795   (eval $ac_try) 2>&5
35796   ac_status=$?
35797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35798   (exit $ac_status); }; } &&
35799          { ac_try='test -s conftest$ac_exeext'
35800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35801   (eval $ac_try) 2>&5
35802   ac_status=$?
35803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35804   (exit $ac_status); }; }; then
35805   eval "$as_ac_var=yes"
35806 else
35807   echo "$as_me: failed program was:" >&5
35808 sed 's/^/| /' conftest.$ac_ext >&5
35809
35810 eval "$as_ac_var=no"
35811 fi
35812 rm -f conftest.err conftest.$ac_objext \
35813       conftest$ac_exeext conftest.$ac_ext
35814 fi
35815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35816 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35817 if test `eval echo '${'$as_ac_var'}'` = yes; then
35818   cat >>confdefs.h <<_ACEOF
35819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35820 _ACEOF
35821
35822 fi
35823 done
35824
35825   else
35826
35827   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
35828 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
35829   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35830     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
35831   echo $ECHO_N "(cached) $ECHO_C" >&6
35832 else
35833
35834
35835
35836       ac_ext=cc
35837 ac_cpp='$CXXCPP $CPPFLAGS'
35838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35841
35842       cat >conftest.$ac_ext <<_ACEOF
35843 /* confdefs.h.  */
35844 _ACEOF
35845 cat confdefs.h >>conftest.$ac_ext
35846 cat >>conftest.$ac_ext <<_ACEOF
35847 /* end confdefs.h.  */
35848 #include <math.h>
35849                       #ifdef HAVE_IEEEFP_H
35850                       #include <ieeefp.h>
35851                       #endif
35852
35853 int
35854 main ()
35855 {
35856  _isinff(0);
35857   ;
35858   return 0;
35859 }
35860 _ACEOF
35861 rm -f conftest.$ac_objext
35862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35863   (eval $ac_compile) 2>conftest.er1
35864   ac_status=$?
35865   grep -v '^ *+' conftest.er1 >conftest.err
35866   rm -f conftest.er1
35867   cat conftest.err >&5
35868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35869   (exit $ac_status); } &&
35870          { ac_try='test -z "$ac_cxx_werror_flag"
35871                          || test ! -s conftest.err'
35872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35873   (eval $ac_try) 2>&5
35874   ac_status=$?
35875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35876   (exit $ac_status); }; } &&
35877          { ac_try='test -s conftest.$ac_objext'
35878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35879   (eval $ac_try) 2>&5
35880   ac_status=$?
35881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35882   (exit $ac_status); }; }; then
35883   glibcxx_cv_func__isinff_use=yes
35884 else
35885   echo "$as_me: failed program was:" >&5
35886 sed 's/^/| /' conftest.$ac_ext >&5
35887
35888 glibcxx_cv_func__isinff_use=no
35889 fi
35890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35891       ac_ext=c
35892 ac_cpp='$CPP $CPPFLAGS'
35893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35896
35897
35898 fi
35899
35900   fi
35901   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
35902 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
35903
35904     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35905
35906 for ac_func in _isinff
35907 do
35908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35909 echo "$as_me:$LINENO: checking for $ac_func" >&5
35910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35911 if eval "test \"\${$as_ac_var+set}\" = set"; then
35912   echo $ECHO_N "(cached) $ECHO_C" >&6
35913 else
35914   if test x$gcc_no_link = xyes; then
35915   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35917    { (exit 1); exit 1; }; }
35918 fi
35919 cat >conftest.$ac_ext <<_ACEOF
35920 /* confdefs.h.  */
35921 _ACEOF
35922 cat confdefs.h >>conftest.$ac_ext
35923 cat >>conftest.$ac_ext <<_ACEOF
35924 /* end confdefs.h.  */
35925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35926    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35927 #define $ac_func innocuous_$ac_func
35928
35929 /* System header to define __stub macros and hopefully few prototypes,
35930     which can conflict with char $ac_func (); below.
35931     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35932     <limits.h> exists even on freestanding compilers.  */
35933
35934 #ifdef __STDC__
35935 # include <limits.h>
35936 #else
35937 # include <assert.h>
35938 #endif
35939
35940 #undef $ac_func
35941
35942 /* Override any gcc2 internal prototype to avoid an error.  */
35943 #ifdef __cplusplus
35944 extern "C"
35945 {
35946 #endif
35947 /* We use char because int might match the return type of a gcc2
35948    builtin and then its argument prototype would still apply.  */
35949 char $ac_func ();
35950 /* The GNU C library defines this for functions which it implements
35951     to always fail with ENOSYS.  Some functions are actually named
35952     something starting with __ and the normal name is an alias.  */
35953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35954 choke me
35955 #else
35956 char (*f) () = $ac_func;
35957 #endif
35958 #ifdef __cplusplus
35959 }
35960 #endif
35961
35962 int
35963 main ()
35964 {
35965 return f != $ac_func;
35966   ;
35967   return 0;
35968 }
35969 _ACEOF
35970 rm -f conftest.$ac_objext conftest$ac_exeext
35971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35972   (eval $ac_link) 2>conftest.er1
35973   ac_status=$?
35974   grep -v '^ *+' conftest.er1 >conftest.err
35975   rm -f conftest.er1
35976   cat conftest.err >&5
35977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35978   (exit $ac_status); } &&
35979          { ac_try='test -z "$ac_c_werror_flag"
35980                          || test ! -s conftest.err'
35981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35982   (eval $ac_try) 2>&5
35983   ac_status=$?
35984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35985   (exit $ac_status); }; } &&
35986          { ac_try='test -s conftest$ac_exeext'
35987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35988   (eval $ac_try) 2>&5
35989   ac_status=$?
35990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35991   (exit $ac_status); }; }; then
35992   eval "$as_ac_var=yes"
35993 else
35994   echo "$as_me: failed program was:" >&5
35995 sed 's/^/| /' conftest.$ac_ext >&5
35996
35997 eval "$as_ac_var=no"
35998 fi
35999 rm -f conftest.err conftest.$ac_objext \
36000       conftest$ac_exeext conftest.$ac_ext
36001 fi
36002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36004 if test `eval echo '${'$as_ac_var'}'` = yes; then
36005   cat >>confdefs.h <<_ACEOF
36006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36007 _ACEOF
36008
36009 fi
36010 done
36011
36012     fi
36013   fi
36014
36015
36016
36017
36018
36019
36020   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
36021 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
36022   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36023     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
36024   echo $ECHO_N "(cached) $ECHO_C" >&6
36025 else
36026
36027
36028
36029       ac_ext=cc
36030 ac_cpp='$CXXCPP $CPPFLAGS'
36031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36034
36035       cat >conftest.$ac_ext <<_ACEOF
36036 /* confdefs.h.  */
36037 _ACEOF
36038 cat confdefs.h >>conftest.$ac_ext
36039 cat >>conftest.$ac_ext <<_ACEOF
36040 /* end confdefs.h.  */
36041 #include <math.h>
36042 int
36043 main ()
36044 {
36045  atan2f(0, 0);
36046   ;
36047   return 0;
36048 }
36049 _ACEOF
36050 rm -f conftest.$ac_objext
36051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36052   (eval $ac_compile) 2>conftest.er1
36053   ac_status=$?
36054   grep -v '^ *+' conftest.er1 >conftest.err
36055   rm -f conftest.er1
36056   cat conftest.err >&5
36057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36058   (exit $ac_status); } &&
36059          { ac_try='test -z "$ac_cxx_werror_flag"
36060                          || test ! -s conftest.err'
36061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36062   (eval $ac_try) 2>&5
36063   ac_status=$?
36064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36065   (exit $ac_status); }; } &&
36066          { ac_try='test -s conftest.$ac_objext'
36067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36068   (eval $ac_try) 2>&5
36069   ac_status=$?
36070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36071   (exit $ac_status); }; }; then
36072   glibcxx_cv_func_atan2f_use=yes
36073 else
36074   echo "$as_me: failed program was:" >&5
36075 sed 's/^/| /' conftest.$ac_ext >&5
36076
36077 glibcxx_cv_func_atan2f_use=no
36078 fi
36079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36080       ac_ext=c
36081 ac_cpp='$CPP $CPPFLAGS'
36082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36085
36086
36087 fi
36088
36089   fi
36090   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
36091 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
36092
36093   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36094
36095 for ac_func in atan2f
36096 do
36097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36098 echo "$as_me:$LINENO: checking for $ac_func" >&5
36099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36100 if eval "test \"\${$as_ac_var+set}\" = set"; then
36101   echo $ECHO_N "(cached) $ECHO_C" >&6
36102 else
36103   if test x$gcc_no_link = xyes; then
36104   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36106    { (exit 1); exit 1; }; }
36107 fi
36108 cat >conftest.$ac_ext <<_ACEOF
36109 /* confdefs.h.  */
36110 _ACEOF
36111 cat confdefs.h >>conftest.$ac_ext
36112 cat >>conftest.$ac_ext <<_ACEOF
36113 /* end confdefs.h.  */
36114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36115    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36116 #define $ac_func innocuous_$ac_func
36117
36118 /* System header to define __stub macros and hopefully few prototypes,
36119     which can conflict with char $ac_func (); below.
36120     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36121     <limits.h> exists even on freestanding compilers.  */
36122
36123 #ifdef __STDC__
36124 # include <limits.h>
36125 #else
36126 # include <assert.h>
36127 #endif
36128
36129 #undef $ac_func
36130
36131 /* Override any gcc2 internal prototype to avoid an error.  */
36132 #ifdef __cplusplus
36133 extern "C"
36134 {
36135 #endif
36136 /* We use char because int might match the return type of a gcc2
36137    builtin and then its argument prototype would still apply.  */
36138 char $ac_func ();
36139 /* The GNU C library defines this for functions which it implements
36140     to always fail with ENOSYS.  Some functions are actually named
36141     something starting with __ and the normal name is an alias.  */
36142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36143 choke me
36144 #else
36145 char (*f) () = $ac_func;
36146 #endif
36147 #ifdef __cplusplus
36148 }
36149 #endif
36150
36151 int
36152 main ()
36153 {
36154 return f != $ac_func;
36155   ;
36156   return 0;
36157 }
36158 _ACEOF
36159 rm -f conftest.$ac_objext conftest$ac_exeext
36160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36161   (eval $ac_link) 2>conftest.er1
36162   ac_status=$?
36163   grep -v '^ *+' conftest.er1 >conftest.err
36164   rm -f conftest.er1
36165   cat conftest.err >&5
36166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36167   (exit $ac_status); } &&
36168          { ac_try='test -z "$ac_c_werror_flag"
36169                          || test ! -s conftest.err'
36170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36171   (eval $ac_try) 2>&5
36172   ac_status=$?
36173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36174   (exit $ac_status); }; } &&
36175          { ac_try='test -s conftest$ac_exeext'
36176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36177   (eval $ac_try) 2>&5
36178   ac_status=$?
36179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36180   (exit $ac_status); }; }; then
36181   eval "$as_ac_var=yes"
36182 else
36183   echo "$as_me: failed program was:" >&5
36184 sed 's/^/| /' conftest.$ac_ext >&5
36185
36186 eval "$as_ac_var=no"
36187 fi
36188 rm -f conftest.err conftest.$ac_objext \
36189       conftest$ac_exeext conftest.$ac_ext
36190 fi
36191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36193 if test `eval echo '${'$as_ac_var'}'` = yes; then
36194   cat >>confdefs.h <<_ACEOF
36195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36196 _ACEOF
36197
36198 fi
36199 done
36200
36201   else
36202
36203   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
36204 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
36205   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36206     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
36207   echo $ECHO_N "(cached) $ECHO_C" >&6
36208 else
36209
36210
36211
36212       ac_ext=cc
36213 ac_cpp='$CXXCPP $CPPFLAGS'
36214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36217
36218       cat >conftest.$ac_ext <<_ACEOF
36219 /* confdefs.h.  */
36220 _ACEOF
36221 cat confdefs.h >>conftest.$ac_ext
36222 cat >>conftest.$ac_ext <<_ACEOF
36223 /* end confdefs.h.  */
36224 #include <math.h>
36225 int
36226 main ()
36227 {
36228  _atan2f(0, 0);
36229   ;
36230   return 0;
36231 }
36232 _ACEOF
36233 rm -f conftest.$ac_objext
36234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36235   (eval $ac_compile) 2>conftest.er1
36236   ac_status=$?
36237   grep -v '^ *+' conftest.er1 >conftest.err
36238   rm -f conftest.er1
36239   cat conftest.err >&5
36240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36241   (exit $ac_status); } &&
36242          { ac_try='test -z "$ac_cxx_werror_flag"
36243                          || test ! -s conftest.err'
36244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36245   (eval $ac_try) 2>&5
36246   ac_status=$?
36247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36248   (exit $ac_status); }; } &&
36249          { ac_try='test -s conftest.$ac_objext'
36250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36251   (eval $ac_try) 2>&5
36252   ac_status=$?
36253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36254   (exit $ac_status); }; }; then
36255   glibcxx_cv_func__atan2f_use=yes
36256 else
36257   echo "$as_me: failed program was:" >&5
36258 sed 's/^/| /' conftest.$ac_ext >&5
36259
36260 glibcxx_cv_func__atan2f_use=no
36261 fi
36262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36263       ac_ext=c
36264 ac_cpp='$CPP $CPPFLAGS'
36265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36268
36269
36270 fi
36271
36272   fi
36273   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
36274 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
36275
36276     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36277
36278 for ac_func in _atan2f
36279 do
36280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36281 echo "$as_me:$LINENO: checking for $ac_func" >&5
36282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36283 if eval "test \"\${$as_ac_var+set}\" = set"; then
36284   echo $ECHO_N "(cached) $ECHO_C" >&6
36285 else
36286   if test x$gcc_no_link = xyes; then
36287   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36289    { (exit 1); exit 1; }; }
36290 fi
36291 cat >conftest.$ac_ext <<_ACEOF
36292 /* confdefs.h.  */
36293 _ACEOF
36294 cat confdefs.h >>conftest.$ac_ext
36295 cat >>conftest.$ac_ext <<_ACEOF
36296 /* end confdefs.h.  */
36297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36298    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36299 #define $ac_func innocuous_$ac_func
36300
36301 /* System header to define __stub macros and hopefully few prototypes,
36302     which can conflict with char $ac_func (); below.
36303     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36304     <limits.h> exists even on freestanding compilers.  */
36305
36306 #ifdef __STDC__
36307 # include <limits.h>
36308 #else
36309 # include <assert.h>
36310 #endif
36311
36312 #undef $ac_func
36313
36314 /* Override any gcc2 internal prototype to avoid an error.  */
36315 #ifdef __cplusplus
36316 extern "C"
36317 {
36318 #endif
36319 /* We use char because int might match the return type of a gcc2
36320    builtin and then its argument prototype would still apply.  */
36321 char $ac_func ();
36322 /* The GNU C library defines this for functions which it implements
36323     to always fail with ENOSYS.  Some functions are actually named
36324     something starting with __ and the normal name is an alias.  */
36325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36326 choke me
36327 #else
36328 char (*f) () = $ac_func;
36329 #endif
36330 #ifdef __cplusplus
36331 }
36332 #endif
36333
36334 int
36335 main ()
36336 {
36337 return f != $ac_func;
36338   ;
36339   return 0;
36340 }
36341 _ACEOF
36342 rm -f conftest.$ac_objext conftest$ac_exeext
36343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36344   (eval $ac_link) 2>conftest.er1
36345   ac_status=$?
36346   grep -v '^ *+' conftest.er1 >conftest.err
36347   rm -f conftest.er1
36348   cat conftest.err >&5
36349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36350   (exit $ac_status); } &&
36351          { ac_try='test -z "$ac_c_werror_flag"
36352                          || test ! -s conftest.err'
36353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36354   (eval $ac_try) 2>&5
36355   ac_status=$?
36356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36357   (exit $ac_status); }; } &&
36358          { ac_try='test -s conftest$ac_exeext'
36359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36360   (eval $ac_try) 2>&5
36361   ac_status=$?
36362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36363   (exit $ac_status); }; }; then
36364   eval "$as_ac_var=yes"
36365 else
36366   echo "$as_me: failed program was:" >&5
36367 sed 's/^/| /' conftest.$ac_ext >&5
36368
36369 eval "$as_ac_var=no"
36370 fi
36371 rm -f conftest.err conftest.$ac_objext \
36372       conftest$ac_exeext conftest.$ac_ext
36373 fi
36374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36376 if test `eval echo '${'$as_ac_var'}'` = yes; then
36377   cat >>confdefs.h <<_ACEOF
36378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36379 _ACEOF
36380
36381 fi
36382 done
36383
36384     fi
36385   fi
36386
36387
36388
36389
36390
36391
36392   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
36393 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
36394   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36395     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
36396   echo $ECHO_N "(cached) $ECHO_C" >&6
36397 else
36398
36399
36400
36401       ac_ext=cc
36402 ac_cpp='$CXXCPP $CPPFLAGS'
36403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36406
36407       cat >conftest.$ac_ext <<_ACEOF
36408 /* confdefs.h.  */
36409 _ACEOF
36410 cat confdefs.h >>conftest.$ac_ext
36411 cat >>conftest.$ac_ext <<_ACEOF
36412 /* end confdefs.h.  */
36413 #include <math.h>
36414                       #ifdef HAVE_IEEEFP_H
36415                       #include <ieeefp.h>
36416                       #endif
36417
36418 int
36419 main ()
36420 {
36421  fabsf(0);
36422   ;
36423   return 0;
36424 }
36425 _ACEOF
36426 rm -f conftest.$ac_objext
36427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36428   (eval $ac_compile) 2>conftest.er1
36429   ac_status=$?
36430   grep -v '^ *+' conftest.er1 >conftest.err
36431   rm -f conftest.er1
36432   cat conftest.err >&5
36433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36434   (exit $ac_status); } &&
36435          { ac_try='test -z "$ac_cxx_werror_flag"
36436                          || test ! -s conftest.err'
36437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36438   (eval $ac_try) 2>&5
36439   ac_status=$?
36440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36441   (exit $ac_status); }; } &&
36442          { ac_try='test -s conftest.$ac_objext'
36443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36444   (eval $ac_try) 2>&5
36445   ac_status=$?
36446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36447   (exit $ac_status); }; }; then
36448   glibcxx_cv_func_fabsf_use=yes
36449 else
36450   echo "$as_me: failed program was:" >&5
36451 sed 's/^/| /' conftest.$ac_ext >&5
36452
36453 glibcxx_cv_func_fabsf_use=no
36454 fi
36455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36456       ac_ext=c
36457 ac_cpp='$CPP $CPPFLAGS'
36458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36461
36462
36463 fi
36464
36465   fi
36466   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
36467 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
36468
36469   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36470
36471 for ac_func in fabsf
36472 do
36473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36474 echo "$as_me:$LINENO: checking for $ac_func" >&5
36475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36476 if eval "test \"\${$as_ac_var+set}\" = set"; then
36477   echo $ECHO_N "(cached) $ECHO_C" >&6
36478 else
36479   if test x$gcc_no_link = xyes; then
36480   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36482    { (exit 1); exit 1; }; }
36483 fi
36484 cat >conftest.$ac_ext <<_ACEOF
36485 /* confdefs.h.  */
36486 _ACEOF
36487 cat confdefs.h >>conftest.$ac_ext
36488 cat >>conftest.$ac_ext <<_ACEOF
36489 /* end confdefs.h.  */
36490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36491    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36492 #define $ac_func innocuous_$ac_func
36493
36494 /* System header to define __stub macros and hopefully few prototypes,
36495     which can conflict with char $ac_func (); below.
36496     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36497     <limits.h> exists even on freestanding compilers.  */
36498
36499 #ifdef __STDC__
36500 # include <limits.h>
36501 #else
36502 # include <assert.h>
36503 #endif
36504
36505 #undef $ac_func
36506
36507 /* Override any gcc2 internal prototype to avoid an error.  */
36508 #ifdef __cplusplus
36509 extern "C"
36510 {
36511 #endif
36512 /* We use char because int might match the return type of a gcc2
36513    builtin and then its argument prototype would still apply.  */
36514 char $ac_func ();
36515 /* The GNU C library defines this for functions which it implements
36516     to always fail with ENOSYS.  Some functions are actually named
36517     something starting with __ and the normal name is an alias.  */
36518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36519 choke me
36520 #else
36521 char (*f) () = $ac_func;
36522 #endif
36523 #ifdef __cplusplus
36524 }
36525 #endif
36526
36527 int
36528 main ()
36529 {
36530 return f != $ac_func;
36531   ;
36532   return 0;
36533 }
36534 _ACEOF
36535 rm -f conftest.$ac_objext conftest$ac_exeext
36536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36537   (eval $ac_link) 2>conftest.er1
36538   ac_status=$?
36539   grep -v '^ *+' conftest.er1 >conftest.err
36540   rm -f conftest.er1
36541   cat conftest.err >&5
36542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36543   (exit $ac_status); } &&
36544          { ac_try='test -z "$ac_c_werror_flag"
36545                          || test ! -s conftest.err'
36546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36547   (eval $ac_try) 2>&5
36548   ac_status=$?
36549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36550   (exit $ac_status); }; } &&
36551          { ac_try='test -s conftest$ac_exeext'
36552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36553   (eval $ac_try) 2>&5
36554   ac_status=$?
36555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36556   (exit $ac_status); }; }; then
36557   eval "$as_ac_var=yes"
36558 else
36559   echo "$as_me: failed program was:" >&5
36560 sed 's/^/| /' conftest.$ac_ext >&5
36561
36562 eval "$as_ac_var=no"
36563 fi
36564 rm -f conftest.err conftest.$ac_objext \
36565       conftest$ac_exeext conftest.$ac_ext
36566 fi
36567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36569 if test `eval echo '${'$as_ac_var'}'` = yes; then
36570   cat >>confdefs.h <<_ACEOF
36571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36572 _ACEOF
36573
36574 fi
36575 done
36576
36577   else
36578
36579   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
36580 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
36581   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36582     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
36583   echo $ECHO_N "(cached) $ECHO_C" >&6
36584 else
36585
36586
36587
36588       ac_ext=cc
36589 ac_cpp='$CXXCPP $CPPFLAGS'
36590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36593
36594       cat >conftest.$ac_ext <<_ACEOF
36595 /* confdefs.h.  */
36596 _ACEOF
36597 cat confdefs.h >>conftest.$ac_ext
36598 cat >>conftest.$ac_ext <<_ACEOF
36599 /* end confdefs.h.  */
36600 #include <math.h>
36601                       #ifdef HAVE_IEEEFP_H
36602                       #include <ieeefp.h>
36603                       #endif
36604
36605 int
36606 main ()
36607 {
36608  _fabsf(0);
36609   ;
36610   return 0;
36611 }
36612 _ACEOF
36613 rm -f conftest.$ac_objext
36614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36615   (eval $ac_compile) 2>conftest.er1
36616   ac_status=$?
36617   grep -v '^ *+' conftest.er1 >conftest.err
36618   rm -f conftest.er1
36619   cat conftest.err >&5
36620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36621   (exit $ac_status); } &&
36622          { ac_try='test -z "$ac_cxx_werror_flag"
36623                          || test ! -s conftest.err'
36624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36625   (eval $ac_try) 2>&5
36626   ac_status=$?
36627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36628   (exit $ac_status); }; } &&
36629          { ac_try='test -s conftest.$ac_objext'
36630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36631   (eval $ac_try) 2>&5
36632   ac_status=$?
36633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36634   (exit $ac_status); }; }; then
36635   glibcxx_cv_func__fabsf_use=yes
36636 else
36637   echo "$as_me: failed program was:" >&5
36638 sed 's/^/| /' conftest.$ac_ext >&5
36639
36640 glibcxx_cv_func__fabsf_use=no
36641 fi
36642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36643       ac_ext=c
36644 ac_cpp='$CPP $CPPFLAGS'
36645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36648
36649
36650 fi
36651
36652   fi
36653   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
36654 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
36655
36656     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36657
36658 for ac_func in _fabsf
36659 do
36660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36661 echo "$as_me:$LINENO: checking for $ac_func" >&5
36662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36663 if eval "test \"\${$as_ac_var+set}\" = set"; then
36664   echo $ECHO_N "(cached) $ECHO_C" >&6
36665 else
36666   if test x$gcc_no_link = xyes; then
36667   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36669    { (exit 1); exit 1; }; }
36670 fi
36671 cat >conftest.$ac_ext <<_ACEOF
36672 /* confdefs.h.  */
36673 _ACEOF
36674 cat confdefs.h >>conftest.$ac_ext
36675 cat >>conftest.$ac_ext <<_ACEOF
36676 /* end confdefs.h.  */
36677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36678    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36679 #define $ac_func innocuous_$ac_func
36680
36681 /* System header to define __stub macros and hopefully few prototypes,
36682     which can conflict with char $ac_func (); below.
36683     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36684     <limits.h> exists even on freestanding compilers.  */
36685
36686 #ifdef __STDC__
36687 # include <limits.h>
36688 #else
36689 # include <assert.h>
36690 #endif
36691
36692 #undef $ac_func
36693
36694 /* Override any gcc2 internal prototype to avoid an error.  */
36695 #ifdef __cplusplus
36696 extern "C"
36697 {
36698 #endif
36699 /* We use char because int might match the return type of a gcc2
36700    builtin and then its argument prototype would still apply.  */
36701 char $ac_func ();
36702 /* The GNU C library defines this for functions which it implements
36703     to always fail with ENOSYS.  Some functions are actually named
36704     something starting with __ and the normal name is an alias.  */
36705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36706 choke me
36707 #else
36708 char (*f) () = $ac_func;
36709 #endif
36710 #ifdef __cplusplus
36711 }
36712 #endif
36713
36714 int
36715 main ()
36716 {
36717 return f != $ac_func;
36718   ;
36719   return 0;
36720 }
36721 _ACEOF
36722 rm -f conftest.$ac_objext conftest$ac_exeext
36723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36724   (eval $ac_link) 2>conftest.er1
36725   ac_status=$?
36726   grep -v '^ *+' conftest.er1 >conftest.err
36727   rm -f conftest.er1
36728   cat conftest.err >&5
36729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36730   (exit $ac_status); } &&
36731          { ac_try='test -z "$ac_c_werror_flag"
36732                          || test ! -s conftest.err'
36733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36734   (eval $ac_try) 2>&5
36735   ac_status=$?
36736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36737   (exit $ac_status); }; } &&
36738          { ac_try='test -s conftest$ac_exeext'
36739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36740   (eval $ac_try) 2>&5
36741   ac_status=$?
36742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36743   (exit $ac_status); }; }; then
36744   eval "$as_ac_var=yes"
36745 else
36746   echo "$as_me: failed program was:" >&5
36747 sed 's/^/| /' conftest.$ac_ext >&5
36748
36749 eval "$as_ac_var=no"
36750 fi
36751 rm -f conftest.err conftest.$ac_objext \
36752       conftest$ac_exeext conftest.$ac_ext
36753 fi
36754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36756 if test `eval echo '${'$as_ac_var'}'` = yes; then
36757   cat >>confdefs.h <<_ACEOF
36758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36759 _ACEOF
36760
36761 fi
36762 done
36763
36764     fi
36765   fi
36766
36767
36768
36769
36770
36771
36772   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
36773 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
36774   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36775     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
36776   echo $ECHO_N "(cached) $ECHO_C" >&6
36777 else
36778
36779
36780
36781       ac_ext=cc
36782 ac_cpp='$CXXCPP $CPPFLAGS'
36783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36786
36787       cat >conftest.$ac_ext <<_ACEOF
36788 /* confdefs.h.  */
36789 _ACEOF
36790 cat confdefs.h >>conftest.$ac_ext
36791 cat >>conftest.$ac_ext <<_ACEOF
36792 /* end confdefs.h.  */
36793 #include <math.h>
36794 int
36795 main ()
36796 {
36797  fmodf(0, 0);
36798   ;
36799   return 0;
36800 }
36801 _ACEOF
36802 rm -f conftest.$ac_objext
36803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36804   (eval $ac_compile) 2>conftest.er1
36805   ac_status=$?
36806   grep -v '^ *+' conftest.er1 >conftest.err
36807   rm -f conftest.er1
36808   cat conftest.err >&5
36809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36810   (exit $ac_status); } &&
36811          { ac_try='test -z "$ac_cxx_werror_flag"
36812                          || test ! -s conftest.err'
36813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36814   (eval $ac_try) 2>&5
36815   ac_status=$?
36816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36817   (exit $ac_status); }; } &&
36818          { ac_try='test -s conftest.$ac_objext'
36819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36820   (eval $ac_try) 2>&5
36821   ac_status=$?
36822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36823   (exit $ac_status); }; }; then
36824   glibcxx_cv_func_fmodf_use=yes
36825 else
36826   echo "$as_me: failed program was:" >&5
36827 sed 's/^/| /' conftest.$ac_ext >&5
36828
36829 glibcxx_cv_func_fmodf_use=no
36830 fi
36831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36832       ac_ext=c
36833 ac_cpp='$CPP $CPPFLAGS'
36834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36837
36838
36839 fi
36840
36841   fi
36842   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
36843 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
36844
36845   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
36846
36847 for ac_func in fmodf
36848 do
36849 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36850 echo "$as_me:$LINENO: checking for $ac_func" >&5
36851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36852 if eval "test \"\${$as_ac_var+set}\" = set"; then
36853   echo $ECHO_N "(cached) $ECHO_C" >&6
36854 else
36855   if test x$gcc_no_link = xyes; then
36856   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36858    { (exit 1); exit 1; }; }
36859 fi
36860 cat >conftest.$ac_ext <<_ACEOF
36861 /* confdefs.h.  */
36862 _ACEOF
36863 cat confdefs.h >>conftest.$ac_ext
36864 cat >>conftest.$ac_ext <<_ACEOF
36865 /* end confdefs.h.  */
36866 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36867    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36868 #define $ac_func innocuous_$ac_func
36869
36870 /* System header to define __stub macros and hopefully few prototypes,
36871     which can conflict with char $ac_func (); below.
36872     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36873     <limits.h> exists even on freestanding compilers.  */
36874
36875 #ifdef __STDC__
36876 # include <limits.h>
36877 #else
36878 # include <assert.h>
36879 #endif
36880
36881 #undef $ac_func
36882
36883 /* Override any gcc2 internal prototype to avoid an error.  */
36884 #ifdef __cplusplus
36885 extern "C"
36886 {
36887 #endif
36888 /* We use char because int might match the return type of a gcc2
36889    builtin and then its argument prototype would still apply.  */
36890 char $ac_func ();
36891 /* The GNU C library defines this for functions which it implements
36892     to always fail with ENOSYS.  Some functions are actually named
36893     something starting with __ and the normal name is an alias.  */
36894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36895 choke me
36896 #else
36897 char (*f) () = $ac_func;
36898 #endif
36899 #ifdef __cplusplus
36900 }
36901 #endif
36902
36903 int
36904 main ()
36905 {
36906 return f != $ac_func;
36907   ;
36908   return 0;
36909 }
36910 _ACEOF
36911 rm -f conftest.$ac_objext conftest$ac_exeext
36912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36913   (eval $ac_link) 2>conftest.er1
36914   ac_status=$?
36915   grep -v '^ *+' conftest.er1 >conftest.err
36916   rm -f conftest.er1
36917   cat conftest.err >&5
36918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36919   (exit $ac_status); } &&
36920          { ac_try='test -z "$ac_c_werror_flag"
36921                          || test ! -s conftest.err'
36922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36923   (eval $ac_try) 2>&5
36924   ac_status=$?
36925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36926   (exit $ac_status); }; } &&
36927          { ac_try='test -s conftest$ac_exeext'
36928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36929   (eval $ac_try) 2>&5
36930   ac_status=$?
36931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36932   (exit $ac_status); }; }; then
36933   eval "$as_ac_var=yes"
36934 else
36935   echo "$as_me: failed program was:" >&5
36936 sed 's/^/| /' conftest.$ac_ext >&5
36937
36938 eval "$as_ac_var=no"
36939 fi
36940 rm -f conftest.err conftest.$ac_objext \
36941       conftest$ac_exeext conftest.$ac_ext
36942 fi
36943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36944 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36945 if test `eval echo '${'$as_ac_var'}'` = yes; then
36946   cat >>confdefs.h <<_ACEOF
36947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36948 _ACEOF
36949
36950 fi
36951 done
36952
36953   else
36954
36955   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
36956 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
36957   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36958     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
36959   echo $ECHO_N "(cached) $ECHO_C" >&6
36960 else
36961
36962
36963
36964       ac_ext=cc
36965 ac_cpp='$CXXCPP $CPPFLAGS'
36966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36969
36970       cat >conftest.$ac_ext <<_ACEOF
36971 /* confdefs.h.  */
36972 _ACEOF
36973 cat confdefs.h >>conftest.$ac_ext
36974 cat >>conftest.$ac_ext <<_ACEOF
36975 /* end confdefs.h.  */
36976 #include <math.h>
36977 int
36978 main ()
36979 {
36980  _fmodf(0, 0);
36981   ;
36982   return 0;
36983 }
36984 _ACEOF
36985 rm -f conftest.$ac_objext
36986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36987   (eval $ac_compile) 2>conftest.er1
36988   ac_status=$?
36989   grep -v '^ *+' conftest.er1 >conftest.err
36990   rm -f conftest.er1
36991   cat conftest.err >&5
36992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36993   (exit $ac_status); } &&
36994          { ac_try='test -z "$ac_cxx_werror_flag"
36995                          || test ! -s conftest.err'
36996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36997   (eval $ac_try) 2>&5
36998   ac_status=$?
36999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37000   (exit $ac_status); }; } &&
37001          { ac_try='test -s conftest.$ac_objext'
37002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37003   (eval $ac_try) 2>&5
37004   ac_status=$?
37005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37006   (exit $ac_status); }; }; then
37007   glibcxx_cv_func__fmodf_use=yes
37008 else
37009   echo "$as_me: failed program was:" >&5
37010 sed 's/^/| /' conftest.$ac_ext >&5
37011
37012 glibcxx_cv_func__fmodf_use=no
37013 fi
37014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37015       ac_ext=c
37016 ac_cpp='$CPP $CPPFLAGS'
37017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37020
37021
37022 fi
37023
37024   fi
37025   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
37026 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
37027
37028     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37029
37030 for ac_func in _fmodf
37031 do
37032 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37033 echo "$as_me:$LINENO: checking for $ac_func" >&5
37034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37035 if eval "test \"\${$as_ac_var+set}\" = set"; then
37036   echo $ECHO_N "(cached) $ECHO_C" >&6
37037 else
37038   if test x$gcc_no_link = xyes; then
37039   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37040 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37041    { (exit 1); exit 1; }; }
37042 fi
37043 cat >conftest.$ac_ext <<_ACEOF
37044 /* confdefs.h.  */
37045 _ACEOF
37046 cat confdefs.h >>conftest.$ac_ext
37047 cat >>conftest.$ac_ext <<_ACEOF
37048 /* end confdefs.h.  */
37049 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37050    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37051 #define $ac_func innocuous_$ac_func
37052
37053 /* System header to define __stub macros and hopefully few prototypes,
37054     which can conflict with char $ac_func (); below.
37055     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37056     <limits.h> exists even on freestanding compilers.  */
37057
37058 #ifdef __STDC__
37059 # include <limits.h>
37060 #else
37061 # include <assert.h>
37062 #endif
37063
37064 #undef $ac_func
37065
37066 /* Override any gcc2 internal prototype to avoid an error.  */
37067 #ifdef __cplusplus
37068 extern "C"
37069 {
37070 #endif
37071 /* We use char because int might match the return type of a gcc2
37072    builtin and then its argument prototype would still apply.  */
37073 char $ac_func ();
37074 /* The GNU C library defines this for functions which it implements
37075     to always fail with ENOSYS.  Some functions are actually named
37076     something starting with __ and the normal name is an alias.  */
37077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37078 choke me
37079 #else
37080 char (*f) () = $ac_func;
37081 #endif
37082 #ifdef __cplusplus
37083 }
37084 #endif
37085
37086 int
37087 main ()
37088 {
37089 return f != $ac_func;
37090   ;
37091   return 0;
37092 }
37093 _ACEOF
37094 rm -f conftest.$ac_objext conftest$ac_exeext
37095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37096   (eval $ac_link) 2>conftest.er1
37097   ac_status=$?
37098   grep -v '^ *+' conftest.er1 >conftest.err
37099   rm -f conftest.er1
37100   cat conftest.err >&5
37101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37102   (exit $ac_status); } &&
37103          { ac_try='test -z "$ac_c_werror_flag"
37104                          || test ! -s conftest.err'
37105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37106   (eval $ac_try) 2>&5
37107   ac_status=$?
37108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37109   (exit $ac_status); }; } &&
37110          { ac_try='test -s conftest$ac_exeext'
37111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37112   (eval $ac_try) 2>&5
37113   ac_status=$?
37114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37115   (exit $ac_status); }; }; then
37116   eval "$as_ac_var=yes"
37117 else
37118   echo "$as_me: failed program was:" >&5
37119 sed 's/^/| /' conftest.$ac_ext >&5
37120
37121 eval "$as_ac_var=no"
37122 fi
37123 rm -f conftest.err conftest.$ac_objext \
37124       conftest$ac_exeext conftest.$ac_ext
37125 fi
37126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37127 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37128 if test `eval echo '${'$as_ac_var'}'` = yes; then
37129   cat >>confdefs.h <<_ACEOF
37130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37131 _ACEOF
37132
37133 fi
37134 done
37135
37136     fi
37137   fi
37138
37139
37140
37141
37142
37143
37144   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
37145 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
37146   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37147     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
37148   echo $ECHO_N "(cached) $ECHO_C" >&6
37149 else
37150
37151
37152
37153       ac_ext=cc
37154 ac_cpp='$CXXCPP $CPPFLAGS'
37155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37158
37159       cat >conftest.$ac_ext <<_ACEOF
37160 /* confdefs.h.  */
37161 _ACEOF
37162 cat confdefs.h >>conftest.$ac_ext
37163 cat >>conftest.$ac_ext <<_ACEOF
37164 /* end confdefs.h.  */
37165 #include <math.h>
37166 int
37167 main ()
37168 {
37169  frexpf(0, 0);
37170   ;
37171   return 0;
37172 }
37173 _ACEOF
37174 rm -f conftest.$ac_objext
37175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37176   (eval $ac_compile) 2>conftest.er1
37177   ac_status=$?
37178   grep -v '^ *+' conftest.er1 >conftest.err
37179   rm -f conftest.er1
37180   cat conftest.err >&5
37181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37182   (exit $ac_status); } &&
37183          { ac_try='test -z "$ac_cxx_werror_flag"
37184                          || test ! -s conftest.err'
37185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37186   (eval $ac_try) 2>&5
37187   ac_status=$?
37188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37189   (exit $ac_status); }; } &&
37190          { ac_try='test -s conftest.$ac_objext'
37191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37192   (eval $ac_try) 2>&5
37193   ac_status=$?
37194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37195   (exit $ac_status); }; }; then
37196   glibcxx_cv_func_frexpf_use=yes
37197 else
37198   echo "$as_me: failed program was:" >&5
37199 sed 's/^/| /' conftest.$ac_ext >&5
37200
37201 glibcxx_cv_func_frexpf_use=no
37202 fi
37203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37204       ac_ext=c
37205 ac_cpp='$CPP $CPPFLAGS'
37206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37209
37210
37211 fi
37212
37213   fi
37214   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
37215 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
37216
37217   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37218
37219 for ac_func in frexpf
37220 do
37221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37222 echo "$as_me:$LINENO: checking for $ac_func" >&5
37223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37224 if eval "test \"\${$as_ac_var+set}\" = set"; then
37225   echo $ECHO_N "(cached) $ECHO_C" >&6
37226 else
37227   if test x$gcc_no_link = xyes; then
37228   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37230    { (exit 1); exit 1; }; }
37231 fi
37232 cat >conftest.$ac_ext <<_ACEOF
37233 /* confdefs.h.  */
37234 _ACEOF
37235 cat confdefs.h >>conftest.$ac_ext
37236 cat >>conftest.$ac_ext <<_ACEOF
37237 /* end confdefs.h.  */
37238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37239    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37240 #define $ac_func innocuous_$ac_func
37241
37242 /* System header to define __stub macros and hopefully few prototypes,
37243     which can conflict with char $ac_func (); below.
37244     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37245     <limits.h> exists even on freestanding compilers.  */
37246
37247 #ifdef __STDC__
37248 # include <limits.h>
37249 #else
37250 # include <assert.h>
37251 #endif
37252
37253 #undef $ac_func
37254
37255 /* Override any gcc2 internal prototype to avoid an error.  */
37256 #ifdef __cplusplus
37257 extern "C"
37258 {
37259 #endif
37260 /* We use char because int might match the return type of a gcc2
37261    builtin and then its argument prototype would still apply.  */
37262 char $ac_func ();
37263 /* The GNU C library defines this for functions which it implements
37264     to always fail with ENOSYS.  Some functions are actually named
37265     something starting with __ and the normal name is an alias.  */
37266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37267 choke me
37268 #else
37269 char (*f) () = $ac_func;
37270 #endif
37271 #ifdef __cplusplus
37272 }
37273 #endif
37274
37275 int
37276 main ()
37277 {
37278 return f != $ac_func;
37279   ;
37280   return 0;
37281 }
37282 _ACEOF
37283 rm -f conftest.$ac_objext conftest$ac_exeext
37284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37285   (eval $ac_link) 2>conftest.er1
37286   ac_status=$?
37287   grep -v '^ *+' conftest.er1 >conftest.err
37288   rm -f conftest.er1
37289   cat conftest.err >&5
37290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37291   (exit $ac_status); } &&
37292          { ac_try='test -z "$ac_c_werror_flag"
37293                          || test ! -s conftest.err'
37294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37295   (eval $ac_try) 2>&5
37296   ac_status=$?
37297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37298   (exit $ac_status); }; } &&
37299          { ac_try='test -s conftest$ac_exeext'
37300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37301   (eval $ac_try) 2>&5
37302   ac_status=$?
37303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37304   (exit $ac_status); }; }; then
37305   eval "$as_ac_var=yes"
37306 else
37307   echo "$as_me: failed program was:" >&5
37308 sed 's/^/| /' conftest.$ac_ext >&5
37309
37310 eval "$as_ac_var=no"
37311 fi
37312 rm -f conftest.err conftest.$ac_objext \
37313       conftest$ac_exeext conftest.$ac_ext
37314 fi
37315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37317 if test `eval echo '${'$as_ac_var'}'` = yes; then
37318   cat >>confdefs.h <<_ACEOF
37319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37320 _ACEOF
37321
37322 fi
37323 done
37324
37325   else
37326
37327   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
37328 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
37329   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37330     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
37331   echo $ECHO_N "(cached) $ECHO_C" >&6
37332 else
37333
37334
37335
37336       ac_ext=cc
37337 ac_cpp='$CXXCPP $CPPFLAGS'
37338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37341
37342       cat >conftest.$ac_ext <<_ACEOF
37343 /* confdefs.h.  */
37344 _ACEOF
37345 cat confdefs.h >>conftest.$ac_ext
37346 cat >>conftest.$ac_ext <<_ACEOF
37347 /* end confdefs.h.  */
37348 #include <math.h>
37349 int
37350 main ()
37351 {
37352  _frexpf(0, 0);
37353   ;
37354   return 0;
37355 }
37356 _ACEOF
37357 rm -f conftest.$ac_objext
37358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37359   (eval $ac_compile) 2>conftest.er1
37360   ac_status=$?
37361   grep -v '^ *+' conftest.er1 >conftest.err
37362   rm -f conftest.er1
37363   cat conftest.err >&5
37364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37365   (exit $ac_status); } &&
37366          { ac_try='test -z "$ac_cxx_werror_flag"
37367                          || test ! -s conftest.err'
37368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37369   (eval $ac_try) 2>&5
37370   ac_status=$?
37371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37372   (exit $ac_status); }; } &&
37373          { ac_try='test -s conftest.$ac_objext'
37374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37375   (eval $ac_try) 2>&5
37376   ac_status=$?
37377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37378   (exit $ac_status); }; }; then
37379   glibcxx_cv_func__frexpf_use=yes
37380 else
37381   echo "$as_me: failed program was:" >&5
37382 sed 's/^/| /' conftest.$ac_ext >&5
37383
37384 glibcxx_cv_func__frexpf_use=no
37385 fi
37386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37387       ac_ext=c
37388 ac_cpp='$CPP $CPPFLAGS'
37389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37392
37393
37394 fi
37395
37396   fi
37397   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
37398 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
37399
37400     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37401
37402 for ac_func in _frexpf
37403 do
37404 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37405 echo "$as_me:$LINENO: checking for $ac_func" >&5
37406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37407 if eval "test \"\${$as_ac_var+set}\" = set"; then
37408   echo $ECHO_N "(cached) $ECHO_C" >&6
37409 else
37410   if test x$gcc_no_link = xyes; then
37411   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37413    { (exit 1); exit 1; }; }
37414 fi
37415 cat >conftest.$ac_ext <<_ACEOF
37416 /* confdefs.h.  */
37417 _ACEOF
37418 cat confdefs.h >>conftest.$ac_ext
37419 cat >>conftest.$ac_ext <<_ACEOF
37420 /* end confdefs.h.  */
37421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37422    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37423 #define $ac_func innocuous_$ac_func
37424
37425 /* System header to define __stub macros and hopefully few prototypes,
37426     which can conflict with char $ac_func (); below.
37427     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37428     <limits.h> exists even on freestanding compilers.  */
37429
37430 #ifdef __STDC__
37431 # include <limits.h>
37432 #else
37433 # include <assert.h>
37434 #endif
37435
37436 #undef $ac_func
37437
37438 /* Override any gcc2 internal prototype to avoid an error.  */
37439 #ifdef __cplusplus
37440 extern "C"
37441 {
37442 #endif
37443 /* We use char because int might match the return type of a gcc2
37444    builtin and then its argument prototype would still apply.  */
37445 char $ac_func ();
37446 /* The GNU C library defines this for functions which it implements
37447     to always fail with ENOSYS.  Some functions are actually named
37448     something starting with __ and the normal name is an alias.  */
37449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37450 choke me
37451 #else
37452 char (*f) () = $ac_func;
37453 #endif
37454 #ifdef __cplusplus
37455 }
37456 #endif
37457
37458 int
37459 main ()
37460 {
37461 return f != $ac_func;
37462   ;
37463   return 0;
37464 }
37465 _ACEOF
37466 rm -f conftest.$ac_objext conftest$ac_exeext
37467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37468   (eval $ac_link) 2>conftest.er1
37469   ac_status=$?
37470   grep -v '^ *+' conftest.er1 >conftest.err
37471   rm -f conftest.er1
37472   cat conftest.err >&5
37473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37474   (exit $ac_status); } &&
37475          { ac_try='test -z "$ac_c_werror_flag"
37476                          || test ! -s conftest.err'
37477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37478   (eval $ac_try) 2>&5
37479   ac_status=$?
37480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37481   (exit $ac_status); }; } &&
37482          { ac_try='test -s conftest$ac_exeext'
37483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37484   (eval $ac_try) 2>&5
37485   ac_status=$?
37486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37487   (exit $ac_status); }; }; then
37488   eval "$as_ac_var=yes"
37489 else
37490   echo "$as_me: failed program was:" >&5
37491 sed 's/^/| /' conftest.$ac_ext >&5
37492
37493 eval "$as_ac_var=no"
37494 fi
37495 rm -f conftest.err conftest.$ac_objext \
37496       conftest$ac_exeext conftest.$ac_ext
37497 fi
37498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37500 if test `eval echo '${'$as_ac_var'}'` = yes; then
37501   cat >>confdefs.h <<_ACEOF
37502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37503 _ACEOF
37504
37505 fi
37506 done
37507
37508     fi
37509   fi
37510
37511
37512
37513
37514
37515
37516   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
37517 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
37518   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37519     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
37520   echo $ECHO_N "(cached) $ECHO_C" >&6
37521 else
37522
37523
37524
37525       ac_ext=cc
37526 ac_cpp='$CXXCPP $CPPFLAGS'
37527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37530
37531       cat >conftest.$ac_ext <<_ACEOF
37532 /* confdefs.h.  */
37533 _ACEOF
37534 cat confdefs.h >>conftest.$ac_ext
37535 cat >>conftest.$ac_ext <<_ACEOF
37536 /* end confdefs.h.  */
37537 #include <math.h>
37538 int
37539 main ()
37540 {
37541  hypotf(0, 0);
37542   ;
37543   return 0;
37544 }
37545 _ACEOF
37546 rm -f conftest.$ac_objext
37547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37548   (eval $ac_compile) 2>conftest.er1
37549   ac_status=$?
37550   grep -v '^ *+' conftest.er1 >conftest.err
37551   rm -f conftest.er1
37552   cat conftest.err >&5
37553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37554   (exit $ac_status); } &&
37555          { ac_try='test -z "$ac_cxx_werror_flag"
37556                          || test ! -s conftest.err'
37557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37558   (eval $ac_try) 2>&5
37559   ac_status=$?
37560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37561   (exit $ac_status); }; } &&
37562          { ac_try='test -s conftest.$ac_objext'
37563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37564   (eval $ac_try) 2>&5
37565   ac_status=$?
37566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37567   (exit $ac_status); }; }; then
37568   glibcxx_cv_func_hypotf_use=yes
37569 else
37570   echo "$as_me: failed program was:" >&5
37571 sed 's/^/| /' conftest.$ac_ext >&5
37572
37573 glibcxx_cv_func_hypotf_use=no
37574 fi
37575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37576       ac_ext=c
37577 ac_cpp='$CPP $CPPFLAGS'
37578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37581
37582
37583 fi
37584
37585   fi
37586   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
37587 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
37588
37589   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37590
37591 for ac_func in hypotf
37592 do
37593 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37594 echo "$as_me:$LINENO: checking for $ac_func" >&5
37595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37596 if eval "test \"\${$as_ac_var+set}\" = set"; then
37597   echo $ECHO_N "(cached) $ECHO_C" >&6
37598 else
37599   if test x$gcc_no_link = xyes; then
37600   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37602    { (exit 1); exit 1; }; }
37603 fi
37604 cat >conftest.$ac_ext <<_ACEOF
37605 /* confdefs.h.  */
37606 _ACEOF
37607 cat confdefs.h >>conftest.$ac_ext
37608 cat >>conftest.$ac_ext <<_ACEOF
37609 /* end confdefs.h.  */
37610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37611    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37612 #define $ac_func innocuous_$ac_func
37613
37614 /* System header to define __stub macros and hopefully few prototypes,
37615     which can conflict with char $ac_func (); below.
37616     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37617     <limits.h> exists even on freestanding compilers.  */
37618
37619 #ifdef __STDC__
37620 # include <limits.h>
37621 #else
37622 # include <assert.h>
37623 #endif
37624
37625 #undef $ac_func
37626
37627 /* Override any gcc2 internal prototype to avoid an error.  */
37628 #ifdef __cplusplus
37629 extern "C"
37630 {
37631 #endif
37632 /* We use char because int might match the return type of a gcc2
37633    builtin and then its argument prototype would still apply.  */
37634 char $ac_func ();
37635 /* The GNU C library defines this for functions which it implements
37636     to always fail with ENOSYS.  Some functions are actually named
37637     something starting with __ and the normal name is an alias.  */
37638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37639 choke me
37640 #else
37641 char (*f) () = $ac_func;
37642 #endif
37643 #ifdef __cplusplus
37644 }
37645 #endif
37646
37647 int
37648 main ()
37649 {
37650 return f != $ac_func;
37651   ;
37652   return 0;
37653 }
37654 _ACEOF
37655 rm -f conftest.$ac_objext conftest$ac_exeext
37656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37657   (eval $ac_link) 2>conftest.er1
37658   ac_status=$?
37659   grep -v '^ *+' conftest.er1 >conftest.err
37660   rm -f conftest.er1
37661   cat conftest.err >&5
37662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37663   (exit $ac_status); } &&
37664          { ac_try='test -z "$ac_c_werror_flag"
37665                          || test ! -s conftest.err'
37666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37667   (eval $ac_try) 2>&5
37668   ac_status=$?
37669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37670   (exit $ac_status); }; } &&
37671          { ac_try='test -s conftest$ac_exeext'
37672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37673   (eval $ac_try) 2>&5
37674   ac_status=$?
37675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37676   (exit $ac_status); }; }; then
37677   eval "$as_ac_var=yes"
37678 else
37679   echo "$as_me: failed program was:" >&5
37680 sed 's/^/| /' conftest.$ac_ext >&5
37681
37682 eval "$as_ac_var=no"
37683 fi
37684 rm -f conftest.err conftest.$ac_objext \
37685       conftest$ac_exeext conftest.$ac_ext
37686 fi
37687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37688 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37689 if test `eval echo '${'$as_ac_var'}'` = yes; then
37690   cat >>confdefs.h <<_ACEOF
37691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37692 _ACEOF
37693
37694 fi
37695 done
37696
37697   else
37698
37699   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
37700 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
37701   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37702     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
37703   echo $ECHO_N "(cached) $ECHO_C" >&6
37704 else
37705
37706
37707
37708       ac_ext=cc
37709 ac_cpp='$CXXCPP $CPPFLAGS'
37710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37713
37714       cat >conftest.$ac_ext <<_ACEOF
37715 /* confdefs.h.  */
37716 _ACEOF
37717 cat confdefs.h >>conftest.$ac_ext
37718 cat >>conftest.$ac_ext <<_ACEOF
37719 /* end confdefs.h.  */
37720 #include <math.h>
37721 int
37722 main ()
37723 {
37724  _hypotf(0, 0);
37725   ;
37726   return 0;
37727 }
37728 _ACEOF
37729 rm -f conftest.$ac_objext
37730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37731   (eval $ac_compile) 2>conftest.er1
37732   ac_status=$?
37733   grep -v '^ *+' conftest.er1 >conftest.err
37734   rm -f conftest.er1
37735   cat conftest.err >&5
37736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37737   (exit $ac_status); } &&
37738          { ac_try='test -z "$ac_cxx_werror_flag"
37739                          || test ! -s conftest.err'
37740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37741   (eval $ac_try) 2>&5
37742   ac_status=$?
37743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37744   (exit $ac_status); }; } &&
37745          { ac_try='test -s conftest.$ac_objext'
37746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37747   (eval $ac_try) 2>&5
37748   ac_status=$?
37749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37750   (exit $ac_status); }; }; then
37751   glibcxx_cv_func__hypotf_use=yes
37752 else
37753   echo "$as_me: failed program was:" >&5
37754 sed 's/^/| /' conftest.$ac_ext >&5
37755
37756 glibcxx_cv_func__hypotf_use=no
37757 fi
37758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37759       ac_ext=c
37760 ac_cpp='$CPP $CPPFLAGS'
37761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37764
37765
37766 fi
37767
37768   fi
37769   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
37770 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
37771
37772     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37773
37774 for ac_func in _hypotf
37775 do
37776 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37777 echo "$as_me:$LINENO: checking for $ac_func" >&5
37778 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37779 if eval "test \"\${$as_ac_var+set}\" = set"; then
37780   echo $ECHO_N "(cached) $ECHO_C" >&6
37781 else
37782   if test x$gcc_no_link = xyes; then
37783   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37785    { (exit 1); exit 1; }; }
37786 fi
37787 cat >conftest.$ac_ext <<_ACEOF
37788 /* confdefs.h.  */
37789 _ACEOF
37790 cat confdefs.h >>conftest.$ac_ext
37791 cat >>conftest.$ac_ext <<_ACEOF
37792 /* end confdefs.h.  */
37793 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37794    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37795 #define $ac_func innocuous_$ac_func
37796
37797 /* System header to define __stub macros and hopefully few prototypes,
37798     which can conflict with char $ac_func (); below.
37799     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37800     <limits.h> exists even on freestanding compilers.  */
37801
37802 #ifdef __STDC__
37803 # include <limits.h>
37804 #else
37805 # include <assert.h>
37806 #endif
37807
37808 #undef $ac_func
37809
37810 /* Override any gcc2 internal prototype to avoid an error.  */
37811 #ifdef __cplusplus
37812 extern "C"
37813 {
37814 #endif
37815 /* We use char because int might match the return type of a gcc2
37816    builtin and then its argument prototype would still apply.  */
37817 char $ac_func ();
37818 /* The GNU C library defines this for functions which it implements
37819     to always fail with ENOSYS.  Some functions are actually named
37820     something starting with __ and the normal name is an alias.  */
37821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37822 choke me
37823 #else
37824 char (*f) () = $ac_func;
37825 #endif
37826 #ifdef __cplusplus
37827 }
37828 #endif
37829
37830 int
37831 main ()
37832 {
37833 return f != $ac_func;
37834   ;
37835   return 0;
37836 }
37837 _ACEOF
37838 rm -f conftest.$ac_objext conftest$ac_exeext
37839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37840   (eval $ac_link) 2>conftest.er1
37841   ac_status=$?
37842   grep -v '^ *+' conftest.er1 >conftest.err
37843   rm -f conftest.er1
37844   cat conftest.err >&5
37845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37846   (exit $ac_status); } &&
37847          { ac_try='test -z "$ac_c_werror_flag"
37848                          || test ! -s conftest.err'
37849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37850   (eval $ac_try) 2>&5
37851   ac_status=$?
37852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37853   (exit $ac_status); }; } &&
37854          { ac_try='test -s conftest$ac_exeext'
37855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37856   (eval $ac_try) 2>&5
37857   ac_status=$?
37858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37859   (exit $ac_status); }; }; then
37860   eval "$as_ac_var=yes"
37861 else
37862   echo "$as_me: failed program was:" >&5
37863 sed 's/^/| /' conftest.$ac_ext >&5
37864
37865 eval "$as_ac_var=no"
37866 fi
37867 rm -f conftest.err conftest.$ac_objext \
37868       conftest$ac_exeext conftest.$ac_ext
37869 fi
37870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37871 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37872 if test `eval echo '${'$as_ac_var'}'` = yes; then
37873   cat >>confdefs.h <<_ACEOF
37874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37875 _ACEOF
37876
37877 fi
37878 done
37879
37880     fi
37881   fi
37882
37883
37884
37885
37886
37887
37888   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
37889 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
37890   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37891     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
37892   echo $ECHO_N "(cached) $ECHO_C" >&6
37893 else
37894
37895
37896
37897       ac_ext=cc
37898 ac_cpp='$CXXCPP $CPPFLAGS'
37899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37902
37903       cat >conftest.$ac_ext <<_ACEOF
37904 /* confdefs.h.  */
37905 _ACEOF
37906 cat confdefs.h >>conftest.$ac_ext
37907 cat >>conftest.$ac_ext <<_ACEOF
37908 /* end confdefs.h.  */
37909 #include <math.h>
37910 int
37911 main ()
37912 {
37913  ldexpf(0, 0);
37914   ;
37915   return 0;
37916 }
37917 _ACEOF
37918 rm -f conftest.$ac_objext
37919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37920   (eval $ac_compile) 2>conftest.er1
37921   ac_status=$?
37922   grep -v '^ *+' conftest.er1 >conftest.err
37923   rm -f conftest.er1
37924   cat conftest.err >&5
37925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37926   (exit $ac_status); } &&
37927          { ac_try='test -z "$ac_cxx_werror_flag"
37928                          || test ! -s conftest.err'
37929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37930   (eval $ac_try) 2>&5
37931   ac_status=$?
37932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37933   (exit $ac_status); }; } &&
37934          { ac_try='test -s conftest.$ac_objext'
37935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37936   (eval $ac_try) 2>&5
37937   ac_status=$?
37938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37939   (exit $ac_status); }; }; then
37940   glibcxx_cv_func_ldexpf_use=yes
37941 else
37942   echo "$as_me: failed program was:" >&5
37943 sed 's/^/| /' conftest.$ac_ext >&5
37944
37945 glibcxx_cv_func_ldexpf_use=no
37946 fi
37947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37948       ac_ext=c
37949 ac_cpp='$CPP $CPPFLAGS'
37950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37953
37954
37955 fi
37956
37957   fi
37958   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
37959 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
37960
37961   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37962
37963 for ac_func in ldexpf
37964 do
37965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37966 echo "$as_me:$LINENO: checking for $ac_func" >&5
37967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37968 if eval "test \"\${$as_ac_var+set}\" = set"; then
37969   echo $ECHO_N "(cached) $ECHO_C" >&6
37970 else
37971   if test x$gcc_no_link = xyes; then
37972   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37974    { (exit 1); exit 1; }; }
37975 fi
37976 cat >conftest.$ac_ext <<_ACEOF
37977 /* confdefs.h.  */
37978 _ACEOF
37979 cat confdefs.h >>conftest.$ac_ext
37980 cat >>conftest.$ac_ext <<_ACEOF
37981 /* end confdefs.h.  */
37982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37983    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37984 #define $ac_func innocuous_$ac_func
37985
37986 /* System header to define __stub macros and hopefully few prototypes,
37987     which can conflict with char $ac_func (); below.
37988     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37989     <limits.h> exists even on freestanding compilers.  */
37990
37991 #ifdef __STDC__
37992 # include <limits.h>
37993 #else
37994 # include <assert.h>
37995 #endif
37996
37997 #undef $ac_func
37998
37999 /* Override any gcc2 internal prototype to avoid an error.  */
38000 #ifdef __cplusplus
38001 extern "C"
38002 {
38003 #endif
38004 /* We use char because int might match the return type of a gcc2
38005    builtin and then its argument prototype would still apply.  */
38006 char $ac_func ();
38007 /* The GNU C library defines this for functions which it implements
38008     to always fail with ENOSYS.  Some functions are actually named
38009     something starting with __ and the normal name is an alias.  */
38010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38011 choke me
38012 #else
38013 char (*f) () = $ac_func;
38014 #endif
38015 #ifdef __cplusplus
38016 }
38017 #endif
38018
38019 int
38020 main ()
38021 {
38022 return f != $ac_func;
38023   ;
38024   return 0;
38025 }
38026 _ACEOF
38027 rm -f conftest.$ac_objext conftest$ac_exeext
38028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38029   (eval $ac_link) 2>conftest.er1
38030   ac_status=$?
38031   grep -v '^ *+' conftest.er1 >conftest.err
38032   rm -f conftest.er1
38033   cat conftest.err >&5
38034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38035   (exit $ac_status); } &&
38036          { ac_try='test -z "$ac_c_werror_flag"
38037                          || test ! -s conftest.err'
38038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38039   (eval $ac_try) 2>&5
38040   ac_status=$?
38041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38042   (exit $ac_status); }; } &&
38043          { ac_try='test -s conftest$ac_exeext'
38044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38045   (eval $ac_try) 2>&5
38046   ac_status=$?
38047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38048   (exit $ac_status); }; }; then
38049   eval "$as_ac_var=yes"
38050 else
38051   echo "$as_me: failed program was:" >&5
38052 sed 's/^/| /' conftest.$ac_ext >&5
38053
38054 eval "$as_ac_var=no"
38055 fi
38056 rm -f conftest.err conftest.$ac_objext \
38057       conftest$ac_exeext conftest.$ac_ext
38058 fi
38059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38061 if test `eval echo '${'$as_ac_var'}'` = yes; then
38062   cat >>confdefs.h <<_ACEOF
38063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38064 _ACEOF
38065
38066 fi
38067 done
38068
38069   else
38070
38071   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
38072 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
38073   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
38074     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
38075   echo $ECHO_N "(cached) $ECHO_C" >&6
38076 else
38077
38078
38079
38080       ac_ext=cc
38081 ac_cpp='$CXXCPP $CPPFLAGS'
38082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38085
38086       cat >conftest.$ac_ext <<_ACEOF
38087 /* confdefs.h.  */
38088 _ACEOF
38089 cat confdefs.h >>conftest.$ac_ext
38090 cat >>conftest.$ac_ext <<_ACEOF
38091 /* end confdefs.h.  */
38092 #include <math.h>
38093 int
38094 main ()
38095 {
38096  _ldexpf(0, 0);
38097   ;
38098   return 0;
38099 }
38100 _ACEOF
38101 rm -f conftest.$ac_objext
38102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38103   (eval $ac_compile) 2>conftest.er1
38104   ac_status=$?
38105   grep -v '^ *+' conftest.er1 >conftest.err
38106   rm -f conftest.er1
38107   cat conftest.err >&5
38108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38109   (exit $ac_status); } &&
38110          { ac_try='test -z "$ac_cxx_werror_flag"
38111                          || test ! -s conftest.err'
38112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38113   (eval $ac_try) 2>&5
38114   ac_status=$?
38115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38116   (exit $ac_status); }; } &&
38117          { ac_try='test -s conftest.$ac_objext'
38118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38119   (eval $ac_try) 2>&5
38120   ac_status=$?
38121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38122   (exit $ac_status); }; }; then
38123   glibcxx_cv_func__ldexpf_use=yes
38124 else
38125   echo "$as_me: failed program was:" >&5
38126 sed 's/^/| /' conftest.$ac_ext >&5
38127
38128 glibcxx_cv_func__ldexpf_use=no
38129 fi
38130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38131       ac_ext=c
38132 ac_cpp='$CPP $CPPFLAGS'
38133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38136
38137
38138 fi
38139
38140   fi
38141   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
38142 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
38143
38144     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
38145
38146 for ac_func in _ldexpf
38147 do
38148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38149 echo "$as_me:$LINENO: checking for $ac_func" >&5
38150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38151 if eval "test \"\${$as_ac_var+set}\" = set"; then
38152   echo $ECHO_N "(cached) $ECHO_C" >&6
38153 else
38154   if test x$gcc_no_link = xyes; then
38155   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38157    { (exit 1); exit 1; }; }
38158 fi
38159 cat >conftest.$ac_ext <<_ACEOF
38160 /* confdefs.h.  */
38161 _ACEOF
38162 cat confdefs.h >>conftest.$ac_ext
38163 cat >>conftest.$ac_ext <<_ACEOF
38164 /* end confdefs.h.  */
38165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38166    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38167 #define $ac_func innocuous_$ac_func
38168
38169 /* System header to define __stub macros and hopefully few prototypes,
38170     which can conflict with char $ac_func (); below.
38171     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38172     <limits.h> exists even on freestanding compilers.  */
38173
38174 #ifdef __STDC__
38175 # include <limits.h>
38176 #else
38177 # include <assert.h>
38178 #endif
38179
38180 #undef $ac_func
38181
38182 /* Override any gcc2 internal prototype to avoid an error.  */
38183 #ifdef __cplusplus
38184 extern "C"
38185 {
38186 #endif
38187 /* We use char because int might match the return type of a gcc2
38188    builtin and then its argument prototype would still apply.  */
38189 char $ac_func ();
38190 /* The GNU C library defines this for functions which it implements
38191     to always fail with ENOSYS.  Some functions are actually named
38192     something starting with __ and the normal name is an alias.  */
38193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38194 choke me
38195 #else
38196 char (*f) () = $ac_func;
38197 #endif
38198 #ifdef __cplusplus
38199 }
38200 #endif
38201
38202 int
38203 main ()
38204 {
38205 return f != $ac_func;
38206   ;
38207   return 0;
38208 }
38209 _ACEOF
38210 rm -f conftest.$ac_objext conftest$ac_exeext
38211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38212   (eval $ac_link) 2>conftest.er1
38213   ac_status=$?
38214   grep -v '^ *+' conftest.er1 >conftest.err
38215   rm -f conftest.er1
38216   cat conftest.err >&5
38217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38218   (exit $ac_status); } &&
38219          { ac_try='test -z "$ac_c_werror_flag"
38220                          || test ! -s conftest.err'
38221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38222   (eval $ac_try) 2>&5
38223   ac_status=$?
38224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38225   (exit $ac_status); }; } &&
38226          { ac_try='test -s conftest$ac_exeext'
38227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38228   (eval $ac_try) 2>&5
38229   ac_status=$?
38230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38231   (exit $ac_status); }; }; then
38232   eval "$as_ac_var=yes"
38233 else
38234   echo "$as_me: failed program was:" >&5
38235 sed 's/^/| /' conftest.$ac_ext >&5
38236
38237 eval "$as_ac_var=no"
38238 fi
38239 rm -f conftest.err conftest.$ac_objext \
38240       conftest$ac_exeext conftest.$ac_ext
38241 fi
38242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38244 if test `eval echo '${'$as_ac_var'}'` = yes; then
38245   cat >>confdefs.h <<_ACEOF
38246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38247 _ACEOF
38248
38249 fi
38250 done
38251
38252     fi
38253   fi
38254
38255
38256
38257
38258
38259
38260   echo "$as_me:$LINENO: checking for logf declaration" >&5
38261 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
38262   if test x${glibcxx_cv_func_logf_use+set} != xset; then
38263     if test "${glibcxx_cv_func_logf_use+set}" = set; then
38264   echo $ECHO_N "(cached) $ECHO_C" >&6
38265 else
38266
38267
38268
38269       ac_ext=cc
38270 ac_cpp='$CXXCPP $CPPFLAGS'
38271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38274
38275       cat >conftest.$ac_ext <<_ACEOF
38276 /* confdefs.h.  */
38277 _ACEOF
38278 cat confdefs.h >>conftest.$ac_ext
38279 cat >>conftest.$ac_ext <<_ACEOF
38280 /* end confdefs.h.  */
38281 #include <math.h>
38282                       #ifdef HAVE_IEEEFP_H
38283                       #include <ieeefp.h>
38284                       #endif
38285
38286 int
38287 main ()
38288 {
38289  logf(0);
38290   ;
38291   return 0;
38292 }
38293 _ACEOF
38294 rm -f conftest.$ac_objext
38295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38296   (eval $ac_compile) 2>conftest.er1
38297   ac_status=$?
38298   grep -v '^ *+' conftest.er1 >conftest.err
38299   rm -f conftest.er1
38300   cat conftest.err >&5
38301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38302   (exit $ac_status); } &&
38303          { ac_try='test -z "$ac_cxx_werror_flag"
38304                          || test ! -s conftest.err'
38305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38306   (eval $ac_try) 2>&5
38307   ac_status=$?
38308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38309   (exit $ac_status); }; } &&
38310          { ac_try='test -s conftest.$ac_objext'
38311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38312   (eval $ac_try) 2>&5
38313   ac_status=$?
38314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38315   (exit $ac_status); }; }; then
38316   glibcxx_cv_func_logf_use=yes
38317 else
38318   echo "$as_me: failed program was:" >&5
38319 sed 's/^/| /' conftest.$ac_ext >&5
38320
38321 glibcxx_cv_func_logf_use=no
38322 fi
38323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38324       ac_ext=c
38325 ac_cpp='$CPP $CPPFLAGS'
38326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38329
38330
38331 fi
38332
38333   fi
38334   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
38335 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
38336
38337   if test x$glibcxx_cv_func_logf_use = x"yes"; then
38338
38339 for ac_func in logf
38340 do
38341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38342 echo "$as_me:$LINENO: checking for $ac_func" >&5
38343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38344 if eval "test \"\${$as_ac_var+set}\" = set"; then
38345   echo $ECHO_N "(cached) $ECHO_C" >&6
38346 else
38347   if test x$gcc_no_link = xyes; then
38348   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38350    { (exit 1); exit 1; }; }
38351 fi
38352 cat >conftest.$ac_ext <<_ACEOF
38353 /* confdefs.h.  */
38354 _ACEOF
38355 cat confdefs.h >>conftest.$ac_ext
38356 cat >>conftest.$ac_ext <<_ACEOF
38357 /* end confdefs.h.  */
38358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38359    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38360 #define $ac_func innocuous_$ac_func
38361
38362 /* System header to define __stub macros and hopefully few prototypes,
38363     which can conflict with char $ac_func (); below.
38364     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38365     <limits.h> exists even on freestanding compilers.  */
38366
38367 #ifdef __STDC__
38368 # include <limits.h>
38369 #else
38370 # include <assert.h>
38371 #endif
38372
38373 #undef $ac_func
38374
38375 /* Override any gcc2 internal prototype to avoid an error.  */
38376 #ifdef __cplusplus
38377 extern "C"
38378 {
38379 #endif
38380 /* We use char because int might match the return type of a gcc2
38381    builtin and then its argument prototype would still apply.  */
38382 char $ac_func ();
38383 /* The GNU C library defines this for functions which it implements
38384     to always fail with ENOSYS.  Some functions are actually named
38385     something starting with __ and the normal name is an alias.  */
38386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38387 choke me
38388 #else
38389 char (*f) () = $ac_func;
38390 #endif
38391 #ifdef __cplusplus
38392 }
38393 #endif
38394
38395 int
38396 main ()
38397 {
38398 return f != $ac_func;
38399   ;
38400   return 0;
38401 }
38402 _ACEOF
38403 rm -f conftest.$ac_objext conftest$ac_exeext
38404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38405   (eval $ac_link) 2>conftest.er1
38406   ac_status=$?
38407   grep -v '^ *+' conftest.er1 >conftest.err
38408   rm -f conftest.er1
38409   cat conftest.err >&5
38410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38411   (exit $ac_status); } &&
38412          { ac_try='test -z "$ac_c_werror_flag"
38413                          || test ! -s conftest.err'
38414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38415   (eval $ac_try) 2>&5
38416   ac_status=$?
38417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38418   (exit $ac_status); }; } &&
38419          { ac_try='test -s conftest$ac_exeext'
38420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38421   (eval $ac_try) 2>&5
38422   ac_status=$?
38423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38424   (exit $ac_status); }; }; then
38425   eval "$as_ac_var=yes"
38426 else
38427   echo "$as_me: failed program was:" >&5
38428 sed 's/^/| /' conftest.$ac_ext >&5
38429
38430 eval "$as_ac_var=no"
38431 fi
38432 rm -f conftest.err conftest.$ac_objext \
38433       conftest$ac_exeext conftest.$ac_ext
38434 fi
38435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38437 if test `eval echo '${'$as_ac_var'}'` = yes; then
38438   cat >>confdefs.h <<_ACEOF
38439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38440 _ACEOF
38441
38442 fi
38443 done
38444
38445   else
38446
38447   echo "$as_me:$LINENO: checking for _logf declaration" >&5
38448 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
38449   if test x${glibcxx_cv_func__logf_use+set} != xset; then
38450     if test "${glibcxx_cv_func__logf_use+set}" = set; then
38451   echo $ECHO_N "(cached) $ECHO_C" >&6
38452 else
38453
38454
38455
38456       ac_ext=cc
38457 ac_cpp='$CXXCPP $CPPFLAGS'
38458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38461
38462       cat >conftest.$ac_ext <<_ACEOF
38463 /* confdefs.h.  */
38464 _ACEOF
38465 cat confdefs.h >>conftest.$ac_ext
38466 cat >>conftest.$ac_ext <<_ACEOF
38467 /* end confdefs.h.  */
38468 #include <math.h>
38469                       #ifdef HAVE_IEEEFP_H
38470                       #include <ieeefp.h>
38471                       #endif
38472
38473 int
38474 main ()
38475 {
38476  _logf(0);
38477   ;
38478   return 0;
38479 }
38480 _ACEOF
38481 rm -f conftest.$ac_objext
38482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38483   (eval $ac_compile) 2>conftest.er1
38484   ac_status=$?
38485   grep -v '^ *+' conftest.er1 >conftest.err
38486   rm -f conftest.er1
38487   cat conftest.err >&5
38488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38489   (exit $ac_status); } &&
38490          { ac_try='test -z "$ac_cxx_werror_flag"
38491                          || test ! -s conftest.err'
38492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38493   (eval $ac_try) 2>&5
38494   ac_status=$?
38495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38496   (exit $ac_status); }; } &&
38497          { ac_try='test -s conftest.$ac_objext'
38498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38499   (eval $ac_try) 2>&5
38500   ac_status=$?
38501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38502   (exit $ac_status); }; }; then
38503   glibcxx_cv_func__logf_use=yes
38504 else
38505   echo "$as_me: failed program was:" >&5
38506 sed 's/^/| /' conftest.$ac_ext >&5
38507
38508 glibcxx_cv_func__logf_use=no
38509 fi
38510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38511       ac_ext=c
38512 ac_cpp='$CPP $CPPFLAGS'
38513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38516
38517
38518 fi
38519
38520   fi
38521   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
38522 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
38523
38524     if test x$glibcxx_cv_func__logf_use = x"yes"; then
38525
38526 for ac_func in _logf
38527 do
38528 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38529 echo "$as_me:$LINENO: checking for $ac_func" >&5
38530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38531 if eval "test \"\${$as_ac_var+set}\" = set"; then
38532   echo $ECHO_N "(cached) $ECHO_C" >&6
38533 else
38534   if test x$gcc_no_link = xyes; then
38535   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38537    { (exit 1); exit 1; }; }
38538 fi
38539 cat >conftest.$ac_ext <<_ACEOF
38540 /* confdefs.h.  */
38541 _ACEOF
38542 cat confdefs.h >>conftest.$ac_ext
38543 cat >>conftest.$ac_ext <<_ACEOF
38544 /* end confdefs.h.  */
38545 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38546    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38547 #define $ac_func innocuous_$ac_func
38548
38549 /* System header to define __stub macros and hopefully few prototypes,
38550     which can conflict with char $ac_func (); below.
38551     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38552     <limits.h> exists even on freestanding compilers.  */
38553
38554 #ifdef __STDC__
38555 # include <limits.h>
38556 #else
38557 # include <assert.h>
38558 #endif
38559
38560 #undef $ac_func
38561
38562 /* Override any gcc2 internal prototype to avoid an error.  */
38563 #ifdef __cplusplus
38564 extern "C"
38565 {
38566 #endif
38567 /* We use char because int might match the return type of a gcc2
38568    builtin and then its argument prototype would still apply.  */
38569 char $ac_func ();
38570 /* The GNU C library defines this for functions which it implements
38571     to always fail with ENOSYS.  Some functions are actually named
38572     something starting with __ and the normal name is an alias.  */
38573 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38574 choke me
38575 #else
38576 char (*f) () = $ac_func;
38577 #endif
38578 #ifdef __cplusplus
38579 }
38580 #endif
38581
38582 int
38583 main ()
38584 {
38585 return f != $ac_func;
38586   ;
38587   return 0;
38588 }
38589 _ACEOF
38590 rm -f conftest.$ac_objext conftest$ac_exeext
38591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38592   (eval $ac_link) 2>conftest.er1
38593   ac_status=$?
38594   grep -v '^ *+' conftest.er1 >conftest.err
38595   rm -f conftest.er1
38596   cat conftest.err >&5
38597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38598   (exit $ac_status); } &&
38599          { ac_try='test -z "$ac_c_werror_flag"
38600                          || test ! -s conftest.err'
38601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38602   (eval $ac_try) 2>&5
38603   ac_status=$?
38604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38605   (exit $ac_status); }; } &&
38606          { ac_try='test -s conftest$ac_exeext'
38607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38608   (eval $ac_try) 2>&5
38609   ac_status=$?
38610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38611   (exit $ac_status); }; }; then
38612   eval "$as_ac_var=yes"
38613 else
38614   echo "$as_me: failed program was:" >&5
38615 sed 's/^/| /' conftest.$ac_ext >&5
38616
38617 eval "$as_ac_var=no"
38618 fi
38619 rm -f conftest.err conftest.$ac_objext \
38620       conftest$ac_exeext conftest.$ac_ext
38621 fi
38622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38623 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38624 if test `eval echo '${'$as_ac_var'}'` = yes; then
38625   cat >>confdefs.h <<_ACEOF
38626 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38627 _ACEOF
38628
38629 fi
38630 done
38631
38632     fi
38633   fi
38634
38635
38636
38637
38638
38639
38640   echo "$as_me:$LINENO: checking for log10f declaration" >&5
38641 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
38642   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
38643     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
38644   echo $ECHO_N "(cached) $ECHO_C" >&6
38645 else
38646
38647
38648
38649       ac_ext=cc
38650 ac_cpp='$CXXCPP $CPPFLAGS'
38651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38654
38655       cat >conftest.$ac_ext <<_ACEOF
38656 /* confdefs.h.  */
38657 _ACEOF
38658 cat confdefs.h >>conftest.$ac_ext
38659 cat >>conftest.$ac_ext <<_ACEOF
38660 /* end confdefs.h.  */
38661 #include <math.h>
38662                       #ifdef HAVE_IEEEFP_H
38663                       #include <ieeefp.h>
38664                       #endif
38665
38666 int
38667 main ()
38668 {
38669  log10f(0);
38670   ;
38671   return 0;
38672 }
38673 _ACEOF
38674 rm -f conftest.$ac_objext
38675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38676   (eval $ac_compile) 2>conftest.er1
38677   ac_status=$?
38678   grep -v '^ *+' conftest.er1 >conftest.err
38679   rm -f conftest.er1
38680   cat conftest.err >&5
38681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38682   (exit $ac_status); } &&
38683          { ac_try='test -z "$ac_cxx_werror_flag"
38684                          || test ! -s conftest.err'
38685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38686   (eval $ac_try) 2>&5
38687   ac_status=$?
38688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38689   (exit $ac_status); }; } &&
38690          { ac_try='test -s conftest.$ac_objext'
38691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38692   (eval $ac_try) 2>&5
38693   ac_status=$?
38694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38695   (exit $ac_status); }; }; then
38696   glibcxx_cv_func_log10f_use=yes
38697 else
38698   echo "$as_me: failed program was:" >&5
38699 sed 's/^/| /' conftest.$ac_ext >&5
38700
38701 glibcxx_cv_func_log10f_use=no
38702 fi
38703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38704       ac_ext=c
38705 ac_cpp='$CPP $CPPFLAGS'
38706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38709
38710
38711 fi
38712
38713   fi
38714   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
38715 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
38716
38717   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38718
38719 for ac_func in log10f
38720 do
38721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38722 echo "$as_me:$LINENO: checking for $ac_func" >&5
38723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38724 if eval "test \"\${$as_ac_var+set}\" = set"; then
38725   echo $ECHO_N "(cached) $ECHO_C" >&6
38726 else
38727   if test x$gcc_no_link = xyes; then
38728   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38730    { (exit 1); exit 1; }; }
38731 fi
38732 cat >conftest.$ac_ext <<_ACEOF
38733 /* confdefs.h.  */
38734 _ACEOF
38735 cat confdefs.h >>conftest.$ac_ext
38736 cat >>conftest.$ac_ext <<_ACEOF
38737 /* end confdefs.h.  */
38738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38739    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38740 #define $ac_func innocuous_$ac_func
38741
38742 /* System header to define __stub macros and hopefully few prototypes,
38743     which can conflict with char $ac_func (); below.
38744     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38745     <limits.h> exists even on freestanding compilers.  */
38746
38747 #ifdef __STDC__
38748 # include <limits.h>
38749 #else
38750 # include <assert.h>
38751 #endif
38752
38753 #undef $ac_func
38754
38755 /* Override any gcc2 internal prototype to avoid an error.  */
38756 #ifdef __cplusplus
38757 extern "C"
38758 {
38759 #endif
38760 /* We use char because int might match the return type of a gcc2
38761    builtin and then its argument prototype would still apply.  */
38762 char $ac_func ();
38763 /* The GNU C library defines this for functions which it implements
38764     to always fail with ENOSYS.  Some functions are actually named
38765     something starting with __ and the normal name is an alias.  */
38766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38767 choke me
38768 #else
38769 char (*f) () = $ac_func;
38770 #endif
38771 #ifdef __cplusplus
38772 }
38773 #endif
38774
38775 int
38776 main ()
38777 {
38778 return f != $ac_func;
38779   ;
38780   return 0;
38781 }
38782 _ACEOF
38783 rm -f conftest.$ac_objext conftest$ac_exeext
38784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38785   (eval $ac_link) 2>conftest.er1
38786   ac_status=$?
38787   grep -v '^ *+' conftest.er1 >conftest.err
38788   rm -f conftest.er1
38789   cat conftest.err >&5
38790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38791   (exit $ac_status); } &&
38792          { ac_try='test -z "$ac_c_werror_flag"
38793                          || test ! -s conftest.err'
38794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38795   (eval $ac_try) 2>&5
38796   ac_status=$?
38797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38798   (exit $ac_status); }; } &&
38799          { ac_try='test -s conftest$ac_exeext'
38800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38801   (eval $ac_try) 2>&5
38802   ac_status=$?
38803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38804   (exit $ac_status); }; }; then
38805   eval "$as_ac_var=yes"
38806 else
38807   echo "$as_me: failed program was:" >&5
38808 sed 's/^/| /' conftest.$ac_ext >&5
38809
38810 eval "$as_ac_var=no"
38811 fi
38812 rm -f conftest.err conftest.$ac_objext \
38813       conftest$ac_exeext conftest.$ac_ext
38814 fi
38815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38816 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38817 if test `eval echo '${'$as_ac_var'}'` = yes; then
38818   cat >>confdefs.h <<_ACEOF
38819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38820 _ACEOF
38821
38822 fi
38823 done
38824
38825   else
38826
38827   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
38828 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
38829   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38830     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
38831   echo $ECHO_N "(cached) $ECHO_C" >&6
38832 else
38833
38834
38835
38836       ac_ext=cc
38837 ac_cpp='$CXXCPP $CPPFLAGS'
38838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38841
38842       cat >conftest.$ac_ext <<_ACEOF
38843 /* confdefs.h.  */
38844 _ACEOF
38845 cat confdefs.h >>conftest.$ac_ext
38846 cat >>conftest.$ac_ext <<_ACEOF
38847 /* end confdefs.h.  */
38848 #include <math.h>
38849                       #ifdef HAVE_IEEEFP_H
38850                       #include <ieeefp.h>
38851                       #endif
38852
38853 int
38854 main ()
38855 {
38856  _log10f(0);
38857   ;
38858   return 0;
38859 }
38860 _ACEOF
38861 rm -f conftest.$ac_objext
38862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38863   (eval $ac_compile) 2>conftest.er1
38864   ac_status=$?
38865   grep -v '^ *+' conftest.er1 >conftest.err
38866   rm -f conftest.er1
38867   cat conftest.err >&5
38868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38869   (exit $ac_status); } &&
38870          { ac_try='test -z "$ac_cxx_werror_flag"
38871                          || test ! -s conftest.err'
38872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38873   (eval $ac_try) 2>&5
38874   ac_status=$?
38875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38876   (exit $ac_status); }; } &&
38877          { ac_try='test -s conftest.$ac_objext'
38878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38879   (eval $ac_try) 2>&5
38880   ac_status=$?
38881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38882   (exit $ac_status); }; }; then
38883   glibcxx_cv_func__log10f_use=yes
38884 else
38885   echo "$as_me: failed program was:" >&5
38886 sed 's/^/| /' conftest.$ac_ext >&5
38887
38888 glibcxx_cv_func__log10f_use=no
38889 fi
38890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38891       ac_ext=c
38892 ac_cpp='$CPP $CPPFLAGS'
38893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38896
38897
38898 fi
38899
38900   fi
38901   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
38902 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
38903
38904     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38905
38906 for ac_func in _log10f
38907 do
38908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38909 echo "$as_me:$LINENO: checking for $ac_func" >&5
38910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38911 if eval "test \"\${$as_ac_var+set}\" = set"; then
38912   echo $ECHO_N "(cached) $ECHO_C" >&6
38913 else
38914   if test x$gcc_no_link = xyes; then
38915   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38917    { (exit 1); exit 1; }; }
38918 fi
38919 cat >conftest.$ac_ext <<_ACEOF
38920 /* confdefs.h.  */
38921 _ACEOF
38922 cat confdefs.h >>conftest.$ac_ext
38923 cat >>conftest.$ac_ext <<_ACEOF
38924 /* end confdefs.h.  */
38925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38926    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38927 #define $ac_func innocuous_$ac_func
38928
38929 /* System header to define __stub macros and hopefully few prototypes,
38930     which can conflict with char $ac_func (); below.
38931     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38932     <limits.h> exists even on freestanding compilers.  */
38933
38934 #ifdef __STDC__
38935 # include <limits.h>
38936 #else
38937 # include <assert.h>
38938 #endif
38939
38940 #undef $ac_func
38941
38942 /* Override any gcc2 internal prototype to avoid an error.  */
38943 #ifdef __cplusplus
38944 extern "C"
38945 {
38946 #endif
38947 /* We use char because int might match the return type of a gcc2
38948    builtin and then its argument prototype would still apply.  */
38949 char $ac_func ();
38950 /* The GNU C library defines this for functions which it implements
38951     to always fail with ENOSYS.  Some functions are actually named
38952     something starting with __ and the normal name is an alias.  */
38953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38954 choke me
38955 #else
38956 char (*f) () = $ac_func;
38957 #endif
38958 #ifdef __cplusplus
38959 }
38960 #endif
38961
38962 int
38963 main ()
38964 {
38965 return f != $ac_func;
38966   ;
38967   return 0;
38968 }
38969 _ACEOF
38970 rm -f conftest.$ac_objext conftest$ac_exeext
38971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38972   (eval $ac_link) 2>conftest.er1
38973   ac_status=$?
38974   grep -v '^ *+' conftest.er1 >conftest.err
38975   rm -f conftest.er1
38976   cat conftest.err >&5
38977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38978   (exit $ac_status); } &&
38979          { ac_try='test -z "$ac_c_werror_flag"
38980                          || test ! -s conftest.err'
38981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38982   (eval $ac_try) 2>&5
38983   ac_status=$?
38984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38985   (exit $ac_status); }; } &&
38986          { ac_try='test -s conftest$ac_exeext'
38987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38988   (eval $ac_try) 2>&5
38989   ac_status=$?
38990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38991   (exit $ac_status); }; }; then
38992   eval "$as_ac_var=yes"
38993 else
38994   echo "$as_me: failed program was:" >&5
38995 sed 's/^/| /' conftest.$ac_ext >&5
38996
38997 eval "$as_ac_var=no"
38998 fi
38999 rm -f conftest.err conftest.$ac_objext \
39000       conftest$ac_exeext conftest.$ac_ext
39001 fi
39002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39004 if test `eval echo '${'$as_ac_var'}'` = yes; then
39005   cat >>confdefs.h <<_ACEOF
39006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39007 _ACEOF
39008
39009 fi
39010 done
39011
39012     fi
39013   fi
39014
39015
39016
39017
39018
39019
39020   echo "$as_me:$LINENO: checking for modff declaration" >&5
39021 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
39022   if test x${glibcxx_cv_func_modff_use+set} != xset; then
39023     if test "${glibcxx_cv_func_modff_use+set}" = set; then
39024   echo $ECHO_N "(cached) $ECHO_C" >&6
39025 else
39026
39027
39028
39029       ac_ext=cc
39030 ac_cpp='$CXXCPP $CPPFLAGS'
39031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39034
39035       cat >conftest.$ac_ext <<_ACEOF
39036 /* confdefs.h.  */
39037 _ACEOF
39038 cat confdefs.h >>conftest.$ac_ext
39039 cat >>conftest.$ac_ext <<_ACEOF
39040 /* end confdefs.h.  */
39041 #include <math.h>
39042 int
39043 main ()
39044 {
39045  modff(0, 0);
39046   ;
39047   return 0;
39048 }
39049 _ACEOF
39050 rm -f conftest.$ac_objext
39051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39052   (eval $ac_compile) 2>conftest.er1
39053   ac_status=$?
39054   grep -v '^ *+' conftest.er1 >conftest.err
39055   rm -f conftest.er1
39056   cat conftest.err >&5
39057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39058   (exit $ac_status); } &&
39059          { ac_try='test -z "$ac_cxx_werror_flag"
39060                          || test ! -s conftest.err'
39061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39062   (eval $ac_try) 2>&5
39063   ac_status=$?
39064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39065   (exit $ac_status); }; } &&
39066          { ac_try='test -s conftest.$ac_objext'
39067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39068   (eval $ac_try) 2>&5
39069   ac_status=$?
39070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39071   (exit $ac_status); }; }; then
39072   glibcxx_cv_func_modff_use=yes
39073 else
39074   echo "$as_me: failed program was:" >&5
39075 sed 's/^/| /' conftest.$ac_ext >&5
39076
39077 glibcxx_cv_func_modff_use=no
39078 fi
39079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39080       ac_ext=c
39081 ac_cpp='$CPP $CPPFLAGS'
39082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39085
39086
39087 fi
39088
39089   fi
39090   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
39091 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
39092
39093   if test x$glibcxx_cv_func_modff_use = x"yes"; then
39094
39095 for ac_func in modff
39096 do
39097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39098 echo "$as_me:$LINENO: checking for $ac_func" >&5
39099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39100 if eval "test \"\${$as_ac_var+set}\" = set"; then
39101   echo $ECHO_N "(cached) $ECHO_C" >&6
39102 else
39103   if test x$gcc_no_link = xyes; then
39104   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39106    { (exit 1); exit 1; }; }
39107 fi
39108 cat >conftest.$ac_ext <<_ACEOF
39109 /* confdefs.h.  */
39110 _ACEOF
39111 cat confdefs.h >>conftest.$ac_ext
39112 cat >>conftest.$ac_ext <<_ACEOF
39113 /* end confdefs.h.  */
39114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39115    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39116 #define $ac_func innocuous_$ac_func
39117
39118 /* System header to define __stub macros and hopefully few prototypes,
39119     which can conflict with char $ac_func (); below.
39120     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39121     <limits.h> exists even on freestanding compilers.  */
39122
39123 #ifdef __STDC__
39124 # include <limits.h>
39125 #else
39126 # include <assert.h>
39127 #endif
39128
39129 #undef $ac_func
39130
39131 /* Override any gcc2 internal prototype to avoid an error.  */
39132 #ifdef __cplusplus
39133 extern "C"
39134 {
39135 #endif
39136 /* We use char because int might match the return type of a gcc2
39137    builtin and then its argument prototype would still apply.  */
39138 char $ac_func ();
39139 /* The GNU C library defines this for functions which it implements
39140     to always fail with ENOSYS.  Some functions are actually named
39141     something starting with __ and the normal name is an alias.  */
39142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39143 choke me
39144 #else
39145 char (*f) () = $ac_func;
39146 #endif
39147 #ifdef __cplusplus
39148 }
39149 #endif
39150
39151 int
39152 main ()
39153 {
39154 return f != $ac_func;
39155   ;
39156   return 0;
39157 }
39158 _ACEOF
39159 rm -f conftest.$ac_objext conftest$ac_exeext
39160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39161   (eval $ac_link) 2>conftest.er1
39162   ac_status=$?
39163   grep -v '^ *+' conftest.er1 >conftest.err
39164   rm -f conftest.er1
39165   cat conftest.err >&5
39166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39167   (exit $ac_status); } &&
39168          { ac_try='test -z "$ac_c_werror_flag"
39169                          || test ! -s conftest.err'
39170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39171   (eval $ac_try) 2>&5
39172   ac_status=$?
39173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39174   (exit $ac_status); }; } &&
39175          { ac_try='test -s conftest$ac_exeext'
39176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39177   (eval $ac_try) 2>&5
39178   ac_status=$?
39179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39180   (exit $ac_status); }; }; then
39181   eval "$as_ac_var=yes"
39182 else
39183   echo "$as_me: failed program was:" >&5
39184 sed 's/^/| /' conftest.$ac_ext >&5
39185
39186 eval "$as_ac_var=no"
39187 fi
39188 rm -f conftest.err conftest.$ac_objext \
39189       conftest$ac_exeext conftest.$ac_ext
39190 fi
39191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39193 if test `eval echo '${'$as_ac_var'}'` = yes; then
39194   cat >>confdefs.h <<_ACEOF
39195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39196 _ACEOF
39197
39198 fi
39199 done
39200
39201   else
39202
39203   echo "$as_me:$LINENO: checking for _modff declaration" >&5
39204 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
39205   if test x${glibcxx_cv_func__modff_use+set} != xset; then
39206     if test "${glibcxx_cv_func__modff_use+set}" = set; then
39207   echo $ECHO_N "(cached) $ECHO_C" >&6
39208 else
39209
39210
39211
39212       ac_ext=cc
39213 ac_cpp='$CXXCPP $CPPFLAGS'
39214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39217
39218       cat >conftest.$ac_ext <<_ACEOF
39219 /* confdefs.h.  */
39220 _ACEOF
39221 cat confdefs.h >>conftest.$ac_ext
39222 cat >>conftest.$ac_ext <<_ACEOF
39223 /* end confdefs.h.  */
39224 #include <math.h>
39225 int
39226 main ()
39227 {
39228  _modff(0, 0);
39229   ;
39230   return 0;
39231 }
39232 _ACEOF
39233 rm -f conftest.$ac_objext
39234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39235   (eval $ac_compile) 2>conftest.er1
39236   ac_status=$?
39237   grep -v '^ *+' conftest.er1 >conftest.err
39238   rm -f conftest.er1
39239   cat conftest.err >&5
39240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39241   (exit $ac_status); } &&
39242          { ac_try='test -z "$ac_cxx_werror_flag"
39243                          || test ! -s conftest.err'
39244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39245   (eval $ac_try) 2>&5
39246   ac_status=$?
39247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39248   (exit $ac_status); }; } &&
39249          { ac_try='test -s conftest.$ac_objext'
39250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39251   (eval $ac_try) 2>&5
39252   ac_status=$?
39253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39254   (exit $ac_status); }; }; then
39255   glibcxx_cv_func__modff_use=yes
39256 else
39257   echo "$as_me: failed program was:" >&5
39258 sed 's/^/| /' conftest.$ac_ext >&5
39259
39260 glibcxx_cv_func__modff_use=no
39261 fi
39262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39263       ac_ext=c
39264 ac_cpp='$CPP $CPPFLAGS'
39265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39268
39269
39270 fi
39271
39272   fi
39273   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
39274 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
39275
39276     if test x$glibcxx_cv_func__modff_use = x"yes"; then
39277
39278 for ac_func in _modff
39279 do
39280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39281 echo "$as_me:$LINENO: checking for $ac_func" >&5
39282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39283 if eval "test \"\${$as_ac_var+set}\" = set"; then
39284   echo $ECHO_N "(cached) $ECHO_C" >&6
39285 else
39286   if test x$gcc_no_link = xyes; then
39287   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39289    { (exit 1); exit 1; }; }
39290 fi
39291 cat >conftest.$ac_ext <<_ACEOF
39292 /* confdefs.h.  */
39293 _ACEOF
39294 cat confdefs.h >>conftest.$ac_ext
39295 cat >>conftest.$ac_ext <<_ACEOF
39296 /* end confdefs.h.  */
39297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39298    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39299 #define $ac_func innocuous_$ac_func
39300
39301 /* System header to define __stub macros and hopefully few prototypes,
39302     which can conflict with char $ac_func (); below.
39303     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39304     <limits.h> exists even on freestanding compilers.  */
39305
39306 #ifdef __STDC__
39307 # include <limits.h>
39308 #else
39309 # include <assert.h>
39310 #endif
39311
39312 #undef $ac_func
39313
39314 /* Override any gcc2 internal prototype to avoid an error.  */
39315 #ifdef __cplusplus
39316 extern "C"
39317 {
39318 #endif
39319 /* We use char because int might match the return type of a gcc2
39320    builtin and then its argument prototype would still apply.  */
39321 char $ac_func ();
39322 /* The GNU C library defines this for functions which it implements
39323     to always fail with ENOSYS.  Some functions are actually named
39324     something starting with __ and the normal name is an alias.  */
39325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39326 choke me
39327 #else
39328 char (*f) () = $ac_func;
39329 #endif
39330 #ifdef __cplusplus
39331 }
39332 #endif
39333
39334 int
39335 main ()
39336 {
39337 return f != $ac_func;
39338   ;
39339   return 0;
39340 }
39341 _ACEOF
39342 rm -f conftest.$ac_objext conftest$ac_exeext
39343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39344   (eval $ac_link) 2>conftest.er1
39345   ac_status=$?
39346   grep -v '^ *+' conftest.er1 >conftest.err
39347   rm -f conftest.er1
39348   cat conftest.err >&5
39349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39350   (exit $ac_status); } &&
39351          { ac_try='test -z "$ac_c_werror_flag"
39352                          || test ! -s conftest.err'
39353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39354   (eval $ac_try) 2>&5
39355   ac_status=$?
39356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39357   (exit $ac_status); }; } &&
39358          { ac_try='test -s conftest$ac_exeext'
39359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39360   (eval $ac_try) 2>&5
39361   ac_status=$?
39362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39363   (exit $ac_status); }; }; then
39364   eval "$as_ac_var=yes"
39365 else
39366   echo "$as_me: failed program was:" >&5
39367 sed 's/^/| /' conftest.$ac_ext >&5
39368
39369 eval "$as_ac_var=no"
39370 fi
39371 rm -f conftest.err conftest.$ac_objext \
39372       conftest$ac_exeext conftest.$ac_ext
39373 fi
39374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39376 if test `eval echo '${'$as_ac_var'}'` = yes; then
39377   cat >>confdefs.h <<_ACEOF
39378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39379 _ACEOF
39380
39381 fi
39382 done
39383
39384     fi
39385   fi
39386
39387
39388
39389
39390
39391
39392   echo "$as_me:$LINENO: checking for modf declaration" >&5
39393 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
39394   if test x${glibcxx_cv_func_modf_use+set} != xset; then
39395     if test "${glibcxx_cv_func_modf_use+set}" = set; then
39396   echo $ECHO_N "(cached) $ECHO_C" >&6
39397 else
39398
39399
39400
39401       ac_ext=cc
39402 ac_cpp='$CXXCPP $CPPFLAGS'
39403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39406
39407       cat >conftest.$ac_ext <<_ACEOF
39408 /* confdefs.h.  */
39409 _ACEOF
39410 cat confdefs.h >>conftest.$ac_ext
39411 cat >>conftest.$ac_ext <<_ACEOF
39412 /* end confdefs.h.  */
39413 #include <math.h>
39414 int
39415 main ()
39416 {
39417  modf(0, 0);
39418   ;
39419   return 0;
39420 }
39421 _ACEOF
39422 rm -f conftest.$ac_objext
39423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39424   (eval $ac_compile) 2>conftest.er1
39425   ac_status=$?
39426   grep -v '^ *+' conftest.er1 >conftest.err
39427   rm -f conftest.er1
39428   cat conftest.err >&5
39429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39430   (exit $ac_status); } &&
39431          { ac_try='test -z "$ac_cxx_werror_flag"
39432                          || test ! -s conftest.err'
39433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39434   (eval $ac_try) 2>&5
39435   ac_status=$?
39436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39437   (exit $ac_status); }; } &&
39438          { ac_try='test -s conftest.$ac_objext'
39439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39440   (eval $ac_try) 2>&5
39441   ac_status=$?
39442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39443   (exit $ac_status); }; }; then
39444   glibcxx_cv_func_modf_use=yes
39445 else
39446   echo "$as_me: failed program was:" >&5
39447 sed 's/^/| /' conftest.$ac_ext >&5
39448
39449 glibcxx_cv_func_modf_use=no
39450 fi
39451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39452       ac_ext=c
39453 ac_cpp='$CPP $CPPFLAGS'
39454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39457
39458
39459 fi
39460
39461   fi
39462   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
39463 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
39464
39465   if test x$glibcxx_cv_func_modf_use = x"yes"; then
39466
39467 for ac_func in modf
39468 do
39469 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39470 echo "$as_me:$LINENO: checking for $ac_func" >&5
39471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39472 if eval "test \"\${$as_ac_var+set}\" = set"; then
39473   echo $ECHO_N "(cached) $ECHO_C" >&6
39474 else
39475   if test x$gcc_no_link = xyes; then
39476   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39477 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39478    { (exit 1); exit 1; }; }
39479 fi
39480 cat >conftest.$ac_ext <<_ACEOF
39481 /* confdefs.h.  */
39482 _ACEOF
39483 cat confdefs.h >>conftest.$ac_ext
39484 cat >>conftest.$ac_ext <<_ACEOF
39485 /* end confdefs.h.  */
39486 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39487    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39488 #define $ac_func innocuous_$ac_func
39489
39490 /* System header to define __stub macros and hopefully few prototypes,
39491     which can conflict with char $ac_func (); below.
39492     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39493     <limits.h> exists even on freestanding compilers.  */
39494
39495 #ifdef __STDC__
39496 # include <limits.h>
39497 #else
39498 # include <assert.h>
39499 #endif
39500
39501 #undef $ac_func
39502
39503 /* Override any gcc2 internal prototype to avoid an error.  */
39504 #ifdef __cplusplus
39505 extern "C"
39506 {
39507 #endif
39508 /* We use char because int might match the return type of a gcc2
39509    builtin and then its argument prototype would still apply.  */
39510 char $ac_func ();
39511 /* The GNU C library defines this for functions which it implements
39512     to always fail with ENOSYS.  Some functions are actually named
39513     something starting with __ and the normal name is an alias.  */
39514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39515 choke me
39516 #else
39517 char (*f) () = $ac_func;
39518 #endif
39519 #ifdef __cplusplus
39520 }
39521 #endif
39522
39523 int
39524 main ()
39525 {
39526 return f != $ac_func;
39527   ;
39528   return 0;
39529 }
39530 _ACEOF
39531 rm -f conftest.$ac_objext conftest$ac_exeext
39532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39533   (eval $ac_link) 2>conftest.er1
39534   ac_status=$?
39535   grep -v '^ *+' conftest.er1 >conftest.err
39536   rm -f conftest.er1
39537   cat conftest.err >&5
39538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39539   (exit $ac_status); } &&
39540          { ac_try='test -z "$ac_c_werror_flag"
39541                          || test ! -s conftest.err'
39542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39543   (eval $ac_try) 2>&5
39544   ac_status=$?
39545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39546   (exit $ac_status); }; } &&
39547          { ac_try='test -s conftest$ac_exeext'
39548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39549   (eval $ac_try) 2>&5
39550   ac_status=$?
39551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39552   (exit $ac_status); }; }; then
39553   eval "$as_ac_var=yes"
39554 else
39555   echo "$as_me: failed program was:" >&5
39556 sed 's/^/| /' conftest.$ac_ext >&5
39557
39558 eval "$as_ac_var=no"
39559 fi
39560 rm -f conftest.err conftest.$ac_objext \
39561       conftest$ac_exeext conftest.$ac_ext
39562 fi
39563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39564 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39565 if test `eval echo '${'$as_ac_var'}'` = yes; then
39566   cat >>confdefs.h <<_ACEOF
39567 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39568 _ACEOF
39569
39570 fi
39571 done
39572
39573   else
39574
39575   echo "$as_me:$LINENO: checking for _modf declaration" >&5
39576 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
39577   if test x${glibcxx_cv_func__modf_use+set} != xset; then
39578     if test "${glibcxx_cv_func__modf_use+set}" = set; then
39579   echo $ECHO_N "(cached) $ECHO_C" >&6
39580 else
39581
39582
39583
39584       ac_ext=cc
39585 ac_cpp='$CXXCPP $CPPFLAGS'
39586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39589
39590       cat >conftest.$ac_ext <<_ACEOF
39591 /* confdefs.h.  */
39592 _ACEOF
39593 cat confdefs.h >>conftest.$ac_ext
39594 cat >>conftest.$ac_ext <<_ACEOF
39595 /* end confdefs.h.  */
39596 #include <math.h>
39597 int
39598 main ()
39599 {
39600  _modf(0, 0);
39601   ;
39602   return 0;
39603 }
39604 _ACEOF
39605 rm -f conftest.$ac_objext
39606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39607   (eval $ac_compile) 2>conftest.er1
39608   ac_status=$?
39609   grep -v '^ *+' conftest.er1 >conftest.err
39610   rm -f conftest.er1
39611   cat conftest.err >&5
39612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39613   (exit $ac_status); } &&
39614          { ac_try='test -z "$ac_cxx_werror_flag"
39615                          || test ! -s conftest.err'
39616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39617   (eval $ac_try) 2>&5
39618   ac_status=$?
39619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39620   (exit $ac_status); }; } &&
39621          { ac_try='test -s conftest.$ac_objext'
39622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39623   (eval $ac_try) 2>&5
39624   ac_status=$?
39625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39626   (exit $ac_status); }; }; then
39627   glibcxx_cv_func__modf_use=yes
39628 else
39629   echo "$as_me: failed program was:" >&5
39630 sed 's/^/| /' conftest.$ac_ext >&5
39631
39632 glibcxx_cv_func__modf_use=no
39633 fi
39634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39635       ac_ext=c
39636 ac_cpp='$CPP $CPPFLAGS'
39637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39640
39641
39642 fi
39643
39644   fi
39645   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
39646 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
39647
39648     if test x$glibcxx_cv_func__modf_use = x"yes"; then
39649
39650 for ac_func in _modf
39651 do
39652 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39653 echo "$as_me:$LINENO: checking for $ac_func" >&5
39654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39655 if eval "test \"\${$as_ac_var+set}\" = set"; then
39656   echo $ECHO_N "(cached) $ECHO_C" >&6
39657 else
39658   if test x$gcc_no_link = xyes; then
39659   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39661    { (exit 1); exit 1; }; }
39662 fi
39663 cat >conftest.$ac_ext <<_ACEOF
39664 /* confdefs.h.  */
39665 _ACEOF
39666 cat confdefs.h >>conftest.$ac_ext
39667 cat >>conftest.$ac_ext <<_ACEOF
39668 /* end confdefs.h.  */
39669 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39670    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39671 #define $ac_func innocuous_$ac_func
39672
39673 /* System header to define __stub macros and hopefully few prototypes,
39674     which can conflict with char $ac_func (); below.
39675     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39676     <limits.h> exists even on freestanding compilers.  */
39677
39678 #ifdef __STDC__
39679 # include <limits.h>
39680 #else
39681 # include <assert.h>
39682 #endif
39683
39684 #undef $ac_func
39685
39686 /* Override any gcc2 internal prototype to avoid an error.  */
39687 #ifdef __cplusplus
39688 extern "C"
39689 {
39690 #endif
39691 /* We use char because int might match the return type of a gcc2
39692    builtin and then its argument prototype would still apply.  */
39693 char $ac_func ();
39694 /* The GNU C library defines this for functions which it implements
39695     to always fail with ENOSYS.  Some functions are actually named
39696     something starting with __ and the normal name is an alias.  */
39697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39698 choke me
39699 #else
39700 char (*f) () = $ac_func;
39701 #endif
39702 #ifdef __cplusplus
39703 }
39704 #endif
39705
39706 int
39707 main ()
39708 {
39709 return f != $ac_func;
39710   ;
39711   return 0;
39712 }
39713 _ACEOF
39714 rm -f conftest.$ac_objext conftest$ac_exeext
39715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39716   (eval $ac_link) 2>conftest.er1
39717   ac_status=$?
39718   grep -v '^ *+' conftest.er1 >conftest.err
39719   rm -f conftest.er1
39720   cat conftest.err >&5
39721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39722   (exit $ac_status); } &&
39723          { ac_try='test -z "$ac_c_werror_flag"
39724                          || test ! -s conftest.err'
39725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39726   (eval $ac_try) 2>&5
39727   ac_status=$?
39728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39729   (exit $ac_status); }; } &&
39730          { ac_try='test -s conftest$ac_exeext'
39731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39732   (eval $ac_try) 2>&5
39733   ac_status=$?
39734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39735   (exit $ac_status); }; }; then
39736   eval "$as_ac_var=yes"
39737 else
39738   echo "$as_me: failed program was:" >&5
39739 sed 's/^/| /' conftest.$ac_ext >&5
39740
39741 eval "$as_ac_var=no"
39742 fi
39743 rm -f conftest.err conftest.$ac_objext \
39744       conftest$ac_exeext conftest.$ac_ext
39745 fi
39746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39747 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39748 if test `eval echo '${'$as_ac_var'}'` = yes; then
39749   cat >>confdefs.h <<_ACEOF
39750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39751 _ACEOF
39752
39753 fi
39754 done
39755
39756     fi
39757   fi
39758
39759
39760
39761
39762
39763
39764   echo "$as_me:$LINENO: checking for powf declaration" >&5
39765 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
39766   if test x${glibcxx_cv_func_powf_use+set} != xset; then
39767     if test "${glibcxx_cv_func_powf_use+set}" = set; then
39768   echo $ECHO_N "(cached) $ECHO_C" >&6
39769 else
39770
39771
39772
39773       ac_ext=cc
39774 ac_cpp='$CXXCPP $CPPFLAGS'
39775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39778
39779       cat >conftest.$ac_ext <<_ACEOF
39780 /* confdefs.h.  */
39781 _ACEOF
39782 cat confdefs.h >>conftest.$ac_ext
39783 cat >>conftest.$ac_ext <<_ACEOF
39784 /* end confdefs.h.  */
39785 #include <math.h>
39786 int
39787 main ()
39788 {
39789  powf(0, 0);
39790   ;
39791   return 0;
39792 }
39793 _ACEOF
39794 rm -f conftest.$ac_objext
39795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39796   (eval $ac_compile) 2>conftest.er1
39797   ac_status=$?
39798   grep -v '^ *+' conftest.er1 >conftest.err
39799   rm -f conftest.er1
39800   cat conftest.err >&5
39801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39802   (exit $ac_status); } &&
39803          { ac_try='test -z "$ac_cxx_werror_flag"
39804                          || test ! -s conftest.err'
39805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39806   (eval $ac_try) 2>&5
39807   ac_status=$?
39808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39809   (exit $ac_status); }; } &&
39810          { ac_try='test -s conftest.$ac_objext'
39811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39812   (eval $ac_try) 2>&5
39813   ac_status=$?
39814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39815   (exit $ac_status); }; }; then
39816   glibcxx_cv_func_powf_use=yes
39817 else
39818   echo "$as_me: failed program was:" >&5
39819 sed 's/^/| /' conftest.$ac_ext >&5
39820
39821 glibcxx_cv_func_powf_use=no
39822 fi
39823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39824       ac_ext=c
39825 ac_cpp='$CPP $CPPFLAGS'
39826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39829
39830
39831 fi
39832
39833   fi
39834   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
39835 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
39836
39837   if test x$glibcxx_cv_func_powf_use = x"yes"; then
39838
39839 for ac_func in powf
39840 do
39841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39842 echo "$as_me:$LINENO: checking for $ac_func" >&5
39843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39844 if eval "test \"\${$as_ac_var+set}\" = set"; then
39845   echo $ECHO_N "(cached) $ECHO_C" >&6
39846 else
39847   if test x$gcc_no_link = xyes; then
39848   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39850    { (exit 1); exit 1; }; }
39851 fi
39852 cat >conftest.$ac_ext <<_ACEOF
39853 /* confdefs.h.  */
39854 _ACEOF
39855 cat confdefs.h >>conftest.$ac_ext
39856 cat >>conftest.$ac_ext <<_ACEOF
39857 /* end confdefs.h.  */
39858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39859    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39860 #define $ac_func innocuous_$ac_func
39861
39862 /* System header to define __stub macros and hopefully few prototypes,
39863     which can conflict with char $ac_func (); below.
39864     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39865     <limits.h> exists even on freestanding compilers.  */
39866
39867 #ifdef __STDC__
39868 # include <limits.h>
39869 #else
39870 # include <assert.h>
39871 #endif
39872
39873 #undef $ac_func
39874
39875 /* Override any gcc2 internal prototype to avoid an error.  */
39876 #ifdef __cplusplus
39877 extern "C"
39878 {
39879 #endif
39880 /* We use char because int might match the return type of a gcc2
39881    builtin and then its argument prototype would still apply.  */
39882 char $ac_func ();
39883 /* The GNU C library defines this for functions which it implements
39884     to always fail with ENOSYS.  Some functions are actually named
39885     something starting with __ and the normal name is an alias.  */
39886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39887 choke me
39888 #else
39889 char (*f) () = $ac_func;
39890 #endif
39891 #ifdef __cplusplus
39892 }
39893 #endif
39894
39895 int
39896 main ()
39897 {
39898 return f != $ac_func;
39899   ;
39900   return 0;
39901 }
39902 _ACEOF
39903 rm -f conftest.$ac_objext conftest$ac_exeext
39904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39905   (eval $ac_link) 2>conftest.er1
39906   ac_status=$?
39907   grep -v '^ *+' conftest.er1 >conftest.err
39908   rm -f conftest.er1
39909   cat conftest.err >&5
39910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39911   (exit $ac_status); } &&
39912          { ac_try='test -z "$ac_c_werror_flag"
39913                          || test ! -s conftest.err'
39914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39915   (eval $ac_try) 2>&5
39916   ac_status=$?
39917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39918   (exit $ac_status); }; } &&
39919          { ac_try='test -s conftest$ac_exeext'
39920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39921   (eval $ac_try) 2>&5
39922   ac_status=$?
39923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39924   (exit $ac_status); }; }; then
39925   eval "$as_ac_var=yes"
39926 else
39927   echo "$as_me: failed program was:" >&5
39928 sed 's/^/| /' conftest.$ac_ext >&5
39929
39930 eval "$as_ac_var=no"
39931 fi
39932 rm -f conftest.err conftest.$ac_objext \
39933       conftest$ac_exeext conftest.$ac_ext
39934 fi
39935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39937 if test `eval echo '${'$as_ac_var'}'` = yes; then
39938   cat >>confdefs.h <<_ACEOF
39939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39940 _ACEOF
39941
39942 fi
39943 done
39944
39945   else
39946
39947   echo "$as_me:$LINENO: checking for _powf declaration" >&5
39948 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
39949   if test x${glibcxx_cv_func__powf_use+set} != xset; then
39950     if test "${glibcxx_cv_func__powf_use+set}" = set; then
39951   echo $ECHO_N "(cached) $ECHO_C" >&6
39952 else
39953
39954
39955
39956       ac_ext=cc
39957 ac_cpp='$CXXCPP $CPPFLAGS'
39958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39961
39962       cat >conftest.$ac_ext <<_ACEOF
39963 /* confdefs.h.  */
39964 _ACEOF
39965 cat confdefs.h >>conftest.$ac_ext
39966 cat >>conftest.$ac_ext <<_ACEOF
39967 /* end confdefs.h.  */
39968 #include <math.h>
39969 int
39970 main ()
39971 {
39972  _powf(0, 0);
39973   ;
39974   return 0;
39975 }
39976 _ACEOF
39977 rm -f conftest.$ac_objext
39978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39979   (eval $ac_compile) 2>conftest.er1
39980   ac_status=$?
39981   grep -v '^ *+' conftest.er1 >conftest.err
39982   rm -f conftest.er1
39983   cat conftest.err >&5
39984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39985   (exit $ac_status); } &&
39986          { ac_try='test -z "$ac_cxx_werror_flag"
39987                          || test ! -s conftest.err'
39988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39989   (eval $ac_try) 2>&5
39990   ac_status=$?
39991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39992   (exit $ac_status); }; } &&
39993          { ac_try='test -s conftest.$ac_objext'
39994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39995   (eval $ac_try) 2>&5
39996   ac_status=$?
39997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39998   (exit $ac_status); }; }; then
39999   glibcxx_cv_func__powf_use=yes
40000 else
40001   echo "$as_me: failed program was:" >&5
40002 sed 's/^/| /' conftest.$ac_ext >&5
40003
40004 glibcxx_cv_func__powf_use=no
40005 fi
40006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40007       ac_ext=c
40008 ac_cpp='$CPP $CPPFLAGS'
40009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40012
40013
40014 fi
40015
40016   fi
40017   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
40018 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
40019
40020     if test x$glibcxx_cv_func__powf_use = x"yes"; then
40021
40022 for ac_func in _powf
40023 do
40024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40025 echo "$as_me:$LINENO: checking for $ac_func" >&5
40026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40027 if eval "test \"\${$as_ac_var+set}\" = set"; then
40028   echo $ECHO_N "(cached) $ECHO_C" >&6
40029 else
40030   if test x$gcc_no_link = xyes; then
40031   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40032 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40033    { (exit 1); exit 1; }; }
40034 fi
40035 cat >conftest.$ac_ext <<_ACEOF
40036 /* confdefs.h.  */
40037 _ACEOF
40038 cat confdefs.h >>conftest.$ac_ext
40039 cat >>conftest.$ac_ext <<_ACEOF
40040 /* end confdefs.h.  */
40041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40042    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40043 #define $ac_func innocuous_$ac_func
40044
40045 /* System header to define __stub macros and hopefully few prototypes,
40046     which can conflict with char $ac_func (); below.
40047     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40048     <limits.h> exists even on freestanding compilers.  */
40049
40050 #ifdef __STDC__
40051 # include <limits.h>
40052 #else
40053 # include <assert.h>
40054 #endif
40055
40056 #undef $ac_func
40057
40058 /* Override any gcc2 internal prototype to avoid an error.  */
40059 #ifdef __cplusplus
40060 extern "C"
40061 {
40062 #endif
40063 /* We use char because int might match the return type of a gcc2
40064    builtin and then its argument prototype would still apply.  */
40065 char $ac_func ();
40066 /* The GNU C library defines this for functions which it implements
40067     to always fail with ENOSYS.  Some functions are actually named
40068     something starting with __ and the normal name is an alias.  */
40069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40070 choke me
40071 #else
40072 char (*f) () = $ac_func;
40073 #endif
40074 #ifdef __cplusplus
40075 }
40076 #endif
40077
40078 int
40079 main ()
40080 {
40081 return f != $ac_func;
40082   ;
40083   return 0;
40084 }
40085 _ACEOF
40086 rm -f conftest.$ac_objext conftest$ac_exeext
40087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40088   (eval $ac_link) 2>conftest.er1
40089   ac_status=$?
40090   grep -v '^ *+' conftest.er1 >conftest.err
40091   rm -f conftest.er1
40092   cat conftest.err >&5
40093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40094   (exit $ac_status); } &&
40095          { ac_try='test -z "$ac_c_werror_flag"
40096                          || test ! -s conftest.err'
40097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40098   (eval $ac_try) 2>&5
40099   ac_status=$?
40100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40101   (exit $ac_status); }; } &&
40102          { ac_try='test -s conftest$ac_exeext'
40103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40104   (eval $ac_try) 2>&5
40105   ac_status=$?
40106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40107   (exit $ac_status); }; }; then
40108   eval "$as_ac_var=yes"
40109 else
40110   echo "$as_me: failed program was:" >&5
40111 sed 's/^/| /' conftest.$ac_ext >&5
40112
40113 eval "$as_ac_var=no"
40114 fi
40115 rm -f conftest.err conftest.$ac_objext \
40116       conftest$ac_exeext conftest.$ac_ext
40117 fi
40118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40120 if test `eval echo '${'$as_ac_var'}'` = yes; then
40121   cat >>confdefs.h <<_ACEOF
40122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40123 _ACEOF
40124
40125 fi
40126 done
40127
40128     fi
40129   fi
40130
40131
40132
40133
40134
40135
40136   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
40137 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
40138   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
40139     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
40140   echo $ECHO_N "(cached) $ECHO_C" >&6
40141 else
40142
40143
40144
40145       ac_ext=cc
40146 ac_cpp='$CXXCPP $CPPFLAGS'
40147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40150
40151       cat >conftest.$ac_ext <<_ACEOF
40152 /* confdefs.h.  */
40153 _ACEOF
40154 cat confdefs.h >>conftest.$ac_ext
40155 cat >>conftest.$ac_ext <<_ACEOF
40156 /* end confdefs.h.  */
40157 #include <math.h>
40158                       #ifdef HAVE_IEEEFP_H
40159                       #include <ieeefp.h>
40160                       #endif
40161
40162 int
40163 main ()
40164 {
40165  sqrtf(0);
40166   ;
40167   return 0;
40168 }
40169 _ACEOF
40170 rm -f conftest.$ac_objext
40171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40172   (eval $ac_compile) 2>conftest.er1
40173   ac_status=$?
40174   grep -v '^ *+' conftest.er1 >conftest.err
40175   rm -f conftest.er1
40176   cat conftest.err >&5
40177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40178   (exit $ac_status); } &&
40179          { ac_try='test -z "$ac_cxx_werror_flag"
40180                          || test ! -s conftest.err'
40181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40182   (eval $ac_try) 2>&5
40183   ac_status=$?
40184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40185   (exit $ac_status); }; } &&
40186          { ac_try='test -s conftest.$ac_objext'
40187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40188   (eval $ac_try) 2>&5
40189   ac_status=$?
40190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40191   (exit $ac_status); }; }; then
40192   glibcxx_cv_func_sqrtf_use=yes
40193 else
40194   echo "$as_me: failed program was:" >&5
40195 sed 's/^/| /' conftest.$ac_ext >&5
40196
40197 glibcxx_cv_func_sqrtf_use=no
40198 fi
40199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40200       ac_ext=c
40201 ac_cpp='$CPP $CPPFLAGS'
40202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40205
40206
40207 fi
40208
40209   fi
40210   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
40211 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
40212
40213   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
40214
40215 for ac_func in sqrtf
40216 do
40217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40218 echo "$as_me:$LINENO: checking for $ac_func" >&5
40219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40220 if eval "test \"\${$as_ac_var+set}\" = set"; then
40221   echo $ECHO_N "(cached) $ECHO_C" >&6
40222 else
40223   if test x$gcc_no_link = xyes; then
40224   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40226    { (exit 1); exit 1; }; }
40227 fi
40228 cat >conftest.$ac_ext <<_ACEOF
40229 /* confdefs.h.  */
40230 _ACEOF
40231 cat confdefs.h >>conftest.$ac_ext
40232 cat >>conftest.$ac_ext <<_ACEOF
40233 /* end confdefs.h.  */
40234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40235    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40236 #define $ac_func innocuous_$ac_func
40237
40238 /* System header to define __stub macros and hopefully few prototypes,
40239     which can conflict with char $ac_func (); below.
40240     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40241     <limits.h> exists even on freestanding compilers.  */
40242
40243 #ifdef __STDC__
40244 # include <limits.h>
40245 #else
40246 # include <assert.h>
40247 #endif
40248
40249 #undef $ac_func
40250
40251 /* Override any gcc2 internal prototype to avoid an error.  */
40252 #ifdef __cplusplus
40253 extern "C"
40254 {
40255 #endif
40256 /* We use char because int might match the return type of a gcc2
40257    builtin and then its argument prototype would still apply.  */
40258 char $ac_func ();
40259 /* The GNU C library defines this for functions which it implements
40260     to always fail with ENOSYS.  Some functions are actually named
40261     something starting with __ and the normal name is an alias.  */
40262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40263 choke me
40264 #else
40265 char (*f) () = $ac_func;
40266 #endif
40267 #ifdef __cplusplus
40268 }
40269 #endif
40270
40271 int
40272 main ()
40273 {
40274 return f != $ac_func;
40275   ;
40276   return 0;
40277 }
40278 _ACEOF
40279 rm -f conftest.$ac_objext conftest$ac_exeext
40280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40281   (eval $ac_link) 2>conftest.er1
40282   ac_status=$?
40283   grep -v '^ *+' conftest.er1 >conftest.err
40284   rm -f conftest.er1
40285   cat conftest.err >&5
40286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40287   (exit $ac_status); } &&
40288          { ac_try='test -z "$ac_c_werror_flag"
40289                          || test ! -s conftest.err'
40290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40291   (eval $ac_try) 2>&5
40292   ac_status=$?
40293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40294   (exit $ac_status); }; } &&
40295          { ac_try='test -s conftest$ac_exeext'
40296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40297   (eval $ac_try) 2>&5
40298   ac_status=$?
40299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40300   (exit $ac_status); }; }; then
40301   eval "$as_ac_var=yes"
40302 else
40303   echo "$as_me: failed program was:" >&5
40304 sed 's/^/| /' conftest.$ac_ext >&5
40305
40306 eval "$as_ac_var=no"
40307 fi
40308 rm -f conftest.err conftest.$ac_objext \
40309       conftest$ac_exeext conftest.$ac_ext
40310 fi
40311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40313 if test `eval echo '${'$as_ac_var'}'` = yes; then
40314   cat >>confdefs.h <<_ACEOF
40315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40316 _ACEOF
40317
40318 fi
40319 done
40320
40321   else
40322
40323   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
40324 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
40325   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
40326     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
40327   echo $ECHO_N "(cached) $ECHO_C" >&6
40328 else
40329
40330
40331
40332       ac_ext=cc
40333 ac_cpp='$CXXCPP $CPPFLAGS'
40334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40337
40338       cat >conftest.$ac_ext <<_ACEOF
40339 /* confdefs.h.  */
40340 _ACEOF
40341 cat confdefs.h >>conftest.$ac_ext
40342 cat >>conftest.$ac_ext <<_ACEOF
40343 /* end confdefs.h.  */
40344 #include <math.h>
40345                       #ifdef HAVE_IEEEFP_H
40346                       #include <ieeefp.h>
40347                       #endif
40348
40349 int
40350 main ()
40351 {
40352  _sqrtf(0);
40353   ;
40354   return 0;
40355 }
40356 _ACEOF
40357 rm -f conftest.$ac_objext
40358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40359   (eval $ac_compile) 2>conftest.er1
40360   ac_status=$?
40361   grep -v '^ *+' conftest.er1 >conftest.err
40362   rm -f conftest.er1
40363   cat conftest.err >&5
40364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40365   (exit $ac_status); } &&
40366          { ac_try='test -z "$ac_cxx_werror_flag"
40367                          || test ! -s conftest.err'
40368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40369   (eval $ac_try) 2>&5
40370   ac_status=$?
40371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40372   (exit $ac_status); }; } &&
40373          { ac_try='test -s conftest.$ac_objext'
40374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40375   (eval $ac_try) 2>&5
40376   ac_status=$?
40377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40378   (exit $ac_status); }; }; then
40379   glibcxx_cv_func__sqrtf_use=yes
40380 else
40381   echo "$as_me: failed program was:" >&5
40382 sed 's/^/| /' conftest.$ac_ext >&5
40383
40384 glibcxx_cv_func__sqrtf_use=no
40385 fi
40386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40387       ac_ext=c
40388 ac_cpp='$CPP $CPPFLAGS'
40389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40392
40393
40394 fi
40395
40396   fi
40397   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
40398 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
40399
40400     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
40401
40402 for ac_func in _sqrtf
40403 do
40404 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40405 echo "$as_me:$LINENO: checking for $ac_func" >&5
40406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40407 if eval "test \"\${$as_ac_var+set}\" = set"; then
40408   echo $ECHO_N "(cached) $ECHO_C" >&6
40409 else
40410   if test x$gcc_no_link = xyes; then
40411   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40413    { (exit 1); exit 1; }; }
40414 fi
40415 cat >conftest.$ac_ext <<_ACEOF
40416 /* confdefs.h.  */
40417 _ACEOF
40418 cat confdefs.h >>conftest.$ac_ext
40419 cat >>conftest.$ac_ext <<_ACEOF
40420 /* end confdefs.h.  */
40421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40422    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40423 #define $ac_func innocuous_$ac_func
40424
40425 /* System header to define __stub macros and hopefully few prototypes,
40426     which can conflict with char $ac_func (); below.
40427     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40428     <limits.h> exists even on freestanding compilers.  */
40429
40430 #ifdef __STDC__
40431 # include <limits.h>
40432 #else
40433 # include <assert.h>
40434 #endif
40435
40436 #undef $ac_func
40437
40438 /* Override any gcc2 internal prototype to avoid an error.  */
40439 #ifdef __cplusplus
40440 extern "C"
40441 {
40442 #endif
40443 /* We use char because int might match the return type of a gcc2
40444    builtin and then its argument prototype would still apply.  */
40445 char $ac_func ();
40446 /* The GNU C library defines this for functions which it implements
40447     to always fail with ENOSYS.  Some functions are actually named
40448     something starting with __ and the normal name is an alias.  */
40449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40450 choke me
40451 #else
40452 char (*f) () = $ac_func;
40453 #endif
40454 #ifdef __cplusplus
40455 }
40456 #endif
40457
40458 int
40459 main ()
40460 {
40461 return f != $ac_func;
40462   ;
40463   return 0;
40464 }
40465 _ACEOF
40466 rm -f conftest.$ac_objext conftest$ac_exeext
40467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40468   (eval $ac_link) 2>conftest.er1
40469   ac_status=$?
40470   grep -v '^ *+' conftest.er1 >conftest.err
40471   rm -f conftest.er1
40472   cat conftest.err >&5
40473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40474   (exit $ac_status); } &&
40475          { ac_try='test -z "$ac_c_werror_flag"
40476                          || test ! -s conftest.err'
40477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40478   (eval $ac_try) 2>&5
40479   ac_status=$?
40480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40481   (exit $ac_status); }; } &&
40482          { ac_try='test -s conftest$ac_exeext'
40483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40484   (eval $ac_try) 2>&5
40485   ac_status=$?
40486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40487   (exit $ac_status); }; }; then
40488   eval "$as_ac_var=yes"
40489 else
40490   echo "$as_me: failed program was:" >&5
40491 sed 's/^/| /' conftest.$ac_ext >&5
40492
40493 eval "$as_ac_var=no"
40494 fi
40495 rm -f conftest.err conftest.$ac_objext \
40496       conftest$ac_exeext conftest.$ac_ext
40497 fi
40498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40500 if test `eval echo '${'$as_ac_var'}'` = yes; then
40501   cat >>confdefs.h <<_ACEOF
40502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40503 _ACEOF
40504
40505 fi
40506 done
40507
40508     fi
40509   fi
40510
40511
40512
40513
40514
40515
40516   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
40517 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
40518   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
40519     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
40520   echo $ECHO_N "(cached) $ECHO_C" >&6
40521 else
40522
40523
40524
40525       ac_ext=cc
40526 ac_cpp='$CXXCPP $CPPFLAGS'
40527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40530
40531       cat >conftest.$ac_ext <<_ACEOF
40532 /* confdefs.h.  */
40533 _ACEOF
40534 cat confdefs.h >>conftest.$ac_ext
40535 cat >>conftest.$ac_ext <<_ACEOF
40536 /* end confdefs.h.  */
40537 #include <math.h>
40538 int
40539 main ()
40540 {
40541  sincosf(0, 0, 0);
40542   ;
40543   return 0;
40544 }
40545 _ACEOF
40546 rm -f conftest.$ac_objext
40547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40548   (eval $ac_compile) 2>conftest.er1
40549   ac_status=$?
40550   grep -v '^ *+' conftest.er1 >conftest.err
40551   rm -f conftest.er1
40552   cat conftest.err >&5
40553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40554   (exit $ac_status); } &&
40555          { ac_try='test -z "$ac_cxx_werror_flag"
40556                          || test ! -s conftest.err'
40557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40558   (eval $ac_try) 2>&5
40559   ac_status=$?
40560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40561   (exit $ac_status); }; } &&
40562          { ac_try='test -s conftest.$ac_objext'
40563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40564   (eval $ac_try) 2>&5
40565   ac_status=$?
40566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40567   (exit $ac_status); }; }; then
40568   glibcxx_cv_func_sincosf_use=yes
40569 else
40570   echo "$as_me: failed program was:" >&5
40571 sed 's/^/| /' conftest.$ac_ext >&5
40572
40573 glibcxx_cv_func_sincosf_use=no
40574 fi
40575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40576       ac_ext=c
40577 ac_cpp='$CPP $CPPFLAGS'
40578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40581
40582
40583 fi
40584
40585   fi
40586   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
40587 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
40588
40589   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
40590
40591 for ac_func in sincosf
40592 do
40593 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40594 echo "$as_me:$LINENO: checking for $ac_func" >&5
40595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40596 if eval "test \"\${$as_ac_var+set}\" = set"; then
40597   echo $ECHO_N "(cached) $ECHO_C" >&6
40598 else
40599   if test x$gcc_no_link = xyes; then
40600   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40602    { (exit 1); exit 1; }; }
40603 fi
40604 cat >conftest.$ac_ext <<_ACEOF
40605 /* confdefs.h.  */
40606 _ACEOF
40607 cat confdefs.h >>conftest.$ac_ext
40608 cat >>conftest.$ac_ext <<_ACEOF
40609 /* end confdefs.h.  */
40610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40611    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40612 #define $ac_func innocuous_$ac_func
40613
40614 /* System header to define __stub macros and hopefully few prototypes,
40615     which can conflict with char $ac_func (); below.
40616     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40617     <limits.h> exists even on freestanding compilers.  */
40618
40619 #ifdef __STDC__
40620 # include <limits.h>
40621 #else
40622 # include <assert.h>
40623 #endif
40624
40625 #undef $ac_func
40626
40627 /* Override any gcc2 internal prototype to avoid an error.  */
40628 #ifdef __cplusplus
40629 extern "C"
40630 {
40631 #endif
40632 /* We use char because int might match the return type of a gcc2
40633    builtin and then its argument prototype would still apply.  */
40634 char $ac_func ();
40635 /* The GNU C library defines this for functions which it implements
40636     to always fail with ENOSYS.  Some functions are actually named
40637     something starting with __ and the normal name is an alias.  */
40638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40639 choke me
40640 #else
40641 char (*f) () = $ac_func;
40642 #endif
40643 #ifdef __cplusplus
40644 }
40645 #endif
40646
40647 int
40648 main ()
40649 {
40650 return f != $ac_func;
40651   ;
40652   return 0;
40653 }
40654 _ACEOF
40655 rm -f conftest.$ac_objext conftest$ac_exeext
40656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40657   (eval $ac_link) 2>conftest.er1
40658   ac_status=$?
40659   grep -v '^ *+' conftest.er1 >conftest.err
40660   rm -f conftest.er1
40661   cat conftest.err >&5
40662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40663   (exit $ac_status); } &&
40664          { ac_try='test -z "$ac_c_werror_flag"
40665                          || test ! -s conftest.err'
40666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40667   (eval $ac_try) 2>&5
40668   ac_status=$?
40669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40670   (exit $ac_status); }; } &&
40671          { ac_try='test -s conftest$ac_exeext'
40672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40673   (eval $ac_try) 2>&5
40674   ac_status=$?
40675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40676   (exit $ac_status); }; }; then
40677   eval "$as_ac_var=yes"
40678 else
40679   echo "$as_me: failed program was:" >&5
40680 sed 's/^/| /' conftest.$ac_ext >&5
40681
40682 eval "$as_ac_var=no"
40683 fi
40684 rm -f conftest.err conftest.$ac_objext \
40685       conftest$ac_exeext conftest.$ac_ext
40686 fi
40687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40688 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40689 if test `eval echo '${'$as_ac_var'}'` = yes; then
40690   cat >>confdefs.h <<_ACEOF
40691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40692 _ACEOF
40693
40694 fi
40695 done
40696
40697   else
40698
40699   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
40700 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
40701   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
40702     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
40703   echo $ECHO_N "(cached) $ECHO_C" >&6
40704 else
40705
40706
40707
40708       ac_ext=cc
40709 ac_cpp='$CXXCPP $CPPFLAGS'
40710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40713
40714       cat >conftest.$ac_ext <<_ACEOF
40715 /* confdefs.h.  */
40716 _ACEOF
40717 cat confdefs.h >>conftest.$ac_ext
40718 cat >>conftest.$ac_ext <<_ACEOF
40719 /* end confdefs.h.  */
40720 #include <math.h>
40721 int
40722 main ()
40723 {
40724  _sincosf(0, 0, 0);
40725   ;
40726   return 0;
40727 }
40728 _ACEOF
40729 rm -f conftest.$ac_objext
40730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40731   (eval $ac_compile) 2>conftest.er1
40732   ac_status=$?
40733   grep -v '^ *+' conftest.er1 >conftest.err
40734   rm -f conftest.er1
40735   cat conftest.err >&5
40736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40737   (exit $ac_status); } &&
40738          { ac_try='test -z "$ac_cxx_werror_flag"
40739                          || test ! -s conftest.err'
40740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40741   (eval $ac_try) 2>&5
40742   ac_status=$?
40743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40744   (exit $ac_status); }; } &&
40745          { ac_try='test -s conftest.$ac_objext'
40746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40747   (eval $ac_try) 2>&5
40748   ac_status=$?
40749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40750   (exit $ac_status); }; }; then
40751   glibcxx_cv_func__sincosf_use=yes
40752 else
40753   echo "$as_me: failed program was:" >&5
40754 sed 's/^/| /' conftest.$ac_ext >&5
40755
40756 glibcxx_cv_func__sincosf_use=no
40757 fi
40758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40759       ac_ext=c
40760 ac_cpp='$CPP $CPPFLAGS'
40761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40764
40765
40766 fi
40767
40768   fi
40769   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
40770 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
40771
40772     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
40773
40774 for ac_func in _sincosf
40775 do
40776 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40777 echo "$as_me:$LINENO: checking for $ac_func" >&5
40778 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40779 if eval "test \"\${$as_ac_var+set}\" = set"; then
40780   echo $ECHO_N "(cached) $ECHO_C" >&6
40781 else
40782   if test x$gcc_no_link = xyes; then
40783   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40785    { (exit 1); exit 1; }; }
40786 fi
40787 cat >conftest.$ac_ext <<_ACEOF
40788 /* confdefs.h.  */
40789 _ACEOF
40790 cat confdefs.h >>conftest.$ac_ext
40791 cat >>conftest.$ac_ext <<_ACEOF
40792 /* end confdefs.h.  */
40793 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40794    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40795 #define $ac_func innocuous_$ac_func
40796
40797 /* System header to define __stub macros and hopefully few prototypes,
40798     which can conflict with char $ac_func (); below.
40799     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40800     <limits.h> exists even on freestanding compilers.  */
40801
40802 #ifdef __STDC__
40803 # include <limits.h>
40804 #else
40805 # include <assert.h>
40806 #endif
40807
40808 #undef $ac_func
40809
40810 /* Override any gcc2 internal prototype to avoid an error.  */
40811 #ifdef __cplusplus
40812 extern "C"
40813 {
40814 #endif
40815 /* We use char because int might match the return type of a gcc2
40816    builtin and then its argument prototype would still apply.  */
40817 char $ac_func ();
40818 /* The GNU C library defines this for functions which it implements
40819     to always fail with ENOSYS.  Some functions are actually named
40820     something starting with __ and the normal name is an alias.  */
40821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40822 choke me
40823 #else
40824 char (*f) () = $ac_func;
40825 #endif
40826 #ifdef __cplusplus
40827 }
40828 #endif
40829
40830 int
40831 main ()
40832 {
40833 return f != $ac_func;
40834   ;
40835   return 0;
40836 }
40837 _ACEOF
40838 rm -f conftest.$ac_objext conftest$ac_exeext
40839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40840   (eval $ac_link) 2>conftest.er1
40841   ac_status=$?
40842   grep -v '^ *+' conftest.er1 >conftest.err
40843   rm -f conftest.er1
40844   cat conftest.err >&5
40845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40846   (exit $ac_status); } &&
40847          { ac_try='test -z "$ac_c_werror_flag"
40848                          || test ! -s conftest.err'
40849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40850   (eval $ac_try) 2>&5
40851   ac_status=$?
40852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40853   (exit $ac_status); }; } &&
40854          { ac_try='test -s conftest$ac_exeext'
40855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40856   (eval $ac_try) 2>&5
40857   ac_status=$?
40858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40859   (exit $ac_status); }; }; then
40860   eval "$as_ac_var=yes"
40861 else
40862   echo "$as_me: failed program was:" >&5
40863 sed 's/^/| /' conftest.$ac_ext >&5
40864
40865 eval "$as_ac_var=no"
40866 fi
40867 rm -f conftest.err conftest.$ac_objext \
40868       conftest$ac_exeext conftest.$ac_ext
40869 fi
40870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40871 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40872 if test `eval echo '${'$as_ac_var'}'` = yes; then
40873   cat >>confdefs.h <<_ACEOF
40874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40875 _ACEOF
40876
40877 fi
40878 done
40879
40880     fi
40881   fi
40882
40883
40884
40885
40886
40887
40888   echo "$as_me:$LINENO: checking for finitef declaration" >&5
40889 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
40890   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
40891     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
40892   echo $ECHO_N "(cached) $ECHO_C" >&6
40893 else
40894
40895
40896
40897       ac_ext=cc
40898 ac_cpp='$CXXCPP $CPPFLAGS'
40899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40902
40903       cat >conftest.$ac_ext <<_ACEOF
40904 /* confdefs.h.  */
40905 _ACEOF
40906 cat confdefs.h >>conftest.$ac_ext
40907 cat >>conftest.$ac_ext <<_ACEOF
40908 /* end confdefs.h.  */
40909 #include <math.h>
40910                       #ifdef HAVE_IEEEFP_H
40911                       #include <ieeefp.h>
40912                       #endif
40913
40914 int
40915 main ()
40916 {
40917  finitef(0);
40918   ;
40919   return 0;
40920 }
40921 _ACEOF
40922 rm -f conftest.$ac_objext
40923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40924   (eval $ac_compile) 2>conftest.er1
40925   ac_status=$?
40926   grep -v '^ *+' conftest.er1 >conftest.err
40927   rm -f conftest.er1
40928   cat conftest.err >&5
40929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40930   (exit $ac_status); } &&
40931          { ac_try='test -z "$ac_cxx_werror_flag"
40932                          || test ! -s conftest.err'
40933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40934   (eval $ac_try) 2>&5
40935   ac_status=$?
40936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40937   (exit $ac_status); }; } &&
40938          { ac_try='test -s conftest.$ac_objext'
40939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40940   (eval $ac_try) 2>&5
40941   ac_status=$?
40942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40943   (exit $ac_status); }; }; then
40944   glibcxx_cv_func_finitef_use=yes
40945 else
40946   echo "$as_me: failed program was:" >&5
40947 sed 's/^/| /' conftest.$ac_ext >&5
40948
40949 glibcxx_cv_func_finitef_use=no
40950 fi
40951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40952       ac_ext=c
40953 ac_cpp='$CPP $CPPFLAGS'
40954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40957
40958
40959 fi
40960
40961   fi
40962   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
40963 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
40964
40965   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
40966
40967 for ac_func in finitef
40968 do
40969 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40970 echo "$as_me:$LINENO: checking for $ac_func" >&5
40971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40972 if eval "test \"\${$as_ac_var+set}\" = set"; then
40973   echo $ECHO_N "(cached) $ECHO_C" >&6
40974 else
40975   if test x$gcc_no_link = xyes; then
40976   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40978    { (exit 1); exit 1; }; }
40979 fi
40980 cat >conftest.$ac_ext <<_ACEOF
40981 /* confdefs.h.  */
40982 _ACEOF
40983 cat confdefs.h >>conftest.$ac_ext
40984 cat >>conftest.$ac_ext <<_ACEOF
40985 /* end confdefs.h.  */
40986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40987    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40988 #define $ac_func innocuous_$ac_func
40989
40990 /* System header to define __stub macros and hopefully few prototypes,
40991     which can conflict with char $ac_func (); below.
40992     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40993     <limits.h> exists even on freestanding compilers.  */
40994
40995 #ifdef __STDC__
40996 # include <limits.h>
40997 #else
40998 # include <assert.h>
40999 #endif
41000
41001 #undef $ac_func
41002
41003 /* Override any gcc2 internal prototype to avoid an error.  */
41004 #ifdef __cplusplus
41005 extern "C"
41006 {
41007 #endif
41008 /* We use char because int might match the return type of a gcc2
41009    builtin and then its argument prototype would still apply.  */
41010 char $ac_func ();
41011 /* The GNU C library defines this for functions which it implements
41012     to always fail with ENOSYS.  Some functions are actually named
41013     something starting with __ and the normal name is an alias.  */
41014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41015 choke me
41016 #else
41017 char (*f) () = $ac_func;
41018 #endif
41019 #ifdef __cplusplus
41020 }
41021 #endif
41022
41023 int
41024 main ()
41025 {
41026 return f != $ac_func;
41027   ;
41028   return 0;
41029 }
41030 _ACEOF
41031 rm -f conftest.$ac_objext conftest$ac_exeext
41032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41033   (eval $ac_link) 2>conftest.er1
41034   ac_status=$?
41035   grep -v '^ *+' conftest.er1 >conftest.err
41036   rm -f conftest.er1
41037   cat conftest.err >&5
41038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41039   (exit $ac_status); } &&
41040          { ac_try='test -z "$ac_c_werror_flag"
41041                          || test ! -s conftest.err'
41042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41043   (eval $ac_try) 2>&5
41044   ac_status=$?
41045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41046   (exit $ac_status); }; } &&
41047          { ac_try='test -s conftest$ac_exeext'
41048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41049   (eval $ac_try) 2>&5
41050   ac_status=$?
41051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41052   (exit $ac_status); }; }; then
41053   eval "$as_ac_var=yes"
41054 else
41055   echo "$as_me: failed program was:" >&5
41056 sed 's/^/| /' conftest.$ac_ext >&5
41057
41058 eval "$as_ac_var=no"
41059 fi
41060 rm -f conftest.err conftest.$ac_objext \
41061       conftest$ac_exeext conftest.$ac_ext
41062 fi
41063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41065 if test `eval echo '${'$as_ac_var'}'` = yes; then
41066   cat >>confdefs.h <<_ACEOF
41067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41068 _ACEOF
41069
41070 fi
41071 done
41072
41073   else
41074
41075   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
41076 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
41077   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41078     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
41079   echo $ECHO_N "(cached) $ECHO_C" >&6
41080 else
41081
41082
41083
41084       ac_ext=cc
41085 ac_cpp='$CXXCPP $CPPFLAGS'
41086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41089
41090       cat >conftest.$ac_ext <<_ACEOF
41091 /* confdefs.h.  */
41092 _ACEOF
41093 cat confdefs.h >>conftest.$ac_ext
41094 cat >>conftest.$ac_ext <<_ACEOF
41095 /* end confdefs.h.  */
41096 #include <math.h>
41097                       #ifdef HAVE_IEEEFP_H
41098                       #include <ieeefp.h>
41099                       #endif
41100
41101 int
41102 main ()
41103 {
41104  _finitef(0);
41105   ;
41106   return 0;
41107 }
41108 _ACEOF
41109 rm -f conftest.$ac_objext
41110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41111   (eval $ac_compile) 2>conftest.er1
41112   ac_status=$?
41113   grep -v '^ *+' conftest.er1 >conftest.err
41114   rm -f conftest.er1
41115   cat conftest.err >&5
41116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41117   (exit $ac_status); } &&
41118          { ac_try='test -z "$ac_cxx_werror_flag"
41119                          || test ! -s conftest.err'
41120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41121   (eval $ac_try) 2>&5
41122   ac_status=$?
41123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41124   (exit $ac_status); }; } &&
41125          { ac_try='test -s conftest.$ac_objext'
41126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41127   (eval $ac_try) 2>&5
41128   ac_status=$?
41129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41130   (exit $ac_status); }; }; then
41131   glibcxx_cv_func__finitef_use=yes
41132 else
41133   echo "$as_me: failed program was:" >&5
41134 sed 's/^/| /' conftest.$ac_ext >&5
41135
41136 glibcxx_cv_func__finitef_use=no
41137 fi
41138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41139       ac_ext=c
41140 ac_cpp='$CPP $CPPFLAGS'
41141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41144
41145
41146 fi
41147
41148   fi
41149   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
41150 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
41151
41152     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41153
41154 for ac_func in _finitef
41155 do
41156 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41157 echo "$as_me:$LINENO: checking for $ac_func" >&5
41158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41159 if eval "test \"\${$as_ac_var+set}\" = set"; then
41160   echo $ECHO_N "(cached) $ECHO_C" >&6
41161 else
41162   if test x$gcc_no_link = xyes; then
41163   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41165    { (exit 1); exit 1; }; }
41166 fi
41167 cat >conftest.$ac_ext <<_ACEOF
41168 /* confdefs.h.  */
41169 _ACEOF
41170 cat confdefs.h >>conftest.$ac_ext
41171 cat >>conftest.$ac_ext <<_ACEOF
41172 /* end confdefs.h.  */
41173 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41174    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41175 #define $ac_func innocuous_$ac_func
41176
41177 /* System header to define __stub macros and hopefully few prototypes,
41178     which can conflict with char $ac_func (); below.
41179     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41180     <limits.h> exists even on freestanding compilers.  */
41181
41182 #ifdef __STDC__
41183 # include <limits.h>
41184 #else
41185 # include <assert.h>
41186 #endif
41187
41188 #undef $ac_func
41189
41190 /* Override any gcc2 internal prototype to avoid an error.  */
41191 #ifdef __cplusplus
41192 extern "C"
41193 {
41194 #endif
41195 /* We use char because int might match the return type of a gcc2
41196    builtin and then its argument prototype would still apply.  */
41197 char $ac_func ();
41198 /* The GNU C library defines this for functions which it implements
41199     to always fail with ENOSYS.  Some functions are actually named
41200     something starting with __ and the normal name is an alias.  */
41201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41202 choke me
41203 #else
41204 char (*f) () = $ac_func;
41205 #endif
41206 #ifdef __cplusplus
41207 }
41208 #endif
41209
41210 int
41211 main ()
41212 {
41213 return f != $ac_func;
41214   ;
41215   return 0;
41216 }
41217 _ACEOF
41218 rm -f conftest.$ac_objext conftest$ac_exeext
41219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41220   (eval $ac_link) 2>conftest.er1
41221   ac_status=$?
41222   grep -v '^ *+' conftest.er1 >conftest.err
41223   rm -f conftest.er1
41224   cat conftest.err >&5
41225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41226   (exit $ac_status); } &&
41227          { ac_try='test -z "$ac_c_werror_flag"
41228                          || test ! -s conftest.err'
41229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41230   (eval $ac_try) 2>&5
41231   ac_status=$?
41232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41233   (exit $ac_status); }; } &&
41234          { ac_try='test -s conftest$ac_exeext'
41235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41236   (eval $ac_try) 2>&5
41237   ac_status=$?
41238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41239   (exit $ac_status); }; }; then
41240   eval "$as_ac_var=yes"
41241 else
41242   echo "$as_me: failed program was:" >&5
41243 sed 's/^/| /' conftest.$ac_ext >&5
41244
41245 eval "$as_ac_var=no"
41246 fi
41247 rm -f conftest.err conftest.$ac_objext \
41248       conftest$ac_exeext conftest.$ac_ext
41249 fi
41250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41252 if test `eval echo '${'$as_ac_var'}'` = yes; then
41253   cat >>confdefs.h <<_ACEOF
41254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41255 _ACEOF
41256
41257 fi
41258 done
41259
41260     fi
41261   fi
41262
41263
41264
41265
41266
41267
41268     echo "$as_me:$LINENO: checking for long double trig functions" >&5
41269 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
41270   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
41271   echo $ECHO_N "(cached) $ECHO_C" >&6
41272 else
41273
41274
41275
41276     ac_ext=cc
41277 ac_cpp='$CXXCPP $CPPFLAGS'
41278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41281
41282     cat >conftest.$ac_ext <<_ACEOF
41283 /* confdefs.h.  */
41284 _ACEOF
41285 cat confdefs.h >>conftest.$ac_ext
41286 cat >>conftest.$ac_ext <<_ACEOF
41287 /* end confdefs.h.  */
41288 #include <math.h>
41289 int
41290 main ()
41291 {
41292 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41293   ;
41294   return 0;
41295 }
41296 _ACEOF
41297 rm -f conftest.$ac_objext
41298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41299   (eval $ac_compile) 2>conftest.er1
41300   ac_status=$?
41301   grep -v '^ *+' conftest.er1 >conftest.err
41302   rm -f conftest.er1
41303   cat conftest.err >&5
41304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41305   (exit $ac_status); } &&
41306          { ac_try='test -z "$ac_cxx_werror_flag"
41307                          || test ! -s conftest.err'
41308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41309   (eval $ac_try) 2>&5
41310   ac_status=$?
41311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41312   (exit $ac_status); }; } &&
41313          { ac_try='test -s conftest.$ac_objext'
41314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41315   (eval $ac_try) 2>&5
41316   ac_status=$?
41317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41318   (exit $ac_status); }; }; then
41319   glibcxx_cv_func_long_double_trig_use=yes
41320 else
41321   echo "$as_me: failed program was:" >&5
41322 sed 's/^/| /' conftest.$ac_ext >&5
41323
41324 glibcxx_cv_func_long_double_trig_use=no
41325 fi
41326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41327     ac_ext=c
41328 ac_cpp='$CPP $CPPFLAGS'
41329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41332
41333 fi
41334
41335   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
41336 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
41337   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41338
41339
41340
41341
41342
41343
41344
41345
41346
41347 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41348 do
41349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41350 echo "$as_me:$LINENO: checking for $ac_func" >&5
41351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41352 if eval "test \"\${$as_ac_var+set}\" = set"; then
41353   echo $ECHO_N "(cached) $ECHO_C" >&6
41354 else
41355   if test x$gcc_no_link = xyes; then
41356   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41358    { (exit 1); exit 1; }; }
41359 fi
41360 cat >conftest.$ac_ext <<_ACEOF
41361 /* confdefs.h.  */
41362 _ACEOF
41363 cat confdefs.h >>conftest.$ac_ext
41364 cat >>conftest.$ac_ext <<_ACEOF
41365 /* end confdefs.h.  */
41366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41367    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41368 #define $ac_func innocuous_$ac_func
41369
41370 /* System header to define __stub macros and hopefully few prototypes,
41371     which can conflict with char $ac_func (); below.
41372     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41373     <limits.h> exists even on freestanding compilers.  */
41374
41375 #ifdef __STDC__
41376 # include <limits.h>
41377 #else
41378 # include <assert.h>
41379 #endif
41380
41381 #undef $ac_func
41382
41383 /* Override any gcc2 internal prototype to avoid an error.  */
41384 #ifdef __cplusplus
41385 extern "C"
41386 {
41387 #endif
41388 /* We use char because int might match the return type of a gcc2
41389    builtin and then its argument prototype would still apply.  */
41390 char $ac_func ();
41391 /* The GNU C library defines this for functions which it implements
41392     to always fail with ENOSYS.  Some functions are actually named
41393     something starting with __ and the normal name is an alias.  */
41394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41395 choke me
41396 #else
41397 char (*f) () = $ac_func;
41398 #endif
41399 #ifdef __cplusplus
41400 }
41401 #endif
41402
41403 int
41404 main ()
41405 {
41406 return f != $ac_func;
41407   ;
41408   return 0;
41409 }
41410 _ACEOF
41411 rm -f conftest.$ac_objext conftest$ac_exeext
41412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41413   (eval $ac_link) 2>conftest.er1
41414   ac_status=$?
41415   grep -v '^ *+' conftest.er1 >conftest.err
41416   rm -f conftest.er1
41417   cat conftest.err >&5
41418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41419   (exit $ac_status); } &&
41420          { ac_try='test -z "$ac_c_werror_flag"
41421                          || test ! -s conftest.err'
41422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41423   (eval $ac_try) 2>&5
41424   ac_status=$?
41425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41426   (exit $ac_status); }; } &&
41427          { ac_try='test -s conftest$ac_exeext'
41428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41429   (eval $ac_try) 2>&5
41430   ac_status=$?
41431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41432   (exit $ac_status); }; }; then
41433   eval "$as_ac_var=yes"
41434 else
41435   echo "$as_me: failed program was:" >&5
41436 sed 's/^/| /' conftest.$ac_ext >&5
41437
41438 eval "$as_ac_var=no"
41439 fi
41440 rm -f conftest.err conftest.$ac_objext \
41441       conftest$ac_exeext conftest.$ac_ext
41442 fi
41443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41445 if test `eval echo '${'$as_ac_var'}'` = yes; then
41446   cat >>confdefs.h <<_ACEOF
41447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41448 _ACEOF
41449
41450 fi
41451 done
41452
41453   else
41454     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
41455 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
41456     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
41457   echo $ECHO_N "(cached) $ECHO_C" >&6
41458 else
41459
41460
41461
41462       ac_ext=cc
41463 ac_cpp='$CXXCPP $CPPFLAGS'
41464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41467
41468       cat >conftest.$ac_ext <<_ACEOF
41469 /* confdefs.h.  */
41470 _ACEOF
41471 cat confdefs.h >>conftest.$ac_ext
41472 cat >>conftest.$ac_ext <<_ACEOF
41473 /* end confdefs.h.  */
41474 #include <math.h>
41475 int
41476 main ()
41477 {
41478 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41479   ;
41480   return 0;
41481 }
41482 _ACEOF
41483 rm -f conftest.$ac_objext
41484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41485   (eval $ac_compile) 2>conftest.er1
41486   ac_status=$?
41487   grep -v '^ *+' conftest.er1 >conftest.err
41488   rm -f conftest.er1
41489   cat conftest.err >&5
41490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41491   (exit $ac_status); } &&
41492          { ac_try='test -z "$ac_cxx_werror_flag"
41493                          || test ! -s conftest.err'
41494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41495   (eval $ac_try) 2>&5
41496   ac_status=$?
41497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41498   (exit $ac_status); }; } &&
41499          { ac_try='test -s conftest.$ac_objext'
41500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41501   (eval $ac_try) 2>&5
41502   ac_status=$?
41503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41504   (exit $ac_status); }; }; then
41505   glibcxx_cv_func__long_double_trig_use=yes
41506 else
41507   echo "$as_me: failed program was:" >&5
41508 sed 's/^/| /' conftest.$ac_ext >&5
41509
41510 glibcxx_cv_func__long_double_trig_use=no
41511 fi
41512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41513       ac_ext=c
41514 ac_cpp='$CPP $CPPFLAGS'
41515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41518
41519 fi
41520
41521     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
41522 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
41523     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41524
41525
41526
41527
41528
41529
41530
41531
41532
41533 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41534 do
41535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41536 echo "$as_me:$LINENO: checking for $ac_func" >&5
41537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41538 if eval "test \"\${$as_ac_var+set}\" = set"; then
41539   echo $ECHO_N "(cached) $ECHO_C" >&6
41540 else
41541   if test x$gcc_no_link = xyes; then
41542   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41544    { (exit 1); exit 1; }; }
41545 fi
41546 cat >conftest.$ac_ext <<_ACEOF
41547 /* confdefs.h.  */
41548 _ACEOF
41549 cat confdefs.h >>conftest.$ac_ext
41550 cat >>conftest.$ac_ext <<_ACEOF
41551 /* end confdefs.h.  */
41552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41553    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41554 #define $ac_func innocuous_$ac_func
41555
41556 /* System header to define __stub macros and hopefully few prototypes,
41557     which can conflict with char $ac_func (); below.
41558     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41559     <limits.h> exists even on freestanding compilers.  */
41560
41561 #ifdef __STDC__
41562 # include <limits.h>
41563 #else
41564 # include <assert.h>
41565 #endif
41566
41567 #undef $ac_func
41568
41569 /* Override any gcc2 internal prototype to avoid an error.  */
41570 #ifdef __cplusplus
41571 extern "C"
41572 {
41573 #endif
41574 /* We use char because int might match the return type of a gcc2
41575    builtin and then its argument prototype would still apply.  */
41576 char $ac_func ();
41577 /* The GNU C library defines this for functions which it implements
41578     to always fail with ENOSYS.  Some functions are actually named
41579     something starting with __ and the normal name is an alias.  */
41580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41581 choke me
41582 #else
41583 char (*f) () = $ac_func;
41584 #endif
41585 #ifdef __cplusplus
41586 }
41587 #endif
41588
41589 int
41590 main ()
41591 {
41592 return f != $ac_func;
41593   ;
41594   return 0;
41595 }
41596 _ACEOF
41597 rm -f conftest.$ac_objext conftest$ac_exeext
41598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41599   (eval $ac_link) 2>conftest.er1
41600   ac_status=$?
41601   grep -v '^ *+' conftest.er1 >conftest.err
41602   rm -f conftest.er1
41603   cat conftest.err >&5
41604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41605   (exit $ac_status); } &&
41606          { ac_try='test -z "$ac_c_werror_flag"
41607                          || test ! -s conftest.err'
41608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41609   (eval $ac_try) 2>&5
41610   ac_status=$?
41611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41612   (exit $ac_status); }; } &&
41613          { ac_try='test -s conftest$ac_exeext'
41614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41615   (eval $ac_try) 2>&5
41616   ac_status=$?
41617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41618   (exit $ac_status); }; }; then
41619   eval "$as_ac_var=yes"
41620 else
41621   echo "$as_me: failed program was:" >&5
41622 sed 's/^/| /' conftest.$ac_ext >&5
41623
41624 eval "$as_ac_var=no"
41625 fi
41626 rm -f conftest.err conftest.$ac_objext \
41627       conftest$ac_exeext conftest.$ac_ext
41628 fi
41629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41631 if test `eval echo '${'$as_ac_var'}'` = yes; then
41632   cat >>confdefs.h <<_ACEOF
41633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41634 _ACEOF
41635
41636 fi
41637 done
41638
41639     fi
41640   fi
41641
41642
41643
41644
41645
41646
41647
41648
41649
41650
41651
41652
41653
41654
41655     echo "$as_me:$LINENO: checking for long double round functions" >&5
41656 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
41657   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
41658   echo $ECHO_N "(cached) $ECHO_C" >&6
41659 else
41660
41661
41662
41663     ac_ext=cc
41664 ac_cpp='$CXXCPP $CPPFLAGS'
41665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41668
41669     cat >conftest.$ac_ext <<_ACEOF
41670 /* confdefs.h.  */
41671 _ACEOF
41672 cat confdefs.h >>conftest.$ac_ext
41673 cat >>conftest.$ac_ext <<_ACEOF
41674 /* end confdefs.h.  */
41675 #include <math.h>
41676 int
41677 main ()
41678 {
41679 ceill (0); floorl (0);
41680   ;
41681   return 0;
41682 }
41683 _ACEOF
41684 rm -f conftest.$ac_objext
41685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41686   (eval $ac_compile) 2>conftest.er1
41687   ac_status=$?
41688   grep -v '^ *+' conftest.er1 >conftest.err
41689   rm -f conftest.er1
41690   cat conftest.err >&5
41691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41692   (exit $ac_status); } &&
41693          { ac_try='test -z "$ac_cxx_werror_flag"
41694                          || test ! -s conftest.err'
41695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41696   (eval $ac_try) 2>&5
41697   ac_status=$?
41698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41699   (exit $ac_status); }; } &&
41700          { ac_try='test -s conftest.$ac_objext'
41701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41702   (eval $ac_try) 2>&5
41703   ac_status=$?
41704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41705   (exit $ac_status); }; }; then
41706   glibcxx_cv_func_long_double_round_use=yes
41707 else
41708   echo "$as_me: failed program was:" >&5
41709 sed 's/^/| /' conftest.$ac_ext >&5
41710
41711 glibcxx_cv_func_long_double_round_use=no
41712 fi
41713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41714     ac_ext=c
41715 ac_cpp='$CPP $CPPFLAGS'
41716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41719
41720 fi
41721
41722   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
41723 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
41724   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41725
41726
41727 for ac_func in ceill floorl
41728 do
41729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41730 echo "$as_me:$LINENO: checking for $ac_func" >&5
41731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41732 if eval "test \"\${$as_ac_var+set}\" = set"; then
41733   echo $ECHO_N "(cached) $ECHO_C" >&6
41734 else
41735   if test x$gcc_no_link = xyes; then
41736   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41738    { (exit 1); exit 1; }; }
41739 fi
41740 cat >conftest.$ac_ext <<_ACEOF
41741 /* confdefs.h.  */
41742 _ACEOF
41743 cat confdefs.h >>conftest.$ac_ext
41744 cat >>conftest.$ac_ext <<_ACEOF
41745 /* end confdefs.h.  */
41746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41747    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41748 #define $ac_func innocuous_$ac_func
41749
41750 /* System header to define __stub macros and hopefully few prototypes,
41751     which can conflict with char $ac_func (); below.
41752     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41753     <limits.h> exists even on freestanding compilers.  */
41754
41755 #ifdef __STDC__
41756 # include <limits.h>
41757 #else
41758 # include <assert.h>
41759 #endif
41760
41761 #undef $ac_func
41762
41763 /* Override any gcc2 internal prototype to avoid an error.  */
41764 #ifdef __cplusplus
41765 extern "C"
41766 {
41767 #endif
41768 /* We use char because int might match the return type of a gcc2
41769    builtin and then its argument prototype would still apply.  */
41770 char $ac_func ();
41771 /* The GNU C library defines this for functions which it implements
41772     to always fail with ENOSYS.  Some functions are actually named
41773     something starting with __ and the normal name is an alias.  */
41774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41775 choke me
41776 #else
41777 char (*f) () = $ac_func;
41778 #endif
41779 #ifdef __cplusplus
41780 }
41781 #endif
41782
41783 int
41784 main ()
41785 {
41786 return f != $ac_func;
41787   ;
41788   return 0;
41789 }
41790 _ACEOF
41791 rm -f conftest.$ac_objext conftest$ac_exeext
41792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41793   (eval $ac_link) 2>conftest.er1
41794   ac_status=$?
41795   grep -v '^ *+' conftest.er1 >conftest.err
41796   rm -f conftest.er1
41797   cat conftest.err >&5
41798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41799   (exit $ac_status); } &&
41800          { ac_try='test -z "$ac_c_werror_flag"
41801                          || test ! -s conftest.err'
41802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41803   (eval $ac_try) 2>&5
41804   ac_status=$?
41805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41806   (exit $ac_status); }; } &&
41807          { ac_try='test -s conftest$ac_exeext'
41808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41809   (eval $ac_try) 2>&5
41810   ac_status=$?
41811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41812   (exit $ac_status); }; }; then
41813   eval "$as_ac_var=yes"
41814 else
41815   echo "$as_me: failed program was:" >&5
41816 sed 's/^/| /' conftest.$ac_ext >&5
41817
41818 eval "$as_ac_var=no"
41819 fi
41820 rm -f conftest.err conftest.$ac_objext \
41821       conftest$ac_exeext conftest.$ac_ext
41822 fi
41823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41825 if test `eval echo '${'$as_ac_var'}'` = yes; then
41826   cat >>confdefs.h <<_ACEOF
41827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41828 _ACEOF
41829
41830 fi
41831 done
41832
41833   else
41834     echo "$as_me:$LINENO: checking for _long double round functions" >&5
41835 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
41836     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
41837   echo $ECHO_N "(cached) $ECHO_C" >&6
41838 else
41839
41840
41841
41842       ac_ext=cc
41843 ac_cpp='$CXXCPP $CPPFLAGS'
41844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41847
41848       cat >conftest.$ac_ext <<_ACEOF
41849 /* confdefs.h.  */
41850 _ACEOF
41851 cat confdefs.h >>conftest.$ac_ext
41852 cat >>conftest.$ac_ext <<_ACEOF
41853 /* end confdefs.h.  */
41854 #include <math.h>
41855 int
41856 main ()
41857 {
41858 _ceill (0); _floorl (0);
41859   ;
41860   return 0;
41861 }
41862 _ACEOF
41863 rm -f conftest.$ac_objext
41864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41865   (eval $ac_compile) 2>conftest.er1
41866   ac_status=$?
41867   grep -v '^ *+' conftest.er1 >conftest.err
41868   rm -f conftest.er1
41869   cat conftest.err >&5
41870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41871   (exit $ac_status); } &&
41872          { ac_try='test -z "$ac_cxx_werror_flag"
41873                          || test ! -s conftest.err'
41874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41875   (eval $ac_try) 2>&5
41876   ac_status=$?
41877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41878   (exit $ac_status); }; } &&
41879          { ac_try='test -s conftest.$ac_objext'
41880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41881   (eval $ac_try) 2>&5
41882   ac_status=$?
41883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41884   (exit $ac_status); }; }; then
41885   glibcxx_cv_func__long_double_round_use=yes
41886 else
41887   echo "$as_me: failed program was:" >&5
41888 sed 's/^/| /' conftest.$ac_ext >&5
41889
41890 glibcxx_cv_func__long_double_round_use=no
41891 fi
41892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41893       ac_ext=c
41894 ac_cpp='$CPP $CPPFLAGS'
41895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41898
41899 fi
41900
41901     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
41902 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
41903     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
41904
41905
41906 for ac_func in _ceill _floorl
41907 do
41908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41909 echo "$as_me:$LINENO: checking for $ac_func" >&5
41910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41911 if eval "test \"\${$as_ac_var+set}\" = set"; then
41912   echo $ECHO_N "(cached) $ECHO_C" >&6
41913 else
41914   if test x$gcc_no_link = xyes; then
41915   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41917    { (exit 1); exit 1; }; }
41918 fi
41919 cat >conftest.$ac_ext <<_ACEOF
41920 /* confdefs.h.  */
41921 _ACEOF
41922 cat confdefs.h >>conftest.$ac_ext
41923 cat >>conftest.$ac_ext <<_ACEOF
41924 /* end confdefs.h.  */
41925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41926    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41927 #define $ac_func innocuous_$ac_func
41928
41929 /* System header to define __stub macros and hopefully few prototypes,
41930     which can conflict with char $ac_func (); below.
41931     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41932     <limits.h> exists even on freestanding compilers.  */
41933
41934 #ifdef __STDC__
41935 # include <limits.h>
41936 #else
41937 # include <assert.h>
41938 #endif
41939
41940 #undef $ac_func
41941
41942 /* Override any gcc2 internal prototype to avoid an error.  */
41943 #ifdef __cplusplus
41944 extern "C"
41945 {
41946 #endif
41947 /* We use char because int might match the return type of a gcc2
41948    builtin and then its argument prototype would still apply.  */
41949 char $ac_func ();
41950 /* The GNU C library defines this for functions which it implements
41951     to always fail with ENOSYS.  Some functions are actually named
41952     something starting with __ and the normal name is an alias.  */
41953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41954 choke me
41955 #else
41956 char (*f) () = $ac_func;
41957 #endif
41958 #ifdef __cplusplus
41959 }
41960 #endif
41961
41962 int
41963 main ()
41964 {
41965 return f != $ac_func;
41966   ;
41967   return 0;
41968 }
41969 _ACEOF
41970 rm -f conftest.$ac_objext conftest$ac_exeext
41971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41972   (eval $ac_link) 2>conftest.er1
41973   ac_status=$?
41974   grep -v '^ *+' conftest.er1 >conftest.err
41975   rm -f conftest.er1
41976   cat conftest.err >&5
41977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41978   (exit $ac_status); } &&
41979          { ac_try='test -z "$ac_c_werror_flag"
41980                          || test ! -s conftest.err'
41981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41982   (eval $ac_try) 2>&5
41983   ac_status=$?
41984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41985   (exit $ac_status); }; } &&
41986          { ac_try='test -s conftest$ac_exeext'
41987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41988   (eval $ac_try) 2>&5
41989   ac_status=$?
41990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41991   (exit $ac_status); }; }; then
41992   eval "$as_ac_var=yes"
41993 else
41994   echo "$as_me: failed program was:" >&5
41995 sed 's/^/| /' conftest.$ac_ext >&5
41996
41997 eval "$as_ac_var=no"
41998 fi
41999 rm -f conftest.err conftest.$ac_objext \
42000       conftest$ac_exeext conftest.$ac_ext
42001 fi
42002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42004 if test `eval echo '${'$as_ac_var'}'` = yes; then
42005   cat >>confdefs.h <<_ACEOF
42006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42007 _ACEOF
42008
42009 fi
42010 done
42011
42012     fi
42013   fi
42014
42015
42016
42017
42018
42019
42020
42021
42022   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
42023 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
42024   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42025     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
42026   echo $ECHO_N "(cached) $ECHO_C" >&6
42027 else
42028
42029
42030
42031       ac_ext=cc
42032 ac_cpp='$CXXCPP $CPPFLAGS'
42033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42036
42037       cat >conftest.$ac_ext <<_ACEOF
42038 /* confdefs.h.  */
42039 _ACEOF
42040 cat confdefs.h >>conftest.$ac_ext
42041 cat >>conftest.$ac_ext <<_ACEOF
42042 /* end confdefs.h.  */
42043 #include <math.h>
42044                       #ifdef HAVE_IEEEFP_H
42045                       #include <ieeefp.h>
42046                       #endif
42047
42048 int
42049 main ()
42050 {
42051  isnanl(0);
42052   ;
42053   return 0;
42054 }
42055 _ACEOF
42056 rm -f conftest.$ac_objext
42057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42058   (eval $ac_compile) 2>conftest.er1
42059   ac_status=$?
42060   grep -v '^ *+' conftest.er1 >conftest.err
42061   rm -f conftest.er1
42062   cat conftest.err >&5
42063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42064   (exit $ac_status); } &&
42065          { ac_try='test -z "$ac_cxx_werror_flag"
42066                          || test ! -s conftest.err'
42067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42068   (eval $ac_try) 2>&5
42069   ac_status=$?
42070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42071   (exit $ac_status); }; } &&
42072          { ac_try='test -s conftest.$ac_objext'
42073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42074   (eval $ac_try) 2>&5
42075   ac_status=$?
42076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42077   (exit $ac_status); }; }; then
42078   glibcxx_cv_func_isnanl_use=yes
42079 else
42080   echo "$as_me: failed program was:" >&5
42081 sed 's/^/| /' conftest.$ac_ext >&5
42082
42083 glibcxx_cv_func_isnanl_use=no
42084 fi
42085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42086       ac_ext=c
42087 ac_cpp='$CPP $CPPFLAGS'
42088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42091
42092
42093 fi
42094
42095   fi
42096   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
42097 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
42098
42099   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42100
42101 for ac_func in isnanl
42102 do
42103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42104 echo "$as_me:$LINENO: checking for $ac_func" >&5
42105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42106 if eval "test \"\${$as_ac_var+set}\" = set"; then
42107   echo $ECHO_N "(cached) $ECHO_C" >&6
42108 else
42109   if test x$gcc_no_link = xyes; then
42110   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42112    { (exit 1); exit 1; }; }
42113 fi
42114 cat >conftest.$ac_ext <<_ACEOF
42115 /* confdefs.h.  */
42116 _ACEOF
42117 cat confdefs.h >>conftest.$ac_ext
42118 cat >>conftest.$ac_ext <<_ACEOF
42119 /* end confdefs.h.  */
42120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42121    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42122 #define $ac_func innocuous_$ac_func
42123
42124 /* System header to define __stub macros and hopefully few prototypes,
42125     which can conflict with char $ac_func (); below.
42126     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42127     <limits.h> exists even on freestanding compilers.  */
42128
42129 #ifdef __STDC__
42130 # include <limits.h>
42131 #else
42132 # include <assert.h>
42133 #endif
42134
42135 #undef $ac_func
42136
42137 /* Override any gcc2 internal prototype to avoid an error.  */
42138 #ifdef __cplusplus
42139 extern "C"
42140 {
42141 #endif
42142 /* We use char because int might match the return type of a gcc2
42143    builtin and then its argument prototype would still apply.  */
42144 char $ac_func ();
42145 /* The GNU C library defines this for functions which it implements
42146     to always fail with ENOSYS.  Some functions are actually named
42147     something starting with __ and the normal name is an alias.  */
42148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42149 choke me
42150 #else
42151 char (*f) () = $ac_func;
42152 #endif
42153 #ifdef __cplusplus
42154 }
42155 #endif
42156
42157 int
42158 main ()
42159 {
42160 return f != $ac_func;
42161   ;
42162   return 0;
42163 }
42164 _ACEOF
42165 rm -f conftest.$ac_objext conftest$ac_exeext
42166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42167   (eval $ac_link) 2>conftest.er1
42168   ac_status=$?
42169   grep -v '^ *+' conftest.er1 >conftest.err
42170   rm -f conftest.er1
42171   cat conftest.err >&5
42172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42173   (exit $ac_status); } &&
42174          { ac_try='test -z "$ac_c_werror_flag"
42175                          || test ! -s conftest.err'
42176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42177   (eval $ac_try) 2>&5
42178   ac_status=$?
42179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42180   (exit $ac_status); }; } &&
42181          { ac_try='test -s conftest$ac_exeext'
42182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42183   (eval $ac_try) 2>&5
42184   ac_status=$?
42185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42186   (exit $ac_status); }; }; then
42187   eval "$as_ac_var=yes"
42188 else
42189   echo "$as_me: failed program was:" >&5
42190 sed 's/^/| /' conftest.$ac_ext >&5
42191
42192 eval "$as_ac_var=no"
42193 fi
42194 rm -f conftest.err conftest.$ac_objext \
42195       conftest$ac_exeext conftest.$ac_ext
42196 fi
42197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42199 if test `eval echo '${'$as_ac_var'}'` = yes; then
42200   cat >>confdefs.h <<_ACEOF
42201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42202 _ACEOF
42203
42204 fi
42205 done
42206
42207   else
42208
42209   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
42210 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
42211   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42212     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
42213   echo $ECHO_N "(cached) $ECHO_C" >&6
42214 else
42215
42216
42217
42218       ac_ext=cc
42219 ac_cpp='$CXXCPP $CPPFLAGS'
42220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42223
42224       cat >conftest.$ac_ext <<_ACEOF
42225 /* confdefs.h.  */
42226 _ACEOF
42227 cat confdefs.h >>conftest.$ac_ext
42228 cat >>conftest.$ac_ext <<_ACEOF
42229 /* end confdefs.h.  */
42230 #include <math.h>
42231                       #ifdef HAVE_IEEEFP_H
42232                       #include <ieeefp.h>
42233                       #endif
42234
42235 int
42236 main ()
42237 {
42238  _isnanl(0);
42239   ;
42240   return 0;
42241 }
42242 _ACEOF
42243 rm -f conftest.$ac_objext
42244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42245   (eval $ac_compile) 2>conftest.er1
42246   ac_status=$?
42247   grep -v '^ *+' conftest.er1 >conftest.err
42248   rm -f conftest.er1
42249   cat conftest.err >&5
42250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42251   (exit $ac_status); } &&
42252          { ac_try='test -z "$ac_cxx_werror_flag"
42253                          || test ! -s conftest.err'
42254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42255   (eval $ac_try) 2>&5
42256   ac_status=$?
42257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42258   (exit $ac_status); }; } &&
42259          { ac_try='test -s conftest.$ac_objext'
42260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42261   (eval $ac_try) 2>&5
42262   ac_status=$?
42263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42264   (exit $ac_status); }; }; then
42265   glibcxx_cv_func__isnanl_use=yes
42266 else
42267   echo "$as_me: failed program was:" >&5
42268 sed 's/^/| /' conftest.$ac_ext >&5
42269
42270 glibcxx_cv_func__isnanl_use=no
42271 fi
42272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42273       ac_ext=c
42274 ac_cpp='$CPP $CPPFLAGS'
42275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42278
42279
42280 fi
42281
42282   fi
42283   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
42284 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
42285
42286     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42287
42288 for ac_func in _isnanl
42289 do
42290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42291 echo "$as_me:$LINENO: checking for $ac_func" >&5
42292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42293 if eval "test \"\${$as_ac_var+set}\" = set"; then
42294   echo $ECHO_N "(cached) $ECHO_C" >&6
42295 else
42296   if test x$gcc_no_link = xyes; then
42297   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42299    { (exit 1); exit 1; }; }
42300 fi
42301 cat >conftest.$ac_ext <<_ACEOF
42302 /* confdefs.h.  */
42303 _ACEOF
42304 cat confdefs.h >>conftest.$ac_ext
42305 cat >>conftest.$ac_ext <<_ACEOF
42306 /* end confdefs.h.  */
42307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42308    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42309 #define $ac_func innocuous_$ac_func
42310
42311 /* System header to define __stub macros and hopefully few prototypes,
42312     which can conflict with char $ac_func (); below.
42313     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42314     <limits.h> exists even on freestanding compilers.  */
42315
42316 #ifdef __STDC__
42317 # include <limits.h>
42318 #else
42319 # include <assert.h>
42320 #endif
42321
42322 #undef $ac_func
42323
42324 /* Override any gcc2 internal prototype to avoid an error.  */
42325 #ifdef __cplusplus
42326 extern "C"
42327 {
42328 #endif
42329 /* We use char because int might match the return type of a gcc2
42330    builtin and then its argument prototype would still apply.  */
42331 char $ac_func ();
42332 /* The GNU C library defines this for functions which it implements
42333     to always fail with ENOSYS.  Some functions are actually named
42334     something starting with __ and the normal name is an alias.  */
42335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42336 choke me
42337 #else
42338 char (*f) () = $ac_func;
42339 #endif
42340 #ifdef __cplusplus
42341 }
42342 #endif
42343
42344 int
42345 main ()
42346 {
42347 return f != $ac_func;
42348   ;
42349   return 0;
42350 }
42351 _ACEOF
42352 rm -f conftest.$ac_objext conftest$ac_exeext
42353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42354   (eval $ac_link) 2>conftest.er1
42355   ac_status=$?
42356   grep -v '^ *+' conftest.er1 >conftest.err
42357   rm -f conftest.er1
42358   cat conftest.err >&5
42359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42360   (exit $ac_status); } &&
42361          { ac_try='test -z "$ac_c_werror_flag"
42362                          || test ! -s conftest.err'
42363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42364   (eval $ac_try) 2>&5
42365   ac_status=$?
42366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42367   (exit $ac_status); }; } &&
42368          { ac_try='test -s conftest$ac_exeext'
42369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42370   (eval $ac_try) 2>&5
42371   ac_status=$?
42372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42373   (exit $ac_status); }; }; then
42374   eval "$as_ac_var=yes"
42375 else
42376   echo "$as_me: failed program was:" >&5
42377 sed 's/^/| /' conftest.$ac_ext >&5
42378
42379 eval "$as_ac_var=no"
42380 fi
42381 rm -f conftest.err conftest.$ac_objext \
42382       conftest$ac_exeext conftest.$ac_ext
42383 fi
42384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42386 if test `eval echo '${'$as_ac_var'}'` = yes; then
42387   cat >>confdefs.h <<_ACEOF
42388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42389 _ACEOF
42390
42391 fi
42392 done
42393
42394     fi
42395   fi
42396
42397
42398
42399
42400
42401
42402   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
42403 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
42404   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42405     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
42406   echo $ECHO_N "(cached) $ECHO_C" >&6
42407 else
42408
42409
42410
42411       ac_ext=cc
42412 ac_cpp='$CXXCPP $CPPFLAGS'
42413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42416
42417       cat >conftest.$ac_ext <<_ACEOF
42418 /* confdefs.h.  */
42419 _ACEOF
42420 cat confdefs.h >>conftest.$ac_ext
42421 cat >>conftest.$ac_ext <<_ACEOF
42422 /* end confdefs.h.  */
42423 #include <math.h>
42424                       #ifdef HAVE_IEEEFP_H
42425                       #include <ieeefp.h>
42426                       #endif
42427
42428 int
42429 main ()
42430 {
42431  isinfl(0);
42432   ;
42433   return 0;
42434 }
42435 _ACEOF
42436 rm -f conftest.$ac_objext
42437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42438   (eval $ac_compile) 2>conftest.er1
42439   ac_status=$?
42440   grep -v '^ *+' conftest.er1 >conftest.err
42441   rm -f conftest.er1
42442   cat conftest.err >&5
42443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42444   (exit $ac_status); } &&
42445          { ac_try='test -z "$ac_cxx_werror_flag"
42446                          || test ! -s conftest.err'
42447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42448   (eval $ac_try) 2>&5
42449   ac_status=$?
42450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42451   (exit $ac_status); }; } &&
42452          { ac_try='test -s conftest.$ac_objext'
42453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42454   (eval $ac_try) 2>&5
42455   ac_status=$?
42456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42457   (exit $ac_status); }; }; then
42458   glibcxx_cv_func_isinfl_use=yes
42459 else
42460   echo "$as_me: failed program was:" >&5
42461 sed 's/^/| /' conftest.$ac_ext >&5
42462
42463 glibcxx_cv_func_isinfl_use=no
42464 fi
42465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42466       ac_ext=c
42467 ac_cpp='$CPP $CPPFLAGS'
42468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42471
42472
42473 fi
42474
42475   fi
42476   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
42477 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
42478
42479   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42480
42481 for ac_func in isinfl
42482 do
42483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42484 echo "$as_me:$LINENO: checking for $ac_func" >&5
42485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42486 if eval "test \"\${$as_ac_var+set}\" = set"; then
42487   echo $ECHO_N "(cached) $ECHO_C" >&6
42488 else
42489   if test x$gcc_no_link = xyes; then
42490   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42492    { (exit 1); exit 1; }; }
42493 fi
42494 cat >conftest.$ac_ext <<_ACEOF
42495 /* confdefs.h.  */
42496 _ACEOF
42497 cat confdefs.h >>conftest.$ac_ext
42498 cat >>conftest.$ac_ext <<_ACEOF
42499 /* end confdefs.h.  */
42500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42501    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42502 #define $ac_func innocuous_$ac_func
42503
42504 /* System header to define __stub macros and hopefully few prototypes,
42505     which can conflict with char $ac_func (); below.
42506     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42507     <limits.h> exists even on freestanding compilers.  */
42508
42509 #ifdef __STDC__
42510 # include <limits.h>
42511 #else
42512 # include <assert.h>
42513 #endif
42514
42515 #undef $ac_func
42516
42517 /* Override any gcc2 internal prototype to avoid an error.  */
42518 #ifdef __cplusplus
42519 extern "C"
42520 {
42521 #endif
42522 /* We use char because int might match the return type of a gcc2
42523    builtin and then its argument prototype would still apply.  */
42524 char $ac_func ();
42525 /* The GNU C library defines this for functions which it implements
42526     to always fail with ENOSYS.  Some functions are actually named
42527     something starting with __ and the normal name is an alias.  */
42528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42529 choke me
42530 #else
42531 char (*f) () = $ac_func;
42532 #endif
42533 #ifdef __cplusplus
42534 }
42535 #endif
42536
42537 int
42538 main ()
42539 {
42540 return f != $ac_func;
42541   ;
42542   return 0;
42543 }
42544 _ACEOF
42545 rm -f conftest.$ac_objext conftest$ac_exeext
42546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42547   (eval $ac_link) 2>conftest.er1
42548   ac_status=$?
42549   grep -v '^ *+' conftest.er1 >conftest.err
42550   rm -f conftest.er1
42551   cat conftest.err >&5
42552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42553   (exit $ac_status); } &&
42554          { ac_try='test -z "$ac_c_werror_flag"
42555                          || test ! -s conftest.err'
42556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42557   (eval $ac_try) 2>&5
42558   ac_status=$?
42559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42560   (exit $ac_status); }; } &&
42561          { ac_try='test -s conftest$ac_exeext'
42562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42563   (eval $ac_try) 2>&5
42564   ac_status=$?
42565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42566   (exit $ac_status); }; }; then
42567   eval "$as_ac_var=yes"
42568 else
42569   echo "$as_me: failed program was:" >&5
42570 sed 's/^/| /' conftest.$ac_ext >&5
42571
42572 eval "$as_ac_var=no"
42573 fi
42574 rm -f conftest.err conftest.$ac_objext \
42575       conftest$ac_exeext conftest.$ac_ext
42576 fi
42577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42579 if test `eval echo '${'$as_ac_var'}'` = yes; then
42580   cat >>confdefs.h <<_ACEOF
42581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42582 _ACEOF
42583
42584 fi
42585 done
42586
42587   else
42588
42589   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
42590 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
42591   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42592     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
42593   echo $ECHO_N "(cached) $ECHO_C" >&6
42594 else
42595
42596
42597
42598       ac_ext=cc
42599 ac_cpp='$CXXCPP $CPPFLAGS'
42600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42603
42604       cat >conftest.$ac_ext <<_ACEOF
42605 /* confdefs.h.  */
42606 _ACEOF
42607 cat confdefs.h >>conftest.$ac_ext
42608 cat >>conftest.$ac_ext <<_ACEOF
42609 /* end confdefs.h.  */
42610 #include <math.h>
42611                       #ifdef HAVE_IEEEFP_H
42612                       #include <ieeefp.h>
42613                       #endif
42614
42615 int
42616 main ()
42617 {
42618  _isinfl(0);
42619   ;
42620   return 0;
42621 }
42622 _ACEOF
42623 rm -f conftest.$ac_objext
42624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42625   (eval $ac_compile) 2>conftest.er1
42626   ac_status=$?
42627   grep -v '^ *+' conftest.er1 >conftest.err
42628   rm -f conftest.er1
42629   cat conftest.err >&5
42630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42631   (exit $ac_status); } &&
42632          { ac_try='test -z "$ac_cxx_werror_flag"
42633                          || test ! -s conftest.err'
42634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42635   (eval $ac_try) 2>&5
42636   ac_status=$?
42637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42638   (exit $ac_status); }; } &&
42639          { ac_try='test -s conftest.$ac_objext'
42640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42641   (eval $ac_try) 2>&5
42642   ac_status=$?
42643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42644   (exit $ac_status); }; }; then
42645   glibcxx_cv_func__isinfl_use=yes
42646 else
42647   echo "$as_me: failed program was:" >&5
42648 sed 's/^/| /' conftest.$ac_ext >&5
42649
42650 glibcxx_cv_func__isinfl_use=no
42651 fi
42652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42653       ac_ext=c
42654 ac_cpp='$CPP $CPPFLAGS'
42655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42658
42659
42660 fi
42661
42662   fi
42663   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
42664 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
42665
42666     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42667
42668 for ac_func in _isinfl
42669 do
42670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42671 echo "$as_me:$LINENO: checking for $ac_func" >&5
42672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42673 if eval "test \"\${$as_ac_var+set}\" = set"; then
42674   echo $ECHO_N "(cached) $ECHO_C" >&6
42675 else
42676   if test x$gcc_no_link = xyes; then
42677   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42679    { (exit 1); exit 1; }; }
42680 fi
42681 cat >conftest.$ac_ext <<_ACEOF
42682 /* confdefs.h.  */
42683 _ACEOF
42684 cat confdefs.h >>conftest.$ac_ext
42685 cat >>conftest.$ac_ext <<_ACEOF
42686 /* end confdefs.h.  */
42687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42688    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42689 #define $ac_func innocuous_$ac_func
42690
42691 /* System header to define __stub macros and hopefully few prototypes,
42692     which can conflict with char $ac_func (); below.
42693     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42694     <limits.h> exists even on freestanding compilers.  */
42695
42696 #ifdef __STDC__
42697 # include <limits.h>
42698 #else
42699 # include <assert.h>
42700 #endif
42701
42702 #undef $ac_func
42703
42704 /* Override any gcc2 internal prototype to avoid an error.  */
42705 #ifdef __cplusplus
42706 extern "C"
42707 {
42708 #endif
42709 /* We use char because int might match the return type of a gcc2
42710    builtin and then its argument prototype would still apply.  */
42711 char $ac_func ();
42712 /* The GNU C library defines this for functions which it implements
42713     to always fail with ENOSYS.  Some functions are actually named
42714     something starting with __ and the normal name is an alias.  */
42715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42716 choke me
42717 #else
42718 char (*f) () = $ac_func;
42719 #endif
42720 #ifdef __cplusplus
42721 }
42722 #endif
42723
42724 int
42725 main ()
42726 {
42727 return f != $ac_func;
42728   ;
42729   return 0;
42730 }
42731 _ACEOF
42732 rm -f conftest.$ac_objext conftest$ac_exeext
42733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42734   (eval $ac_link) 2>conftest.er1
42735   ac_status=$?
42736   grep -v '^ *+' conftest.er1 >conftest.err
42737   rm -f conftest.er1
42738   cat conftest.err >&5
42739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42740   (exit $ac_status); } &&
42741          { ac_try='test -z "$ac_c_werror_flag"
42742                          || test ! -s conftest.err'
42743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42744   (eval $ac_try) 2>&5
42745   ac_status=$?
42746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42747   (exit $ac_status); }; } &&
42748          { ac_try='test -s conftest$ac_exeext'
42749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42750   (eval $ac_try) 2>&5
42751   ac_status=$?
42752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42753   (exit $ac_status); }; }; then
42754   eval "$as_ac_var=yes"
42755 else
42756   echo "$as_me: failed program was:" >&5
42757 sed 's/^/| /' conftest.$ac_ext >&5
42758
42759 eval "$as_ac_var=no"
42760 fi
42761 rm -f conftest.err conftest.$ac_objext \
42762       conftest$ac_exeext conftest.$ac_ext
42763 fi
42764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42766 if test `eval echo '${'$as_ac_var'}'` = yes; then
42767   cat >>confdefs.h <<_ACEOF
42768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42769 _ACEOF
42770
42771 fi
42772 done
42773
42774     fi
42775   fi
42776
42777
42778
42779
42780
42781
42782   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
42783 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
42784   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
42785     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
42786   echo $ECHO_N "(cached) $ECHO_C" >&6
42787 else
42788
42789
42790
42791       ac_ext=cc
42792 ac_cpp='$CXXCPP $CPPFLAGS'
42793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42796
42797       cat >conftest.$ac_ext <<_ACEOF
42798 /* confdefs.h.  */
42799 _ACEOF
42800 cat confdefs.h >>conftest.$ac_ext
42801 cat >>conftest.$ac_ext <<_ACEOF
42802 /* end confdefs.h.  */
42803 #include <math.h>
42804 int
42805 main ()
42806 {
42807  copysignl(0, 0);
42808   ;
42809   return 0;
42810 }
42811 _ACEOF
42812 rm -f conftest.$ac_objext
42813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42814   (eval $ac_compile) 2>conftest.er1
42815   ac_status=$?
42816   grep -v '^ *+' conftest.er1 >conftest.err
42817   rm -f conftest.er1
42818   cat conftest.err >&5
42819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42820   (exit $ac_status); } &&
42821          { ac_try='test -z "$ac_cxx_werror_flag"
42822                          || test ! -s conftest.err'
42823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42824   (eval $ac_try) 2>&5
42825   ac_status=$?
42826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42827   (exit $ac_status); }; } &&
42828          { ac_try='test -s conftest.$ac_objext'
42829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42830   (eval $ac_try) 2>&5
42831   ac_status=$?
42832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42833   (exit $ac_status); }; }; then
42834   glibcxx_cv_func_copysignl_use=yes
42835 else
42836   echo "$as_me: failed program was:" >&5
42837 sed 's/^/| /' conftest.$ac_ext >&5
42838
42839 glibcxx_cv_func_copysignl_use=no
42840 fi
42841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42842       ac_ext=c
42843 ac_cpp='$CPP $CPPFLAGS'
42844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42847
42848
42849 fi
42850
42851   fi
42852   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
42853 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
42854
42855   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
42856
42857 for ac_func in copysignl
42858 do
42859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42860 echo "$as_me:$LINENO: checking for $ac_func" >&5
42861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42862 if eval "test \"\${$as_ac_var+set}\" = set"; then
42863   echo $ECHO_N "(cached) $ECHO_C" >&6
42864 else
42865   if test x$gcc_no_link = xyes; then
42866   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42868    { (exit 1); exit 1; }; }
42869 fi
42870 cat >conftest.$ac_ext <<_ACEOF
42871 /* confdefs.h.  */
42872 _ACEOF
42873 cat confdefs.h >>conftest.$ac_ext
42874 cat >>conftest.$ac_ext <<_ACEOF
42875 /* end confdefs.h.  */
42876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42877    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42878 #define $ac_func innocuous_$ac_func
42879
42880 /* System header to define __stub macros and hopefully few prototypes,
42881     which can conflict with char $ac_func (); below.
42882     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42883     <limits.h> exists even on freestanding compilers.  */
42884
42885 #ifdef __STDC__
42886 # include <limits.h>
42887 #else
42888 # include <assert.h>
42889 #endif
42890
42891 #undef $ac_func
42892
42893 /* Override any gcc2 internal prototype to avoid an error.  */
42894 #ifdef __cplusplus
42895 extern "C"
42896 {
42897 #endif
42898 /* We use char because int might match the return type of a gcc2
42899    builtin and then its argument prototype would still apply.  */
42900 char $ac_func ();
42901 /* The GNU C library defines this for functions which it implements
42902     to always fail with ENOSYS.  Some functions are actually named
42903     something starting with __ and the normal name is an alias.  */
42904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42905 choke me
42906 #else
42907 char (*f) () = $ac_func;
42908 #endif
42909 #ifdef __cplusplus
42910 }
42911 #endif
42912
42913 int
42914 main ()
42915 {
42916 return f != $ac_func;
42917   ;
42918   return 0;
42919 }
42920 _ACEOF
42921 rm -f conftest.$ac_objext conftest$ac_exeext
42922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42923   (eval $ac_link) 2>conftest.er1
42924   ac_status=$?
42925   grep -v '^ *+' conftest.er1 >conftest.err
42926   rm -f conftest.er1
42927   cat conftest.err >&5
42928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42929   (exit $ac_status); } &&
42930          { ac_try='test -z "$ac_c_werror_flag"
42931                          || test ! -s conftest.err'
42932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42933   (eval $ac_try) 2>&5
42934   ac_status=$?
42935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42936   (exit $ac_status); }; } &&
42937          { ac_try='test -s conftest$ac_exeext'
42938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42939   (eval $ac_try) 2>&5
42940   ac_status=$?
42941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42942   (exit $ac_status); }; }; then
42943   eval "$as_ac_var=yes"
42944 else
42945   echo "$as_me: failed program was:" >&5
42946 sed 's/^/| /' conftest.$ac_ext >&5
42947
42948 eval "$as_ac_var=no"
42949 fi
42950 rm -f conftest.err conftest.$ac_objext \
42951       conftest$ac_exeext conftest.$ac_ext
42952 fi
42953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42954 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42955 if test `eval echo '${'$as_ac_var'}'` = yes; then
42956   cat >>confdefs.h <<_ACEOF
42957 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42958 _ACEOF
42959
42960 fi
42961 done
42962
42963   else
42964
42965   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
42966 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
42967   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
42968     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
42969   echo $ECHO_N "(cached) $ECHO_C" >&6
42970 else
42971
42972
42973
42974       ac_ext=cc
42975 ac_cpp='$CXXCPP $CPPFLAGS'
42976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42979
42980       cat >conftest.$ac_ext <<_ACEOF
42981 /* confdefs.h.  */
42982 _ACEOF
42983 cat confdefs.h >>conftest.$ac_ext
42984 cat >>conftest.$ac_ext <<_ACEOF
42985 /* end confdefs.h.  */
42986 #include <math.h>
42987 int
42988 main ()
42989 {
42990  _copysignl(0, 0);
42991   ;
42992   return 0;
42993 }
42994 _ACEOF
42995 rm -f conftest.$ac_objext
42996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42997   (eval $ac_compile) 2>conftest.er1
42998   ac_status=$?
42999   grep -v '^ *+' conftest.er1 >conftest.err
43000   rm -f conftest.er1
43001   cat conftest.err >&5
43002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43003   (exit $ac_status); } &&
43004          { ac_try='test -z "$ac_cxx_werror_flag"
43005                          || test ! -s conftest.err'
43006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43007   (eval $ac_try) 2>&5
43008   ac_status=$?
43009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43010   (exit $ac_status); }; } &&
43011          { ac_try='test -s conftest.$ac_objext'
43012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43013   (eval $ac_try) 2>&5
43014   ac_status=$?
43015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43016   (exit $ac_status); }; }; then
43017   glibcxx_cv_func__copysignl_use=yes
43018 else
43019   echo "$as_me: failed program was:" >&5
43020 sed 's/^/| /' conftest.$ac_ext >&5
43021
43022 glibcxx_cv_func__copysignl_use=no
43023 fi
43024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43025       ac_ext=c
43026 ac_cpp='$CPP $CPPFLAGS'
43027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43030
43031
43032 fi
43033
43034   fi
43035   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
43036 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
43037
43038     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
43039
43040 for ac_func in _copysignl
43041 do
43042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43043 echo "$as_me:$LINENO: checking for $ac_func" >&5
43044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43045 if eval "test \"\${$as_ac_var+set}\" = set"; then
43046   echo $ECHO_N "(cached) $ECHO_C" >&6
43047 else
43048   if test x$gcc_no_link = xyes; then
43049   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43051    { (exit 1); exit 1; }; }
43052 fi
43053 cat >conftest.$ac_ext <<_ACEOF
43054 /* confdefs.h.  */
43055 _ACEOF
43056 cat confdefs.h >>conftest.$ac_ext
43057 cat >>conftest.$ac_ext <<_ACEOF
43058 /* end confdefs.h.  */
43059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43060    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43061 #define $ac_func innocuous_$ac_func
43062
43063 /* System header to define __stub macros and hopefully few prototypes,
43064     which can conflict with char $ac_func (); below.
43065     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43066     <limits.h> exists even on freestanding compilers.  */
43067
43068 #ifdef __STDC__
43069 # include <limits.h>
43070 #else
43071 # include <assert.h>
43072 #endif
43073
43074 #undef $ac_func
43075
43076 /* Override any gcc2 internal prototype to avoid an error.  */
43077 #ifdef __cplusplus
43078 extern "C"
43079 {
43080 #endif
43081 /* We use char because int might match the return type of a gcc2
43082    builtin and then its argument prototype would still apply.  */
43083 char $ac_func ();
43084 /* The GNU C library defines this for functions which it implements
43085     to always fail with ENOSYS.  Some functions are actually named
43086     something starting with __ and the normal name is an alias.  */
43087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43088 choke me
43089 #else
43090 char (*f) () = $ac_func;
43091 #endif
43092 #ifdef __cplusplus
43093 }
43094 #endif
43095
43096 int
43097 main ()
43098 {
43099 return f != $ac_func;
43100   ;
43101   return 0;
43102 }
43103 _ACEOF
43104 rm -f conftest.$ac_objext conftest$ac_exeext
43105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43106   (eval $ac_link) 2>conftest.er1
43107   ac_status=$?
43108   grep -v '^ *+' conftest.er1 >conftest.err
43109   rm -f conftest.er1
43110   cat conftest.err >&5
43111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43112   (exit $ac_status); } &&
43113          { ac_try='test -z "$ac_c_werror_flag"
43114                          || test ! -s conftest.err'
43115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43116   (eval $ac_try) 2>&5
43117   ac_status=$?
43118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43119   (exit $ac_status); }; } &&
43120          { ac_try='test -s conftest$ac_exeext'
43121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43122   (eval $ac_try) 2>&5
43123   ac_status=$?
43124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43125   (exit $ac_status); }; }; then
43126   eval "$as_ac_var=yes"
43127 else
43128   echo "$as_me: failed program was:" >&5
43129 sed 's/^/| /' conftest.$ac_ext >&5
43130
43131 eval "$as_ac_var=no"
43132 fi
43133 rm -f conftest.err conftest.$ac_objext \
43134       conftest$ac_exeext conftest.$ac_ext
43135 fi
43136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43138 if test `eval echo '${'$as_ac_var'}'` = yes; then
43139   cat >>confdefs.h <<_ACEOF
43140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43141 _ACEOF
43142
43143 fi
43144 done
43145
43146     fi
43147   fi
43148
43149
43150
43151
43152
43153
43154   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
43155 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
43156   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43157     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
43158   echo $ECHO_N "(cached) $ECHO_C" >&6
43159 else
43160
43161
43162
43163       ac_ext=cc
43164 ac_cpp='$CXXCPP $CPPFLAGS'
43165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43168
43169       cat >conftest.$ac_ext <<_ACEOF
43170 /* confdefs.h.  */
43171 _ACEOF
43172 cat confdefs.h >>conftest.$ac_ext
43173 cat >>conftest.$ac_ext <<_ACEOF
43174 /* end confdefs.h.  */
43175 #include <math.h>
43176 int
43177 main ()
43178 {
43179  atan2l(0, 0);
43180   ;
43181   return 0;
43182 }
43183 _ACEOF
43184 rm -f conftest.$ac_objext
43185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43186   (eval $ac_compile) 2>conftest.er1
43187   ac_status=$?
43188   grep -v '^ *+' conftest.er1 >conftest.err
43189   rm -f conftest.er1
43190   cat conftest.err >&5
43191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43192   (exit $ac_status); } &&
43193          { ac_try='test -z "$ac_cxx_werror_flag"
43194                          || test ! -s conftest.err'
43195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43196   (eval $ac_try) 2>&5
43197   ac_status=$?
43198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43199   (exit $ac_status); }; } &&
43200          { ac_try='test -s conftest.$ac_objext'
43201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43202   (eval $ac_try) 2>&5
43203   ac_status=$?
43204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43205   (exit $ac_status); }; }; then
43206   glibcxx_cv_func_atan2l_use=yes
43207 else
43208   echo "$as_me: failed program was:" >&5
43209 sed 's/^/| /' conftest.$ac_ext >&5
43210
43211 glibcxx_cv_func_atan2l_use=no
43212 fi
43213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43214       ac_ext=c
43215 ac_cpp='$CPP $CPPFLAGS'
43216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43219
43220
43221 fi
43222
43223   fi
43224   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
43225 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
43226
43227   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43228
43229 for ac_func in atan2l
43230 do
43231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43232 echo "$as_me:$LINENO: checking for $ac_func" >&5
43233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43234 if eval "test \"\${$as_ac_var+set}\" = set"; then
43235   echo $ECHO_N "(cached) $ECHO_C" >&6
43236 else
43237   if test x$gcc_no_link = xyes; then
43238   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43240    { (exit 1); exit 1; }; }
43241 fi
43242 cat >conftest.$ac_ext <<_ACEOF
43243 /* confdefs.h.  */
43244 _ACEOF
43245 cat confdefs.h >>conftest.$ac_ext
43246 cat >>conftest.$ac_ext <<_ACEOF
43247 /* end confdefs.h.  */
43248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43249    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43250 #define $ac_func innocuous_$ac_func
43251
43252 /* System header to define __stub macros and hopefully few prototypes,
43253     which can conflict with char $ac_func (); below.
43254     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43255     <limits.h> exists even on freestanding compilers.  */
43256
43257 #ifdef __STDC__
43258 # include <limits.h>
43259 #else
43260 # include <assert.h>
43261 #endif
43262
43263 #undef $ac_func
43264
43265 /* Override any gcc2 internal prototype to avoid an error.  */
43266 #ifdef __cplusplus
43267 extern "C"
43268 {
43269 #endif
43270 /* We use char because int might match the return type of a gcc2
43271    builtin and then its argument prototype would still apply.  */
43272 char $ac_func ();
43273 /* The GNU C library defines this for functions which it implements
43274     to always fail with ENOSYS.  Some functions are actually named
43275     something starting with __ and the normal name is an alias.  */
43276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43277 choke me
43278 #else
43279 char (*f) () = $ac_func;
43280 #endif
43281 #ifdef __cplusplus
43282 }
43283 #endif
43284
43285 int
43286 main ()
43287 {
43288 return f != $ac_func;
43289   ;
43290   return 0;
43291 }
43292 _ACEOF
43293 rm -f conftest.$ac_objext conftest$ac_exeext
43294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43295   (eval $ac_link) 2>conftest.er1
43296   ac_status=$?
43297   grep -v '^ *+' conftest.er1 >conftest.err
43298   rm -f conftest.er1
43299   cat conftest.err >&5
43300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43301   (exit $ac_status); } &&
43302          { ac_try='test -z "$ac_c_werror_flag"
43303                          || test ! -s conftest.err'
43304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43305   (eval $ac_try) 2>&5
43306   ac_status=$?
43307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43308   (exit $ac_status); }; } &&
43309          { ac_try='test -s conftest$ac_exeext'
43310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43311   (eval $ac_try) 2>&5
43312   ac_status=$?
43313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43314   (exit $ac_status); }; }; then
43315   eval "$as_ac_var=yes"
43316 else
43317   echo "$as_me: failed program was:" >&5
43318 sed 's/^/| /' conftest.$ac_ext >&5
43319
43320 eval "$as_ac_var=no"
43321 fi
43322 rm -f conftest.err conftest.$ac_objext \
43323       conftest$ac_exeext conftest.$ac_ext
43324 fi
43325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43327 if test `eval echo '${'$as_ac_var'}'` = yes; then
43328   cat >>confdefs.h <<_ACEOF
43329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43330 _ACEOF
43331
43332 fi
43333 done
43334
43335   else
43336
43337   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
43338 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
43339   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43340     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
43341   echo $ECHO_N "(cached) $ECHO_C" >&6
43342 else
43343
43344
43345
43346       ac_ext=cc
43347 ac_cpp='$CXXCPP $CPPFLAGS'
43348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43351
43352       cat >conftest.$ac_ext <<_ACEOF
43353 /* confdefs.h.  */
43354 _ACEOF
43355 cat confdefs.h >>conftest.$ac_ext
43356 cat >>conftest.$ac_ext <<_ACEOF
43357 /* end confdefs.h.  */
43358 #include <math.h>
43359 int
43360 main ()
43361 {
43362  _atan2l(0, 0);
43363   ;
43364   return 0;
43365 }
43366 _ACEOF
43367 rm -f conftest.$ac_objext
43368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43369   (eval $ac_compile) 2>conftest.er1
43370   ac_status=$?
43371   grep -v '^ *+' conftest.er1 >conftest.err
43372   rm -f conftest.er1
43373   cat conftest.err >&5
43374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43375   (exit $ac_status); } &&
43376          { ac_try='test -z "$ac_cxx_werror_flag"
43377                          || test ! -s conftest.err'
43378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43379   (eval $ac_try) 2>&5
43380   ac_status=$?
43381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43382   (exit $ac_status); }; } &&
43383          { ac_try='test -s conftest.$ac_objext'
43384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43385   (eval $ac_try) 2>&5
43386   ac_status=$?
43387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43388   (exit $ac_status); }; }; then
43389   glibcxx_cv_func__atan2l_use=yes
43390 else
43391   echo "$as_me: failed program was:" >&5
43392 sed 's/^/| /' conftest.$ac_ext >&5
43393
43394 glibcxx_cv_func__atan2l_use=no
43395 fi
43396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43397       ac_ext=c
43398 ac_cpp='$CPP $CPPFLAGS'
43399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43402
43403
43404 fi
43405
43406   fi
43407   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
43408 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
43409
43410     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43411
43412 for ac_func in _atan2l
43413 do
43414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43415 echo "$as_me:$LINENO: checking for $ac_func" >&5
43416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43417 if eval "test \"\${$as_ac_var+set}\" = set"; then
43418   echo $ECHO_N "(cached) $ECHO_C" >&6
43419 else
43420   if test x$gcc_no_link = xyes; then
43421   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43423    { (exit 1); exit 1; }; }
43424 fi
43425 cat >conftest.$ac_ext <<_ACEOF
43426 /* confdefs.h.  */
43427 _ACEOF
43428 cat confdefs.h >>conftest.$ac_ext
43429 cat >>conftest.$ac_ext <<_ACEOF
43430 /* end confdefs.h.  */
43431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43432    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43433 #define $ac_func innocuous_$ac_func
43434
43435 /* System header to define __stub macros and hopefully few prototypes,
43436     which can conflict with char $ac_func (); below.
43437     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43438     <limits.h> exists even on freestanding compilers.  */
43439
43440 #ifdef __STDC__
43441 # include <limits.h>
43442 #else
43443 # include <assert.h>
43444 #endif
43445
43446 #undef $ac_func
43447
43448 /* Override any gcc2 internal prototype to avoid an error.  */
43449 #ifdef __cplusplus
43450 extern "C"
43451 {
43452 #endif
43453 /* We use char because int might match the return type of a gcc2
43454    builtin and then its argument prototype would still apply.  */
43455 char $ac_func ();
43456 /* The GNU C library defines this for functions which it implements
43457     to always fail with ENOSYS.  Some functions are actually named
43458     something starting with __ and the normal name is an alias.  */
43459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43460 choke me
43461 #else
43462 char (*f) () = $ac_func;
43463 #endif
43464 #ifdef __cplusplus
43465 }
43466 #endif
43467
43468 int
43469 main ()
43470 {
43471 return f != $ac_func;
43472   ;
43473   return 0;
43474 }
43475 _ACEOF
43476 rm -f conftest.$ac_objext conftest$ac_exeext
43477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43478   (eval $ac_link) 2>conftest.er1
43479   ac_status=$?
43480   grep -v '^ *+' conftest.er1 >conftest.err
43481   rm -f conftest.er1
43482   cat conftest.err >&5
43483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43484   (exit $ac_status); } &&
43485          { ac_try='test -z "$ac_c_werror_flag"
43486                          || test ! -s conftest.err'
43487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43488   (eval $ac_try) 2>&5
43489   ac_status=$?
43490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43491   (exit $ac_status); }; } &&
43492          { ac_try='test -s conftest$ac_exeext'
43493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43494   (eval $ac_try) 2>&5
43495   ac_status=$?
43496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43497   (exit $ac_status); }; }; then
43498   eval "$as_ac_var=yes"
43499 else
43500   echo "$as_me: failed program was:" >&5
43501 sed 's/^/| /' conftest.$ac_ext >&5
43502
43503 eval "$as_ac_var=no"
43504 fi
43505 rm -f conftest.err conftest.$ac_objext \
43506       conftest$ac_exeext conftest.$ac_ext
43507 fi
43508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43510 if test `eval echo '${'$as_ac_var'}'` = yes; then
43511   cat >>confdefs.h <<_ACEOF
43512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43513 _ACEOF
43514
43515 fi
43516 done
43517
43518     fi
43519   fi
43520
43521
43522
43523
43524
43525
43526   echo "$as_me:$LINENO: checking for expl declaration" >&5
43527 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
43528   if test x${glibcxx_cv_func_expl_use+set} != xset; then
43529     if test "${glibcxx_cv_func_expl_use+set}" = set; then
43530   echo $ECHO_N "(cached) $ECHO_C" >&6
43531 else
43532
43533
43534
43535       ac_ext=cc
43536 ac_cpp='$CXXCPP $CPPFLAGS'
43537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43540
43541       cat >conftest.$ac_ext <<_ACEOF
43542 /* confdefs.h.  */
43543 _ACEOF
43544 cat confdefs.h >>conftest.$ac_ext
43545 cat >>conftest.$ac_ext <<_ACEOF
43546 /* end confdefs.h.  */
43547 #include <math.h>
43548                       #ifdef HAVE_IEEEFP_H
43549                       #include <ieeefp.h>
43550                       #endif
43551
43552 int
43553 main ()
43554 {
43555  expl(0);
43556   ;
43557   return 0;
43558 }
43559 _ACEOF
43560 rm -f conftest.$ac_objext
43561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43562   (eval $ac_compile) 2>conftest.er1
43563   ac_status=$?
43564   grep -v '^ *+' conftest.er1 >conftest.err
43565   rm -f conftest.er1
43566   cat conftest.err >&5
43567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43568   (exit $ac_status); } &&
43569          { ac_try='test -z "$ac_cxx_werror_flag"
43570                          || test ! -s conftest.err'
43571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43572   (eval $ac_try) 2>&5
43573   ac_status=$?
43574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43575   (exit $ac_status); }; } &&
43576          { ac_try='test -s conftest.$ac_objext'
43577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43578   (eval $ac_try) 2>&5
43579   ac_status=$?
43580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43581   (exit $ac_status); }; }; then
43582   glibcxx_cv_func_expl_use=yes
43583 else
43584   echo "$as_me: failed program was:" >&5
43585 sed 's/^/| /' conftest.$ac_ext >&5
43586
43587 glibcxx_cv_func_expl_use=no
43588 fi
43589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43590       ac_ext=c
43591 ac_cpp='$CPP $CPPFLAGS'
43592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43595
43596
43597 fi
43598
43599   fi
43600   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
43601 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
43602
43603   if test x$glibcxx_cv_func_expl_use = x"yes"; then
43604
43605 for ac_func in expl
43606 do
43607 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43608 echo "$as_me:$LINENO: checking for $ac_func" >&5
43609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43610 if eval "test \"\${$as_ac_var+set}\" = set"; then
43611   echo $ECHO_N "(cached) $ECHO_C" >&6
43612 else
43613   if test x$gcc_no_link = xyes; then
43614   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43616    { (exit 1); exit 1; }; }
43617 fi
43618 cat >conftest.$ac_ext <<_ACEOF
43619 /* confdefs.h.  */
43620 _ACEOF
43621 cat confdefs.h >>conftest.$ac_ext
43622 cat >>conftest.$ac_ext <<_ACEOF
43623 /* end confdefs.h.  */
43624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43625    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43626 #define $ac_func innocuous_$ac_func
43627
43628 /* System header to define __stub macros and hopefully few prototypes,
43629     which can conflict with char $ac_func (); below.
43630     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43631     <limits.h> exists even on freestanding compilers.  */
43632
43633 #ifdef __STDC__
43634 # include <limits.h>
43635 #else
43636 # include <assert.h>
43637 #endif
43638
43639 #undef $ac_func
43640
43641 /* Override any gcc2 internal prototype to avoid an error.  */
43642 #ifdef __cplusplus
43643 extern "C"
43644 {
43645 #endif
43646 /* We use char because int might match the return type of a gcc2
43647    builtin and then its argument prototype would still apply.  */
43648 char $ac_func ();
43649 /* The GNU C library defines this for functions which it implements
43650     to always fail with ENOSYS.  Some functions are actually named
43651     something starting with __ and the normal name is an alias.  */
43652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43653 choke me
43654 #else
43655 char (*f) () = $ac_func;
43656 #endif
43657 #ifdef __cplusplus
43658 }
43659 #endif
43660
43661 int
43662 main ()
43663 {
43664 return f != $ac_func;
43665   ;
43666   return 0;
43667 }
43668 _ACEOF
43669 rm -f conftest.$ac_objext conftest$ac_exeext
43670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43671   (eval $ac_link) 2>conftest.er1
43672   ac_status=$?
43673   grep -v '^ *+' conftest.er1 >conftest.err
43674   rm -f conftest.er1
43675   cat conftest.err >&5
43676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43677   (exit $ac_status); } &&
43678          { ac_try='test -z "$ac_c_werror_flag"
43679                          || test ! -s conftest.err'
43680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43681   (eval $ac_try) 2>&5
43682   ac_status=$?
43683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43684   (exit $ac_status); }; } &&
43685          { ac_try='test -s conftest$ac_exeext'
43686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43687   (eval $ac_try) 2>&5
43688   ac_status=$?
43689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43690   (exit $ac_status); }; }; then
43691   eval "$as_ac_var=yes"
43692 else
43693   echo "$as_me: failed program was:" >&5
43694 sed 's/^/| /' conftest.$ac_ext >&5
43695
43696 eval "$as_ac_var=no"
43697 fi
43698 rm -f conftest.err conftest.$ac_objext \
43699       conftest$ac_exeext conftest.$ac_ext
43700 fi
43701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43703 if test `eval echo '${'$as_ac_var'}'` = yes; then
43704   cat >>confdefs.h <<_ACEOF
43705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43706 _ACEOF
43707
43708 fi
43709 done
43710
43711   else
43712
43713   echo "$as_me:$LINENO: checking for _expl declaration" >&5
43714 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
43715   if test x${glibcxx_cv_func__expl_use+set} != xset; then
43716     if test "${glibcxx_cv_func__expl_use+set}" = set; then
43717   echo $ECHO_N "(cached) $ECHO_C" >&6
43718 else
43719
43720
43721
43722       ac_ext=cc
43723 ac_cpp='$CXXCPP $CPPFLAGS'
43724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43727
43728       cat >conftest.$ac_ext <<_ACEOF
43729 /* confdefs.h.  */
43730 _ACEOF
43731 cat confdefs.h >>conftest.$ac_ext
43732 cat >>conftest.$ac_ext <<_ACEOF
43733 /* end confdefs.h.  */
43734 #include <math.h>
43735                       #ifdef HAVE_IEEEFP_H
43736                       #include <ieeefp.h>
43737                       #endif
43738
43739 int
43740 main ()
43741 {
43742  _expl(0);
43743   ;
43744   return 0;
43745 }
43746 _ACEOF
43747 rm -f conftest.$ac_objext
43748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43749   (eval $ac_compile) 2>conftest.er1
43750   ac_status=$?
43751   grep -v '^ *+' conftest.er1 >conftest.err
43752   rm -f conftest.er1
43753   cat conftest.err >&5
43754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43755   (exit $ac_status); } &&
43756          { ac_try='test -z "$ac_cxx_werror_flag"
43757                          || test ! -s conftest.err'
43758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43759   (eval $ac_try) 2>&5
43760   ac_status=$?
43761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43762   (exit $ac_status); }; } &&
43763          { ac_try='test -s conftest.$ac_objext'
43764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43765   (eval $ac_try) 2>&5
43766   ac_status=$?
43767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43768   (exit $ac_status); }; }; then
43769   glibcxx_cv_func__expl_use=yes
43770 else
43771   echo "$as_me: failed program was:" >&5
43772 sed 's/^/| /' conftest.$ac_ext >&5
43773
43774 glibcxx_cv_func__expl_use=no
43775 fi
43776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43777       ac_ext=c
43778 ac_cpp='$CPP $CPPFLAGS'
43779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43782
43783
43784 fi
43785
43786   fi
43787   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
43788 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
43789
43790     if test x$glibcxx_cv_func__expl_use = x"yes"; then
43791
43792 for ac_func in _expl
43793 do
43794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43795 echo "$as_me:$LINENO: checking for $ac_func" >&5
43796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43797 if eval "test \"\${$as_ac_var+set}\" = set"; then
43798   echo $ECHO_N "(cached) $ECHO_C" >&6
43799 else
43800   if test x$gcc_no_link = xyes; then
43801   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43803    { (exit 1); exit 1; }; }
43804 fi
43805 cat >conftest.$ac_ext <<_ACEOF
43806 /* confdefs.h.  */
43807 _ACEOF
43808 cat confdefs.h >>conftest.$ac_ext
43809 cat >>conftest.$ac_ext <<_ACEOF
43810 /* end confdefs.h.  */
43811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43812    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43813 #define $ac_func innocuous_$ac_func
43814
43815 /* System header to define __stub macros and hopefully few prototypes,
43816     which can conflict with char $ac_func (); below.
43817     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43818     <limits.h> exists even on freestanding compilers.  */
43819
43820 #ifdef __STDC__
43821 # include <limits.h>
43822 #else
43823 # include <assert.h>
43824 #endif
43825
43826 #undef $ac_func
43827
43828 /* Override any gcc2 internal prototype to avoid an error.  */
43829 #ifdef __cplusplus
43830 extern "C"
43831 {
43832 #endif
43833 /* We use char because int might match the return type of a gcc2
43834    builtin and then its argument prototype would still apply.  */
43835 char $ac_func ();
43836 /* The GNU C library defines this for functions which it implements
43837     to always fail with ENOSYS.  Some functions are actually named
43838     something starting with __ and the normal name is an alias.  */
43839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43840 choke me
43841 #else
43842 char (*f) () = $ac_func;
43843 #endif
43844 #ifdef __cplusplus
43845 }
43846 #endif
43847
43848 int
43849 main ()
43850 {
43851 return f != $ac_func;
43852   ;
43853   return 0;
43854 }
43855 _ACEOF
43856 rm -f conftest.$ac_objext conftest$ac_exeext
43857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43858   (eval $ac_link) 2>conftest.er1
43859   ac_status=$?
43860   grep -v '^ *+' conftest.er1 >conftest.err
43861   rm -f conftest.er1
43862   cat conftest.err >&5
43863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43864   (exit $ac_status); } &&
43865          { ac_try='test -z "$ac_c_werror_flag"
43866                          || test ! -s conftest.err'
43867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43868   (eval $ac_try) 2>&5
43869   ac_status=$?
43870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43871   (exit $ac_status); }; } &&
43872          { ac_try='test -s conftest$ac_exeext'
43873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43874   (eval $ac_try) 2>&5
43875   ac_status=$?
43876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43877   (exit $ac_status); }; }; then
43878   eval "$as_ac_var=yes"
43879 else
43880   echo "$as_me: failed program was:" >&5
43881 sed 's/^/| /' conftest.$ac_ext >&5
43882
43883 eval "$as_ac_var=no"
43884 fi
43885 rm -f conftest.err conftest.$ac_objext \
43886       conftest$ac_exeext conftest.$ac_ext
43887 fi
43888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43890 if test `eval echo '${'$as_ac_var'}'` = yes; then
43891   cat >>confdefs.h <<_ACEOF
43892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43893 _ACEOF
43894
43895 fi
43896 done
43897
43898     fi
43899   fi
43900
43901
43902
43903
43904
43905
43906   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
43907 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
43908   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43909     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
43910   echo $ECHO_N "(cached) $ECHO_C" >&6
43911 else
43912
43913
43914
43915       ac_ext=cc
43916 ac_cpp='$CXXCPP $CPPFLAGS'
43917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43920
43921       cat >conftest.$ac_ext <<_ACEOF
43922 /* confdefs.h.  */
43923 _ACEOF
43924 cat confdefs.h >>conftest.$ac_ext
43925 cat >>conftest.$ac_ext <<_ACEOF
43926 /* end confdefs.h.  */
43927 #include <math.h>
43928                       #ifdef HAVE_IEEEFP_H
43929                       #include <ieeefp.h>
43930                       #endif
43931
43932 int
43933 main ()
43934 {
43935  fabsl(0);
43936   ;
43937   return 0;
43938 }
43939 _ACEOF
43940 rm -f conftest.$ac_objext
43941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43942   (eval $ac_compile) 2>conftest.er1
43943   ac_status=$?
43944   grep -v '^ *+' conftest.er1 >conftest.err
43945   rm -f conftest.er1
43946   cat conftest.err >&5
43947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43948   (exit $ac_status); } &&
43949          { ac_try='test -z "$ac_cxx_werror_flag"
43950                          || test ! -s conftest.err'
43951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43952   (eval $ac_try) 2>&5
43953   ac_status=$?
43954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43955   (exit $ac_status); }; } &&
43956          { ac_try='test -s conftest.$ac_objext'
43957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43958   (eval $ac_try) 2>&5
43959   ac_status=$?
43960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43961   (exit $ac_status); }; }; then
43962   glibcxx_cv_func_fabsl_use=yes
43963 else
43964   echo "$as_me: failed program was:" >&5
43965 sed 's/^/| /' conftest.$ac_ext >&5
43966
43967 glibcxx_cv_func_fabsl_use=no
43968 fi
43969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43970       ac_ext=c
43971 ac_cpp='$CPP $CPPFLAGS'
43972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43975
43976
43977 fi
43978
43979   fi
43980   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
43981 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
43982
43983   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43984
43985 for ac_func in fabsl
43986 do
43987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43988 echo "$as_me:$LINENO: checking for $ac_func" >&5
43989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43990 if eval "test \"\${$as_ac_var+set}\" = set"; then
43991   echo $ECHO_N "(cached) $ECHO_C" >&6
43992 else
43993   if test x$gcc_no_link = xyes; then
43994   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43996    { (exit 1); exit 1; }; }
43997 fi
43998 cat >conftest.$ac_ext <<_ACEOF
43999 /* confdefs.h.  */
44000 _ACEOF
44001 cat confdefs.h >>conftest.$ac_ext
44002 cat >>conftest.$ac_ext <<_ACEOF
44003 /* end confdefs.h.  */
44004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44005    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44006 #define $ac_func innocuous_$ac_func
44007
44008 /* System header to define __stub macros and hopefully few prototypes,
44009     which can conflict with char $ac_func (); below.
44010     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44011     <limits.h> exists even on freestanding compilers.  */
44012
44013 #ifdef __STDC__
44014 # include <limits.h>
44015 #else
44016 # include <assert.h>
44017 #endif
44018
44019 #undef $ac_func
44020
44021 /* Override any gcc2 internal prototype to avoid an error.  */
44022 #ifdef __cplusplus
44023 extern "C"
44024 {
44025 #endif
44026 /* We use char because int might match the return type of a gcc2
44027    builtin and then its argument prototype would still apply.  */
44028 char $ac_func ();
44029 /* The GNU C library defines this for functions which it implements
44030     to always fail with ENOSYS.  Some functions are actually named
44031     something starting with __ and the normal name is an alias.  */
44032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44033 choke me
44034 #else
44035 char (*f) () = $ac_func;
44036 #endif
44037 #ifdef __cplusplus
44038 }
44039 #endif
44040
44041 int
44042 main ()
44043 {
44044 return f != $ac_func;
44045   ;
44046   return 0;
44047 }
44048 _ACEOF
44049 rm -f conftest.$ac_objext conftest$ac_exeext
44050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44051   (eval $ac_link) 2>conftest.er1
44052   ac_status=$?
44053   grep -v '^ *+' conftest.er1 >conftest.err
44054   rm -f conftest.er1
44055   cat conftest.err >&5
44056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44057   (exit $ac_status); } &&
44058          { ac_try='test -z "$ac_c_werror_flag"
44059                          || test ! -s conftest.err'
44060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44061   (eval $ac_try) 2>&5
44062   ac_status=$?
44063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44064   (exit $ac_status); }; } &&
44065          { ac_try='test -s conftest$ac_exeext'
44066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44067   (eval $ac_try) 2>&5
44068   ac_status=$?
44069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44070   (exit $ac_status); }; }; then
44071   eval "$as_ac_var=yes"
44072 else
44073   echo "$as_me: failed program was:" >&5
44074 sed 's/^/| /' conftest.$ac_ext >&5
44075
44076 eval "$as_ac_var=no"
44077 fi
44078 rm -f conftest.err conftest.$ac_objext \
44079       conftest$ac_exeext conftest.$ac_ext
44080 fi
44081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44083 if test `eval echo '${'$as_ac_var'}'` = yes; then
44084   cat >>confdefs.h <<_ACEOF
44085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44086 _ACEOF
44087
44088 fi
44089 done
44090
44091   else
44092
44093   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
44094 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
44095   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44096     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
44097   echo $ECHO_N "(cached) $ECHO_C" >&6
44098 else
44099
44100
44101
44102       ac_ext=cc
44103 ac_cpp='$CXXCPP $CPPFLAGS'
44104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44107
44108       cat >conftest.$ac_ext <<_ACEOF
44109 /* confdefs.h.  */
44110 _ACEOF
44111 cat confdefs.h >>conftest.$ac_ext
44112 cat >>conftest.$ac_ext <<_ACEOF
44113 /* end confdefs.h.  */
44114 #include <math.h>
44115                       #ifdef HAVE_IEEEFP_H
44116                       #include <ieeefp.h>
44117                       #endif
44118
44119 int
44120 main ()
44121 {
44122  _fabsl(0);
44123   ;
44124   return 0;
44125 }
44126 _ACEOF
44127 rm -f conftest.$ac_objext
44128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44129   (eval $ac_compile) 2>conftest.er1
44130   ac_status=$?
44131   grep -v '^ *+' conftest.er1 >conftest.err
44132   rm -f conftest.er1
44133   cat conftest.err >&5
44134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44135   (exit $ac_status); } &&
44136          { ac_try='test -z "$ac_cxx_werror_flag"
44137                          || test ! -s conftest.err'
44138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44139   (eval $ac_try) 2>&5
44140   ac_status=$?
44141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44142   (exit $ac_status); }; } &&
44143          { ac_try='test -s conftest.$ac_objext'
44144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44145   (eval $ac_try) 2>&5
44146   ac_status=$?
44147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44148   (exit $ac_status); }; }; then
44149   glibcxx_cv_func__fabsl_use=yes
44150 else
44151   echo "$as_me: failed program was:" >&5
44152 sed 's/^/| /' conftest.$ac_ext >&5
44153
44154 glibcxx_cv_func__fabsl_use=no
44155 fi
44156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44157       ac_ext=c
44158 ac_cpp='$CPP $CPPFLAGS'
44159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44162
44163
44164 fi
44165
44166   fi
44167   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
44168 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
44169
44170     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44171
44172 for ac_func in _fabsl
44173 do
44174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44175 echo "$as_me:$LINENO: checking for $ac_func" >&5
44176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44177 if eval "test \"\${$as_ac_var+set}\" = set"; then
44178   echo $ECHO_N "(cached) $ECHO_C" >&6
44179 else
44180   if test x$gcc_no_link = xyes; then
44181   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44183    { (exit 1); exit 1; }; }
44184 fi
44185 cat >conftest.$ac_ext <<_ACEOF
44186 /* confdefs.h.  */
44187 _ACEOF
44188 cat confdefs.h >>conftest.$ac_ext
44189 cat >>conftest.$ac_ext <<_ACEOF
44190 /* end confdefs.h.  */
44191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44192    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44193 #define $ac_func innocuous_$ac_func
44194
44195 /* System header to define __stub macros and hopefully few prototypes,
44196     which can conflict with char $ac_func (); below.
44197     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44198     <limits.h> exists even on freestanding compilers.  */
44199
44200 #ifdef __STDC__
44201 # include <limits.h>
44202 #else
44203 # include <assert.h>
44204 #endif
44205
44206 #undef $ac_func
44207
44208 /* Override any gcc2 internal prototype to avoid an error.  */
44209 #ifdef __cplusplus
44210 extern "C"
44211 {
44212 #endif
44213 /* We use char because int might match the return type of a gcc2
44214    builtin and then its argument prototype would still apply.  */
44215 char $ac_func ();
44216 /* The GNU C library defines this for functions which it implements
44217     to always fail with ENOSYS.  Some functions are actually named
44218     something starting with __ and the normal name is an alias.  */
44219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44220 choke me
44221 #else
44222 char (*f) () = $ac_func;
44223 #endif
44224 #ifdef __cplusplus
44225 }
44226 #endif
44227
44228 int
44229 main ()
44230 {
44231 return f != $ac_func;
44232   ;
44233   return 0;
44234 }
44235 _ACEOF
44236 rm -f conftest.$ac_objext conftest$ac_exeext
44237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44238   (eval $ac_link) 2>conftest.er1
44239   ac_status=$?
44240   grep -v '^ *+' conftest.er1 >conftest.err
44241   rm -f conftest.er1
44242   cat conftest.err >&5
44243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44244   (exit $ac_status); } &&
44245          { ac_try='test -z "$ac_c_werror_flag"
44246                          || test ! -s conftest.err'
44247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44248   (eval $ac_try) 2>&5
44249   ac_status=$?
44250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44251   (exit $ac_status); }; } &&
44252          { ac_try='test -s conftest$ac_exeext'
44253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44254   (eval $ac_try) 2>&5
44255   ac_status=$?
44256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44257   (exit $ac_status); }; }; then
44258   eval "$as_ac_var=yes"
44259 else
44260   echo "$as_me: failed program was:" >&5
44261 sed 's/^/| /' conftest.$ac_ext >&5
44262
44263 eval "$as_ac_var=no"
44264 fi
44265 rm -f conftest.err conftest.$ac_objext \
44266       conftest$ac_exeext conftest.$ac_ext
44267 fi
44268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44270 if test `eval echo '${'$as_ac_var'}'` = yes; then
44271   cat >>confdefs.h <<_ACEOF
44272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44273 _ACEOF
44274
44275 fi
44276 done
44277
44278     fi
44279   fi
44280
44281
44282
44283
44284
44285
44286   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
44287 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
44288   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44289     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
44290   echo $ECHO_N "(cached) $ECHO_C" >&6
44291 else
44292
44293
44294
44295       ac_ext=cc
44296 ac_cpp='$CXXCPP $CPPFLAGS'
44297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44300
44301       cat >conftest.$ac_ext <<_ACEOF
44302 /* confdefs.h.  */
44303 _ACEOF
44304 cat confdefs.h >>conftest.$ac_ext
44305 cat >>conftest.$ac_ext <<_ACEOF
44306 /* end confdefs.h.  */
44307 #include <math.h>
44308 int
44309 main ()
44310 {
44311  fmodl(0, 0);
44312   ;
44313   return 0;
44314 }
44315 _ACEOF
44316 rm -f conftest.$ac_objext
44317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44318   (eval $ac_compile) 2>conftest.er1
44319   ac_status=$?
44320   grep -v '^ *+' conftest.er1 >conftest.err
44321   rm -f conftest.er1
44322   cat conftest.err >&5
44323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44324   (exit $ac_status); } &&
44325          { ac_try='test -z "$ac_cxx_werror_flag"
44326                          || test ! -s conftest.err'
44327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44328   (eval $ac_try) 2>&5
44329   ac_status=$?
44330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44331   (exit $ac_status); }; } &&
44332          { ac_try='test -s conftest.$ac_objext'
44333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44334   (eval $ac_try) 2>&5
44335   ac_status=$?
44336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44337   (exit $ac_status); }; }; then
44338   glibcxx_cv_func_fmodl_use=yes
44339 else
44340   echo "$as_me: failed program was:" >&5
44341 sed 's/^/| /' conftest.$ac_ext >&5
44342
44343 glibcxx_cv_func_fmodl_use=no
44344 fi
44345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44346       ac_ext=c
44347 ac_cpp='$CPP $CPPFLAGS'
44348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44351
44352
44353 fi
44354
44355   fi
44356   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
44357 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
44358
44359   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44360
44361 for ac_func in fmodl
44362 do
44363 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44364 echo "$as_me:$LINENO: checking for $ac_func" >&5
44365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44366 if eval "test \"\${$as_ac_var+set}\" = set"; then
44367   echo $ECHO_N "(cached) $ECHO_C" >&6
44368 else
44369   if test x$gcc_no_link = xyes; then
44370   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44372    { (exit 1); exit 1; }; }
44373 fi
44374 cat >conftest.$ac_ext <<_ACEOF
44375 /* confdefs.h.  */
44376 _ACEOF
44377 cat confdefs.h >>conftest.$ac_ext
44378 cat >>conftest.$ac_ext <<_ACEOF
44379 /* end confdefs.h.  */
44380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44381    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44382 #define $ac_func innocuous_$ac_func
44383
44384 /* System header to define __stub macros and hopefully few prototypes,
44385     which can conflict with char $ac_func (); below.
44386     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44387     <limits.h> exists even on freestanding compilers.  */
44388
44389 #ifdef __STDC__
44390 # include <limits.h>
44391 #else
44392 # include <assert.h>
44393 #endif
44394
44395 #undef $ac_func
44396
44397 /* Override any gcc2 internal prototype to avoid an error.  */
44398 #ifdef __cplusplus
44399 extern "C"
44400 {
44401 #endif
44402 /* We use char because int might match the return type of a gcc2
44403    builtin and then its argument prototype would still apply.  */
44404 char $ac_func ();
44405 /* The GNU C library defines this for functions which it implements
44406     to always fail with ENOSYS.  Some functions are actually named
44407     something starting with __ and the normal name is an alias.  */
44408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44409 choke me
44410 #else
44411 char (*f) () = $ac_func;
44412 #endif
44413 #ifdef __cplusplus
44414 }
44415 #endif
44416
44417 int
44418 main ()
44419 {
44420 return f != $ac_func;
44421   ;
44422   return 0;
44423 }
44424 _ACEOF
44425 rm -f conftest.$ac_objext conftest$ac_exeext
44426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44427   (eval $ac_link) 2>conftest.er1
44428   ac_status=$?
44429   grep -v '^ *+' conftest.er1 >conftest.err
44430   rm -f conftest.er1
44431   cat conftest.err >&5
44432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44433   (exit $ac_status); } &&
44434          { ac_try='test -z "$ac_c_werror_flag"
44435                          || test ! -s conftest.err'
44436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44437   (eval $ac_try) 2>&5
44438   ac_status=$?
44439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44440   (exit $ac_status); }; } &&
44441          { ac_try='test -s conftest$ac_exeext'
44442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44443   (eval $ac_try) 2>&5
44444   ac_status=$?
44445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44446   (exit $ac_status); }; }; then
44447   eval "$as_ac_var=yes"
44448 else
44449   echo "$as_me: failed program was:" >&5
44450 sed 's/^/| /' conftest.$ac_ext >&5
44451
44452 eval "$as_ac_var=no"
44453 fi
44454 rm -f conftest.err conftest.$ac_objext \
44455       conftest$ac_exeext conftest.$ac_ext
44456 fi
44457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44459 if test `eval echo '${'$as_ac_var'}'` = yes; then
44460   cat >>confdefs.h <<_ACEOF
44461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44462 _ACEOF
44463
44464 fi
44465 done
44466
44467   else
44468
44469   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
44470 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
44471   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44472     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
44473   echo $ECHO_N "(cached) $ECHO_C" >&6
44474 else
44475
44476
44477
44478       ac_ext=cc
44479 ac_cpp='$CXXCPP $CPPFLAGS'
44480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44483
44484       cat >conftest.$ac_ext <<_ACEOF
44485 /* confdefs.h.  */
44486 _ACEOF
44487 cat confdefs.h >>conftest.$ac_ext
44488 cat >>conftest.$ac_ext <<_ACEOF
44489 /* end confdefs.h.  */
44490 #include <math.h>
44491 int
44492 main ()
44493 {
44494  _fmodl(0, 0);
44495   ;
44496   return 0;
44497 }
44498 _ACEOF
44499 rm -f conftest.$ac_objext
44500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44501   (eval $ac_compile) 2>conftest.er1
44502   ac_status=$?
44503   grep -v '^ *+' conftest.er1 >conftest.err
44504   rm -f conftest.er1
44505   cat conftest.err >&5
44506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44507   (exit $ac_status); } &&
44508          { ac_try='test -z "$ac_cxx_werror_flag"
44509                          || test ! -s conftest.err'
44510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44511   (eval $ac_try) 2>&5
44512   ac_status=$?
44513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44514   (exit $ac_status); }; } &&
44515          { ac_try='test -s conftest.$ac_objext'
44516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44517   (eval $ac_try) 2>&5
44518   ac_status=$?
44519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44520   (exit $ac_status); }; }; then
44521   glibcxx_cv_func__fmodl_use=yes
44522 else
44523   echo "$as_me: failed program was:" >&5
44524 sed 's/^/| /' conftest.$ac_ext >&5
44525
44526 glibcxx_cv_func__fmodl_use=no
44527 fi
44528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44529       ac_ext=c
44530 ac_cpp='$CPP $CPPFLAGS'
44531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44534
44535
44536 fi
44537
44538   fi
44539   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
44540 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
44541
44542     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44543
44544 for ac_func in _fmodl
44545 do
44546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44547 echo "$as_me:$LINENO: checking for $ac_func" >&5
44548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44549 if eval "test \"\${$as_ac_var+set}\" = set"; then
44550   echo $ECHO_N "(cached) $ECHO_C" >&6
44551 else
44552   if test x$gcc_no_link = xyes; then
44553   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44555    { (exit 1); exit 1; }; }
44556 fi
44557 cat >conftest.$ac_ext <<_ACEOF
44558 /* confdefs.h.  */
44559 _ACEOF
44560 cat confdefs.h >>conftest.$ac_ext
44561 cat >>conftest.$ac_ext <<_ACEOF
44562 /* end confdefs.h.  */
44563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44564    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44565 #define $ac_func innocuous_$ac_func
44566
44567 /* System header to define __stub macros and hopefully few prototypes,
44568     which can conflict with char $ac_func (); below.
44569     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44570     <limits.h> exists even on freestanding compilers.  */
44571
44572 #ifdef __STDC__
44573 # include <limits.h>
44574 #else
44575 # include <assert.h>
44576 #endif
44577
44578 #undef $ac_func
44579
44580 /* Override any gcc2 internal prototype to avoid an error.  */
44581 #ifdef __cplusplus
44582 extern "C"
44583 {
44584 #endif
44585 /* We use char because int might match the return type of a gcc2
44586    builtin and then its argument prototype would still apply.  */
44587 char $ac_func ();
44588 /* The GNU C library defines this for functions which it implements
44589     to always fail with ENOSYS.  Some functions are actually named
44590     something starting with __ and the normal name is an alias.  */
44591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44592 choke me
44593 #else
44594 char (*f) () = $ac_func;
44595 #endif
44596 #ifdef __cplusplus
44597 }
44598 #endif
44599
44600 int
44601 main ()
44602 {
44603 return f != $ac_func;
44604   ;
44605   return 0;
44606 }
44607 _ACEOF
44608 rm -f conftest.$ac_objext conftest$ac_exeext
44609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44610   (eval $ac_link) 2>conftest.er1
44611   ac_status=$?
44612   grep -v '^ *+' conftest.er1 >conftest.err
44613   rm -f conftest.er1
44614   cat conftest.err >&5
44615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44616   (exit $ac_status); } &&
44617          { ac_try='test -z "$ac_c_werror_flag"
44618                          || test ! -s conftest.err'
44619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44620   (eval $ac_try) 2>&5
44621   ac_status=$?
44622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44623   (exit $ac_status); }; } &&
44624          { ac_try='test -s conftest$ac_exeext'
44625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44626   (eval $ac_try) 2>&5
44627   ac_status=$?
44628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44629   (exit $ac_status); }; }; then
44630   eval "$as_ac_var=yes"
44631 else
44632   echo "$as_me: failed program was:" >&5
44633 sed 's/^/| /' conftest.$ac_ext >&5
44634
44635 eval "$as_ac_var=no"
44636 fi
44637 rm -f conftest.err conftest.$ac_objext \
44638       conftest$ac_exeext conftest.$ac_ext
44639 fi
44640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44642 if test `eval echo '${'$as_ac_var'}'` = yes; then
44643   cat >>confdefs.h <<_ACEOF
44644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44645 _ACEOF
44646
44647 fi
44648 done
44649
44650     fi
44651   fi
44652
44653
44654
44655
44656
44657
44658   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
44659 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
44660   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44661     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
44662   echo $ECHO_N "(cached) $ECHO_C" >&6
44663 else
44664
44665
44666
44667       ac_ext=cc
44668 ac_cpp='$CXXCPP $CPPFLAGS'
44669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44672
44673       cat >conftest.$ac_ext <<_ACEOF
44674 /* confdefs.h.  */
44675 _ACEOF
44676 cat confdefs.h >>conftest.$ac_ext
44677 cat >>conftest.$ac_ext <<_ACEOF
44678 /* end confdefs.h.  */
44679 #include <math.h>
44680 int
44681 main ()
44682 {
44683  frexpl(0, 0);
44684   ;
44685   return 0;
44686 }
44687 _ACEOF
44688 rm -f conftest.$ac_objext
44689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44690   (eval $ac_compile) 2>conftest.er1
44691   ac_status=$?
44692   grep -v '^ *+' conftest.er1 >conftest.err
44693   rm -f conftest.er1
44694   cat conftest.err >&5
44695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44696   (exit $ac_status); } &&
44697          { ac_try='test -z "$ac_cxx_werror_flag"
44698                          || test ! -s conftest.err'
44699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44700   (eval $ac_try) 2>&5
44701   ac_status=$?
44702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44703   (exit $ac_status); }; } &&
44704          { ac_try='test -s conftest.$ac_objext'
44705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44706   (eval $ac_try) 2>&5
44707   ac_status=$?
44708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44709   (exit $ac_status); }; }; then
44710   glibcxx_cv_func_frexpl_use=yes
44711 else
44712   echo "$as_me: failed program was:" >&5
44713 sed 's/^/| /' conftest.$ac_ext >&5
44714
44715 glibcxx_cv_func_frexpl_use=no
44716 fi
44717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44718       ac_ext=c
44719 ac_cpp='$CPP $CPPFLAGS'
44720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44723
44724
44725 fi
44726
44727   fi
44728   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
44729 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
44730
44731   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44732
44733 for ac_func in frexpl
44734 do
44735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44736 echo "$as_me:$LINENO: checking for $ac_func" >&5
44737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44738 if eval "test \"\${$as_ac_var+set}\" = set"; then
44739   echo $ECHO_N "(cached) $ECHO_C" >&6
44740 else
44741   if test x$gcc_no_link = xyes; then
44742   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44744    { (exit 1); exit 1; }; }
44745 fi
44746 cat >conftest.$ac_ext <<_ACEOF
44747 /* confdefs.h.  */
44748 _ACEOF
44749 cat confdefs.h >>conftest.$ac_ext
44750 cat >>conftest.$ac_ext <<_ACEOF
44751 /* end confdefs.h.  */
44752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44753    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44754 #define $ac_func innocuous_$ac_func
44755
44756 /* System header to define __stub macros and hopefully few prototypes,
44757     which can conflict with char $ac_func (); below.
44758     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44759     <limits.h> exists even on freestanding compilers.  */
44760
44761 #ifdef __STDC__
44762 # include <limits.h>
44763 #else
44764 # include <assert.h>
44765 #endif
44766
44767 #undef $ac_func
44768
44769 /* Override any gcc2 internal prototype to avoid an error.  */
44770 #ifdef __cplusplus
44771 extern "C"
44772 {
44773 #endif
44774 /* We use char because int might match the return type of a gcc2
44775    builtin and then its argument prototype would still apply.  */
44776 char $ac_func ();
44777 /* The GNU C library defines this for functions which it implements
44778     to always fail with ENOSYS.  Some functions are actually named
44779     something starting with __ and the normal name is an alias.  */
44780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44781 choke me
44782 #else
44783 char (*f) () = $ac_func;
44784 #endif
44785 #ifdef __cplusplus
44786 }
44787 #endif
44788
44789 int
44790 main ()
44791 {
44792 return f != $ac_func;
44793   ;
44794   return 0;
44795 }
44796 _ACEOF
44797 rm -f conftest.$ac_objext conftest$ac_exeext
44798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44799   (eval $ac_link) 2>conftest.er1
44800   ac_status=$?
44801   grep -v '^ *+' conftest.er1 >conftest.err
44802   rm -f conftest.er1
44803   cat conftest.err >&5
44804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44805   (exit $ac_status); } &&
44806          { ac_try='test -z "$ac_c_werror_flag"
44807                          || test ! -s conftest.err'
44808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44809   (eval $ac_try) 2>&5
44810   ac_status=$?
44811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44812   (exit $ac_status); }; } &&
44813          { ac_try='test -s conftest$ac_exeext'
44814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44815   (eval $ac_try) 2>&5
44816   ac_status=$?
44817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44818   (exit $ac_status); }; }; then
44819   eval "$as_ac_var=yes"
44820 else
44821   echo "$as_me: failed program was:" >&5
44822 sed 's/^/| /' conftest.$ac_ext >&5
44823
44824 eval "$as_ac_var=no"
44825 fi
44826 rm -f conftest.err conftest.$ac_objext \
44827       conftest$ac_exeext conftest.$ac_ext
44828 fi
44829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44831 if test `eval echo '${'$as_ac_var'}'` = yes; then
44832   cat >>confdefs.h <<_ACEOF
44833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44834 _ACEOF
44835
44836 fi
44837 done
44838
44839   else
44840
44841   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
44842 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
44843   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44844     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
44845   echo $ECHO_N "(cached) $ECHO_C" >&6
44846 else
44847
44848
44849
44850       ac_ext=cc
44851 ac_cpp='$CXXCPP $CPPFLAGS'
44852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44855
44856       cat >conftest.$ac_ext <<_ACEOF
44857 /* confdefs.h.  */
44858 _ACEOF
44859 cat confdefs.h >>conftest.$ac_ext
44860 cat >>conftest.$ac_ext <<_ACEOF
44861 /* end confdefs.h.  */
44862 #include <math.h>
44863 int
44864 main ()
44865 {
44866  _frexpl(0, 0);
44867   ;
44868   return 0;
44869 }
44870 _ACEOF
44871 rm -f conftest.$ac_objext
44872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44873   (eval $ac_compile) 2>conftest.er1
44874   ac_status=$?
44875   grep -v '^ *+' conftest.er1 >conftest.err
44876   rm -f conftest.er1
44877   cat conftest.err >&5
44878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44879   (exit $ac_status); } &&
44880          { ac_try='test -z "$ac_cxx_werror_flag"
44881                          || test ! -s conftest.err'
44882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44883   (eval $ac_try) 2>&5
44884   ac_status=$?
44885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44886   (exit $ac_status); }; } &&
44887          { ac_try='test -s conftest.$ac_objext'
44888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44889   (eval $ac_try) 2>&5
44890   ac_status=$?
44891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44892   (exit $ac_status); }; }; then
44893   glibcxx_cv_func__frexpl_use=yes
44894 else
44895   echo "$as_me: failed program was:" >&5
44896 sed 's/^/| /' conftest.$ac_ext >&5
44897
44898 glibcxx_cv_func__frexpl_use=no
44899 fi
44900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44901       ac_ext=c
44902 ac_cpp='$CPP $CPPFLAGS'
44903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44906
44907
44908 fi
44909
44910   fi
44911   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
44912 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
44913
44914     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44915
44916 for ac_func in _frexpl
44917 do
44918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44919 echo "$as_me:$LINENO: checking for $ac_func" >&5
44920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44921 if eval "test \"\${$as_ac_var+set}\" = set"; then
44922   echo $ECHO_N "(cached) $ECHO_C" >&6
44923 else
44924   if test x$gcc_no_link = xyes; then
44925   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44927    { (exit 1); exit 1; }; }
44928 fi
44929 cat >conftest.$ac_ext <<_ACEOF
44930 /* confdefs.h.  */
44931 _ACEOF
44932 cat confdefs.h >>conftest.$ac_ext
44933 cat >>conftest.$ac_ext <<_ACEOF
44934 /* end confdefs.h.  */
44935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44936    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44937 #define $ac_func innocuous_$ac_func
44938
44939 /* System header to define __stub macros and hopefully few prototypes,
44940     which can conflict with char $ac_func (); below.
44941     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44942     <limits.h> exists even on freestanding compilers.  */
44943
44944 #ifdef __STDC__
44945 # include <limits.h>
44946 #else
44947 # include <assert.h>
44948 #endif
44949
44950 #undef $ac_func
44951
44952 /* Override any gcc2 internal prototype to avoid an error.  */
44953 #ifdef __cplusplus
44954 extern "C"
44955 {
44956 #endif
44957 /* We use char because int might match the return type of a gcc2
44958    builtin and then its argument prototype would still apply.  */
44959 char $ac_func ();
44960 /* The GNU C library defines this for functions which it implements
44961     to always fail with ENOSYS.  Some functions are actually named
44962     something starting with __ and the normal name is an alias.  */
44963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44964 choke me
44965 #else
44966 char (*f) () = $ac_func;
44967 #endif
44968 #ifdef __cplusplus
44969 }
44970 #endif
44971
44972 int
44973 main ()
44974 {
44975 return f != $ac_func;
44976   ;
44977   return 0;
44978 }
44979 _ACEOF
44980 rm -f conftest.$ac_objext conftest$ac_exeext
44981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44982   (eval $ac_link) 2>conftest.er1
44983   ac_status=$?
44984   grep -v '^ *+' conftest.er1 >conftest.err
44985   rm -f conftest.er1
44986   cat conftest.err >&5
44987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44988   (exit $ac_status); } &&
44989          { ac_try='test -z "$ac_c_werror_flag"
44990                          || test ! -s conftest.err'
44991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44992   (eval $ac_try) 2>&5
44993   ac_status=$?
44994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44995   (exit $ac_status); }; } &&
44996          { ac_try='test -s conftest$ac_exeext'
44997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44998   (eval $ac_try) 2>&5
44999   ac_status=$?
45000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45001   (exit $ac_status); }; }; then
45002   eval "$as_ac_var=yes"
45003 else
45004   echo "$as_me: failed program was:" >&5
45005 sed 's/^/| /' conftest.$ac_ext >&5
45006
45007 eval "$as_ac_var=no"
45008 fi
45009 rm -f conftest.err conftest.$ac_objext \
45010       conftest$ac_exeext conftest.$ac_ext
45011 fi
45012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45014 if test `eval echo '${'$as_ac_var'}'` = yes; then
45015   cat >>confdefs.h <<_ACEOF
45016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45017 _ACEOF
45018
45019 fi
45020 done
45021
45022     fi
45023   fi
45024
45025
45026
45027
45028
45029
45030   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
45031 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
45032   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45033     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
45034   echo $ECHO_N "(cached) $ECHO_C" >&6
45035 else
45036
45037
45038
45039       ac_ext=cc
45040 ac_cpp='$CXXCPP $CPPFLAGS'
45041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45044
45045       cat >conftest.$ac_ext <<_ACEOF
45046 /* confdefs.h.  */
45047 _ACEOF
45048 cat confdefs.h >>conftest.$ac_ext
45049 cat >>conftest.$ac_ext <<_ACEOF
45050 /* end confdefs.h.  */
45051 #include <math.h>
45052 int
45053 main ()
45054 {
45055  hypotl(0, 0);
45056   ;
45057   return 0;
45058 }
45059 _ACEOF
45060 rm -f conftest.$ac_objext
45061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45062   (eval $ac_compile) 2>conftest.er1
45063   ac_status=$?
45064   grep -v '^ *+' conftest.er1 >conftest.err
45065   rm -f conftest.er1
45066   cat conftest.err >&5
45067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45068   (exit $ac_status); } &&
45069          { ac_try='test -z "$ac_cxx_werror_flag"
45070                          || test ! -s conftest.err'
45071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45072   (eval $ac_try) 2>&5
45073   ac_status=$?
45074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45075   (exit $ac_status); }; } &&
45076          { ac_try='test -s conftest.$ac_objext'
45077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45078   (eval $ac_try) 2>&5
45079   ac_status=$?
45080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45081   (exit $ac_status); }; }; then
45082   glibcxx_cv_func_hypotl_use=yes
45083 else
45084   echo "$as_me: failed program was:" >&5
45085 sed 's/^/| /' conftest.$ac_ext >&5
45086
45087 glibcxx_cv_func_hypotl_use=no
45088 fi
45089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45090       ac_ext=c
45091 ac_cpp='$CPP $CPPFLAGS'
45092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45095
45096
45097 fi
45098
45099   fi
45100   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
45101 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
45102
45103   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45104
45105 for ac_func in hypotl
45106 do
45107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45108 echo "$as_me:$LINENO: checking for $ac_func" >&5
45109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45110 if eval "test \"\${$as_ac_var+set}\" = set"; then
45111   echo $ECHO_N "(cached) $ECHO_C" >&6
45112 else
45113   if test x$gcc_no_link = xyes; then
45114   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45116    { (exit 1); exit 1; }; }
45117 fi
45118 cat >conftest.$ac_ext <<_ACEOF
45119 /* confdefs.h.  */
45120 _ACEOF
45121 cat confdefs.h >>conftest.$ac_ext
45122 cat >>conftest.$ac_ext <<_ACEOF
45123 /* end confdefs.h.  */
45124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45125    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45126 #define $ac_func innocuous_$ac_func
45127
45128 /* System header to define __stub macros and hopefully few prototypes,
45129     which can conflict with char $ac_func (); below.
45130     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45131     <limits.h> exists even on freestanding compilers.  */
45132
45133 #ifdef __STDC__
45134 # include <limits.h>
45135 #else
45136 # include <assert.h>
45137 #endif
45138
45139 #undef $ac_func
45140
45141 /* Override any gcc2 internal prototype to avoid an error.  */
45142 #ifdef __cplusplus
45143 extern "C"
45144 {
45145 #endif
45146 /* We use char because int might match the return type of a gcc2
45147    builtin and then its argument prototype would still apply.  */
45148 char $ac_func ();
45149 /* The GNU C library defines this for functions which it implements
45150     to always fail with ENOSYS.  Some functions are actually named
45151     something starting with __ and the normal name is an alias.  */
45152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45153 choke me
45154 #else
45155 char (*f) () = $ac_func;
45156 #endif
45157 #ifdef __cplusplus
45158 }
45159 #endif
45160
45161 int
45162 main ()
45163 {
45164 return f != $ac_func;
45165   ;
45166   return 0;
45167 }
45168 _ACEOF
45169 rm -f conftest.$ac_objext conftest$ac_exeext
45170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45171   (eval $ac_link) 2>conftest.er1
45172   ac_status=$?
45173   grep -v '^ *+' conftest.er1 >conftest.err
45174   rm -f conftest.er1
45175   cat conftest.err >&5
45176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45177   (exit $ac_status); } &&
45178          { ac_try='test -z "$ac_c_werror_flag"
45179                          || test ! -s conftest.err'
45180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45181   (eval $ac_try) 2>&5
45182   ac_status=$?
45183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45184   (exit $ac_status); }; } &&
45185          { ac_try='test -s conftest$ac_exeext'
45186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45187   (eval $ac_try) 2>&5
45188   ac_status=$?
45189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45190   (exit $ac_status); }; }; then
45191   eval "$as_ac_var=yes"
45192 else
45193   echo "$as_me: failed program was:" >&5
45194 sed 's/^/| /' conftest.$ac_ext >&5
45195
45196 eval "$as_ac_var=no"
45197 fi
45198 rm -f conftest.err conftest.$ac_objext \
45199       conftest$ac_exeext conftest.$ac_ext
45200 fi
45201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45203 if test `eval echo '${'$as_ac_var'}'` = yes; then
45204   cat >>confdefs.h <<_ACEOF
45205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45206 _ACEOF
45207
45208 fi
45209 done
45210
45211   else
45212
45213   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
45214 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
45215   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45216     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
45217   echo $ECHO_N "(cached) $ECHO_C" >&6
45218 else
45219
45220
45221
45222       ac_ext=cc
45223 ac_cpp='$CXXCPP $CPPFLAGS'
45224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45227
45228       cat >conftest.$ac_ext <<_ACEOF
45229 /* confdefs.h.  */
45230 _ACEOF
45231 cat confdefs.h >>conftest.$ac_ext
45232 cat >>conftest.$ac_ext <<_ACEOF
45233 /* end confdefs.h.  */
45234 #include <math.h>
45235 int
45236 main ()
45237 {
45238  _hypotl(0, 0);
45239   ;
45240   return 0;
45241 }
45242 _ACEOF
45243 rm -f conftest.$ac_objext
45244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45245   (eval $ac_compile) 2>conftest.er1
45246   ac_status=$?
45247   grep -v '^ *+' conftest.er1 >conftest.err
45248   rm -f conftest.er1
45249   cat conftest.err >&5
45250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45251   (exit $ac_status); } &&
45252          { ac_try='test -z "$ac_cxx_werror_flag"
45253                          || test ! -s conftest.err'
45254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45255   (eval $ac_try) 2>&5
45256   ac_status=$?
45257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45258   (exit $ac_status); }; } &&
45259          { ac_try='test -s conftest.$ac_objext'
45260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45261   (eval $ac_try) 2>&5
45262   ac_status=$?
45263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45264   (exit $ac_status); }; }; then
45265   glibcxx_cv_func__hypotl_use=yes
45266 else
45267   echo "$as_me: failed program was:" >&5
45268 sed 's/^/| /' conftest.$ac_ext >&5
45269
45270 glibcxx_cv_func__hypotl_use=no
45271 fi
45272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45273       ac_ext=c
45274 ac_cpp='$CPP $CPPFLAGS'
45275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45278
45279
45280 fi
45281
45282   fi
45283   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
45284 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
45285
45286     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45287
45288 for ac_func in _hypotl
45289 do
45290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45291 echo "$as_me:$LINENO: checking for $ac_func" >&5
45292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45293 if eval "test \"\${$as_ac_var+set}\" = set"; then
45294   echo $ECHO_N "(cached) $ECHO_C" >&6
45295 else
45296   if test x$gcc_no_link = xyes; then
45297   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45299    { (exit 1); exit 1; }; }
45300 fi
45301 cat >conftest.$ac_ext <<_ACEOF
45302 /* confdefs.h.  */
45303 _ACEOF
45304 cat confdefs.h >>conftest.$ac_ext
45305 cat >>conftest.$ac_ext <<_ACEOF
45306 /* end confdefs.h.  */
45307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45308    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45309 #define $ac_func innocuous_$ac_func
45310
45311 /* System header to define __stub macros and hopefully few prototypes,
45312     which can conflict with char $ac_func (); below.
45313     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45314     <limits.h> exists even on freestanding compilers.  */
45315
45316 #ifdef __STDC__
45317 # include <limits.h>
45318 #else
45319 # include <assert.h>
45320 #endif
45321
45322 #undef $ac_func
45323
45324 /* Override any gcc2 internal prototype to avoid an error.  */
45325 #ifdef __cplusplus
45326 extern "C"
45327 {
45328 #endif
45329 /* We use char because int might match the return type of a gcc2
45330    builtin and then its argument prototype would still apply.  */
45331 char $ac_func ();
45332 /* The GNU C library defines this for functions which it implements
45333     to always fail with ENOSYS.  Some functions are actually named
45334     something starting with __ and the normal name is an alias.  */
45335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45336 choke me
45337 #else
45338 char (*f) () = $ac_func;
45339 #endif
45340 #ifdef __cplusplus
45341 }
45342 #endif
45343
45344 int
45345 main ()
45346 {
45347 return f != $ac_func;
45348   ;
45349   return 0;
45350 }
45351 _ACEOF
45352 rm -f conftest.$ac_objext conftest$ac_exeext
45353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45354   (eval $ac_link) 2>conftest.er1
45355   ac_status=$?
45356   grep -v '^ *+' conftest.er1 >conftest.err
45357   rm -f conftest.er1
45358   cat conftest.err >&5
45359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45360   (exit $ac_status); } &&
45361          { ac_try='test -z "$ac_c_werror_flag"
45362                          || test ! -s conftest.err'
45363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45364   (eval $ac_try) 2>&5
45365   ac_status=$?
45366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45367   (exit $ac_status); }; } &&
45368          { ac_try='test -s conftest$ac_exeext'
45369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45370   (eval $ac_try) 2>&5
45371   ac_status=$?
45372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45373   (exit $ac_status); }; }; then
45374   eval "$as_ac_var=yes"
45375 else
45376   echo "$as_me: failed program was:" >&5
45377 sed 's/^/| /' conftest.$ac_ext >&5
45378
45379 eval "$as_ac_var=no"
45380 fi
45381 rm -f conftest.err conftest.$ac_objext \
45382       conftest$ac_exeext conftest.$ac_ext
45383 fi
45384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45386 if test `eval echo '${'$as_ac_var'}'` = yes; then
45387   cat >>confdefs.h <<_ACEOF
45388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45389 _ACEOF
45390
45391 fi
45392 done
45393
45394     fi
45395   fi
45396
45397
45398
45399
45400
45401
45402   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
45403 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
45404   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45405     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
45406   echo $ECHO_N "(cached) $ECHO_C" >&6
45407 else
45408
45409
45410
45411       ac_ext=cc
45412 ac_cpp='$CXXCPP $CPPFLAGS'
45413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45416
45417       cat >conftest.$ac_ext <<_ACEOF
45418 /* confdefs.h.  */
45419 _ACEOF
45420 cat confdefs.h >>conftest.$ac_ext
45421 cat >>conftest.$ac_ext <<_ACEOF
45422 /* end confdefs.h.  */
45423 #include <math.h>
45424 int
45425 main ()
45426 {
45427  ldexpl(0, 0);
45428   ;
45429   return 0;
45430 }
45431 _ACEOF
45432 rm -f conftest.$ac_objext
45433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45434   (eval $ac_compile) 2>conftest.er1
45435   ac_status=$?
45436   grep -v '^ *+' conftest.er1 >conftest.err
45437   rm -f conftest.er1
45438   cat conftest.err >&5
45439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45440   (exit $ac_status); } &&
45441          { ac_try='test -z "$ac_cxx_werror_flag"
45442                          || test ! -s conftest.err'
45443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45444   (eval $ac_try) 2>&5
45445   ac_status=$?
45446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45447   (exit $ac_status); }; } &&
45448          { ac_try='test -s conftest.$ac_objext'
45449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45450   (eval $ac_try) 2>&5
45451   ac_status=$?
45452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45453   (exit $ac_status); }; }; then
45454   glibcxx_cv_func_ldexpl_use=yes
45455 else
45456   echo "$as_me: failed program was:" >&5
45457 sed 's/^/| /' conftest.$ac_ext >&5
45458
45459 glibcxx_cv_func_ldexpl_use=no
45460 fi
45461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45462       ac_ext=c
45463 ac_cpp='$CPP $CPPFLAGS'
45464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45467
45468
45469 fi
45470
45471   fi
45472   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
45473 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
45474
45475   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45476
45477 for ac_func in ldexpl
45478 do
45479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45480 echo "$as_me:$LINENO: checking for $ac_func" >&5
45481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45482 if eval "test \"\${$as_ac_var+set}\" = set"; then
45483   echo $ECHO_N "(cached) $ECHO_C" >&6
45484 else
45485   if test x$gcc_no_link = xyes; then
45486   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45488    { (exit 1); exit 1; }; }
45489 fi
45490 cat >conftest.$ac_ext <<_ACEOF
45491 /* confdefs.h.  */
45492 _ACEOF
45493 cat confdefs.h >>conftest.$ac_ext
45494 cat >>conftest.$ac_ext <<_ACEOF
45495 /* end confdefs.h.  */
45496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45497    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45498 #define $ac_func innocuous_$ac_func
45499
45500 /* System header to define __stub macros and hopefully few prototypes,
45501     which can conflict with char $ac_func (); below.
45502     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45503     <limits.h> exists even on freestanding compilers.  */
45504
45505 #ifdef __STDC__
45506 # include <limits.h>
45507 #else
45508 # include <assert.h>
45509 #endif
45510
45511 #undef $ac_func
45512
45513 /* Override any gcc2 internal prototype to avoid an error.  */
45514 #ifdef __cplusplus
45515 extern "C"
45516 {
45517 #endif
45518 /* We use char because int might match the return type of a gcc2
45519    builtin and then its argument prototype would still apply.  */
45520 char $ac_func ();
45521 /* The GNU C library defines this for functions which it implements
45522     to always fail with ENOSYS.  Some functions are actually named
45523     something starting with __ and the normal name is an alias.  */
45524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45525 choke me
45526 #else
45527 char (*f) () = $ac_func;
45528 #endif
45529 #ifdef __cplusplus
45530 }
45531 #endif
45532
45533 int
45534 main ()
45535 {
45536 return f != $ac_func;
45537   ;
45538   return 0;
45539 }
45540 _ACEOF
45541 rm -f conftest.$ac_objext conftest$ac_exeext
45542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45543   (eval $ac_link) 2>conftest.er1
45544   ac_status=$?
45545   grep -v '^ *+' conftest.er1 >conftest.err
45546   rm -f conftest.er1
45547   cat conftest.err >&5
45548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45549   (exit $ac_status); } &&
45550          { ac_try='test -z "$ac_c_werror_flag"
45551                          || test ! -s conftest.err'
45552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45553   (eval $ac_try) 2>&5
45554   ac_status=$?
45555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45556   (exit $ac_status); }; } &&
45557          { ac_try='test -s conftest$ac_exeext'
45558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45559   (eval $ac_try) 2>&5
45560   ac_status=$?
45561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45562   (exit $ac_status); }; }; then
45563   eval "$as_ac_var=yes"
45564 else
45565   echo "$as_me: failed program was:" >&5
45566 sed 's/^/| /' conftest.$ac_ext >&5
45567
45568 eval "$as_ac_var=no"
45569 fi
45570 rm -f conftest.err conftest.$ac_objext \
45571       conftest$ac_exeext conftest.$ac_ext
45572 fi
45573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45575 if test `eval echo '${'$as_ac_var'}'` = yes; then
45576   cat >>confdefs.h <<_ACEOF
45577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45578 _ACEOF
45579
45580 fi
45581 done
45582
45583   else
45584
45585   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
45586 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
45587   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45588     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
45589   echo $ECHO_N "(cached) $ECHO_C" >&6
45590 else
45591
45592
45593
45594       ac_ext=cc
45595 ac_cpp='$CXXCPP $CPPFLAGS'
45596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45599
45600       cat >conftest.$ac_ext <<_ACEOF
45601 /* confdefs.h.  */
45602 _ACEOF
45603 cat confdefs.h >>conftest.$ac_ext
45604 cat >>conftest.$ac_ext <<_ACEOF
45605 /* end confdefs.h.  */
45606 #include <math.h>
45607 int
45608 main ()
45609 {
45610  _ldexpl(0, 0);
45611   ;
45612   return 0;
45613 }
45614 _ACEOF
45615 rm -f conftest.$ac_objext
45616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45617   (eval $ac_compile) 2>conftest.er1
45618   ac_status=$?
45619   grep -v '^ *+' conftest.er1 >conftest.err
45620   rm -f conftest.er1
45621   cat conftest.err >&5
45622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45623   (exit $ac_status); } &&
45624          { ac_try='test -z "$ac_cxx_werror_flag"
45625                          || test ! -s conftest.err'
45626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45627   (eval $ac_try) 2>&5
45628   ac_status=$?
45629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45630   (exit $ac_status); }; } &&
45631          { ac_try='test -s conftest.$ac_objext'
45632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45633   (eval $ac_try) 2>&5
45634   ac_status=$?
45635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45636   (exit $ac_status); }; }; then
45637   glibcxx_cv_func__ldexpl_use=yes
45638 else
45639   echo "$as_me: failed program was:" >&5
45640 sed 's/^/| /' conftest.$ac_ext >&5
45641
45642 glibcxx_cv_func__ldexpl_use=no
45643 fi
45644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45645       ac_ext=c
45646 ac_cpp='$CPP $CPPFLAGS'
45647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45650
45651
45652 fi
45653
45654   fi
45655   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
45656 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
45657
45658     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45659
45660 for ac_func in _ldexpl
45661 do
45662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45663 echo "$as_me:$LINENO: checking for $ac_func" >&5
45664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45665 if eval "test \"\${$as_ac_var+set}\" = set"; then
45666   echo $ECHO_N "(cached) $ECHO_C" >&6
45667 else
45668   if test x$gcc_no_link = xyes; then
45669   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45671    { (exit 1); exit 1; }; }
45672 fi
45673 cat >conftest.$ac_ext <<_ACEOF
45674 /* confdefs.h.  */
45675 _ACEOF
45676 cat confdefs.h >>conftest.$ac_ext
45677 cat >>conftest.$ac_ext <<_ACEOF
45678 /* end confdefs.h.  */
45679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45680    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45681 #define $ac_func innocuous_$ac_func
45682
45683 /* System header to define __stub macros and hopefully few prototypes,
45684     which can conflict with char $ac_func (); below.
45685     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45686     <limits.h> exists even on freestanding compilers.  */
45687
45688 #ifdef __STDC__
45689 # include <limits.h>
45690 #else
45691 # include <assert.h>
45692 #endif
45693
45694 #undef $ac_func
45695
45696 /* Override any gcc2 internal prototype to avoid an error.  */
45697 #ifdef __cplusplus
45698 extern "C"
45699 {
45700 #endif
45701 /* We use char because int might match the return type of a gcc2
45702    builtin and then its argument prototype would still apply.  */
45703 char $ac_func ();
45704 /* The GNU C library defines this for functions which it implements
45705     to always fail with ENOSYS.  Some functions are actually named
45706     something starting with __ and the normal name is an alias.  */
45707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45708 choke me
45709 #else
45710 char (*f) () = $ac_func;
45711 #endif
45712 #ifdef __cplusplus
45713 }
45714 #endif
45715
45716 int
45717 main ()
45718 {
45719 return f != $ac_func;
45720   ;
45721   return 0;
45722 }
45723 _ACEOF
45724 rm -f conftest.$ac_objext conftest$ac_exeext
45725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45726   (eval $ac_link) 2>conftest.er1
45727   ac_status=$?
45728   grep -v '^ *+' conftest.er1 >conftest.err
45729   rm -f conftest.er1
45730   cat conftest.err >&5
45731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45732   (exit $ac_status); } &&
45733          { ac_try='test -z "$ac_c_werror_flag"
45734                          || test ! -s conftest.err'
45735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45736   (eval $ac_try) 2>&5
45737   ac_status=$?
45738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45739   (exit $ac_status); }; } &&
45740          { ac_try='test -s conftest$ac_exeext'
45741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45742   (eval $ac_try) 2>&5
45743   ac_status=$?
45744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45745   (exit $ac_status); }; }; then
45746   eval "$as_ac_var=yes"
45747 else
45748   echo "$as_me: failed program was:" >&5
45749 sed 's/^/| /' conftest.$ac_ext >&5
45750
45751 eval "$as_ac_var=no"
45752 fi
45753 rm -f conftest.err conftest.$ac_objext \
45754       conftest$ac_exeext conftest.$ac_ext
45755 fi
45756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45757 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45758 if test `eval echo '${'$as_ac_var'}'` = yes; then
45759   cat >>confdefs.h <<_ACEOF
45760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45761 _ACEOF
45762
45763 fi
45764 done
45765
45766     fi
45767   fi
45768
45769
45770
45771
45772
45773
45774   echo "$as_me:$LINENO: checking for logl declaration" >&5
45775 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
45776   if test x${glibcxx_cv_func_logl_use+set} != xset; then
45777     if test "${glibcxx_cv_func_logl_use+set}" = set; then
45778   echo $ECHO_N "(cached) $ECHO_C" >&6
45779 else
45780
45781
45782
45783       ac_ext=cc
45784 ac_cpp='$CXXCPP $CPPFLAGS'
45785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45788
45789       cat >conftest.$ac_ext <<_ACEOF
45790 /* confdefs.h.  */
45791 _ACEOF
45792 cat confdefs.h >>conftest.$ac_ext
45793 cat >>conftest.$ac_ext <<_ACEOF
45794 /* end confdefs.h.  */
45795 #include <math.h>
45796                       #ifdef HAVE_IEEEFP_H
45797                       #include <ieeefp.h>
45798                       #endif
45799
45800 int
45801 main ()
45802 {
45803  logl(0);
45804   ;
45805   return 0;
45806 }
45807 _ACEOF
45808 rm -f conftest.$ac_objext
45809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45810   (eval $ac_compile) 2>conftest.er1
45811   ac_status=$?
45812   grep -v '^ *+' conftest.er1 >conftest.err
45813   rm -f conftest.er1
45814   cat conftest.err >&5
45815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45816   (exit $ac_status); } &&
45817          { ac_try='test -z "$ac_cxx_werror_flag"
45818                          || test ! -s conftest.err'
45819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45820   (eval $ac_try) 2>&5
45821   ac_status=$?
45822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45823   (exit $ac_status); }; } &&
45824          { ac_try='test -s conftest.$ac_objext'
45825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45826   (eval $ac_try) 2>&5
45827   ac_status=$?
45828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45829   (exit $ac_status); }; }; then
45830   glibcxx_cv_func_logl_use=yes
45831 else
45832   echo "$as_me: failed program was:" >&5
45833 sed 's/^/| /' conftest.$ac_ext >&5
45834
45835 glibcxx_cv_func_logl_use=no
45836 fi
45837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45838       ac_ext=c
45839 ac_cpp='$CPP $CPPFLAGS'
45840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45843
45844
45845 fi
45846
45847   fi
45848   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
45849 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
45850
45851   if test x$glibcxx_cv_func_logl_use = x"yes"; then
45852
45853 for ac_func in logl
45854 do
45855 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45856 echo "$as_me:$LINENO: checking for $ac_func" >&5
45857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45858 if eval "test \"\${$as_ac_var+set}\" = set"; then
45859   echo $ECHO_N "(cached) $ECHO_C" >&6
45860 else
45861   if test x$gcc_no_link = xyes; then
45862   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45864    { (exit 1); exit 1; }; }
45865 fi
45866 cat >conftest.$ac_ext <<_ACEOF
45867 /* confdefs.h.  */
45868 _ACEOF
45869 cat confdefs.h >>conftest.$ac_ext
45870 cat >>conftest.$ac_ext <<_ACEOF
45871 /* end confdefs.h.  */
45872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45873    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45874 #define $ac_func innocuous_$ac_func
45875
45876 /* System header to define __stub macros and hopefully few prototypes,
45877     which can conflict with char $ac_func (); below.
45878     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45879     <limits.h> exists even on freestanding compilers.  */
45880
45881 #ifdef __STDC__
45882 # include <limits.h>
45883 #else
45884 # include <assert.h>
45885 #endif
45886
45887 #undef $ac_func
45888
45889 /* Override any gcc2 internal prototype to avoid an error.  */
45890 #ifdef __cplusplus
45891 extern "C"
45892 {
45893 #endif
45894 /* We use char because int might match the return type of a gcc2
45895    builtin and then its argument prototype would still apply.  */
45896 char $ac_func ();
45897 /* The GNU C library defines this for functions which it implements
45898     to always fail with ENOSYS.  Some functions are actually named
45899     something starting with __ and the normal name is an alias.  */
45900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45901 choke me
45902 #else
45903 char (*f) () = $ac_func;
45904 #endif
45905 #ifdef __cplusplus
45906 }
45907 #endif
45908
45909 int
45910 main ()
45911 {
45912 return f != $ac_func;
45913   ;
45914   return 0;
45915 }
45916 _ACEOF
45917 rm -f conftest.$ac_objext conftest$ac_exeext
45918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45919   (eval $ac_link) 2>conftest.er1
45920   ac_status=$?
45921   grep -v '^ *+' conftest.er1 >conftest.err
45922   rm -f conftest.er1
45923   cat conftest.err >&5
45924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45925   (exit $ac_status); } &&
45926          { ac_try='test -z "$ac_c_werror_flag"
45927                          || test ! -s conftest.err'
45928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45929   (eval $ac_try) 2>&5
45930   ac_status=$?
45931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45932   (exit $ac_status); }; } &&
45933          { ac_try='test -s conftest$ac_exeext'
45934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45935   (eval $ac_try) 2>&5
45936   ac_status=$?
45937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45938   (exit $ac_status); }; }; then
45939   eval "$as_ac_var=yes"
45940 else
45941   echo "$as_me: failed program was:" >&5
45942 sed 's/^/| /' conftest.$ac_ext >&5
45943
45944 eval "$as_ac_var=no"
45945 fi
45946 rm -f conftest.err conftest.$ac_objext \
45947       conftest$ac_exeext conftest.$ac_ext
45948 fi
45949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45951 if test `eval echo '${'$as_ac_var'}'` = yes; then
45952   cat >>confdefs.h <<_ACEOF
45953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45954 _ACEOF
45955
45956 fi
45957 done
45958
45959   else
45960
45961   echo "$as_me:$LINENO: checking for _logl declaration" >&5
45962 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
45963   if test x${glibcxx_cv_func__logl_use+set} != xset; then
45964     if test "${glibcxx_cv_func__logl_use+set}" = set; then
45965   echo $ECHO_N "(cached) $ECHO_C" >&6
45966 else
45967
45968
45969
45970       ac_ext=cc
45971 ac_cpp='$CXXCPP $CPPFLAGS'
45972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45975
45976       cat >conftest.$ac_ext <<_ACEOF
45977 /* confdefs.h.  */
45978 _ACEOF
45979 cat confdefs.h >>conftest.$ac_ext
45980 cat >>conftest.$ac_ext <<_ACEOF
45981 /* end confdefs.h.  */
45982 #include <math.h>
45983                       #ifdef HAVE_IEEEFP_H
45984                       #include <ieeefp.h>
45985                       #endif
45986
45987 int
45988 main ()
45989 {
45990  _logl(0);
45991   ;
45992   return 0;
45993 }
45994 _ACEOF
45995 rm -f conftest.$ac_objext
45996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45997   (eval $ac_compile) 2>conftest.er1
45998   ac_status=$?
45999   grep -v '^ *+' conftest.er1 >conftest.err
46000   rm -f conftest.er1
46001   cat conftest.err >&5
46002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46003   (exit $ac_status); } &&
46004          { ac_try='test -z "$ac_cxx_werror_flag"
46005                          || test ! -s conftest.err'
46006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46007   (eval $ac_try) 2>&5
46008   ac_status=$?
46009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46010   (exit $ac_status); }; } &&
46011          { ac_try='test -s conftest.$ac_objext'
46012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46013   (eval $ac_try) 2>&5
46014   ac_status=$?
46015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46016   (exit $ac_status); }; }; then
46017   glibcxx_cv_func__logl_use=yes
46018 else
46019   echo "$as_me: failed program was:" >&5
46020 sed 's/^/| /' conftest.$ac_ext >&5
46021
46022 glibcxx_cv_func__logl_use=no
46023 fi
46024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46025       ac_ext=c
46026 ac_cpp='$CPP $CPPFLAGS'
46027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46030
46031
46032 fi
46033
46034   fi
46035   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
46036 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
46037
46038     if test x$glibcxx_cv_func__logl_use = x"yes"; then
46039
46040 for ac_func in _logl
46041 do
46042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46043 echo "$as_me:$LINENO: checking for $ac_func" >&5
46044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46045 if eval "test \"\${$as_ac_var+set}\" = set"; then
46046   echo $ECHO_N "(cached) $ECHO_C" >&6
46047 else
46048   if test x$gcc_no_link = xyes; then
46049   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46051    { (exit 1); exit 1; }; }
46052 fi
46053 cat >conftest.$ac_ext <<_ACEOF
46054 /* confdefs.h.  */
46055 _ACEOF
46056 cat confdefs.h >>conftest.$ac_ext
46057 cat >>conftest.$ac_ext <<_ACEOF
46058 /* end confdefs.h.  */
46059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46060    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46061 #define $ac_func innocuous_$ac_func
46062
46063 /* System header to define __stub macros and hopefully few prototypes,
46064     which can conflict with char $ac_func (); below.
46065     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46066     <limits.h> exists even on freestanding compilers.  */
46067
46068 #ifdef __STDC__
46069 # include <limits.h>
46070 #else
46071 # include <assert.h>
46072 #endif
46073
46074 #undef $ac_func
46075
46076 /* Override any gcc2 internal prototype to avoid an error.  */
46077 #ifdef __cplusplus
46078 extern "C"
46079 {
46080 #endif
46081 /* We use char because int might match the return type of a gcc2
46082    builtin and then its argument prototype would still apply.  */
46083 char $ac_func ();
46084 /* The GNU C library defines this for functions which it implements
46085     to always fail with ENOSYS.  Some functions are actually named
46086     something starting with __ and the normal name is an alias.  */
46087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46088 choke me
46089 #else
46090 char (*f) () = $ac_func;
46091 #endif
46092 #ifdef __cplusplus
46093 }
46094 #endif
46095
46096 int
46097 main ()
46098 {
46099 return f != $ac_func;
46100   ;
46101   return 0;
46102 }
46103 _ACEOF
46104 rm -f conftest.$ac_objext conftest$ac_exeext
46105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46106   (eval $ac_link) 2>conftest.er1
46107   ac_status=$?
46108   grep -v '^ *+' conftest.er1 >conftest.err
46109   rm -f conftest.er1
46110   cat conftest.err >&5
46111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46112   (exit $ac_status); } &&
46113          { ac_try='test -z "$ac_c_werror_flag"
46114                          || test ! -s conftest.err'
46115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46116   (eval $ac_try) 2>&5
46117   ac_status=$?
46118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46119   (exit $ac_status); }; } &&
46120          { ac_try='test -s conftest$ac_exeext'
46121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46122   (eval $ac_try) 2>&5
46123   ac_status=$?
46124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46125   (exit $ac_status); }; }; then
46126   eval "$as_ac_var=yes"
46127 else
46128   echo "$as_me: failed program was:" >&5
46129 sed 's/^/| /' conftest.$ac_ext >&5
46130
46131 eval "$as_ac_var=no"
46132 fi
46133 rm -f conftest.err conftest.$ac_objext \
46134       conftest$ac_exeext conftest.$ac_ext
46135 fi
46136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46138 if test `eval echo '${'$as_ac_var'}'` = yes; then
46139   cat >>confdefs.h <<_ACEOF
46140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46141 _ACEOF
46142
46143 fi
46144 done
46145
46146     fi
46147   fi
46148
46149
46150
46151
46152
46153
46154   echo "$as_me:$LINENO: checking for log10l declaration" >&5
46155 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
46156   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46157     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
46158   echo $ECHO_N "(cached) $ECHO_C" >&6
46159 else
46160
46161
46162
46163       ac_ext=cc
46164 ac_cpp='$CXXCPP $CPPFLAGS'
46165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46168
46169       cat >conftest.$ac_ext <<_ACEOF
46170 /* confdefs.h.  */
46171 _ACEOF
46172 cat confdefs.h >>conftest.$ac_ext
46173 cat >>conftest.$ac_ext <<_ACEOF
46174 /* end confdefs.h.  */
46175 #include <math.h>
46176                       #ifdef HAVE_IEEEFP_H
46177                       #include <ieeefp.h>
46178                       #endif
46179
46180 int
46181 main ()
46182 {
46183  log10l(0);
46184   ;
46185   return 0;
46186 }
46187 _ACEOF
46188 rm -f conftest.$ac_objext
46189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46190   (eval $ac_compile) 2>conftest.er1
46191   ac_status=$?
46192   grep -v '^ *+' conftest.er1 >conftest.err
46193   rm -f conftest.er1
46194   cat conftest.err >&5
46195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46196   (exit $ac_status); } &&
46197          { ac_try='test -z "$ac_cxx_werror_flag"
46198                          || test ! -s conftest.err'
46199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46200   (eval $ac_try) 2>&5
46201   ac_status=$?
46202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46203   (exit $ac_status); }; } &&
46204          { ac_try='test -s conftest.$ac_objext'
46205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46206   (eval $ac_try) 2>&5
46207   ac_status=$?
46208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46209   (exit $ac_status); }; }; then
46210   glibcxx_cv_func_log10l_use=yes
46211 else
46212   echo "$as_me: failed program was:" >&5
46213 sed 's/^/| /' conftest.$ac_ext >&5
46214
46215 glibcxx_cv_func_log10l_use=no
46216 fi
46217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46218       ac_ext=c
46219 ac_cpp='$CPP $CPPFLAGS'
46220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46223
46224
46225 fi
46226
46227   fi
46228   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
46229 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
46230
46231   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46232
46233 for ac_func in log10l
46234 do
46235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46236 echo "$as_me:$LINENO: checking for $ac_func" >&5
46237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46238 if eval "test \"\${$as_ac_var+set}\" = set"; then
46239   echo $ECHO_N "(cached) $ECHO_C" >&6
46240 else
46241   if test x$gcc_no_link = xyes; then
46242   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46244    { (exit 1); exit 1; }; }
46245 fi
46246 cat >conftest.$ac_ext <<_ACEOF
46247 /* confdefs.h.  */
46248 _ACEOF
46249 cat confdefs.h >>conftest.$ac_ext
46250 cat >>conftest.$ac_ext <<_ACEOF
46251 /* end confdefs.h.  */
46252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46253    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46254 #define $ac_func innocuous_$ac_func
46255
46256 /* System header to define __stub macros and hopefully few prototypes,
46257     which can conflict with char $ac_func (); below.
46258     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46259     <limits.h> exists even on freestanding compilers.  */
46260
46261 #ifdef __STDC__
46262 # include <limits.h>
46263 #else
46264 # include <assert.h>
46265 #endif
46266
46267 #undef $ac_func
46268
46269 /* Override any gcc2 internal prototype to avoid an error.  */
46270 #ifdef __cplusplus
46271 extern "C"
46272 {
46273 #endif
46274 /* We use char because int might match the return type of a gcc2
46275    builtin and then its argument prototype would still apply.  */
46276 char $ac_func ();
46277 /* The GNU C library defines this for functions which it implements
46278     to always fail with ENOSYS.  Some functions are actually named
46279     something starting with __ and the normal name is an alias.  */
46280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46281 choke me
46282 #else
46283 char (*f) () = $ac_func;
46284 #endif
46285 #ifdef __cplusplus
46286 }
46287 #endif
46288
46289 int
46290 main ()
46291 {
46292 return f != $ac_func;
46293   ;
46294   return 0;
46295 }
46296 _ACEOF
46297 rm -f conftest.$ac_objext conftest$ac_exeext
46298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46299   (eval $ac_link) 2>conftest.er1
46300   ac_status=$?
46301   grep -v '^ *+' conftest.er1 >conftest.err
46302   rm -f conftest.er1
46303   cat conftest.err >&5
46304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46305   (exit $ac_status); } &&
46306          { ac_try='test -z "$ac_c_werror_flag"
46307                          || test ! -s conftest.err'
46308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46309   (eval $ac_try) 2>&5
46310   ac_status=$?
46311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46312   (exit $ac_status); }; } &&
46313          { ac_try='test -s conftest$ac_exeext'
46314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46315   (eval $ac_try) 2>&5
46316   ac_status=$?
46317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46318   (exit $ac_status); }; }; then
46319   eval "$as_ac_var=yes"
46320 else
46321   echo "$as_me: failed program was:" >&5
46322 sed 's/^/| /' conftest.$ac_ext >&5
46323
46324 eval "$as_ac_var=no"
46325 fi
46326 rm -f conftest.err conftest.$ac_objext \
46327       conftest$ac_exeext conftest.$ac_ext
46328 fi
46329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46331 if test `eval echo '${'$as_ac_var'}'` = yes; then
46332   cat >>confdefs.h <<_ACEOF
46333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46334 _ACEOF
46335
46336 fi
46337 done
46338
46339   else
46340
46341   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
46342 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
46343   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46344     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
46345   echo $ECHO_N "(cached) $ECHO_C" >&6
46346 else
46347
46348
46349
46350       ac_ext=cc
46351 ac_cpp='$CXXCPP $CPPFLAGS'
46352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46355
46356       cat >conftest.$ac_ext <<_ACEOF
46357 /* confdefs.h.  */
46358 _ACEOF
46359 cat confdefs.h >>conftest.$ac_ext
46360 cat >>conftest.$ac_ext <<_ACEOF
46361 /* end confdefs.h.  */
46362 #include <math.h>
46363                       #ifdef HAVE_IEEEFP_H
46364                       #include <ieeefp.h>
46365                       #endif
46366
46367 int
46368 main ()
46369 {
46370  _log10l(0);
46371   ;
46372   return 0;
46373 }
46374 _ACEOF
46375 rm -f conftest.$ac_objext
46376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46377   (eval $ac_compile) 2>conftest.er1
46378   ac_status=$?
46379   grep -v '^ *+' conftest.er1 >conftest.err
46380   rm -f conftest.er1
46381   cat conftest.err >&5
46382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46383   (exit $ac_status); } &&
46384          { ac_try='test -z "$ac_cxx_werror_flag"
46385                          || test ! -s conftest.err'
46386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46387   (eval $ac_try) 2>&5
46388   ac_status=$?
46389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46390   (exit $ac_status); }; } &&
46391          { ac_try='test -s conftest.$ac_objext'
46392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46393   (eval $ac_try) 2>&5
46394   ac_status=$?
46395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46396   (exit $ac_status); }; }; then
46397   glibcxx_cv_func__log10l_use=yes
46398 else
46399   echo "$as_me: failed program was:" >&5
46400 sed 's/^/| /' conftest.$ac_ext >&5
46401
46402 glibcxx_cv_func__log10l_use=no
46403 fi
46404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46405       ac_ext=c
46406 ac_cpp='$CPP $CPPFLAGS'
46407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46410
46411
46412 fi
46413
46414   fi
46415   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
46416 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
46417
46418     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46419
46420 for ac_func in _log10l
46421 do
46422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46423 echo "$as_me:$LINENO: checking for $ac_func" >&5
46424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46425 if eval "test \"\${$as_ac_var+set}\" = set"; then
46426   echo $ECHO_N "(cached) $ECHO_C" >&6
46427 else
46428   if test x$gcc_no_link = xyes; then
46429   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46431    { (exit 1); exit 1; }; }
46432 fi
46433 cat >conftest.$ac_ext <<_ACEOF
46434 /* confdefs.h.  */
46435 _ACEOF
46436 cat confdefs.h >>conftest.$ac_ext
46437 cat >>conftest.$ac_ext <<_ACEOF
46438 /* end confdefs.h.  */
46439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46440    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46441 #define $ac_func innocuous_$ac_func
46442
46443 /* System header to define __stub macros and hopefully few prototypes,
46444     which can conflict with char $ac_func (); below.
46445     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46446     <limits.h> exists even on freestanding compilers.  */
46447
46448 #ifdef __STDC__
46449 # include <limits.h>
46450 #else
46451 # include <assert.h>
46452 #endif
46453
46454 #undef $ac_func
46455
46456 /* Override any gcc2 internal prototype to avoid an error.  */
46457 #ifdef __cplusplus
46458 extern "C"
46459 {
46460 #endif
46461 /* We use char because int might match the return type of a gcc2
46462    builtin and then its argument prototype would still apply.  */
46463 char $ac_func ();
46464 /* The GNU C library defines this for functions which it implements
46465     to always fail with ENOSYS.  Some functions are actually named
46466     something starting with __ and the normal name is an alias.  */
46467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46468 choke me
46469 #else
46470 char (*f) () = $ac_func;
46471 #endif
46472 #ifdef __cplusplus
46473 }
46474 #endif
46475
46476 int
46477 main ()
46478 {
46479 return f != $ac_func;
46480   ;
46481   return 0;
46482 }
46483 _ACEOF
46484 rm -f conftest.$ac_objext conftest$ac_exeext
46485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46486   (eval $ac_link) 2>conftest.er1
46487   ac_status=$?
46488   grep -v '^ *+' conftest.er1 >conftest.err
46489   rm -f conftest.er1
46490   cat conftest.err >&5
46491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46492   (exit $ac_status); } &&
46493          { ac_try='test -z "$ac_c_werror_flag"
46494                          || test ! -s conftest.err'
46495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46496   (eval $ac_try) 2>&5
46497   ac_status=$?
46498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46499   (exit $ac_status); }; } &&
46500          { ac_try='test -s conftest$ac_exeext'
46501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46502   (eval $ac_try) 2>&5
46503   ac_status=$?
46504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46505   (exit $ac_status); }; }; then
46506   eval "$as_ac_var=yes"
46507 else
46508   echo "$as_me: failed program was:" >&5
46509 sed 's/^/| /' conftest.$ac_ext >&5
46510
46511 eval "$as_ac_var=no"
46512 fi
46513 rm -f conftest.err conftest.$ac_objext \
46514       conftest$ac_exeext conftest.$ac_ext
46515 fi
46516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46518 if test `eval echo '${'$as_ac_var'}'` = yes; then
46519   cat >>confdefs.h <<_ACEOF
46520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46521 _ACEOF
46522
46523 fi
46524 done
46525
46526     fi
46527   fi
46528
46529
46530
46531
46532
46533
46534   echo "$as_me:$LINENO: checking for modfl declaration" >&5
46535 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
46536   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46537     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
46538   echo $ECHO_N "(cached) $ECHO_C" >&6
46539 else
46540
46541
46542
46543       ac_ext=cc
46544 ac_cpp='$CXXCPP $CPPFLAGS'
46545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46548
46549       cat >conftest.$ac_ext <<_ACEOF
46550 /* confdefs.h.  */
46551 _ACEOF
46552 cat confdefs.h >>conftest.$ac_ext
46553 cat >>conftest.$ac_ext <<_ACEOF
46554 /* end confdefs.h.  */
46555 #include <math.h>
46556 int
46557 main ()
46558 {
46559  modfl(0, 0);
46560   ;
46561   return 0;
46562 }
46563 _ACEOF
46564 rm -f conftest.$ac_objext
46565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46566   (eval $ac_compile) 2>conftest.er1
46567   ac_status=$?
46568   grep -v '^ *+' conftest.er1 >conftest.err
46569   rm -f conftest.er1
46570   cat conftest.err >&5
46571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46572   (exit $ac_status); } &&
46573          { ac_try='test -z "$ac_cxx_werror_flag"
46574                          || test ! -s conftest.err'
46575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46576   (eval $ac_try) 2>&5
46577   ac_status=$?
46578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46579   (exit $ac_status); }; } &&
46580          { ac_try='test -s conftest.$ac_objext'
46581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46582   (eval $ac_try) 2>&5
46583   ac_status=$?
46584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46585   (exit $ac_status); }; }; then
46586   glibcxx_cv_func_modfl_use=yes
46587 else
46588   echo "$as_me: failed program was:" >&5
46589 sed 's/^/| /' conftest.$ac_ext >&5
46590
46591 glibcxx_cv_func_modfl_use=no
46592 fi
46593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46594       ac_ext=c
46595 ac_cpp='$CPP $CPPFLAGS'
46596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46599
46600
46601 fi
46602
46603   fi
46604   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
46605 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
46606
46607   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46608
46609 for ac_func in modfl
46610 do
46611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46612 echo "$as_me:$LINENO: checking for $ac_func" >&5
46613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46614 if eval "test \"\${$as_ac_var+set}\" = set"; then
46615   echo $ECHO_N "(cached) $ECHO_C" >&6
46616 else
46617   if test x$gcc_no_link = xyes; then
46618   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46620    { (exit 1); exit 1; }; }
46621 fi
46622 cat >conftest.$ac_ext <<_ACEOF
46623 /* confdefs.h.  */
46624 _ACEOF
46625 cat confdefs.h >>conftest.$ac_ext
46626 cat >>conftest.$ac_ext <<_ACEOF
46627 /* end confdefs.h.  */
46628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46629    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46630 #define $ac_func innocuous_$ac_func
46631
46632 /* System header to define __stub macros and hopefully few prototypes,
46633     which can conflict with char $ac_func (); below.
46634     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46635     <limits.h> exists even on freestanding compilers.  */
46636
46637 #ifdef __STDC__
46638 # include <limits.h>
46639 #else
46640 # include <assert.h>
46641 #endif
46642
46643 #undef $ac_func
46644
46645 /* Override any gcc2 internal prototype to avoid an error.  */
46646 #ifdef __cplusplus
46647 extern "C"
46648 {
46649 #endif
46650 /* We use char because int might match the return type of a gcc2
46651    builtin and then its argument prototype would still apply.  */
46652 char $ac_func ();
46653 /* The GNU C library defines this for functions which it implements
46654     to always fail with ENOSYS.  Some functions are actually named
46655     something starting with __ and the normal name is an alias.  */
46656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46657 choke me
46658 #else
46659 char (*f) () = $ac_func;
46660 #endif
46661 #ifdef __cplusplus
46662 }
46663 #endif
46664
46665 int
46666 main ()
46667 {
46668 return f != $ac_func;
46669   ;
46670   return 0;
46671 }
46672 _ACEOF
46673 rm -f conftest.$ac_objext conftest$ac_exeext
46674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46675   (eval $ac_link) 2>conftest.er1
46676   ac_status=$?
46677   grep -v '^ *+' conftest.er1 >conftest.err
46678   rm -f conftest.er1
46679   cat conftest.err >&5
46680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46681   (exit $ac_status); } &&
46682          { ac_try='test -z "$ac_c_werror_flag"
46683                          || test ! -s conftest.err'
46684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46685   (eval $ac_try) 2>&5
46686   ac_status=$?
46687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46688   (exit $ac_status); }; } &&
46689          { ac_try='test -s conftest$ac_exeext'
46690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46691   (eval $ac_try) 2>&5
46692   ac_status=$?
46693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46694   (exit $ac_status); }; }; then
46695   eval "$as_ac_var=yes"
46696 else
46697   echo "$as_me: failed program was:" >&5
46698 sed 's/^/| /' conftest.$ac_ext >&5
46699
46700 eval "$as_ac_var=no"
46701 fi
46702 rm -f conftest.err conftest.$ac_objext \
46703       conftest$ac_exeext conftest.$ac_ext
46704 fi
46705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46706 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46707 if test `eval echo '${'$as_ac_var'}'` = yes; then
46708   cat >>confdefs.h <<_ACEOF
46709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46710 _ACEOF
46711
46712 fi
46713 done
46714
46715   else
46716
46717   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
46718 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
46719   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46720     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
46721   echo $ECHO_N "(cached) $ECHO_C" >&6
46722 else
46723
46724
46725
46726       ac_ext=cc
46727 ac_cpp='$CXXCPP $CPPFLAGS'
46728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46731
46732       cat >conftest.$ac_ext <<_ACEOF
46733 /* confdefs.h.  */
46734 _ACEOF
46735 cat confdefs.h >>conftest.$ac_ext
46736 cat >>conftest.$ac_ext <<_ACEOF
46737 /* end confdefs.h.  */
46738 #include <math.h>
46739 int
46740 main ()
46741 {
46742  _modfl(0, 0);
46743   ;
46744   return 0;
46745 }
46746 _ACEOF
46747 rm -f conftest.$ac_objext
46748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46749   (eval $ac_compile) 2>conftest.er1
46750   ac_status=$?
46751   grep -v '^ *+' conftest.er1 >conftest.err
46752   rm -f conftest.er1
46753   cat conftest.err >&5
46754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46755   (exit $ac_status); } &&
46756          { ac_try='test -z "$ac_cxx_werror_flag"
46757                          || test ! -s conftest.err'
46758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46759   (eval $ac_try) 2>&5
46760   ac_status=$?
46761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46762   (exit $ac_status); }; } &&
46763          { ac_try='test -s conftest.$ac_objext'
46764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46765   (eval $ac_try) 2>&5
46766   ac_status=$?
46767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46768   (exit $ac_status); }; }; then
46769   glibcxx_cv_func__modfl_use=yes
46770 else
46771   echo "$as_me: failed program was:" >&5
46772 sed 's/^/| /' conftest.$ac_ext >&5
46773
46774 glibcxx_cv_func__modfl_use=no
46775 fi
46776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46777       ac_ext=c
46778 ac_cpp='$CPP $CPPFLAGS'
46779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46782
46783
46784 fi
46785
46786   fi
46787   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
46788 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
46789
46790     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46791
46792 for ac_func in _modfl
46793 do
46794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46795 echo "$as_me:$LINENO: checking for $ac_func" >&5
46796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46797 if eval "test \"\${$as_ac_var+set}\" = set"; then
46798   echo $ECHO_N "(cached) $ECHO_C" >&6
46799 else
46800   if test x$gcc_no_link = xyes; then
46801   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46803    { (exit 1); exit 1; }; }
46804 fi
46805 cat >conftest.$ac_ext <<_ACEOF
46806 /* confdefs.h.  */
46807 _ACEOF
46808 cat confdefs.h >>conftest.$ac_ext
46809 cat >>conftest.$ac_ext <<_ACEOF
46810 /* end confdefs.h.  */
46811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46812    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46813 #define $ac_func innocuous_$ac_func
46814
46815 /* System header to define __stub macros and hopefully few prototypes,
46816     which can conflict with char $ac_func (); below.
46817     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46818     <limits.h> exists even on freestanding compilers.  */
46819
46820 #ifdef __STDC__
46821 # include <limits.h>
46822 #else
46823 # include <assert.h>
46824 #endif
46825
46826 #undef $ac_func
46827
46828 /* Override any gcc2 internal prototype to avoid an error.  */
46829 #ifdef __cplusplus
46830 extern "C"
46831 {
46832 #endif
46833 /* We use char because int might match the return type of a gcc2
46834    builtin and then its argument prototype would still apply.  */
46835 char $ac_func ();
46836 /* The GNU C library defines this for functions which it implements
46837     to always fail with ENOSYS.  Some functions are actually named
46838     something starting with __ and the normal name is an alias.  */
46839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46840 choke me
46841 #else
46842 char (*f) () = $ac_func;
46843 #endif
46844 #ifdef __cplusplus
46845 }
46846 #endif
46847
46848 int
46849 main ()
46850 {
46851 return f != $ac_func;
46852   ;
46853   return 0;
46854 }
46855 _ACEOF
46856 rm -f conftest.$ac_objext conftest$ac_exeext
46857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46858   (eval $ac_link) 2>conftest.er1
46859   ac_status=$?
46860   grep -v '^ *+' conftest.er1 >conftest.err
46861   rm -f conftest.er1
46862   cat conftest.err >&5
46863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46864   (exit $ac_status); } &&
46865          { ac_try='test -z "$ac_c_werror_flag"
46866                          || test ! -s conftest.err'
46867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46868   (eval $ac_try) 2>&5
46869   ac_status=$?
46870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46871   (exit $ac_status); }; } &&
46872          { ac_try='test -s conftest$ac_exeext'
46873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46874   (eval $ac_try) 2>&5
46875   ac_status=$?
46876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46877   (exit $ac_status); }; }; then
46878   eval "$as_ac_var=yes"
46879 else
46880   echo "$as_me: failed program was:" >&5
46881 sed 's/^/| /' conftest.$ac_ext >&5
46882
46883 eval "$as_ac_var=no"
46884 fi
46885 rm -f conftest.err conftest.$ac_objext \
46886       conftest$ac_exeext conftest.$ac_ext
46887 fi
46888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46890 if test `eval echo '${'$as_ac_var'}'` = yes; then
46891   cat >>confdefs.h <<_ACEOF
46892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46893 _ACEOF
46894
46895 fi
46896 done
46897
46898     fi
46899   fi
46900
46901
46902
46903
46904
46905
46906   echo "$as_me:$LINENO: checking for powl declaration" >&5
46907 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
46908   if test x${glibcxx_cv_func_powl_use+set} != xset; then
46909     if test "${glibcxx_cv_func_powl_use+set}" = set; then
46910   echo $ECHO_N "(cached) $ECHO_C" >&6
46911 else
46912
46913
46914
46915       ac_ext=cc
46916 ac_cpp='$CXXCPP $CPPFLAGS'
46917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46920
46921       cat >conftest.$ac_ext <<_ACEOF
46922 /* confdefs.h.  */
46923 _ACEOF
46924 cat confdefs.h >>conftest.$ac_ext
46925 cat >>conftest.$ac_ext <<_ACEOF
46926 /* end confdefs.h.  */
46927 #include <math.h>
46928 int
46929 main ()
46930 {
46931  powl(0, 0);
46932   ;
46933   return 0;
46934 }
46935 _ACEOF
46936 rm -f conftest.$ac_objext
46937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46938   (eval $ac_compile) 2>conftest.er1
46939   ac_status=$?
46940   grep -v '^ *+' conftest.er1 >conftest.err
46941   rm -f conftest.er1
46942   cat conftest.err >&5
46943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46944   (exit $ac_status); } &&
46945          { ac_try='test -z "$ac_cxx_werror_flag"
46946                          || test ! -s conftest.err'
46947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46948   (eval $ac_try) 2>&5
46949   ac_status=$?
46950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46951   (exit $ac_status); }; } &&
46952          { ac_try='test -s conftest.$ac_objext'
46953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46954   (eval $ac_try) 2>&5
46955   ac_status=$?
46956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46957   (exit $ac_status); }; }; then
46958   glibcxx_cv_func_powl_use=yes
46959 else
46960   echo "$as_me: failed program was:" >&5
46961 sed 's/^/| /' conftest.$ac_ext >&5
46962
46963 glibcxx_cv_func_powl_use=no
46964 fi
46965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46966       ac_ext=c
46967 ac_cpp='$CPP $CPPFLAGS'
46968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46971
46972
46973 fi
46974
46975   fi
46976   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
46977 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
46978
46979   if test x$glibcxx_cv_func_powl_use = x"yes"; then
46980
46981 for ac_func in powl
46982 do
46983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46984 echo "$as_me:$LINENO: checking for $ac_func" >&5
46985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46986 if eval "test \"\${$as_ac_var+set}\" = set"; then
46987   echo $ECHO_N "(cached) $ECHO_C" >&6
46988 else
46989   if test x$gcc_no_link = xyes; then
46990   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46992    { (exit 1); exit 1; }; }
46993 fi
46994 cat >conftest.$ac_ext <<_ACEOF
46995 /* confdefs.h.  */
46996 _ACEOF
46997 cat confdefs.h >>conftest.$ac_ext
46998 cat >>conftest.$ac_ext <<_ACEOF
46999 /* end confdefs.h.  */
47000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47001    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47002 #define $ac_func innocuous_$ac_func
47003
47004 /* System header to define __stub macros and hopefully few prototypes,
47005     which can conflict with char $ac_func (); below.
47006     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47007     <limits.h> exists even on freestanding compilers.  */
47008
47009 #ifdef __STDC__
47010 # include <limits.h>
47011 #else
47012 # include <assert.h>
47013 #endif
47014
47015 #undef $ac_func
47016
47017 /* Override any gcc2 internal prototype to avoid an error.  */
47018 #ifdef __cplusplus
47019 extern "C"
47020 {
47021 #endif
47022 /* We use char because int might match the return type of a gcc2
47023    builtin and then its argument prototype would still apply.  */
47024 char $ac_func ();
47025 /* The GNU C library defines this for functions which it implements
47026     to always fail with ENOSYS.  Some functions are actually named
47027     something starting with __ and the normal name is an alias.  */
47028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47029 choke me
47030 #else
47031 char (*f) () = $ac_func;
47032 #endif
47033 #ifdef __cplusplus
47034 }
47035 #endif
47036
47037 int
47038 main ()
47039 {
47040 return f != $ac_func;
47041   ;
47042   return 0;
47043 }
47044 _ACEOF
47045 rm -f conftest.$ac_objext conftest$ac_exeext
47046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47047   (eval $ac_link) 2>conftest.er1
47048   ac_status=$?
47049   grep -v '^ *+' conftest.er1 >conftest.err
47050   rm -f conftest.er1
47051   cat conftest.err >&5
47052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47053   (exit $ac_status); } &&
47054          { ac_try='test -z "$ac_c_werror_flag"
47055                          || test ! -s conftest.err'
47056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47057   (eval $ac_try) 2>&5
47058   ac_status=$?
47059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47060   (exit $ac_status); }; } &&
47061          { ac_try='test -s conftest$ac_exeext'
47062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47063   (eval $ac_try) 2>&5
47064   ac_status=$?
47065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47066   (exit $ac_status); }; }; then
47067   eval "$as_ac_var=yes"
47068 else
47069   echo "$as_me: failed program was:" >&5
47070 sed 's/^/| /' conftest.$ac_ext >&5
47071
47072 eval "$as_ac_var=no"
47073 fi
47074 rm -f conftest.err conftest.$ac_objext \
47075       conftest$ac_exeext conftest.$ac_ext
47076 fi
47077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47079 if test `eval echo '${'$as_ac_var'}'` = yes; then
47080   cat >>confdefs.h <<_ACEOF
47081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47082 _ACEOF
47083
47084 fi
47085 done
47086
47087   else
47088
47089   echo "$as_me:$LINENO: checking for _powl declaration" >&5
47090 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
47091   if test x${glibcxx_cv_func__powl_use+set} != xset; then
47092     if test "${glibcxx_cv_func__powl_use+set}" = set; then
47093   echo $ECHO_N "(cached) $ECHO_C" >&6
47094 else
47095
47096
47097
47098       ac_ext=cc
47099 ac_cpp='$CXXCPP $CPPFLAGS'
47100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47103
47104       cat >conftest.$ac_ext <<_ACEOF
47105 /* confdefs.h.  */
47106 _ACEOF
47107 cat confdefs.h >>conftest.$ac_ext
47108 cat >>conftest.$ac_ext <<_ACEOF
47109 /* end confdefs.h.  */
47110 #include <math.h>
47111 int
47112 main ()
47113 {
47114  _powl(0, 0);
47115   ;
47116   return 0;
47117 }
47118 _ACEOF
47119 rm -f conftest.$ac_objext
47120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47121   (eval $ac_compile) 2>conftest.er1
47122   ac_status=$?
47123   grep -v '^ *+' conftest.er1 >conftest.err
47124   rm -f conftest.er1
47125   cat conftest.err >&5
47126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47127   (exit $ac_status); } &&
47128          { ac_try='test -z "$ac_cxx_werror_flag"
47129                          || test ! -s conftest.err'
47130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47131   (eval $ac_try) 2>&5
47132   ac_status=$?
47133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47134   (exit $ac_status); }; } &&
47135          { ac_try='test -s conftest.$ac_objext'
47136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47137   (eval $ac_try) 2>&5
47138   ac_status=$?
47139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47140   (exit $ac_status); }; }; then
47141   glibcxx_cv_func__powl_use=yes
47142 else
47143   echo "$as_me: failed program was:" >&5
47144 sed 's/^/| /' conftest.$ac_ext >&5
47145
47146 glibcxx_cv_func__powl_use=no
47147 fi
47148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47149       ac_ext=c
47150 ac_cpp='$CPP $CPPFLAGS'
47151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47154
47155
47156 fi
47157
47158   fi
47159   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
47160 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
47161
47162     if test x$glibcxx_cv_func__powl_use = x"yes"; then
47163
47164 for ac_func in _powl
47165 do
47166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47167 echo "$as_me:$LINENO: checking for $ac_func" >&5
47168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47169 if eval "test \"\${$as_ac_var+set}\" = set"; then
47170   echo $ECHO_N "(cached) $ECHO_C" >&6
47171 else
47172   if test x$gcc_no_link = xyes; then
47173   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47175    { (exit 1); exit 1; }; }
47176 fi
47177 cat >conftest.$ac_ext <<_ACEOF
47178 /* confdefs.h.  */
47179 _ACEOF
47180 cat confdefs.h >>conftest.$ac_ext
47181 cat >>conftest.$ac_ext <<_ACEOF
47182 /* end confdefs.h.  */
47183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47184    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47185 #define $ac_func innocuous_$ac_func
47186
47187 /* System header to define __stub macros and hopefully few prototypes,
47188     which can conflict with char $ac_func (); below.
47189     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47190     <limits.h> exists even on freestanding compilers.  */
47191
47192 #ifdef __STDC__
47193 # include <limits.h>
47194 #else
47195 # include <assert.h>
47196 #endif
47197
47198 #undef $ac_func
47199
47200 /* Override any gcc2 internal prototype to avoid an error.  */
47201 #ifdef __cplusplus
47202 extern "C"
47203 {
47204 #endif
47205 /* We use char because int might match the return type of a gcc2
47206    builtin and then its argument prototype would still apply.  */
47207 char $ac_func ();
47208 /* The GNU C library defines this for functions which it implements
47209     to always fail with ENOSYS.  Some functions are actually named
47210     something starting with __ and the normal name is an alias.  */
47211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47212 choke me
47213 #else
47214 char (*f) () = $ac_func;
47215 #endif
47216 #ifdef __cplusplus
47217 }
47218 #endif
47219
47220 int
47221 main ()
47222 {
47223 return f != $ac_func;
47224   ;
47225   return 0;
47226 }
47227 _ACEOF
47228 rm -f conftest.$ac_objext conftest$ac_exeext
47229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47230   (eval $ac_link) 2>conftest.er1
47231   ac_status=$?
47232   grep -v '^ *+' conftest.er1 >conftest.err
47233   rm -f conftest.er1
47234   cat conftest.err >&5
47235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47236   (exit $ac_status); } &&
47237          { ac_try='test -z "$ac_c_werror_flag"
47238                          || test ! -s conftest.err'
47239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47240   (eval $ac_try) 2>&5
47241   ac_status=$?
47242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47243   (exit $ac_status); }; } &&
47244          { ac_try='test -s conftest$ac_exeext'
47245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47246   (eval $ac_try) 2>&5
47247   ac_status=$?
47248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47249   (exit $ac_status); }; }; then
47250   eval "$as_ac_var=yes"
47251 else
47252   echo "$as_me: failed program was:" >&5
47253 sed 's/^/| /' conftest.$ac_ext >&5
47254
47255 eval "$as_ac_var=no"
47256 fi
47257 rm -f conftest.err conftest.$ac_objext \
47258       conftest$ac_exeext conftest.$ac_ext
47259 fi
47260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47262 if test `eval echo '${'$as_ac_var'}'` = yes; then
47263   cat >>confdefs.h <<_ACEOF
47264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47265 _ACEOF
47266
47267 fi
47268 done
47269
47270     fi
47271   fi
47272
47273
47274
47275
47276
47277
47278   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
47279 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
47280   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
47281     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
47282   echo $ECHO_N "(cached) $ECHO_C" >&6
47283 else
47284
47285
47286
47287       ac_ext=cc
47288 ac_cpp='$CXXCPP $CPPFLAGS'
47289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47292
47293       cat >conftest.$ac_ext <<_ACEOF
47294 /* confdefs.h.  */
47295 _ACEOF
47296 cat confdefs.h >>conftest.$ac_ext
47297 cat >>conftest.$ac_ext <<_ACEOF
47298 /* end confdefs.h.  */
47299 #include <math.h>
47300                       #ifdef HAVE_IEEEFP_H
47301                       #include <ieeefp.h>
47302                       #endif
47303
47304 int
47305 main ()
47306 {
47307  sqrtl(0);
47308   ;
47309   return 0;
47310 }
47311 _ACEOF
47312 rm -f conftest.$ac_objext
47313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47314   (eval $ac_compile) 2>conftest.er1
47315   ac_status=$?
47316   grep -v '^ *+' conftest.er1 >conftest.err
47317   rm -f conftest.er1
47318   cat conftest.err >&5
47319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47320   (exit $ac_status); } &&
47321          { ac_try='test -z "$ac_cxx_werror_flag"
47322                          || test ! -s conftest.err'
47323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47324   (eval $ac_try) 2>&5
47325   ac_status=$?
47326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47327   (exit $ac_status); }; } &&
47328          { ac_try='test -s conftest.$ac_objext'
47329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47330   (eval $ac_try) 2>&5
47331   ac_status=$?
47332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47333   (exit $ac_status); }; }; then
47334   glibcxx_cv_func_sqrtl_use=yes
47335 else
47336   echo "$as_me: failed program was:" >&5
47337 sed 's/^/| /' conftest.$ac_ext >&5
47338
47339 glibcxx_cv_func_sqrtl_use=no
47340 fi
47341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47342       ac_ext=c
47343 ac_cpp='$CPP $CPPFLAGS'
47344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47347
47348
47349 fi
47350
47351   fi
47352   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
47353 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
47354
47355   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
47356
47357 for ac_func in sqrtl
47358 do
47359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47360 echo "$as_me:$LINENO: checking for $ac_func" >&5
47361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47362 if eval "test \"\${$as_ac_var+set}\" = set"; then
47363   echo $ECHO_N "(cached) $ECHO_C" >&6
47364 else
47365   if test x$gcc_no_link = xyes; then
47366   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47368    { (exit 1); exit 1; }; }
47369 fi
47370 cat >conftest.$ac_ext <<_ACEOF
47371 /* confdefs.h.  */
47372 _ACEOF
47373 cat confdefs.h >>conftest.$ac_ext
47374 cat >>conftest.$ac_ext <<_ACEOF
47375 /* end confdefs.h.  */
47376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47377    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47378 #define $ac_func innocuous_$ac_func
47379
47380 /* System header to define __stub macros and hopefully few prototypes,
47381     which can conflict with char $ac_func (); below.
47382     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47383     <limits.h> exists even on freestanding compilers.  */
47384
47385 #ifdef __STDC__
47386 # include <limits.h>
47387 #else
47388 # include <assert.h>
47389 #endif
47390
47391 #undef $ac_func
47392
47393 /* Override any gcc2 internal prototype to avoid an error.  */
47394 #ifdef __cplusplus
47395 extern "C"
47396 {
47397 #endif
47398 /* We use char because int might match the return type of a gcc2
47399    builtin and then its argument prototype would still apply.  */
47400 char $ac_func ();
47401 /* The GNU C library defines this for functions which it implements
47402     to always fail with ENOSYS.  Some functions are actually named
47403     something starting with __ and the normal name is an alias.  */
47404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47405 choke me
47406 #else
47407 char (*f) () = $ac_func;
47408 #endif
47409 #ifdef __cplusplus
47410 }
47411 #endif
47412
47413 int
47414 main ()
47415 {
47416 return f != $ac_func;
47417   ;
47418   return 0;
47419 }
47420 _ACEOF
47421 rm -f conftest.$ac_objext conftest$ac_exeext
47422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47423   (eval $ac_link) 2>conftest.er1
47424   ac_status=$?
47425   grep -v '^ *+' conftest.er1 >conftest.err
47426   rm -f conftest.er1
47427   cat conftest.err >&5
47428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47429   (exit $ac_status); } &&
47430          { ac_try='test -z "$ac_c_werror_flag"
47431                          || test ! -s conftest.err'
47432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47433   (eval $ac_try) 2>&5
47434   ac_status=$?
47435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47436   (exit $ac_status); }; } &&
47437          { ac_try='test -s conftest$ac_exeext'
47438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47439   (eval $ac_try) 2>&5
47440   ac_status=$?
47441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47442   (exit $ac_status); }; }; then
47443   eval "$as_ac_var=yes"
47444 else
47445   echo "$as_me: failed program was:" >&5
47446 sed 's/^/| /' conftest.$ac_ext >&5
47447
47448 eval "$as_ac_var=no"
47449 fi
47450 rm -f conftest.err conftest.$ac_objext \
47451       conftest$ac_exeext conftest.$ac_ext
47452 fi
47453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47455 if test `eval echo '${'$as_ac_var'}'` = yes; then
47456   cat >>confdefs.h <<_ACEOF
47457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47458 _ACEOF
47459
47460 fi
47461 done
47462
47463   else
47464
47465   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
47466 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
47467   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
47468     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
47469   echo $ECHO_N "(cached) $ECHO_C" >&6
47470 else
47471
47472
47473
47474       ac_ext=cc
47475 ac_cpp='$CXXCPP $CPPFLAGS'
47476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47479
47480       cat >conftest.$ac_ext <<_ACEOF
47481 /* confdefs.h.  */
47482 _ACEOF
47483 cat confdefs.h >>conftest.$ac_ext
47484 cat >>conftest.$ac_ext <<_ACEOF
47485 /* end confdefs.h.  */
47486 #include <math.h>
47487                       #ifdef HAVE_IEEEFP_H
47488                       #include <ieeefp.h>
47489                       #endif
47490
47491 int
47492 main ()
47493 {
47494  _sqrtl(0);
47495   ;
47496   return 0;
47497 }
47498 _ACEOF
47499 rm -f conftest.$ac_objext
47500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47501   (eval $ac_compile) 2>conftest.er1
47502   ac_status=$?
47503   grep -v '^ *+' conftest.er1 >conftest.err
47504   rm -f conftest.er1
47505   cat conftest.err >&5
47506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47507   (exit $ac_status); } &&
47508          { ac_try='test -z "$ac_cxx_werror_flag"
47509                          || test ! -s conftest.err'
47510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47511   (eval $ac_try) 2>&5
47512   ac_status=$?
47513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47514   (exit $ac_status); }; } &&
47515          { ac_try='test -s conftest.$ac_objext'
47516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47517   (eval $ac_try) 2>&5
47518   ac_status=$?
47519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47520   (exit $ac_status); }; }; then
47521   glibcxx_cv_func__sqrtl_use=yes
47522 else
47523   echo "$as_me: failed program was:" >&5
47524 sed 's/^/| /' conftest.$ac_ext >&5
47525
47526 glibcxx_cv_func__sqrtl_use=no
47527 fi
47528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47529       ac_ext=c
47530 ac_cpp='$CPP $CPPFLAGS'
47531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47534
47535
47536 fi
47537
47538   fi
47539   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
47540 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
47541
47542     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
47543
47544 for ac_func in _sqrtl
47545 do
47546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47547 echo "$as_me:$LINENO: checking for $ac_func" >&5
47548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47549 if eval "test \"\${$as_ac_var+set}\" = set"; then
47550   echo $ECHO_N "(cached) $ECHO_C" >&6
47551 else
47552   if test x$gcc_no_link = xyes; then
47553   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47555    { (exit 1); exit 1; }; }
47556 fi
47557 cat >conftest.$ac_ext <<_ACEOF
47558 /* confdefs.h.  */
47559 _ACEOF
47560 cat confdefs.h >>conftest.$ac_ext
47561 cat >>conftest.$ac_ext <<_ACEOF
47562 /* end confdefs.h.  */
47563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47564    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47565 #define $ac_func innocuous_$ac_func
47566
47567 /* System header to define __stub macros and hopefully few prototypes,
47568     which can conflict with char $ac_func (); below.
47569     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47570     <limits.h> exists even on freestanding compilers.  */
47571
47572 #ifdef __STDC__
47573 # include <limits.h>
47574 #else
47575 # include <assert.h>
47576 #endif
47577
47578 #undef $ac_func
47579
47580 /* Override any gcc2 internal prototype to avoid an error.  */
47581 #ifdef __cplusplus
47582 extern "C"
47583 {
47584 #endif
47585 /* We use char because int might match the return type of a gcc2
47586    builtin and then its argument prototype would still apply.  */
47587 char $ac_func ();
47588 /* The GNU C library defines this for functions which it implements
47589     to always fail with ENOSYS.  Some functions are actually named
47590     something starting with __ and the normal name is an alias.  */
47591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47592 choke me
47593 #else
47594 char (*f) () = $ac_func;
47595 #endif
47596 #ifdef __cplusplus
47597 }
47598 #endif
47599
47600 int
47601 main ()
47602 {
47603 return f != $ac_func;
47604   ;
47605   return 0;
47606 }
47607 _ACEOF
47608 rm -f conftest.$ac_objext conftest$ac_exeext
47609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47610   (eval $ac_link) 2>conftest.er1
47611   ac_status=$?
47612   grep -v '^ *+' conftest.er1 >conftest.err
47613   rm -f conftest.er1
47614   cat conftest.err >&5
47615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47616   (exit $ac_status); } &&
47617          { ac_try='test -z "$ac_c_werror_flag"
47618                          || test ! -s conftest.err'
47619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47620   (eval $ac_try) 2>&5
47621   ac_status=$?
47622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47623   (exit $ac_status); }; } &&
47624          { ac_try='test -s conftest$ac_exeext'
47625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47626   (eval $ac_try) 2>&5
47627   ac_status=$?
47628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47629   (exit $ac_status); }; }; then
47630   eval "$as_ac_var=yes"
47631 else
47632   echo "$as_me: failed program was:" >&5
47633 sed 's/^/| /' conftest.$ac_ext >&5
47634
47635 eval "$as_ac_var=no"
47636 fi
47637 rm -f conftest.err conftest.$ac_objext \
47638       conftest$ac_exeext conftest.$ac_ext
47639 fi
47640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47642 if test `eval echo '${'$as_ac_var'}'` = yes; then
47643   cat >>confdefs.h <<_ACEOF
47644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47645 _ACEOF
47646
47647 fi
47648 done
47649
47650     fi
47651   fi
47652
47653
47654
47655
47656
47657
47658   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
47659 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
47660   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
47661     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
47662   echo $ECHO_N "(cached) $ECHO_C" >&6
47663 else
47664
47665
47666
47667       ac_ext=cc
47668 ac_cpp='$CXXCPP $CPPFLAGS'
47669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47672
47673       cat >conftest.$ac_ext <<_ACEOF
47674 /* confdefs.h.  */
47675 _ACEOF
47676 cat confdefs.h >>conftest.$ac_ext
47677 cat >>conftest.$ac_ext <<_ACEOF
47678 /* end confdefs.h.  */
47679 #include <math.h>
47680 int
47681 main ()
47682 {
47683  sincosl(0, 0, 0);
47684   ;
47685   return 0;
47686 }
47687 _ACEOF
47688 rm -f conftest.$ac_objext
47689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47690   (eval $ac_compile) 2>conftest.er1
47691   ac_status=$?
47692   grep -v '^ *+' conftest.er1 >conftest.err
47693   rm -f conftest.er1
47694   cat conftest.err >&5
47695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47696   (exit $ac_status); } &&
47697          { ac_try='test -z "$ac_cxx_werror_flag"
47698                          || test ! -s conftest.err'
47699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47700   (eval $ac_try) 2>&5
47701   ac_status=$?
47702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47703   (exit $ac_status); }; } &&
47704          { ac_try='test -s conftest.$ac_objext'
47705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47706   (eval $ac_try) 2>&5
47707   ac_status=$?
47708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47709   (exit $ac_status); }; }; then
47710   glibcxx_cv_func_sincosl_use=yes
47711 else
47712   echo "$as_me: failed program was:" >&5
47713 sed 's/^/| /' conftest.$ac_ext >&5
47714
47715 glibcxx_cv_func_sincosl_use=no
47716 fi
47717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47718       ac_ext=c
47719 ac_cpp='$CPP $CPPFLAGS'
47720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47723
47724
47725 fi
47726
47727   fi
47728   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
47729 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
47730
47731   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
47732
47733 for ac_func in sincosl
47734 do
47735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47736 echo "$as_me:$LINENO: checking for $ac_func" >&5
47737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47738 if eval "test \"\${$as_ac_var+set}\" = set"; then
47739   echo $ECHO_N "(cached) $ECHO_C" >&6
47740 else
47741   if test x$gcc_no_link = xyes; then
47742   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47744    { (exit 1); exit 1; }; }
47745 fi
47746 cat >conftest.$ac_ext <<_ACEOF
47747 /* confdefs.h.  */
47748 _ACEOF
47749 cat confdefs.h >>conftest.$ac_ext
47750 cat >>conftest.$ac_ext <<_ACEOF
47751 /* end confdefs.h.  */
47752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47753    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47754 #define $ac_func innocuous_$ac_func
47755
47756 /* System header to define __stub macros and hopefully few prototypes,
47757     which can conflict with char $ac_func (); below.
47758     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47759     <limits.h> exists even on freestanding compilers.  */
47760
47761 #ifdef __STDC__
47762 # include <limits.h>
47763 #else
47764 # include <assert.h>
47765 #endif
47766
47767 #undef $ac_func
47768
47769 /* Override any gcc2 internal prototype to avoid an error.  */
47770 #ifdef __cplusplus
47771 extern "C"
47772 {
47773 #endif
47774 /* We use char because int might match the return type of a gcc2
47775    builtin and then its argument prototype would still apply.  */
47776 char $ac_func ();
47777 /* The GNU C library defines this for functions which it implements
47778     to always fail with ENOSYS.  Some functions are actually named
47779     something starting with __ and the normal name is an alias.  */
47780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47781 choke me
47782 #else
47783 char (*f) () = $ac_func;
47784 #endif
47785 #ifdef __cplusplus
47786 }
47787 #endif
47788
47789 int
47790 main ()
47791 {
47792 return f != $ac_func;
47793   ;
47794   return 0;
47795 }
47796 _ACEOF
47797 rm -f conftest.$ac_objext conftest$ac_exeext
47798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47799   (eval $ac_link) 2>conftest.er1
47800   ac_status=$?
47801   grep -v '^ *+' conftest.er1 >conftest.err
47802   rm -f conftest.er1
47803   cat conftest.err >&5
47804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47805   (exit $ac_status); } &&
47806          { ac_try='test -z "$ac_c_werror_flag"
47807                          || test ! -s conftest.err'
47808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47809   (eval $ac_try) 2>&5
47810   ac_status=$?
47811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47812   (exit $ac_status); }; } &&
47813          { ac_try='test -s conftest$ac_exeext'
47814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47815   (eval $ac_try) 2>&5
47816   ac_status=$?
47817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47818   (exit $ac_status); }; }; then
47819   eval "$as_ac_var=yes"
47820 else
47821   echo "$as_me: failed program was:" >&5
47822 sed 's/^/| /' conftest.$ac_ext >&5
47823
47824 eval "$as_ac_var=no"
47825 fi
47826 rm -f conftest.err conftest.$ac_objext \
47827       conftest$ac_exeext conftest.$ac_ext
47828 fi
47829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47831 if test `eval echo '${'$as_ac_var'}'` = yes; then
47832   cat >>confdefs.h <<_ACEOF
47833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47834 _ACEOF
47835
47836 fi
47837 done
47838
47839   else
47840
47841   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
47842 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
47843   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
47844     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
47845   echo $ECHO_N "(cached) $ECHO_C" >&6
47846 else
47847
47848
47849
47850       ac_ext=cc
47851 ac_cpp='$CXXCPP $CPPFLAGS'
47852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47855
47856       cat >conftest.$ac_ext <<_ACEOF
47857 /* confdefs.h.  */
47858 _ACEOF
47859 cat confdefs.h >>conftest.$ac_ext
47860 cat >>conftest.$ac_ext <<_ACEOF
47861 /* end confdefs.h.  */
47862 #include <math.h>
47863 int
47864 main ()
47865 {
47866  _sincosl(0, 0, 0);
47867   ;
47868   return 0;
47869 }
47870 _ACEOF
47871 rm -f conftest.$ac_objext
47872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47873   (eval $ac_compile) 2>conftest.er1
47874   ac_status=$?
47875   grep -v '^ *+' conftest.er1 >conftest.err
47876   rm -f conftest.er1
47877   cat conftest.err >&5
47878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47879   (exit $ac_status); } &&
47880          { ac_try='test -z "$ac_cxx_werror_flag"
47881                          || test ! -s conftest.err'
47882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47883   (eval $ac_try) 2>&5
47884   ac_status=$?
47885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47886   (exit $ac_status); }; } &&
47887          { ac_try='test -s conftest.$ac_objext'
47888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47889   (eval $ac_try) 2>&5
47890   ac_status=$?
47891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47892   (exit $ac_status); }; }; then
47893   glibcxx_cv_func__sincosl_use=yes
47894 else
47895   echo "$as_me: failed program was:" >&5
47896 sed 's/^/| /' conftest.$ac_ext >&5
47897
47898 glibcxx_cv_func__sincosl_use=no
47899 fi
47900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47901       ac_ext=c
47902 ac_cpp='$CPP $CPPFLAGS'
47903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47906
47907
47908 fi
47909
47910   fi
47911   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
47912 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
47913
47914     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
47915
47916 for ac_func in _sincosl
47917 do
47918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47919 echo "$as_me:$LINENO: checking for $ac_func" >&5
47920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47921 if eval "test \"\${$as_ac_var+set}\" = set"; then
47922   echo $ECHO_N "(cached) $ECHO_C" >&6
47923 else
47924   if test x$gcc_no_link = xyes; then
47925   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47927    { (exit 1); exit 1; }; }
47928 fi
47929 cat >conftest.$ac_ext <<_ACEOF
47930 /* confdefs.h.  */
47931 _ACEOF
47932 cat confdefs.h >>conftest.$ac_ext
47933 cat >>conftest.$ac_ext <<_ACEOF
47934 /* end confdefs.h.  */
47935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47936    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47937 #define $ac_func innocuous_$ac_func
47938
47939 /* System header to define __stub macros and hopefully few prototypes,
47940     which can conflict with char $ac_func (); below.
47941     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47942     <limits.h> exists even on freestanding compilers.  */
47943
47944 #ifdef __STDC__
47945 # include <limits.h>
47946 #else
47947 # include <assert.h>
47948 #endif
47949
47950 #undef $ac_func
47951
47952 /* Override any gcc2 internal prototype to avoid an error.  */
47953 #ifdef __cplusplus
47954 extern "C"
47955 {
47956 #endif
47957 /* We use char because int might match the return type of a gcc2
47958    builtin and then its argument prototype would still apply.  */
47959 char $ac_func ();
47960 /* The GNU C library defines this for functions which it implements
47961     to always fail with ENOSYS.  Some functions are actually named
47962     something starting with __ and the normal name is an alias.  */
47963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47964 choke me
47965 #else
47966 char (*f) () = $ac_func;
47967 #endif
47968 #ifdef __cplusplus
47969 }
47970 #endif
47971
47972 int
47973 main ()
47974 {
47975 return f != $ac_func;
47976   ;
47977   return 0;
47978 }
47979 _ACEOF
47980 rm -f conftest.$ac_objext conftest$ac_exeext
47981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47982   (eval $ac_link) 2>conftest.er1
47983   ac_status=$?
47984   grep -v '^ *+' conftest.er1 >conftest.err
47985   rm -f conftest.er1
47986   cat conftest.err >&5
47987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47988   (exit $ac_status); } &&
47989          { ac_try='test -z "$ac_c_werror_flag"
47990                          || test ! -s conftest.err'
47991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47992   (eval $ac_try) 2>&5
47993   ac_status=$?
47994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47995   (exit $ac_status); }; } &&
47996          { ac_try='test -s conftest$ac_exeext'
47997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47998   (eval $ac_try) 2>&5
47999   ac_status=$?
48000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48001   (exit $ac_status); }; }; then
48002   eval "$as_ac_var=yes"
48003 else
48004   echo "$as_me: failed program was:" >&5
48005 sed 's/^/| /' conftest.$ac_ext >&5
48006
48007 eval "$as_ac_var=no"
48008 fi
48009 rm -f conftest.err conftest.$ac_objext \
48010       conftest$ac_exeext conftest.$ac_ext
48011 fi
48012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48014 if test `eval echo '${'$as_ac_var'}'` = yes; then
48015   cat >>confdefs.h <<_ACEOF
48016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48017 _ACEOF
48018
48019 fi
48020 done
48021
48022     fi
48023   fi
48024
48025
48026
48027
48028
48029
48030   echo "$as_me:$LINENO: checking for finitel declaration" >&5
48031 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
48032   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
48033     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
48034   echo $ECHO_N "(cached) $ECHO_C" >&6
48035 else
48036
48037
48038
48039       ac_ext=cc
48040 ac_cpp='$CXXCPP $CPPFLAGS'
48041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48044
48045       cat >conftest.$ac_ext <<_ACEOF
48046 /* confdefs.h.  */
48047 _ACEOF
48048 cat confdefs.h >>conftest.$ac_ext
48049 cat >>conftest.$ac_ext <<_ACEOF
48050 /* end confdefs.h.  */
48051 #include <math.h>
48052                       #ifdef HAVE_IEEEFP_H
48053                       #include <ieeefp.h>
48054                       #endif
48055
48056 int
48057 main ()
48058 {
48059  finitel(0);
48060   ;
48061   return 0;
48062 }
48063 _ACEOF
48064 rm -f conftest.$ac_objext
48065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48066   (eval $ac_compile) 2>conftest.er1
48067   ac_status=$?
48068   grep -v '^ *+' conftest.er1 >conftest.err
48069   rm -f conftest.er1
48070   cat conftest.err >&5
48071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48072   (exit $ac_status); } &&
48073          { ac_try='test -z "$ac_cxx_werror_flag"
48074                          || test ! -s conftest.err'
48075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48076   (eval $ac_try) 2>&5
48077   ac_status=$?
48078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48079   (exit $ac_status); }; } &&
48080          { ac_try='test -s conftest.$ac_objext'
48081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48082   (eval $ac_try) 2>&5
48083   ac_status=$?
48084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48085   (exit $ac_status); }; }; then
48086   glibcxx_cv_func_finitel_use=yes
48087 else
48088   echo "$as_me: failed program was:" >&5
48089 sed 's/^/| /' conftest.$ac_ext >&5
48090
48091 glibcxx_cv_func_finitel_use=no
48092 fi
48093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48094       ac_ext=c
48095 ac_cpp='$CPP $CPPFLAGS'
48096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48099
48100
48101 fi
48102
48103   fi
48104   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
48105 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
48106
48107   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
48108
48109 for ac_func in finitel
48110 do
48111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48112 echo "$as_me:$LINENO: checking for $ac_func" >&5
48113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48114 if eval "test \"\${$as_ac_var+set}\" = set"; then
48115   echo $ECHO_N "(cached) $ECHO_C" >&6
48116 else
48117   if test x$gcc_no_link = xyes; then
48118   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48120    { (exit 1); exit 1; }; }
48121 fi
48122 cat >conftest.$ac_ext <<_ACEOF
48123 /* confdefs.h.  */
48124 _ACEOF
48125 cat confdefs.h >>conftest.$ac_ext
48126 cat >>conftest.$ac_ext <<_ACEOF
48127 /* end confdefs.h.  */
48128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48129    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48130 #define $ac_func innocuous_$ac_func
48131
48132 /* System header to define __stub macros and hopefully few prototypes,
48133     which can conflict with char $ac_func (); below.
48134     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48135     <limits.h> exists even on freestanding compilers.  */
48136
48137 #ifdef __STDC__
48138 # include <limits.h>
48139 #else
48140 # include <assert.h>
48141 #endif
48142
48143 #undef $ac_func
48144
48145 /* Override any gcc2 internal prototype to avoid an error.  */
48146 #ifdef __cplusplus
48147 extern "C"
48148 {
48149 #endif
48150 /* We use char because int might match the return type of a gcc2
48151    builtin and then its argument prototype would still apply.  */
48152 char $ac_func ();
48153 /* The GNU C library defines this for functions which it implements
48154     to always fail with ENOSYS.  Some functions are actually named
48155     something starting with __ and the normal name is an alias.  */
48156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48157 choke me
48158 #else
48159 char (*f) () = $ac_func;
48160 #endif
48161 #ifdef __cplusplus
48162 }
48163 #endif
48164
48165 int
48166 main ()
48167 {
48168 return f != $ac_func;
48169   ;
48170   return 0;
48171 }
48172 _ACEOF
48173 rm -f conftest.$ac_objext conftest$ac_exeext
48174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48175   (eval $ac_link) 2>conftest.er1
48176   ac_status=$?
48177   grep -v '^ *+' conftest.er1 >conftest.err
48178   rm -f conftest.er1
48179   cat conftest.err >&5
48180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48181   (exit $ac_status); } &&
48182          { ac_try='test -z "$ac_c_werror_flag"
48183                          || test ! -s conftest.err'
48184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48185   (eval $ac_try) 2>&5
48186   ac_status=$?
48187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48188   (exit $ac_status); }; } &&
48189          { ac_try='test -s conftest$ac_exeext'
48190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48191   (eval $ac_try) 2>&5
48192   ac_status=$?
48193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48194   (exit $ac_status); }; }; then
48195   eval "$as_ac_var=yes"
48196 else
48197   echo "$as_me: failed program was:" >&5
48198 sed 's/^/| /' conftest.$ac_ext >&5
48199
48200 eval "$as_ac_var=no"
48201 fi
48202 rm -f conftest.err conftest.$ac_objext \
48203       conftest$ac_exeext conftest.$ac_ext
48204 fi
48205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48207 if test `eval echo '${'$as_ac_var'}'` = yes; then
48208   cat >>confdefs.h <<_ACEOF
48209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48210 _ACEOF
48211
48212 fi
48213 done
48214
48215   else
48216
48217   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
48218 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
48219   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
48220     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
48221   echo $ECHO_N "(cached) $ECHO_C" >&6
48222 else
48223
48224
48225
48226       ac_ext=cc
48227 ac_cpp='$CXXCPP $CPPFLAGS'
48228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48231
48232       cat >conftest.$ac_ext <<_ACEOF
48233 /* confdefs.h.  */
48234 _ACEOF
48235 cat confdefs.h >>conftest.$ac_ext
48236 cat >>conftest.$ac_ext <<_ACEOF
48237 /* end confdefs.h.  */
48238 #include <math.h>
48239                       #ifdef HAVE_IEEEFP_H
48240                       #include <ieeefp.h>
48241                       #endif
48242
48243 int
48244 main ()
48245 {
48246  _finitel(0);
48247   ;
48248   return 0;
48249 }
48250 _ACEOF
48251 rm -f conftest.$ac_objext
48252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48253   (eval $ac_compile) 2>conftest.er1
48254   ac_status=$?
48255   grep -v '^ *+' conftest.er1 >conftest.err
48256   rm -f conftest.er1
48257   cat conftest.err >&5
48258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48259   (exit $ac_status); } &&
48260          { ac_try='test -z "$ac_cxx_werror_flag"
48261                          || test ! -s conftest.err'
48262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48263   (eval $ac_try) 2>&5
48264   ac_status=$?
48265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48266   (exit $ac_status); }; } &&
48267          { ac_try='test -s conftest.$ac_objext'
48268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48269   (eval $ac_try) 2>&5
48270   ac_status=$?
48271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48272   (exit $ac_status); }; }; then
48273   glibcxx_cv_func__finitel_use=yes
48274 else
48275   echo "$as_me: failed program was:" >&5
48276 sed 's/^/| /' conftest.$ac_ext >&5
48277
48278 glibcxx_cv_func__finitel_use=no
48279 fi
48280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48281       ac_ext=c
48282 ac_cpp='$CPP $CPPFLAGS'
48283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48286
48287
48288 fi
48289
48290   fi
48291   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
48292 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
48293
48294     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
48295
48296 for ac_func in _finitel
48297 do
48298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48299 echo "$as_me:$LINENO: checking for $ac_func" >&5
48300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48301 if eval "test \"\${$as_ac_var+set}\" = set"; then
48302   echo $ECHO_N "(cached) $ECHO_C" >&6
48303 else
48304   if test x$gcc_no_link = xyes; then
48305   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48307    { (exit 1); exit 1; }; }
48308 fi
48309 cat >conftest.$ac_ext <<_ACEOF
48310 /* confdefs.h.  */
48311 _ACEOF
48312 cat confdefs.h >>conftest.$ac_ext
48313 cat >>conftest.$ac_ext <<_ACEOF
48314 /* end confdefs.h.  */
48315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48316    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48317 #define $ac_func innocuous_$ac_func
48318
48319 /* System header to define __stub macros and hopefully few prototypes,
48320     which can conflict with char $ac_func (); below.
48321     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48322     <limits.h> exists even on freestanding compilers.  */
48323
48324 #ifdef __STDC__
48325 # include <limits.h>
48326 #else
48327 # include <assert.h>
48328 #endif
48329
48330 #undef $ac_func
48331
48332 /* Override any gcc2 internal prototype to avoid an error.  */
48333 #ifdef __cplusplus
48334 extern "C"
48335 {
48336 #endif
48337 /* We use char because int might match the return type of a gcc2
48338    builtin and then its argument prototype would still apply.  */
48339 char $ac_func ();
48340 /* The GNU C library defines this for functions which it implements
48341     to always fail with ENOSYS.  Some functions are actually named
48342     something starting with __ and the normal name is an alias.  */
48343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48344 choke me
48345 #else
48346 char (*f) () = $ac_func;
48347 #endif
48348 #ifdef __cplusplus
48349 }
48350 #endif
48351
48352 int
48353 main ()
48354 {
48355 return f != $ac_func;
48356   ;
48357   return 0;
48358 }
48359 _ACEOF
48360 rm -f conftest.$ac_objext conftest$ac_exeext
48361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48362   (eval $ac_link) 2>conftest.er1
48363   ac_status=$?
48364   grep -v '^ *+' conftest.er1 >conftest.err
48365   rm -f conftest.er1
48366   cat conftest.err >&5
48367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48368   (exit $ac_status); } &&
48369          { ac_try='test -z "$ac_c_werror_flag"
48370                          || test ! -s conftest.err'
48371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48372   (eval $ac_try) 2>&5
48373   ac_status=$?
48374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48375   (exit $ac_status); }; } &&
48376          { ac_try='test -s conftest$ac_exeext'
48377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48378   (eval $ac_try) 2>&5
48379   ac_status=$?
48380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48381   (exit $ac_status); }; }; then
48382   eval "$as_ac_var=yes"
48383 else
48384   echo "$as_me: failed program was:" >&5
48385 sed 's/^/| /' conftest.$ac_ext >&5
48386
48387 eval "$as_ac_var=no"
48388 fi
48389 rm -f conftest.err conftest.$ac_objext \
48390       conftest$ac_exeext conftest.$ac_ext
48391 fi
48392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48394 if test `eval echo '${'$as_ac_var'}'` = yes; then
48395   cat >>confdefs.h <<_ACEOF
48396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48397 _ACEOF
48398
48399 fi
48400 done
48401
48402     fi
48403   fi
48404
48405
48406
48407
48408
48409   LIBS="$ac_save_LIBS"
48410   CXXFLAGS="$ac_save_CXXFLAGS"
48411
48412
48413
48414   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
48415 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
48416   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
48417     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
48418   echo $ECHO_N "(cached) $ECHO_C" >&6
48419 else
48420
48421
48422
48423       ac_ext=cc
48424 ac_cpp='$CXXCPP $CPPFLAGS'
48425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48428
48429       cat >conftest.$ac_ext <<_ACEOF
48430 /* confdefs.h.  */
48431 _ACEOF
48432 cat confdefs.h >>conftest.$ac_ext
48433 cat >>conftest.$ac_ext <<_ACEOF
48434 /* end confdefs.h.  */
48435 #include <math.h>
48436 int
48437 main ()
48438 {
48439  __builtin_abs(0);
48440   ;
48441   return 0;
48442 }
48443 _ACEOF
48444 rm -f conftest.$ac_objext
48445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48446   (eval $ac_compile) 2>conftest.er1
48447   ac_status=$?
48448   grep -v '^ *+' conftest.er1 >conftest.err
48449   rm -f conftest.er1
48450   cat conftest.err >&5
48451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48452   (exit $ac_status); } &&
48453          { ac_try='test -z "$ac_cxx_werror_flag"
48454                          || test ! -s conftest.err'
48455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48456   (eval $ac_try) 2>&5
48457   ac_status=$?
48458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48459   (exit $ac_status); }; } &&
48460          { ac_try='test -s conftest.$ac_objext'
48461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48462   (eval $ac_try) 2>&5
48463   ac_status=$?
48464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48465   (exit $ac_status); }; }; then
48466   glibcxx_cv_func___builtin_abs_use=yes
48467 else
48468   echo "$as_me: failed program was:" >&5
48469 sed 's/^/| /' conftest.$ac_ext >&5
48470
48471 glibcxx_cv_func___builtin_abs_use=no
48472 fi
48473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48474       ac_ext=c
48475 ac_cpp='$CPP $CPPFLAGS'
48476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48479
48480
48481 fi
48482
48483   fi
48484   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
48485 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
48486   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
48487     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
48488 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
48489     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
48490       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
48491   echo $ECHO_N "(cached) $ECHO_C" >&6
48492 else
48493
48494         if test x$gcc_no_link = xyes; then
48495   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48497    { (exit 1); exit 1; }; }
48498 fi
48499 cat >conftest.$ac_ext <<_ACEOF
48500 /* confdefs.h.  */
48501 _ACEOF
48502 cat confdefs.h >>conftest.$ac_ext
48503 cat >>conftest.$ac_ext <<_ACEOF
48504 /* end confdefs.h.  */
48505 #include <math.h>
48506 int
48507 main ()
48508 {
48509  __builtin_abs(0);
48510   ;
48511   return 0;
48512 }
48513 _ACEOF
48514 rm -f conftest.$ac_objext conftest$ac_exeext
48515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48516   (eval $ac_link) 2>conftest.er1
48517   ac_status=$?
48518   grep -v '^ *+' conftest.er1 >conftest.err
48519   rm -f conftest.er1
48520   cat conftest.err >&5
48521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48522   (exit $ac_status); } &&
48523          { ac_try='test -z "$ac_c_werror_flag"
48524                          || test ! -s conftest.err'
48525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48526   (eval $ac_try) 2>&5
48527   ac_status=$?
48528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48529   (exit $ac_status); }; } &&
48530          { ac_try='test -s conftest$ac_exeext'
48531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48532   (eval $ac_try) 2>&5
48533   ac_status=$?
48534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48535   (exit $ac_status); }; }; then
48536   glibcxx_cv_func___builtin_abs_link=yes
48537 else
48538   echo "$as_me: failed program was:" >&5
48539 sed 's/^/| /' conftest.$ac_ext >&5
48540
48541 glibcxx_cv_func___builtin_abs_link=no
48542 fi
48543 rm -f conftest.err conftest.$ac_objext \
48544       conftest$ac_exeext conftest.$ac_ext
48545
48546 fi
48547
48548     fi
48549     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
48550 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
48551
48552     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
48553
48554 cat >>confdefs.h <<\_ACEOF
48555 #define HAVE___BUILTIN_ABS 1
48556 _ACEOF
48557
48558     fi
48559
48560   fi
48561
48562
48563   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
48564 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
48565   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
48566     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
48567   echo $ECHO_N "(cached) $ECHO_C" >&6
48568 else
48569
48570
48571
48572       ac_ext=cc
48573 ac_cpp='$CXXCPP $CPPFLAGS'
48574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48577
48578       cat >conftest.$ac_ext <<_ACEOF
48579 /* confdefs.h.  */
48580 _ACEOF
48581 cat confdefs.h >>conftest.$ac_ext
48582 cat >>conftest.$ac_ext <<_ACEOF
48583 /* end confdefs.h.  */
48584 #include <math.h>
48585 int
48586 main ()
48587 {
48588  __builtin_fabsf(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___builtin_fabsf_use=yes
48616 else
48617   echo "$as_me: failed program was:" >&5
48618 sed 's/^/| /' conftest.$ac_ext >&5
48619
48620 glibcxx_cv_func___builtin_fabsf_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___builtin_fabsf_use" >&5
48634 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
48635   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
48636     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
48637 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
48638     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
48639       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
48640   echo $ECHO_N "(cached) $ECHO_C" >&6
48641 else
48642
48643         if test x$gcc_no_link = xyes; then
48644   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48646    { (exit 1); exit 1; }; }
48647 fi
48648 cat >conftest.$ac_ext <<_ACEOF
48649 /* confdefs.h.  */
48650 _ACEOF
48651 cat confdefs.h >>conftest.$ac_ext
48652 cat >>conftest.$ac_ext <<_ACEOF
48653 /* end confdefs.h.  */
48654 #include <math.h>
48655 int
48656 main ()
48657 {
48658  __builtin_fabsf(0);
48659   ;
48660   return 0;
48661 }
48662 _ACEOF
48663 rm -f conftest.$ac_objext conftest$ac_exeext
48664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48665   (eval $ac_link) 2>conftest.er1
48666   ac_status=$?
48667   grep -v '^ *+' conftest.er1 >conftest.err
48668   rm -f conftest.er1
48669   cat conftest.err >&5
48670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48671   (exit $ac_status); } &&
48672          { ac_try='test -z "$ac_c_werror_flag"
48673                          || test ! -s conftest.err'
48674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48675   (eval $ac_try) 2>&5
48676   ac_status=$?
48677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48678   (exit $ac_status); }; } &&
48679          { ac_try='test -s conftest$ac_exeext'
48680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48681   (eval $ac_try) 2>&5
48682   ac_status=$?
48683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48684   (exit $ac_status); }; }; then
48685   glibcxx_cv_func___builtin_fabsf_link=yes
48686 else
48687   echo "$as_me: failed program was:" >&5
48688 sed 's/^/| /' conftest.$ac_ext >&5
48689
48690 glibcxx_cv_func___builtin_fabsf_link=no
48691 fi
48692 rm -f conftest.err conftest.$ac_objext \
48693       conftest$ac_exeext conftest.$ac_ext
48694
48695 fi
48696
48697     fi
48698     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
48699 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
48700
48701     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
48702
48703 cat >>confdefs.h <<\_ACEOF
48704 #define HAVE___BUILTIN_FABSF 1
48705 _ACEOF
48706
48707     fi
48708
48709   fi
48710
48711
48712   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
48713 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
48714   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
48715     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
48716   echo $ECHO_N "(cached) $ECHO_C" >&6
48717 else
48718
48719
48720
48721       ac_ext=cc
48722 ac_cpp='$CXXCPP $CPPFLAGS'
48723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48726
48727       cat >conftest.$ac_ext <<_ACEOF
48728 /* confdefs.h.  */
48729 _ACEOF
48730 cat confdefs.h >>conftest.$ac_ext
48731 cat >>conftest.$ac_ext <<_ACEOF
48732 /* end confdefs.h.  */
48733 #include <math.h>
48734 int
48735 main ()
48736 {
48737  __builtin_fabs(0);
48738   ;
48739   return 0;
48740 }
48741 _ACEOF
48742 rm -f conftest.$ac_objext
48743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48744   (eval $ac_compile) 2>conftest.er1
48745   ac_status=$?
48746   grep -v '^ *+' conftest.er1 >conftest.err
48747   rm -f conftest.er1
48748   cat conftest.err >&5
48749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48750   (exit $ac_status); } &&
48751          { ac_try='test -z "$ac_cxx_werror_flag"
48752                          || test ! -s conftest.err'
48753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48754   (eval $ac_try) 2>&5
48755   ac_status=$?
48756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48757   (exit $ac_status); }; } &&
48758          { ac_try='test -s conftest.$ac_objext'
48759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48760   (eval $ac_try) 2>&5
48761   ac_status=$?
48762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48763   (exit $ac_status); }; }; then
48764   glibcxx_cv_func___builtin_fabs_use=yes
48765 else
48766   echo "$as_me: failed program was:" >&5
48767 sed 's/^/| /' conftest.$ac_ext >&5
48768
48769 glibcxx_cv_func___builtin_fabs_use=no
48770 fi
48771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48772       ac_ext=c
48773 ac_cpp='$CPP $CPPFLAGS'
48774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48777
48778
48779 fi
48780
48781   fi
48782   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
48783 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
48784   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
48785     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
48786 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
48787     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
48788       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
48789   echo $ECHO_N "(cached) $ECHO_C" >&6
48790 else
48791
48792         if test x$gcc_no_link = xyes; then
48793   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48795    { (exit 1); exit 1; }; }
48796 fi
48797 cat >conftest.$ac_ext <<_ACEOF
48798 /* confdefs.h.  */
48799 _ACEOF
48800 cat confdefs.h >>conftest.$ac_ext
48801 cat >>conftest.$ac_ext <<_ACEOF
48802 /* end confdefs.h.  */
48803 #include <math.h>
48804 int
48805 main ()
48806 {
48807  __builtin_fabs(0);
48808   ;
48809   return 0;
48810 }
48811 _ACEOF
48812 rm -f conftest.$ac_objext conftest$ac_exeext
48813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48814   (eval $ac_link) 2>conftest.er1
48815   ac_status=$?
48816   grep -v '^ *+' conftest.er1 >conftest.err
48817   rm -f conftest.er1
48818   cat conftest.err >&5
48819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48820   (exit $ac_status); } &&
48821          { ac_try='test -z "$ac_c_werror_flag"
48822                          || test ! -s conftest.err'
48823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48824   (eval $ac_try) 2>&5
48825   ac_status=$?
48826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48827   (exit $ac_status); }; } &&
48828          { ac_try='test -s conftest$ac_exeext'
48829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48830   (eval $ac_try) 2>&5
48831   ac_status=$?
48832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48833   (exit $ac_status); }; }; then
48834   glibcxx_cv_func___builtin_fabs_link=yes
48835 else
48836   echo "$as_me: failed program was:" >&5
48837 sed 's/^/| /' conftest.$ac_ext >&5
48838
48839 glibcxx_cv_func___builtin_fabs_link=no
48840 fi
48841 rm -f conftest.err conftest.$ac_objext \
48842       conftest$ac_exeext conftest.$ac_ext
48843
48844 fi
48845
48846     fi
48847     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
48848 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
48849
48850     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
48851
48852 cat >>confdefs.h <<\_ACEOF
48853 #define HAVE___BUILTIN_FABS 1
48854 _ACEOF
48855
48856     fi
48857
48858   fi
48859
48860
48861   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
48862 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
48863   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
48864     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
48865   echo $ECHO_N "(cached) $ECHO_C" >&6
48866 else
48867
48868
48869
48870       ac_ext=cc
48871 ac_cpp='$CXXCPP $CPPFLAGS'
48872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48875
48876       cat >conftest.$ac_ext <<_ACEOF
48877 /* confdefs.h.  */
48878 _ACEOF
48879 cat confdefs.h >>conftest.$ac_ext
48880 cat >>conftest.$ac_ext <<_ACEOF
48881 /* end confdefs.h.  */
48882 #include <math.h>
48883 int
48884 main ()
48885 {
48886  __builtin_fabsl(0);
48887   ;
48888   return 0;
48889 }
48890 _ACEOF
48891 rm -f conftest.$ac_objext
48892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48893   (eval $ac_compile) 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_cxx_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_objext'
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   glibcxx_cv_func___builtin_fabsl_use=yes
48914 else
48915   echo "$as_me: failed program was:" >&5
48916 sed 's/^/| /' conftest.$ac_ext >&5
48917
48918 glibcxx_cv_func___builtin_fabsl_use=no
48919 fi
48920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48921       ac_ext=c
48922 ac_cpp='$CPP $CPPFLAGS'
48923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48926
48927
48928 fi
48929
48930   fi
48931   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
48932 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
48933   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
48934     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
48935 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
48936     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
48937       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
48938   echo $ECHO_N "(cached) $ECHO_C" >&6
48939 else
48940
48941         if test x$gcc_no_link = xyes; then
48942   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48944    { (exit 1); exit 1; }; }
48945 fi
48946 cat >conftest.$ac_ext <<_ACEOF
48947 /* confdefs.h.  */
48948 _ACEOF
48949 cat confdefs.h >>conftest.$ac_ext
48950 cat >>conftest.$ac_ext <<_ACEOF
48951 /* end confdefs.h.  */
48952 #include <math.h>
48953 int
48954 main ()
48955 {
48956  __builtin_fabsl(0);
48957   ;
48958   return 0;
48959 }
48960 _ACEOF
48961 rm -f conftest.$ac_objext conftest$ac_exeext
48962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48963   (eval $ac_link) 2>conftest.er1
48964   ac_status=$?
48965   grep -v '^ *+' conftest.er1 >conftest.err
48966   rm -f conftest.er1
48967   cat conftest.err >&5
48968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48969   (exit $ac_status); } &&
48970          { ac_try='test -z "$ac_c_werror_flag"
48971                          || test ! -s conftest.err'
48972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48973   (eval $ac_try) 2>&5
48974   ac_status=$?
48975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48976   (exit $ac_status); }; } &&
48977          { ac_try='test -s conftest$ac_exeext'
48978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48979   (eval $ac_try) 2>&5
48980   ac_status=$?
48981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48982   (exit $ac_status); }; }; then
48983   glibcxx_cv_func___builtin_fabsl_link=yes
48984 else
48985   echo "$as_me: failed program was:" >&5
48986 sed 's/^/| /' conftest.$ac_ext >&5
48987
48988 glibcxx_cv_func___builtin_fabsl_link=no
48989 fi
48990 rm -f conftest.err conftest.$ac_objext \
48991       conftest$ac_exeext conftest.$ac_ext
48992
48993 fi
48994
48995     fi
48996     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
48997 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
48998
48999     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
49000
49001 cat >>confdefs.h <<\_ACEOF
49002 #define HAVE___BUILTIN_FABSL 1
49003 _ACEOF
49004
49005     fi
49006
49007   fi
49008
49009
49010   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
49011 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
49012   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
49013     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
49014   echo $ECHO_N "(cached) $ECHO_C" >&6
49015 else
49016
49017
49018
49019       ac_ext=cc
49020 ac_cpp='$CXXCPP $CPPFLAGS'
49021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49024
49025       cat >conftest.$ac_ext <<_ACEOF
49026 /* confdefs.h.  */
49027 _ACEOF
49028 cat confdefs.h >>conftest.$ac_ext
49029 cat >>conftest.$ac_ext <<_ACEOF
49030 /* end confdefs.h.  */
49031 #include <math.h>
49032 int
49033 main ()
49034 {
49035  __builtin_labs(0);
49036   ;
49037   return 0;
49038 }
49039 _ACEOF
49040 rm -f conftest.$ac_objext
49041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49042   (eval $ac_compile) 2>conftest.er1
49043   ac_status=$?
49044   grep -v '^ *+' conftest.er1 >conftest.err
49045   rm -f conftest.er1
49046   cat conftest.err >&5
49047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49048   (exit $ac_status); } &&
49049          { ac_try='test -z "$ac_cxx_werror_flag"
49050                          || test ! -s conftest.err'
49051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49052   (eval $ac_try) 2>&5
49053   ac_status=$?
49054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49055   (exit $ac_status); }; } &&
49056          { ac_try='test -s conftest.$ac_objext'
49057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49058   (eval $ac_try) 2>&5
49059   ac_status=$?
49060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49061   (exit $ac_status); }; }; then
49062   glibcxx_cv_func___builtin_labs_use=yes
49063 else
49064   echo "$as_me: failed program was:" >&5
49065 sed 's/^/| /' conftest.$ac_ext >&5
49066
49067 glibcxx_cv_func___builtin_labs_use=no
49068 fi
49069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49070       ac_ext=c
49071 ac_cpp='$CPP $CPPFLAGS'
49072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49075
49076
49077 fi
49078
49079   fi
49080   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
49081 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
49082   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
49083     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
49084 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
49085     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
49086       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
49087   echo $ECHO_N "(cached) $ECHO_C" >&6
49088 else
49089
49090         if test x$gcc_no_link = xyes; then
49091   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49093    { (exit 1); exit 1; }; }
49094 fi
49095 cat >conftest.$ac_ext <<_ACEOF
49096 /* confdefs.h.  */
49097 _ACEOF
49098 cat confdefs.h >>conftest.$ac_ext
49099 cat >>conftest.$ac_ext <<_ACEOF
49100 /* end confdefs.h.  */
49101 #include <math.h>
49102 int
49103 main ()
49104 {
49105  __builtin_labs(0);
49106   ;
49107   return 0;
49108 }
49109 _ACEOF
49110 rm -f conftest.$ac_objext conftest$ac_exeext
49111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49112   (eval $ac_link) 2>conftest.er1
49113   ac_status=$?
49114   grep -v '^ *+' conftest.er1 >conftest.err
49115   rm -f conftest.er1
49116   cat conftest.err >&5
49117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49118   (exit $ac_status); } &&
49119          { ac_try='test -z "$ac_c_werror_flag"
49120                          || test ! -s conftest.err'
49121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49122   (eval $ac_try) 2>&5
49123   ac_status=$?
49124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49125   (exit $ac_status); }; } &&
49126          { ac_try='test -s conftest$ac_exeext'
49127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49128   (eval $ac_try) 2>&5
49129   ac_status=$?
49130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49131   (exit $ac_status); }; }; then
49132   glibcxx_cv_func___builtin_labs_link=yes
49133 else
49134   echo "$as_me: failed program was:" >&5
49135 sed 's/^/| /' conftest.$ac_ext >&5
49136
49137 glibcxx_cv_func___builtin_labs_link=no
49138 fi
49139 rm -f conftest.err conftest.$ac_objext \
49140       conftest$ac_exeext conftest.$ac_ext
49141
49142 fi
49143
49144     fi
49145     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
49146 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
49147
49148     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
49149
49150 cat >>confdefs.h <<\_ACEOF
49151 #define HAVE___BUILTIN_LABS 1
49152 _ACEOF
49153
49154     fi
49155
49156   fi
49157
49158
49159
49160   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
49161 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
49162   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
49163     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
49164   echo $ECHO_N "(cached) $ECHO_C" >&6
49165 else
49166
49167
49168
49169       ac_ext=cc
49170 ac_cpp='$CXXCPP $CPPFLAGS'
49171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49174
49175       cat >conftest.$ac_ext <<_ACEOF
49176 /* confdefs.h.  */
49177 _ACEOF
49178 cat confdefs.h >>conftest.$ac_ext
49179 cat >>conftest.$ac_ext <<_ACEOF
49180 /* end confdefs.h.  */
49181 #include <math.h>
49182 int
49183 main ()
49184 {
49185  __builtin_sqrtf(0);
49186   ;
49187   return 0;
49188 }
49189 _ACEOF
49190 rm -f conftest.$ac_objext
49191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49192   (eval $ac_compile) 2>conftest.er1
49193   ac_status=$?
49194   grep -v '^ *+' conftest.er1 >conftest.err
49195   rm -f conftest.er1
49196   cat conftest.err >&5
49197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49198   (exit $ac_status); } &&
49199          { ac_try='test -z "$ac_cxx_werror_flag"
49200                          || test ! -s conftest.err'
49201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49202   (eval $ac_try) 2>&5
49203   ac_status=$?
49204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49205   (exit $ac_status); }; } &&
49206          { ac_try='test -s conftest.$ac_objext'
49207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49208   (eval $ac_try) 2>&5
49209   ac_status=$?
49210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49211   (exit $ac_status); }; }; then
49212   glibcxx_cv_func___builtin_sqrtf_use=yes
49213 else
49214   echo "$as_me: failed program was:" >&5
49215 sed 's/^/| /' conftest.$ac_ext >&5
49216
49217 glibcxx_cv_func___builtin_sqrtf_use=no
49218 fi
49219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49220       ac_ext=c
49221 ac_cpp='$CPP $CPPFLAGS'
49222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49225
49226
49227 fi
49228
49229   fi
49230   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
49231 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
49232   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
49233     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
49234 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
49235     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
49236       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
49237   echo $ECHO_N "(cached) $ECHO_C" >&6
49238 else
49239
49240         if test x$gcc_no_link = xyes; then
49241   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49243    { (exit 1); exit 1; }; }
49244 fi
49245 cat >conftest.$ac_ext <<_ACEOF
49246 /* confdefs.h.  */
49247 _ACEOF
49248 cat confdefs.h >>conftest.$ac_ext
49249 cat >>conftest.$ac_ext <<_ACEOF
49250 /* end confdefs.h.  */
49251 #include <math.h>
49252 int
49253 main ()
49254 {
49255  __builtin_sqrtf(0);
49256   ;
49257   return 0;
49258 }
49259 _ACEOF
49260 rm -f conftest.$ac_objext conftest$ac_exeext
49261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49262   (eval $ac_link) 2>conftest.er1
49263   ac_status=$?
49264   grep -v '^ *+' conftest.er1 >conftest.err
49265   rm -f conftest.er1
49266   cat conftest.err >&5
49267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49268   (exit $ac_status); } &&
49269          { ac_try='test -z "$ac_c_werror_flag"
49270                          || test ! -s conftest.err'
49271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49272   (eval $ac_try) 2>&5
49273   ac_status=$?
49274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49275   (exit $ac_status); }; } &&
49276          { ac_try='test -s conftest$ac_exeext'
49277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49278   (eval $ac_try) 2>&5
49279   ac_status=$?
49280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49281   (exit $ac_status); }; }; then
49282   glibcxx_cv_func___builtin_sqrtf_link=yes
49283 else
49284   echo "$as_me: failed program was:" >&5
49285 sed 's/^/| /' conftest.$ac_ext >&5
49286
49287 glibcxx_cv_func___builtin_sqrtf_link=no
49288 fi
49289 rm -f conftest.err conftest.$ac_objext \
49290       conftest$ac_exeext conftest.$ac_ext
49291
49292 fi
49293
49294     fi
49295     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
49296 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
49297
49298     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
49299
49300 cat >>confdefs.h <<\_ACEOF
49301 #define HAVE___BUILTIN_SQRTF 1
49302 _ACEOF
49303
49304     fi
49305
49306   fi
49307
49308
49309   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
49310 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
49311   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
49312     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
49313   echo $ECHO_N "(cached) $ECHO_C" >&6
49314 else
49315
49316
49317
49318       ac_ext=cc
49319 ac_cpp='$CXXCPP $CPPFLAGS'
49320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49323
49324       cat >conftest.$ac_ext <<_ACEOF
49325 /* confdefs.h.  */
49326 _ACEOF
49327 cat confdefs.h >>conftest.$ac_ext
49328 cat >>conftest.$ac_ext <<_ACEOF
49329 /* end confdefs.h.  */
49330 #include <math.h>
49331 int
49332 main ()
49333 {
49334  __builtin_sqrt(0);
49335   ;
49336   return 0;
49337 }
49338 _ACEOF
49339 rm -f conftest.$ac_objext
49340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49341   (eval $ac_compile) 2>conftest.er1
49342   ac_status=$?
49343   grep -v '^ *+' conftest.er1 >conftest.err
49344   rm -f conftest.er1
49345   cat conftest.err >&5
49346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49347   (exit $ac_status); } &&
49348          { ac_try='test -z "$ac_cxx_werror_flag"
49349                          || test ! -s conftest.err'
49350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49351   (eval $ac_try) 2>&5
49352   ac_status=$?
49353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49354   (exit $ac_status); }; } &&
49355          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
49361   glibcxx_cv_func___builtin_sqrt_use=yes
49362 else
49363   echo "$as_me: failed program was:" >&5
49364 sed 's/^/| /' conftest.$ac_ext >&5
49365
49366 glibcxx_cv_func___builtin_sqrt_use=no
49367 fi
49368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49369       ac_ext=c
49370 ac_cpp='$CPP $CPPFLAGS'
49371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49374
49375
49376 fi
49377
49378   fi
49379   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
49380 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
49381   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
49382     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
49383 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
49384     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
49385       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
49386   echo $ECHO_N "(cached) $ECHO_C" >&6
49387 else
49388
49389         if test x$gcc_no_link = xyes; then
49390   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49392    { (exit 1); exit 1; }; }
49393 fi
49394 cat >conftest.$ac_ext <<_ACEOF
49395 /* confdefs.h.  */
49396 _ACEOF
49397 cat confdefs.h >>conftest.$ac_ext
49398 cat >>conftest.$ac_ext <<_ACEOF
49399 /* end confdefs.h.  */
49400 #include <math.h>
49401 int
49402 main ()
49403 {
49404  __builtin_sqrt(0);
49405   ;
49406   return 0;
49407 }
49408 _ACEOF
49409 rm -f conftest.$ac_objext conftest$ac_exeext
49410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49411   (eval $ac_link) 2>conftest.er1
49412   ac_status=$?
49413   grep -v '^ *+' conftest.er1 >conftest.err
49414   rm -f conftest.er1
49415   cat conftest.err >&5
49416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49417   (exit $ac_status); } &&
49418          { ac_try='test -z "$ac_c_werror_flag"
49419                          || test ! -s conftest.err'
49420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49421   (eval $ac_try) 2>&5
49422   ac_status=$?
49423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49424   (exit $ac_status); }; } &&
49425          { ac_try='test -s conftest$ac_exeext'
49426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49427   (eval $ac_try) 2>&5
49428   ac_status=$?
49429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49430   (exit $ac_status); }; }; then
49431   glibcxx_cv_func___builtin_sqrt_link=yes
49432 else
49433   echo "$as_me: failed program was:" >&5
49434 sed 's/^/| /' conftest.$ac_ext >&5
49435
49436 glibcxx_cv_func___builtin_sqrt_link=no
49437 fi
49438 rm -f conftest.err conftest.$ac_objext \
49439       conftest$ac_exeext conftest.$ac_ext
49440
49441 fi
49442
49443     fi
49444     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
49445 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
49446
49447     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
49448
49449 cat >>confdefs.h <<\_ACEOF
49450 #define HAVE___BUILTIN_SQRT 1
49451 _ACEOF
49452
49453     fi
49454
49455   fi
49456
49457
49458   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
49459 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
49460   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
49461     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
49462   echo $ECHO_N "(cached) $ECHO_C" >&6
49463 else
49464
49465
49466
49467       ac_ext=cc
49468 ac_cpp='$CXXCPP $CPPFLAGS'
49469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49472
49473       cat >conftest.$ac_ext <<_ACEOF
49474 /* confdefs.h.  */
49475 _ACEOF
49476 cat confdefs.h >>conftest.$ac_ext
49477 cat >>conftest.$ac_ext <<_ACEOF
49478 /* end confdefs.h.  */
49479 #include <math.h>
49480 int
49481 main ()
49482 {
49483  __builtin_sqrtl(0);
49484   ;
49485   return 0;
49486 }
49487 _ACEOF
49488 rm -f conftest.$ac_objext
49489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49490   (eval $ac_compile) 2>conftest.er1
49491   ac_status=$?
49492   grep -v '^ *+' conftest.er1 >conftest.err
49493   rm -f conftest.er1
49494   cat conftest.err >&5
49495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49496   (exit $ac_status); } &&
49497          { ac_try='test -z "$ac_cxx_werror_flag"
49498                          || test ! -s conftest.err'
49499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49500   (eval $ac_try) 2>&5
49501   ac_status=$?
49502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49503   (exit $ac_status); }; } &&
49504          { ac_try='test -s conftest.$ac_objext'
49505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49506   (eval $ac_try) 2>&5
49507   ac_status=$?
49508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49509   (exit $ac_status); }; }; then
49510   glibcxx_cv_func___builtin_sqrtl_use=yes
49511 else
49512   echo "$as_me: failed program was:" >&5
49513 sed 's/^/| /' conftest.$ac_ext >&5
49514
49515 glibcxx_cv_func___builtin_sqrtl_use=no
49516 fi
49517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49518       ac_ext=c
49519 ac_cpp='$CPP $CPPFLAGS'
49520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49523
49524
49525 fi
49526
49527   fi
49528   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
49529 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
49530   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
49531     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
49532 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
49533     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
49534       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
49535   echo $ECHO_N "(cached) $ECHO_C" >&6
49536 else
49537
49538         if test x$gcc_no_link = xyes; then
49539   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49541    { (exit 1); exit 1; }; }
49542 fi
49543 cat >conftest.$ac_ext <<_ACEOF
49544 /* confdefs.h.  */
49545 _ACEOF
49546 cat confdefs.h >>conftest.$ac_ext
49547 cat >>conftest.$ac_ext <<_ACEOF
49548 /* end confdefs.h.  */
49549 #include <math.h>
49550 int
49551 main ()
49552 {
49553  __builtin_sqrtl(0);
49554   ;
49555   return 0;
49556 }
49557 _ACEOF
49558 rm -f conftest.$ac_objext conftest$ac_exeext
49559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49560   (eval $ac_link) 2>conftest.er1
49561   ac_status=$?
49562   grep -v '^ *+' conftest.er1 >conftest.err
49563   rm -f conftest.er1
49564   cat conftest.err >&5
49565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49566   (exit $ac_status); } &&
49567          { ac_try='test -z "$ac_c_werror_flag"
49568                          || test ! -s conftest.err'
49569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49570   (eval $ac_try) 2>&5
49571   ac_status=$?
49572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49573   (exit $ac_status); }; } &&
49574          { ac_try='test -s conftest$ac_exeext'
49575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49576   (eval $ac_try) 2>&5
49577   ac_status=$?
49578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49579   (exit $ac_status); }; }; then
49580   glibcxx_cv_func___builtin_sqrtl_link=yes
49581 else
49582   echo "$as_me: failed program was:" >&5
49583 sed 's/^/| /' conftest.$ac_ext >&5
49584
49585 glibcxx_cv_func___builtin_sqrtl_link=no
49586 fi
49587 rm -f conftest.err conftest.$ac_objext \
49588       conftest$ac_exeext conftest.$ac_ext
49589
49590 fi
49591
49592     fi
49593     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
49594 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
49595
49596     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
49597
49598 cat >>confdefs.h <<\_ACEOF
49599 #define HAVE___BUILTIN_SQRTL 1
49600 _ACEOF
49601
49602     fi
49603
49604   fi
49605
49606
49607
49608   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
49609 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
49610   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
49611     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
49612   echo $ECHO_N "(cached) $ECHO_C" >&6
49613 else
49614
49615
49616
49617       ac_ext=cc
49618 ac_cpp='$CXXCPP $CPPFLAGS'
49619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49622
49623       cat >conftest.$ac_ext <<_ACEOF
49624 /* confdefs.h.  */
49625 _ACEOF
49626 cat confdefs.h >>conftest.$ac_ext
49627 cat >>conftest.$ac_ext <<_ACEOF
49628 /* end confdefs.h.  */
49629 #include <math.h>
49630 int
49631 main ()
49632 {
49633  __builtin_sinf(0);
49634   ;
49635   return 0;
49636 }
49637 _ACEOF
49638 rm -f conftest.$ac_objext
49639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49640   (eval $ac_compile) 2>conftest.er1
49641   ac_status=$?
49642   grep -v '^ *+' conftest.er1 >conftest.err
49643   rm -f conftest.er1
49644   cat conftest.err >&5
49645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49646   (exit $ac_status); } &&
49647          { ac_try='test -z "$ac_cxx_werror_flag"
49648                          || test ! -s conftest.err'
49649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49650   (eval $ac_try) 2>&5
49651   ac_status=$?
49652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49653   (exit $ac_status); }; } &&
49654          { ac_try='test -s conftest.$ac_objext'
49655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49656   (eval $ac_try) 2>&5
49657   ac_status=$?
49658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49659   (exit $ac_status); }; }; then
49660   glibcxx_cv_func___builtin_sinf_use=yes
49661 else
49662   echo "$as_me: failed program was:" >&5
49663 sed 's/^/| /' conftest.$ac_ext >&5
49664
49665 glibcxx_cv_func___builtin_sinf_use=no
49666 fi
49667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49668       ac_ext=c
49669 ac_cpp='$CPP $CPPFLAGS'
49670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49673
49674
49675 fi
49676
49677   fi
49678   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
49679 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
49680   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
49681     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
49682 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
49683     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
49684       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
49685   echo $ECHO_N "(cached) $ECHO_C" >&6
49686 else
49687
49688         if test x$gcc_no_link = xyes; then
49689   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49691    { (exit 1); exit 1; }; }
49692 fi
49693 cat >conftest.$ac_ext <<_ACEOF
49694 /* confdefs.h.  */
49695 _ACEOF
49696 cat confdefs.h >>conftest.$ac_ext
49697 cat >>conftest.$ac_ext <<_ACEOF
49698 /* end confdefs.h.  */
49699 #include <math.h>
49700 int
49701 main ()
49702 {
49703  __builtin_sinf(0);
49704   ;
49705   return 0;
49706 }
49707 _ACEOF
49708 rm -f conftest.$ac_objext conftest$ac_exeext
49709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49710   (eval $ac_link) 2>conftest.er1
49711   ac_status=$?
49712   grep -v '^ *+' conftest.er1 >conftest.err
49713   rm -f conftest.er1
49714   cat conftest.err >&5
49715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49716   (exit $ac_status); } &&
49717          { ac_try='test -z "$ac_c_werror_flag"
49718                          || test ! -s conftest.err'
49719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49720   (eval $ac_try) 2>&5
49721   ac_status=$?
49722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49723   (exit $ac_status); }; } &&
49724          { ac_try='test -s conftest$ac_exeext'
49725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49726   (eval $ac_try) 2>&5
49727   ac_status=$?
49728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49729   (exit $ac_status); }; }; then
49730   glibcxx_cv_func___builtin_sinf_link=yes
49731 else
49732   echo "$as_me: failed program was:" >&5
49733 sed 's/^/| /' conftest.$ac_ext >&5
49734
49735 glibcxx_cv_func___builtin_sinf_link=no
49736 fi
49737 rm -f conftest.err conftest.$ac_objext \
49738       conftest$ac_exeext conftest.$ac_ext
49739
49740 fi
49741
49742     fi
49743     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
49744 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
49745
49746     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
49747
49748 cat >>confdefs.h <<\_ACEOF
49749 #define HAVE___BUILTIN_SINF 1
49750 _ACEOF
49751
49752     fi
49753
49754   fi
49755
49756
49757   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
49758 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
49759   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
49760     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
49761   echo $ECHO_N "(cached) $ECHO_C" >&6
49762 else
49763
49764
49765
49766       ac_ext=cc
49767 ac_cpp='$CXXCPP $CPPFLAGS'
49768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49771
49772       cat >conftest.$ac_ext <<_ACEOF
49773 /* confdefs.h.  */
49774 _ACEOF
49775 cat confdefs.h >>conftest.$ac_ext
49776 cat >>conftest.$ac_ext <<_ACEOF
49777 /* end confdefs.h.  */
49778 #include <math.h>
49779 int
49780 main ()
49781 {
49782  __builtin_sin(0);
49783   ;
49784   return 0;
49785 }
49786 _ACEOF
49787 rm -f conftest.$ac_objext
49788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49789   (eval $ac_compile) 2>conftest.er1
49790   ac_status=$?
49791   grep -v '^ *+' conftest.er1 >conftest.err
49792   rm -f conftest.er1
49793   cat conftest.err >&5
49794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49795   (exit $ac_status); } &&
49796          { ac_try='test -z "$ac_cxx_werror_flag"
49797                          || test ! -s conftest.err'
49798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49799   (eval $ac_try) 2>&5
49800   ac_status=$?
49801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49802   (exit $ac_status); }; } &&
49803          { ac_try='test -s conftest.$ac_objext'
49804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49805   (eval $ac_try) 2>&5
49806   ac_status=$?
49807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49808   (exit $ac_status); }; }; then
49809   glibcxx_cv_func___builtin_sin_use=yes
49810 else
49811   echo "$as_me: failed program was:" >&5
49812 sed 's/^/| /' conftest.$ac_ext >&5
49813
49814 glibcxx_cv_func___builtin_sin_use=no
49815 fi
49816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49817       ac_ext=c
49818 ac_cpp='$CPP $CPPFLAGS'
49819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49822
49823
49824 fi
49825
49826   fi
49827   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
49828 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
49829   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
49830     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
49831 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
49832     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
49833       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
49834   echo $ECHO_N "(cached) $ECHO_C" >&6
49835 else
49836
49837         if test x$gcc_no_link = xyes; then
49838   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49840    { (exit 1); exit 1; }; }
49841 fi
49842 cat >conftest.$ac_ext <<_ACEOF
49843 /* confdefs.h.  */
49844 _ACEOF
49845 cat confdefs.h >>conftest.$ac_ext
49846 cat >>conftest.$ac_ext <<_ACEOF
49847 /* end confdefs.h.  */
49848 #include <math.h>
49849 int
49850 main ()
49851 {
49852  __builtin_sin(0);
49853   ;
49854   return 0;
49855 }
49856 _ACEOF
49857 rm -f conftest.$ac_objext conftest$ac_exeext
49858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49859   (eval $ac_link) 2>conftest.er1
49860   ac_status=$?
49861   grep -v '^ *+' conftest.er1 >conftest.err
49862   rm -f conftest.er1
49863   cat conftest.err >&5
49864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49865   (exit $ac_status); } &&
49866          { ac_try='test -z "$ac_c_werror_flag"
49867                          || test ! -s conftest.err'
49868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49869   (eval $ac_try) 2>&5
49870   ac_status=$?
49871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49872   (exit $ac_status); }; } &&
49873          { ac_try='test -s conftest$ac_exeext'
49874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49875   (eval $ac_try) 2>&5
49876   ac_status=$?
49877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49878   (exit $ac_status); }; }; then
49879   glibcxx_cv_func___builtin_sin_link=yes
49880 else
49881   echo "$as_me: failed program was:" >&5
49882 sed 's/^/| /' conftest.$ac_ext >&5
49883
49884 glibcxx_cv_func___builtin_sin_link=no
49885 fi
49886 rm -f conftest.err conftest.$ac_objext \
49887       conftest$ac_exeext conftest.$ac_ext
49888
49889 fi
49890
49891     fi
49892     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
49893 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
49894
49895     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
49896
49897 cat >>confdefs.h <<\_ACEOF
49898 #define HAVE___BUILTIN_SIN 1
49899 _ACEOF
49900
49901     fi
49902
49903   fi
49904
49905
49906   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
49907 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
49908   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
49909     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
49910   echo $ECHO_N "(cached) $ECHO_C" >&6
49911 else
49912
49913
49914
49915       ac_ext=cc
49916 ac_cpp='$CXXCPP $CPPFLAGS'
49917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49920
49921       cat >conftest.$ac_ext <<_ACEOF
49922 /* confdefs.h.  */
49923 _ACEOF
49924 cat confdefs.h >>conftest.$ac_ext
49925 cat >>conftest.$ac_ext <<_ACEOF
49926 /* end confdefs.h.  */
49927 #include <math.h>
49928 int
49929 main ()
49930 {
49931  __builtin_sinl(0);
49932   ;
49933   return 0;
49934 }
49935 _ACEOF
49936 rm -f conftest.$ac_objext
49937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49938   (eval $ac_compile) 2>conftest.er1
49939   ac_status=$?
49940   grep -v '^ *+' conftest.er1 >conftest.err
49941   rm -f conftest.er1
49942   cat conftest.err >&5
49943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49944   (exit $ac_status); } &&
49945          { ac_try='test -z "$ac_cxx_werror_flag"
49946                          || test ! -s conftest.err'
49947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49948   (eval $ac_try) 2>&5
49949   ac_status=$?
49950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49951   (exit $ac_status); }; } &&
49952          { ac_try='test -s conftest.$ac_objext'
49953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49954   (eval $ac_try) 2>&5
49955   ac_status=$?
49956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49957   (exit $ac_status); }; }; then
49958   glibcxx_cv_func___builtin_sinl_use=yes
49959 else
49960   echo "$as_me: failed program was:" >&5
49961 sed 's/^/| /' conftest.$ac_ext >&5
49962
49963 glibcxx_cv_func___builtin_sinl_use=no
49964 fi
49965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49966       ac_ext=c
49967 ac_cpp='$CPP $CPPFLAGS'
49968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49971
49972
49973 fi
49974
49975   fi
49976   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
49977 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
49978   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
49979     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
49980 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
49981     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
49982       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
49983   echo $ECHO_N "(cached) $ECHO_C" >&6
49984 else
49985
49986         if test x$gcc_no_link = xyes; then
49987   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49989    { (exit 1); exit 1; }; }
49990 fi
49991 cat >conftest.$ac_ext <<_ACEOF
49992 /* confdefs.h.  */
49993 _ACEOF
49994 cat confdefs.h >>conftest.$ac_ext
49995 cat >>conftest.$ac_ext <<_ACEOF
49996 /* end confdefs.h.  */
49997 #include <math.h>
49998 int
49999 main ()
50000 {
50001  __builtin_sinl(0);
50002   ;
50003   return 0;
50004 }
50005 _ACEOF
50006 rm -f conftest.$ac_objext conftest$ac_exeext
50007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50008   (eval $ac_link) 2>conftest.er1
50009   ac_status=$?
50010   grep -v '^ *+' conftest.er1 >conftest.err
50011   rm -f conftest.er1
50012   cat conftest.err >&5
50013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50014   (exit $ac_status); } &&
50015          { ac_try='test -z "$ac_c_werror_flag"
50016                          || test ! -s conftest.err'
50017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50018   (eval $ac_try) 2>&5
50019   ac_status=$?
50020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50021   (exit $ac_status); }; } &&
50022          { ac_try='test -s conftest$ac_exeext'
50023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50024   (eval $ac_try) 2>&5
50025   ac_status=$?
50026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50027   (exit $ac_status); }; }; then
50028   glibcxx_cv_func___builtin_sinl_link=yes
50029 else
50030   echo "$as_me: failed program was:" >&5
50031 sed 's/^/| /' conftest.$ac_ext >&5
50032
50033 glibcxx_cv_func___builtin_sinl_link=no
50034 fi
50035 rm -f conftest.err conftest.$ac_objext \
50036       conftest$ac_exeext conftest.$ac_ext
50037
50038 fi
50039
50040     fi
50041     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
50042 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
50043
50044     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
50045
50046 cat >>confdefs.h <<\_ACEOF
50047 #define HAVE___BUILTIN_SINL 1
50048 _ACEOF
50049
50050     fi
50051
50052   fi
50053
50054
50055
50056   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
50057 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
50058   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
50059     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
50060   echo $ECHO_N "(cached) $ECHO_C" >&6
50061 else
50062
50063
50064
50065       ac_ext=cc
50066 ac_cpp='$CXXCPP $CPPFLAGS'
50067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50070
50071       cat >conftest.$ac_ext <<_ACEOF
50072 /* confdefs.h.  */
50073 _ACEOF
50074 cat confdefs.h >>conftest.$ac_ext
50075 cat >>conftest.$ac_ext <<_ACEOF
50076 /* end confdefs.h.  */
50077 #include <math.h>
50078 int
50079 main ()
50080 {
50081  __builtin_cosf(0);
50082   ;
50083   return 0;
50084 }
50085 _ACEOF
50086 rm -f conftest.$ac_objext
50087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50088   (eval $ac_compile) 2>conftest.er1
50089   ac_status=$?
50090   grep -v '^ *+' conftest.er1 >conftest.err
50091   rm -f conftest.er1
50092   cat conftest.err >&5
50093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50094   (exit $ac_status); } &&
50095          { ac_try='test -z "$ac_cxx_werror_flag"
50096                          || test ! -s conftest.err'
50097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50098   (eval $ac_try) 2>&5
50099   ac_status=$?
50100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50101   (exit $ac_status); }; } &&
50102          { ac_try='test -s conftest.$ac_objext'
50103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50104   (eval $ac_try) 2>&5
50105   ac_status=$?
50106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50107   (exit $ac_status); }; }; then
50108   glibcxx_cv_func___builtin_cosf_use=yes
50109 else
50110   echo "$as_me: failed program was:" >&5
50111 sed 's/^/| /' conftest.$ac_ext >&5
50112
50113 glibcxx_cv_func___builtin_cosf_use=no
50114 fi
50115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50116       ac_ext=c
50117 ac_cpp='$CPP $CPPFLAGS'
50118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50121
50122
50123 fi
50124
50125   fi
50126   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
50127 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
50128   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
50129     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
50130 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
50131     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
50132       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
50133   echo $ECHO_N "(cached) $ECHO_C" >&6
50134 else
50135
50136         if test x$gcc_no_link = xyes; then
50137   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50139    { (exit 1); exit 1; }; }
50140 fi
50141 cat >conftest.$ac_ext <<_ACEOF
50142 /* confdefs.h.  */
50143 _ACEOF
50144 cat confdefs.h >>conftest.$ac_ext
50145 cat >>conftest.$ac_ext <<_ACEOF
50146 /* end confdefs.h.  */
50147 #include <math.h>
50148 int
50149 main ()
50150 {
50151  __builtin_cosf(0);
50152   ;
50153   return 0;
50154 }
50155 _ACEOF
50156 rm -f conftest.$ac_objext conftest$ac_exeext
50157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50158   (eval $ac_link) 2>conftest.er1
50159   ac_status=$?
50160   grep -v '^ *+' conftest.er1 >conftest.err
50161   rm -f conftest.er1
50162   cat conftest.err >&5
50163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50164   (exit $ac_status); } &&
50165          { ac_try='test -z "$ac_c_werror_flag"
50166                          || test ! -s conftest.err'
50167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50168   (eval $ac_try) 2>&5
50169   ac_status=$?
50170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50171   (exit $ac_status); }; } &&
50172          { ac_try='test -s conftest$ac_exeext'
50173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50174   (eval $ac_try) 2>&5
50175   ac_status=$?
50176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50177   (exit $ac_status); }; }; then
50178   glibcxx_cv_func___builtin_cosf_link=yes
50179 else
50180   echo "$as_me: failed program was:" >&5
50181 sed 's/^/| /' conftest.$ac_ext >&5
50182
50183 glibcxx_cv_func___builtin_cosf_link=no
50184 fi
50185 rm -f conftest.err conftest.$ac_objext \
50186       conftest$ac_exeext conftest.$ac_ext
50187
50188 fi
50189
50190     fi
50191     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
50192 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
50193
50194     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
50195
50196 cat >>confdefs.h <<\_ACEOF
50197 #define HAVE___BUILTIN_COSF 1
50198 _ACEOF
50199
50200     fi
50201
50202   fi
50203
50204
50205   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
50206 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
50207   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
50208     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
50209   echo $ECHO_N "(cached) $ECHO_C" >&6
50210 else
50211
50212
50213
50214       ac_ext=cc
50215 ac_cpp='$CXXCPP $CPPFLAGS'
50216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50219
50220       cat >conftest.$ac_ext <<_ACEOF
50221 /* confdefs.h.  */
50222 _ACEOF
50223 cat confdefs.h >>conftest.$ac_ext
50224 cat >>conftest.$ac_ext <<_ACEOF
50225 /* end confdefs.h.  */
50226 #include <math.h>
50227 int
50228 main ()
50229 {
50230  __builtin_cos(0);
50231   ;
50232   return 0;
50233 }
50234 _ACEOF
50235 rm -f conftest.$ac_objext
50236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50237   (eval $ac_compile) 2>conftest.er1
50238   ac_status=$?
50239   grep -v '^ *+' conftest.er1 >conftest.err
50240   rm -f conftest.er1
50241   cat conftest.err >&5
50242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50243   (exit $ac_status); } &&
50244          { ac_try='test -z "$ac_cxx_werror_flag"
50245                          || test ! -s conftest.err'
50246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50247   (eval $ac_try) 2>&5
50248   ac_status=$?
50249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50250   (exit $ac_status); }; } &&
50251          { ac_try='test -s conftest.$ac_objext'
50252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50253   (eval $ac_try) 2>&5
50254   ac_status=$?
50255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50256   (exit $ac_status); }; }; then
50257   glibcxx_cv_func___builtin_cos_use=yes
50258 else
50259   echo "$as_me: failed program was:" >&5
50260 sed 's/^/| /' conftest.$ac_ext >&5
50261
50262 glibcxx_cv_func___builtin_cos_use=no
50263 fi
50264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50265       ac_ext=c
50266 ac_cpp='$CPP $CPPFLAGS'
50267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50270
50271
50272 fi
50273
50274   fi
50275   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
50276 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
50277   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
50278     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
50279 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
50280     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
50281       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
50282   echo $ECHO_N "(cached) $ECHO_C" >&6
50283 else
50284
50285         if test x$gcc_no_link = xyes; then
50286   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50288    { (exit 1); exit 1; }; }
50289 fi
50290 cat >conftest.$ac_ext <<_ACEOF
50291 /* confdefs.h.  */
50292 _ACEOF
50293 cat confdefs.h >>conftest.$ac_ext
50294 cat >>conftest.$ac_ext <<_ACEOF
50295 /* end confdefs.h.  */
50296 #include <math.h>
50297 int
50298 main ()
50299 {
50300  __builtin_cos(0);
50301   ;
50302   return 0;
50303 }
50304 _ACEOF
50305 rm -f conftest.$ac_objext conftest$ac_exeext
50306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50307   (eval $ac_link) 2>conftest.er1
50308   ac_status=$?
50309   grep -v '^ *+' conftest.er1 >conftest.err
50310   rm -f conftest.er1
50311   cat conftest.err >&5
50312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50313   (exit $ac_status); } &&
50314          { ac_try='test -z "$ac_c_werror_flag"
50315                          || test ! -s conftest.err'
50316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50317   (eval $ac_try) 2>&5
50318   ac_status=$?
50319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50320   (exit $ac_status); }; } &&
50321          { ac_try='test -s conftest$ac_exeext'
50322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50323   (eval $ac_try) 2>&5
50324   ac_status=$?
50325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50326   (exit $ac_status); }; }; then
50327   glibcxx_cv_func___builtin_cos_link=yes
50328 else
50329   echo "$as_me: failed program was:" >&5
50330 sed 's/^/| /' conftest.$ac_ext >&5
50331
50332 glibcxx_cv_func___builtin_cos_link=no
50333 fi
50334 rm -f conftest.err conftest.$ac_objext \
50335       conftest$ac_exeext conftest.$ac_ext
50336
50337 fi
50338
50339     fi
50340     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
50341 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
50342
50343     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
50344
50345 cat >>confdefs.h <<\_ACEOF
50346 #define HAVE___BUILTIN_COS 1
50347 _ACEOF
50348
50349     fi
50350
50351   fi
50352
50353
50354   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
50355 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
50356   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
50357     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
50358   echo $ECHO_N "(cached) $ECHO_C" >&6
50359 else
50360
50361
50362
50363       ac_ext=cc
50364 ac_cpp='$CXXCPP $CPPFLAGS'
50365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50368
50369       cat >conftest.$ac_ext <<_ACEOF
50370 /* confdefs.h.  */
50371 _ACEOF
50372 cat confdefs.h >>conftest.$ac_ext
50373 cat >>conftest.$ac_ext <<_ACEOF
50374 /* end confdefs.h.  */
50375 #include <math.h>
50376 int
50377 main ()
50378 {
50379  __builtin_cosl(0);
50380   ;
50381   return 0;
50382 }
50383 _ACEOF
50384 rm -f conftest.$ac_objext
50385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50386   (eval $ac_compile) 2>conftest.er1
50387   ac_status=$?
50388   grep -v '^ *+' conftest.er1 >conftest.err
50389   rm -f conftest.er1
50390   cat conftest.err >&5
50391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50392   (exit $ac_status); } &&
50393          { ac_try='test -z "$ac_cxx_werror_flag"
50394                          || test ! -s conftest.err'
50395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50396   (eval $ac_try) 2>&5
50397   ac_status=$?
50398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50399   (exit $ac_status); }; } &&
50400          { ac_try='test -s conftest.$ac_objext'
50401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50402   (eval $ac_try) 2>&5
50403   ac_status=$?
50404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50405   (exit $ac_status); }; }; then
50406   glibcxx_cv_func___builtin_cosl_use=yes
50407 else
50408   echo "$as_me: failed program was:" >&5
50409 sed 's/^/| /' conftest.$ac_ext >&5
50410
50411 glibcxx_cv_func___builtin_cosl_use=no
50412 fi
50413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50414       ac_ext=c
50415 ac_cpp='$CPP $CPPFLAGS'
50416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50419
50420
50421 fi
50422
50423   fi
50424   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
50425 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
50426   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
50427     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
50428 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
50429     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
50430       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
50431   echo $ECHO_N "(cached) $ECHO_C" >&6
50432 else
50433
50434         if test x$gcc_no_link = xyes; then
50435   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50437    { (exit 1); exit 1; }; }
50438 fi
50439 cat >conftest.$ac_ext <<_ACEOF
50440 /* confdefs.h.  */
50441 _ACEOF
50442 cat confdefs.h >>conftest.$ac_ext
50443 cat >>conftest.$ac_ext <<_ACEOF
50444 /* end confdefs.h.  */
50445 #include <math.h>
50446 int
50447 main ()
50448 {
50449  __builtin_cosl(0);
50450   ;
50451   return 0;
50452 }
50453 _ACEOF
50454 rm -f conftest.$ac_objext conftest$ac_exeext
50455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50456   (eval $ac_link) 2>conftest.er1
50457   ac_status=$?
50458   grep -v '^ *+' conftest.er1 >conftest.err
50459   rm -f conftest.er1
50460   cat conftest.err >&5
50461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50462   (exit $ac_status); } &&
50463          { ac_try='test -z "$ac_c_werror_flag"
50464                          || test ! -s conftest.err'
50465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50466   (eval $ac_try) 2>&5
50467   ac_status=$?
50468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50469   (exit $ac_status); }; } &&
50470          { ac_try='test -s conftest$ac_exeext'
50471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50472   (eval $ac_try) 2>&5
50473   ac_status=$?
50474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50475   (exit $ac_status); }; }; then
50476   glibcxx_cv_func___builtin_cosl_link=yes
50477 else
50478   echo "$as_me: failed program was:" >&5
50479 sed 's/^/| /' conftest.$ac_ext >&5
50480
50481 glibcxx_cv_func___builtin_cosl_link=no
50482 fi
50483 rm -f conftest.err conftest.$ac_objext \
50484       conftest$ac_exeext conftest.$ac_ext
50485
50486 fi
50487
50488     fi
50489     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
50490 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
50491
50492     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
50493
50494 cat >>confdefs.h <<\_ACEOF
50495 #define HAVE___BUILTIN_COSL 1
50496 _ACEOF
50497
50498     fi
50499
50500   fi
50501
50502
50503
50504
50505 echo "$as_me:$LINENO: checking for main in -lm" >&5
50506 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
50507 if test "${ac_cv_lib_m_main+set}" = set; then
50508   echo $ECHO_N "(cached) $ECHO_C" >&6
50509 else
50510   ac_check_lib_save_LIBS=$LIBS
50511 LIBS="-lm  $LIBS"
50512 if test x$gcc_no_link = xyes; then
50513   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50515    { (exit 1); exit 1; }; }
50516 fi
50517 cat >conftest.$ac_ext <<_ACEOF
50518 /* confdefs.h.  */
50519 _ACEOF
50520 cat confdefs.h >>conftest.$ac_ext
50521 cat >>conftest.$ac_ext <<_ACEOF
50522 /* end confdefs.h.  */
50523
50524
50525 int
50526 main ()
50527 {
50528 main ();
50529   ;
50530   return 0;
50531 }
50532 _ACEOF
50533 rm -f conftest.$ac_objext conftest$ac_exeext
50534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50535   (eval $ac_link) 2>conftest.er1
50536   ac_status=$?
50537   grep -v '^ *+' conftest.er1 >conftest.err
50538   rm -f conftest.er1
50539   cat conftest.err >&5
50540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50541   (exit $ac_status); } &&
50542          { ac_try='test -z "$ac_c_werror_flag"
50543                          || test ! -s conftest.err'
50544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50545   (eval $ac_try) 2>&5
50546   ac_status=$?
50547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50548   (exit $ac_status); }; } &&
50549          { ac_try='test -s conftest$ac_exeext'
50550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50551   (eval $ac_try) 2>&5
50552   ac_status=$?
50553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50554   (exit $ac_status); }; }; then
50555   ac_cv_lib_m_main=yes
50556 else
50557   echo "$as_me: failed program was:" >&5
50558 sed 's/^/| /' conftest.$ac_ext >&5
50559
50560 ac_cv_lib_m_main=no
50561 fi
50562 rm -f conftest.err conftest.$ac_objext \
50563       conftest$ac_exeext conftest.$ac_ext
50564 LIBS=$ac_check_lib_save_LIBS
50565 fi
50566 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
50567 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
50568 if test $ac_cv_lib_m_main = yes; then
50569   cat >>confdefs.h <<_ACEOF
50570 #define HAVE_LIBM 1
50571 _ACEOF
50572
50573   LIBS="-lm $LIBS"
50574
50575 fi
50576
50577
50578 for ac_func in copysignf
50579 do
50580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50581 echo "$as_me:$LINENO: checking for $ac_func" >&5
50582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50583 if eval "test \"\${$as_ac_var+set}\" = set"; then
50584   echo $ECHO_N "(cached) $ECHO_C" >&6
50585 else
50586   if test x$gcc_no_link = xyes; then
50587   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50589    { (exit 1); exit 1; }; }
50590 fi
50591 cat >conftest.$ac_ext <<_ACEOF
50592 /* confdefs.h.  */
50593 _ACEOF
50594 cat confdefs.h >>conftest.$ac_ext
50595 cat >>conftest.$ac_ext <<_ACEOF
50596 /* end confdefs.h.  */
50597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50598    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50599 #define $ac_func innocuous_$ac_func
50600
50601 /* System header to define __stub macros and hopefully few prototypes,
50602     which can conflict with char $ac_func (); below.
50603     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50604     <limits.h> exists even on freestanding compilers.  */
50605
50606 #ifdef __STDC__
50607 # include <limits.h>
50608 #else
50609 # include <assert.h>
50610 #endif
50611
50612 #undef $ac_func
50613
50614 /* Override any gcc2 internal prototype to avoid an error.  */
50615 #ifdef __cplusplus
50616 extern "C"
50617 {
50618 #endif
50619 /* We use char because int might match the return type of a gcc2
50620    builtin and then its argument prototype would still apply.  */
50621 char $ac_func ();
50622 /* The GNU C library defines this for functions which it implements
50623     to always fail with ENOSYS.  Some functions are actually named
50624     something starting with __ and the normal name is an alias.  */
50625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50626 choke me
50627 #else
50628 char (*f) () = $ac_func;
50629 #endif
50630 #ifdef __cplusplus
50631 }
50632 #endif
50633
50634 int
50635 main ()
50636 {
50637 return f != $ac_func;
50638   ;
50639   return 0;
50640 }
50641 _ACEOF
50642 rm -f conftest.$ac_objext conftest$ac_exeext
50643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50644   (eval $ac_link) 2>conftest.er1
50645   ac_status=$?
50646   grep -v '^ *+' conftest.er1 >conftest.err
50647   rm -f conftest.er1
50648   cat conftest.err >&5
50649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50650   (exit $ac_status); } &&
50651          { ac_try='test -z "$ac_c_werror_flag"
50652                          || test ! -s conftest.err'
50653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50654   (eval $ac_try) 2>&5
50655   ac_status=$?
50656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50657   (exit $ac_status); }; } &&
50658          { ac_try='test -s conftest$ac_exeext'
50659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50660   (eval $ac_try) 2>&5
50661   ac_status=$?
50662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50663   (exit $ac_status); }; }; then
50664   eval "$as_ac_var=yes"
50665 else
50666   echo "$as_me: failed program was:" >&5
50667 sed 's/^/| /' conftest.$ac_ext >&5
50668
50669 eval "$as_ac_var=no"
50670 fi
50671 rm -f conftest.err conftest.$ac_objext \
50672       conftest$ac_exeext conftest.$ac_ext
50673 fi
50674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50676 if test `eval echo '${'$as_ac_var'}'` = yes; then
50677   cat >>confdefs.h <<_ACEOF
50678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50679 _ACEOF
50680
50681 else
50682   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
50683 fi
50684 done
50685
50686
50687
50688 for ac_func in __signbit
50689 do
50690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50691 echo "$as_me:$LINENO: checking for $ac_func" >&5
50692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50693 if eval "test \"\${$as_ac_var+set}\" = set"; then
50694   echo $ECHO_N "(cached) $ECHO_C" >&6
50695 else
50696   if test x$gcc_no_link = xyes; then
50697   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50699    { (exit 1); exit 1; }; }
50700 fi
50701 cat >conftest.$ac_ext <<_ACEOF
50702 /* confdefs.h.  */
50703 _ACEOF
50704 cat confdefs.h >>conftest.$ac_ext
50705 cat >>conftest.$ac_ext <<_ACEOF
50706 /* end confdefs.h.  */
50707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50708    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50709 #define $ac_func innocuous_$ac_func
50710
50711 /* System header to define __stub macros and hopefully few prototypes,
50712     which can conflict with char $ac_func (); below.
50713     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50714     <limits.h> exists even on freestanding compilers.  */
50715
50716 #ifdef __STDC__
50717 # include <limits.h>
50718 #else
50719 # include <assert.h>
50720 #endif
50721
50722 #undef $ac_func
50723
50724 /* Override any gcc2 internal prototype to avoid an error.  */
50725 #ifdef __cplusplus
50726 extern "C"
50727 {
50728 #endif
50729 /* We use char because int might match the return type of a gcc2
50730    builtin and then its argument prototype would still apply.  */
50731 char $ac_func ();
50732 /* The GNU C library defines this for functions which it implements
50733     to always fail with ENOSYS.  Some functions are actually named
50734     something starting with __ and the normal name is an alias.  */
50735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50736 choke me
50737 #else
50738 char (*f) () = $ac_func;
50739 #endif
50740 #ifdef __cplusplus
50741 }
50742 #endif
50743
50744 int
50745 main ()
50746 {
50747 return f != $ac_func;
50748   ;
50749   return 0;
50750 }
50751 _ACEOF
50752 rm -f conftest.$ac_objext conftest$ac_exeext
50753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50754   (eval $ac_link) 2>conftest.er1
50755   ac_status=$?
50756   grep -v '^ *+' conftest.er1 >conftest.err
50757   rm -f conftest.er1
50758   cat conftest.err >&5
50759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50760   (exit $ac_status); } &&
50761          { ac_try='test -z "$ac_c_werror_flag"
50762                          || test ! -s conftest.err'
50763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50764   (eval $ac_try) 2>&5
50765   ac_status=$?
50766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50767   (exit $ac_status); }; } &&
50768          { ac_try='test -s conftest$ac_exeext'
50769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50770   (eval $ac_try) 2>&5
50771   ac_status=$?
50772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50773   (exit $ac_status); }; }; then
50774   eval "$as_ac_var=yes"
50775 else
50776   echo "$as_me: failed program was:" >&5
50777 sed 's/^/| /' conftest.$ac_ext >&5
50778
50779 eval "$as_ac_var=no"
50780 fi
50781 rm -f conftest.err conftest.$ac_objext \
50782       conftest$ac_exeext conftest.$ac_ext
50783 fi
50784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50786 if test `eval echo '${'$as_ac_var'}'` = yes; then
50787   cat >>confdefs.h <<_ACEOF
50788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50789 _ACEOF
50790
50791 else
50792   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
50793 fi
50794 done
50795
50796
50797
50798 for ac_func in __signbitf
50799 do
50800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50801 echo "$as_me:$LINENO: checking for $ac_func" >&5
50802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50803 if eval "test \"\${$as_ac_var+set}\" = set"; then
50804   echo $ECHO_N "(cached) $ECHO_C" >&6
50805 else
50806   if test x$gcc_no_link = xyes; then
50807   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50809    { (exit 1); exit 1; }; }
50810 fi
50811 cat >conftest.$ac_ext <<_ACEOF
50812 /* confdefs.h.  */
50813 _ACEOF
50814 cat confdefs.h >>conftest.$ac_ext
50815 cat >>conftest.$ac_ext <<_ACEOF
50816 /* end confdefs.h.  */
50817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50818    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50819 #define $ac_func innocuous_$ac_func
50820
50821 /* System header to define __stub macros and hopefully few prototypes,
50822     which can conflict with char $ac_func (); below.
50823     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50824     <limits.h> exists even on freestanding compilers.  */
50825
50826 #ifdef __STDC__
50827 # include <limits.h>
50828 #else
50829 # include <assert.h>
50830 #endif
50831
50832 #undef $ac_func
50833
50834 /* Override any gcc2 internal prototype to avoid an error.  */
50835 #ifdef __cplusplus
50836 extern "C"
50837 {
50838 #endif
50839 /* We use char because int might match the return type of a gcc2
50840    builtin and then its argument prototype would still apply.  */
50841 char $ac_func ();
50842 /* The GNU C library defines this for functions which it implements
50843     to always fail with ENOSYS.  Some functions are actually named
50844     something starting with __ and the normal name is an alias.  */
50845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50846 choke me
50847 #else
50848 char (*f) () = $ac_func;
50849 #endif
50850 #ifdef __cplusplus
50851 }
50852 #endif
50853
50854 int
50855 main ()
50856 {
50857 return f != $ac_func;
50858   ;
50859   return 0;
50860 }
50861 _ACEOF
50862 rm -f conftest.$ac_objext conftest$ac_exeext
50863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50864   (eval $ac_link) 2>conftest.er1
50865   ac_status=$?
50866   grep -v '^ *+' conftest.er1 >conftest.err
50867   rm -f conftest.er1
50868   cat conftest.err >&5
50869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50870   (exit $ac_status); } &&
50871          { ac_try='test -z "$ac_c_werror_flag"
50872                          || test ! -s conftest.err'
50873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50874   (eval $ac_try) 2>&5
50875   ac_status=$?
50876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50877   (exit $ac_status); }; } &&
50878          { ac_try='test -s conftest$ac_exeext'
50879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50880   (eval $ac_try) 2>&5
50881   ac_status=$?
50882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50883   (exit $ac_status); }; }; then
50884   eval "$as_ac_var=yes"
50885 else
50886   echo "$as_me: failed program was:" >&5
50887 sed 's/^/| /' conftest.$ac_ext >&5
50888
50889 eval "$as_ac_var=no"
50890 fi
50891 rm -f conftest.err conftest.$ac_objext \
50892       conftest$ac_exeext conftest.$ac_ext
50893 fi
50894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50895 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50896 if test `eval echo '${'$as_ac_var'}'` = yes; then
50897   cat >>confdefs.h <<_ACEOF
50898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50899 _ACEOF
50900
50901 else
50902   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
50903 fi
50904 done
50905
50906
50907           if test x$ac_cv_func_copysignl = x"yes"; then
50908
50909 for ac_func in __signbitl
50910 do
50911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50912 echo "$as_me:$LINENO: checking for $ac_func" >&5
50913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50914 if eval "test \"\${$as_ac_var+set}\" = set"; then
50915   echo $ECHO_N "(cached) $ECHO_C" >&6
50916 else
50917   if test x$gcc_no_link = xyes; then
50918   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50920    { (exit 1); exit 1; }; }
50921 fi
50922 cat >conftest.$ac_ext <<_ACEOF
50923 /* confdefs.h.  */
50924 _ACEOF
50925 cat confdefs.h >>conftest.$ac_ext
50926 cat >>conftest.$ac_ext <<_ACEOF
50927 /* end confdefs.h.  */
50928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50929    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50930 #define $ac_func innocuous_$ac_func
50931
50932 /* System header to define __stub macros and hopefully few prototypes,
50933     which can conflict with char $ac_func (); below.
50934     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50935     <limits.h> exists even on freestanding compilers.  */
50936
50937 #ifdef __STDC__
50938 # include <limits.h>
50939 #else
50940 # include <assert.h>
50941 #endif
50942
50943 #undef $ac_func
50944
50945 /* Override any gcc2 internal prototype to avoid an error.  */
50946 #ifdef __cplusplus
50947 extern "C"
50948 {
50949 #endif
50950 /* We use char because int might match the return type of a gcc2
50951    builtin and then its argument prototype would still apply.  */
50952 char $ac_func ();
50953 /* The GNU C library defines this for functions which it implements
50954     to always fail with ENOSYS.  Some functions are actually named
50955     something starting with __ and the normal name is an alias.  */
50956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50957 choke me
50958 #else
50959 char (*f) () = $ac_func;
50960 #endif
50961 #ifdef __cplusplus
50962 }
50963 #endif
50964
50965 int
50966 main ()
50967 {
50968 return f != $ac_func;
50969   ;
50970   return 0;
50971 }
50972 _ACEOF
50973 rm -f conftest.$ac_objext conftest$ac_exeext
50974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50975   (eval $ac_link) 2>conftest.er1
50976   ac_status=$?
50977   grep -v '^ *+' conftest.er1 >conftest.err
50978   rm -f conftest.er1
50979   cat conftest.err >&5
50980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50981   (exit $ac_status); } &&
50982          { ac_try='test -z "$ac_c_werror_flag"
50983                          || test ! -s conftest.err'
50984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50985   (eval $ac_try) 2>&5
50986   ac_status=$?
50987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50988   (exit $ac_status); }; } &&
50989          { ac_try='test -s conftest$ac_exeext'
50990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50991   (eval $ac_try) 2>&5
50992   ac_status=$?
50993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50994   (exit $ac_status); }; }; then
50995   eval "$as_ac_var=yes"
50996 else
50997   echo "$as_me: failed program was:" >&5
50998 sed 's/^/| /' conftest.$ac_ext >&5
50999
51000 eval "$as_ac_var=no"
51001 fi
51002 rm -f conftest.err conftest.$ac_objext \
51003       conftest$ac_exeext conftest.$ac_ext
51004 fi
51005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51007 if test `eval echo '${'$as_ac_var'}'` = yes; then
51008   cat >>confdefs.h <<_ACEOF
51009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51010 _ACEOF
51011
51012 else
51013   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
51014 fi
51015 done
51016
51017   fi
51018
51019   # Used in libmath/Makefile.am.
51020   if test -n "$LIBMATHOBJS"; then
51021     need_libmath=yes
51022   fi
51023
51024
51025
51026
51027   enable_iconv=no
51028   # Only continue checking if the ISO C99 headers exist and support is on.
51029   if test x"$enable_wchar_t" = xyes; then
51030
51031     # Use iconv for wchar_t to char conversions. As such, check for
51032     # X/Open Portability Guide, version 2 features (XPG2).
51033     if test "${ac_cv_header_iconv_h+set}" = set; then
51034   echo "$as_me:$LINENO: checking for iconv.h" >&5
51035 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51036 if test "${ac_cv_header_iconv_h+set}" = set; then
51037   echo $ECHO_N "(cached) $ECHO_C" >&6
51038 fi
51039 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51040 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51041 else
51042   # Is the header compilable?
51043 echo "$as_me:$LINENO: checking iconv.h usability" >&5
51044 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
51045 cat >conftest.$ac_ext <<_ACEOF
51046 /* confdefs.h.  */
51047 _ACEOF
51048 cat confdefs.h >>conftest.$ac_ext
51049 cat >>conftest.$ac_ext <<_ACEOF
51050 /* end confdefs.h.  */
51051 $ac_includes_default
51052 #include <iconv.h>
51053 _ACEOF
51054 rm -f conftest.$ac_objext
51055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51056   (eval $ac_compile) 2>conftest.er1
51057   ac_status=$?
51058   grep -v '^ *+' conftest.er1 >conftest.err
51059   rm -f conftest.er1
51060   cat conftest.err >&5
51061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51062   (exit $ac_status); } &&
51063          { ac_try='test -z "$ac_c_werror_flag"
51064                          || test ! -s conftest.err'
51065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51066   (eval $ac_try) 2>&5
51067   ac_status=$?
51068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51069   (exit $ac_status); }; } &&
51070          { ac_try='test -s conftest.$ac_objext'
51071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51072   (eval $ac_try) 2>&5
51073   ac_status=$?
51074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51075   (exit $ac_status); }; }; then
51076   ac_header_compiler=yes
51077 else
51078   echo "$as_me: failed program was:" >&5
51079 sed 's/^/| /' conftest.$ac_ext >&5
51080
51081 ac_header_compiler=no
51082 fi
51083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51084 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51085 echo "${ECHO_T}$ac_header_compiler" >&6
51086
51087 # Is the header present?
51088 echo "$as_me:$LINENO: checking iconv.h presence" >&5
51089 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
51090 cat >conftest.$ac_ext <<_ACEOF
51091 /* confdefs.h.  */
51092 _ACEOF
51093 cat confdefs.h >>conftest.$ac_ext
51094 cat >>conftest.$ac_ext <<_ACEOF
51095 /* end confdefs.h.  */
51096 #include <iconv.h>
51097 _ACEOF
51098 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51099   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51100   ac_status=$?
51101   grep -v '^ *+' conftest.er1 >conftest.err
51102   rm -f conftest.er1
51103   cat conftest.err >&5
51104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51105   (exit $ac_status); } >/dev/null; then
51106   if test -s conftest.err; then
51107     ac_cpp_err=$ac_c_preproc_warn_flag
51108     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51109   else
51110     ac_cpp_err=
51111   fi
51112 else
51113   ac_cpp_err=yes
51114 fi
51115 if test -z "$ac_cpp_err"; then
51116   ac_header_preproc=yes
51117 else
51118   echo "$as_me: failed program was:" >&5
51119 sed 's/^/| /' conftest.$ac_ext >&5
51120
51121   ac_header_preproc=no
51122 fi
51123 rm -f conftest.err conftest.$ac_ext
51124 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51125 echo "${ECHO_T}$ac_header_preproc" >&6
51126
51127 # So?  What about this header?
51128 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51129   yes:no: )
51130     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
51131 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51132     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
51133 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
51134     ac_header_preproc=yes
51135     ;;
51136   no:yes:* )
51137     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
51138 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
51139     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
51140 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
51141     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
51142 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
51143     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
51144 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
51145     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
51146 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
51147     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
51148 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
51149     (
51150       cat <<\_ASBOX
51151 ## ----------------------------------------- ##
51152 ## Report this to the package-unused lists.  ##
51153 ## ----------------------------------------- ##
51154 _ASBOX
51155     ) |
51156       sed "s/^/$as_me: WARNING:     /" >&2
51157     ;;
51158 esac
51159 echo "$as_me:$LINENO: checking for iconv.h" >&5
51160 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51161 if test "${ac_cv_header_iconv_h+set}" = set; then
51162   echo $ECHO_N "(cached) $ECHO_C" >&6
51163 else
51164   ac_cv_header_iconv_h=$ac_header_preproc
51165 fi
51166 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51167 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51168
51169 fi
51170 if test $ac_cv_header_iconv_h = yes; then
51171   ac_has_iconv_h=yes
51172 else
51173   ac_has_iconv_h=no
51174 fi
51175
51176
51177     if test "${ac_cv_header_langinfo_h+set}" = set; then
51178   echo "$as_me:$LINENO: checking for langinfo.h" >&5
51179 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51180 if test "${ac_cv_header_langinfo_h+set}" = set; then
51181   echo $ECHO_N "(cached) $ECHO_C" >&6
51182 fi
51183 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51184 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51185 else
51186   # Is the header compilable?
51187 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
51188 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
51189 cat >conftest.$ac_ext <<_ACEOF
51190 /* confdefs.h.  */
51191 _ACEOF
51192 cat confdefs.h >>conftest.$ac_ext
51193 cat >>conftest.$ac_ext <<_ACEOF
51194 /* end confdefs.h.  */
51195 $ac_includes_default
51196 #include <langinfo.h>
51197 _ACEOF
51198 rm -f conftest.$ac_objext
51199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51200   (eval $ac_compile) 2>conftest.er1
51201   ac_status=$?
51202   grep -v '^ *+' conftest.er1 >conftest.err
51203   rm -f conftest.er1
51204   cat conftest.err >&5
51205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51206   (exit $ac_status); } &&
51207          { ac_try='test -z "$ac_c_werror_flag"
51208                          || test ! -s conftest.err'
51209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51210   (eval $ac_try) 2>&5
51211   ac_status=$?
51212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51213   (exit $ac_status); }; } &&
51214          { ac_try='test -s conftest.$ac_objext'
51215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51216   (eval $ac_try) 2>&5
51217   ac_status=$?
51218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51219   (exit $ac_status); }; }; then
51220   ac_header_compiler=yes
51221 else
51222   echo "$as_me: failed program was:" >&5
51223 sed 's/^/| /' conftest.$ac_ext >&5
51224
51225 ac_header_compiler=no
51226 fi
51227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51228 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51229 echo "${ECHO_T}$ac_header_compiler" >&6
51230
51231 # Is the header present?
51232 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
51233 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
51234 cat >conftest.$ac_ext <<_ACEOF
51235 /* confdefs.h.  */
51236 _ACEOF
51237 cat confdefs.h >>conftest.$ac_ext
51238 cat >>conftest.$ac_ext <<_ACEOF
51239 /* end confdefs.h.  */
51240 #include <langinfo.h>
51241 _ACEOF
51242 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51243   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51244   ac_status=$?
51245   grep -v '^ *+' conftest.er1 >conftest.err
51246   rm -f conftest.er1
51247   cat conftest.err >&5
51248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51249   (exit $ac_status); } >/dev/null; then
51250   if test -s conftest.err; then
51251     ac_cpp_err=$ac_c_preproc_warn_flag
51252     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51253   else
51254     ac_cpp_err=
51255   fi
51256 else
51257   ac_cpp_err=yes
51258 fi
51259 if test -z "$ac_cpp_err"; then
51260   ac_header_preproc=yes
51261 else
51262   echo "$as_me: failed program was:" >&5
51263 sed 's/^/| /' conftest.$ac_ext >&5
51264
51265   ac_header_preproc=no
51266 fi
51267 rm -f conftest.err conftest.$ac_ext
51268 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51269 echo "${ECHO_T}$ac_header_preproc" >&6
51270
51271 # So?  What about this header?
51272 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51273   yes:no: )
51274     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
51275 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51276     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
51277 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
51278     ac_header_preproc=yes
51279     ;;
51280   no:yes:* )
51281     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
51282 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
51283     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
51284 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
51285     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
51286 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
51287     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
51288 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
51289     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
51290 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
51291     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
51292 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
51293     (
51294       cat <<\_ASBOX
51295 ## ----------------------------------------- ##
51296 ## Report this to the package-unused lists.  ##
51297 ## ----------------------------------------- ##
51298 _ASBOX
51299     ) |
51300       sed "s/^/$as_me: WARNING:     /" >&2
51301     ;;
51302 esac
51303 echo "$as_me:$LINENO: checking for langinfo.h" >&5
51304 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51305 if test "${ac_cv_header_langinfo_h+set}" = set; then
51306   echo $ECHO_N "(cached) $ECHO_C" >&6
51307 else
51308   ac_cv_header_langinfo_h=$ac_header_preproc
51309 fi
51310 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51311 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51312
51313 fi
51314 if test $ac_cv_header_langinfo_h = yes; then
51315   ac_has_langinfo_h=yes
51316 else
51317   ac_has_langinfo_h=no
51318 fi
51319
51320
51321
51322     # Check for existence of libiconv.a providing XPG2 wchar_t support.
51323     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
51324 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
51325 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
51326   echo $ECHO_N "(cached) $ECHO_C" >&6
51327 else
51328   ac_check_lib_save_LIBS=$LIBS
51329 LIBS="-liconv  $LIBS"
51330 if test x$gcc_no_link = xyes; then
51331   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51333    { (exit 1); exit 1; }; }
51334 fi
51335 cat >conftest.$ac_ext <<_ACEOF
51336 /* confdefs.h.  */
51337 _ACEOF
51338 cat confdefs.h >>conftest.$ac_ext
51339 cat >>conftest.$ac_ext <<_ACEOF
51340 /* end confdefs.h.  */
51341
51342 /* Override any gcc2 internal prototype to avoid an error.  */
51343 #ifdef __cplusplus
51344 extern "C"
51345 #endif
51346 /* We use char because int might match the return type of a gcc2
51347    builtin and then its argument prototype would still apply.  */
51348 char iconv ();
51349 int
51350 main ()
51351 {
51352 iconv ();
51353   ;
51354   return 0;
51355 }
51356 _ACEOF
51357 rm -f conftest.$ac_objext conftest$ac_exeext
51358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51359   (eval $ac_link) 2>conftest.er1
51360   ac_status=$?
51361   grep -v '^ *+' conftest.er1 >conftest.err
51362   rm -f conftest.er1
51363   cat conftest.err >&5
51364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51365   (exit $ac_status); } &&
51366          { ac_try='test -z "$ac_c_werror_flag"
51367                          || test ! -s conftest.err'
51368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51369   (eval $ac_try) 2>&5
51370   ac_status=$?
51371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51372   (exit $ac_status); }; } &&
51373          { ac_try='test -s conftest$ac_exeext'
51374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51375   (eval $ac_try) 2>&5
51376   ac_status=$?
51377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51378   (exit $ac_status); }; }; then
51379   ac_cv_lib_iconv_iconv=yes
51380 else
51381   echo "$as_me: failed program was:" >&5
51382 sed 's/^/| /' conftest.$ac_ext >&5
51383
51384 ac_cv_lib_iconv_iconv=no
51385 fi
51386 rm -f conftest.err conftest.$ac_objext \
51387       conftest$ac_exeext conftest.$ac_ext
51388 LIBS=$ac_check_lib_save_LIBS
51389 fi
51390 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
51391 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
51392 if test $ac_cv_lib_iconv_iconv = yes; then
51393   LIBICONV="-liconv"
51394 fi
51395
51396     ac_save_LIBS="$LIBS"
51397     LIBS="$LIBS $LIBICONV"
51398
51399
51400
51401
51402
51403
51404 for ac_func in iconv_open iconv_close iconv nl_langinfo
51405 do
51406 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51407 echo "$as_me:$LINENO: checking for $ac_func" >&5
51408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51409 if eval "test \"\${$as_ac_var+set}\" = set"; then
51410   echo $ECHO_N "(cached) $ECHO_C" >&6
51411 else
51412   if test x$gcc_no_link = xyes; then
51413   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51415    { (exit 1); exit 1; }; }
51416 fi
51417 cat >conftest.$ac_ext <<_ACEOF
51418 /* confdefs.h.  */
51419 _ACEOF
51420 cat confdefs.h >>conftest.$ac_ext
51421 cat >>conftest.$ac_ext <<_ACEOF
51422 /* end confdefs.h.  */
51423 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51424    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51425 #define $ac_func innocuous_$ac_func
51426
51427 /* System header to define __stub macros and hopefully few prototypes,
51428     which can conflict with char $ac_func (); below.
51429     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51430     <limits.h> exists even on freestanding compilers.  */
51431
51432 #ifdef __STDC__
51433 # include <limits.h>
51434 #else
51435 # include <assert.h>
51436 #endif
51437
51438 #undef $ac_func
51439
51440 /* Override any gcc2 internal prototype to avoid an error.  */
51441 #ifdef __cplusplus
51442 extern "C"
51443 {
51444 #endif
51445 /* We use char because int might match the return type of a gcc2
51446    builtin and then its argument prototype would still apply.  */
51447 char $ac_func ();
51448 /* The GNU C library defines this for functions which it implements
51449     to always fail with ENOSYS.  Some functions are actually named
51450     something starting with __ and the normal name is an alias.  */
51451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51452 choke me
51453 #else
51454 char (*f) () = $ac_func;
51455 #endif
51456 #ifdef __cplusplus
51457 }
51458 #endif
51459
51460 int
51461 main ()
51462 {
51463 return f != $ac_func;
51464   ;
51465   return 0;
51466 }
51467 _ACEOF
51468 rm -f conftest.$ac_objext conftest$ac_exeext
51469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51470   (eval $ac_link) 2>conftest.er1
51471   ac_status=$?
51472   grep -v '^ *+' conftest.er1 >conftest.err
51473   rm -f conftest.er1
51474   cat conftest.err >&5
51475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51476   (exit $ac_status); } &&
51477          { ac_try='test -z "$ac_c_werror_flag"
51478                          || test ! -s conftest.err'
51479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51480   (eval $ac_try) 2>&5
51481   ac_status=$?
51482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51483   (exit $ac_status); }; } &&
51484          { ac_try='test -s conftest$ac_exeext'
51485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51486   (eval $ac_try) 2>&5
51487   ac_status=$?
51488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51489   (exit $ac_status); }; }; then
51490   eval "$as_ac_var=yes"
51491 else
51492   echo "$as_me: failed program was:" >&5
51493 sed 's/^/| /' conftest.$ac_ext >&5
51494
51495 eval "$as_ac_var=no"
51496 fi
51497 rm -f conftest.err conftest.$ac_objext \
51498       conftest$ac_exeext conftest.$ac_ext
51499 fi
51500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51501 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51502 if test `eval echo '${'$as_ac_var'}'` = yes; then
51503   cat >>confdefs.h <<_ACEOF
51504 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51505 _ACEOF
51506  ac_XPG2funcs=yes
51507 else
51508   ac_XPG2funcs=no
51509 fi
51510 done
51511
51512
51513     LIBS="$ac_save_LIBS"
51514
51515     if test x"$ac_has_iconv_h" = xyes &&
51516        test x"$ac_has_langinfo_h" = xyes &&
51517        test x"$ac_XPG2funcs" = xyes;
51518     then
51519
51520 cat >>confdefs.h <<\_ACEOF
51521 #define _GLIBCXX_USE_ICONV 1
51522 _ACEOF
51523
51524       enable_iconv=yes
51525     fi
51526   fi
51527   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
51528 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
51529   echo "$as_me:$LINENO: result: $enable_iconv" >&5
51530 echo "${ECHO_T}$enable_iconv" >&6
51531
51532
51533   ac_test_CXXFLAGS="${CXXFLAGS+set}"
51534   ac_save_CXXFLAGS="$CXXFLAGS"
51535   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51536
51537
51538   echo "$as_me:$LINENO: checking for strtold declaration" >&5
51539 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
51540   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51541     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
51542   echo $ECHO_N "(cached) $ECHO_C" >&6
51543 else
51544
51545
51546
51547       ac_ext=cc
51548 ac_cpp='$CXXCPP $CPPFLAGS'
51549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51552
51553       cat >conftest.$ac_ext <<_ACEOF
51554 /* confdefs.h.  */
51555 _ACEOF
51556 cat confdefs.h >>conftest.$ac_ext
51557 cat >>conftest.$ac_ext <<_ACEOF
51558 /* end confdefs.h.  */
51559 #include <stdlib.h>
51560 int
51561 main ()
51562 {
51563  strtold(0, 0);
51564   ;
51565   return 0;
51566 }
51567 _ACEOF
51568 rm -f conftest.$ac_objext
51569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51570   (eval $ac_compile) 2>conftest.er1
51571   ac_status=$?
51572   grep -v '^ *+' conftest.er1 >conftest.err
51573   rm -f conftest.er1
51574   cat conftest.err >&5
51575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51576   (exit $ac_status); } &&
51577          { ac_try='test -z "$ac_cxx_werror_flag"
51578                          || test ! -s conftest.err'
51579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51580   (eval $ac_try) 2>&5
51581   ac_status=$?
51582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51583   (exit $ac_status); }; } &&
51584          { ac_try='test -s conftest.$ac_objext'
51585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51586   (eval $ac_try) 2>&5
51587   ac_status=$?
51588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51589   (exit $ac_status); }; }; then
51590   glibcxx_cv_func_strtold_use=yes
51591 else
51592   echo "$as_me: failed program was:" >&5
51593 sed 's/^/| /' conftest.$ac_ext >&5
51594
51595 glibcxx_cv_func_strtold_use=no
51596 fi
51597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51598       ac_ext=c
51599 ac_cpp='$CPP $CPPFLAGS'
51600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51603
51604
51605 fi
51606
51607   fi
51608   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
51609 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
51610   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51611
51612 for ac_func in strtold
51613 do
51614 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51615 echo "$as_me:$LINENO: checking for $ac_func" >&5
51616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51617 if eval "test \"\${$as_ac_var+set}\" = set"; then
51618   echo $ECHO_N "(cached) $ECHO_C" >&6
51619 else
51620   if test x$gcc_no_link = xyes; then
51621   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51623    { (exit 1); exit 1; }; }
51624 fi
51625 cat >conftest.$ac_ext <<_ACEOF
51626 /* confdefs.h.  */
51627 _ACEOF
51628 cat confdefs.h >>conftest.$ac_ext
51629 cat >>conftest.$ac_ext <<_ACEOF
51630 /* end confdefs.h.  */
51631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51632    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51633 #define $ac_func innocuous_$ac_func
51634
51635 /* System header to define __stub macros and hopefully few prototypes,
51636     which can conflict with char $ac_func (); below.
51637     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51638     <limits.h> exists even on freestanding compilers.  */
51639
51640 #ifdef __STDC__
51641 # include <limits.h>
51642 #else
51643 # include <assert.h>
51644 #endif
51645
51646 #undef $ac_func
51647
51648 /* Override any gcc2 internal prototype to avoid an error.  */
51649 #ifdef __cplusplus
51650 extern "C"
51651 {
51652 #endif
51653 /* We use char because int might match the return type of a gcc2
51654    builtin and then its argument prototype would still apply.  */
51655 char $ac_func ();
51656 /* The GNU C library defines this for functions which it implements
51657     to always fail with ENOSYS.  Some functions are actually named
51658     something starting with __ and the normal name is an alias.  */
51659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51660 choke me
51661 #else
51662 char (*f) () = $ac_func;
51663 #endif
51664 #ifdef __cplusplus
51665 }
51666 #endif
51667
51668 int
51669 main ()
51670 {
51671 return f != $ac_func;
51672   ;
51673   return 0;
51674 }
51675 _ACEOF
51676 rm -f conftest.$ac_objext conftest$ac_exeext
51677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51678   (eval $ac_link) 2>conftest.er1
51679   ac_status=$?
51680   grep -v '^ *+' conftest.er1 >conftest.err
51681   rm -f conftest.er1
51682   cat conftest.err >&5
51683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51684   (exit $ac_status); } &&
51685          { ac_try='test -z "$ac_c_werror_flag"
51686                          || test ! -s conftest.err'
51687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51688   (eval $ac_try) 2>&5
51689   ac_status=$?
51690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51691   (exit $ac_status); }; } &&
51692          { ac_try='test -s conftest$ac_exeext'
51693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51694   (eval $ac_try) 2>&5
51695   ac_status=$?
51696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51697   (exit $ac_status); }; }; then
51698   eval "$as_ac_var=yes"
51699 else
51700   echo "$as_me: failed program was:" >&5
51701 sed 's/^/| /' conftest.$ac_ext >&5
51702
51703 eval "$as_ac_var=no"
51704 fi
51705 rm -f conftest.err conftest.$ac_objext \
51706       conftest$ac_exeext conftest.$ac_ext
51707 fi
51708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51710 if test `eval echo '${'$as_ac_var'}'` = yes; then
51711   cat >>confdefs.h <<_ACEOF
51712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51713 _ACEOF
51714
51715 fi
51716 done
51717
51718   fi
51719
51720
51721
51722
51723
51724   echo "$as_me:$LINENO: checking for strtof declaration" >&5
51725 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
51726   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51727     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
51728   echo $ECHO_N "(cached) $ECHO_C" >&6
51729 else
51730
51731
51732
51733       ac_ext=cc
51734 ac_cpp='$CXXCPP $CPPFLAGS'
51735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51738
51739       cat >conftest.$ac_ext <<_ACEOF
51740 /* confdefs.h.  */
51741 _ACEOF
51742 cat confdefs.h >>conftest.$ac_ext
51743 cat >>conftest.$ac_ext <<_ACEOF
51744 /* end confdefs.h.  */
51745 #include <stdlib.h>
51746 int
51747 main ()
51748 {
51749  strtof(0, 0);
51750   ;
51751   return 0;
51752 }
51753 _ACEOF
51754 rm -f conftest.$ac_objext
51755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51756   (eval $ac_compile) 2>conftest.er1
51757   ac_status=$?
51758   grep -v '^ *+' conftest.er1 >conftest.err
51759   rm -f conftest.er1
51760   cat conftest.err >&5
51761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51762   (exit $ac_status); } &&
51763          { ac_try='test -z "$ac_cxx_werror_flag"
51764                          || test ! -s conftest.err'
51765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51766   (eval $ac_try) 2>&5
51767   ac_status=$?
51768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51769   (exit $ac_status); }; } &&
51770          { ac_try='test -s conftest.$ac_objext'
51771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51772   (eval $ac_try) 2>&5
51773   ac_status=$?
51774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51775   (exit $ac_status); }; }; then
51776   glibcxx_cv_func_strtof_use=yes
51777 else
51778   echo "$as_me: failed program was:" >&5
51779 sed 's/^/| /' conftest.$ac_ext >&5
51780
51781 glibcxx_cv_func_strtof_use=no
51782 fi
51783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51784       ac_ext=c
51785 ac_cpp='$CPP $CPPFLAGS'
51786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51789
51790
51791 fi
51792
51793   fi
51794   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
51795 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
51796   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51797
51798 for ac_func in strtof
51799 do
51800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51801 echo "$as_me:$LINENO: checking for $ac_func" >&5
51802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51803 if eval "test \"\${$as_ac_var+set}\" = set"; then
51804   echo $ECHO_N "(cached) $ECHO_C" >&6
51805 else
51806   if test x$gcc_no_link = xyes; then
51807   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51809    { (exit 1); exit 1; }; }
51810 fi
51811 cat >conftest.$ac_ext <<_ACEOF
51812 /* confdefs.h.  */
51813 _ACEOF
51814 cat confdefs.h >>conftest.$ac_ext
51815 cat >>conftest.$ac_ext <<_ACEOF
51816 /* end confdefs.h.  */
51817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51818    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51819 #define $ac_func innocuous_$ac_func
51820
51821 /* System header to define __stub macros and hopefully few prototypes,
51822     which can conflict with char $ac_func (); below.
51823     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51824     <limits.h> exists even on freestanding compilers.  */
51825
51826 #ifdef __STDC__
51827 # include <limits.h>
51828 #else
51829 # include <assert.h>
51830 #endif
51831
51832 #undef $ac_func
51833
51834 /* Override any gcc2 internal prototype to avoid an error.  */
51835 #ifdef __cplusplus
51836 extern "C"
51837 {
51838 #endif
51839 /* We use char because int might match the return type of a gcc2
51840    builtin and then its argument prototype would still apply.  */
51841 char $ac_func ();
51842 /* The GNU C library defines this for functions which it implements
51843     to always fail with ENOSYS.  Some functions are actually named
51844     something starting with __ and the normal name is an alias.  */
51845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51846 choke me
51847 #else
51848 char (*f) () = $ac_func;
51849 #endif
51850 #ifdef __cplusplus
51851 }
51852 #endif
51853
51854 int
51855 main ()
51856 {
51857 return f != $ac_func;
51858   ;
51859   return 0;
51860 }
51861 _ACEOF
51862 rm -f conftest.$ac_objext conftest$ac_exeext
51863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51864   (eval $ac_link) 2>conftest.er1
51865   ac_status=$?
51866   grep -v '^ *+' conftest.er1 >conftest.err
51867   rm -f conftest.er1
51868   cat conftest.err >&5
51869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51870   (exit $ac_status); } &&
51871          { ac_try='test -z "$ac_c_werror_flag"
51872                          || test ! -s conftest.err'
51873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51874   (eval $ac_try) 2>&5
51875   ac_status=$?
51876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51877   (exit $ac_status); }; } &&
51878          { ac_try='test -s conftest$ac_exeext'
51879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51880   (eval $ac_try) 2>&5
51881   ac_status=$?
51882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51883   (exit $ac_status); }; }; then
51884   eval "$as_ac_var=yes"
51885 else
51886   echo "$as_me: failed program was:" >&5
51887 sed 's/^/| /' conftest.$ac_ext >&5
51888
51889 eval "$as_ac_var=no"
51890 fi
51891 rm -f conftest.err conftest.$ac_objext \
51892       conftest$ac_exeext conftest.$ac_ext
51893 fi
51894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51895 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51896 if test `eval echo '${'$as_ac_var'}'` = yes; then
51897   cat >>confdefs.h <<_ACEOF
51898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51899 _ACEOF
51900
51901 fi
51902 done
51903
51904   fi
51905
51906
51907
51908
51909
51910   CXXFLAGS="$ac_save_CXXFLAGS"
51911
51912
51913     # For showmanyc_helper().
51914
51915
51916 for ac_header in sys/ioctl.h sys/filio.h
51917 do
51918 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51919 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51920   echo "$as_me:$LINENO: checking for $ac_header" >&5
51921 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51922 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51923   echo $ECHO_N "(cached) $ECHO_C" >&6
51924 fi
51925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51926 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51927 else
51928   # Is the header compilable?
51929 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51930 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51931 cat >conftest.$ac_ext <<_ACEOF
51932 /* confdefs.h.  */
51933 _ACEOF
51934 cat confdefs.h >>conftest.$ac_ext
51935 cat >>conftest.$ac_ext <<_ACEOF
51936 /* end confdefs.h.  */
51937 $ac_includes_default
51938 #include <$ac_header>
51939 _ACEOF
51940 rm -f conftest.$ac_objext
51941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51942   (eval $ac_compile) 2>conftest.er1
51943   ac_status=$?
51944   grep -v '^ *+' conftest.er1 >conftest.err
51945   rm -f conftest.er1
51946   cat conftest.err >&5
51947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51948   (exit $ac_status); } &&
51949          { ac_try='test -z "$ac_c_werror_flag"
51950                          || test ! -s conftest.err'
51951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51952   (eval $ac_try) 2>&5
51953   ac_status=$?
51954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51955   (exit $ac_status); }; } &&
51956          { ac_try='test -s conftest.$ac_objext'
51957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51958   (eval $ac_try) 2>&5
51959   ac_status=$?
51960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51961   (exit $ac_status); }; }; then
51962   ac_header_compiler=yes
51963 else
51964   echo "$as_me: failed program was:" >&5
51965 sed 's/^/| /' conftest.$ac_ext >&5
51966
51967 ac_header_compiler=no
51968 fi
51969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51970 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51971 echo "${ECHO_T}$ac_header_compiler" >&6
51972
51973 # Is the header present?
51974 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51975 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51976 cat >conftest.$ac_ext <<_ACEOF
51977 /* confdefs.h.  */
51978 _ACEOF
51979 cat confdefs.h >>conftest.$ac_ext
51980 cat >>conftest.$ac_ext <<_ACEOF
51981 /* end confdefs.h.  */
51982 #include <$ac_header>
51983 _ACEOF
51984 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51985   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51986   ac_status=$?
51987   grep -v '^ *+' conftest.er1 >conftest.err
51988   rm -f conftest.er1
51989   cat conftest.err >&5
51990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51991   (exit $ac_status); } >/dev/null; then
51992   if test -s conftest.err; then
51993     ac_cpp_err=$ac_c_preproc_warn_flag
51994     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51995   else
51996     ac_cpp_err=
51997   fi
51998 else
51999   ac_cpp_err=yes
52000 fi
52001 if test -z "$ac_cpp_err"; then
52002   ac_header_preproc=yes
52003 else
52004   echo "$as_me: failed program was:" >&5
52005 sed 's/^/| /' conftest.$ac_ext >&5
52006
52007   ac_header_preproc=no
52008 fi
52009 rm -f conftest.err conftest.$ac_ext
52010 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52011 echo "${ECHO_T}$ac_header_preproc" >&6
52012
52013 # So?  What about this header?
52014 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52015   yes:no: )
52016     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52017 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52018     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52019 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52020     ac_header_preproc=yes
52021     ;;
52022   no:yes:* )
52023     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52024 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52025     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
52026 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
52027     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52028 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52029     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
52030 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
52031     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52032 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52033     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52034 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52035     (
52036       cat <<\_ASBOX
52037 ## ----------------------------------------- ##
52038 ## Report this to the package-unused lists.  ##
52039 ## ----------------------------------------- ##
52040 _ASBOX
52041     ) |
52042       sed "s/^/$as_me: WARNING:     /" >&2
52043     ;;
52044 esac
52045 echo "$as_me:$LINENO: checking for $ac_header" >&5
52046 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52047 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52048   echo $ECHO_N "(cached) $ECHO_C" >&6
52049 else
52050   eval "$as_ac_Header=\$ac_header_preproc"
52051 fi
52052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52053 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52054
52055 fi
52056 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52057   cat >>confdefs.h <<_ACEOF
52058 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52059 _ACEOF
52060
52061 fi
52062
52063 done
52064
52065
52066   if test "${glibcxx_cv_POLL+set}" = set; then
52067   echo $ECHO_N "(cached) $ECHO_C" >&6
52068 else
52069
52070     if test x$gcc_no_link = xyes; then
52071   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52073    { (exit 1); exit 1; }; }
52074 fi
52075 cat >conftest.$ac_ext <<_ACEOF
52076 /* confdefs.h.  */
52077 _ACEOF
52078 cat confdefs.h >>conftest.$ac_ext
52079 cat >>conftest.$ac_ext <<_ACEOF
52080 /* end confdefs.h.  */
52081 #include <poll.h>
52082 int
52083 main ()
52084 {
52085 struct pollfd pfd[1];
52086        pfd[0].events = POLLIN;
52087        poll(pfd, 1, 0);
52088   ;
52089   return 0;
52090 }
52091 _ACEOF
52092 rm -f conftest.$ac_objext conftest$ac_exeext
52093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52094   (eval $ac_link) 2>conftest.er1
52095   ac_status=$?
52096   grep -v '^ *+' conftest.er1 >conftest.err
52097   rm -f conftest.er1
52098   cat conftest.err >&5
52099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52100   (exit $ac_status); } &&
52101          { ac_try='test -z "$ac_c_werror_flag"
52102                          || test ! -s conftest.err'
52103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52104   (eval $ac_try) 2>&5
52105   ac_status=$?
52106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52107   (exit $ac_status); }; } &&
52108          { ac_try='test -s conftest$ac_exeext'
52109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52110   (eval $ac_try) 2>&5
52111   ac_status=$?
52112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52113   (exit $ac_status); }; }; then
52114   glibcxx_cv_POLL=yes
52115 else
52116   echo "$as_me: failed program was:" >&5
52117 sed 's/^/| /' conftest.$ac_ext >&5
52118
52119 glibcxx_cv_POLL=no
52120 fi
52121 rm -f conftest.err conftest.$ac_objext \
52122       conftest$ac_exeext conftest.$ac_ext
52123
52124 fi
52125
52126   if test $glibcxx_cv_POLL = yes; then
52127
52128 cat >>confdefs.h <<\_ACEOF
52129 #define HAVE_POLL 1
52130 _ACEOF
52131
52132   fi
52133
52134
52135   if test "${glibcxx_cv_S_ISREG+set}" = set; then
52136   echo $ECHO_N "(cached) $ECHO_C" >&6
52137 else
52138
52139     if test x$gcc_no_link = xyes; then
52140   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52142    { (exit 1); exit 1; }; }
52143 fi
52144 cat >conftest.$ac_ext <<_ACEOF
52145 /* confdefs.h.  */
52146 _ACEOF
52147 cat confdefs.h >>conftest.$ac_ext
52148 cat >>conftest.$ac_ext <<_ACEOF
52149 /* end confdefs.h.  */
52150 #include <sys/stat.h>
52151 int
52152 main ()
52153 {
52154 struct stat buffer;
52155        fstat(0, &buffer);
52156        S_ISREG(buffer.st_mode);
52157   ;
52158   return 0;
52159 }
52160 _ACEOF
52161 rm -f conftest.$ac_objext conftest$ac_exeext
52162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52163   (eval $ac_link) 2>conftest.er1
52164   ac_status=$?
52165   grep -v '^ *+' conftest.er1 >conftest.err
52166   rm -f conftest.er1
52167   cat conftest.err >&5
52168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52169   (exit $ac_status); } &&
52170          { ac_try='test -z "$ac_c_werror_flag"
52171                          || test ! -s conftest.err'
52172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52173   (eval $ac_try) 2>&5
52174   ac_status=$?
52175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52176   (exit $ac_status); }; } &&
52177          { ac_try='test -s conftest$ac_exeext'
52178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52179   (eval $ac_try) 2>&5
52180   ac_status=$?
52181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52182   (exit $ac_status); }; }; then
52183   glibcxx_cv_S_ISREG=yes
52184 else
52185   echo "$as_me: failed program was:" >&5
52186 sed 's/^/| /' conftest.$ac_ext >&5
52187
52188 glibcxx_cv_S_ISREG=no
52189 fi
52190 rm -f conftest.err conftest.$ac_objext \
52191       conftest$ac_exeext conftest.$ac_ext
52192
52193 fi
52194
52195   if test "${glibcxx_cv_S_IFREG+set}" = set; then
52196   echo $ECHO_N "(cached) $ECHO_C" >&6
52197 else
52198
52199     if test x$gcc_no_link = xyes; then
52200   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52202    { (exit 1); exit 1; }; }
52203 fi
52204 cat >conftest.$ac_ext <<_ACEOF
52205 /* confdefs.h.  */
52206 _ACEOF
52207 cat confdefs.h >>conftest.$ac_ext
52208 cat >>conftest.$ac_ext <<_ACEOF
52209 /* end confdefs.h.  */
52210 #include <sys/stat.h>
52211 int
52212 main ()
52213 {
52214 struct stat buffer;
52215        fstat(0, &buffer);
52216        S_IFREG & buffer.st_mode;
52217   ;
52218   return 0;
52219 }
52220 _ACEOF
52221 rm -f conftest.$ac_objext conftest$ac_exeext
52222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52223   (eval $ac_link) 2>conftest.er1
52224   ac_status=$?
52225   grep -v '^ *+' conftest.er1 >conftest.err
52226   rm -f conftest.er1
52227   cat conftest.err >&5
52228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52229   (exit $ac_status); } &&
52230          { ac_try='test -z "$ac_c_werror_flag"
52231                          || test ! -s conftest.err'
52232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52233   (eval $ac_try) 2>&5
52234   ac_status=$?
52235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52236   (exit $ac_status); }; } &&
52237          { ac_try='test -s conftest$ac_exeext'
52238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52239   (eval $ac_try) 2>&5
52240   ac_status=$?
52241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52242   (exit $ac_status); }; }; then
52243   glibcxx_cv_S_IFREG=yes
52244 else
52245   echo "$as_me: failed program was:" >&5
52246 sed 's/^/| /' conftest.$ac_ext >&5
52247
52248 glibcxx_cv_S_IFREG=no
52249 fi
52250 rm -f conftest.err conftest.$ac_objext \
52251       conftest$ac_exeext conftest.$ac_ext
52252
52253 fi
52254
52255   if test $glibcxx_cv_S_ISREG = yes; then
52256
52257 cat >>confdefs.h <<\_ACEOF
52258 #define HAVE_S_ISREG 1
52259 _ACEOF
52260
52261   elif test $glibcxx_cv_S_IFREG = yes; then
52262
52263 cat >>confdefs.h <<\_ACEOF
52264 #define HAVE_S_IFREG 1
52265 _ACEOF
52266
52267   fi
52268
52269
52270     # For xsputn_2().
52271
52272 for ac_header in sys/uio.h
52273 do
52274 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52275 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52276   echo "$as_me:$LINENO: checking for $ac_header" >&5
52277 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52278 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52279   echo $ECHO_N "(cached) $ECHO_C" >&6
52280 fi
52281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52282 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52283 else
52284   # Is the header compilable?
52285 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52286 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52287 cat >conftest.$ac_ext <<_ACEOF
52288 /* confdefs.h.  */
52289 _ACEOF
52290 cat confdefs.h >>conftest.$ac_ext
52291 cat >>conftest.$ac_ext <<_ACEOF
52292 /* end confdefs.h.  */
52293 $ac_includes_default
52294 #include <$ac_header>
52295 _ACEOF
52296 rm -f conftest.$ac_objext
52297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52298   (eval $ac_compile) 2>conftest.er1
52299   ac_status=$?
52300   grep -v '^ *+' conftest.er1 >conftest.err
52301   rm -f conftest.er1
52302   cat conftest.err >&5
52303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52304   (exit $ac_status); } &&
52305          { ac_try='test -z "$ac_c_werror_flag"
52306                          || test ! -s conftest.err'
52307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52308   (eval $ac_try) 2>&5
52309   ac_status=$?
52310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52311   (exit $ac_status); }; } &&
52312          { ac_try='test -s conftest.$ac_objext'
52313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52314   (eval $ac_try) 2>&5
52315   ac_status=$?
52316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52317   (exit $ac_status); }; }; then
52318   ac_header_compiler=yes
52319 else
52320   echo "$as_me: failed program was:" >&5
52321 sed 's/^/| /' conftest.$ac_ext >&5
52322
52323 ac_header_compiler=no
52324 fi
52325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52326 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52327 echo "${ECHO_T}$ac_header_compiler" >&6
52328
52329 # Is the header present?
52330 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52331 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52332 cat >conftest.$ac_ext <<_ACEOF
52333 /* confdefs.h.  */
52334 _ACEOF
52335 cat confdefs.h >>conftest.$ac_ext
52336 cat >>conftest.$ac_ext <<_ACEOF
52337 /* end confdefs.h.  */
52338 #include <$ac_header>
52339 _ACEOF
52340 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52341   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52342   ac_status=$?
52343   grep -v '^ *+' conftest.er1 >conftest.err
52344   rm -f conftest.er1
52345   cat conftest.err >&5
52346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52347   (exit $ac_status); } >/dev/null; then
52348   if test -s conftest.err; then
52349     ac_cpp_err=$ac_c_preproc_warn_flag
52350     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52351   else
52352     ac_cpp_err=
52353   fi
52354 else
52355   ac_cpp_err=yes
52356 fi
52357 if test -z "$ac_cpp_err"; then
52358   ac_header_preproc=yes
52359 else
52360   echo "$as_me: failed program was:" >&5
52361 sed 's/^/| /' conftest.$ac_ext >&5
52362
52363   ac_header_preproc=no
52364 fi
52365 rm -f conftest.err conftest.$ac_ext
52366 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52367 echo "${ECHO_T}$ac_header_preproc" >&6
52368
52369 # So?  What about this header?
52370 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52371   yes:no: )
52372     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52373 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52374     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52375 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52376     ac_header_preproc=yes
52377     ;;
52378   no:yes:* )
52379     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52380 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52381     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
52382 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
52383     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52384 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52385     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
52386 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
52387     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52388 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52389     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52390 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52391     (
52392       cat <<\_ASBOX
52393 ## ----------------------------------------- ##
52394 ## Report this to the package-unused lists.  ##
52395 ## ----------------------------------------- ##
52396 _ASBOX
52397     ) |
52398       sed "s/^/$as_me: WARNING:     /" >&2
52399     ;;
52400 esac
52401 echo "$as_me:$LINENO: checking for $ac_header" >&5
52402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52404   echo $ECHO_N "(cached) $ECHO_C" >&6
52405 else
52406   eval "$as_ac_Header=\$ac_header_preproc"
52407 fi
52408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52409 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52410
52411 fi
52412 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52413   cat >>confdefs.h <<_ACEOF
52414 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52415 _ACEOF
52416
52417 fi
52418
52419 done
52420
52421
52422   if test "${glibcxx_cv_WRITEV+set}" = set; then
52423   echo $ECHO_N "(cached) $ECHO_C" >&6
52424 else
52425
52426     if test x$gcc_no_link = xyes; then
52427   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52429    { (exit 1); exit 1; }; }
52430 fi
52431 cat >conftest.$ac_ext <<_ACEOF
52432 /* confdefs.h.  */
52433 _ACEOF
52434 cat confdefs.h >>conftest.$ac_ext
52435 cat >>conftest.$ac_ext <<_ACEOF
52436 /* end confdefs.h.  */
52437 #include <sys/uio.h>
52438 int
52439 main ()
52440 {
52441 struct iovec iov[2];
52442        writev(0, iov, 0);
52443   ;
52444   return 0;
52445 }
52446 _ACEOF
52447 rm -f conftest.$ac_objext conftest$ac_exeext
52448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52449   (eval $ac_link) 2>conftest.er1
52450   ac_status=$?
52451   grep -v '^ *+' conftest.er1 >conftest.err
52452   rm -f conftest.er1
52453   cat conftest.err >&5
52454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52455   (exit $ac_status); } &&
52456          { ac_try='test -z "$ac_c_werror_flag"
52457                          || test ! -s conftest.err'
52458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52459   (eval $ac_try) 2>&5
52460   ac_status=$?
52461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52462   (exit $ac_status); }; } &&
52463          { ac_try='test -s conftest$ac_exeext'
52464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52465   (eval $ac_try) 2>&5
52466   ac_status=$?
52467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52468   (exit $ac_status); }; }; then
52469   glibcxx_cv_WRITEV=yes
52470 else
52471   echo "$as_me: failed program was:" >&5
52472 sed 's/^/| /' conftest.$ac_ext >&5
52473
52474 glibcxx_cv_WRITEV=no
52475 fi
52476 rm -f conftest.err conftest.$ac_objext \
52477       conftest$ac_exeext conftest.$ac_ext
52478
52479 fi
52480
52481   if test $glibcxx_cv_WRITEV = yes; then
52482
52483 cat >>confdefs.h <<\_ACEOF
52484 #define HAVE_WRITEV 1
52485 _ACEOF
52486
52487   fi
52488
52489
52490     cat >>confdefs.h <<\_ACEOF
52491 #define HAVE_LC_MESSAGES 1
52492 _ACEOF
52493
52494
52495     cat >conftest.$ac_ext <<_ACEOF
52496 /* confdefs.h.  */
52497 _ACEOF
52498 cat confdefs.h >>conftest.$ac_ext
52499 cat >>conftest.$ac_ext <<_ACEOF
52500 /* end confdefs.h.  */
52501 #include <setjmp.h>
52502 int
52503 main ()
52504 {
52505 sigjmp_buf env;
52506        while (! sigsetjmp (env, 1))
52507          siglongjmp (env, 1);
52508
52509   ;
52510   return 0;
52511 }
52512 _ACEOF
52513 rm -f conftest.$ac_objext
52514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52515   (eval $ac_compile) 2>conftest.er1
52516   ac_status=$?
52517   grep -v '^ *+' conftest.er1 >conftest.err
52518   rm -f conftest.er1
52519   cat conftest.err >&5
52520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52521   (exit $ac_status); } &&
52522          { ac_try='test -z "$ac_c_werror_flag"
52523                          || test ! -s conftest.err'
52524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52525   (eval $ac_try) 2>&5
52526   ac_status=$?
52527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52528   (exit $ac_status); }; } &&
52529          { ac_try='test -s conftest.$ac_objext'
52530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52531   (eval $ac_try) 2>&5
52532   ac_status=$?
52533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52534   (exit $ac_status); }; }; then
52535
52536 cat >>confdefs.h <<\_ACEOF
52537 #define HAVE_SIGSETJMP 1
52538 _ACEOF
52539
52540 else
52541   echo "$as_me: failed program was:" >&5
52542 sed 's/^/| /' conftest.$ac_ext >&5
52543
52544 fi
52545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52546
52547     cat >>confdefs.h <<\_ACEOF
52548 #define HAVE_MMAP 1
52549 _ACEOF
52550
52551     ;;
52552
52553   *djgpp)
52554
52555
52556
52557
52558
52559
52560
52561
52562
52563
52564
52565
52566
52567
52568
52569
52570
52571
52572
52573
52574 for ac_header in float.h ieeefp.h inttypes.h locale.h \
52575       memory.h stdint.h stdlib.h strings.h string.h unistd.h \
52576       wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
52577       sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
52578 do
52579 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52580 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52581   echo "$as_me:$LINENO: checking for $ac_header" >&5
52582 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52583 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52584   echo $ECHO_N "(cached) $ECHO_C" >&6
52585 fi
52586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52587 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52588 else
52589   # Is the header compilable?
52590 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52591 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52592 cat >conftest.$ac_ext <<_ACEOF
52593 /* confdefs.h.  */
52594 _ACEOF
52595 cat confdefs.h >>conftest.$ac_ext
52596 cat >>conftest.$ac_ext <<_ACEOF
52597 /* end confdefs.h.  */
52598 $ac_includes_default
52599 #include <$ac_header>
52600 _ACEOF
52601 rm -f conftest.$ac_objext
52602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52603   (eval $ac_compile) 2>conftest.er1
52604   ac_status=$?
52605   grep -v '^ *+' conftest.er1 >conftest.err
52606   rm -f conftest.er1
52607   cat conftest.err >&5
52608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52609   (exit $ac_status); } &&
52610          { ac_try='test -z "$ac_c_werror_flag"
52611                          || test ! -s conftest.err'
52612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52613   (eval $ac_try) 2>&5
52614   ac_status=$?
52615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52616   (exit $ac_status); }; } &&
52617          { ac_try='test -s conftest.$ac_objext'
52618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52619   (eval $ac_try) 2>&5
52620   ac_status=$?
52621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52622   (exit $ac_status); }; }; then
52623   ac_header_compiler=yes
52624 else
52625   echo "$as_me: failed program was:" >&5
52626 sed 's/^/| /' conftest.$ac_ext >&5
52627
52628 ac_header_compiler=no
52629 fi
52630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52631 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52632 echo "${ECHO_T}$ac_header_compiler" >&6
52633
52634 # Is the header present?
52635 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52636 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52637 cat >conftest.$ac_ext <<_ACEOF
52638 /* confdefs.h.  */
52639 _ACEOF
52640 cat confdefs.h >>conftest.$ac_ext
52641 cat >>conftest.$ac_ext <<_ACEOF
52642 /* end confdefs.h.  */
52643 #include <$ac_header>
52644 _ACEOF
52645 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52646   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52647   ac_status=$?
52648   grep -v '^ *+' conftest.er1 >conftest.err
52649   rm -f conftest.er1
52650   cat conftest.err >&5
52651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52652   (exit $ac_status); } >/dev/null; then
52653   if test -s conftest.err; then
52654     ac_cpp_err=$ac_c_preproc_warn_flag
52655     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52656   else
52657     ac_cpp_err=
52658   fi
52659 else
52660   ac_cpp_err=yes
52661 fi
52662 if test -z "$ac_cpp_err"; then
52663   ac_header_preproc=yes
52664 else
52665   echo "$as_me: failed program was:" >&5
52666 sed 's/^/| /' conftest.$ac_ext >&5
52667
52668   ac_header_preproc=no
52669 fi
52670 rm -f conftest.err conftest.$ac_ext
52671 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52672 echo "${ECHO_T}$ac_header_preproc" >&6
52673
52674 # So?  What about this header?
52675 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52676   yes:no: )
52677     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52678 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52679     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52680 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52681     ac_header_preproc=yes
52682     ;;
52683   no:yes:* )
52684     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52685 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52686     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
52687 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
52688     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52689 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52690     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
52691 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
52692     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52693 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52694     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52695 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52696     (
52697       cat <<\_ASBOX
52698 ## ----------------------------------------- ##
52699 ## Report this to the package-unused lists.  ##
52700 ## ----------------------------------------- ##
52701 _ASBOX
52702     ) |
52703       sed "s/^/$as_me: WARNING:     /" >&2
52704     ;;
52705 esac
52706 echo "$as_me:$LINENO: checking for $ac_header" >&5
52707 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52708 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52709   echo $ECHO_N "(cached) $ECHO_C" >&6
52710 else
52711   eval "$as_ac_Header=\$ac_header_preproc"
52712 fi
52713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52714 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52715
52716 fi
52717 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52718   cat >>confdefs.h <<_ACEOF
52719 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52720 _ACEOF
52721
52722 fi
52723
52724 done
52725
52726
52727   # All these tests are for C++; save the language and the compiler flags.
52728   # The CXXFLAGS thing is suspicious, but based on similar bits previously
52729   # found in GLIBCXX_CONFIGURE.
52730
52731
52732   ac_ext=cc
52733 ac_cpp='$CXXCPP $CPPFLAGS'
52734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52737
52738   ac_test_CXXFLAGS="${CXXFLAGS+set}"
52739   ac_save_CXXFLAGS="$CXXFLAGS"
52740
52741   # Check for maintainer-mode bits.
52742   if test x"$USE_MAINTAINER_MODE" = xno; then
52743     WERROR=''
52744   else
52745     WERROR='-Werror'
52746   fi
52747
52748   # Check for -ffunction-sections -fdata-sections
52749   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
52750 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
52751   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
52752   cat >conftest.$ac_ext <<_ACEOF
52753 /* confdefs.h.  */
52754 _ACEOF
52755 cat confdefs.h >>conftest.$ac_ext
52756 cat >>conftest.$ac_ext <<_ACEOF
52757 /* end confdefs.h.  */
52758
52759 int
52760 main ()
52761 {
52762 int foo;
52763   ;
52764   return 0;
52765 }
52766 _ACEOF
52767 rm -f conftest.$ac_objext
52768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52769   (eval $ac_compile) 2>conftest.er1
52770   ac_status=$?
52771   grep -v '^ *+' conftest.er1 >conftest.err
52772   rm -f conftest.er1
52773   cat conftest.err >&5
52774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52775   (exit $ac_status); } &&
52776          { ac_try='test -z "$ac_cxx_werror_flag"
52777                          || test ! -s conftest.err'
52778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52779   (eval $ac_try) 2>&5
52780   ac_status=$?
52781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52782   (exit $ac_status); }; } &&
52783          { ac_try='test -s conftest.$ac_objext'
52784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52785   (eval $ac_try) 2>&5
52786   ac_status=$?
52787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52788   (exit $ac_status); }; }; then
52789   ac_fdsections=yes
52790 else
52791   echo "$as_me: failed program was:" >&5
52792 sed 's/^/| /' conftest.$ac_ext >&5
52793
52794 ac_fdsections=no
52795 fi
52796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52797   if test "$ac_test_CXXFLAGS" = set; then
52798     CXXFLAGS="$ac_save_CXXFLAGS"
52799   else
52800     # this is the suspicious part
52801     CXXFLAGS=''
52802   fi
52803   if test x"$ac_fdsections" = x"yes"; then
52804     SECTION_FLAGS='-ffunction-sections -fdata-sections'
52805   fi
52806   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
52807 echo "${ECHO_T}$ac_fdsections" >&6
52808
52809   ac_ext=c
52810 ac_cpp='$CPP $CPPFLAGS'
52811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52814
52815
52816
52817
52818
52819   # If we're not using GNU ld, then there's no point in even trying these
52820   # tests.  Check for that first.  We should have already tested for gld
52821   # by now (in libtool), but require it now just to be safe...
52822   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52823   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52824
52825
52826
52827   # The name set by libtool depends on the version of libtool.  Shame on us
52828   # for depending on an impl detail, but c'est la vie.  Older versions used
52829   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52830   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52831   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
52832   # set (hence we're using an older libtool), then set it.
52833   if test x${with_gnu_ld+set} != xset; then
52834     if test x${ac_cv_prog_gnu_ld+set} != xset; then
52835       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
52836       with_gnu_ld=no
52837     else
52838       with_gnu_ld=$ac_cv_prog_gnu_ld
52839     fi
52840   fi
52841
52842   # Start by getting the version number.  I think the libtool test already
52843   # does some of this, but throws away the result.
52844
52845   ldver=`$LD --version 2>/dev/null | head -1 | \
52846          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
52847
52848   glibcxx_gnu_ld_version=`echo $ldver | \
52849          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52850
52851   # Set --gc-sections.
52852   if test "$with_gnu_ld" = "notbroken"; then
52853     # GNU ld it is!  Joy and bunny rabbits!
52854
52855     # All these tests are for C++; save the language and the compiler flags.
52856     # Need to do this so that g++ won't try to link in libstdc++
52857     ac_test_CFLAGS="${CFLAGS+set}"
52858     ac_save_CFLAGS="$CFLAGS"
52859     CFLAGS='-x c++  -Wl,--gc-sections'
52860
52861     # Check for -Wl,--gc-sections
52862     # XXX This test is broken at the moment, as symbols required for linking
52863     # are now in libsupc++ (not built yet).  In addition, this test has
52864     # cored on solaris in the past.  In addition, --gc-sections doesn't
52865     # really work at the moment (keeps on discarding used sections, first
52866     # .eh_frame and now some of the glibc sections for iconv).
52867     # Bzzzzt.  Thanks for playing, maybe next time.
52868     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
52869 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
52870     if test "$cross_compiling" = yes; then
52871   ac_sectionLDflags=yes
52872 else
52873   cat >conftest.$ac_ext <<_ACEOF
52874 /* confdefs.h.  */
52875 _ACEOF
52876 cat confdefs.h >>conftest.$ac_ext
52877 cat >>conftest.$ac_ext <<_ACEOF
52878 /* end confdefs.h.  */
52879
52880      int main(void)
52881      {
52882        try { throw 1; }
52883        catch (...) { };
52884        return 0;
52885      }
52886
52887 _ACEOF
52888 rm -f conftest$ac_exeext
52889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52890   (eval $ac_link) 2>&5
52891   ac_status=$?
52892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52893   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
52894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52895   (eval $ac_try) 2>&5
52896   ac_status=$?
52897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52898   (exit $ac_status); }; }; then
52899   ac_sectionLDflags=yes
52900 else
52901   echo "$as_me: program exited with status $ac_status" >&5
52902 echo "$as_me: failed program was:" >&5
52903 sed 's/^/| /' conftest.$ac_ext >&5
52904
52905 ( exit $ac_status )
52906 ac_sectionLDflags=no
52907 fi
52908 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
52909 fi
52910     if test "$ac_test_CFLAGS" = set; then
52911       CFLAGS="$ac_save_CFLAGS"
52912     else
52913       # this is the suspicious part
52914       CFLAGS=''
52915     fi
52916     if test "$ac_sectionLDflags" = "yes"; then
52917       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52918     fi
52919     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
52920 echo "${ECHO_T}$ac_sectionLDflags" >&6
52921   fi
52922
52923   # Set linker optimization flags.
52924   if test x"$with_gnu_ld" = x"yes"; then
52925     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52926   fi
52927
52928
52929
52930
52931
52932   ac_test_CXXFLAGS="${CXXFLAGS+set}"
52933   ac_save_CXXFLAGS="$CXXFLAGS"
52934   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52935
52936     echo "$as_me:$LINENO: checking for sin in -lm" >&5
52937 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
52938 if test "${ac_cv_lib_m_sin+set}" = set; then
52939   echo $ECHO_N "(cached) $ECHO_C" >&6
52940 else
52941   ac_check_lib_save_LIBS=$LIBS
52942 LIBS="-lm  $LIBS"
52943 if test x$gcc_no_link = xyes; then
52944   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52946    { (exit 1); exit 1; }; }
52947 fi
52948 cat >conftest.$ac_ext <<_ACEOF
52949 /* confdefs.h.  */
52950 _ACEOF
52951 cat confdefs.h >>conftest.$ac_ext
52952 cat >>conftest.$ac_ext <<_ACEOF
52953 /* end confdefs.h.  */
52954
52955 /* Override any gcc2 internal prototype to avoid an error.  */
52956 #ifdef __cplusplus
52957 extern "C"
52958 #endif
52959 /* We use char because int might match the return type of a gcc2
52960    builtin and then its argument prototype would still apply.  */
52961 char sin ();
52962 int
52963 main ()
52964 {
52965 sin ();
52966   ;
52967   return 0;
52968 }
52969 _ACEOF
52970 rm -f conftest.$ac_objext conftest$ac_exeext
52971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52972   (eval $ac_link) 2>conftest.er1
52973   ac_status=$?
52974   grep -v '^ *+' conftest.er1 >conftest.err
52975   rm -f conftest.er1
52976   cat conftest.err >&5
52977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52978   (exit $ac_status); } &&
52979          { ac_try='test -z "$ac_c_werror_flag"
52980                          || test ! -s conftest.err'
52981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52982   (eval $ac_try) 2>&5
52983   ac_status=$?
52984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52985   (exit $ac_status); }; } &&
52986          { ac_try='test -s conftest$ac_exeext'
52987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52988   (eval $ac_try) 2>&5
52989   ac_status=$?
52990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52991   (exit $ac_status); }; }; then
52992   ac_cv_lib_m_sin=yes
52993 else
52994   echo "$as_me: failed program was:" >&5
52995 sed 's/^/| /' conftest.$ac_ext >&5
52996
52997 ac_cv_lib_m_sin=no
52998 fi
52999 rm -f conftest.err conftest.$ac_objext \
53000       conftest$ac_exeext conftest.$ac_ext
53001 LIBS=$ac_check_lib_save_LIBS
53002 fi
53003 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
53004 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
53005 if test $ac_cv_lib_m_sin = yes; then
53006   libm="-lm"
53007 fi
53008
53009   ac_save_LIBS="$LIBS"
53010   LIBS="$LIBS $libm"
53011
53012
53013
53014   echo "$as_me:$LINENO: checking for isinf declaration" >&5
53015 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
53016   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53017     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
53018   echo $ECHO_N "(cached) $ECHO_C" >&6
53019 else
53020
53021
53022
53023       ac_ext=cc
53024 ac_cpp='$CXXCPP $CPPFLAGS'
53025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53028
53029       cat >conftest.$ac_ext <<_ACEOF
53030 /* confdefs.h.  */
53031 _ACEOF
53032 cat confdefs.h >>conftest.$ac_ext
53033 cat >>conftest.$ac_ext <<_ACEOF
53034 /* end confdefs.h.  */
53035 #include <math.h>
53036                       #ifdef HAVE_IEEEFP_H
53037                       #include <ieeefp.h>
53038                       #endif
53039
53040 int
53041 main ()
53042 {
53043  isinf(0);
53044   ;
53045   return 0;
53046 }
53047 _ACEOF
53048 rm -f conftest.$ac_objext
53049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53050   (eval $ac_compile) 2>conftest.er1
53051   ac_status=$?
53052   grep -v '^ *+' conftest.er1 >conftest.err
53053   rm -f conftest.er1
53054   cat conftest.err >&5
53055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53056   (exit $ac_status); } &&
53057          { ac_try='test -z "$ac_cxx_werror_flag"
53058                          || test ! -s conftest.err'
53059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53060   (eval $ac_try) 2>&5
53061   ac_status=$?
53062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53063   (exit $ac_status); }; } &&
53064          { ac_try='test -s conftest.$ac_objext'
53065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53066   (eval $ac_try) 2>&5
53067   ac_status=$?
53068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53069   (exit $ac_status); }; }; then
53070   glibcxx_cv_func_isinf_use=yes
53071 else
53072   echo "$as_me: failed program was:" >&5
53073 sed 's/^/| /' conftest.$ac_ext >&5
53074
53075 glibcxx_cv_func_isinf_use=no
53076 fi
53077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53078       ac_ext=c
53079 ac_cpp='$CPP $CPPFLAGS'
53080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53083
53084
53085 fi
53086
53087   fi
53088   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
53089 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
53090
53091   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
53092
53093 for ac_func in isinf
53094 do
53095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53096 echo "$as_me:$LINENO: checking for $ac_func" >&5
53097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53098 if eval "test \"\${$as_ac_var+set}\" = set"; then
53099   echo $ECHO_N "(cached) $ECHO_C" >&6
53100 else
53101   if test x$gcc_no_link = xyes; then
53102   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53104    { (exit 1); exit 1; }; }
53105 fi
53106 cat >conftest.$ac_ext <<_ACEOF
53107 /* confdefs.h.  */
53108 _ACEOF
53109 cat confdefs.h >>conftest.$ac_ext
53110 cat >>conftest.$ac_ext <<_ACEOF
53111 /* end confdefs.h.  */
53112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53113    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53114 #define $ac_func innocuous_$ac_func
53115
53116 /* System header to define __stub macros and hopefully few prototypes,
53117     which can conflict with char $ac_func (); below.
53118     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53119     <limits.h> exists even on freestanding compilers.  */
53120
53121 #ifdef __STDC__
53122 # include <limits.h>
53123 #else
53124 # include <assert.h>
53125 #endif
53126
53127 #undef $ac_func
53128
53129 /* Override any gcc2 internal prototype to avoid an error.  */
53130 #ifdef __cplusplus
53131 extern "C"
53132 {
53133 #endif
53134 /* We use char because int might match the return type of a gcc2
53135    builtin and then its argument prototype would still apply.  */
53136 char $ac_func ();
53137 /* The GNU C library defines this for functions which it implements
53138     to always fail with ENOSYS.  Some functions are actually named
53139     something starting with __ and the normal name is an alias.  */
53140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53141 choke me
53142 #else
53143 char (*f) () = $ac_func;
53144 #endif
53145 #ifdef __cplusplus
53146 }
53147 #endif
53148
53149 int
53150 main ()
53151 {
53152 return f != $ac_func;
53153   ;
53154   return 0;
53155 }
53156 _ACEOF
53157 rm -f conftest.$ac_objext conftest$ac_exeext
53158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53159   (eval $ac_link) 2>conftest.er1
53160   ac_status=$?
53161   grep -v '^ *+' conftest.er1 >conftest.err
53162   rm -f conftest.er1
53163   cat conftest.err >&5
53164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53165   (exit $ac_status); } &&
53166          { ac_try='test -z "$ac_c_werror_flag"
53167                          || test ! -s conftest.err'
53168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53169   (eval $ac_try) 2>&5
53170   ac_status=$?
53171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53172   (exit $ac_status); }; } &&
53173          { ac_try='test -s conftest$ac_exeext'
53174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53175   (eval $ac_try) 2>&5
53176   ac_status=$?
53177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53178   (exit $ac_status); }; }; then
53179   eval "$as_ac_var=yes"
53180 else
53181   echo "$as_me: failed program was:" >&5
53182 sed 's/^/| /' conftest.$ac_ext >&5
53183
53184 eval "$as_ac_var=no"
53185 fi
53186 rm -f conftest.err conftest.$ac_objext \
53187       conftest$ac_exeext conftest.$ac_ext
53188 fi
53189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53191 if test `eval echo '${'$as_ac_var'}'` = yes; then
53192   cat >>confdefs.h <<_ACEOF
53193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53194 _ACEOF
53195
53196 fi
53197 done
53198
53199   else
53200
53201   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
53202 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
53203   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
53204     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
53205   echo $ECHO_N "(cached) $ECHO_C" >&6
53206 else
53207
53208
53209
53210       ac_ext=cc
53211 ac_cpp='$CXXCPP $CPPFLAGS'
53212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53215
53216       cat >conftest.$ac_ext <<_ACEOF
53217 /* confdefs.h.  */
53218 _ACEOF
53219 cat confdefs.h >>conftest.$ac_ext
53220 cat >>conftest.$ac_ext <<_ACEOF
53221 /* end confdefs.h.  */
53222 #include <math.h>
53223                       #ifdef HAVE_IEEEFP_H
53224                       #include <ieeefp.h>
53225                       #endif
53226
53227 int
53228 main ()
53229 {
53230  _isinf(0);
53231   ;
53232   return 0;
53233 }
53234 _ACEOF
53235 rm -f conftest.$ac_objext
53236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53237   (eval $ac_compile) 2>conftest.er1
53238   ac_status=$?
53239   grep -v '^ *+' conftest.er1 >conftest.err
53240   rm -f conftest.er1
53241   cat conftest.err >&5
53242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53243   (exit $ac_status); } &&
53244          { ac_try='test -z "$ac_cxx_werror_flag"
53245                          || test ! -s conftest.err'
53246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53247   (eval $ac_try) 2>&5
53248   ac_status=$?
53249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53250   (exit $ac_status); }; } &&
53251          { ac_try='test -s conftest.$ac_objext'
53252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53253   (eval $ac_try) 2>&5
53254   ac_status=$?
53255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53256   (exit $ac_status); }; }; then
53257   glibcxx_cv_func__isinf_use=yes
53258 else
53259   echo "$as_me: failed program was:" >&5
53260 sed 's/^/| /' conftest.$ac_ext >&5
53261
53262 glibcxx_cv_func__isinf_use=no
53263 fi
53264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53265       ac_ext=c
53266 ac_cpp='$CPP $CPPFLAGS'
53267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53270
53271
53272 fi
53273
53274   fi
53275   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
53276 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
53277
53278     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
53279
53280 for ac_func in _isinf
53281 do
53282 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53283 echo "$as_me:$LINENO: checking for $ac_func" >&5
53284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53285 if eval "test \"\${$as_ac_var+set}\" = set"; then
53286   echo $ECHO_N "(cached) $ECHO_C" >&6
53287 else
53288   if test x$gcc_no_link = xyes; then
53289   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53291    { (exit 1); exit 1; }; }
53292 fi
53293 cat >conftest.$ac_ext <<_ACEOF
53294 /* confdefs.h.  */
53295 _ACEOF
53296 cat confdefs.h >>conftest.$ac_ext
53297 cat >>conftest.$ac_ext <<_ACEOF
53298 /* end confdefs.h.  */
53299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53300    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53301 #define $ac_func innocuous_$ac_func
53302
53303 /* System header to define __stub macros and hopefully few prototypes,
53304     which can conflict with char $ac_func (); below.
53305     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53306     <limits.h> exists even on freestanding compilers.  */
53307
53308 #ifdef __STDC__
53309 # include <limits.h>
53310 #else
53311 # include <assert.h>
53312 #endif
53313
53314 #undef $ac_func
53315
53316 /* Override any gcc2 internal prototype to avoid an error.  */
53317 #ifdef __cplusplus
53318 extern "C"
53319 {
53320 #endif
53321 /* We use char because int might match the return type of a gcc2
53322    builtin and then its argument prototype would still apply.  */
53323 char $ac_func ();
53324 /* The GNU C library defines this for functions which it implements
53325     to always fail with ENOSYS.  Some functions are actually named
53326     something starting with __ and the normal name is an alias.  */
53327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53328 choke me
53329 #else
53330 char (*f) () = $ac_func;
53331 #endif
53332 #ifdef __cplusplus
53333 }
53334 #endif
53335
53336 int
53337 main ()
53338 {
53339 return f != $ac_func;
53340   ;
53341   return 0;
53342 }
53343 _ACEOF
53344 rm -f conftest.$ac_objext conftest$ac_exeext
53345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53346   (eval $ac_link) 2>conftest.er1
53347   ac_status=$?
53348   grep -v '^ *+' conftest.er1 >conftest.err
53349   rm -f conftest.er1
53350   cat conftest.err >&5
53351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53352   (exit $ac_status); } &&
53353          { ac_try='test -z "$ac_c_werror_flag"
53354                          || test ! -s conftest.err'
53355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53356   (eval $ac_try) 2>&5
53357   ac_status=$?
53358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53359   (exit $ac_status); }; } &&
53360          { ac_try='test -s conftest$ac_exeext'
53361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53362   (eval $ac_try) 2>&5
53363   ac_status=$?
53364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53365   (exit $ac_status); }; }; then
53366   eval "$as_ac_var=yes"
53367 else
53368   echo "$as_me: failed program was:" >&5
53369 sed 's/^/| /' conftest.$ac_ext >&5
53370
53371 eval "$as_ac_var=no"
53372 fi
53373 rm -f conftest.err conftest.$ac_objext \
53374       conftest$ac_exeext conftest.$ac_ext
53375 fi
53376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53378 if test `eval echo '${'$as_ac_var'}'` = yes; then
53379   cat >>confdefs.h <<_ACEOF
53380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53381 _ACEOF
53382
53383 fi
53384 done
53385
53386     fi
53387   fi
53388
53389
53390
53391
53392
53393
53394   echo "$as_me:$LINENO: checking for isnan declaration" >&5
53395 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
53396   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
53397     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
53398   echo $ECHO_N "(cached) $ECHO_C" >&6
53399 else
53400
53401
53402
53403       ac_ext=cc
53404 ac_cpp='$CXXCPP $CPPFLAGS'
53405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53408
53409       cat >conftest.$ac_ext <<_ACEOF
53410 /* confdefs.h.  */
53411 _ACEOF
53412 cat confdefs.h >>conftest.$ac_ext
53413 cat >>conftest.$ac_ext <<_ACEOF
53414 /* end confdefs.h.  */
53415 #include <math.h>
53416                       #ifdef HAVE_IEEEFP_H
53417                       #include <ieeefp.h>
53418                       #endif
53419
53420 int
53421 main ()
53422 {
53423  isnan(0);
53424   ;
53425   return 0;
53426 }
53427 _ACEOF
53428 rm -f conftest.$ac_objext
53429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53430   (eval $ac_compile) 2>conftest.er1
53431   ac_status=$?
53432   grep -v '^ *+' conftest.er1 >conftest.err
53433   rm -f conftest.er1
53434   cat conftest.err >&5
53435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53436   (exit $ac_status); } &&
53437          { ac_try='test -z "$ac_cxx_werror_flag"
53438                          || test ! -s conftest.err'
53439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53440   (eval $ac_try) 2>&5
53441   ac_status=$?
53442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53443   (exit $ac_status); }; } &&
53444          { ac_try='test -s conftest.$ac_objext'
53445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53446   (eval $ac_try) 2>&5
53447   ac_status=$?
53448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53449   (exit $ac_status); }; }; then
53450   glibcxx_cv_func_isnan_use=yes
53451 else
53452   echo "$as_me: failed program was:" >&5
53453 sed 's/^/| /' conftest.$ac_ext >&5
53454
53455 glibcxx_cv_func_isnan_use=no
53456 fi
53457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53458       ac_ext=c
53459 ac_cpp='$CPP $CPPFLAGS'
53460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53463
53464
53465 fi
53466
53467   fi
53468   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
53469 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
53470
53471   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
53472
53473 for ac_func in isnan
53474 do
53475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53476 echo "$as_me:$LINENO: checking for $ac_func" >&5
53477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53478 if eval "test \"\${$as_ac_var+set}\" = set"; then
53479   echo $ECHO_N "(cached) $ECHO_C" >&6
53480 else
53481   if test x$gcc_no_link = xyes; then
53482   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53484    { (exit 1); exit 1; }; }
53485 fi
53486 cat >conftest.$ac_ext <<_ACEOF
53487 /* confdefs.h.  */
53488 _ACEOF
53489 cat confdefs.h >>conftest.$ac_ext
53490 cat >>conftest.$ac_ext <<_ACEOF
53491 /* end confdefs.h.  */
53492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53493    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53494 #define $ac_func innocuous_$ac_func
53495
53496 /* System header to define __stub macros and hopefully few prototypes,
53497     which can conflict with char $ac_func (); below.
53498     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53499     <limits.h> exists even on freestanding compilers.  */
53500
53501 #ifdef __STDC__
53502 # include <limits.h>
53503 #else
53504 # include <assert.h>
53505 #endif
53506
53507 #undef $ac_func
53508
53509 /* Override any gcc2 internal prototype to avoid an error.  */
53510 #ifdef __cplusplus
53511 extern "C"
53512 {
53513 #endif
53514 /* We use char because int might match the return type of a gcc2
53515    builtin and then its argument prototype would still apply.  */
53516 char $ac_func ();
53517 /* The GNU C library defines this for functions which it implements
53518     to always fail with ENOSYS.  Some functions are actually named
53519     something starting with __ and the normal name is an alias.  */
53520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53521 choke me
53522 #else
53523 char (*f) () = $ac_func;
53524 #endif
53525 #ifdef __cplusplus
53526 }
53527 #endif
53528
53529 int
53530 main ()
53531 {
53532 return f != $ac_func;
53533   ;
53534   return 0;
53535 }
53536 _ACEOF
53537 rm -f conftest.$ac_objext conftest$ac_exeext
53538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53539   (eval $ac_link) 2>conftest.er1
53540   ac_status=$?
53541   grep -v '^ *+' conftest.er1 >conftest.err
53542   rm -f conftest.er1
53543   cat conftest.err >&5
53544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53545   (exit $ac_status); } &&
53546          { ac_try='test -z "$ac_c_werror_flag"
53547                          || test ! -s conftest.err'
53548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53549   (eval $ac_try) 2>&5
53550   ac_status=$?
53551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53552   (exit $ac_status); }; } &&
53553          { ac_try='test -s conftest$ac_exeext'
53554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53555   (eval $ac_try) 2>&5
53556   ac_status=$?
53557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53558   (exit $ac_status); }; }; then
53559   eval "$as_ac_var=yes"
53560 else
53561   echo "$as_me: failed program was:" >&5
53562 sed 's/^/| /' conftest.$ac_ext >&5
53563
53564 eval "$as_ac_var=no"
53565 fi
53566 rm -f conftest.err conftest.$ac_objext \
53567       conftest$ac_exeext conftest.$ac_ext
53568 fi
53569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53571 if test `eval echo '${'$as_ac_var'}'` = yes; then
53572   cat >>confdefs.h <<_ACEOF
53573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53574 _ACEOF
53575
53576 fi
53577 done
53578
53579   else
53580
53581   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
53582 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
53583   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
53584     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
53585   echo $ECHO_N "(cached) $ECHO_C" >&6
53586 else
53587
53588
53589
53590       ac_ext=cc
53591 ac_cpp='$CXXCPP $CPPFLAGS'
53592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53595
53596       cat >conftest.$ac_ext <<_ACEOF
53597 /* confdefs.h.  */
53598 _ACEOF
53599 cat confdefs.h >>conftest.$ac_ext
53600 cat >>conftest.$ac_ext <<_ACEOF
53601 /* end confdefs.h.  */
53602 #include <math.h>
53603                       #ifdef HAVE_IEEEFP_H
53604                       #include <ieeefp.h>
53605                       #endif
53606
53607 int
53608 main ()
53609 {
53610  _isnan(0);
53611   ;
53612   return 0;
53613 }
53614 _ACEOF
53615 rm -f conftest.$ac_objext
53616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53617   (eval $ac_compile) 2>conftest.er1
53618   ac_status=$?
53619   grep -v '^ *+' conftest.er1 >conftest.err
53620   rm -f conftest.er1
53621   cat conftest.err >&5
53622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53623   (exit $ac_status); } &&
53624          { ac_try='test -z "$ac_cxx_werror_flag"
53625                          || test ! -s conftest.err'
53626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53627   (eval $ac_try) 2>&5
53628   ac_status=$?
53629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53630   (exit $ac_status); }; } &&
53631          { ac_try='test -s conftest.$ac_objext'
53632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53633   (eval $ac_try) 2>&5
53634   ac_status=$?
53635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53636   (exit $ac_status); }; }; then
53637   glibcxx_cv_func__isnan_use=yes
53638 else
53639   echo "$as_me: failed program was:" >&5
53640 sed 's/^/| /' conftest.$ac_ext >&5
53641
53642 glibcxx_cv_func__isnan_use=no
53643 fi
53644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53645       ac_ext=c
53646 ac_cpp='$CPP $CPPFLAGS'
53647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53650
53651
53652 fi
53653
53654   fi
53655   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
53656 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
53657
53658     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
53659
53660 for ac_func in _isnan
53661 do
53662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53663 echo "$as_me:$LINENO: checking for $ac_func" >&5
53664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53665 if eval "test \"\${$as_ac_var+set}\" = set"; then
53666   echo $ECHO_N "(cached) $ECHO_C" >&6
53667 else
53668   if test x$gcc_no_link = xyes; then
53669   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53671    { (exit 1); exit 1; }; }
53672 fi
53673 cat >conftest.$ac_ext <<_ACEOF
53674 /* confdefs.h.  */
53675 _ACEOF
53676 cat confdefs.h >>conftest.$ac_ext
53677 cat >>conftest.$ac_ext <<_ACEOF
53678 /* end confdefs.h.  */
53679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53680    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53681 #define $ac_func innocuous_$ac_func
53682
53683 /* System header to define __stub macros and hopefully few prototypes,
53684     which can conflict with char $ac_func (); below.
53685     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53686     <limits.h> exists even on freestanding compilers.  */
53687
53688 #ifdef __STDC__
53689 # include <limits.h>
53690 #else
53691 # include <assert.h>
53692 #endif
53693
53694 #undef $ac_func
53695
53696 /* Override any gcc2 internal prototype to avoid an error.  */
53697 #ifdef __cplusplus
53698 extern "C"
53699 {
53700 #endif
53701 /* We use char because int might match the return type of a gcc2
53702    builtin and then its argument prototype would still apply.  */
53703 char $ac_func ();
53704 /* The GNU C library defines this for functions which it implements
53705     to always fail with ENOSYS.  Some functions are actually named
53706     something starting with __ and the normal name is an alias.  */
53707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53708 choke me
53709 #else
53710 char (*f) () = $ac_func;
53711 #endif
53712 #ifdef __cplusplus
53713 }
53714 #endif
53715
53716 int
53717 main ()
53718 {
53719 return f != $ac_func;
53720   ;
53721   return 0;
53722 }
53723 _ACEOF
53724 rm -f conftest.$ac_objext conftest$ac_exeext
53725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53726   (eval $ac_link) 2>conftest.er1
53727   ac_status=$?
53728   grep -v '^ *+' conftest.er1 >conftest.err
53729   rm -f conftest.er1
53730   cat conftest.err >&5
53731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53732   (exit $ac_status); } &&
53733          { ac_try='test -z "$ac_c_werror_flag"
53734                          || test ! -s conftest.err'
53735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53736   (eval $ac_try) 2>&5
53737   ac_status=$?
53738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53739   (exit $ac_status); }; } &&
53740          { ac_try='test -s conftest$ac_exeext'
53741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53742   (eval $ac_try) 2>&5
53743   ac_status=$?
53744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53745   (exit $ac_status); }; }; then
53746   eval "$as_ac_var=yes"
53747 else
53748   echo "$as_me: failed program was:" >&5
53749 sed 's/^/| /' conftest.$ac_ext >&5
53750
53751 eval "$as_ac_var=no"
53752 fi
53753 rm -f conftest.err conftest.$ac_objext \
53754       conftest$ac_exeext conftest.$ac_ext
53755 fi
53756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53757 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53758 if test `eval echo '${'$as_ac_var'}'` = yes; then
53759   cat >>confdefs.h <<_ACEOF
53760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53761 _ACEOF
53762
53763 fi
53764 done
53765
53766     fi
53767   fi
53768
53769
53770
53771
53772
53773
53774   echo "$as_me:$LINENO: checking for finite declaration" >&5
53775 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
53776   if test x${glibcxx_cv_func_finite_use+set} != xset; then
53777     if test "${glibcxx_cv_func_finite_use+set}" = set; then
53778   echo $ECHO_N "(cached) $ECHO_C" >&6
53779 else
53780
53781
53782
53783       ac_ext=cc
53784 ac_cpp='$CXXCPP $CPPFLAGS'
53785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53788
53789       cat >conftest.$ac_ext <<_ACEOF
53790 /* confdefs.h.  */
53791 _ACEOF
53792 cat confdefs.h >>conftest.$ac_ext
53793 cat >>conftest.$ac_ext <<_ACEOF
53794 /* end confdefs.h.  */
53795 #include <math.h>
53796                       #ifdef HAVE_IEEEFP_H
53797                       #include <ieeefp.h>
53798                       #endif
53799
53800 int
53801 main ()
53802 {
53803  finite(0);
53804   ;
53805   return 0;
53806 }
53807 _ACEOF
53808 rm -f conftest.$ac_objext
53809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53810   (eval $ac_compile) 2>conftest.er1
53811   ac_status=$?
53812   grep -v '^ *+' conftest.er1 >conftest.err
53813   rm -f conftest.er1
53814   cat conftest.err >&5
53815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53816   (exit $ac_status); } &&
53817          { ac_try='test -z "$ac_cxx_werror_flag"
53818                          || test ! -s conftest.err'
53819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53820   (eval $ac_try) 2>&5
53821   ac_status=$?
53822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53823   (exit $ac_status); }; } &&
53824          { ac_try='test -s conftest.$ac_objext'
53825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53826   (eval $ac_try) 2>&5
53827   ac_status=$?
53828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53829   (exit $ac_status); }; }; then
53830   glibcxx_cv_func_finite_use=yes
53831 else
53832   echo "$as_me: failed program was:" >&5
53833 sed 's/^/| /' conftest.$ac_ext >&5
53834
53835 glibcxx_cv_func_finite_use=no
53836 fi
53837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53838       ac_ext=c
53839 ac_cpp='$CPP $CPPFLAGS'
53840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53843
53844
53845 fi
53846
53847   fi
53848   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
53849 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
53850
53851   if test x$glibcxx_cv_func_finite_use = x"yes"; then
53852
53853 for ac_func in finite
53854 do
53855 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53856 echo "$as_me:$LINENO: checking for $ac_func" >&5
53857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53858 if eval "test \"\${$as_ac_var+set}\" = set"; then
53859   echo $ECHO_N "(cached) $ECHO_C" >&6
53860 else
53861   if test x$gcc_no_link = xyes; then
53862   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53864    { (exit 1); exit 1; }; }
53865 fi
53866 cat >conftest.$ac_ext <<_ACEOF
53867 /* confdefs.h.  */
53868 _ACEOF
53869 cat confdefs.h >>conftest.$ac_ext
53870 cat >>conftest.$ac_ext <<_ACEOF
53871 /* end confdefs.h.  */
53872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53873    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53874 #define $ac_func innocuous_$ac_func
53875
53876 /* System header to define __stub macros and hopefully few prototypes,
53877     which can conflict with char $ac_func (); below.
53878     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53879     <limits.h> exists even on freestanding compilers.  */
53880
53881 #ifdef __STDC__
53882 # include <limits.h>
53883 #else
53884 # include <assert.h>
53885 #endif
53886
53887 #undef $ac_func
53888
53889 /* Override any gcc2 internal prototype to avoid an error.  */
53890 #ifdef __cplusplus
53891 extern "C"
53892 {
53893 #endif
53894 /* We use char because int might match the return type of a gcc2
53895    builtin and then its argument prototype would still apply.  */
53896 char $ac_func ();
53897 /* The GNU C library defines this for functions which it implements
53898     to always fail with ENOSYS.  Some functions are actually named
53899     something starting with __ and the normal name is an alias.  */
53900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53901 choke me
53902 #else
53903 char (*f) () = $ac_func;
53904 #endif
53905 #ifdef __cplusplus
53906 }
53907 #endif
53908
53909 int
53910 main ()
53911 {
53912 return f != $ac_func;
53913   ;
53914   return 0;
53915 }
53916 _ACEOF
53917 rm -f conftest.$ac_objext conftest$ac_exeext
53918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53919   (eval $ac_link) 2>conftest.er1
53920   ac_status=$?
53921   grep -v '^ *+' conftest.er1 >conftest.err
53922   rm -f conftest.er1
53923   cat conftest.err >&5
53924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53925   (exit $ac_status); } &&
53926          { ac_try='test -z "$ac_c_werror_flag"
53927                          || test ! -s conftest.err'
53928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53929   (eval $ac_try) 2>&5
53930   ac_status=$?
53931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53932   (exit $ac_status); }; } &&
53933          { ac_try='test -s conftest$ac_exeext'
53934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53935   (eval $ac_try) 2>&5
53936   ac_status=$?
53937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53938   (exit $ac_status); }; }; then
53939   eval "$as_ac_var=yes"
53940 else
53941   echo "$as_me: failed program was:" >&5
53942 sed 's/^/| /' conftest.$ac_ext >&5
53943
53944 eval "$as_ac_var=no"
53945 fi
53946 rm -f conftest.err conftest.$ac_objext \
53947       conftest$ac_exeext conftest.$ac_ext
53948 fi
53949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53951 if test `eval echo '${'$as_ac_var'}'` = yes; then
53952   cat >>confdefs.h <<_ACEOF
53953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53954 _ACEOF
53955
53956 fi
53957 done
53958
53959   else
53960
53961   echo "$as_me:$LINENO: checking for _finite declaration" >&5
53962 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
53963   if test x${glibcxx_cv_func__finite_use+set} != xset; then
53964     if test "${glibcxx_cv_func__finite_use+set}" = set; then
53965   echo $ECHO_N "(cached) $ECHO_C" >&6
53966 else
53967
53968
53969
53970       ac_ext=cc
53971 ac_cpp='$CXXCPP $CPPFLAGS'
53972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53975
53976       cat >conftest.$ac_ext <<_ACEOF
53977 /* confdefs.h.  */
53978 _ACEOF
53979 cat confdefs.h >>conftest.$ac_ext
53980 cat >>conftest.$ac_ext <<_ACEOF
53981 /* end confdefs.h.  */
53982 #include <math.h>
53983                       #ifdef HAVE_IEEEFP_H
53984                       #include <ieeefp.h>
53985                       #endif
53986
53987 int
53988 main ()
53989 {
53990  _finite(0);
53991   ;
53992   return 0;
53993 }
53994 _ACEOF
53995 rm -f conftest.$ac_objext
53996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53997   (eval $ac_compile) 2>conftest.er1
53998   ac_status=$?
53999   grep -v '^ *+' conftest.er1 >conftest.err
54000   rm -f conftest.er1
54001   cat conftest.err >&5
54002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54003   (exit $ac_status); } &&
54004          { ac_try='test -z "$ac_cxx_werror_flag"
54005                          || test ! -s conftest.err'
54006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54007   (eval $ac_try) 2>&5
54008   ac_status=$?
54009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54010   (exit $ac_status); }; } &&
54011          { ac_try='test -s conftest.$ac_objext'
54012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54013   (eval $ac_try) 2>&5
54014   ac_status=$?
54015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54016   (exit $ac_status); }; }; then
54017   glibcxx_cv_func__finite_use=yes
54018 else
54019   echo "$as_me: failed program was:" >&5
54020 sed 's/^/| /' conftest.$ac_ext >&5
54021
54022 glibcxx_cv_func__finite_use=no
54023 fi
54024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54025       ac_ext=c
54026 ac_cpp='$CPP $CPPFLAGS'
54027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54030
54031
54032 fi
54033
54034   fi
54035   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
54036 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
54037
54038     if test x$glibcxx_cv_func__finite_use = x"yes"; then
54039
54040 for ac_func in _finite
54041 do
54042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54043 echo "$as_me:$LINENO: checking for $ac_func" >&5
54044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54045 if eval "test \"\${$as_ac_var+set}\" = set"; then
54046   echo $ECHO_N "(cached) $ECHO_C" >&6
54047 else
54048   if test x$gcc_no_link = xyes; then
54049   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54051    { (exit 1); exit 1; }; }
54052 fi
54053 cat >conftest.$ac_ext <<_ACEOF
54054 /* confdefs.h.  */
54055 _ACEOF
54056 cat confdefs.h >>conftest.$ac_ext
54057 cat >>conftest.$ac_ext <<_ACEOF
54058 /* end confdefs.h.  */
54059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54060    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54061 #define $ac_func innocuous_$ac_func
54062
54063 /* System header to define __stub macros and hopefully few prototypes,
54064     which can conflict with char $ac_func (); below.
54065     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54066     <limits.h> exists even on freestanding compilers.  */
54067
54068 #ifdef __STDC__
54069 # include <limits.h>
54070 #else
54071 # include <assert.h>
54072 #endif
54073
54074 #undef $ac_func
54075
54076 /* Override any gcc2 internal prototype to avoid an error.  */
54077 #ifdef __cplusplus
54078 extern "C"
54079 {
54080 #endif
54081 /* We use char because int might match the return type of a gcc2
54082    builtin and then its argument prototype would still apply.  */
54083 char $ac_func ();
54084 /* The GNU C library defines this for functions which it implements
54085     to always fail with ENOSYS.  Some functions are actually named
54086     something starting with __ and the normal name is an alias.  */
54087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54088 choke me
54089 #else
54090 char (*f) () = $ac_func;
54091 #endif
54092 #ifdef __cplusplus
54093 }
54094 #endif
54095
54096 int
54097 main ()
54098 {
54099 return f != $ac_func;
54100   ;
54101   return 0;
54102 }
54103 _ACEOF
54104 rm -f conftest.$ac_objext conftest$ac_exeext
54105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54106   (eval $ac_link) 2>conftest.er1
54107   ac_status=$?
54108   grep -v '^ *+' conftest.er1 >conftest.err
54109   rm -f conftest.er1
54110   cat conftest.err >&5
54111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54112   (exit $ac_status); } &&
54113          { ac_try='test -z "$ac_c_werror_flag"
54114                          || test ! -s conftest.err'
54115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54116   (eval $ac_try) 2>&5
54117   ac_status=$?
54118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54119   (exit $ac_status); }; } &&
54120          { ac_try='test -s conftest$ac_exeext'
54121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54122   (eval $ac_try) 2>&5
54123   ac_status=$?
54124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54125   (exit $ac_status); }; }; then
54126   eval "$as_ac_var=yes"
54127 else
54128   echo "$as_me: failed program was:" >&5
54129 sed 's/^/| /' conftest.$ac_ext >&5
54130
54131 eval "$as_ac_var=no"
54132 fi
54133 rm -f conftest.err conftest.$ac_objext \
54134       conftest$ac_exeext conftest.$ac_ext
54135 fi
54136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54138 if test `eval echo '${'$as_ac_var'}'` = yes; then
54139   cat >>confdefs.h <<_ACEOF
54140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54141 _ACEOF
54142
54143 fi
54144 done
54145
54146     fi
54147   fi
54148
54149
54150
54151
54152
54153
54154   echo "$as_me:$LINENO: checking for copysign declaration" >&5
54155 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
54156   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
54157     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
54158   echo $ECHO_N "(cached) $ECHO_C" >&6
54159 else
54160
54161
54162
54163       ac_ext=cc
54164 ac_cpp='$CXXCPP $CPPFLAGS'
54165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54168
54169       cat >conftest.$ac_ext <<_ACEOF
54170 /* confdefs.h.  */
54171 _ACEOF
54172 cat confdefs.h >>conftest.$ac_ext
54173 cat >>conftest.$ac_ext <<_ACEOF
54174 /* end confdefs.h.  */
54175 #include <math.h>
54176 int
54177 main ()
54178 {
54179  copysign(0, 0);
54180   ;
54181   return 0;
54182 }
54183 _ACEOF
54184 rm -f conftest.$ac_objext
54185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54186   (eval $ac_compile) 2>conftest.er1
54187   ac_status=$?
54188   grep -v '^ *+' conftest.er1 >conftest.err
54189   rm -f conftest.er1
54190   cat conftest.err >&5
54191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54192   (exit $ac_status); } &&
54193          { ac_try='test -z "$ac_cxx_werror_flag"
54194                          || test ! -s conftest.err'
54195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54196   (eval $ac_try) 2>&5
54197   ac_status=$?
54198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54199   (exit $ac_status); }; } &&
54200          { ac_try='test -s conftest.$ac_objext'
54201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54202   (eval $ac_try) 2>&5
54203   ac_status=$?
54204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54205   (exit $ac_status); }; }; then
54206   glibcxx_cv_func_copysign_use=yes
54207 else
54208   echo "$as_me: failed program was:" >&5
54209 sed 's/^/| /' conftest.$ac_ext >&5
54210
54211 glibcxx_cv_func_copysign_use=no
54212 fi
54213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54214       ac_ext=c
54215 ac_cpp='$CPP $CPPFLAGS'
54216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54219
54220
54221 fi
54222
54223   fi
54224   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
54225 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
54226
54227   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
54228
54229 for ac_func in copysign
54230 do
54231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54232 echo "$as_me:$LINENO: checking for $ac_func" >&5
54233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54234 if eval "test \"\${$as_ac_var+set}\" = set"; then
54235   echo $ECHO_N "(cached) $ECHO_C" >&6
54236 else
54237   if test x$gcc_no_link = xyes; then
54238   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54240    { (exit 1); exit 1; }; }
54241 fi
54242 cat >conftest.$ac_ext <<_ACEOF
54243 /* confdefs.h.  */
54244 _ACEOF
54245 cat confdefs.h >>conftest.$ac_ext
54246 cat >>conftest.$ac_ext <<_ACEOF
54247 /* end confdefs.h.  */
54248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54249    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54250 #define $ac_func innocuous_$ac_func
54251
54252 /* System header to define __stub macros and hopefully few prototypes,
54253     which can conflict with char $ac_func (); below.
54254     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54255     <limits.h> exists even on freestanding compilers.  */
54256
54257 #ifdef __STDC__
54258 # include <limits.h>
54259 #else
54260 # include <assert.h>
54261 #endif
54262
54263 #undef $ac_func
54264
54265 /* Override any gcc2 internal prototype to avoid an error.  */
54266 #ifdef __cplusplus
54267 extern "C"
54268 {
54269 #endif
54270 /* We use char because int might match the return type of a gcc2
54271    builtin and then its argument prototype would still apply.  */
54272 char $ac_func ();
54273 /* The GNU C library defines this for functions which it implements
54274     to always fail with ENOSYS.  Some functions are actually named
54275     something starting with __ and the normal name is an alias.  */
54276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54277 choke me
54278 #else
54279 char (*f) () = $ac_func;
54280 #endif
54281 #ifdef __cplusplus
54282 }
54283 #endif
54284
54285 int
54286 main ()
54287 {
54288 return f != $ac_func;
54289   ;
54290   return 0;
54291 }
54292 _ACEOF
54293 rm -f conftest.$ac_objext conftest$ac_exeext
54294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54295   (eval $ac_link) 2>conftest.er1
54296   ac_status=$?
54297   grep -v '^ *+' conftest.er1 >conftest.err
54298   rm -f conftest.er1
54299   cat conftest.err >&5
54300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54301   (exit $ac_status); } &&
54302          { ac_try='test -z "$ac_c_werror_flag"
54303                          || test ! -s conftest.err'
54304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54305   (eval $ac_try) 2>&5
54306   ac_status=$?
54307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54308   (exit $ac_status); }; } &&
54309          { ac_try='test -s conftest$ac_exeext'
54310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54311   (eval $ac_try) 2>&5
54312   ac_status=$?
54313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54314   (exit $ac_status); }; }; then
54315   eval "$as_ac_var=yes"
54316 else
54317   echo "$as_me: failed program was:" >&5
54318 sed 's/^/| /' conftest.$ac_ext >&5
54319
54320 eval "$as_ac_var=no"
54321 fi
54322 rm -f conftest.err conftest.$ac_objext \
54323       conftest$ac_exeext conftest.$ac_ext
54324 fi
54325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54327 if test `eval echo '${'$as_ac_var'}'` = yes; then
54328   cat >>confdefs.h <<_ACEOF
54329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54330 _ACEOF
54331
54332 fi
54333 done
54334
54335   else
54336
54337   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
54338 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
54339   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
54340     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
54341   echo $ECHO_N "(cached) $ECHO_C" >&6
54342 else
54343
54344
54345
54346       ac_ext=cc
54347 ac_cpp='$CXXCPP $CPPFLAGS'
54348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54351
54352       cat >conftest.$ac_ext <<_ACEOF
54353 /* confdefs.h.  */
54354 _ACEOF
54355 cat confdefs.h >>conftest.$ac_ext
54356 cat >>conftest.$ac_ext <<_ACEOF
54357 /* end confdefs.h.  */
54358 #include <math.h>
54359 int
54360 main ()
54361 {
54362  _copysign(0, 0);
54363   ;
54364   return 0;
54365 }
54366 _ACEOF
54367 rm -f conftest.$ac_objext
54368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54369   (eval $ac_compile) 2>conftest.er1
54370   ac_status=$?
54371   grep -v '^ *+' conftest.er1 >conftest.err
54372   rm -f conftest.er1
54373   cat conftest.err >&5
54374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54375   (exit $ac_status); } &&
54376          { ac_try='test -z "$ac_cxx_werror_flag"
54377                          || test ! -s conftest.err'
54378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54379   (eval $ac_try) 2>&5
54380   ac_status=$?
54381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54382   (exit $ac_status); }; } &&
54383          { ac_try='test -s conftest.$ac_objext'
54384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54385   (eval $ac_try) 2>&5
54386   ac_status=$?
54387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54388   (exit $ac_status); }; }; then
54389   glibcxx_cv_func__copysign_use=yes
54390 else
54391   echo "$as_me: failed program was:" >&5
54392 sed 's/^/| /' conftest.$ac_ext >&5
54393
54394 glibcxx_cv_func__copysign_use=no
54395 fi
54396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54397       ac_ext=c
54398 ac_cpp='$CPP $CPPFLAGS'
54399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54402
54403
54404 fi
54405
54406   fi
54407   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
54408 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
54409
54410     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
54411
54412 for ac_func in _copysign
54413 do
54414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54415 echo "$as_me:$LINENO: checking for $ac_func" >&5
54416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54417 if eval "test \"\${$as_ac_var+set}\" = set"; then
54418   echo $ECHO_N "(cached) $ECHO_C" >&6
54419 else
54420   if test x$gcc_no_link = xyes; then
54421   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54423    { (exit 1); exit 1; }; }
54424 fi
54425 cat >conftest.$ac_ext <<_ACEOF
54426 /* confdefs.h.  */
54427 _ACEOF
54428 cat confdefs.h >>conftest.$ac_ext
54429 cat >>conftest.$ac_ext <<_ACEOF
54430 /* end confdefs.h.  */
54431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54432    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54433 #define $ac_func innocuous_$ac_func
54434
54435 /* System header to define __stub macros and hopefully few prototypes,
54436     which can conflict with char $ac_func (); below.
54437     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54438     <limits.h> exists even on freestanding compilers.  */
54439
54440 #ifdef __STDC__
54441 # include <limits.h>
54442 #else
54443 # include <assert.h>
54444 #endif
54445
54446 #undef $ac_func
54447
54448 /* Override any gcc2 internal prototype to avoid an error.  */
54449 #ifdef __cplusplus
54450 extern "C"
54451 {
54452 #endif
54453 /* We use char because int might match the return type of a gcc2
54454    builtin and then its argument prototype would still apply.  */
54455 char $ac_func ();
54456 /* The GNU C library defines this for functions which it implements
54457     to always fail with ENOSYS.  Some functions are actually named
54458     something starting with __ and the normal name is an alias.  */
54459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54460 choke me
54461 #else
54462 char (*f) () = $ac_func;
54463 #endif
54464 #ifdef __cplusplus
54465 }
54466 #endif
54467
54468 int
54469 main ()
54470 {
54471 return f != $ac_func;
54472   ;
54473   return 0;
54474 }
54475 _ACEOF
54476 rm -f conftest.$ac_objext conftest$ac_exeext
54477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54478   (eval $ac_link) 2>conftest.er1
54479   ac_status=$?
54480   grep -v '^ *+' conftest.er1 >conftest.err
54481   rm -f conftest.er1
54482   cat conftest.err >&5
54483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54484   (exit $ac_status); } &&
54485          { ac_try='test -z "$ac_c_werror_flag"
54486                          || test ! -s conftest.err'
54487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54488   (eval $ac_try) 2>&5
54489   ac_status=$?
54490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54491   (exit $ac_status); }; } &&
54492          { ac_try='test -s conftest$ac_exeext'
54493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54494   (eval $ac_try) 2>&5
54495   ac_status=$?
54496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54497   (exit $ac_status); }; }; then
54498   eval "$as_ac_var=yes"
54499 else
54500   echo "$as_me: failed program was:" >&5
54501 sed 's/^/| /' conftest.$ac_ext >&5
54502
54503 eval "$as_ac_var=no"
54504 fi
54505 rm -f conftest.err conftest.$ac_objext \
54506       conftest$ac_exeext conftest.$ac_ext
54507 fi
54508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54510 if test `eval echo '${'$as_ac_var'}'` = yes; then
54511   cat >>confdefs.h <<_ACEOF
54512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54513 _ACEOF
54514
54515 fi
54516 done
54517
54518     fi
54519   fi
54520
54521
54522
54523
54524
54525
54526   echo "$as_me:$LINENO: checking for sincos declaration" >&5
54527 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
54528   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54529     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
54530   echo $ECHO_N "(cached) $ECHO_C" >&6
54531 else
54532
54533
54534
54535       ac_ext=cc
54536 ac_cpp='$CXXCPP $CPPFLAGS'
54537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54540
54541       cat >conftest.$ac_ext <<_ACEOF
54542 /* confdefs.h.  */
54543 _ACEOF
54544 cat confdefs.h >>conftest.$ac_ext
54545 cat >>conftest.$ac_ext <<_ACEOF
54546 /* end confdefs.h.  */
54547 #include <math.h>
54548 int
54549 main ()
54550 {
54551  sincos(0, 0, 0);
54552   ;
54553   return 0;
54554 }
54555 _ACEOF
54556 rm -f conftest.$ac_objext
54557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54558   (eval $ac_compile) 2>conftest.er1
54559   ac_status=$?
54560   grep -v '^ *+' conftest.er1 >conftest.err
54561   rm -f conftest.er1
54562   cat conftest.err >&5
54563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54564   (exit $ac_status); } &&
54565          { ac_try='test -z "$ac_cxx_werror_flag"
54566                          || test ! -s conftest.err'
54567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54568   (eval $ac_try) 2>&5
54569   ac_status=$?
54570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54571   (exit $ac_status); }; } &&
54572          { ac_try='test -s conftest.$ac_objext'
54573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54574   (eval $ac_try) 2>&5
54575   ac_status=$?
54576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54577   (exit $ac_status); }; }; then
54578   glibcxx_cv_func_sincos_use=yes
54579 else
54580   echo "$as_me: failed program was:" >&5
54581 sed 's/^/| /' conftest.$ac_ext >&5
54582
54583 glibcxx_cv_func_sincos_use=no
54584 fi
54585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54586       ac_ext=c
54587 ac_cpp='$CPP $CPPFLAGS'
54588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54591
54592
54593 fi
54594
54595   fi
54596   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
54597 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
54598
54599   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54600
54601 for ac_func in sincos
54602 do
54603 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54604 echo "$as_me:$LINENO: checking for $ac_func" >&5
54605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54606 if eval "test \"\${$as_ac_var+set}\" = set"; then
54607   echo $ECHO_N "(cached) $ECHO_C" >&6
54608 else
54609   if test x$gcc_no_link = xyes; then
54610   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54612    { (exit 1); exit 1; }; }
54613 fi
54614 cat >conftest.$ac_ext <<_ACEOF
54615 /* confdefs.h.  */
54616 _ACEOF
54617 cat confdefs.h >>conftest.$ac_ext
54618 cat >>conftest.$ac_ext <<_ACEOF
54619 /* end confdefs.h.  */
54620 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54621    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54622 #define $ac_func innocuous_$ac_func
54623
54624 /* System header to define __stub macros and hopefully few prototypes,
54625     which can conflict with char $ac_func (); below.
54626     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54627     <limits.h> exists even on freestanding compilers.  */
54628
54629 #ifdef __STDC__
54630 # include <limits.h>
54631 #else
54632 # include <assert.h>
54633 #endif
54634
54635 #undef $ac_func
54636
54637 /* Override any gcc2 internal prototype to avoid an error.  */
54638 #ifdef __cplusplus
54639 extern "C"
54640 {
54641 #endif
54642 /* We use char because int might match the return type of a gcc2
54643    builtin and then its argument prototype would still apply.  */
54644 char $ac_func ();
54645 /* The GNU C library defines this for functions which it implements
54646     to always fail with ENOSYS.  Some functions are actually named
54647     something starting with __ and the normal name is an alias.  */
54648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54649 choke me
54650 #else
54651 char (*f) () = $ac_func;
54652 #endif
54653 #ifdef __cplusplus
54654 }
54655 #endif
54656
54657 int
54658 main ()
54659 {
54660 return f != $ac_func;
54661   ;
54662   return 0;
54663 }
54664 _ACEOF
54665 rm -f conftest.$ac_objext conftest$ac_exeext
54666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54667   (eval $ac_link) 2>conftest.er1
54668   ac_status=$?
54669   grep -v '^ *+' conftest.er1 >conftest.err
54670   rm -f conftest.er1
54671   cat conftest.err >&5
54672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54673   (exit $ac_status); } &&
54674          { ac_try='test -z "$ac_c_werror_flag"
54675                          || test ! -s conftest.err'
54676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54677   (eval $ac_try) 2>&5
54678   ac_status=$?
54679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54680   (exit $ac_status); }; } &&
54681          { ac_try='test -s conftest$ac_exeext'
54682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54683   (eval $ac_try) 2>&5
54684   ac_status=$?
54685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54686   (exit $ac_status); }; }; then
54687   eval "$as_ac_var=yes"
54688 else
54689   echo "$as_me: failed program was:" >&5
54690 sed 's/^/| /' conftest.$ac_ext >&5
54691
54692 eval "$as_ac_var=no"
54693 fi
54694 rm -f conftest.err conftest.$ac_objext \
54695       conftest$ac_exeext conftest.$ac_ext
54696 fi
54697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54698 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54699 if test `eval echo '${'$as_ac_var'}'` = yes; then
54700   cat >>confdefs.h <<_ACEOF
54701 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54702 _ACEOF
54703
54704 fi
54705 done
54706
54707   else
54708
54709   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
54710 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
54711   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54712     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
54713   echo $ECHO_N "(cached) $ECHO_C" >&6
54714 else
54715
54716
54717
54718       ac_ext=cc
54719 ac_cpp='$CXXCPP $CPPFLAGS'
54720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54723
54724       cat >conftest.$ac_ext <<_ACEOF
54725 /* confdefs.h.  */
54726 _ACEOF
54727 cat confdefs.h >>conftest.$ac_ext
54728 cat >>conftest.$ac_ext <<_ACEOF
54729 /* end confdefs.h.  */
54730 #include <math.h>
54731 int
54732 main ()
54733 {
54734  _sincos(0, 0, 0);
54735   ;
54736   return 0;
54737 }
54738 _ACEOF
54739 rm -f conftest.$ac_objext
54740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54741   (eval $ac_compile) 2>conftest.er1
54742   ac_status=$?
54743   grep -v '^ *+' conftest.er1 >conftest.err
54744   rm -f conftest.er1
54745   cat conftest.err >&5
54746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54747   (exit $ac_status); } &&
54748          { ac_try='test -z "$ac_cxx_werror_flag"
54749                          || test ! -s conftest.err'
54750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54751   (eval $ac_try) 2>&5
54752   ac_status=$?
54753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54754   (exit $ac_status); }; } &&
54755          { ac_try='test -s conftest.$ac_objext'
54756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54757   (eval $ac_try) 2>&5
54758   ac_status=$?
54759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54760   (exit $ac_status); }; }; then
54761   glibcxx_cv_func__sincos_use=yes
54762 else
54763   echo "$as_me: failed program was:" >&5
54764 sed 's/^/| /' conftest.$ac_ext >&5
54765
54766 glibcxx_cv_func__sincos_use=no
54767 fi
54768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54769       ac_ext=c
54770 ac_cpp='$CPP $CPPFLAGS'
54771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54774
54775
54776 fi
54777
54778   fi
54779   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
54780 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
54781
54782     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54783
54784 for ac_func in _sincos
54785 do
54786 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54787 echo "$as_me:$LINENO: checking for $ac_func" >&5
54788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54789 if eval "test \"\${$as_ac_var+set}\" = set"; then
54790   echo $ECHO_N "(cached) $ECHO_C" >&6
54791 else
54792   if test x$gcc_no_link = xyes; then
54793   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54795    { (exit 1); exit 1; }; }
54796 fi
54797 cat >conftest.$ac_ext <<_ACEOF
54798 /* confdefs.h.  */
54799 _ACEOF
54800 cat confdefs.h >>conftest.$ac_ext
54801 cat >>conftest.$ac_ext <<_ACEOF
54802 /* end confdefs.h.  */
54803 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54804    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54805 #define $ac_func innocuous_$ac_func
54806
54807 /* System header to define __stub macros and hopefully few prototypes,
54808     which can conflict with char $ac_func (); below.
54809     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54810     <limits.h> exists even on freestanding compilers.  */
54811
54812 #ifdef __STDC__
54813 # include <limits.h>
54814 #else
54815 # include <assert.h>
54816 #endif
54817
54818 #undef $ac_func
54819
54820 /* Override any gcc2 internal prototype to avoid an error.  */
54821 #ifdef __cplusplus
54822 extern "C"
54823 {
54824 #endif
54825 /* We use char because int might match the return type of a gcc2
54826    builtin and then its argument prototype would still apply.  */
54827 char $ac_func ();
54828 /* The GNU C library defines this for functions which it implements
54829     to always fail with ENOSYS.  Some functions are actually named
54830     something starting with __ and the normal name is an alias.  */
54831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54832 choke me
54833 #else
54834 char (*f) () = $ac_func;
54835 #endif
54836 #ifdef __cplusplus
54837 }
54838 #endif
54839
54840 int
54841 main ()
54842 {
54843 return f != $ac_func;
54844   ;
54845   return 0;
54846 }
54847 _ACEOF
54848 rm -f conftest.$ac_objext conftest$ac_exeext
54849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54850   (eval $ac_link) 2>conftest.er1
54851   ac_status=$?
54852   grep -v '^ *+' conftest.er1 >conftest.err
54853   rm -f conftest.er1
54854   cat conftest.err >&5
54855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54856   (exit $ac_status); } &&
54857          { ac_try='test -z "$ac_c_werror_flag"
54858                          || test ! -s conftest.err'
54859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54860   (eval $ac_try) 2>&5
54861   ac_status=$?
54862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54863   (exit $ac_status); }; } &&
54864          { ac_try='test -s conftest$ac_exeext'
54865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54866   (eval $ac_try) 2>&5
54867   ac_status=$?
54868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54869   (exit $ac_status); }; }; then
54870   eval "$as_ac_var=yes"
54871 else
54872   echo "$as_me: failed program was:" >&5
54873 sed 's/^/| /' conftest.$ac_ext >&5
54874
54875 eval "$as_ac_var=no"
54876 fi
54877 rm -f conftest.err conftest.$ac_objext \
54878       conftest$ac_exeext conftest.$ac_ext
54879 fi
54880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54881 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54882 if test `eval echo '${'$as_ac_var'}'` = yes; then
54883   cat >>confdefs.h <<_ACEOF
54884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54885 _ACEOF
54886
54887 fi
54888 done
54889
54890     fi
54891   fi
54892
54893
54894
54895
54896
54897
54898   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
54899 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
54900   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54901     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
54902   echo $ECHO_N "(cached) $ECHO_C" >&6
54903 else
54904
54905
54906
54907       ac_ext=cc
54908 ac_cpp='$CXXCPP $CPPFLAGS'
54909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54912
54913       cat >conftest.$ac_ext <<_ACEOF
54914 /* confdefs.h.  */
54915 _ACEOF
54916 cat confdefs.h >>conftest.$ac_ext
54917 cat >>conftest.$ac_ext <<_ACEOF
54918 /* end confdefs.h.  */
54919 #include <math.h>
54920                       #ifdef HAVE_IEEEFP_H
54921                       #include <ieeefp.h>
54922                       #endif
54923
54924 int
54925 main ()
54926 {
54927  fpclass(0);
54928   ;
54929   return 0;
54930 }
54931 _ACEOF
54932 rm -f conftest.$ac_objext
54933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54934   (eval $ac_compile) 2>conftest.er1
54935   ac_status=$?
54936   grep -v '^ *+' conftest.er1 >conftest.err
54937   rm -f conftest.er1
54938   cat conftest.err >&5
54939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54940   (exit $ac_status); } &&
54941          { ac_try='test -z "$ac_cxx_werror_flag"
54942                          || test ! -s conftest.err'
54943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54944   (eval $ac_try) 2>&5
54945   ac_status=$?
54946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54947   (exit $ac_status); }; } &&
54948          { ac_try='test -s conftest.$ac_objext'
54949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54950   (eval $ac_try) 2>&5
54951   ac_status=$?
54952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54953   (exit $ac_status); }; }; then
54954   glibcxx_cv_func_fpclass_use=yes
54955 else
54956   echo "$as_me: failed program was:" >&5
54957 sed 's/^/| /' conftest.$ac_ext >&5
54958
54959 glibcxx_cv_func_fpclass_use=no
54960 fi
54961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54962       ac_ext=c
54963 ac_cpp='$CPP $CPPFLAGS'
54964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54967
54968
54969 fi
54970
54971   fi
54972   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
54973 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
54974
54975   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54976
54977 for ac_func in fpclass
54978 do
54979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54980 echo "$as_me:$LINENO: checking for $ac_func" >&5
54981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54982 if eval "test \"\${$as_ac_var+set}\" = set"; then
54983   echo $ECHO_N "(cached) $ECHO_C" >&6
54984 else
54985   if test x$gcc_no_link = xyes; then
54986   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54988    { (exit 1); exit 1; }; }
54989 fi
54990 cat >conftest.$ac_ext <<_ACEOF
54991 /* confdefs.h.  */
54992 _ACEOF
54993 cat confdefs.h >>conftest.$ac_ext
54994 cat >>conftest.$ac_ext <<_ACEOF
54995 /* end confdefs.h.  */
54996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54997    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54998 #define $ac_func innocuous_$ac_func
54999
55000 /* System header to define __stub macros and hopefully few prototypes,
55001     which can conflict with char $ac_func (); below.
55002     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55003     <limits.h> exists even on freestanding compilers.  */
55004
55005 #ifdef __STDC__
55006 # include <limits.h>
55007 #else
55008 # include <assert.h>
55009 #endif
55010
55011 #undef $ac_func
55012
55013 /* Override any gcc2 internal prototype to avoid an error.  */
55014 #ifdef __cplusplus
55015 extern "C"
55016 {
55017 #endif
55018 /* We use char because int might match the return type of a gcc2
55019    builtin and then its argument prototype would still apply.  */
55020 char $ac_func ();
55021 /* The GNU C library defines this for functions which it implements
55022     to always fail with ENOSYS.  Some functions are actually named
55023     something starting with __ and the normal name is an alias.  */
55024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55025 choke me
55026 #else
55027 char (*f) () = $ac_func;
55028 #endif
55029 #ifdef __cplusplus
55030 }
55031 #endif
55032
55033 int
55034 main ()
55035 {
55036 return f != $ac_func;
55037   ;
55038   return 0;
55039 }
55040 _ACEOF
55041 rm -f conftest.$ac_objext conftest$ac_exeext
55042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55043   (eval $ac_link) 2>conftest.er1
55044   ac_status=$?
55045   grep -v '^ *+' conftest.er1 >conftest.err
55046   rm -f conftest.er1
55047   cat conftest.err >&5
55048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55049   (exit $ac_status); } &&
55050          { ac_try='test -z "$ac_c_werror_flag"
55051                          || test ! -s conftest.err'
55052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55053   (eval $ac_try) 2>&5
55054   ac_status=$?
55055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55056   (exit $ac_status); }; } &&
55057          { ac_try='test -s conftest$ac_exeext'
55058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55059   (eval $ac_try) 2>&5
55060   ac_status=$?
55061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55062   (exit $ac_status); }; }; then
55063   eval "$as_ac_var=yes"
55064 else
55065   echo "$as_me: failed program was:" >&5
55066 sed 's/^/| /' conftest.$ac_ext >&5
55067
55068 eval "$as_ac_var=no"
55069 fi
55070 rm -f conftest.err conftest.$ac_objext \
55071       conftest$ac_exeext conftest.$ac_ext
55072 fi
55073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55075 if test `eval echo '${'$as_ac_var'}'` = yes; then
55076   cat >>confdefs.h <<_ACEOF
55077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55078 _ACEOF
55079
55080 fi
55081 done
55082
55083   else
55084
55085   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
55086 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
55087   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55088     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
55089   echo $ECHO_N "(cached) $ECHO_C" >&6
55090 else
55091
55092
55093
55094       ac_ext=cc
55095 ac_cpp='$CXXCPP $CPPFLAGS'
55096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55099
55100       cat >conftest.$ac_ext <<_ACEOF
55101 /* confdefs.h.  */
55102 _ACEOF
55103 cat confdefs.h >>conftest.$ac_ext
55104 cat >>conftest.$ac_ext <<_ACEOF
55105 /* end confdefs.h.  */
55106 #include <math.h>
55107                       #ifdef HAVE_IEEEFP_H
55108                       #include <ieeefp.h>
55109                       #endif
55110
55111 int
55112 main ()
55113 {
55114  _fpclass(0);
55115   ;
55116   return 0;
55117 }
55118 _ACEOF
55119 rm -f conftest.$ac_objext
55120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55121   (eval $ac_compile) 2>conftest.er1
55122   ac_status=$?
55123   grep -v '^ *+' conftest.er1 >conftest.err
55124   rm -f conftest.er1
55125   cat conftest.err >&5
55126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55127   (exit $ac_status); } &&
55128          { ac_try='test -z "$ac_cxx_werror_flag"
55129                          || test ! -s conftest.err'
55130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55131   (eval $ac_try) 2>&5
55132   ac_status=$?
55133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55134   (exit $ac_status); }; } &&
55135          { ac_try='test -s conftest.$ac_objext'
55136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55137   (eval $ac_try) 2>&5
55138   ac_status=$?
55139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55140   (exit $ac_status); }; }; then
55141   glibcxx_cv_func__fpclass_use=yes
55142 else
55143   echo "$as_me: failed program was:" >&5
55144 sed 's/^/| /' conftest.$ac_ext >&5
55145
55146 glibcxx_cv_func__fpclass_use=no
55147 fi
55148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55149       ac_ext=c
55150 ac_cpp='$CPP $CPPFLAGS'
55151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55154
55155
55156 fi
55157
55158   fi
55159   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
55160 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
55161
55162     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55163
55164 for ac_func in _fpclass
55165 do
55166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55167 echo "$as_me:$LINENO: checking for $ac_func" >&5
55168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55169 if eval "test \"\${$as_ac_var+set}\" = set"; then
55170   echo $ECHO_N "(cached) $ECHO_C" >&6
55171 else
55172   if test x$gcc_no_link = xyes; then
55173   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55175    { (exit 1); exit 1; }; }
55176 fi
55177 cat >conftest.$ac_ext <<_ACEOF
55178 /* confdefs.h.  */
55179 _ACEOF
55180 cat confdefs.h >>conftest.$ac_ext
55181 cat >>conftest.$ac_ext <<_ACEOF
55182 /* end confdefs.h.  */
55183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55184    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55185 #define $ac_func innocuous_$ac_func
55186
55187 /* System header to define __stub macros and hopefully few prototypes,
55188     which can conflict with char $ac_func (); below.
55189     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55190     <limits.h> exists even on freestanding compilers.  */
55191
55192 #ifdef __STDC__
55193 # include <limits.h>
55194 #else
55195 # include <assert.h>
55196 #endif
55197
55198 #undef $ac_func
55199
55200 /* Override any gcc2 internal prototype to avoid an error.  */
55201 #ifdef __cplusplus
55202 extern "C"
55203 {
55204 #endif
55205 /* We use char because int might match the return type of a gcc2
55206    builtin and then its argument prototype would still apply.  */
55207 char $ac_func ();
55208 /* The GNU C library defines this for functions which it implements
55209     to always fail with ENOSYS.  Some functions are actually named
55210     something starting with __ and the normal name is an alias.  */
55211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55212 choke me
55213 #else
55214 char (*f) () = $ac_func;
55215 #endif
55216 #ifdef __cplusplus
55217 }
55218 #endif
55219
55220 int
55221 main ()
55222 {
55223 return f != $ac_func;
55224   ;
55225   return 0;
55226 }
55227 _ACEOF
55228 rm -f conftest.$ac_objext conftest$ac_exeext
55229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55230   (eval $ac_link) 2>conftest.er1
55231   ac_status=$?
55232   grep -v '^ *+' conftest.er1 >conftest.err
55233   rm -f conftest.er1
55234   cat conftest.err >&5
55235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55236   (exit $ac_status); } &&
55237          { ac_try='test -z "$ac_c_werror_flag"
55238                          || test ! -s conftest.err'
55239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55240   (eval $ac_try) 2>&5
55241   ac_status=$?
55242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55243   (exit $ac_status); }; } &&
55244          { ac_try='test -s conftest$ac_exeext'
55245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55246   (eval $ac_try) 2>&5
55247   ac_status=$?
55248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55249   (exit $ac_status); }; }; then
55250   eval "$as_ac_var=yes"
55251 else
55252   echo "$as_me: failed program was:" >&5
55253 sed 's/^/| /' conftest.$ac_ext >&5
55254
55255 eval "$as_ac_var=no"
55256 fi
55257 rm -f conftest.err conftest.$ac_objext \
55258       conftest$ac_exeext conftest.$ac_ext
55259 fi
55260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55262 if test `eval echo '${'$as_ac_var'}'` = yes; then
55263   cat >>confdefs.h <<_ACEOF
55264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55265 _ACEOF
55266
55267 fi
55268 done
55269
55270     fi
55271   fi
55272
55273
55274
55275
55276
55277
55278   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
55279 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
55280   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55281     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
55282   echo $ECHO_N "(cached) $ECHO_C" >&6
55283 else
55284
55285
55286
55287       ac_ext=cc
55288 ac_cpp='$CXXCPP $CPPFLAGS'
55289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55292
55293       cat >conftest.$ac_ext <<_ACEOF
55294 /* confdefs.h.  */
55295 _ACEOF
55296 cat confdefs.h >>conftest.$ac_ext
55297 cat >>conftest.$ac_ext <<_ACEOF
55298 /* end confdefs.h.  */
55299 #include <math.h>
55300                       #ifdef HAVE_IEEEFP_H
55301                       #include <ieeefp.h>
55302                       #endif
55303
55304 int
55305 main ()
55306 {
55307  qfpclass(0);
55308   ;
55309   return 0;
55310 }
55311 _ACEOF
55312 rm -f conftest.$ac_objext
55313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55314   (eval $ac_compile) 2>conftest.er1
55315   ac_status=$?
55316   grep -v '^ *+' conftest.er1 >conftest.err
55317   rm -f conftest.er1
55318   cat conftest.err >&5
55319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55320   (exit $ac_status); } &&
55321          { ac_try='test -z "$ac_cxx_werror_flag"
55322                          || test ! -s conftest.err'
55323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55324   (eval $ac_try) 2>&5
55325   ac_status=$?
55326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55327   (exit $ac_status); }; } &&
55328          { ac_try='test -s conftest.$ac_objext'
55329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55330   (eval $ac_try) 2>&5
55331   ac_status=$?
55332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55333   (exit $ac_status); }; }; then
55334   glibcxx_cv_func_qfpclass_use=yes
55335 else
55336   echo "$as_me: failed program was:" >&5
55337 sed 's/^/| /' conftest.$ac_ext >&5
55338
55339 glibcxx_cv_func_qfpclass_use=no
55340 fi
55341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55342       ac_ext=c
55343 ac_cpp='$CPP $CPPFLAGS'
55344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55347
55348
55349 fi
55350
55351   fi
55352   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
55353 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
55354
55355   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55356
55357 for ac_func in qfpclass
55358 do
55359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55360 echo "$as_me:$LINENO: checking for $ac_func" >&5
55361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55362 if eval "test \"\${$as_ac_var+set}\" = set"; then
55363   echo $ECHO_N "(cached) $ECHO_C" >&6
55364 else
55365   if test x$gcc_no_link = xyes; then
55366   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55368    { (exit 1); exit 1; }; }
55369 fi
55370 cat >conftest.$ac_ext <<_ACEOF
55371 /* confdefs.h.  */
55372 _ACEOF
55373 cat confdefs.h >>conftest.$ac_ext
55374 cat >>conftest.$ac_ext <<_ACEOF
55375 /* end confdefs.h.  */
55376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55377    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55378 #define $ac_func innocuous_$ac_func
55379
55380 /* System header to define __stub macros and hopefully few prototypes,
55381     which can conflict with char $ac_func (); below.
55382     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55383     <limits.h> exists even on freestanding compilers.  */
55384
55385 #ifdef __STDC__
55386 # include <limits.h>
55387 #else
55388 # include <assert.h>
55389 #endif
55390
55391 #undef $ac_func
55392
55393 /* Override any gcc2 internal prototype to avoid an error.  */
55394 #ifdef __cplusplus
55395 extern "C"
55396 {
55397 #endif
55398 /* We use char because int might match the return type of a gcc2
55399    builtin and then its argument prototype would still apply.  */
55400 char $ac_func ();
55401 /* The GNU C library defines this for functions which it implements
55402     to always fail with ENOSYS.  Some functions are actually named
55403     something starting with __ and the normal name is an alias.  */
55404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55405 choke me
55406 #else
55407 char (*f) () = $ac_func;
55408 #endif
55409 #ifdef __cplusplus
55410 }
55411 #endif
55412
55413 int
55414 main ()
55415 {
55416 return f != $ac_func;
55417   ;
55418   return 0;
55419 }
55420 _ACEOF
55421 rm -f conftest.$ac_objext conftest$ac_exeext
55422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55423   (eval $ac_link) 2>conftest.er1
55424   ac_status=$?
55425   grep -v '^ *+' conftest.er1 >conftest.err
55426   rm -f conftest.er1
55427   cat conftest.err >&5
55428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55429   (exit $ac_status); } &&
55430          { ac_try='test -z "$ac_c_werror_flag"
55431                          || test ! -s conftest.err'
55432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55433   (eval $ac_try) 2>&5
55434   ac_status=$?
55435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55436   (exit $ac_status); }; } &&
55437          { ac_try='test -s conftest$ac_exeext'
55438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55439   (eval $ac_try) 2>&5
55440   ac_status=$?
55441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55442   (exit $ac_status); }; }; then
55443   eval "$as_ac_var=yes"
55444 else
55445   echo "$as_me: failed program was:" >&5
55446 sed 's/^/| /' conftest.$ac_ext >&5
55447
55448 eval "$as_ac_var=no"
55449 fi
55450 rm -f conftest.err conftest.$ac_objext \
55451       conftest$ac_exeext conftest.$ac_ext
55452 fi
55453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55455 if test `eval echo '${'$as_ac_var'}'` = yes; then
55456   cat >>confdefs.h <<_ACEOF
55457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55458 _ACEOF
55459
55460 fi
55461 done
55462
55463   else
55464
55465   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
55466 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
55467   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55468     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
55469   echo $ECHO_N "(cached) $ECHO_C" >&6
55470 else
55471
55472
55473
55474       ac_ext=cc
55475 ac_cpp='$CXXCPP $CPPFLAGS'
55476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55479
55480       cat >conftest.$ac_ext <<_ACEOF
55481 /* confdefs.h.  */
55482 _ACEOF
55483 cat confdefs.h >>conftest.$ac_ext
55484 cat >>conftest.$ac_ext <<_ACEOF
55485 /* end confdefs.h.  */
55486 #include <math.h>
55487                       #ifdef HAVE_IEEEFP_H
55488                       #include <ieeefp.h>
55489                       #endif
55490
55491 int
55492 main ()
55493 {
55494  _qfpclass(0);
55495   ;
55496   return 0;
55497 }
55498 _ACEOF
55499 rm -f conftest.$ac_objext
55500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55501   (eval $ac_compile) 2>conftest.er1
55502   ac_status=$?
55503   grep -v '^ *+' conftest.er1 >conftest.err
55504   rm -f conftest.er1
55505   cat conftest.err >&5
55506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55507   (exit $ac_status); } &&
55508          { ac_try='test -z "$ac_cxx_werror_flag"
55509                          || test ! -s conftest.err'
55510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55511   (eval $ac_try) 2>&5
55512   ac_status=$?
55513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55514   (exit $ac_status); }; } &&
55515          { ac_try='test -s conftest.$ac_objext'
55516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55517   (eval $ac_try) 2>&5
55518   ac_status=$?
55519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55520   (exit $ac_status); }; }; then
55521   glibcxx_cv_func__qfpclass_use=yes
55522 else
55523   echo "$as_me: failed program was:" >&5
55524 sed 's/^/| /' conftest.$ac_ext >&5
55525
55526 glibcxx_cv_func__qfpclass_use=no
55527 fi
55528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55529       ac_ext=c
55530 ac_cpp='$CPP $CPPFLAGS'
55531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55534
55535
55536 fi
55537
55538   fi
55539   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
55540 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
55541
55542     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55543
55544 for ac_func in _qfpclass
55545 do
55546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55547 echo "$as_me:$LINENO: checking for $ac_func" >&5
55548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55549 if eval "test \"\${$as_ac_var+set}\" = set"; then
55550   echo $ECHO_N "(cached) $ECHO_C" >&6
55551 else
55552   if test x$gcc_no_link = xyes; then
55553   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55555    { (exit 1); exit 1; }; }
55556 fi
55557 cat >conftest.$ac_ext <<_ACEOF
55558 /* confdefs.h.  */
55559 _ACEOF
55560 cat confdefs.h >>conftest.$ac_ext
55561 cat >>conftest.$ac_ext <<_ACEOF
55562 /* end confdefs.h.  */
55563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55564    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55565 #define $ac_func innocuous_$ac_func
55566
55567 /* System header to define __stub macros and hopefully few prototypes,
55568     which can conflict with char $ac_func (); below.
55569     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55570     <limits.h> exists even on freestanding compilers.  */
55571
55572 #ifdef __STDC__
55573 # include <limits.h>
55574 #else
55575 # include <assert.h>
55576 #endif
55577
55578 #undef $ac_func
55579
55580 /* Override any gcc2 internal prototype to avoid an error.  */
55581 #ifdef __cplusplus
55582 extern "C"
55583 {
55584 #endif
55585 /* We use char because int might match the return type of a gcc2
55586    builtin and then its argument prototype would still apply.  */
55587 char $ac_func ();
55588 /* The GNU C library defines this for functions which it implements
55589     to always fail with ENOSYS.  Some functions are actually named
55590     something starting with __ and the normal name is an alias.  */
55591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55592 choke me
55593 #else
55594 char (*f) () = $ac_func;
55595 #endif
55596 #ifdef __cplusplus
55597 }
55598 #endif
55599
55600 int
55601 main ()
55602 {
55603 return f != $ac_func;
55604   ;
55605   return 0;
55606 }
55607 _ACEOF
55608 rm -f conftest.$ac_objext conftest$ac_exeext
55609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55610   (eval $ac_link) 2>conftest.er1
55611   ac_status=$?
55612   grep -v '^ *+' conftest.er1 >conftest.err
55613   rm -f conftest.er1
55614   cat conftest.err >&5
55615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55616   (exit $ac_status); } &&
55617          { ac_try='test -z "$ac_c_werror_flag"
55618                          || test ! -s conftest.err'
55619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55620   (eval $ac_try) 2>&5
55621   ac_status=$?
55622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55623   (exit $ac_status); }; } &&
55624          { ac_try='test -s conftest$ac_exeext'
55625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55626   (eval $ac_try) 2>&5
55627   ac_status=$?
55628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55629   (exit $ac_status); }; }; then
55630   eval "$as_ac_var=yes"
55631 else
55632   echo "$as_me: failed program was:" >&5
55633 sed 's/^/| /' conftest.$ac_ext >&5
55634
55635 eval "$as_ac_var=no"
55636 fi
55637 rm -f conftest.err conftest.$ac_objext \
55638       conftest$ac_exeext conftest.$ac_ext
55639 fi
55640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55642 if test `eval echo '${'$as_ac_var'}'` = yes; then
55643   cat >>confdefs.h <<_ACEOF
55644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55645 _ACEOF
55646
55647 fi
55648 done
55649
55650     fi
55651   fi
55652
55653
55654
55655
55656
55657
55658   echo "$as_me:$LINENO: checking for hypot declaration" >&5
55659 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
55660   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55661     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
55662   echo $ECHO_N "(cached) $ECHO_C" >&6
55663 else
55664
55665
55666
55667       ac_ext=cc
55668 ac_cpp='$CXXCPP $CPPFLAGS'
55669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55672
55673       cat >conftest.$ac_ext <<_ACEOF
55674 /* confdefs.h.  */
55675 _ACEOF
55676 cat confdefs.h >>conftest.$ac_ext
55677 cat >>conftest.$ac_ext <<_ACEOF
55678 /* end confdefs.h.  */
55679 #include <math.h>
55680 int
55681 main ()
55682 {
55683  hypot(0, 0);
55684   ;
55685   return 0;
55686 }
55687 _ACEOF
55688 rm -f conftest.$ac_objext
55689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55690   (eval $ac_compile) 2>conftest.er1
55691   ac_status=$?
55692   grep -v '^ *+' conftest.er1 >conftest.err
55693   rm -f conftest.er1
55694   cat conftest.err >&5
55695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55696   (exit $ac_status); } &&
55697          { ac_try='test -z "$ac_cxx_werror_flag"
55698                          || test ! -s conftest.err'
55699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55700   (eval $ac_try) 2>&5
55701   ac_status=$?
55702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55703   (exit $ac_status); }; } &&
55704          { ac_try='test -s conftest.$ac_objext'
55705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55706   (eval $ac_try) 2>&5
55707   ac_status=$?
55708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55709   (exit $ac_status); }; }; then
55710   glibcxx_cv_func_hypot_use=yes
55711 else
55712   echo "$as_me: failed program was:" >&5
55713 sed 's/^/| /' conftest.$ac_ext >&5
55714
55715 glibcxx_cv_func_hypot_use=no
55716 fi
55717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55718       ac_ext=c
55719 ac_cpp='$CPP $CPPFLAGS'
55720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55723
55724
55725 fi
55726
55727   fi
55728   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
55729 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
55730
55731   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55732
55733 for ac_func in hypot
55734 do
55735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55736 echo "$as_me:$LINENO: checking for $ac_func" >&5
55737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55738 if eval "test \"\${$as_ac_var+set}\" = set"; then
55739   echo $ECHO_N "(cached) $ECHO_C" >&6
55740 else
55741   if test x$gcc_no_link = xyes; then
55742   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55744    { (exit 1); exit 1; }; }
55745 fi
55746 cat >conftest.$ac_ext <<_ACEOF
55747 /* confdefs.h.  */
55748 _ACEOF
55749 cat confdefs.h >>conftest.$ac_ext
55750 cat >>conftest.$ac_ext <<_ACEOF
55751 /* end confdefs.h.  */
55752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55753    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55754 #define $ac_func innocuous_$ac_func
55755
55756 /* System header to define __stub macros and hopefully few prototypes,
55757     which can conflict with char $ac_func (); below.
55758     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55759     <limits.h> exists even on freestanding compilers.  */
55760
55761 #ifdef __STDC__
55762 # include <limits.h>
55763 #else
55764 # include <assert.h>
55765 #endif
55766
55767 #undef $ac_func
55768
55769 /* Override any gcc2 internal prototype to avoid an error.  */
55770 #ifdef __cplusplus
55771 extern "C"
55772 {
55773 #endif
55774 /* We use char because int might match the return type of a gcc2
55775    builtin and then its argument prototype would still apply.  */
55776 char $ac_func ();
55777 /* The GNU C library defines this for functions which it implements
55778     to always fail with ENOSYS.  Some functions are actually named
55779     something starting with __ and the normal name is an alias.  */
55780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55781 choke me
55782 #else
55783 char (*f) () = $ac_func;
55784 #endif
55785 #ifdef __cplusplus
55786 }
55787 #endif
55788
55789 int
55790 main ()
55791 {
55792 return f != $ac_func;
55793   ;
55794   return 0;
55795 }
55796 _ACEOF
55797 rm -f conftest.$ac_objext conftest$ac_exeext
55798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55799   (eval $ac_link) 2>conftest.er1
55800   ac_status=$?
55801   grep -v '^ *+' conftest.er1 >conftest.err
55802   rm -f conftest.er1
55803   cat conftest.err >&5
55804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55805   (exit $ac_status); } &&
55806          { ac_try='test -z "$ac_c_werror_flag"
55807                          || test ! -s conftest.err'
55808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55809   (eval $ac_try) 2>&5
55810   ac_status=$?
55811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55812   (exit $ac_status); }; } &&
55813          { ac_try='test -s conftest$ac_exeext'
55814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55815   (eval $ac_try) 2>&5
55816   ac_status=$?
55817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55818   (exit $ac_status); }; }; then
55819   eval "$as_ac_var=yes"
55820 else
55821   echo "$as_me: failed program was:" >&5
55822 sed 's/^/| /' conftest.$ac_ext >&5
55823
55824 eval "$as_ac_var=no"
55825 fi
55826 rm -f conftest.err conftest.$ac_objext \
55827       conftest$ac_exeext conftest.$ac_ext
55828 fi
55829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55831 if test `eval echo '${'$as_ac_var'}'` = yes; then
55832   cat >>confdefs.h <<_ACEOF
55833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55834 _ACEOF
55835
55836 fi
55837 done
55838
55839   else
55840
55841   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
55842 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
55843   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55844     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
55845   echo $ECHO_N "(cached) $ECHO_C" >&6
55846 else
55847
55848
55849
55850       ac_ext=cc
55851 ac_cpp='$CXXCPP $CPPFLAGS'
55852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55855
55856       cat >conftest.$ac_ext <<_ACEOF
55857 /* confdefs.h.  */
55858 _ACEOF
55859 cat confdefs.h >>conftest.$ac_ext
55860 cat >>conftest.$ac_ext <<_ACEOF
55861 /* end confdefs.h.  */
55862 #include <math.h>
55863 int
55864 main ()
55865 {
55866  _hypot(0, 0);
55867   ;
55868   return 0;
55869 }
55870 _ACEOF
55871 rm -f conftest.$ac_objext
55872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55873   (eval $ac_compile) 2>conftest.er1
55874   ac_status=$?
55875   grep -v '^ *+' conftest.er1 >conftest.err
55876   rm -f conftest.er1
55877   cat conftest.err >&5
55878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55879   (exit $ac_status); } &&
55880          { ac_try='test -z "$ac_cxx_werror_flag"
55881                          || test ! -s conftest.err'
55882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55883   (eval $ac_try) 2>&5
55884   ac_status=$?
55885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55886   (exit $ac_status); }; } &&
55887          { ac_try='test -s conftest.$ac_objext'
55888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55889   (eval $ac_try) 2>&5
55890   ac_status=$?
55891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55892   (exit $ac_status); }; }; then
55893   glibcxx_cv_func__hypot_use=yes
55894 else
55895   echo "$as_me: failed program was:" >&5
55896 sed 's/^/| /' conftest.$ac_ext >&5
55897
55898 glibcxx_cv_func__hypot_use=no
55899 fi
55900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55901       ac_ext=c
55902 ac_cpp='$CPP $CPPFLAGS'
55903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55906
55907
55908 fi
55909
55910   fi
55911   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
55912 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
55913
55914     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55915
55916 for ac_func in _hypot
55917 do
55918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55919 echo "$as_me:$LINENO: checking for $ac_func" >&5
55920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55921 if eval "test \"\${$as_ac_var+set}\" = set"; then
55922   echo $ECHO_N "(cached) $ECHO_C" >&6
55923 else
55924   if test x$gcc_no_link = xyes; then
55925   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55927    { (exit 1); exit 1; }; }
55928 fi
55929 cat >conftest.$ac_ext <<_ACEOF
55930 /* confdefs.h.  */
55931 _ACEOF
55932 cat confdefs.h >>conftest.$ac_ext
55933 cat >>conftest.$ac_ext <<_ACEOF
55934 /* end confdefs.h.  */
55935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55936    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55937 #define $ac_func innocuous_$ac_func
55938
55939 /* System header to define __stub macros and hopefully few prototypes,
55940     which can conflict with char $ac_func (); below.
55941     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55942     <limits.h> exists even on freestanding compilers.  */
55943
55944 #ifdef __STDC__
55945 # include <limits.h>
55946 #else
55947 # include <assert.h>
55948 #endif
55949
55950 #undef $ac_func
55951
55952 /* Override any gcc2 internal prototype to avoid an error.  */
55953 #ifdef __cplusplus
55954 extern "C"
55955 {
55956 #endif
55957 /* We use char because int might match the return type of a gcc2
55958    builtin and then its argument prototype would still apply.  */
55959 char $ac_func ();
55960 /* The GNU C library defines this for functions which it implements
55961     to always fail with ENOSYS.  Some functions are actually named
55962     something starting with __ and the normal name is an alias.  */
55963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55964 choke me
55965 #else
55966 char (*f) () = $ac_func;
55967 #endif
55968 #ifdef __cplusplus
55969 }
55970 #endif
55971
55972 int
55973 main ()
55974 {
55975 return f != $ac_func;
55976   ;
55977   return 0;
55978 }
55979 _ACEOF
55980 rm -f conftest.$ac_objext conftest$ac_exeext
55981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55982   (eval $ac_link) 2>conftest.er1
55983   ac_status=$?
55984   grep -v '^ *+' conftest.er1 >conftest.err
55985   rm -f conftest.er1
55986   cat conftest.err >&5
55987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55988   (exit $ac_status); } &&
55989          { ac_try='test -z "$ac_c_werror_flag"
55990                          || test ! -s conftest.err'
55991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55992   (eval $ac_try) 2>&5
55993   ac_status=$?
55994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55995   (exit $ac_status); }; } &&
55996          { ac_try='test -s conftest$ac_exeext'
55997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55998   (eval $ac_try) 2>&5
55999   ac_status=$?
56000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56001   (exit $ac_status); }; }; then
56002   eval "$as_ac_var=yes"
56003 else
56004   echo "$as_me: failed program was:" >&5
56005 sed 's/^/| /' conftest.$ac_ext >&5
56006
56007 eval "$as_ac_var=no"
56008 fi
56009 rm -f conftest.err conftest.$ac_objext \
56010       conftest$ac_exeext conftest.$ac_ext
56011 fi
56012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56014 if test `eval echo '${'$as_ac_var'}'` = yes; then
56015   cat >>confdefs.h <<_ACEOF
56016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56017 _ACEOF
56018
56019 fi
56020 done
56021
56022     fi
56023   fi
56024
56025
56026
56027
56028
56029
56030     echo "$as_me:$LINENO: checking for float trig functions" >&5
56031 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
56032   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
56033   echo $ECHO_N "(cached) $ECHO_C" >&6
56034 else
56035
56036
56037
56038     ac_ext=cc
56039 ac_cpp='$CXXCPP $CPPFLAGS'
56040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56043
56044     cat >conftest.$ac_ext <<_ACEOF
56045 /* confdefs.h.  */
56046 _ACEOF
56047 cat confdefs.h >>conftest.$ac_ext
56048 cat >>conftest.$ac_ext <<_ACEOF
56049 /* end confdefs.h.  */
56050 #include <math.h>
56051 int
56052 main ()
56053 {
56054 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
56055   ;
56056   return 0;
56057 }
56058 _ACEOF
56059 rm -f conftest.$ac_objext
56060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56061   (eval $ac_compile) 2>conftest.er1
56062   ac_status=$?
56063   grep -v '^ *+' conftest.er1 >conftest.err
56064   rm -f conftest.er1
56065   cat conftest.err >&5
56066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56067   (exit $ac_status); } &&
56068          { ac_try='test -z "$ac_cxx_werror_flag"
56069                          || test ! -s conftest.err'
56070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56071   (eval $ac_try) 2>&5
56072   ac_status=$?
56073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56074   (exit $ac_status); }; } &&
56075          { ac_try='test -s conftest.$ac_objext'
56076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56077   (eval $ac_try) 2>&5
56078   ac_status=$?
56079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56080   (exit $ac_status); }; }; then
56081   glibcxx_cv_func_float_trig_use=yes
56082 else
56083   echo "$as_me: failed program was:" >&5
56084 sed 's/^/| /' conftest.$ac_ext >&5
56085
56086 glibcxx_cv_func_float_trig_use=no
56087 fi
56088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56089     ac_ext=c
56090 ac_cpp='$CPP $CPPFLAGS'
56091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56094
56095 fi
56096
56097   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
56098 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
56099   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
56110 do
56111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56112 echo "$as_me:$LINENO: checking for $ac_func" >&5
56113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56114 if eval "test \"\${$as_ac_var+set}\" = set"; then
56115   echo $ECHO_N "(cached) $ECHO_C" >&6
56116 else
56117   if test x$gcc_no_link = xyes; then
56118   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56120    { (exit 1); exit 1; }; }
56121 fi
56122 cat >conftest.$ac_ext <<_ACEOF
56123 /* confdefs.h.  */
56124 _ACEOF
56125 cat confdefs.h >>conftest.$ac_ext
56126 cat >>conftest.$ac_ext <<_ACEOF
56127 /* end confdefs.h.  */
56128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56129    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56130 #define $ac_func innocuous_$ac_func
56131
56132 /* System header to define __stub macros and hopefully few prototypes,
56133     which can conflict with char $ac_func (); below.
56134     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56135     <limits.h> exists even on freestanding compilers.  */
56136
56137 #ifdef __STDC__
56138 # include <limits.h>
56139 #else
56140 # include <assert.h>
56141 #endif
56142
56143 #undef $ac_func
56144
56145 /* Override any gcc2 internal prototype to avoid an error.  */
56146 #ifdef __cplusplus
56147 extern "C"
56148 {
56149 #endif
56150 /* We use char because int might match the return type of a gcc2
56151    builtin and then its argument prototype would still apply.  */
56152 char $ac_func ();
56153 /* The GNU C library defines this for functions which it implements
56154     to always fail with ENOSYS.  Some functions are actually named
56155     something starting with __ and the normal name is an alias.  */
56156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56157 choke me
56158 #else
56159 char (*f) () = $ac_func;
56160 #endif
56161 #ifdef __cplusplus
56162 }
56163 #endif
56164
56165 int
56166 main ()
56167 {
56168 return f != $ac_func;
56169   ;
56170   return 0;
56171 }
56172 _ACEOF
56173 rm -f conftest.$ac_objext conftest$ac_exeext
56174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56175   (eval $ac_link) 2>conftest.er1
56176   ac_status=$?
56177   grep -v '^ *+' conftest.er1 >conftest.err
56178   rm -f conftest.er1
56179   cat conftest.err >&5
56180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56181   (exit $ac_status); } &&
56182          { ac_try='test -z "$ac_c_werror_flag"
56183                          || test ! -s conftest.err'
56184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56185   (eval $ac_try) 2>&5
56186   ac_status=$?
56187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56188   (exit $ac_status); }; } &&
56189          { ac_try='test -s conftest$ac_exeext'
56190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56191   (eval $ac_try) 2>&5
56192   ac_status=$?
56193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56194   (exit $ac_status); }; }; then
56195   eval "$as_ac_var=yes"
56196 else
56197   echo "$as_me: failed program was:" >&5
56198 sed 's/^/| /' conftest.$ac_ext >&5
56199
56200 eval "$as_ac_var=no"
56201 fi
56202 rm -f conftest.err conftest.$ac_objext \
56203       conftest$ac_exeext conftest.$ac_ext
56204 fi
56205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56207 if test `eval echo '${'$as_ac_var'}'` = yes; then
56208   cat >>confdefs.h <<_ACEOF
56209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56210 _ACEOF
56211
56212 fi
56213 done
56214
56215   else
56216     echo "$as_me:$LINENO: checking for _float trig functions" >&5
56217 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
56218     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
56219   echo $ECHO_N "(cached) $ECHO_C" >&6
56220 else
56221
56222
56223
56224       ac_ext=cc
56225 ac_cpp='$CXXCPP $CPPFLAGS'
56226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56229
56230       cat >conftest.$ac_ext <<_ACEOF
56231 /* confdefs.h.  */
56232 _ACEOF
56233 cat confdefs.h >>conftest.$ac_ext
56234 cat >>conftest.$ac_ext <<_ACEOF
56235 /* end confdefs.h.  */
56236 #include <math.h>
56237 int
56238 main ()
56239 {
56240 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
56241   ;
56242   return 0;
56243 }
56244 _ACEOF
56245 rm -f conftest.$ac_objext
56246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56247   (eval $ac_compile) 2>conftest.er1
56248   ac_status=$?
56249   grep -v '^ *+' conftest.er1 >conftest.err
56250   rm -f conftest.er1
56251   cat conftest.err >&5
56252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56253   (exit $ac_status); } &&
56254          { ac_try='test -z "$ac_cxx_werror_flag"
56255                          || test ! -s conftest.err'
56256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56257   (eval $ac_try) 2>&5
56258   ac_status=$?
56259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56260   (exit $ac_status); }; } &&
56261          { ac_try='test -s conftest.$ac_objext'
56262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56263   (eval $ac_try) 2>&5
56264   ac_status=$?
56265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56266   (exit $ac_status); }; }; then
56267   glibcxx_cv_func__float_trig_use=yes
56268 else
56269   echo "$as_me: failed program was:" >&5
56270 sed 's/^/| /' conftest.$ac_ext >&5
56271
56272 glibcxx_cv_func__float_trig_use=no
56273 fi
56274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56275       ac_ext=c
56276 ac_cpp='$CPP $CPPFLAGS'
56277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56280
56281 fi
56282
56283     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
56284 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
56285     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
56286
56287
56288
56289
56290
56291
56292
56293
56294
56295 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
56296 do
56297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56298 echo "$as_me:$LINENO: checking for $ac_func" >&5
56299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56300 if eval "test \"\${$as_ac_var+set}\" = set"; then
56301   echo $ECHO_N "(cached) $ECHO_C" >&6
56302 else
56303   if test x$gcc_no_link = xyes; then
56304   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56306    { (exit 1); exit 1; }; }
56307 fi
56308 cat >conftest.$ac_ext <<_ACEOF
56309 /* confdefs.h.  */
56310 _ACEOF
56311 cat confdefs.h >>conftest.$ac_ext
56312 cat >>conftest.$ac_ext <<_ACEOF
56313 /* end confdefs.h.  */
56314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56315    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56316 #define $ac_func innocuous_$ac_func
56317
56318 /* System header to define __stub macros and hopefully few prototypes,
56319     which can conflict with char $ac_func (); below.
56320     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56321     <limits.h> exists even on freestanding compilers.  */
56322
56323 #ifdef __STDC__
56324 # include <limits.h>
56325 #else
56326 # include <assert.h>
56327 #endif
56328
56329 #undef $ac_func
56330
56331 /* Override any gcc2 internal prototype to avoid an error.  */
56332 #ifdef __cplusplus
56333 extern "C"
56334 {
56335 #endif
56336 /* We use char because int might match the return type of a gcc2
56337    builtin and then its argument prototype would still apply.  */
56338 char $ac_func ();
56339 /* The GNU C library defines this for functions which it implements
56340     to always fail with ENOSYS.  Some functions are actually named
56341     something starting with __ and the normal name is an alias.  */
56342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56343 choke me
56344 #else
56345 char (*f) () = $ac_func;
56346 #endif
56347 #ifdef __cplusplus
56348 }
56349 #endif
56350
56351 int
56352 main ()
56353 {
56354 return f != $ac_func;
56355   ;
56356   return 0;
56357 }
56358 _ACEOF
56359 rm -f conftest.$ac_objext conftest$ac_exeext
56360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56361   (eval $ac_link) 2>conftest.er1
56362   ac_status=$?
56363   grep -v '^ *+' conftest.er1 >conftest.err
56364   rm -f conftest.er1
56365   cat conftest.err >&5
56366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56367   (exit $ac_status); } &&
56368          { ac_try='test -z "$ac_c_werror_flag"
56369                          || test ! -s conftest.err'
56370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56371   (eval $ac_try) 2>&5
56372   ac_status=$?
56373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56374   (exit $ac_status); }; } &&
56375          { ac_try='test -s conftest$ac_exeext'
56376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56377   (eval $ac_try) 2>&5
56378   ac_status=$?
56379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56380   (exit $ac_status); }; }; then
56381   eval "$as_ac_var=yes"
56382 else
56383   echo "$as_me: failed program was:" >&5
56384 sed 's/^/| /' conftest.$ac_ext >&5
56385
56386 eval "$as_ac_var=no"
56387 fi
56388 rm -f conftest.err conftest.$ac_objext \
56389       conftest$ac_exeext conftest.$ac_ext
56390 fi
56391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56393 if test `eval echo '${'$as_ac_var'}'` = yes; then
56394   cat >>confdefs.h <<_ACEOF
56395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56396 _ACEOF
56397
56398 fi
56399 done
56400
56401     fi
56402   fi
56403
56404
56405
56406
56407
56408
56409
56410
56411
56412
56413
56414
56415
56416
56417     echo "$as_me:$LINENO: checking for float round functions" >&5
56418 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
56419   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
56420   echo $ECHO_N "(cached) $ECHO_C" >&6
56421 else
56422
56423
56424
56425     ac_ext=cc
56426 ac_cpp='$CXXCPP $CPPFLAGS'
56427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56430
56431     cat >conftest.$ac_ext <<_ACEOF
56432 /* confdefs.h.  */
56433 _ACEOF
56434 cat confdefs.h >>conftest.$ac_ext
56435 cat >>conftest.$ac_ext <<_ACEOF
56436 /* end confdefs.h.  */
56437 #include <math.h>
56438 int
56439 main ()
56440 {
56441 ceilf (0); floorf (0);
56442   ;
56443   return 0;
56444 }
56445 _ACEOF
56446 rm -f conftest.$ac_objext
56447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56448   (eval $ac_compile) 2>conftest.er1
56449   ac_status=$?
56450   grep -v '^ *+' conftest.er1 >conftest.err
56451   rm -f conftest.er1
56452   cat conftest.err >&5
56453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56454   (exit $ac_status); } &&
56455          { ac_try='test -z "$ac_cxx_werror_flag"
56456                          || test ! -s conftest.err'
56457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56458   (eval $ac_try) 2>&5
56459   ac_status=$?
56460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56461   (exit $ac_status); }; } &&
56462          { ac_try='test -s conftest.$ac_objext'
56463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56464   (eval $ac_try) 2>&5
56465   ac_status=$?
56466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56467   (exit $ac_status); }; }; then
56468   glibcxx_cv_func_float_round_use=yes
56469 else
56470   echo "$as_me: failed program was:" >&5
56471 sed 's/^/| /' conftest.$ac_ext >&5
56472
56473 glibcxx_cv_func_float_round_use=no
56474 fi
56475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56476     ac_ext=c
56477 ac_cpp='$CPP $CPPFLAGS'
56478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56481
56482 fi
56483
56484   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
56485 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
56486   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
56487
56488
56489 for ac_func in ceilf floorf
56490 do
56491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56492 echo "$as_me:$LINENO: checking for $ac_func" >&5
56493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56494 if eval "test \"\${$as_ac_var+set}\" = set"; then
56495   echo $ECHO_N "(cached) $ECHO_C" >&6
56496 else
56497   if test x$gcc_no_link = xyes; then
56498   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56500    { (exit 1); exit 1; }; }
56501 fi
56502 cat >conftest.$ac_ext <<_ACEOF
56503 /* confdefs.h.  */
56504 _ACEOF
56505 cat confdefs.h >>conftest.$ac_ext
56506 cat >>conftest.$ac_ext <<_ACEOF
56507 /* end confdefs.h.  */
56508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56509    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56510 #define $ac_func innocuous_$ac_func
56511
56512 /* System header to define __stub macros and hopefully few prototypes,
56513     which can conflict with char $ac_func (); below.
56514     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56515     <limits.h> exists even on freestanding compilers.  */
56516
56517 #ifdef __STDC__
56518 # include <limits.h>
56519 #else
56520 # include <assert.h>
56521 #endif
56522
56523 #undef $ac_func
56524
56525 /* Override any gcc2 internal prototype to avoid an error.  */
56526 #ifdef __cplusplus
56527 extern "C"
56528 {
56529 #endif
56530 /* We use char because int might match the return type of a gcc2
56531    builtin and then its argument prototype would still apply.  */
56532 char $ac_func ();
56533 /* The GNU C library defines this for functions which it implements
56534     to always fail with ENOSYS.  Some functions are actually named
56535     something starting with __ and the normal name is an alias.  */
56536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56537 choke me
56538 #else
56539 char (*f) () = $ac_func;
56540 #endif
56541 #ifdef __cplusplus
56542 }
56543 #endif
56544
56545 int
56546 main ()
56547 {
56548 return f != $ac_func;
56549   ;
56550   return 0;
56551 }
56552 _ACEOF
56553 rm -f conftest.$ac_objext conftest$ac_exeext
56554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56555   (eval $ac_link) 2>conftest.er1
56556   ac_status=$?
56557   grep -v '^ *+' conftest.er1 >conftest.err
56558   rm -f conftest.er1
56559   cat conftest.err >&5
56560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56561   (exit $ac_status); } &&
56562          { ac_try='test -z "$ac_c_werror_flag"
56563                          || test ! -s conftest.err'
56564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56565   (eval $ac_try) 2>&5
56566   ac_status=$?
56567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56568   (exit $ac_status); }; } &&
56569          { ac_try='test -s conftest$ac_exeext'
56570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56571   (eval $ac_try) 2>&5
56572   ac_status=$?
56573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56574   (exit $ac_status); }; }; then
56575   eval "$as_ac_var=yes"
56576 else
56577   echo "$as_me: failed program was:" >&5
56578 sed 's/^/| /' conftest.$ac_ext >&5
56579
56580 eval "$as_ac_var=no"
56581 fi
56582 rm -f conftest.err conftest.$ac_objext \
56583       conftest$ac_exeext conftest.$ac_ext
56584 fi
56585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56587 if test `eval echo '${'$as_ac_var'}'` = yes; then
56588   cat >>confdefs.h <<_ACEOF
56589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56590 _ACEOF
56591
56592 fi
56593 done
56594
56595   else
56596     echo "$as_me:$LINENO: checking for _float round functions" >&5
56597 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
56598     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
56599   echo $ECHO_N "(cached) $ECHO_C" >&6
56600 else
56601
56602
56603
56604       ac_ext=cc
56605 ac_cpp='$CXXCPP $CPPFLAGS'
56606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56609
56610       cat >conftest.$ac_ext <<_ACEOF
56611 /* confdefs.h.  */
56612 _ACEOF
56613 cat confdefs.h >>conftest.$ac_ext
56614 cat >>conftest.$ac_ext <<_ACEOF
56615 /* end confdefs.h.  */
56616 #include <math.h>
56617 int
56618 main ()
56619 {
56620 _ceilf (0); _floorf (0);
56621   ;
56622   return 0;
56623 }
56624 _ACEOF
56625 rm -f conftest.$ac_objext
56626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56627   (eval $ac_compile) 2>conftest.er1
56628   ac_status=$?
56629   grep -v '^ *+' conftest.er1 >conftest.err
56630   rm -f conftest.er1
56631   cat conftest.err >&5
56632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56633   (exit $ac_status); } &&
56634          { ac_try='test -z "$ac_cxx_werror_flag"
56635                          || test ! -s conftest.err'
56636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56637   (eval $ac_try) 2>&5
56638   ac_status=$?
56639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56640   (exit $ac_status); }; } &&
56641          { ac_try='test -s conftest.$ac_objext'
56642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56643   (eval $ac_try) 2>&5
56644   ac_status=$?
56645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56646   (exit $ac_status); }; }; then
56647   glibcxx_cv_func__float_round_use=yes
56648 else
56649   echo "$as_me: failed program was:" >&5
56650 sed 's/^/| /' conftest.$ac_ext >&5
56651
56652 glibcxx_cv_func__float_round_use=no
56653 fi
56654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56655       ac_ext=c
56656 ac_cpp='$CPP $CPPFLAGS'
56657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56660
56661 fi
56662
56663     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
56664 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
56665     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
56666
56667
56668 for ac_func in _ceilf _floorf
56669 do
56670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56671 echo "$as_me:$LINENO: checking for $ac_func" >&5
56672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56673 if eval "test \"\${$as_ac_var+set}\" = set"; then
56674   echo $ECHO_N "(cached) $ECHO_C" >&6
56675 else
56676   if test x$gcc_no_link = xyes; then
56677   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56679    { (exit 1); exit 1; }; }
56680 fi
56681 cat >conftest.$ac_ext <<_ACEOF
56682 /* confdefs.h.  */
56683 _ACEOF
56684 cat confdefs.h >>conftest.$ac_ext
56685 cat >>conftest.$ac_ext <<_ACEOF
56686 /* end confdefs.h.  */
56687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56688    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56689 #define $ac_func innocuous_$ac_func
56690
56691 /* System header to define __stub macros and hopefully few prototypes,
56692     which can conflict with char $ac_func (); below.
56693     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56694     <limits.h> exists even on freestanding compilers.  */
56695
56696 #ifdef __STDC__
56697 # include <limits.h>
56698 #else
56699 # include <assert.h>
56700 #endif
56701
56702 #undef $ac_func
56703
56704 /* Override any gcc2 internal prototype to avoid an error.  */
56705 #ifdef __cplusplus
56706 extern "C"
56707 {
56708 #endif
56709 /* We use char because int might match the return type of a gcc2
56710    builtin and then its argument prototype would still apply.  */
56711 char $ac_func ();
56712 /* The GNU C library defines this for functions which it implements
56713     to always fail with ENOSYS.  Some functions are actually named
56714     something starting with __ and the normal name is an alias.  */
56715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56716 choke me
56717 #else
56718 char (*f) () = $ac_func;
56719 #endif
56720 #ifdef __cplusplus
56721 }
56722 #endif
56723
56724 int
56725 main ()
56726 {
56727 return f != $ac_func;
56728   ;
56729   return 0;
56730 }
56731 _ACEOF
56732 rm -f conftest.$ac_objext conftest$ac_exeext
56733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56734   (eval $ac_link) 2>conftest.er1
56735   ac_status=$?
56736   grep -v '^ *+' conftest.er1 >conftest.err
56737   rm -f conftest.er1
56738   cat conftest.err >&5
56739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56740   (exit $ac_status); } &&
56741          { ac_try='test -z "$ac_c_werror_flag"
56742                          || test ! -s conftest.err'
56743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56744   (eval $ac_try) 2>&5
56745   ac_status=$?
56746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56747   (exit $ac_status); }; } &&
56748          { ac_try='test -s conftest$ac_exeext'
56749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56750   (eval $ac_try) 2>&5
56751   ac_status=$?
56752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56753   (exit $ac_status); }; }; then
56754   eval "$as_ac_var=yes"
56755 else
56756   echo "$as_me: failed program was:" >&5
56757 sed 's/^/| /' conftest.$ac_ext >&5
56758
56759 eval "$as_ac_var=no"
56760 fi
56761 rm -f conftest.err conftest.$ac_objext \
56762       conftest$ac_exeext conftest.$ac_ext
56763 fi
56764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56766 if test `eval echo '${'$as_ac_var'}'` = yes; then
56767   cat >>confdefs.h <<_ACEOF
56768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56769 _ACEOF
56770
56771 fi
56772 done
56773
56774     fi
56775   fi
56776
56777
56778
56779
56780
56781
56782
56783
56784   echo "$as_me:$LINENO: checking for expf declaration" >&5
56785 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
56786   if test x${glibcxx_cv_func_expf_use+set} != xset; then
56787     if test "${glibcxx_cv_func_expf_use+set}" = set; then
56788   echo $ECHO_N "(cached) $ECHO_C" >&6
56789 else
56790
56791
56792
56793       ac_ext=cc
56794 ac_cpp='$CXXCPP $CPPFLAGS'
56795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56798
56799       cat >conftest.$ac_ext <<_ACEOF
56800 /* confdefs.h.  */
56801 _ACEOF
56802 cat confdefs.h >>conftest.$ac_ext
56803 cat >>conftest.$ac_ext <<_ACEOF
56804 /* end confdefs.h.  */
56805 #include <math.h>
56806                       #ifdef HAVE_IEEEFP_H
56807                       #include <ieeefp.h>
56808                       #endif
56809
56810 int
56811 main ()
56812 {
56813  expf(0);
56814   ;
56815   return 0;
56816 }
56817 _ACEOF
56818 rm -f conftest.$ac_objext
56819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56820   (eval $ac_compile) 2>conftest.er1
56821   ac_status=$?
56822   grep -v '^ *+' conftest.er1 >conftest.err
56823   rm -f conftest.er1
56824   cat conftest.err >&5
56825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56826   (exit $ac_status); } &&
56827          { ac_try='test -z "$ac_cxx_werror_flag"
56828                          || test ! -s conftest.err'
56829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56830   (eval $ac_try) 2>&5
56831   ac_status=$?
56832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56833   (exit $ac_status); }; } &&
56834          { ac_try='test -s conftest.$ac_objext'
56835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56836   (eval $ac_try) 2>&5
56837   ac_status=$?
56838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56839   (exit $ac_status); }; }; then
56840   glibcxx_cv_func_expf_use=yes
56841 else
56842   echo "$as_me: failed program was:" >&5
56843 sed 's/^/| /' conftest.$ac_ext >&5
56844
56845 glibcxx_cv_func_expf_use=no
56846 fi
56847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56848       ac_ext=c
56849 ac_cpp='$CPP $CPPFLAGS'
56850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56853
56854
56855 fi
56856
56857   fi
56858   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
56859 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
56860
56861   if test x$glibcxx_cv_func_expf_use = x"yes"; then
56862
56863 for ac_func in expf
56864 do
56865 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56866 echo "$as_me:$LINENO: checking for $ac_func" >&5
56867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56868 if eval "test \"\${$as_ac_var+set}\" = set"; then
56869   echo $ECHO_N "(cached) $ECHO_C" >&6
56870 else
56871   if test x$gcc_no_link = xyes; then
56872   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56874    { (exit 1); exit 1; }; }
56875 fi
56876 cat >conftest.$ac_ext <<_ACEOF
56877 /* confdefs.h.  */
56878 _ACEOF
56879 cat confdefs.h >>conftest.$ac_ext
56880 cat >>conftest.$ac_ext <<_ACEOF
56881 /* end confdefs.h.  */
56882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56883    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56884 #define $ac_func innocuous_$ac_func
56885
56886 /* System header to define __stub macros and hopefully few prototypes,
56887     which can conflict with char $ac_func (); below.
56888     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56889     <limits.h> exists even on freestanding compilers.  */
56890
56891 #ifdef __STDC__
56892 # include <limits.h>
56893 #else
56894 # include <assert.h>
56895 #endif
56896
56897 #undef $ac_func
56898
56899 /* Override any gcc2 internal prototype to avoid an error.  */
56900 #ifdef __cplusplus
56901 extern "C"
56902 {
56903 #endif
56904 /* We use char because int might match the return type of a gcc2
56905    builtin and then its argument prototype would still apply.  */
56906 char $ac_func ();
56907 /* The GNU C library defines this for functions which it implements
56908     to always fail with ENOSYS.  Some functions are actually named
56909     something starting with __ and the normal name is an alias.  */
56910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56911 choke me
56912 #else
56913 char (*f) () = $ac_func;
56914 #endif
56915 #ifdef __cplusplus
56916 }
56917 #endif
56918
56919 int
56920 main ()
56921 {
56922 return f != $ac_func;
56923   ;
56924   return 0;
56925 }
56926 _ACEOF
56927 rm -f conftest.$ac_objext conftest$ac_exeext
56928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56929   (eval $ac_link) 2>conftest.er1
56930   ac_status=$?
56931   grep -v '^ *+' conftest.er1 >conftest.err
56932   rm -f conftest.er1
56933   cat conftest.err >&5
56934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56935   (exit $ac_status); } &&
56936          { ac_try='test -z "$ac_c_werror_flag"
56937                          || test ! -s conftest.err'
56938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56939   (eval $ac_try) 2>&5
56940   ac_status=$?
56941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56942   (exit $ac_status); }; } &&
56943          { ac_try='test -s conftest$ac_exeext'
56944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56945   (eval $ac_try) 2>&5
56946   ac_status=$?
56947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56948   (exit $ac_status); }; }; then
56949   eval "$as_ac_var=yes"
56950 else
56951   echo "$as_me: failed program was:" >&5
56952 sed 's/^/| /' conftest.$ac_ext >&5
56953
56954 eval "$as_ac_var=no"
56955 fi
56956 rm -f conftest.err conftest.$ac_objext \
56957       conftest$ac_exeext conftest.$ac_ext
56958 fi
56959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56961 if test `eval echo '${'$as_ac_var'}'` = yes; then
56962   cat >>confdefs.h <<_ACEOF
56963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56964 _ACEOF
56965
56966 fi
56967 done
56968
56969   else
56970
56971   echo "$as_me:$LINENO: checking for _expf declaration" >&5
56972 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
56973   if test x${glibcxx_cv_func__expf_use+set} != xset; then
56974     if test "${glibcxx_cv_func__expf_use+set}" = set; then
56975   echo $ECHO_N "(cached) $ECHO_C" >&6
56976 else
56977
56978
56979
56980       ac_ext=cc
56981 ac_cpp='$CXXCPP $CPPFLAGS'
56982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56985
56986       cat >conftest.$ac_ext <<_ACEOF
56987 /* confdefs.h.  */
56988 _ACEOF
56989 cat confdefs.h >>conftest.$ac_ext
56990 cat >>conftest.$ac_ext <<_ACEOF
56991 /* end confdefs.h.  */
56992 #include <math.h>
56993                       #ifdef HAVE_IEEEFP_H
56994                       #include <ieeefp.h>
56995                       #endif
56996
56997 int
56998 main ()
56999 {
57000  _expf(0);
57001   ;
57002   return 0;
57003 }
57004 _ACEOF
57005 rm -f conftest.$ac_objext
57006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57007   (eval $ac_compile) 2>conftest.er1
57008   ac_status=$?
57009   grep -v '^ *+' conftest.er1 >conftest.err
57010   rm -f conftest.er1
57011   cat conftest.err >&5
57012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57013   (exit $ac_status); } &&
57014          { ac_try='test -z "$ac_cxx_werror_flag"
57015                          || test ! -s conftest.err'
57016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57017   (eval $ac_try) 2>&5
57018   ac_status=$?
57019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57020   (exit $ac_status); }; } &&
57021          { ac_try='test -s conftest.$ac_objext'
57022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57023   (eval $ac_try) 2>&5
57024   ac_status=$?
57025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57026   (exit $ac_status); }; }; then
57027   glibcxx_cv_func__expf_use=yes
57028 else
57029   echo "$as_me: failed program was:" >&5
57030 sed 's/^/| /' conftest.$ac_ext >&5
57031
57032 glibcxx_cv_func__expf_use=no
57033 fi
57034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57035       ac_ext=c
57036 ac_cpp='$CPP $CPPFLAGS'
57037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57040
57041
57042 fi
57043
57044   fi
57045   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
57046 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
57047
57048     if test x$glibcxx_cv_func__expf_use = x"yes"; then
57049
57050 for ac_func in _expf
57051 do
57052 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57053 echo "$as_me:$LINENO: checking for $ac_func" >&5
57054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57055 if eval "test \"\${$as_ac_var+set}\" = set"; then
57056   echo $ECHO_N "(cached) $ECHO_C" >&6
57057 else
57058   if test x$gcc_no_link = xyes; then
57059   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57061    { (exit 1); exit 1; }; }
57062 fi
57063 cat >conftest.$ac_ext <<_ACEOF
57064 /* confdefs.h.  */
57065 _ACEOF
57066 cat confdefs.h >>conftest.$ac_ext
57067 cat >>conftest.$ac_ext <<_ACEOF
57068 /* end confdefs.h.  */
57069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57070    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57071 #define $ac_func innocuous_$ac_func
57072
57073 /* System header to define __stub macros and hopefully few prototypes,
57074     which can conflict with char $ac_func (); below.
57075     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57076     <limits.h> exists even on freestanding compilers.  */
57077
57078 #ifdef __STDC__
57079 # include <limits.h>
57080 #else
57081 # include <assert.h>
57082 #endif
57083
57084 #undef $ac_func
57085
57086 /* Override any gcc2 internal prototype to avoid an error.  */
57087 #ifdef __cplusplus
57088 extern "C"
57089 {
57090 #endif
57091 /* We use char because int might match the return type of a gcc2
57092    builtin and then its argument prototype would still apply.  */
57093 char $ac_func ();
57094 /* The GNU C library defines this for functions which it implements
57095     to always fail with ENOSYS.  Some functions are actually named
57096     something starting with __ and the normal name is an alias.  */
57097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57098 choke me
57099 #else
57100 char (*f) () = $ac_func;
57101 #endif
57102 #ifdef __cplusplus
57103 }
57104 #endif
57105
57106 int
57107 main ()
57108 {
57109 return f != $ac_func;
57110   ;
57111   return 0;
57112 }
57113 _ACEOF
57114 rm -f conftest.$ac_objext conftest$ac_exeext
57115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57116   (eval $ac_link) 2>conftest.er1
57117   ac_status=$?
57118   grep -v '^ *+' conftest.er1 >conftest.err
57119   rm -f conftest.er1
57120   cat conftest.err >&5
57121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57122   (exit $ac_status); } &&
57123          { ac_try='test -z "$ac_c_werror_flag"
57124                          || test ! -s conftest.err'
57125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57126   (eval $ac_try) 2>&5
57127   ac_status=$?
57128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57129   (exit $ac_status); }; } &&
57130          { ac_try='test -s conftest$ac_exeext'
57131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57132   (eval $ac_try) 2>&5
57133   ac_status=$?
57134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57135   (exit $ac_status); }; }; then
57136   eval "$as_ac_var=yes"
57137 else
57138   echo "$as_me: failed program was:" >&5
57139 sed 's/^/| /' conftest.$ac_ext >&5
57140
57141 eval "$as_ac_var=no"
57142 fi
57143 rm -f conftest.err conftest.$ac_objext \
57144       conftest$ac_exeext conftest.$ac_ext
57145 fi
57146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57148 if test `eval echo '${'$as_ac_var'}'` = yes; then
57149   cat >>confdefs.h <<_ACEOF
57150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57151 _ACEOF
57152
57153 fi
57154 done
57155
57156     fi
57157   fi
57158
57159
57160
57161
57162
57163
57164   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
57165 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
57166   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
57167     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
57168   echo $ECHO_N "(cached) $ECHO_C" >&6
57169 else
57170
57171
57172
57173       ac_ext=cc
57174 ac_cpp='$CXXCPP $CPPFLAGS'
57175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57178
57179       cat >conftest.$ac_ext <<_ACEOF
57180 /* confdefs.h.  */
57181 _ACEOF
57182 cat confdefs.h >>conftest.$ac_ext
57183 cat >>conftest.$ac_ext <<_ACEOF
57184 /* end confdefs.h.  */
57185 #include <math.h>
57186                       #ifdef HAVE_IEEEFP_H
57187                       #include <ieeefp.h>
57188                       #endif
57189
57190 int
57191 main ()
57192 {
57193  isnanf(0);
57194   ;
57195   return 0;
57196 }
57197 _ACEOF
57198 rm -f conftest.$ac_objext
57199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57200   (eval $ac_compile) 2>conftest.er1
57201   ac_status=$?
57202   grep -v '^ *+' conftest.er1 >conftest.err
57203   rm -f conftest.er1
57204   cat conftest.err >&5
57205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57206   (exit $ac_status); } &&
57207          { ac_try='test -z "$ac_cxx_werror_flag"
57208                          || test ! -s conftest.err'
57209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57210   (eval $ac_try) 2>&5
57211   ac_status=$?
57212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57213   (exit $ac_status); }; } &&
57214          { ac_try='test -s conftest.$ac_objext'
57215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57216   (eval $ac_try) 2>&5
57217   ac_status=$?
57218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57219   (exit $ac_status); }; }; then
57220   glibcxx_cv_func_isnanf_use=yes
57221 else
57222   echo "$as_me: failed program was:" >&5
57223 sed 's/^/| /' conftest.$ac_ext >&5
57224
57225 glibcxx_cv_func_isnanf_use=no
57226 fi
57227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57228       ac_ext=c
57229 ac_cpp='$CPP $CPPFLAGS'
57230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57233
57234
57235 fi
57236
57237   fi
57238   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
57239 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
57240
57241   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
57242
57243 for ac_func in isnanf
57244 do
57245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57246 echo "$as_me:$LINENO: checking for $ac_func" >&5
57247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57248 if eval "test \"\${$as_ac_var+set}\" = set"; then
57249   echo $ECHO_N "(cached) $ECHO_C" >&6
57250 else
57251   if test x$gcc_no_link = xyes; then
57252   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57254    { (exit 1); exit 1; }; }
57255 fi
57256 cat >conftest.$ac_ext <<_ACEOF
57257 /* confdefs.h.  */
57258 _ACEOF
57259 cat confdefs.h >>conftest.$ac_ext
57260 cat >>conftest.$ac_ext <<_ACEOF
57261 /* end confdefs.h.  */
57262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57263    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57264 #define $ac_func innocuous_$ac_func
57265
57266 /* System header to define __stub macros and hopefully few prototypes,
57267     which can conflict with char $ac_func (); below.
57268     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57269     <limits.h> exists even on freestanding compilers.  */
57270
57271 #ifdef __STDC__
57272 # include <limits.h>
57273 #else
57274 # include <assert.h>
57275 #endif
57276
57277 #undef $ac_func
57278
57279 /* Override any gcc2 internal prototype to avoid an error.  */
57280 #ifdef __cplusplus
57281 extern "C"
57282 {
57283 #endif
57284 /* We use char because int might match the return type of a gcc2
57285    builtin and then its argument prototype would still apply.  */
57286 char $ac_func ();
57287 /* The GNU C library defines this for functions which it implements
57288     to always fail with ENOSYS.  Some functions are actually named
57289     something starting with __ and the normal name is an alias.  */
57290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57291 choke me
57292 #else
57293 char (*f) () = $ac_func;
57294 #endif
57295 #ifdef __cplusplus
57296 }
57297 #endif
57298
57299 int
57300 main ()
57301 {
57302 return f != $ac_func;
57303   ;
57304   return 0;
57305 }
57306 _ACEOF
57307 rm -f conftest.$ac_objext conftest$ac_exeext
57308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57309   (eval $ac_link) 2>conftest.er1
57310   ac_status=$?
57311   grep -v '^ *+' conftest.er1 >conftest.err
57312   rm -f conftest.er1
57313   cat conftest.err >&5
57314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57315   (exit $ac_status); } &&
57316          { ac_try='test -z "$ac_c_werror_flag"
57317                          || test ! -s conftest.err'
57318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57319   (eval $ac_try) 2>&5
57320   ac_status=$?
57321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57322   (exit $ac_status); }; } &&
57323          { ac_try='test -s conftest$ac_exeext'
57324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57325   (eval $ac_try) 2>&5
57326   ac_status=$?
57327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57328   (exit $ac_status); }; }; then
57329   eval "$as_ac_var=yes"
57330 else
57331   echo "$as_me: failed program was:" >&5
57332 sed 's/^/| /' conftest.$ac_ext >&5
57333
57334 eval "$as_ac_var=no"
57335 fi
57336 rm -f conftest.err conftest.$ac_objext \
57337       conftest$ac_exeext conftest.$ac_ext
57338 fi
57339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57340 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57341 if test `eval echo '${'$as_ac_var'}'` = yes; then
57342   cat >>confdefs.h <<_ACEOF
57343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57344 _ACEOF
57345
57346 fi
57347 done
57348
57349   else
57350
57351   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
57352 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
57353   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
57354     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
57355   echo $ECHO_N "(cached) $ECHO_C" >&6
57356 else
57357
57358
57359
57360       ac_ext=cc
57361 ac_cpp='$CXXCPP $CPPFLAGS'
57362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57365
57366       cat >conftest.$ac_ext <<_ACEOF
57367 /* confdefs.h.  */
57368 _ACEOF
57369 cat confdefs.h >>conftest.$ac_ext
57370 cat >>conftest.$ac_ext <<_ACEOF
57371 /* end confdefs.h.  */
57372 #include <math.h>
57373                       #ifdef HAVE_IEEEFP_H
57374                       #include <ieeefp.h>
57375                       #endif
57376
57377 int
57378 main ()
57379 {
57380  _isnanf(0);
57381   ;
57382   return 0;
57383 }
57384 _ACEOF
57385 rm -f conftest.$ac_objext
57386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57387   (eval $ac_compile) 2>conftest.er1
57388   ac_status=$?
57389   grep -v '^ *+' conftest.er1 >conftest.err
57390   rm -f conftest.er1
57391   cat conftest.err >&5
57392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57393   (exit $ac_status); } &&
57394          { ac_try='test -z "$ac_cxx_werror_flag"
57395                          || test ! -s conftest.err'
57396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57397   (eval $ac_try) 2>&5
57398   ac_status=$?
57399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57400   (exit $ac_status); }; } &&
57401          { ac_try='test -s conftest.$ac_objext'
57402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57403   (eval $ac_try) 2>&5
57404   ac_status=$?
57405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57406   (exit $ac_status); }; }; then
57407   glibcxx_cv_func__isnanf_use=yes
57408 else
57409   echo "$as_me: failed program was:" >&5
57410 sed 's/^/| /' conftest.$ac_ext >&5
57411
57412 glibcxx_cv_func__isnanf_use=no
57413 fi
57414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57415       ac_ext=c
57416 ac_cpp='$CPP $CPPFLAGS'
57417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57420
57421
57422 fi
57423
57424   fi
57425   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
57426 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
57427
57428     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
57429
57430 for ac_func in _isnanf
57431 do
57432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57433 echo "$as_me:$LINENO: checking for $ac_func" >&5
57434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57435 if eval "test \"\${$as_ac_var+set}\" = set"; then
57436   echo $ECHO_N "(cached) $ECHO_C" >&6
57437 else
57438   if test x$gcc_no_link = xyes; then
57439   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57441    { (exit 1); exit 1; }; }
57442 fi
57443 cat >conftest.$ac_ext <<_ACEOF
57444 /* confdefs.h.  */
57445 _ACEOF
57446 cat confdefs.h >>conftest.$ac_ext
57447 cat >>conftest.$ac_ext <<_ACEOF
57448 /* end confdefs.h.  */
57449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57450    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57451 #define $ac_func innocuous_$ac_func
57452
57453 /* System header to define __stub macros and hopefully few prototypes,
57454     which can conflict with char $ac_func (); below.
57455     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57456     <limits.h> exists even on freestanding compilers.  */
57457
57458 #ifdef __STDC__
57459 # include <limits.h>
57460 #else
57461 # include <assert.h>
57462 #endif
57463
57464 #undef $ac_func
57465
57466 /* Override any gcc2 internal prototype to avoid an error.  */
57467 #ifdef __cplusplus
57468 extern "C"
57469 {
57470 #endif
57471 /* We use char because int might match the return type of a gcc2
57472    builtin and then its argument prototype would still apply.  */
57473 char $ac_func ();
57474 /* The GNU C library defines this for functions which it implements
57475     to always fail with ENOSYS.  Some functions are actually named
57476     something starting with __ and the normal name is an alias.  */
57477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57478 choke me
57479 #else
57480 char (*f) () = $ac_func;
57481 #endif
57482 #ifdef __cplusplus
57483 }
57484 #endif
57485
57486 int
57487 main ()
57488 {
57489 return f != $ac_func;
57490   ;
57491   return 0;
57492 }
57493 _ACEOF
57494 rm -f conftest.$ac_objext conftest$ac_exeext
57495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57496   (eval $ac_link) 2>conftest.er1
57497   ac_status=$?
57498   grep -v '^ *+' conftest.er1 >conftest.err
57499   rm -f conftest.er1
57500   cat conftest.err >&5
57501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57502   (exit $ac_status); } &&
57503          { ac_try='test -z "$ac_c_werror_flag"
57504                          || test ! -s conftest.err'
57505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57506   (eval $ac_try) 2>&5
57507   ac_status=$?
57508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57509   (exit $ac_status); }; } &&
57510          { ac_try='test -s conftest$ac_exeext'
57511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57512   (eval $ac_try) 2>&5
57513   ac_status=$?
57514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57515   (exit $ac_status); }; }; then
57516   eval "$as_ac_var=yes"
57517 else
57518   echo "$as_me: failed program was:" >&5
57519 sed 's/^/| /' conftest.$ac_ext >&5
57520
57521 eval "$as_ac_var=no"
57522 fi
57523 rm -f conftest.err conftest.$ac_objext \
57524       conftest$ac_exeext conftest.$ac_ext
57525 fi
57526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57528 if test `eval echo '${'$as_ac_var'}'` = yes; then
57529   cat >>confdefs.h <<_ACEOF
57530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57531 _ACEOF
57532
57533 fi
57534 done
57535
57536     fi
57537   fi
57538
57539
57540
57541
57542
57543
57544   echo "$as_me:$LINENO: checking for isinff declaration" >&5
57545 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
57546   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
57547     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
57548   echo $ECHO_N "(cached) $ECHO_C" >&6
57549 else
57550
57551
57552
57553       ac_ext=cc
57554 ac_cpp='$CXXCPP $CPPFLAGS'
57555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57558
57559       cat >conftest.$ac_ext <<_ACEOF
57560 /* confdefs.h.  */
57561 _ACEOF
57562 cat confdefs.h >>conftest.$ac_ext
57563 cat >>conftest.$ac_ext <<_ACEOF
57564 /* end confdefs.h.  */
57565 #include <math.h>
57566                       #ifdef HAVE_IEEEFP_H
57567                       #include <ieeefp.h>
57568                       #endif
57569
57570 int
57571 main ()
57572 {
57573  isinff(0);
57574   ;
57575   return 0;
57576 }
57577 _ACEOF
57578 rm -f conftest.$ac_objext
57579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57580   (eval $ac_compile) 2>conftest.er1
57581   ac_status=$?
57582   grep -v '^ *+' conftest.er1 >conftest.err
57583   rm -f conftest.er1
57584   cat conftest.err >&5
57585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57586   (exit $ac_status); } &&
57587          { ac_try='test -z "$ac_cxx_werror_flag"
57588                          || test ! -s conftest.err'
57589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57590   (eval $ac_try) 2>&5
57591   ac_status=$?
57592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57593   (exit $ac_status); }; } &&
57594          { ac_try='test -s conftest.$ac_objext'
57595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57596   (eval $ac_try) 2>&5
57597   ac_status=$?
57598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57599   (exit $ac_status); }; }; then
57600   glibcxx_cv_func_isinff_use=yes
57601 else
57602   echo "$as_me: failed program was:" >&5
57603 sed 's/^/| /' conftest.$ac_ext >&5
57604
57605 glibcxx_cv_func_isinff_use=no
57606 fi
57607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57608       ac_ext=c
57609 ac_cpp='$CPP $CPPFLAGS'
57610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57613
57614
57615 fi
57616
57617   fi
57618   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
57619 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
57620
57621   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
57622
57623 for ac_func in isinff
57624 do
57625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57626 echo "$as_me:$LINENO: checking for $ac_func" >&5
57627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57628 if eval "test \"\${$as_ac_var+set}\" = set"; then
57629   echo $ECHO_N "(cached) $ECHO_C" >&6
57630 else
57631   if test x$gcc_no_link = xyes; then
57632   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57634    { (exit 1); exit 1; }; }
57635 fi
57636 cat >conftest.$ac_ext <<_ACEOF
57637 /* confdefs.h.  */
57638 _ACEOF
57639 cat confdefs.h >>conftest.$ac_ext
57640 cat >>conftest.$ac_ext <<_ACEOF
57641 /* end confdefs.h.  */
57642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57643    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57644 #define $ac_func innocuous_$ac_func
57645
57646 /* System header to define __stub macros and hopefully few prototypes,
57647     which can conflict with char $ac_func (); below.
57648     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57649     <limits.h> exists even on freestanding compilers.  */
57650
57651 #ifdef __STDC__
57652 # include <limits.h>
57653 #else
57654 # include <assert.h>
57655 #endif
57656
57657 #undef $ac_func
57658
57659 /* Override any gcc2 internal prototype to avoid an error.  */
57660 #ifdef __cplusplus
57661 extern "C"
57662 {
57663 #endif
57664 /* We use char because int might match the return type of a gcc2
57665    builtin and then its argument prototype would still apply.  */
57666 char $ac_func ();
57667 /* The GNU C library defines this for functions which it implements
57668     to always fail with ENOSYS.  Some functions are actually named
57669     something starting with __ and the normal name is an alias.  */
57670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57671 choke me
57672 #else
57673 char (*f) () = $ac_func;
57674 #endif
57675 #ifdef __cplusplus
57676 }
57677 #endif
57678
57679 int
57680 main ()
57681 {
57682 return f != $ac_func;
57683   ;
57684   return 0;
57685 }
57686 _ACEOF
57687 rm -f conftest.$ac_objext conftest$ac_exeext
57688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57689   (eval $ac_link) 2>conftest.er1
57690   ac_status=$?
57691   grep -v '^ *+' conftest.er1 >conftest.err
57692   rm -f conftest.er1
57693   cat conftest.err >&5
57694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57695   (exit $ac_status); } &&
57696          { ac_try='test -z "$ac_c_werror_flag"
57697                          || test ! -s conftest.err'
57698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57699   (eval $ac_try) 2>&5
57700   ac_status=$?
57701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57702   (exit $ac_status); }; } &&
57703          { ac_try='test -s conftest$ac_exeext'
57704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57705   (eval $ac_try) 2>&5
57706   ac_status=$?
57707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57708   (exit $ac_status); }; }; then
57709   eval "$as_ac_var=yes"
57710 else
57711   echo "$as_me: failed program was:" >&5
57712 sed 's/^/| /' conftest.$ac_ext >&5
57713
57714 eval "$as_ac_var=no"
57715 fi
57716 rm -f conftest.err conftest.$ac_objext \
57717       conftest$ac_exeext conftest.$ac_ext
57718 fi
57719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57721 if test `eval echo '${'$as_ac_var'}'` = yes; then
57722   cat >>confdefs.h <<_ACEOF
57723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57724 _ACEOF
57725
57726 fi
57727 done
57728
57729   else
57730
57731   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
57732 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
57733   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
57734     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
57735   echo $ECHO_N "(cached) $ECHO_C" >&6
57736 else
57737
57738
57739
57740       ac_ext=cc
57741 ac_cpp='$CXXCPP $CPPFLAGS'
57742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57745
57746       cat >conftest.$ac_ext <<_ACEOF
57747 /* confdefs.h.  */
57748 _ACEOF
57749 cat confdefs.h >>conftest.$ac_ext
57750 cat >>conftest.$ac_ext <<_ACEOF
57751 /* end confdefs.h.  */
57752 #include <math.h>
57753                       #ifdef HAVE_IEEEFP_H
57754                       #include <ieeefp.h>
57755                       #endif
57756
57757 int
57758 main ()
57759 {
57760  _isinff(0);
57761   ;
57762   return 0;
57763 }
57764 _ACEOF
57765 rm -f conftest.$ac_objext
57766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57767   (eval $ac_compile) 2>conftest.er1
57768   ac_status=$?
57769   grep -v '^ *+' conftest.er1 >conftest.err
57770   rm -f conftest.er1
57771   cat conftest.err >&5
57772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57773   (exit $ac_status); } &&
57774          { ac_try='test -z "$ac_cxx_werror_flag"
57775                          || test ! -s conftest.err'
57776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57777   (eval $ac_try) 2>&5
57778   ac_status=$?
57779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57780   (exit $ac_status); }; } &&
57781          { ac_try='test -s conftest.$ac_objext'
57782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57783   (eval $ac_try) 2>&5
57784   ac_status=$?
57785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57786   (exit $ac_status); }; }; then
57787   glibcxx_cv_func__isinff_use=yes
57788 else
57789   echo "$as_me: failed program was:" >&5
57790 sed 's/^/| /' conftest.$ac_ext >&5
57791
57792 glibcxx_cv_func__isinff_use=no
57793 fi
57794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57795       ac_ext=c
57796 ac_cpp='$CPP $CPPFLAGS'
57797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57800
57801
57802 fi
57803
57804   fi
57805   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
57806 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
57807
57808     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
57809
57810 for ac_func in _isinff
57811 do
57812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57813 echo "$as_me:$LINENO: checking for $ac_func" >&5
57814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57815 if eval "test \"\${$as_ac_var+set}\" = set"; then
57816   echo $ECHO_N "(cached) $ECHO_C" >&6
57817 else
57818   if test x$gcc_no_link = xyes; then
57819   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57821    { (exit 1); exit 1; }; }
57822 fi
57823 cat >conftest.$ac_ext <<_ACEOF
57824 /* confdefs.h.  */
57825 _ACEOF
57826 cat confdefs.h >>conftest.$ac_ext
57827 cat >>conftest.$ac_ext <<_ACEOF
57828 /* end confdefs.h.  */
57829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57830    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57831 #define $ac_func innocuous_$ac_func
57832
57833 /* System header to define __stub macros and hopefully few prototypes,
57834     which can conflict with char $ac_func (); below.
57835     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57836     <limits.h> exists even on freestanding compilers.  */
57837
57838 #ifdef __STDC__
57839 # include <limits.h>
57840 #else
57841 # include <assert.h>
57842 #endif
57843
57844 #undef $ac_func
57845
57846 /* Override any gcc2 internal prototype to avoid an error.  */
57847 #ifdef __cplusplus
57848 extern "C"
57849 {
57850 #endif
57851 /* We use char because int might match the return type of a gcc2
57852    builtin and then its argument prototype would still apply.  */
57853 char $ac_func ();
57854 /* The GNU C library defines this for functions which it implements
57855     to always fail with ENOSYS.  Some functions are actually named
57856     something starting with __ and the normal name is an alias.  */
57857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57858 choke me
57859 #else
57860 char (*f) () = $ac_func;
57861 #endif
57862 #ifdef __cplusplus
57863 }
57864 #endif
57865
57866 int
57867 main ()
57868 {
57869 return f != $ac_func;
57870   ;
57871   return 0;
57872 }
57873 _ACEOF
57874 rm -f conftest.$ac_objext conftest$ac_exeext
57875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57876   (eval $ac_link) 2>conftest.er1
57877   ac_status=$?
57878   grep -v '^ *+' conftest.er1 >conftest.err
57879   rm -f conftest.er1
57880   cat conftest.err >&5
57881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57882   (exit $ac_status); } &&
57883          { ac_try='test -z "$ac_c_werror_flag"
57884                          || test ! -s conftest.err'
57885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57886   (eval $ac_try) 2>&5
57887   ac_status=$?
57888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57889   (exit $ac_status); }; } &&
57890          { ac_try='test -s conftest$ac_exeext'
57891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57892   (eval $ac_try) 2>&5
57893   ac_status=$?
57894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57895   (exit $ac_status); }; }; then
57896   eval "$as_ac_var=yes"
57897 else
57898   echo "$as_me: failed program was:" >&5
57899 sed 's/^/| /' conftest.$ac_ext >&5
57900
57901 eval "$as_ac_var=no"
57902 fi
57903 rm -f conftest.err conftest.$ac_objext \
57904       conftest$ac_exeext conftest.$ac_ext
57905 fi
57906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57908 if test `eval echo '${'$as_ac_var'}'` = yes; then
57909   cat >>confdefs.h <<_ACEOF
57910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57911 _ACEOF
57912
57913 fi
57914 done
57915
57916     fi
57917   fi
57918
57919
57920
57921
57922
57923
57924   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
57925 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
57926   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
57927     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
57928   echo $ECHO_N "(cached) $ECHO_C" >&6
57929 else
57930
57931
57932
57933       ac_ext=cc
57934 ac_cpp='$CXXCPP $CPPFLAGS'
57935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57938
57939       cat >conftest.$ac_ext <<_ACEOF
57940 /* confdefs.h.  */
57941 _ACEOF
57942 cat confdefs.h >>conftest.$ac_ext
57943 cat >>conftest.$ac_ext <<_ACEOF
57944 /* end confdefs.h.  */
57945 #include <math.h>
57946 int
57947 main ()
57948 {
57949  atan2f(0, 0);
57950   ;
57951   return 0;
57952 }
57953 _ACEOF
57954 rm -f conftest.$ac_objext
57955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57956   (eval $ac_compile) 2>conftest.er1
57957   ac_status=$?
57958   grep -v '^ *+' conftest.er1 >conftest.err
57959   rm -f conftest.er1
57960   cat conftest.err >&5
57961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57962   (exit $ac_status); } &&
57963          { ac_try='test -z "$ac_cxx_werror_flag"
57964                          || test ! -s conftest.err'
57965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57966   (eval $ac_try) 2>&5
57967   ac_status=$?
57968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57969   (exit $ac_status); }; } &&
57970          { ac_try='test -s conftest.$ac_objext'
57971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57972   (eval $ac_try) 2>&5
57973   ac_status=$?
57974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57975   (exit $ac_status); }; }; then
57976   glibcxx_cv_func_atan2f_use=yes
57977 else
57978   echo "$as_me: failed program was:" >&5
57979 sed 's/^/| /' conftest.$ac_ext >&5
57980
57981 glibcxx_cv_func_atan2f_use=no
57982 fi
57983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57984       ac_ext=c
57985 ac_cpp='$CPP $CPPFLAGS'
57986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57989
57990
57991 fi
57992
57993   fi
57994   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
57995 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
57996
57997   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
57998
57999 for ac_func in atan2f
58000 do
58001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58002 echo "$as_me:$LINENO: checking for $ac_func" >&5
58003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58004 if eval "test \"\${$as_ac_var+set}\" = set"; then
58005   echo $ECHO_N "(cached) $ECHO_C" >&6
58006 else
58007   if test x$gcc_no_link = xyes; then
58008   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58010    { (exit 1); exit 1; }; }
58011 fi
58012 cat >conftest.$ac_ext <<_ACEOF
58013 /* confdefs.h.  */
58014 _ACEOF
58015 cat confdefs.h >>conftest.$ac_ext
58016 cat >>conftest.$ac_ext <<_ACEOF
58017 /* end confdefs.h.  */
58018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58019    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58020 #define $ac_func innocuous_$ac_func
58021
58022 /* System header to define __stub macros and hopefully few prototypes,
58023     which can conflict with char $ac_func (); below.
58024     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58025     <limits.h> exists even on freestanding compilers.  */
58026
58027 #ifdef __STDC__
58028 # include <limits.h>
58029 #else
58030 # include <assert.h>
58031 #endif
58032
58033 #undef $ac_func
58034
58035 /* Override any gcc2 internal prototype to avoid an error.  */
58036 #ifdef __cplusplus
58037 extern "C"
58038 {
58039 #endif
58040 /* We use char because int might match the return type of a gcc2
58041    builtin and then its argument prototype would still apply.  */
58042 char $ac_func ();
58043 /* The GNU C library defines this for functions which it implements
58044     to always fail with ENOSYS.  Some functions are actually named
58045     something starting with __ and the normal name is an alias.  */
58046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58047 choke me
58048 #else
58049 char (*f) () = $ac_func;
58050 #endif
58051 #ifdef __cplusplus
58052 }
58053 #endif
58054
58055 int
58056 main ()
58057 {
58058 return f != $ac_func;
58059   ;
58060   return 0;
58061 }
58062 _ACEOF
58063 rm -f conftest.$ac_objext conftest$ac_exeext
58064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58065   (eval $ac_link) 2>conftest.er1
58066   ac_status=$?
58067   grep -v '^ *+' conftest.er1 >conftest.err
58068   rm -f conftest.er1
58069   cat conftest.err >&5
58070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58071   (exit $ac_status); } &&
58072          { ac_try='test -z "$ac_c_werror_flag"
58073                          || test ! -s conftest.err'
58074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58075   (eval $ac_try) 2>&5
58076   ac_status=$?
58077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58078   (exit $ac_status); }; } &&
58079          { ac_try='test -s conftest$ac_exeext'
58080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58081   (eval $ac_try) 2>&5
58082   ac_status=$?
58083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58084   (exit $ac_status); }; }; then
58085   eval "$as_ac_var=yes"
58086 else
58087   echo "$as_me: failed program was:" >&5
58088 sed 's/^/| /' conftest.$ac_ext >&5
58089
58090 eval "$as_ac_var=no"
58091 fi
58092 rm -f conftest.err conftest.$ac_objext \
58093       conftest$ac_exeext conftest.$ac_ext
58094 fi
58095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58097 if test `eval echo '${'$as_ac_var'}'` = yes; then
58098   cat >>confdefs.h <<_ACEOF
58099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58100 _ACEOF
58101
58102 fi
58103 done
58104
58105   else
58106
58107   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
58108 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
58109   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
58110     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
58111   echo $ECHO_N "(cached) $ECHO_C" >&6
58112 else
58113
58114
58115
58116       ac_ext=cc
58117 ac_cpp='$CXXCPP $CPPFLAGS'
58118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58121
58122       cat >conftest.$ac_ext <<_ACEOF
58123 /* confdefs.h.  */
58124 _ACEOF
58125 cat confdefs.h >>conftest.$ac_ext
58126 cat >>conftest.$ac_ext <<_ACEOF
58127 /* end confdefs.h.  */
58128 #include <math.h>
58129 int
58130 main ()
58131 {
58132  _atan2f(0, 0);
58133   ;
58134   return 0;
58135 }
58136 _ACEOF
58137 rm -f conftest.$ac_objext
58138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58139   (eval $ac_compile) 2>conftest.er1
58140   ac_status=$?
58141   grep -v '^ *+' conftest.er1 >conftest.err
58142   rm -f conftest.er1
58143   cat conftest.err >&5
58144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58145   (exit $ac_status); } &&
58146          { ac_try='test -z "$ac_cxx_werror_flag"
58147                          || test ! -s conftest.err'
58148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58149   (eval $ac_try) 2>&5
58150   ac_status=$?
58151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58152   (exit $ac_status); }; } &&
58153          { ac_try='test -s conftest.$ac_objext'
58154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58155   (eval $ac_try) 2>&5
58156   ac_status=$?
58157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58158   (exit $ac_status); }; }; then
58159   glibcxx_cv_func__atan2f_use=yes
58160 else
58161   echo "$as_me: failed program was:" >&5
58162 sed 's/^/| /' conftest.$ac_ext >&5
58163
58164 glibcxx_cv_func__atan2f_use=no
58165 fi
58166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58167       ac_ext=c
58168 ac_cpp='$CPP $CPPFLAGS'
58169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58172
58173
58174 fi
58175
58176   fi
58177   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
58178 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
58179
58180     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
58181
58182 for ac_func in _atan2f
58183 do
58184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58185 echo "$as_me:$LINENO: checking for $ac_func" >&5
58186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58187 if eval "test \"\${$as_ac_var+set}\" = set"; then
58188   echo $ECHO_N "(cached) $ECHO_C" >&6
58189 else
58190   if test x$gcc_no_link = xyes; then
58191   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58193    { (exit 1); exit 1; }; }
58194 fi
58195 cat >conftest.$ac_ext <<_ACEOF
58196 /* confdefs.h.  */
58197 _ACEOF
58198 cat confdefs.h >>conftest.$ac_ext
58199 cat >>conftest.$ac_ext <<_ACEOF
58200 /* end confdefs.h.  */
58201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58202    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58203 #define $ac_func innocuous_$ac_func
58204
58205 /* System header to define __stub macros and hopefully few prototypes,
58206     which can conflict with char $ac_func (); below.
58207     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58208     <limits.h> exists even on freestanding compilers.  */
58209
58210 #ifdef __STDC__
58211 # include <limits.h>
58212 #else
58213 # include <assert.h>
58214 #endif
58215
58216 #undef $ac_func
58217
58218 /* Override any gcc2 internal prototype to avoid an error.  */
58219 #ifdef __cplusplus
58220 extern "C"
58221 {
58222 #endif
58223 /* We use char because int might match the return type of a gcc2
58224    builtin and then its argument prototype would still apply.  */
58225 char $ac_func ();
58226 /* The GNU C library defines this for functions which it implements
58227     to always fail with ENOSYS.  Some functions are actually named
58228     something starting with __ and the normal name is an alias.  */
58229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58230 choke me
58231 #else
58232 char (*f) () = $ac_func;
58233 #endif
58234 #ifdef __cplusplus
58235 }
58236 #endif
58237
58238 int
58239 main ()
58240 {
58241 return f != $ac_func;
58242   ;
58243   return 0;
58244 }
58245 _ACEOF
58246 rm -f conftest.$ac_objext conftest$ac_exeext
58247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58248   (eval $ac_link) 2>conftest.er1
58249   ac_status=$?
58250   grep -v '^ *+' conftest.er1 >conftest.err
58251   rm -f conftest.er1
58252   cat conftest.err >&5
58253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58254   (exit $ac_status); } &&
58255          { ac_try='test -z "$ac_c_werror_flag"
58256                          || test ! -s conftest.err'
58257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58258   (eval $ac_try) 2>&5
58259   ac_status=$?
58260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58261   (exit $ac_status); }; } &&
58262          { ac_try='test -s conftest$ac_exeext'
58263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58264   (eval $ac_try) 2>&5
58265   ac_status=$?
58266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58267   (exit $ac_status); }; }; then
58268   eval "$as_ac_var=yes"
58269 else
58270   echo "$as_me: failed program was:" >&5
58271 sed 's/^/| /' conftest.$ac_ext >&5
58272
58273 eval "$as_ac_var=no"
58274 fi
58275 rm -f conftest.err conftest.$ac_objext \
58276       conftest$ac_exeext conftest.$ac_ext
58277 fi
58278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58280 if test `eval echo '${'$as_ac_var'}'` = yes; then
58281   cat >>confdefs.h <<_ACEOF
58282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58283 _ACEOF
58284
58285 fi
58286 done
58287
58288     fi
58289   fi
58290
58291
58292
58293
58294
58295
58296   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
58297 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
58298   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
58299     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
58300   echo $ECHO_N "(cached) $ECHO_C" >&6
58301 else
58302
58303
58304
58305       ac_ext=cc
58306 ac_cpp='$CXXCPP $CPPFLAGS'
58307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58310
58311       cat >conftest.$ac_ext <<_ACEOF
58312 /* confdefs.h.  */
58313 _ACEOF
58314 cat confdefs.h >>conftest.$ac_ext
58315 cat >>conftest.$ac_ext <<_ACEOF
58316 /* end confdefs.h.  */
58317 #include <math.h>
58318                       #ifdef HAVE_IEEEFP_H
58319                       #include <ieeefp.h>
58320                       #endif
58321
58322 int
58323 main ()
58324 {
58325  fabsf(0);
58326   ;
58327   return 0;
58328 }
58329 _ACEOF
58330 rm -f conftest.$ac_objext
58331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58332   (eval $ac_compile) 2>conftest.er1
58333   ac_status=$?
58334   grep -v '^ *+' conftest.er1 >conftest.err
58335   rm -f conftest.er1
58336   cat conftest.err >&5
58337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58338   (exit $ac_status); } &&
58339          { ac_try='test -z "$ac_cxx_werror_flag"
58340                          || test ! -s conftest.err'
58341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58342   (eval $ac_try) 2>&5
58343   ac_status=$?
58344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58345   (exit $ac_status); }; } &&
58346          { ac_try='test -s conftest.$ac_objext'
58347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58348   (eval $ac_try) 2>&5
58349   ac_status=$?
58350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58351   (exit $ac_status); }; }; then
58352   glibcxx_cv_func_fabsf_use=yes
58353 else
58354   echo "$as_me: failed program was:" >&5
58355 sed 's/^/| /' conftest.$ac_ext >&5
58356
58357 glibcxx_cv_func_fabsf_use=no
58358 fi
58359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58360       ac_ext=c
58361 ac_cpp='$CPP $CPPFLAGS'
58362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58365
58366
58367 fi
58368
58369   fi
58370   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
58371 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
58372
58373   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
58374
58375 for ac_func in fabsf
58376 do
58377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58378 echo "$as_me:$LINENO: checking for $ac_func" >&5
58379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58380 if eval "test \"\${$as_ac_var+set}\" = set"; then
58381   echo $ECHO_N "(cached) $ECHO_C" >&6
58382 else
58383   if test x$gcc_no_link = xyes; then
58384   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58386    { (exit 1); exit 1; }; }
58387 fi
58388 cat >conftest.$ac_ext <<_ACEOF
58389 /* confdefs.h.  */
58390 _ACEOF
58391 cat confdefs.h >>conftest.$ac_ext
58392 cat >>conftest.$ac_ext <<_ACEOF
58393 /* end confdefs.h.  */
58394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58395    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58396 #define $ac_func innocuous_$ac_func
58397
58398 /* System header to define __stub macros and hopefully few prototypes,
58399     which can conflict with char $ac_func (); below.
58400     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58401     <limits.h> exists even on freestanding compilers.  */
58402
58403 #ifdef __STDC__
58404 # include <limits.h>
58405 #else
58406 # include <assert.h>
58407 #endif
58408
58409 #undef $ac_func
58410
58411 /* Override any gcc2 internal prototype to avoid an error.  */
58412 #ifdef __cplusplus
58413 extern "C"
58414 {
58415 #endif
58416 /* We use char because int might match the return type of a gcc2
58417    builtin and then its argument prototype would still apply.  */
58418 char $ac_func ();
58419 /* The GNU C library defines this for functions which it implements
58420     to always fail with ENOSYS.  Some functions are actually named
58421     something starting with __ and the normal name is an alias.  */
58422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58423 choke me
58424 #else
58425 char (*f) () = $ac_func;
58426 #endif
58427 #ifdef __cplusplus
58428 }
58429 #endif
58430
58431 int
58432 main ()
58433 {
58434 return f != $ac_func;
58435   ;
58436   return 0;
58437 }
58438 _ACEOF
58439 rm -f conftest.$ac_objext conftest$ac_exeext
58440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58441   (eval $ac_link) 2>conftest.er1
58442   ac_status=$?
58443   grep -v '^ *+' conftest.er1 >conftest.err
58444   rm -f conftest.er1
58445   cat conftest.err >&5
58446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58447   (exit $ac_status); } &&
58448          { ac_try='test -z "$ac_c_werror_flag"
58449                          || test ! -s conftest.err'
58450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58451   (eval $ac_try) 2>&5
58452   ac_status=$?
58453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58454   (exit $ac_status); }; } &&
58455          { ac_try='test -s conftest$ac_exeext'
58456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58457   (eval $ac_try) 2>&5
58458   ac_status=$?
58459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58460   (exit $ac_status); }; }; then
58461   eval "$as_ac_var=yes"
58462 else
58463   echo "$as_me: failed program was:" >&5
58464 sed 's/^/| /' conftest.$ac_ext >&5
58465
58466 eval "$as_ac_var=no"
58467 fi
58468 rm -f conftest.err conftest.$ac_objext \
58469       conftest$ac_exeext conftest.$ac_ext
58470 fi
58471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58473 if test `eval echo '${'$as_ac_var'}'` = yes; then
58474   cat >>confdefs.h <<_ACEOF
58475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58476 _ACEOF
58477
58478 fi
58479 done
58480
58481   else
58482
58483   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
58484 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
58485   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
58486     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
58487   echo $ECHO_N "(cached) $ECHO_C" >&6
58488 else
58489
58490
58491
58492       ac_ext=cc
58493 ac_cpp='$CXXCPP $CPPFLAGS'
58494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58497
58498       cat >conftest.$ac_ext <<_ACEOF
58499 /* confdefs.h.  */
58500 _ACEOF
58501 cat confdefs.h >>conftest.$ac_ext
58502 cat >>conftest.$ac_ext <<_ACEOF
58503 /* end confdefs.h.  */
58504 #include <math.h>
58505                       #ifdef HAVE_IEEEFP_H
58506                       #include <ieeefp.h>
58507                       #endif
58508
58509 int
58510 main ()
58511 {
58512  _fabsf(0);
58513   ;
58514   return 0;
58515 }
58516 _ACEOF
58517 rm -f conftest.$ac_objext
58518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58519   (eval $ac_compile) 2>conftest.er1
58520   ac_status=$?
58521   grep -v '^ *+' conftest.er1 >conftest.err
58522   rm -f conftest.er1
58523   cat conftest.err >&5
58524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58525   (exit $ac_status); } &&
58526          { ac_try='test -z "$ac_cxx_werror_flag"
58527                          || test ! -s conftest.err'
58528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58529   (eval $ac_try) 2>&5
58530   ac_status=$?
58531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58532   (exit $ac_status); }; } &&
58533          { ac_try='test -s conftest.$ac_objext'
58534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58535   (eval $ac_try) 2>&5
58536   ac_status=$?
58537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58538   (exit $ac_status); }; }; then
58539   glibcxx_cv_func__fabsf_use=yes
58540 else
58541   echo "$as_me: failed program was:" >&5
58542 sed 's/^/| /' conftest.$ac_ext >&5
58543
58544 glibcxx_cv_func__fabsf_use=no
58545 fi
58546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58547       ac_ext=c
58548 ac_cpp='$CPP $CPPFLAGS'
58549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58552
58553
58554 fi
58555
58556   fi
58557   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
58558 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
58559
58560     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
58561
58562 for ac_func in _fabsf
58563 do
58564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58565 echo "$as_me:$LINENO: checking for $ac_func" >&5
58566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58567 if eval "test \"\${$as_ac_var+set}\" = set"; then
58568   echo $ECHO_N "(cached) $ECHO_C" >&6
58569 else
58570   if test x$gcc_no_link = xyes; then
58571   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58573    { (exit 1); exit 1; }; }
58574 fi
58575 cat >conftest.$ac_ext <<_ACEOF
58576 /* confdefs.h.  */
58577 _ACEOF
58578 cat confdefs.h >>conftest.$ac_ext
58579 cat >>conftest.$ac_ext <<_ACEOF
58580 /* end confdefs.h.  */
58581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58582    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58583 #define $ac_func innocuous_$ac_func
58584
58585 /* System header to define __stub macros and hopefully few prototypes,
58586     which can conflict with char $ac_func (); below.
58587     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58588     <limits.h> exists even on freestanding compilers.  */
58589
58590 #ifdef __STDC__
58591 # include <limits.h>
58592 #else
58593 # include <assert.h>
58594 #endif
58595
58596 #undef $ac_func
58597
58598 /* Override any gcc2 internal prototype to avoid an error.  */
58599 #ifdef __cplusplus
58600 extern "C"
58601 {
58602 #endif
58603 /* We use char because int might match the return type of a gcc2
58604    builtin and then its argument prototype would still apply.  */
58605 char $ac_func ();
58606 /* The GNU C library defines this for functions which it implements
58607     to always fail with ENOSYS.  Some functions are actually named
58608     something starting with __ and the normal name is an alias.  */
58609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58610 choke me
58611 #else
58612 char (*f) () = $ac_func;
58613 #endif
58614 #ifdef __cplusplus
58615 }
58616 #endif
58617
58618 int
58619 main ()
58620 {
58621 return f != $ac_func;
58622   ;
58623   return 0;
58624 }
58625 _ACEOF
58626 rm -f conftest.$ac_objext conftest$ac_exeext
58627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58628   (eval $ac_link) 2>conftest.er1
58629   ac_status=$?
58630   grep -v '^ *+' conftest.er1 >conftest.err
58631   rm -f conftest.er1
58632   cat conftest.err >&5
58633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58634   (exit $ac_status); } &&
58635          { ac_try='test -z "$ac_c_werror_flag"
58636                          || test ! -s conftest.err'
58637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58638   (eval $ac_try) 2>&5
58639   ac_status=$?
58640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58641   (exit $ac_status); }; } &&
58642          { ac_try='test -s conftest$ac_exeext'
58643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58644   (eval $ac_try) 2>&5
58645   ac_status=$?
58646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58647   (exit $ac_status); }; }; then
58648   eval "$as_ac_var=yes"
58649 else
58650   echo "$as_me: failed program was:" >&5
58651 sed 's/^/| /' conftest.$ac_ext >&5
58652
58653 eval "$as_ac_var=no"
58654 fi
58655 rm -f conftest.err conftest.$ac_objext \
58656       conftest$ac_exeext conftest.$ac_ext
58657 fi
58658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58660 if test `eval echo '${'$as_ac_var'}'` = yes; then
58661   cat >>confdefs.h <<_ACEOF
58662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58663 _ACEOF
58664
58665 fi
58666 done
58667
58668     fi
58669   fi
58670
58671
58672
58673
58674
58675
58676   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
58677 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
58678   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
58679     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
58680   echo $ECHO_N "(cached) $ECHO_C" >&6
58681 else
58682
58683
58684
58685       ac_ext=cc
58686 ac_cpp='$CXXCPP $CPPFLAGS'
58687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58690
58691       cat >conftest.$ac_ext <<_ACEOF
58692 /* confdefs.h.  */
58693 _ACEOF
58694 cat confdefs.h >>conftest.$ac_ext
58695 cat >>conftest.$ac_ext <<_ACEOF
58696 /* end confdefs.h.  */
58697 #include <math.h>
58698 int
58699 main ()
58700 {
58701  fmodf(0, 0);
58702   ;
58703   return 0;
58704 }
58705 _ACEOF
58706 rm -f conftest.$ac_objext
58707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58708   (eval $ac_compile) 2>conftest.er1
58709   ac_status=$?
58710   grep -v '^ *+' conftest.er1 >conftest.err
58711   rm -f conftest.er1
58712   cat conftest.err >&5
58713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58714   (exit $ac_status); } &&
58715          { ac_try='test -z "$ac_cxx_werror_flag"
58716                          || test ! -s conftest.err'
58717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58718   (eval $ac_try) 2>&5
58719   ac_status=$?
58720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58721   (exit $ac_status); }; } &&
58722          { ac_try='test -s conftest.$ac_objext'
58723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58724   (eval $ac_try) 2>&5
58725   ac_status=$?
58726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58727   (exit $ac_status); }; }; then
58728   glibcxx_cv_func_fmodf_use=yes
58729 else
58730   echo "$as_me: failed program was:" >&5
58731 sed 's/^/| /' conftest.$ac_ext >&5
58732
58733 glibcxx_cv_func_fmodf_use=no
58734 fi
58735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58736       ac_ext=c
58737 ac_cpp='$CPP $CPPFLAGS'
58738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58741
58742
58743 fi
58744
58745   fi
58746   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
58747 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
58748
58749   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
58750
58751 for ac_func in fmodf
58752 do
58753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58754 echo "$as_me:$LINENO: checking for $ac_func" >&5
58755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58756 if eval "test \"\${$as_ac_var+set}\" = set"; then
58757   echo $ECHO_N "(cached) $ECHO_C" >&6
58758 else
58759   if test x$gcc_no_link = xyes; then
58760   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58762    { (exit 1); exit 1; }; }
58763 fi
58764 cat >conftest.$ac_ext <<_ACEOF
58765 /* confdefs.h.  */
58766 _ACEOF
58767 cat confdefs.h >>conftest.$ac_ext
58768 cat >>conftest.$ac_ext <<_ACEOF
58769 /* end confdefs.h.  */
58770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58771    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58772 #define $ac_func innocuous_$ac_func
58773
58774 /* System header to define __stub macros and hopefully few prototypes,
58775     which can conflict with char $ac_func (); below.
58776     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58777     <limits.h> exists even on freestanding compilers.  */
58778
58779 #ifdef __STDC__
58780 # include <limits.h>
58781 #else
58782 # include <assert.h>
58783 #endif
58784
58785 #undef $ac_func
58786
58787 /* Override any gcc2 internal prototype to avoid an error.  */
58788 #ifdef __cplusplus
58789 extern "C"
58790 {
58791 #endif
58792 /* We use char because int might match the return type of a gcc2
58793    builtin and then its argument prototype would still apply.  */
58794 char $ac_func ();
58795 /* The GNU C library defines this for functions which it implements
58796     to always fail with ENOSYS.  Some functions are actually named
58797     something starting with __ and the normal name is an alias.  */
58798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58799 choke me
58800 #else
58801 char (*f) () = $ac_func;
58802 #endif
58803 #ifdef __cplusplus
58804 }
58805 #endif
58806
58807 int
58808 main ()
58809 {
58810 return f != $ac_func;
58811   ;
58812   return 0;
58813 }
58814 _ACEOF
58815 rm -f conftest.$ac_objext conftest$ac_exeext
58816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58817   (eval $ac_link) 2>conftest.er1
58818   ac_status=$?
58819   grep -v '^ *+' conftest.er1 >conftest.err
58820   rm -f conftest.er1
58821   cat conftest.err >&5
58822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58823   (exit $ac_status); } &&
58824          { ac_try='test -z "$ac_c_werror_flag"
58825                          || test ! -s conftest.err'
58826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58827   (eval $ac_try) 2>&5
58828   ac_status=$?
58829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58830   (exit $ac_status); }; } &&
58831          { ac_try='test -s conftest$ac_exeext'
58832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58833   (eval $ac_try) 2>&5
58834   ac_status=$?
58835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58836   (exit $ac_status); }; }; then
58837   eval "$as_ac_var=yes"
58838 else
58839   echo "$as_me: failed program was:" >&5
58840 sed 's/^/| /' conftest.$ac_ext >&5
58841
58842 eval "$as_ac_var=no"
58843 fi
58844 rm -f conftest.err conftest.$ac_objext \
58845       conftest$ac_exeext conftest.$ac_ext
58846 fi
58847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58849 if test `eval echo '${'$as_ac_var'}'` = yes; then
58850   cat >>confdefs.h <<_ACEOF
58851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58852 _ACEOF
58853
58854 fi
58855 done
58856
58857   else
58858
58859   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
58860 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
58861   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
58862     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
58863   echo $ECHO_N "(cached) $ECHO_C" >&6
58864 else
58865
58866
58867
58868       ac_ext=cc
58869 ac_cpp='$CXXCPP $CPPFLAGS'
58870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58873
58874       cat >conftest.$ac_ext <<_ACEOF
58875 /* confdefs.h.  */
58876 _ACEOF
58877 cat confdefs.h >>conftest.$ac_ext
58878 cat >>conftest.$ac_ext <<_ACEOF
58879 /* end confdefs.h.  */
58880 #include <math.h>
58881 int
58882 main ()
58883 {
58884  _fmodf(0, 0);
58885   ;
58886   return 0;
58887 }
58888 _ACEOF
58889 rm -f conftest.$ac_objext
58890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58891   (eval $ac_compile) 2>conftest.er1
58892   ac_status=$?
58893   grep -v '^ *+' conftest.er1 >conftest.err
58894   rm -f conftest.er1
58895   cat conftest.err >&5
58896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58897   (exit $ac_status); } &&
58898          { ac_try='test -z "$ac_cxx_werror_flag"
58899                          || test ! -s conftest.err'
58900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58901   (eval $ac_try) 2>&5
58902   ac_status=$?
58903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58904   (exit $ac_status); }; } &&
58905          { ac_try='test -s conftest.$ac_objext'
58906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58907   (eval $ac_try) 2>&5
58908   ac_status=$?
58909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58910   (exit $ac_status); }; }; then
58911   glibcxx_cv_func__fmodf_use=yes
58912 else
58913   echo "$as_me: failed program was:" >&5
58914 sed 's/^/| /' conftest.$ac_ext >&5
58915
58916 glibcxx_cv_func__fmodf_use=no
58917 fi
58918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58919       ac_ext=c
58920 ac_cpp='$CPP $CPPFLAGS'
58921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58924
58925
58926 fi
58927
58928   fi
58929   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
58930 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
58931
58932     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
58933
58934 for ac_func in _fmodf
58935 do
58936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58937 echo "$as_me:$LINENO: checking for $ac_func" >&5
58938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58939 if eval "test \"\${$as_ac_var+set}\" = set"; then
58940   echo $ECHO_N "(cached) $ECHO_C" >&6
58941 else
58942   if test x$gcc_no_link = xyes; then
58943   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58945    { (exit 1); exit 1; }; }
58946 fi
58947 cat >conftest.$ac_ext <<_ACEOF
58948 /* confdefs.h.  */
58949 _ACEOF
58950 cat confdefs.h >>conftest.$ac_ext
58951 cat >>conftest.$ac_ext <<_ACEOF
58952 /* end confdefs.h.  */
58953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58954    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58955 #define $ac_func innocuous_$ac_func
58956
58957 /* System header to define __stub macros and hopefully few prototypes,
58958     which can conflict with char $ac_func (); below.
58959     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58960     <limits.h> exists even on freestanding compilers.  */
58961
58962 #ifdef __STDC__
58963 # include <limits.h>
58964 #else
58965 # include <assert.h>
58966 #endif
58967
58968 #undef $ac_func
58969
58970 /* Override any gcc2 internal prototype to avoid an error.  */
58971 #ifdef __cplusplus
58972 extern "C"
58973 {
58974 #endif
58975 /* We use char because int might match the return type of a gcc2
58976    builtin and then its argument prototype would still apply.  */
58977 char $ac_func ();
58978 /* The GNU C library defines this for functions which it implements
58979     to always fail with ENOSYS.  Some functions are actually named
58980     something starting with __ and the normal name is an alias.  */
58981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58982 choke me
58983 #else
58984 char (*f) () = $ac_func;
58985 #endif
58986 #ifdef __cplusplus
58987 }
58988 #endif
58989
58990 int
58991 main ()
58992 {
58993 return f != $ac_func;
58994   ;
58995   return 0;
58996 }
58997 _ACEOF
58998 rm -f conftest.$ac_objext conftest$ac_exeext
58999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59000   (eval $ac_link) 2>conftest.er1
59001   ac_status=$?
59002   grep -v '^ *+' conftest.er1 >conftest.err
59003   rm -f conftest.er1
59004   cat conftest.err >&5
59005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59006   (exit $ac_status); } &&
59007          { ac_try='test -z "$ac_c_werror_flag"
59008                          || test ! -s conftest.err'
59009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59010   (eval $ac_try) 2>&5
59011   ac_status=$?
59012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59013   (exit $ac_status); }; } &&
59014          { ac_try='test -s conftest$ac_exeext'
59015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59016   (eval $ac_try) 2>&5
59017   ac_status=$?
59018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59019   (exit $ac_status); }; }; then
59020   eval "$as_ac_var=yes"
59021 else
59022   echo "$as_me: failed program was:" >&5
59023 sed 's/^/| /' conftest.$ac_ext >&5
59024
59025 eval "$as_ac_var=no"
59026 fi
59027 rm -f conftest.err conftest.$ac_objext \
59028       conftest$ac_exeext conftest.$ac_ext
59029 fi
59030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59032 if test `eval echo '${'$as_ac_var'}'` = yes; then
59033   cat >>confdefs.h <<_ACEOF
59034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59035 _ACEOF
59036
59037 fi
59038 done
59039
59040     fi
59041   fi
59042
59043
59044
59045
59046
59047
59048   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
59049 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
59050   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59051     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
59052   echo $ECHO_N "(cached) $ECHO_C" >&6
59053 else
59054
59055
59056
59057       ac_ext=cc
59058 ac_cpp='$CXXCPP $CPPFLAGS'
59059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59062
59063       cat >conftest.$ac_ext <<_ACEOF
59064 /* confdefs.h.  */
59065 _ACEOF
59066 cat confdefs.h >>conftest.$ac_ext
59067 cat >>conftest.$ac_ext <<_ACEOF
59068 /* end confdefs.h.  */
59069 #include <math.h>
59070 int
59071 main ()
59072 {
59073  frexpf(0, 0);
59074   ;
59075   return 0;
59076 }
59077 _ACEOF
59078 rm -f conftest.$ac_objext
59079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59080   (eval $ac_compile) 2>conftest.er1
59081   ac_status=$?
59082   grep -v '^ *+' conftest.er1 >conftest.err
59083   rm -f conftest.er1
59084   cat conftest.err >&5
59085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59086   (exit $ac_status); } &&
59087          { ac_try='test -z "$ac_cxx_werror_flag"
59088                          || test ! -s conftest.err'
59089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59090   (eval $ac_try) 2>&5
59091   ac_status=$?
59092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59093   (exit $ac_status); }; } &&
59094          { ac_try='test -s conftest.$ac_objext'
59095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59096   (eval $ac_try) 2>&5
59097   ac_status=$?
59098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59099   (exit $ac_status); }; }; then
59100   glibcxx_cv_func_frexpf_use=yes
59101 else
59102   echo "$as_me: failed program was:" >&5
59103 sed 's/^/| /' conftest.$ac_ext >&5
59104
59105 glibcxx_cv_func_frexpf_use=no
59106 fi
59107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59108       ac_ext=c
59109 ac_cpp='$CPP $CPPFLAGS'
59110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59113
59114
59115 fi
59116
59117   fi
59118   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
59119 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
59120
59121   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59122
59123 for ac_func in frexpf
59124 do
59125 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59126 echo "$as_me:$LINENO: checking for $ac_func" >&5
59127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59128 if eval "test \"\${$as_ac_var+set}\" = set"; then
59129   echo $ECHO_N "(cached) $ECHO_C" >&6
59130 else
59131   if test x$gcc_no_link = xyes; then
59132   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59134    { (exit 1); exit 1; }; }
59135 fi
59136 cat >conftest.$ac_ext <<_ACEOF
59137 /* confdefs.h.  */
59138 _ACEOF
59139 cat confdefs.h >>conftest.$ac_ext
59140 cat >>conftest.$ac_ext <<_ACEOF
59141 /* end confdefs.h.  */
59142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59143    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59144 #define $ac_func innocuous_$ac_func
59145
59146 /* System header to define __stub macros and hopefully few prototypes,
59147     which can conflict with char $ac_func (); below.
59148     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59149     <limits.h> exists even on freestanding compilers.  */
59150
59151 #ifdef __STDC__
59152 # include <limits.h>
59153 #else
59154 # include <assert.h>
59155 #endif
59156
59157 #undef $ac_func
59158
59159 /* Override any gcc2 internal prototype to avoid an error.  */
59160 #ifdef __cplusplus
59161 extern "C"
59162 {
59163 #endif
59164 /* We use char because int might match the return type of a gcc2
59165    builtin and then its argument prototype would still apply.  */
59166 char $ac_func ();
59167 /* The GNU C library defines this for functions which it implements
59168     to always fail with ENOSYS.  Some functions are actually named
59169     something starting with __ and the normal name is an alias.  */
59170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59171 choke me
59172 #else
59173 char (*f) () = $ac_func;
59174 #endif
59175 #ifdef __cplusplus
59176 }
59177 #endif
59178
59179 int
59180 main ()
59181 {
59182 return f != $ac_func;
59183   ;
59184   return 0;
59185 }
59186 _ACEOF
59187 rm -f conftest.$ac_objext conftest$ac_exeext
59188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59189   (eval $ac_link) 2>conftest.er1
59190   ac_status=$?
59191   grep -v '^ *+' conftest.er1 >conftest.err
59192   rm -f conftest.er1
59193   cat conftest.err >&5
59194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59195   (exit $ac_status); } &&
59196          { ac_try='test -z "$ac_c_werror_flag"
59197                          || test ! -s conftest.err'
59198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59199   (eval $ac_try) 2>&5
59200   ac_status=$?
59201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59202   (exit $ac_status); }; } &&
59203          { ac_try='test -s conftest$ac_exeext'
59204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59205   (eval $ac_try) 2>&5
59206   ac_status=$?
59207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59208   (exit $ac_status); }; }; then
59209   eval "$as_ac_var=yes"
59210 else
59211   echo "$as_me: failed program was:" >&5
59212 sed 's/^/| /' conftest.$ac_ext >&5
59213
59214 eval "$as_ac_var=no"
59215 fi
59216 rm -f conftest.err conftest.$ac_objext \
59217       conftest$ac_exeext conftest.$ac_ext
59218 fi
59219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59221 if test `eval echo '${'$as_ac_var'}'` = yes; then
59222   cat >>confdefs.h <<_ACEOF
59223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59224 _ACEOF
59225
59226 fi
59227 done
59228
59229   else
59230
59231   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
59232 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
59233   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59234     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
59235   echo $ECHO_N "(cached) $ECHO_C" >&6
59236 else
59237
59238
59239
59240       ac_ext=cc
59241 ac_cpp='$CXXCPP $CPPFLAGS'
59242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59245
59246       cat >conftest.$ac_ext <<_ACEOF
59247 /* confdefs.h.  */
59248 _ACEOF
59249 cat confdefs.h >>conftest.$ac_ext
59250 cat >>conftest.$ac_ext <<_ACEOF
59251 /* end confdefs.h.  */
59252 #include <math.h>
59253 int
59254 main ()
59255 {
59256  _frexpf(0, 0);
59257   ;
59258   return 0;
59259 }
59260 _ACEOF
59261 rm -f conftest.$ac_objext
59262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59263   (eval $ac_compile) 2>conftest.er1
59264   ac_status=$?
59265   grep -v '^ *+' conftest.er1 >conftest.err
59266   rm -f conftest.er1
59267   cat conftest.err >&5
59268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59269   (exit $ac_status); } &&
59270          { ac_try='test -z "$ac_cxx_werror_flag"
59271                          || test ! -s conftest.err'
59272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59273   (eval $ac_try) 2>&5
59274   ac_status=$?
59275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59276   (exit $ac_status); }; } &&
59277          { ac_try='test -s conftest.$ac_objext'
59278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59279   (eval $ac_try) 2>&5
59280   ac_status=$?
59281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59282   (exit $ac_status); }; }; then
59283   glibcxx_cv_func__frexpf_use=yes
59284 else
59285   echo "$as_me: failed program was:" >&5
59286 sed 's/^/| /' conftest.$ac_ext >&5
59287
59288 glibcxx_cv_func__frexpf_use=no
59289 fi
59290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59291       ac_ext=c
59292 ac_cpp='$CPP $CPPFLAGS'
59293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59296
59297
59298 fi
59299
59300   fi
59301   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
59302 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
59303
59304     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59305
59306 for ac_func in _frexpf
59307 do
59308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59309 echo "$as_me:$LINENO: checking for $ac_func" >&5
59310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59311 if eval "test \"\${$as_ac_var+set}\" = set"; then
59312   echo $ECHO_N "(cached) $ECHO_C" >&6
59313 else
59314   if test x$gcc_no_link = xyes; then
59315   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59317    { (exit 1); exit 1; }; }
59318 fi
59319 cat >conftest.$ac_ext <<_ACEOF
59320 /* confdefs.h.  */
59321 _ACEOF
59322 cat confdefs.h >>conftest.$ac_ext
59323 cat >>conftest.$ac_ext <<_ACEOF
59324 /* end confdefs.h.  */
59325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59326    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59327 #define $ac_func innocuous_$ac_func
59328
59329 /* System header to define __stub macros and hopefully few prototypes,
59330     which can conflict with char $ac_func (); below.
59331     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59332     <limits.h> exists even on freestanding compilers.  */
59333
59334 #ifdef __STDC__
59335 # include <limits.h>
59336 #else
59337 # include <assert.h>
59338 #endif
59339
59340 #undef $ac_func
59341
59342 /* Override any gcc2 internal prototype to avoid an error.  */
59343 #ifdef __cplusplus
59344 extern "C"
59345 {
59346 #endif
59347 /* We use char because int might match the return type of a gcc2
59348    builtin and then its argument prototype would still apply.  */
59349 char $ac_func ();
59350 /* The GNU C library defines this for functions which it implements
59351     to always fail with ENOSYS.  Some functions are actually named
59352     something starting with __ and the normal name is an alias.  */
59353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59354 choke me
59355 #else
59356 char (*f) () = $ac_func;
59357 #endif
59358 #ifdef __cplusplus
59359 }
59360 #endif
59361
59362 int
59363 main ()
59364 {
59365 return f != $ac_func;
59366   ;
59367   return 0;
59368 }
59369 _ACEOF
59370 rm -f conftest.$ac_objext conftest$ac_exeext
59371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59372   (eval $ac_link) 2>conftest.er1
59373   ac_status=$?
59374   grep -v '^ *+' conftest.er1 >conftest.err
59375   rm -f conftest.er1
59376   cat conftest.err >&5
59377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59378   (exit $ac_status); } &&
59379          { ac_try='test -z "$ac_c_werror_flag"
59380                          || test ! -s conftest.err'
59381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59382   (eval $ac_try) 2>&5
59383   ac_status=$?
59384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59385   (exit $ac_status); }; } &&
59386          { ac_try='test -s conftest$ac_exeext'
59387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59388   (eval $ac_try) 2>&5
59389   ac_status=$?
59390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59391   (exit $ac_status); }; }; then
59392   eval "$as_ac_var=yes"
59393 else
59394   echo "$as_me: failed program was:" >&5
59395 sed 's/^/| /' conftest.$ac_ext >&5
59396
59397 eval "$as_ac_var=no"
59398 fi
59399 rm -f conftest.err conftest.$ac_objext \
59400       conftest$ac_exeext conftest.$ac_ext
59401 fi
59402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59404 if test `eval echo '${'$as_ac_var'}'` = yes; then
59405   cat >>confdefs.h <<_ACEOF
59406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59407 _ACEOF
59408
59409 fi
59410 done
59411
59412     fi
59413   fi
59414
59415
59416
59417
59418
59419
59420   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
59421 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
59422   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59423     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
59424   echo $ECHO_N "(cached) $ECHO_C" >&6
59425 else
59426
59427
59428
59429       ac_ext=cc
59430 ac_cpp='$CXXCPP $CPPFLAGS'
59431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59434
59435       cat >conftest.$ac_ext <<_ACEOF
59436 /* confdefs.h.  */
59437 _ACEOF
59438 cat confdefs.h >>conftest.$ac_ext
59439 cat >>conftest.$ac_ext <<_ACEOF
59440 /* end confdefs.h.  */
59441 #include <math.h>
59442 int
59443 main ()
59444 {
59445  hypotf(0, 0);
59446   ;
59447   return 0;
59448 }
59449 _ACEOF
59450 rm -f conftest.$ac_objext
59451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59452   (eval $ac_compile) 2>conftest.er1
59453   ac_status=$?
59454   grep -v '^ *+' conftest.er1 >conftest.err
59455   rm -f conftest.er1
59456   cat conftest.err >&5
59457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59458   (exit $ac_status); } &&
59459          { ac_try='test -z "$ac_cxx_werror_flag"
59460                          || test ! -s conftest.err'
59461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59462   (eval $ac_try) 2>&5
59463   ac_status=$?
59464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59465   (exit $ac_status); }; } &&
59466          { ac_try='test -s conftest.$ac_objext'
59467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59468   (eval $ac_try) 2>&5
59469   ac_status=$?
59470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59471   (exit $ac_status); }; }; then
59472   glibcxx_cv_func_hypotf_use=yes
59473 else
59474   echo "$as_me: failed program was:" >&5
59475 sed 's/^/| /' conftest.$ac_ext >&5
59476
59477 glibcxx_cv_func_hypotf_use=no
59478 fi
59479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59480       ac_ext=c
59481 ac_cpp='$CPP $CPPFLAGS'
59482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59485
59486
59487 fi
59488
59489   fi
59490   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
59491 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
59492
59493   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59494
59495 for ac_func in hypotf
59496 do
59497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59498 echo "$as_me:$LINENO: checking for $ac_func" >&5
59499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59500 if eval "test \"\${$as_ac_var+set}\" = set"; then
59501   echo $ECHO_N "(cached) $ECHO_C" >&6
59502 else
59503   if test x$gcc_no_link = xyes; then
59504   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59506    { (exit 1); exit 1; }; }
59507 fi
59508 cat >conftest.$ac_ext <<_ACEOF
59509 /* confdefs.h.  */
59510 _ACEOF
59511 cat confdefs.h >>conftest.$ac_ext
59512 cat >>conftest.$ac_ext <<_ACEOF
59513 /* end confdefs.h.  */
59514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59515    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59516 #define $ac_func innocuous_$ac_func
59517
59518 /* System header to define __stub macros and hopefully few prototypes,
59519     which can conflict with char $ac_func (); below.
59520     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59521     <limits.h> exists even on freestanding compilers.  */
59522
59523 #ifdef __STDC__
59524 # include <limits.h>
59525 #else
59526 # include <assert.h>
59527 #endif
59528
59529 #undef $ac_func
59530
59531 /* Override any gcc2 internal prototype to avoid an error.  */
59532 #ifdef __cplusplus
59533 extern "C"
59534 {
59535 #endif
59536 /* We use char because int might match the return type of a gcc2
59537    builtin and then its argument prototype would still apply.  */
59538 char $ac_func ();
59539 /* The GNU C library defines this for functions which it implements
59540     to always fail with ENOSYS.  Some functions are actually named
59541     something starting with __ and the normal name is an alias.  */
59542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59543 choke me
59544 #else
59545 char (*f) () = $ac_func;
59546 #endif
59547 #ifdef __cplusplus
59548 }
59549 #endif
59550
59551 int
59552 main ()
59553 {
59554 return f != $ac_func;
59555   ;
59556   return 0;
59557 }
59558 _ACEOF
59559 rm -f conftest.$ac_objext conftest$ac_exeext
59560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59561   (eval $ac_link) 2>conftest.er1
59562   ac_status=$?
59563   grep -v '^ *+' conftest.er1 >conftest.err
59564   rm -f conftest.er1
59565   cat conftest.err >&5
59566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59567   (exit $ac_status); } &&
59568          { ac_try='test -z "$ac_c_werror_flag"
59569                          || test ! -s conftest.err'
59570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59571   (eval $ac_try) 2>&5
59572   ac_status=$?
59573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59574   (exit $ac_status); }; } &&
59575          { ac_try='test -s conftest$ac_exeext'
59576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59577   (eval $ac_try) 2>&5
59578   ac_status=$?
59579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59580   (exit $ac_status); }; }; then
59581   eval "$as_ac_var=yes"
59582 else
59583   echo "$as_me: failed program was:" >&5
59584 sed 's/^/| /' conftest.$ac_ext >&5
59585
59586 eval "$as_ac_var=no"
59587 fi
59588 rm -f conftest.err conftest.$ac_objext \
59589       conftest$ac_exeext conftest.$ac_ext
59590 fi
59591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59593 if test `eval echo '${'$as_ac_var'}'` = yes; then
59594   cat >>confdefs.h <<_ACEOF
59595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59596 _ACEOF
59597
59598 fi
59599 done
59600
59601   else
59602
59603   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
59604 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
59605   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59606     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
59607   echo $ECHO_N "(cached) $ECHO_C" >&6
59608 else
59609
59610
59611
59612       ac_ext=cc
59613 ac_cpp='$CXXCPP $CPPFLAGS'
59614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59617
59618       cat >conftest.$ac_ext <<_ACEOF
59619 /* confdefs.h.  */
59620 _ACEOF
59621 cat confdefs.h >>conftest.$ac_ext
59622 cat >>conftest.$ac_ext <<_ACEOF
59623 /* end confdefs.h.  */
59624 #include <math.h>
59625 int
59626 main ()
59627 {
59628  _hypotf(0, 0);
59629   ;
59630   return 0;
59631 }
59632 _ACEOF
59633 rm -f conftest.$ac_objext
59634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59635   (eval $ac_compile) 2>conftest.er1
59636   ac_status=$?
59637   grep -v '^ *+' conftest.er1 >conftest.err
59638   rm -f conftest.er1
59639   cat conftest.err >&5
59640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59641   (exit $ac_status); } &&
59642          { ac_try='test -z "$ac_cxx_werror_flag"
59643                          || test ! -s conftest.err'
59644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59645   (eval $ac_try) 2>&5
59646   ac_status=$?
59647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59648   (exit $ac_status); }; } &&
59649          { ac_try='test -s conftest.$ac_objext'
59650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59651   (eval $ac_try) 2>&5
59652   ac_status=$?
59653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59654   (exit $ac_status); }; }; then
59655   glibcxx_cv_func__hypotf_use=yes
59656 else
59657   echo "$as_me: failed program was:" >&5
59658 sed 's/^/| /' conftest.$ac_ext >&5
59659
59660 glibcxx_cv_func__hypotf_use=no
59661 fi
59662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59663       ac_ext=c
59664 ac_cpp='$CPP $CPPFLAGS'
59665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59668
59669
59670 fi
59671
59672   fi
59673   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
59674 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
59675
59676     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59677
59678 for ac_func in _hypotf
59679 do
59680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59681 echo "$as_me:$LINENO: checking for $ac_func" >&5
59682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59683 if eval "test \"\${$as_ac_var+set}\" = set"; then
59684   echo $ECHO_N "(cached) $ECHO_C" >&6
59685 else
59686   if test x$gcc_no_link = xyes; then
59687   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59689    { (exit 1); exit 1; }; }
59690 fi
59691 cat >conftest.$ac_ext <<_ACEOF
59692 /* confdefs.h.  */
59693 _ACEOF
59694 cat confdefs.h >>conftest.$ac_ext
59695 cat >>conftest.$ac_ext <<_ACEOF
59696 /* end confdefs.h.  */
59697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59698    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59699 #define $ac_func innocuous_$ac_func
59700
59701 /* System header to define __stub macros and hopefully few prototypes,
59702     which can conflict with char $ac_func (); below.
59703     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59704     <limits.h> exists even on freestanding compilers.  */
59705
59706 #ifdef __STDC__
59707 # include <limits.h>
59708 #else
59709 # include <assert.h>
59710 #endif
59711
59712 #undef $ac_func
59713
59714 /* Override any gcc2 internal prototype to avoid an error.  */
59715 #ifdef __cplusplus
59716 extern "C"
59717 {
59718 #endif
59719 /* We use char because int might match the return type of a gcc2
59720    builtin and then its argument prototype would still apply.  */
59721 char $ac_func ();
59722 /* The GNU C library defines this for functions which it implements
59723     to always fail with ENOSYS.  Some functions are actually named
59724     something starting with __ and the normal name is an alias.  */
59725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59726 choke me
59727 #else
59728 char (*f) () = $ac_func;
59729 #endif
59730 #ifdef __cplusplus
59731 }
59732 #endif
59733
59734 int
59735 main ()
59736 {
59737 return f != $ac_func;
59738   ;
59739   return 0;
59740 }
59741 _ACEOF
59742 rm -f conftest.$ac_objext conftest$ac_exeext
59743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59744   (eval $ac_link) 2>conftest.er1
59745   ac_status=$?
59746   grep -v '^ *+' conftest.er1 >conftest.err
59747   rm -f conftest.er1
59748   cat conftest.err >&5
59749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59750   (exit $ac_status); } &&
59751          { ac_try='test -z "$ac_c_werror_flag"
59752                          || test ! -s conftest.err'
59753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59754   (eval $ac_try) 2>&5
59755   ac_status=$?
59756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59757   (exit $ac_status); }; } &&
59758          { ac_try='test -s conftest$ac_exeext'
59759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59760   (eval $ac_try) 2>&5
59761   ac_status=$?
59762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59763   (exit $ac_status); }; }; then
59764   eval "$as_ac_var=yes"
59765 else
59766   echo "$as_me: failed program was:" >&5
59767 sed 's/^/| /' conftest.$ac_ext >&5
59768
59769 eval "$as_ac_var=no"
59770 fi
59771 rm -f conftest.err conftest.$ac_objext \
59772       conftest$ac_exeext conftest.$ac_ext
59773 fi
59774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59776 if test `eval echo '${'$as_ac_var'}'` = yes; then
59777   cat >>confdefs.h <<_ACEOF
59778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59779 _ACEOF
59780
59781 fi
59782 done
59783
59784     fi
59785   fi
59786
59787
59788
59789
59790
59791
59792   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
59793 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
59794   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
59795     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
59796   echo $ECHO_N "(cached) $ECHO_C" >&6
59797 else
59798
59799
59800
59801       ac_ext=cc
59802 ac_cpp='$CXXCPP $CPPFLAGS'
59803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59806
59807       cat >conftest.$ac_ext <<_ACEOF
59808 /* confdefs.h.  */
59809 _ACEOF
59810 cat confdefs.h >>conftest.$ac_ext
59811 cat >>conftest.$ac_ext <<_ACEOF
59812 /* end confdefs.h.  */
59813 #include <math.h>
59814 int
59815 main ()
59816 {
59817  ldexpf(0, 0);
59818   ;
59819   return 0;
59820 }
59821 _ACEOF
59822 rm -f conftest.$ac_objext
59823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59824   (eval $ac_compile) 2>conftest.er1
59825   ac_status=$?
59826   grep -v '^ *+' conftest.er1 >conftest.err
59827   rm -f conftest.er1
59828   cat conftest.err >&5
59829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59830   (exit $ac_status); } &&
59831          { ac_try='test -z "$ac_cxx_werror_flag"
59832                          || test ! -s conftest.err'
59833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59834   (eval $ac_try) 2>&5
59835   ac_status=$?
59836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59837   (exit $ac_status); }; } &&
59838          { ac_try='test -s conftest.$ac_objext'
59839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59840   (eval $ac_try) 2>&5
59841   ac_status=$?
59842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59843   (exit $ac_status); }; }; then
59844   glibcxx_cv_func_ldexpf_use=yes
59845 else
59846   echo "$as_me: failed program was:" >&5
59847 sed 's/^/| /' conftest.$ac_ext >&5
59848
59849 glibcxx_cv_func_ldexpf_use=no
59850 fi
59851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59852       ac_ext=c
59853 ac_cpp='$CPP $CPPFLAGS'
59854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59857
59858
59859 fi
59860
59861   fi
59862   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
59863 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
59864
59865   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
59866
59867 for ac_func in ldexpf
59868 do
59869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59870 echo "$as_me:$LINENO: checking for $ac_func" >&5
59871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59872 if eval "test \"\${$as_ac_var+set}\" = set"; then
59873   echo $ECHO_N "(cached) $ECHO_C" >&6
59874 else
59875   if test x$gcc_no_link = xyes; then
59876   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59878    { (exit 1); exit 1; }; }
59879 fi
59880 cat >conftest.$ac_ext <<_ACEOF
59881 /* confdefs.h.  */
59882 _ACEOF
59883 cat confdefs.h >>conftest.$ac_ext
59884 cat >>conftest.$ac_ext <<_ACEOF
59885 /* end confdefs.h.  */
59886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59887    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59888 #define $ac_func innocuous_$ac_func
59889
59890 /* System header to define __stub macros and hopefully few prototypes,
59891     which can conflict with char $ac_func (); below.
59892     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59893     <limits.h> exists even on freestanding compilers.  */
59894
59895 #ifdef __STDC__
59896 # include <limits.h>
59897 #else
59898 # include <assert.h>
59899 #endif
59900
59901 #undef $ac_func
59902
59903 /* Override any gcc2 internal prototype to avoid an error.  */
59904 #ifdef __cplusplus
59905 extern "C"
59906 {
59907 #endif
59908 /* We use char because int might match the return type of a gcc2
59909    builtin and then its argument prototype would still apply.  */
59910 char $ac_func ();
59911 /* The GNU C library defines this for functions which it implements
59912     to always fail with ENOSYS.  Some functions are actually named
59913     something starting with __ and the normal name is an alias.  */
59914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59915 choke me
59916 #else
59917 char (*f) () = $ac_func;
59918 #endif
59919 #ifdef __cplusplus
59920 }
59921 #endif
59922
59923 int
59924 main ()
59925 {
59926 return f != $ac_func;
59927   ;
59928   return 0;
59929 }
59930 _ACEOF
59931 rm -f conftest.$ac_objext conftest$ac_exeext
59932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59933   (eval $ac_link) 2>conftest.er1
59934   ac_status=$?
59935   grep -v '^ *+' conftest.er1 >conftest.err
59936   rm -f conftest.er1
59937   cat conftest.err >&5
59938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59939   (exit $ac_status); } &&
59940          { ac_try='test -z "$ac_c_werror_flag"
59941                          || test ! -s conftest.err'
59942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59943   (eval $ac_try) 2>&5
59944   ac_status=$?
59945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59946   (exit $ac_status); }; } &&
59947          { ac_try='test -s conftest$ac_exeext'
59948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59949   (eval $ac_try) 2>&5
59950   ac_status=$?
59951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59952   (exit $ac_status); }; }; then
59953   eval "$as_ac_var=yes"
59954 else
59955   echo "$as_me: failed program was:" >&5
59956 sed 's/^/| /' conftest.$ac_ext >&5
59957
59958 eval "$as_ac_var=no"
59959 fi
59960 rm -f conftest.err conftest.$ac_objext \
59961       conftest$ac_exeext conftest.$ac_ext
59962 fi
59963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59965 if test `eval echo '${'$as_ac_var'}'` = yes; then
59966   cat >>confdefs.h <<_ACEOF
59967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59968 _ACEOF
59969
59970 fi
59971 done
59972
59973   else
59974
59975   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
59976 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
59977   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
59978     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
59979   echo $ECHO_N "(cached) $ECHO_C" >&6
59980 else
59981
59982
59983
59984       ac_ext=cc
59985 ac_cpp='$CXXCPP $CPPFLAGS'
59986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59989
59990       cat >conftest.$ac_ext <<_ACEOF
59991 /* confdefs.h.  */
59992 _ACEOF
59993 cat confdefs.h >>conftest.$ac_ext
59994 cat >>conftest.$ac_ext <<_ACEOF
59995 /* end confdefs.h.  */
59996 #include <math.h>
59997 int
59998 main ()
59999 {
60000  _ldexpf(0, 0);
60001   ;
60002   return 0;
60003 }
60004 _ACEOF
60005 rm -f conftest.$ac_objext
60006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60007   (eval $ac_compile) 2>conftest.er1
60008   ac_status=$?
60009   grep -v '^ *+' conftest.er1 >conftest.err
60010   rm -f conftest.er1
60011   cat conftest.err >&5
60012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60013   (exit $ac_status); } &&
60014          { ac_try='test -z "$ac_cxx_werror_flag"
60015                          || test ! -s conftest.err'
60016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60017   (eval $ac_try) 2>&5
60018   ac_status=$?
60019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60020   (exit $ac_status); }; } &&
60021          { ac_try='test -s conftest.$ac_objext'
60022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60023   (eval $ac_try) 2>&5
60024   ac_status=$?
60025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60026   (exit $ac_status); }; }; then
60027   glibcxx_cv_func__ldexpf_use=yes
60028 else
60029   echo "$as_me: failed program was:" >&5
60030 sed 's/^/| /' conftest.$ac_ext >&5
60031
60032 glibcxx_cv_func__ldexpf_use=no
60033 fi
60034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60035       ac_ext=c
60036 ac_cpp='$CPP $CPPFLAGS'
60037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60040
60041
60042 fi
60043
60044   fi
60045   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
60046 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
60047
60048     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60049
60050 for ac_func in _ldexpf
60051 do
60052 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60053 echo "$as_me:$LINENO: checking for $ac_func" >&5
60054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60055 if eval "test \"\${$as_ac_var+set}\" = set"; then
60056   echo $ECHO_N "(cached) $ECHO_C" >&6
60057 else
60058   if test x$gcc_no_link = xyes; then
60059   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60061    { (exit 1); exit 1; }; }
60062 fi
60063 cat >conftest.$ac_ext <<_ACEOF
60064 /* confdefs.h.  */
60065 _ACEOF
60066 cat confdefs.h >>conftest.$ac_ext
60067 cat >>conftest.$ac_ext <<_ACEOF
60068 /* end confdefs.h.  */
60069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60070    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60071 #define $ac_func innocuous_$ac_func
60072
60073 /* System header to define __stub macros and hopefully few prototypes,
60074     which can conflict with char $ac_func (); below.
60075     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60076     <limits.h> exists even on freestanding compilers.  */
60077
60078 #ifdef __STDC__
60079 # include <limits.h>
60080 #else
60081 # include <assert.h>
60082 #endif
60083
60084 #undef $ac_func
60085
60086 /* Override any gcc2 internal prototype to avoid an error.  */
60087 #ifdef __cplusplus
60088 extern "C"
60089 {
60090 #endif
60091 /* We use char because int might match the return type of a gcc2
60092    builtin and then its argument prototype would still apply.  */
60093 char $ac_func ();
60094 /* The GNU C library defines this for functions which it implements
60095     to always fail with ENOSYS.  Some functions are actually named
60096     something starting with __ and the normal name is an alias.  */
60097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60098 choke me
60099 #else
60100 char (*f) () = $ac_func;
60101 #endif
60102 #ifdef __cplusplus
60103 }
60104 #endif
60105
60106 int
60107 main ()
60108 {
60109 return f != $ac_func;
60110   ;
60111   return 0;
60112 }
60113 _ACEOF
60114 rm -f conftest.$ac_objext conftest$ac_exeext
60115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60116   (eval $ac_link) 2>conftest.er1
60117   ac_status=$?
60118   grep -v '^ *+' conftest.er1 >conftest.err
60119   rm -f conftest.er1
60120   cat conftest.err >&5
60121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60122   (exit $ac_status); } &&
60123          { ac_try='test -z "$ac_c_werror_flag"
60124                          || test ! -s conftest.err'
60125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60126   (eval $ac_try) 2>&5
60127   ac_status=$?
60128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60129   (exit $ac_status); }; } &&
60130          { ac_try='test -s conftest$ac_exeext'
60131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60132   (eval $ac_try) 2>&5
60133   ac_status=$?
60134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60135   (exit $ac_status); }; }; then
60136   eval "$as_ac_var=yes"
60137 else
60138   echo "$as_me: failed program was:" >&5
60139 sed 's/^/| /' conftest.$ac_ext >&5
60140
60141 eval "$as_ac_var=no"
60142 fi
60143 rm -f conftest.err conftest.$ac_objext \
60144       conftest$ac_exeext conftest.$ac_ext
60145 fi
60146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60148 if test `eval echo '${'$as_ac_var'}'` = yes; then
60149   cat >>confdefs.h <<_ACEOF
60150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60151 _ACEOF
60152
60153 fi
60154 done
60155
60156     fi
60157   fi
60158
60159
60160
60161
60162
60163
60164   echo "$as_me:$LINENO: checking for logf declaration" >&5
60165 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
60166   if test x${glibcxx_cv_func_logf_use+set} != xset; then
60167     if test "${glibcxx_cv_func_logf_use+set}" = set; then
60168   echo $ECHO_N "(cached) $ECHO_C" >&6
60169 else
60170
60171
60172
60173       ac_ext=cc
60174 ac_cpp='$CXXCPP $CPPFLAGS'
60175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60178
60179       cat >conftest.$ac_ext <<_ACEOF
60180 /* confdefs.h.  */
60181 _ACEOF
60182 cat confdefs.h >>conftest.$ac_ext
60183 cat >>conftest.$ac_ext <<_ACEOF
60184 /* end confdefs.h.  */
60185 #include <math.h>
60186                       #ifdef HAVE_IEEEFP_H
60187                       #include <ieeefp.h>
60188                       #endif
60189
60190 int
60191 main ()
60192 {
60193  logf(0);
60194   ;
60195   return 0;
60196 }
60197 _ACEOF
60198 rm -f conftest.$ac_objext
60199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60200   (eval $ac_compile) 2>conftest.er1
60201   ac_status=$?
60202   grep -v '^ *+' conftest.er1 >conftest.err
60203   rm -f conftest.er1
60204   cat conftest.err >&5
60205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60206   (exit $ac_status); } &&
60207          { ac_try='test -z "$ac_cxx_werror_flag"
60208                          || test ! -s conftest.err'
60209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60210   (eval $ac_try) 2>&5
60211   ac_status=$?
60212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60213   (exit $ac_status); }; } &&
60214          { ac_try='test -s conftest.$ac_objext'
60215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60216   (eval $ac_try) 2>&5
60217   ac_status=$?
60218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60219   (exit $ac_status); }; }; then
60220   glibcxx_cv_func_logf_use=yes
60221 else
60222   echo "$as_me: failed program was:" >&5
60223 sed 's/^/| /' conftest.$ac_ext >&5
60224
60225 glibcxx_cv_func_logf_use=no
60226 fi
60227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60228       ac_ext=c
60229 ac_cpp='$CPP $CPPFLAGS'
60230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60233
60234
60235 fi
60236
60237   fi
60238   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
60239 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
60240
60241   if test x$glibcxx_cv_func_logf_use = x"yes"; then
60242
60243 for ac_func in logf
60244 do
60245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60246 echo "$as_me:$LINENO: checking for $ac_func" >&5
60247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60248 if eval "test \"\${$as_ac_var+set}\" = set"; then
60249   echo $ECHO_N "(cached) $ECHO_C" >&6
60250 else
60251   if test x$gcc_no_link = xyes; then
60252   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60254    { (exit 1); exit 1; }; }
60255 fi
60256 cat >conftest.$ac_ext <<_ACEOF
60257 /* confdefs.h.  */
60258 _ACEOF
60259 cat confdefs.h >>conftest.$ac_ext
60260 cat >>conftest.$ac_ext <<_ACEOF
60261 /* end confdefs.h.  */
60262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60263    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60264 #define $ac_func innocuous_$ac_func
60265
60266 /* System header to define __stub macros and hopefully few prototypes,
60267     which can conflict with char $ac_func (); below.
60268     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60269     <limits.h> exists even on freestanding compilers.  */
60270
60271 #ifdef __STDC__
60272 # include <limits.h>
60273 #else
60274 # include <assert.h>
60275 #endif
60276
60277 #undef $ac_func
60278
60279 /* Override any gcc2 internal prototype to avoid an error.  */
60280 #ifdef __cplusplus
60281 extern "C"
60282 {
60283 #endif
60284 /* We use char because int might match the return type of a gcc2
60285    builtin and then its argument prototype would still apply.  */
60286 char $ac_func ();
60287 /* The GNU C library defines this for functions which it implements
60288     to always fail with ENOSYS.  Some functions are actually named
60289     something starting with __ and the normal name is an alias.  */
60290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60291 choke me
60292 #else
60293 char (*f) () = $ac_func;
60294 #endif
60295 #ifdef __cplusplus
60296 }
60297 #endif
60298
60299 int
60300 main ()
60301 {
60302 return f != $ac_func;
60303   ;
60304   return 0;
60305 }
60306 _ACEOF
60307 rm -f conftest.$ac_objext conftest$ac_exeext
60308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60309   (eval $ac_link) 2>conftest.er1
60310   ac_status=$?
60311   grep -v '^ *+' conftest.er1 >conftest.err
60312   rm -f conftest.er1
60313   cat conftest.err >&5
60314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60315   (exit $ac_status); } &&
60316          { ac_try='test -z "$ac_c_werror_flag"
60317                          || test ! -s conftest.err'
60318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60319   (eval $ac_try) 2>&5
60320   ac_status=$?
60321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60322   (exit $ac_status); }; } &&
60323          { ac_try='test -s conftest$ac_exeext'
60324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60325   (eval $ac_try) 2>&5
60326   ac_status=$?
60327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60328   (exit $ac_status); }; }; then
60329   eval "$as_ac_var=yes"
60330 else
60331   echo "$as_me: failed program was:" >&5
60332 sed 's/^/| /' conftest.$ac_ext >&5
60333
60334 eval "$as_ac_var=no"
60335 fi
60336 rm -f conftest.err conftest.$ac_objext \
60337       conftest$ac_exeext conftest.$ac_ext
60338 fi
60339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60340 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60341 if test `eval echo '${'$as_ac_var'}'` = yes; then
60342   cat >>confdefs.h <<_ACEOF
60343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60344 _ACEOF
60345
60346 fi
60347 done
60348
60349   else
60350
60351   echo "$as_me:$LINENO: checking for _logf declaration" >&5
60352 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
60353   if test x${glibcxx_cv_func__logf_use+set} != xset; then
60354     if test "${glibcxx_cv_func__logf_use+set}" = set; then
60355   echo $ECHO_N "(cached) $ECHO_C" >&6
60356 else
60357
60358
60359
60360       ac_ext=cc
60361 ac_cpp='$CXXCPP $CPPFLAGS'
60362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60365
60366       cat >conftest.$ac_ext <<_ACEOF
60367 /* confdefs.h.  */
60368 _ACEOF
60369 cat confdefs.h >>conftest.$ac_ext
60370 cat >>conftest.$ac_ext <<_ACEOF
60371 /* end confdefs.h.  */
60372 #include <math.h>
60373                       #ifdef HAVE_IEEEFP_H
60374                       #include <ieeefp.h>
60375                       #endif
60376
60377 int
60378 main ()
60379 {
60380  _logf(0);
60381   ;
60382   return 0;
60383 }
60384 _ACEOF
60385 rm -f conftest.$ac_objext
60386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60387   (eval $ac_compile) 2>conftest.er1
60388   ac_status=$?
60389   grep -v '^ *+' conftest.er1 >conftest.err
60390   rm -f conftest.er1
60391   cat conftest.err >&5
60392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60393   (exit $ac_status); } &&
60394          { ac_try='test -z "$ac_cxx_werror_flag"
60395                          || test ! -s conftest.err'
60396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60397   (eval $ac_try) 2>&5
60398   ac_status=$?
60399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60400   (exit $ac_status); }; } &&
60401          { ac_try='test -s conftest.$ac_objext'
60402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60403   (eval $ac_try) 2>&5
60404   ac_status=$?
60405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60406   (exit $ac_status); }; }; then
60407   glibcxx_cv_func__logf_use=yes
60408 else
60409   echo "$as_me: failed program was:" >&5
60410 sed 's/^/| /' conftest.$ac_ext >&5
60411
60412 glibcxx_cv_func__logf_use=no
60413 fi
60414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60415       ac_ext=c
60416 ac_cpp='$CPP $CPPFLAGS'
60417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60420
60421
60422 fi
60423
60424   fi
60425   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
60426 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
60427
60428     if test x$glibcxx_cv_func__logf_use = x"yes"; then
60429
60430 for ac_func in _logf
60431 do
60432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60433 echo "$as_me:$LINENO: checking for $ac_func" >&5
60434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60435 if eval "test \"\${$as_ac_var+set}\" = set"; then
60436   echo $ECHO_N "(cached) $ECHO_C" >&6
60437 else
60438   if test x$gcc_no_link = xyes; then
60439   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60441    { (exit 1); exit 1; }; }
60442 fi
60443 cat >conftest.$ac_ext <<_ACEOF
60444 /* confdefs.h.  */
60445 _ACEOF
60446 cat confdefs.h >>conftest.$ac_ext
60447 cat >>conftest.$ac_ext <<_ACEOF
60448 /* end confdefs.h.  */
60449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60450    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60451 #define $ac_func innocuous_$ac_func
60452
60453 /* System header to define __stub macros and hopefully few prototypes,
60454     which can conflict with char $ac_func (); below.
60455     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60456     <limits.h> exists even on freestanding compilers.  */
60457
60458 #ifdef __STDC__
60459 # include <limits.h>
60460 #else
60461 # include <assert.h>
60462 #endif
60463
60464 #undef $ac_func
60465
60466 /* Override any gcc2 internal prototype to avoid an error.  */
60467 #ifdef __cplusplus
60468 extern "C"
60469 {
60470 #endif
60471 /* We use char because int might match the return type of a gcc2
60472    builtin and then its argument prototype would still apply.  */
60473 char $ac_func ();
60474 /* The GNU C library defines this for functions which it implements
60475     to always fail with ENOSYS.  Some functions are actually named
60476     something starting with __ and the normal name is an alias.  */
60477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60478 choke me
60479 #else
60480 char (*f) () = $ac_func;
60481 #endif
60482 #ifdef __cplusplus
60483 }
60484 #endif
60485
60486 int
60487 main ()
60488 {
60489 return f != $ac_func;
60490   ;
60491   return 0;
60492 }
60493 _ACEOF
60494 rm -f conftest.$ac_objext conftest$ac_exeext
60495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60496   (eval $ac_link) 2>conftest.er1
60497   ac_status=$?
60498   grep -v '^ *+' conftest.er1 >conftest.err
60499   rm -f conftest.er1
60500   cat conftest.err >&5
60501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60502   (exit $ac_status); } &&
60503          { ac_try='test -z "$ac_c_werror_flag"
60504                          || test ! -s conftest.err'
60505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60506   (eval $ac_try) 2>&5
60507   ac_status=$?
60508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60509   (exit $ac_status); }; } &&
60510          { ac_try='test -s conftest$ac_exeext'
60511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60512   (eval $ac_try) 2>&5
60513   ac_status=$?
60514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60515   (exit $ac_status); }; }; then
60516   eval "$as_ac_var=yes"
60517 else
60518   echo "$as_me: failed program was:" >&5
60519 sed 's/^/| /' conftest.$ac_ext >&5
60520
60521 eval "$as_ac_var=no"
60522 fi
60523 rm -f conftest.err conftest.$ac_objext \
60524       conftest$ac_exeext conftest.$ac_ext
60525 fi
60526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60528 if test `eval echo '${'$as_ac_var'}'` = yes; then
60529   cat >>confdefs.h <<_ACEOF
60530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60531 _ACEOF
60532
60533 fi
60534 done
60535
60536     fi
60537   fi
60538
60539
60540
60541
60542
60543
60544   echo "$as_me:$LINENO: checking for log10f declaration" >&5
60545 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
60546   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60547     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
60548   echo $ECHO_N "(cached) $ECHO_C" >&6
60549 else
60550
60551
60552
60553       ac_ext=cc
60554 ac_cpp='$CXXCPP $CPPFLAGS'
60555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60558
60559       cat >conftest.$ac_ext <<_ACEOF
60560 /* confdefs.h.  */
60561 _ACEOF
60562 cat confdefs.h >>conftest.$ac_ext
60563 cat >>conftest.$ac_ext <<_ACEOF
60564 /* end confdefs.h.  */
60565 #include <math.h>
60566                       #ifdef HAVE_IEEEFP_H
60567                       #include <ieeefp.h>
60568                       #endif
60569
60570 int
60571 main ()
60572 {
60573  log10f(0);
60574   ;
60575   return 0;
60576 }
60577 _ACEOF
60578 rm -f conftest.$ac_objext
60579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60580   (eval $ac_compile) 2>conftest.er1
60581   ac_status=$?
60582   grep -v '^ *+' conftest.er1 >conftest.err
60583   rm -f conftest.er1
60584   cat conftest.err >&5
60585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60586   (exit $ac_status); } &&
60587          { ac_try='test -z "$ac_cxx_werror_flag"
60588                          || test ! -s conftest.err'
60589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60590   (eval $ac_try) 2>&5
60591   ac_status=$?
60592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60593   (exit $ac_status); }; } &&
60594          { ac_try='test -s conftest.$ac_objext'
60595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60596   (eval $ac_try) 2>&5
60597   ac_status=$?
60598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60599   (exit $ac_status); }; }; then
60600   glibcxx_cv_func_log10f_use=yes
60601 else
60602   echo "$as_me: failed program was:" >&5
60603 sed 's/^/| /' conftest.$ac_ext >&5
60604
60605 glibcxx_cv_func_log10f_use=no
60606 fi
60607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60608       ac_ext=c
60609 ac_cpp='$CPP $CPPFLAGS'
60610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60613
60614
60615 fi
60616
60617   fi
60618   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
60619 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
60620
60621   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60622
60623 for ac_func in log10f
60624 do
60625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60626 echo "$as_me:$LINENO: checking for $ac_func" >&5
60627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60628 if eval "test \"\${$as_ac_var+set}\" = set"; then
60629   echo $ECHO_N "(cached) $ECHO_C" >&6
60630 else
60631   if test x$gcc_no_link = xyes; then
60632   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60634    { (exit 1); exit 1; }; }
60635 fi
60636 cat >conftest.$ac_ext <<_ACEOF
60637 /* confdefs.h.  */
60638 _ACEOF
60639 cat confdefs.h >>conftest.$ac_ext
60640 cat >>conftest.$ac_ext <<_ACEOF
60641 /* end confdefs.h.  */
60642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60643    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60644 #define $ac_func innocuous_$ac_func
60645
60646 /* System header to define __stub macros and hopefully few prototypes,
60647     which can conflict with char $ac_func (); below.
60648     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60649     <limits.h> exists even on freestanding compilers.  */
60650
60651 #ifdef __STDC__
60652 # include <limits.h>
60653 #else
60654 # include <assert.h>
60655 #endif
60656
60657 #undef $ac_func
60658
60659 /* Override any gcc2 internal prototype to avoid an error.  */
60660 #ifdef __cplusplus
60661 extern "C"
60662 {
60663 #endif
60664 /* We use char because int might match the return type of a gcc2
60665    builtin and then its argument prototype would still apply.  */
60666 char $ac_func ();
60667 /* The GNU C library defines this for functions which it implements
60668     to always fail with ENOSYS.  Some functions are actually named
60669     something starting with __ and the normal name is an alias.  */
60670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60671 choke me
60672 #else
60673 char (*f) () = $ac_func;
60674 #endif
60675 #ifdef __cplusplus
60676 }
60677 #endif
60678
60679 int
60680 main ()
60681 {
60682 return f != $ac_func;
60683   ;
60684   return 0;
60685 }
60686 _ACEOF
60687 rm -f conftest.$ac_objext conftest$ac_exeext
60688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60689   (eval $ac_link) 2>conftest.er1
60690   ac_status=$?
60691   grep -v '^ *+' conftest.er1 >conftest.err
60692   rm -f conftest.er1
60693   cat conftest.err >&5
60694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60695   (exit $ac_status); } &&
60696          { ac_try='test -z "$ac_c_werror_flag"
60697                          || test ! -s conftest.err'
60698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60699   (eval $ac_try) 2>&5
60700   ac_status=$?
60701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60702   (exit $ac_status); }; } &&
60703          { ac_try='test -s conftest$ac_exeext'
60704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60705   (eval $ac_try) 2>&5
60706   ac_status=$?
60707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60708   (exit $ac_status); }; }; then
60709   eval "$as_ac_var=yes"
60710 else
60711   echo "$as_me: failed program was:" >&5
60712 sed 's/^/| /' conftest.$ac_ext >&5
60713
60714 eval "$as_ac_var=no"
60715 fi
60716 rm -f conftest.err conftest.$ac_objext \
60717       conftest$ac_exeext conftest.$ac_ext
60718 fi
60719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60721 if test `eval echo '${'$as_ac_var'}'` = yes; then
60722   cat >>confdefs.h <<_ACEOF
60723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60724 _ACEOF
60725
60726 fi
60727 done
60728
60729   else
60730
60731   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
60732 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
60733   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60734     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
60735   echo $ECHO_N "(cached) $ECHO_C" >&6
60736 else
60737
60738
60739
60740       ac_ext=cc
60741 ac_cpp='$CXXCPP $CPPFLAGS'
60742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60745
60746       cat >conftest.$ac_ext <<_ACEOF
60747 /* confdefs.h.  */
60748 _ACEOF
60749 cat confdefs.h >>conftest.$ac_ext
60750 cat >>conftest.$ac_ext <<_ACEOF
60751 /* end confdefs.h.  */
60752 #include <math.h>
60753                       #ifdef HAVE_IEEEFP_H
60754                       #include <ieeefp.h>
60755                       #endif
60756
60757 int
60758 main ()
60759 {
60760  _log10f(0);
60761   ;
60762   return 0;
60763 }
60764 _ACEOF
60765 rm -f conftest.$ac_objext
60766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60767   (eval $ac_compile) 2>conftest.er1
60768   ac_status=$?
60769   grep -v '^ *+' conftest.er1 >conftest.err
60770   rm -f conftest.er1
60771   cat conftest.err >&5
60772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60773   (exit $ac_status); } &&
60774          { ac_try='test -z "$ac_cxx_werror_flag"
60775                          || test ! -s conftest.err'
60776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60777   (eval $ac_try) 2>&5
60778   ac_status=$?
60779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60780   (exit $ac_status); }; } &&
60781          { ac_try='test -s conftest.$ac_objext'
60782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60783   (eval $ac_try) 2>&5
60784   ac_status=$?
60785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60786   (exit $ac_status); }; }; then
60787   glibcxx_cv_func__log10f_use=yes
60788 else
60789   echo "$as_me: failed program was:" >&5
60790 sed 's/^/| /' conftest.$ac_ext >&5
60791
60792 glibcxx_cv_func__log10f_use=no
60793 fi
60794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60795       ac_ext=c
60796 ac_cpp='$CPP $CPPFLAGS'
60797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60800
60801
60802 fi
60803
60804   fi
60805   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
60806 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
60807
60808     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60809
60810 for ac_func in _log10f
60811 do
60812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60813 echo "$as_me:$LINENO: checking for $ac_func" >&5
60814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60815 if eval "test \"\${$as_ac_var+set}\" = set"; then
60816   echo $ECHO_N "(cached) $ECHO_C" >&6
60817 else
60818   if test x$gcc_no_link = xyes; then
60819   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60821    { (exit 1); exit 1; }; }
60822 fi
60823 cat >conftest.$ac_ext <<_ACEOF
60824 /* confdefs.h.  */
60825 _ACEOF
60826 cat confdefs.h >>conftest.$ac_ext
60827 cat >>conftest.$ac_ext <<_ACEOF
60828 /* end confdefs.h.  */
60829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60830    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60831 #define $ac_func innocuous_$ac_func
60832
60833 /* System header to define __stub macros and hopefully few prototypes,
60834     which can conflict with char $ac_func (); below.
60835     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60836     <limits.h> exists even on freestanding compilers.  */
60837
60838 #ifdef __STDC__
60839 # include <limits.h>
60840 #else
60841 # include <assert.h>
60842 #endif
60843
60844 #undef $ac_func
60845
60846 /* Override any gcc2 internal prototype to avoid an error.  */
60847 #ifdef __cplusplus
60848 extern "C"
60849 {
60850 #endif
60851 /* We use char because int might match the return type of a gcc2
60852    builtin and then its argument prototype would still apply.  */
60853 char $ac_func ();
60854 /* The GNU C library defines this for functions which it implements
60855     to always fail with ENOSYS.  Some functions are actually named
60856     something starting with __ and the normal name is an alias.  */
60857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60858 choke me
60859 #else
60860 char (*f) () = $ac_func;
60861 #endif
60862 #ifdef __cplusplus
60863 }
60864 #endif
60865
60866 int
60867 main ()
60868 {
60869 return f != $ac_func;
60870   ;
60871   return 0;
60872 }
60873 _ACEOF
60874 rm -f conftest.$ac_objext conftest$ac_exeext
60875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60876   (eval $ac_link) 2>conftest.er1
60877   ac_status=$?
60878   grep -v '^ *+' conftest.er1 >conftest.err
60879   rm -f conftest.er1
60880   cat conftest.err >&5
60881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60882   (exit $ac_status); } &&
60883          { ac_try='test -z "$ac_c_werror_flag"
60884                          || test ! -s conftest.err'
60885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60886   (eval $ac_try) 2>&5
60887   ac_status=$?
60888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60889   (exit $ac_status); }; } &&
60890          { ac_try='test -s conftest$ac_exeext'
60891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60892   (eval $ac_try) 2>&5
60893   ac_status=$?
60894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60895   (exit $ac_status); }; }; then
60896   eval "$as_ac_var=yes"
60897 else
60898   echo "$as_me: failed program was:" >&5
60899 sed 's/^/| /' conftest.$ac_ext >&5
60900
60901 eval "$as_ac_var=no"
60902 fi
60903 rm -f conftest.err conftest.$ac_objext \
60904       conftest$ac_exeext conftest.$ac_ext
60905 fi
60906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60908 if test `eval echo '${'$as_ac_var'}'` = yes; then
60909   cat >>confdefs.h <<_ACEOF
60910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60911 _ACEOF
60912
60913 fi
60914 done
60915
60916     fi
60917   fi
60918
60919
60920
60921
60922
60923
60924   echo "$as_me:$LINENO: checking for modff declaration" >&5
60925 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
60926   if test x${glibcxx_cv_func_modff_use+set} != xset; then
60927     if test "${glibcxx_cv_func_modff_use+set}" = set; then
60928   echo $ECHO_N "(cached) $ECHO_C" >&6
60929 else
60930
60931
60932
60933       ac_ext=cc
60934 ac_cpp='$CXXCPP $CPPFLAGS'
60935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60938
60939       cat >conftest.$ac_ext <<_ACEOF
60940 /* confdefs.h.  */
60941 _ACEOF
60942 cat confdefs.h >>conftest.$ac_ext
60943 cat >>conftest.$ac_ext <<_ACEOF
60944 /* end confdefs.h.  */
60945 #include <math.h>
60946 int
60947 main ()
60948 {
60949  modff(0, 0);
60950   ;
60951   return 0;
60952 }
60953 _ACEOF
60954 rm -f conftest.$ac_objext
60955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60956   (eval $ac_compile) 2>conftest.er1
60957   ac_status=$?
60958   grep -v '^ *+' conftest.er1 >conftest.err
60959   rm -f conftest.er1
60960   cat conftest.err >&5
60961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60962   (exit $ac_status); } &&
60963          { ac_try='test -z "$ac_cxx_werror_flag"
60964                          || test ! -s conftest.err'
60965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60966   (eval $ac_try) 2>&5
60967   ac_status=$?
60968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60969   (exit $ac_status); }; } &&
60970          { ac_try='test -s conftest.$ac_objext'
60971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60972   (eval $ac_try) 2>&5
60973   ac_status=$?
60974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60975   (exit $ac_status); }; }; then
60976   glibcxx_cv_func_modff_use=yes
60977 else
60978   echo "$as_me: failed program was:" >&5
60979 sed 's/^/| /' conftest.$ac_ext >&5
60980
60981 glibcxx_cv_func_modff_use=no
60982 fi
60983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60984       ac_ext=c
60985 ac_cpp='$CPP $CPPFLAGS'
60986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60989
60990
60991 fi
60992
60993   fi
60994   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
60995 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
60996
60997   if test x$glibcxx_cv_func_modff_use = x"yes"; then
60998
60999 for ac_func in modff
61000 do
61001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61002 echo "$as_me:$LINENO: checking for $ac_func" >&5
61003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61004 if eval "test \"\${$as_ac_var+set}\" = set"; then
61005   echo $ECHO_N "(cached) $ECHO_C" >&6
61006 else
61007   if test x$gcc_no_link = xyes; then
61008   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61010    { (exit 1); exit 1; }; }
61011 fi
61012 cat >conftest.$ac_ext <<_ACEOF
61013 /* confdefs.h.  */
61014 _ACEOF
61015 cat confdefs.h >>conftest.$ac_ext
61016 cat >>conftest.$ac_ext <<_ACEOF
61017 /* end confdefs.h.  */
61018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61019    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61020 #define $ac_func innocuous_$ac_func
61021
61022 /* System header to define __stub macros and hopefully few prototypes,
61023     which can conflict with char $ac_func (); below.
61024     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61025     <limits.h> exists even on freestanding compilers.  */
61026
61027 #ifdef __STDC__
61028 # include <limits.h>
61029 #else
61030 # include <assert.h>
61031 #endif
61032
61033 #undef $ac_func
61034
61035 /* Override any gcc2 internal prototype to avoid an error.  */
61036 #ifdef __cplusplus
61037 extern "C"
61038 {
61039 #endif
61040 /* We use char because int might match the return type of a gcc2
61041    builtin and then its argument prototype would still apply.  */
61042 char $ac_func ();
61043 /* The GNU C library defines this for functions which it implements
61044     to always fail with ENOSYS.  Some functions are actually named
61045     something starting with __ and the normal name is an alias.  */
61046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61047 choke me
61048 #else
61049 char (*f) () = $ac_func;
61050 #endif
61051 #ifdef __cplusplus
61052 }
61053 #endif
61054
61055 int
61056 main ()
61057 {
61058 return f != $ac_func;
61059   ;
61060   return 0;
61061 }
61062 _ACEOF
61063 rm -f conftest.$ac_objext conftest$ac_exeext
61064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61065   (eval $ac_link) 2>conftest.er1
61066   ac_status=$?
61067   grep -v '^ *+' conftest.er1 >conftest.err
61068   rm -f conftest.er1
61069   cat conftest.err >&5
61070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61071   (exit $ac_status); } &&
61072          { ac_try='test -z "$ac_c_werror_flag"
61073                          || test ! -s conftest.err'
61074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61075   (eval $ac_try) 2>&5
61076   ac_status=$?
61077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61078   (exit $ac_status); }; } &&
61079          { ac_try='test -s conftest$ac_exeext'
61080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61081   (eval $ac_try) 2>&5
61082   ac_status=$?
61083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61084   (exit $ac_status); }; }; then
61085   eval "$as_ac_var=yes"
61086 else
61087   echo "$as_me: failed program was:" >&5
61088 sed 's/^/| /' conftest.$ac_ext >&5
61089
61090 eval "$as_ac_var=no"
61091 fi
61092 rm -f conftest.err conftest.$ac_objext \
61093       conftest$ac_exeext conftest.$ac_ext
61094 fi
61095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61097 if test `eval echo '${'$as_ac_var'}'` = yes; then
61098   cat >>confdefs.h <<_ACEOF
61099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61100 _ACEOF
61101
61102 fi
61103 done
61104
61105   else
61106
61107   echo "$as_me:$LINENO: checking for _modff declaration" >&5
61108 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
61109   if test x${glibcxx_cv_func__modff_use+set} != xset; then
61110     if test "${glibcxx_cv_func__modff_use+set}" = set; then
61111   echo $ECHO_N "(cached) $ECHO_C" >&6
61112 else
61113
61114
61115
61116       ac_ext=cc
61117 ac_cpp='$CXXCPP $CPPFLAGS'
61118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61121
61122       cat >conftest.$ac_ext <<_ACEOF
61123 /* confdefs.h.  */
61124 _ACEOF
61125 cat confdefs.h >>conftest.$ac_ext
61126 cat >>conftest.$ac_ext <<_ACEOF
61127 /* end confdefs.h.  */
61128 #include <math.h>
61129 int
61130 main ()
61131 {
61132  _modff(0, 0);
61133   ;
61134   return 0;
61135 }
61136 _ACEOF
61137 rm -f conftest.$ac_objext
61138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61139   (eval $ac_compile) 2>conftest.er1
61140   ac_status=$?
61141   grep -v '^ *+' conftest.er1 >conftest.err
61142   rm -f conftest.er1
61143   cat conftest.err >&5
61144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61145   (exit $ac_status); } &&
61146          { ac_try='test -z "$ac_cxx_werror_flag"
61147                          || test ! -s conftest.err'
61148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61149   (eval $ac_try) 2>&5
61150   ac_status=$?
61151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61152   (exit $ac_status); }; } &&
61153          { ac_try='test -s conftest.$ac_objext'
61154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61155   (eval $ac_try) 2>&5
61156   ac_status=$?
61157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61158   (exit $ac_status); }; }; then
61159   glibcxx_cv_func__modff_use=yes
61160 else
61161   echo "$as_me: failed program was:" >&5
61162 sed 's/^/| /' conftest.$ac_ext >&5
61163
61164 glibcxx_cv_func__modff_use=no
61165 fi
61166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61167       ac_ext=c
61168 ac_cpp='$CPP $CPPFLAGS'
61169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61172
61173
61174 fi
61175
61176   fi
61177   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
61178 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
61179
61180     if test x$glibcxx_cv_func__modff_use = x"yes"; then
61181
61182 for ac_func in _modff
61183 do
61184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61185 echo "$as_me:$LINENO: checking for $ac_func" >&5
61186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61187 if eval "test \"\${$as_ac_var+set}\" = set"; then
61188   echo $ECHO_N "(cached) $ECHO_C" >&6
61189 else
61190   if test x$gcc_no_link = xyes; then
61191   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61193    { (exit 1); exit 1; }; }
61194 fi
61195 cat >conftest.$ac_ext <<_ACEOF
61196 /* confdefs.h.  */
61197 _ACEOF
61198 cat confdefs.h >>conftest.$ac_ext
61199 cat >>conftest.$ac_ext <<_ACEOF
61200 /* end confdefs.h.  */
61201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61202    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61203 #define $ac_func innocuous_$ac_func
61204
61205 /* System header to define __stub macros and hopefully few prototypes,
61206     which can conflict with char $ac_func (); below.
61207     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61208     <limits.h> exists even on freestanding compilers.  */
61209
61210 #ifdef __STDC__
61211 # include <limits.h>
61212 #else
61213 # include <assert.h>
61214 #endif
61215
61216 #undef $ac_func
61217
61218 /* Override any gcc2 internal prototype to avoid an error.  */
61219 #ifdef __cplusplus
61220 extern "C"
61221 {
61222 #endif
61223 /* We use char because int might match the return type of a gcc2
61224    builtin and then its argument prototype would still apply.  */
61225 char $ac_func ();
61226 /* The GNU C library defines this for functions which it implements
61227     to always fail with ENOSYS.  Some functions are actually named
61228     something starting with __ and the normal name is an alias.  */
61229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61230 choke me
61231 #else
61232 char (*f) () = $ac_func;
61233 #endif
61234 #ifdef __cplusplus
61235 }
61236 #endif
61237
61238 int
61239 main ()
61240 {
61241 return f != $ac_func;
61242   ;
61243   return 0;
61244 }
61245 _ACEOF
61246 rm -f conftest.$ac_objext conftest$ac_exeext
61247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61248   (eval $ac_link) 2>conftest.er1
61249   ac_status=$?
61250   grep -v '^ *+' conftest.er1 >conftest.err
61251   rm -f conftest.er1
61252   cat conftest.err >&5
61253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61254   (exit $ac_status); } &&
61255          { ac_try='test -z "$ac_c_werror_flag"
61256                          || test ! -s conftest.err'
61257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61258   (eval $ac_try) 2>&5
61259   ac_status=$?
61260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61261   (exit $ac_status); }; } &&
61262          { ac_try='test -s conftest$ac_exeext'
61263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61264   (eval $ac_try) 2>&5
61265   ac_status=$?
61266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61267   (exit $ac_status); }; }; then
61268   eval "$as_ac_var=yes"
61269 else
61270   echo "$as_me: failed program was:" >&5
61271 sed 's/^/| /' conftest.$ac_ext >&5
61272
61273 eval "$as_ac_var=no"
61274 fi
61275 rm -f conftest.err conftest.$ac_objext \
61276       conftest$ac_exeext conftest.$ac_ext
61277 fi
61278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61280 if test `eval echo '${'$as_ac_var'}'` = yes; then
61281   cat >>confdefs.h <<_ACEOF
61282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61283 _ACEOF
61284
61285 fi
61286 done
61287
61288     fi
61289   fi
61290
61291
61292
61293
61294
61295
61296   echo "$as_me:$LINENO: checking for modf declaration" >&5
61297 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
61298   if test x${glibcxx_cv_func_modf_use+set} != xset; then
61299     if test "${glibcxx_cv_func_modf_use+set}" = set; then
61300   echo $ECHO_N "(cached) $ECHO_C" >&6
61301 else
61302
61303
61304
61305       ac_ext=cc
61306 ac_cpp='$CXXCPP $CPPFLAGS'
61307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61310
61311       cat >conftest.$ac_ext <<_ACEOF
61312 /* confdefs.h.  */
61313 _ACEOF
61314 cat confdefs.h >>conftest.$ac_ext
61315 cat >>conftest.$ac_ext <<_ACEOF
61316 /* end confdefs.h.  */
61317 #include <math.h>
61318 int
61319 main ()
61320 {
61321  modf(0, 0);
61322   ;
61323   return 0;
61324 }
61325 _ACEOF
61326 rm -f conftest.$ac_objext
61327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61328   (eval $ac_compile) 2>conftest.er1
61329   ac_status=$?
61330   grep -v '^ *+' conftest.er1 >conftest.err
61331   rm -f conftest.er1
61332   cat conftest.err >&5
61333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61334   (exit $ac_status); } &&
61335          { ac_try='test -z "$ac_cxx_werror_flag"
61336                          || test ! -s conftest.err'
61337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61338   (eval $ac_try) 2>&5
61339   ac_status=$?
61340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61341   (exit $ac_status); }; } &&
61342          { ac_try='test -s conftest.$ac_objext'
61343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61344   (eval $ac_try) 2>&5
61345   ac_status=$?
61346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61347   (exit $ac_status); }; }; then
61348   glibcxx_cv_func_modf_use=yes
61349 else
61350   echo "$as_me: failed program was:" >&5
61351 sed 's/^/| /' conftest.$ac_ext >&5
61352
61353 glibcxx_cv_func_modf_use=no
61354 fi
61355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61356       ac_ext=c
61357 ac_cpp='$CPP $CPPFLAGS'
61358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61361
61362
61363 fi
61364
61365   fi
61366   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
61367 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
61368
61369   if test x$glibcxx_cv_func_modf_use = x"yes"; then
61370
61371 for ac_func in modf
61372 do
61373 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61374 echo "$as_me:$LINENO: checking for $ac_func" >&5
61375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61376 if eval "test \"\${$as_ac_var+set}\" = set"; then
61377   echo $ECHO_N "(cached) $ECHO_C" >&6
61378 else
61379   if test x$gcc_no_link = xyes; then
61380   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61382    { (exit 1); exit 1; }; }
61383 fi
61384 cat >conftest.$ac_ext <<_ACEOF
61385 /* confdefs.h.  */
61386 _ACEOF
61387 cat confdefs.h >>conftest.$ac_ext
61388 cat >>conftest.$ac_ext <<_ACEOF
61389 /* end confdefs.h.  */
61390 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61391    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61392 #define $ac_func innocuous_$ac_func
61393
61394 /* System header to define __stub macros and hopefully few prototypes,
61395     which can conflict with char $ac_func (); below.
61396     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61397     <limits.h> exists even on freestanding compilers.  */
61398
61399 #ifdef __STDC__
61400 # include <limits.h>
61401 #else
61402 # include <assert.h>
61403 #endif
61404
61405 #undef $ac_func
61406
61407 /* Override any gcc2 internal prototype to avoid an error.  */
61408 #ifdef __cplusplus
61409 extern "C"
61410 {
61411 #endif
61412 /* We use char because int might match the return type of a gcc2
61413    builtin and then its argument prototype would still apply.  */
61414 char $ac_func ();
61415 /* The GNU C library defines this for functions which it implements
61416     to always fail with ENOSYS.  Some functions are actually named
61417     something starting with __ and the normal name is an alias.  */
61418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61419 choke me
61420 #else
61421 char (*f) () = $ac_func;
61422 #endif
61423 #ifdef __cplusplus
61424 }
61425 #endif
61426
61427 int
61428 main ()
61429 {
61430 return f != $ac_func;
61431   ;
61432   return 0;
61433 }
61434 _ACEOF
61435 rm -f conftest.$ac_objext conftest$ac_exeext
61436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61437   (eval $ac_link) 2>conftest.er1
61438   ac_status=$?
61439   grep -v '^ *+' conftest.er1 >conftest.err
61440   rm -f conftest.er1
61441   cat conftest.err >&5
61442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61443   (exit $ac_status); } &&
61444          { ac_try='test -z "$ac_c_werror_flag"
61445                          || test ! -s conftest.err'
61446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61447   (eval $ac_try) 2>&5
61448   ac_status=$?
61449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61450   (exit $ac_status); }; } &&
61451          { ac_try='test -s conftest$ac_exeext'
61452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61453   (eval $ac_try) 2>&5
61454   ac_status=$?
61455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61456   (exit $ac_status); }; }; then
61457   eval "$as_ac_var=yes"
61458 else
61459   echo "$as_me: failed program was:" >&5
61460 sed 's/^/| /' conftest.$ac_ext >&5
61461
61462 eval "$as_ac_var=no"
61463 fi
61464 rm -f conftest.err conftest.$ac_objext \
61465       conftest$ac_exeext conftest.$ac_ext
61466 fi
61467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61469 if test `eval echo '${'$as_ac_var'}'` = yes; then
61470   cat >>confdefs.h <<_ACEOF
61471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61472 _ACEOF
61473
61474 fi
61475 done
61476
61477   else
61478
61479   echo "$as_me:$LINENO: checking for _modf declaration" >&5
61480 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
61481   if test x${glibcxx_cv_func__modf_use+set} != xset; then
61482     if test "${glibcxx_cv_func__modf_use+set}" = set; then
61483   echo $ECHO_N "(cached) $ECHO_C" >&6
61484 else
61485
61486
61487
61488       ac_ext=cc
61489 ac_cpp='$CXXCPP $CPPFLAGS'
61490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61493
61494       cat >conftest.$ac_ext <<_ACEOF
61495 /* confdefs.h.  */
61496 _ACEOF
61497 cat confdefs.h >>conftest.$ac_ext
61498 cat >>conftest.$ac_ext <<_ACEOF
61499 /* end confdefs.h.  */
61500 #include <math.h>
61501 int
61502 main ()
61503 {
61504  _modf(0, 0);
61505   ;
61506   return 0;
61507 }
61508 _ACEOF
61509 rm -f conftest.$ac_objext
61510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61511   (eval $ac_compile) 2>conftest.er1
61512   ac_status=$?
61513   grep -v '^ *+' conftest.er1 >conftest.err
61514   rm -f conftest.er1
61515   cat conftest.err >&5
61516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61517   (exit $ac_status); } &&
61518          { ac_try='test -z "$ac_cxx_werror_flag"
61519                          || test ! -s conftest.err'
61520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61521   (eval $ac_try) 2>&5
61522   ac_status=$?
61523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61524   (exit $ac_status); }; } &&
61525          { ac_try='test -s conftest.$ac_objext'
61526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61527   (eval $ac_try) 2>&5
61528   ac_status=$?
61529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61530   (exit $ac_status); }; }; then
61531   glibcxx_cv_func__modf_use=yes
61532 else
61533   echo "$as_me: failed program was:" >&5
61534 sed 's/^/| /' conftest.$ac_ext >&5
61535
61536 glibcxx_cv_func__modf_use=no
61537 fi
61538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61539       ac_ext=c
61540 ac_cpp='$CPP $CPPFLAGS'
61541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61544
61545
61546 fi
61547
61548   fi
61549   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
61550 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
61551
61552     if test x$glibcxx_cv_func__modf_use = x"yes"; then
61553
61554 for ac_func in _modf
61555 do
61556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61557 echo "$as_me:$LINENO: checking for $ac_func" >&5
61558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61559 if eval "test \"\${$as_ac_var+set}\" = set"; then
61560   echo $ECHO_N "(cached) $ECHO_C" >&6
61561 else
61562   if test x$gcc_no_link = xyes; then
61563   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61565    { (exit 1); exit 1; }; }
61566 fi
61567 cat >conftest.$ac_ext <<_ACEOF
61568 /* confdefs.h.  */
61569 _ACEOF
61570 cat confdefs.h >>conftest.$ac_ext
61571 cat >>conftest.$ac_ext <<_ACEOF
61572 /* end confdefs.h.  */
61573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61574    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61575 #define $ac_func innocuous_$ac_func
61576
61577 /* System header to define __stub macros and hopefully few prototypes,
61578     which can conflict with char $ac_func (); below.
61579     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61580     <limits.h> exists even on freestanding compilers.  */
61581
61582 #ifdef __STDC__
61583 # include <limits.h>
61584 #else
61585 # include <assert.h>
61586 #endif
61587
61588 #undef $ac_func
61589
61590 /* Override any gcc2 internal prototype to avoid an error.  */
61591 #ifdef __cplusplus
61592 extern "C"
61593 {
61594 #endif
61595 /* We use char because int might match the return type of a gcc2
61596    builtin and then its argument prototype would still apply.  */
61597 char $ac_func ();
61598 /* The GNU C library defines this for functions which it implements
61599     to always fail with ENOSYS.  Some functions are actually named
61600     something starting with __ and the normal name is an alias.  */
61601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61602 choke me
61603 #else
61604 char (*f) () = $ac_func;
61605 #endif
61606 #ifdef __cplusplus
61607 }
61608 #endif
61609
61610 int
61611 main ()
61612 {
61613 return f != $ac_func;
61614   ;
61615   return 0;
61616 }
61617 _ACEOF
61618 rm -f conftest.$ac_objext conftest$ac_exeext
61619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61620   (eval $ac_link) 2>conftest.er1
61621   ac_status=$?
61622   grep -v '^ *+' conftest.er1 >conftest.err
61623   rm -f conftest.er1
61624   cat conftest.err >&5
61625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61626   (exit $ac_status); } &&
61627          { ac_try='test -z "$ac_c_werror_flag"
61628                          || test ! -s conftest.err'
61629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61630   (eval $ac_try) 2>&5
61631   ac_status=$?
61632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61633   (exit $ac_status); }; } &&
61634          { ac_try='test -s conftest$ac_exeext'
61635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61636   (eval $ac_try) 2>&5
61637   ac_status=$?
61638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61639   (exit $ac_status); }; }; then
61640   eval "$as_ac_var=yes"
61641 else
61642   echo "$as_me: failed program was:" >&5
61643 sed 's/^/| /' conftest.$ac_ext >&5
61644
61645 eval "$as_ac_var=no"
61646 fi
61647 rm -f conftest.err conftest.$ac_objext \
61648       conftest$ac_exeext conftest.$ac_ext
61649 fi
61650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61652 if test `eval echo '${'$as_ac_var'}'` = yes; then
61653   cat >>confdefs.h <<_ACEOF
61654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61655 _ACEOF
61656
61657 fi
61658 done
61659
61660     fi
61661   fi
61662
61663
61664
61665
61666
61667
61668   echo "$as_me:$LINENO: checking for powf declaration" >&5
61669 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
61670   if test x${glibcxx_cv_func_powf_use+set} != xset; then
61671     if test "${glibcxx_cv_func_powf_use+set}" = set; then
61672   echo $ECHO_N "(cached) $ECHO_C" >&6
61673 else
61674
61675
61676
61677       ac_ext=cc
61678 ac_cpp='$CXXCPP $CPPFLAGS'
61679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61682
61683       cat >conftest.$ac_ext <<_ACEOF
61684 /* confdefs.h.  */
61685 _ACEOF
61686 cat confdefs.h >>conftest.$ac_ext
61687 cat >>conftest.$ac_ext <<_ACEOF
61688 /* end confdefs.h.  */
61689 #include <math.h>
61690 int
61691 main ()
61692 {
61693  powf(0, 0);
61694   ;
61695   return 0;
61696 }
61697 _ACEOF
61698 rm -f conftest.$ac_objext
61699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61700   (eval $ac_compile) 2>conftest.er1
61701   ac_status=$?
61702   grep -v '^ *+' conftest.er1 >conftest.err
61703   rm -f conftest.er1
61704   cat conftest.err >&5
61705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61706   (exit $ac_status); } &&
61707          { ac_try='test -z "$ac_cxx_werror_flag"
61708                          || test ! -s conftest.err'
61709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61710   (eval $ac_try) 2>&5
61711   ac_status=$?
61712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61713   (exit $ac_status); }; } &&
61714          { ac_try='test -s conftest.$ac_objext'
61715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61716   (eval $ac_try) 2>&5
61717   ac_status=$?
61718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61719   (exit $ac_status); }; }; then
61720   glibcxx_cv_func_powf_use=yes
61721 else
61722   echo "$as_me: failed program was:" >&5
61723 sed 's/^/| /' conftest.$ac_ext >&5
61724
61725 glibcxx_cv_func_powf_use=no
61726 fi
61727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61728       ac_ext=c
61729 ac_cpp='$CPP $CPPFLAGS'
61730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61733
61734
61735 fi
61736
61737   fi
61738   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
61739 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
61740
61741   if test x$glibcxx_cv_func_powf_use = x"yes"; then
61742
61743 for ac_func in powf
61744 do
61745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61746 echo "$as_me:$LINENO: checking for $ac_func" >&5
61747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61748 if eval "test \"\${$as_ac_var+set}\" = set"; then
61749   echo $ECHO_N "(cached) $ECHO_C" >&6
61750 else
61751   if test x$gcc_no_link = xyes; then
61752   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61754    { (exit 1); exit 1; }; }
61755 fi
61756 cat >conftest.$ac_ext <<_ACEOF
61757 /* confdefs.h.  */
61758 _ACEOF
61759 cat confdefs.h >>conftest.$ac_ext
61760 cat >>conftest.$ac_ext <<_ACEOF
61761 /* end confdefs.h.  */
61762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61763    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61764 #define $ac_func innocuous_$ac_func
61765
61766 /* System header to define __stub macros and hopefully few prototypes,
61767     which can conflict with char $ac_func (); below.
61768     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61769     <limits.h> exists even on freestanding compilers.  */
61770
61771 #ifdef __STDC__
61772 # include <limits.h>
61773 #else
61774 # include <assert.h>
61775 #endif
61776
61777 #undef $ac_func
61778
61779 /* Override any gcc2 internal prototype to avoid an error.  */
61780 #ifdef __cplusplus
61781 extern "C"
61782 {
61783 #endif
61784 /* We use char because int might match the return type of a gcc2
61785    builtin and then its argument prototype would still apply.  */
61786 char $ac_func ();
61787 /* The GNU C library defines this for functions which it implements
61788     to always fail with ENOSYS.  Some functions are actually named
61789     something starting with __ and the normal name is an alias.  */
61790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61791 choke me
61792 #else
61793 char (*f) () = $ac_func;
61794 #endif
61795 #ifdef __cplusplus
61796 }
61797 #endif
61798
61799 int
61800 main ()
61801 {
61802 return f != $ac_func;
61803   ;
61804   return 0;
61805 }
61806 _ACEOF
61807 rm -f conftest.$ac_objext conftest$ac_exeext
61808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61809   (eval $ac_link) 2>conftest.er1
61810   ac_status=$?
61811   grep -v '^ *+' conftest.er1 >conftest.err
61812   rm -f conftest.er1
61813   cat conftest.err >&5
61814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61815   (exit $ac_status); } &&
61816          { ac_try='test -z "$ac_c_werror_flag"
61817                          || test ! -s conftest.err'
61818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61819   (eval $ac_try) 2>&5
61820   ac_status=$?
61821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61822   (exit $ac_status); }; } &&
61823          { ac_try='test -s conftest$ac_exeext'
61824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61825   (eval $ac_try) 2>&5
61826   ac_status=$?
61827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61828   (exit $ac_status); }; }; then
61829   eval "$as_ac_var=yes"
61830 else
61831   echo "$as_me: failed program was:" >&5
61832 sed 's/^/| /' conftest.$ac_ext >&5
61833
61834 eval "$as_ac_var=no"
61835 fi
61836 rm -f conftest.err conftest.$ac_objext \
61837       conftest$ac_exeext conftest.$ac_ext
61838 fi
61839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61841 if test `eval echo '${'$as_ac_var'}'` = yes; then
61842   cat >>confdefs.h <<_ACEOF
61843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61844 _ACEOF
61845
61846 fi
61847 done
61848
61849   else
61850
61851   echo "$as_me:$LINENO: checking for _powf declaration" >&5
61852 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
61853   if test x${glibcxx_cv_func__powf_use+set} != xset; then
61854     if test "${glibcxx_cv_func__powf_use+set}" = set; then
61855   echo $ECHO_N "(cached) $ECHO_C" >&6
61856 else
61857
61858
61859
61860       ac_ext=cc
61861 ac_cpp='$CXXCPP $CPPFLAGS'
61862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61865
61866       cat >conftest.$ac_ext <<_ACEOF
61867 /* confdefs.h.  */
61868 _ACEOF
61869 cat confdefs.h >>conftest.$ac_ext
61870 cat >>conftest.$ac_ext <<_ACEOF
61871 /* end confdefs.h.  */
61872 #include <math.h>
61873 int
61874 main ()
61875 {
61876  _powf(0, 0);
61877   ;
61878   return 0;
61879 }
61880 _ACEOF
61881 rm -f conftest.$ac_objext
61882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61883   (eval $ac_compile) 2>conftest.er1
61884   ac_status=$?
61885   grep -v '^ *+' conftest.er1 >conftest.err
61886   rm -f conftest.er1
61887   cat conftest.err >&5
61888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61889   (exit $ac_status); } &&
61890          { ac_try='test -z "$ac_cxx_werror_flag"
61891                          || test ! -s conftest.err'
61892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61893   (eval $ac_try) 2>&5
61894   ac_status=$?
61895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61896   (exit $ac_status); }; } &&
61897          { ac_try='test -s conftest.$ac_objext'
61898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61899   (eval $ac_try) 2>&5
61900   ac_status=$?
61901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61902   (exit $ac_status); }; }; then
61903   glibcxx_cv_func__powf_use=yes
61904 else
61905   echo "$as_me: failed program was:" >&5
61906 sed 's/^/| /' conftest.$ac_ext >&5
61907
61908 glibcxx_cv_func__powf_use=no
61909 fi
61910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61911       ac_ext=c
61912 ac_cpp='$CPP $CPPFLAGS'
61913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61916
61917
61918 fi
61919
61920   fi
61921   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
61922 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
61923
61924     if test x$glibcxx_cv_func__powf_use = x"yes"; then
61925
61926 for ac_func in _powf
61927 do
61928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61929 echo "$as_me:$LINENO: checking for $ac_func" >&5
61930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61931 if eval "test \"\${$as_ac_var+set}\" = set"; then
61932   echo $ECHO_N "(cached) $ECHO_C" >&6
61933 else
61934   if test x$gcc_no_link = xyes; then
61935   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61937    { (exit 1); exit 1; }; }
61938 fi
61939 cat >conftest.$ac_ext <<_ACEOF
61940 /* confdefs.h.  */
61941 _ACEOF
61942 cat confdefs.h >>conftest.$ac_ext
61943 cat >>conftest.$ac_ext <<_ACEOF
61944 /* end confdefs.h.  */
61945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61946    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61947 #define $ac_func innocuous_$ac_func
61948
61949 /* System header to define __stub macros and hopefully few prototypes,
61950     which can conflict with char $ac_func (); below.
61951     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61952     <limits.h> exists even on freestanding compilers.  */
61953
61954 #ifdef __STDC__
61955 # include <limits.h>
61956 #else
61957 # include <assert.h>
61958 #endif
61959
61960 #undef $ac_func
61961
61962 /* Override any gcc2 internal prototype to avoid an error.  */
61963 #ifdef __cplusplus
61964 extern "C"
61965 {
61966 #endif
61967 /* We use char because int might match the return type of a gcc2
61968    builtin and then its argument prototype would still apply.  */
61969 char $ac_func ();
61970 /* The GNU C library defines this for functions which it implements
61971     to always fail with ENOSYS.  Some functions are actually named
61972     something starting with __ and the normal name is an alias.  */
61973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61974 choke me
61975 #else
61976 char (*f) () = $ac_func;
61977 #endif
61978 #ifdef __cplusplus
61979 }
61980 #endif
61981
61982 int
61983 main ()
61984 {
61985 return f != $ac_func;
61986   ;
61987   return 0;
61988 }
61989 _ACEOF
61990 rm -f conftest.$ac_objext conftest$ac_exeext
61991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61992   (eval $ac_link) 2>conftest.er1
61993   ac_status=$?
61994   grep -v '^ *+' conftest.er1 >conftest.err
61995   rm -f conftest.er1
61996   cat conftest.err >&5
61997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61998   (exit $ac_status); } &&
61999          { ac_try='test -z "$ac_c_werror_flag"
62000                          || test ! -s conftest.err'
62001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62002   (eval $ac_try) 2>&5
62003   ac_status=$?
62004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62005   (exit $ac_status); }; } &&
62006          { ac_try='test -s conftest$ac_exeext'
62007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62008   (eval $ac_try) 2>&5
62009   ac_status=$?
62010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62011   (exit $ac_status); }; }; then
62012   eval "$as_ac_var=yes"
62013 else
62014   echo "$as_me: failed program was:" >&5
62015 sed 's/^/| /' conftest.$ac_ext >&5
62016
62017 eval "$as_ac_var=no"
62018 fi
62019 rm -f conftest.err conftest.$ac_objext \
62020       conftest$ac_exeext conftest.$ac_ext
62021 fi
62022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62024 if test `eval echo '${'$as_ac_var'}'` = yes; then
62025   cat >>confdefs.h <<_ACEOF
62026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62027 _ACEOF
62028
62029 fi
62030 done
62031
62032     fi
62033   fi
62034
62035
62036
62037
62038
62039
62040   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
62041 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
62042   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
62043     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
62044   echo $ECHO_N "(cached) $ECHO_C" >&6
62045 else
62046
62047
62048
62049       ac_ext=cc
62050 ac_cpp='$CXXCPP $CPPFLAGS'
62051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62054
62055       cat >conftest.$ac_ext <<_ACEOF
62056 /* confdefs.h.  */
62057 _ACEOF
62058 cat confdefs.h >>conftest.$ac_ext
62059 cat >>conftest.$ac_ext <<_ACEOF
62060 /* end confdefs.h.  */
62061 #include <math.h>
62062                       #ifdef HAVE_IEEEFP_H
62063                       #include <ieeefp.h>
62064                       #endif
62065
62066 int
62067 main ()
62068 {
62069  sqrtf(0);
62070   ;
62071   return 0;
62072 }
62073 _ACEOF
62074 rm -f conftest.$ac_objext
62075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62076   (eval $ac_compile) 2>conftest.er1
62077   ac_status=$?
62078   grep -v '^ *+' conftest.er1 >conftest.err
62079   rm -f conftest.er1
62080   cat conftest.err >&5
62081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62082   (exit $ac_status); } &&
62083          { ac_try='test -z "$ac_cxx_werror_flag"
62084                          || test ! -s conftest.err'
62085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62086   (eval $ac_try) 2>&5
62087   ac_status=$?
62088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62089   (exit $ac_status); }; } &&
62090          { ac_try='test -s conftest.$ac_objext'
62091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62092   (eval $ac_try) 2>&5
62093   ac_status=$?
62094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62095   (exit $ac_status); }; }; then
62096   glibcxx_cv_func_sqrtf_use=yes
62097 else
62098   echo "$as_me: failed program was:" >&5
62099 sed 's/^/| /' conftest.$ac_ext >&5
62100
62101 glibcxx_cv_func_sqrtf_use=no
62102 fi
62103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62104       ac_ext=c
62105 ac_cpp='$CPP $CPPFLAGS'
62106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62109
62110
62111 fi
62112
62113   fi
62114   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
62115 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
62116
62117   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
62118
62119 for ac_func in sqrtf
62120 do
62121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62122 echo "$as_me:$LINENO: checking for $ac_func" >&5
62123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62124 if eval "test \"\${$as_ac_var+set}\" = set"; then
62125   echo $ECHO_N "(cached) $ECHO_C" >&6
62126 else
62127   if test x$gcc_no_link = xyes; then
62128   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62130    { (exit 1); exit 1; }; }
62131 fi
62132 cat >conftest.$ac_ext <<_ACEOF
62133 /* confdefs.h.  */
62134 _ACEOF
62135 cat confdefs.h >>conftest.$ac_ext
62136 cat >>conftest.$ac_ext <<_ACEOF
62137 /* end confdefs.h.  */
62138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62139    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62140 #define $ac_func innocuous_$ac_func
62141
62142 /* System header to define __stub macros and hopefully few prototypes,
62143     which can conflict with char $ac_func (); below.
62144     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62145     <limits.h> exists even on freestanding compilers.  */
62146
62147 #ifdef __STDC__
62148 # include <limits.h>
62149 #else
62150 # include <assert.h>
62151 #endif
62152
62153 #undef $ac_func
62154
62155 /* Override any gcc2 internal prototype to avoid an error.  */
62156 #ifdef __cplusplus
62157 extern "C"
62158 {
62159 #endif
62160 /* We use char because int might match the return type of a gcc2
62161    builtin and then its argument prototype would still apply.  */
62162 char $ac_func ();
62163 /* The GNU C library defines this for functions which it implements
62164     to always fail with ENOSYS.  Some functions are actually named
62165     something starting with __ and the normal name is an alias.  */
62166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62167 choke me
62168 #else
62169 char (*f) () = $ac_func;
62170 #endif
62171 #ifdef __cplusplus
62172 }
62173 #endif
62174
62175 int
62176 main ()
62177 {
62178 return f != $ac_func;
62179   ;
62180   return 0;
62181 }
62182 _ACEOF
62183 rm -f conftest.$ac_objext conftest$ac_exeext
62184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62185   (eval $ac_link) 2>conftest.er1
62186   ac_status=$?
62187   grep -v '^ *+' conftest.er1 >conftest.err
62188   rm -f conftest.er1
62189   cat conftest.err >&5
62190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62191   (exit $ac_status); } &&
62192          { ac_try='test -z "$ac_c_werror_flag"
62193                          || test ! -s conftest.err'
62194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62195   (eval $ac_try) 2>&5
62196   ac_status=$?
62197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62198   (exit $ac_status); }; } &&
62199          { ac_try='test -s conftest$ac_exeext'
62200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62201   (eval $ac_try) 2>&5
62202   ac_status=$?
62203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62204   (exit $ac_status); }; }; then
62205   eval "$as_ac_var=yes"
62206 else
62207   echo "$as_me: failed program was:" >&5
62208 sed 's/^/| /' conftest.$ac_ext >&5
62209
62210 eval "$as_ac_var=no"
62211 fi
62212 rm -f conftest.err conftest.$ac_objext \
62213       conftest$ac_exeext conftest.$ac_ext
62214 fi
62215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62217 if test `eval echo '${'$as_ac_var'}'` = yes; then
62218   cat >>confdefs.h <<_ACEOF
62219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62220 _ACEOF
62221
62222 fi
62223 done
62224
62225   else
62226
62227   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
62228 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
62229   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62230     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
62231   echo $ECHO_N "(cached) $ECHO_C" >&6
62232 else
62233
62234
62235
62236       ac_ext=cc
62237 ac_cpp='$CXXCPP $CPPFLAGS'
62238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62241
62242       cat >conftest.$ac_ext <<_ACEOF
62243 /* confdefs.h.  */
62244 _ACEOF
62245 cat confdefs.h >>conftest.$ac_ext
62246 cat >>conftest.$ac_ext <<_ACEOF
62247 /* end confdefs.h.  */
62248 #include <math.h>
62249                       #ifdef HAVE_IEEEFP_H
62250                       #include <ieeefp.h>
62251                       #endif
62252
62253 int
62254 main ()
62255 {
62256  _sqrtf(0);
62257   ;
62258   return 0;
62259 }
62260 _ACEOF
62261 rm -f conftest.$ac_objext
62262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62263   (eval $ac_compile) 2>conftest.er1
62264   ac_status=$?
62265   grep -v '^ *+' conftest.er1 >conftest.err
62266   rm -f conftest.er1
62267   cat conftest.err >&5
62268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62269   (exit $ac_status); } &&
62270          { ac_try='test -z "$ac_cxx_werror_flag"
62271                          || test ! -s conftest.err'
62272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62273   (eval $ac_try) 2>&5
62274   ac_status=$?
62275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62276   (exit $ac_status); }; } &&
62277          { ac_try='test -s conftest.$ac_objext'
62278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62279   (eval $ac_try) 2>&5
62280   ac_status=$?
62281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62282   (exit $ac_status); }; }; then
62283   glibcxx_cv_func__sqrtf_use=yes
62284 else
62285   echo "$as_me: failed program was:" >&5
62286 sed 's/^/| /' conftest.$ac_ext >&5
62287
62288 glibcxx_cv_func__sqrtf_use=no
62289 fi
62290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62291       ac_ext=c
62292 ac_cpp='$CPP $CPPFLAGS'
62293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62296
62297
62298 fi
62299
62300   fi
62301   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
62302 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
62303
62304     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62305
62306 for ac_func in _sqrtf
62307 do
62308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62309 echo "$as_me:$LINENO: checking for $ac_func" >&5
62310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62311 if eval "test \"\${$as_ac_var+set}\" = set"; then
62312   echo $ECHO_N "(cached) $ECHO_C" >&6
62313 else
62314   if test x$gcc_no_link = xyes; then
62315   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62317    { (exit 1); exit 1; }; }
62318 fi
62319 cat >conftest.$ac_ext <<_ACEOF
62320 /* confdefs.h.  */
62321 _ACEOF
62322 cat confdefs.h >>conftest.$ac_ext
62323 cat >>conftest.$ac_ext <<_ACEOF
62324 /* end confdefs.h.  */
62325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62326    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62327 #define $ac_func innocuous_$ac_func
62328
62329 /* System header to define __stub macros and hopefully few prototypes,
62330     which can conflict with char $ac_func (); below.
62331     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62332     <limits.h> exists even on freestanding compilers.  */
62333
62334 #ifdef __STDC__
62335 # include <limits.h>
62336 #else
62337 # include <assert.h>
62338 #endif
62339
62340 #undef $ac_func
62341
62342 /* Override any gcc2 internal prototype to avoid an error.  */
62343 #ifdef __cplusplus
62344 extern "C"
62345 {
62346 #endif
62347 /* We use char because int might match the return type of a gcc2
62348    builtin and then its argument prototype would still apply.  */
62349 char $ac_func ();
62350 /* The GNU C library defines this for functions which it implements
62351     to always fail with ENOSYS.  Some functions are actually named
62352     something starting with __ and the normal name is an alias.  */
62353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62354 choke me
62355 #else
62356 char (*f) () = $ac_func;
62357 #endif
62358 #ifdef __cplusplus
62359 }
62360 #endif
62361
62362 int
62363 main ()
62364 {
62365 return f != $ac_func;
62366   ;
62367   return 0;
62368 }
62369 _ACEOF
62370 rm -f conftest.$ac_objext conftest$ac_exeext
62371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62372   (eval $ac_link) 2>conftest.er1
62373   ac_status=$?
62374   grep -v '^ *+' conftest.er1 >conftest.err
62375   rm -f conftest.er1
62376   cat conftest.err >&5
62377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62378   (exit $ac_status); } &&
62379          { ac_try='test -z "$ac_c_werror_flag"
62380                          || test ! -s conftest.err'
62381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62382   (eval $ac_try) 2>&5
62383   ac_status=$?
62384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62385   (exit $ac_status); }; } &&
62386          { ac_try='test -s conftest$ac_exeext'
62387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62388   (eval $ac_try) 2>&5
62389   ac_status=$?
62390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62391   (exit $ac_status); }; }; then
62392   eval "$as_ac_var=yes"
62393 else
62394   echo "$as_me: failed program was:" >&5
62395 sed 's/^/| /' conftest.$ac_ext >&5
62396
62397 eval "$as_ac_var=no"
62398 fi
62399 rm -f conftest.err conftest.$ac_objext \
62400       conftest$ac_exeext conftest.$ac_ext
62401 fi
62402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62404 if test `eval echo '${'$as_ac_var'}'` = yes; then
62405   cat >>confdefs.h <<_ACEOF
62406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62407 _ACEOF
62408
62409 fi
62410 done
62411
62412     fi
62413   fi
62414
62415
62416
62417
62418
62419
62420   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
62421 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
62422   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62423     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
62424   echo $ECHO_N "(cached) $ECHO_C" >&6
62425 else
62426
62427
62428
62429       ac_ext=cc
62430 ac_cpp='$CXXCPP $CPPFLAGS'
62431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62434
62435       cat >conftest.$ac_ext <<_ACEOF
62436 /* confdefs.h.  */
62437 _ACEOF
62438 cat confdefs.h >>conftest.$ac_ext
62439 cat >>conftest.$ac_ext <<_ACEOF
62440 /* end confdefs.h.  */
62441 #include <math.h>
62442 int
62443 main ()
62444 {
62445  sincosf(0, 0, 0);
62446   ;
62447   return 0;
62448 }
62449 _ACEOF
62450 rm -f conftest.$ac_objext
62451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62452   (eval $ac_compile) 2>conftest.er1
62453   ac_status=$?
62454   grep -v '^ *+' conftest.er1 >conftest.err
62455   rm -f conftest.er1
62456   cat conftest.err >&5
62457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62458   (exit $ac_status); } &&
62459          { ac_try='test -z "$ac_cxx_werror_flag"
62460                          || test ! -s conftest.err'
62461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62462   (eval $ac_try) 2>&5
62463   ac_status=$?
62464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62465   (exit $ac_status); }; } &&
62466          { ac_try='test -s conftest.$ac_objext'
62467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62468   (eval $ac_try) 2>&5
62469   ac_status=$?
62470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62471   (exit $ac_status); }; }; then
62472   glibcxx_cv_func_sincosf_use=yes
62473 else
62474   echo "$as_me: failed program was:" >&5
62475 sed 's/^/| /' conftest.$ac_ext >&5
62476
62477 glibcxx_cv_func_sincosf_use=no
62478 fi
62479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62480       ac_ext=c
62481 ac_cpp='$CPP $CPPFLAGS'
62482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62485
62486
62487 fi
62488
62489   fi
62490   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
62491 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
62492
62493   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62494
62495 for ac_func in sincosf
62496 do
62497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62498 echo "$as_me:$LINENO: checking for $ac_func" >&5
62499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62500 if eval "test \"\${$as_ac_var+set}\" = set"; then
62501   echo $ECHO_N "(cached) $ECHO_C" >&6
62502 else
62503   if test x$gcc_no_link = xyes; then
62504   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62506    { (exit 1); exit 1; }; }
62507 fi
62508 cat >conftest.$ac_ext <<_ACEOF
62509 /* confdefs.h.  */
62510 _ACEOF
62511 cat confdefs.h >>conftest.$ac_ext
62512 cat >>conftest.$ac_ext <<_ACEOF
62513 /* end confdefs.h.  */
62514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62515    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62516 #define $ac_func innocuous_$ac_func
62517
62518 /* System header to define __stub macros and hopefully few prototypes,
62519     which can conflict with char $ac_func (); below.
62520     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62521     <limits.h> exists even on freestanding compilers.  */
62522
62523 #ifdef __STDC__
62524 # include <limits.h>
62525 #else
62526 # include <assert.h>
62527 #endif
62528
62529 #undef $ac_func
62530
62531 /* Override any gcc2 internal prototype to avoid an error.  */
62532 #ifdef __cplusplus
62533 extern "C"
62534 {
62535 #endif
62536 /* We use char because int might match the return type of a gcc2
62537    builtin and then its argument prototype would still apply.  */
62538 char $ac_func ();
62539 /* The GNU C library defines this for functions which it implements
62540     to always fail with ENOSYS.  Some functions are actually named
62541     something starting with __ and the normal name is an alias.  */
62542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62543 choke me
62544 #else
62545 char (*f) () = $ac_func;
62546 #endif
62547 #ifdef __cplusplus
62548 }
62549 #endif
62550
62551 int
62552 main ()
62553 {
62554 return f != $ac_func;
62555   ;
62556   return 0;
62557 }
62558 _ACEOF
62559 rm -f conftest.$ac_objext conftest$ac_exeext
62560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62561   (eval $ac_link) 2>conftest.er1
62562   ac_status=$?
62563   grep -v '^ *+' conftest.er1 >conftest.err
62564   rm -f conftest.er1
62565   cat conftest.err >&5
62566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62567   (exit $ac_status); } &&
62568          { ac_try='test -z "$ac_c_werror_flag"
62569                          || test ! -s conftest.err'
62570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62571   (eval $ac_try) 2>&5
62572   ac_status=$?
62573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62574   (exit $ac_status); }; } &&
62575          { ac_try='test -s conftest$ac_exeext'
62576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62577   (eval $ac_try) 2>&5
62578   ac_status=$?
62579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62580   (exit $ac_status); }; }; then
62581   eval "$as_ac_var=yes"
62582 else
62583   echo "$as_me: failed program was:" >&5
62584 sed 's/^/| /' conftest.$ac_ext >&5
62585
62586 eval "$as_ac_var=no"
62587 fi
62588 rm -f conftest.err conftest.$ac_objext \
62589       conftest$ac_exeext conftest.$ac_ext
62590 fi
62591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62593 if test `eval echo '${'$as_ac_var'}'` = yes; then
62594   cat >>confdefs.h <<_ACEOF
62595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62596 _ACEOF
62597
62598 fi
62599 done
62600
62601   else
62602
62603   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
62604 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
62605   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62606     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
62607   echo $ECHO_N "(cached) $ECHO_C" >&6
62608 else
62609
62610
62611
62612       ac_ext=cc
62613 ac_cpp='$CXXCPP $CPPFLAGS'
62614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62617
62618       cat >conftest.$ac_ext <<_ACEOF
62619 /* confdefs.h.  */
62620 _ACEOF
62621 cat confdefs.h >>conftest.$ac_ext
62622 cat >>conftest.$ac_ext <<_ACEOF
62623 /* end confdefs.h.  */
62624 #include <math.h>
62625 int
62626 main ()
62627 {
62628  _sincosf(0, 0, 0);
62629   ;
62630   return 0;
62631 }
62632 _ACEOF
62633 rm -f conftest.$ac_objext
62634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62635   (eval $ac_compile) 2>conftest.er1
62636   ac_status=$?
62637   grep -v '^ *+' conftest.er1 >conftest.err
62638   rm -f conftest.er1
62639   cat conftest.err >&5
62640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62641   (exit $ac_status); } &&
62642          { ac_try='test -z "$ac_cxx_werror_flag"
62643                          || test ! -s conftest.err'
62644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62645   (eval $ac_try) 2>&5
62646   ac_status=$?
62647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62648   (exit $ac_status); }; } &&
62649          { ac_try='test -s conftest.$ac_objext'
62650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62651   (eval $ac_try) 2>&5
62652   ac_status=$?
62653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62654   (exit $ac_status); }; }; then
62655   glibcxx_cv_func__sincosf_use=yes
62656 else
62657   echo "$as_me: failed program was:" >&5
62658 sed 's/^/| /' conftest.$ac_ext >&5
62659
62660 glibcxx_cv_func__sincosf_use=no
62661 fi
62662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62663       ac_ext=c
62664 ac_cpp='$CPP $CPPFLAGS'
62665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62668
62669
62670 fi
62671
62672   fi
62673   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
62674 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
62675
62676     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62677
62678 for ac_func in _sincosf
62679 do
62680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62681 echo "$as_me:$LINENO: checking for $ac_func" >&5
62682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62683 if eval "test \"\${$as_ac_var+set}\" = set"; then
62684   echo $ECHO_N "(cached) $ECHO_C" >&6
62685 else
62686   if test x$gcc_no_link = xyes; then
62687   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62689    { (exit 1); exit 1; }; }
62690 fi
62691 cat >conftest.$ac_ext <<_ACEOF
62692 /* confdefs.h.  */
62693 _ACEOF
62694 cat confdefs.h >>conftest.$ac_ext
62695 cat >>conftest.$ac_ext <<_ACEOF
62696 /* end confdefs.h.  */
62697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62698    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62699 #define $ac_func innocuous_$ac_func
62700
62701 /* System header to define __stub macros and hopefully few prototypes,
62702     which can conflict with char $ac_func (); below.
62703     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62704     <limits.h> exists even on freestanding compilers.  */
62705
62706 #ifdef __STDC__
62707 # include <limits.h>
62708 #else
62709 # include <assert.h>
62710 #endif
62711
62712 #undef $ac_func
62713
62714 /* Override any gcc2 internal prototype to avoid an error.  */
62715 #ifdef __cplusplus
62716 extern "C"
62717 {
62718 #endif
62719 /* We use char because int might match the return type of a gcc2
62720    builtin and then its argument prototype would still apply.  */
62721 char $ac_func ();
62722 /* The GNU C library defines this for functions which it implements
62723     to always fail with ENOSYS.  Some functions are actually named
62724     something starting with __ and the normal name is an alias.  */
62725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62726 choke me
62727 #else
62728 char (*f) () = $ac_func;
62729 #endif
62730 #ifdef __cplusplus
62731 }
62732 #endif
62733
62734 int
62735 main ()
62736 {
62737 return f != $ac_func;
62738   ;
62739   return 0;
62740 }
62741 _ACEOF
62742 rm -f conftest.$ac_objext conftest$ac_exeext
62743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62744   (eval $ac_link) 2>conftest.er1
62745   ac_status=$?
62746   grep -v '^ *+' conftest.er1 >conftest.err
62747   rm -f conftest.er1
62748   cat conftest.err >&5
62749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62750   (exit $ac_status); } &&
62751          { ac_try='test -z "$ac_c_werror_flag"
62752                          || test ! -s conftest.err'
62753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62754   (eval $ac_try) 2>&5
62755   ac_status=$?
62756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62757   (exit $ac_status); }; } &&
62758          { ac_try='test -s conftest$ac_exeext'
62759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62760   (eval $ac_try) 2>&5
62761   ac_status=$?
62762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62763   (exit $ac_status); }; }; then
62764   eval "$as_ac_var=yes"
62765 else
62766   echo "$as_me: failed program was:" >&5
62767 sed 's/^/| /' conftest.$ac_ext >&5
62768
62769 eval "$as_ac_var=no"
62770 fi
62771 rm -f conftest.err conftest.$ac_objext \
62772       conftest$ac_exeext conftest.$ac_ext
62773 fi
62774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62776 if test `eval echo '${'$as_ac_var'}'` = yes; then
62777   cat >>confdefs.h <<_ACEOF
62778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62779 _ACEOF
62780
62781 fi
62782 done
62783
62784     fi
62785   fi
62786
62787
62788
62789
62790
62791
62792   echo "$as_me:$LINENO: checking for finitef declaration" >&5
62793 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
62794   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62795     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
62796   echo $ECHO_N "(cached) $ECHO_C" >&6
62797 else
62798
62799
62800
62801       ac_ext=cc
62802 ac_cpp='$CXXCPP $CPPFLAGS'
62803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62806
62807       cat >conftest.$ac_ext <<_ACEOF
62808 /* confdefs.h.  */
62809 _ACEOF
62810 cat confdefs.h >>conftest.$ac_ext
62811 cat >>conftest.$ac_ext <<_ACEOF
62812 /* end confdefs.h.  */
62813 #include <math.h>
62814                       #ifdef HAVE_IEEEFP_H
62815                       #include <ieeefp.h>
62816                       #endif
62817
62818 int
62819 main ()
62820 {
62821  finitef(0);
62822   ;
62823   return 0;
62824 }
62825 _ACEOF
62826 rm -f conftest.$ac_objext
62827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62828   (eval $ac_compile) 2>conftest.er1
62829   ac_status=$?
62830   grep -v '^ *+' conftest.er1 >conftest.err
62831   rm -f conftest.er1
62832   cat conftest.err >&5
62833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62834   (exit $ac_status); } &&
62835          { ac_try='test -z "$ac_cxx_werror_flag"
62836                          || test ! -s conftest.err'
62837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62838   (eval $ac_try) 2>&5
62839   ac_status=$?
62840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62841   (exit $ac_status); }; } &&
62842          { ac_try='test -s conftest.$ac_objext'
62843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62844   (eval $ac_try) 2>&5
62845   ac_status=$?
62846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62847   (exit $ac_status); }; }; then
62848   glibcxx_cv_func_finitef_use=yes
62849 else
62850   echo "$as_me: failed program was:" >&5
62851 sed 's/^/| /' conftest.$ac_ext >&5
62852
62853 glibcxx_cv_func_finitef_use=no
62854 fi
62855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62856       ac_ext=c
62857 ac_cpp='$CPP $CPPFLAGS'
62858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62861
62862
62863 fi
62864
62865   fi
62866   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
62867 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
62868
62869   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62870
62871 for ac_func in finitef
62872 do
62873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62874 echo "$as_me:$LINENO: checking for $ac_func" >&5
62875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62876 if eval "test \"\${$as_ac_var+set}\" = set"; then
62877   echo $ECHO_N "(cached) $ECHO_C" >&6
62878 else
62879   if test x$gcc_no_link = xyes; then
62880   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62882    { (exit 1); exit 1; }; }
62883 fi
62884 cat >conftest.$ac_ext <<_ACEOF
62885 /* confdefs.h.  */
62886 _ACEOF
62887 cat confdefs.h >>conftest.$ac_ext
62888 cat >>conftest.$ac_ext <<_ACEOF
62889 /* end confdefs.h.  */
62890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62891    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62892 #define $ac_func innocuous_$ac_func
62893
62894 /* System header to define __stub macros and hopefully few prototypes,
62895     which can conflict with char $ac_func (); below.
62896     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62897     <limits.h> exists even on freestanding compilers.  */
62898
62899 #ifdef __STDC__
62900 # include <limits.h>
62901 #else
62902 # include <assert.h>
62903 #endif
62904
62905 #undef $ac_func
62906
62907 /* Override any gcc2 internal prototype to avoid an error.  */
62908 #ifdef __cplusplus
62909 extern "C"
62910 {
62911 #endif
62912 /* We use char because int might match the return type of a gcc2
62913    builtin and then its argument prototype would still apply.  */
62914 char $ac_func ();
62915 /* The GNU C library defines this for functions which it implements
62916     to always fail with ENOSYS.  Some functions are actually named
62917     something starting with __ and the normal name is an alias.  */
62918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62919 choke me
62920 #else
62921 char (*f) () = $ac_func;
62922 #endif
62923 #ifdef __cplusplus
62924 }
62925 #endif
62926
62927 int
62928 main ()
62929 {
62930 return f != $ac_func;
62931   ;
62932   return 0;
62933 }
62934 _ACEOF
62935 rm -f conftest.$ac_objext conftest$ac_exeext
62936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62937   (eval $ac_link) 2>conftest.er1
62938   ac_status=$?
62939   grep -v '^ *+' conftest.er1 >conftest.err
62940   rm -f conftest.er1
62941   cat conftest.err >&5
62942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62943   (exit $ac_status); } &&
62944          { ac_try='test -z "$ac_c_werror_flag"
62945                          || test ! -s conftest.err'
62946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62947   (eval $ac_try) 2>&5
62948   ac_status=$?
62949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62950   (exit $ac_status); }; } &&
62951          { ac_try='test -s conftest$ac_exeext'
62952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62953   (eval $ac_try) 2>&5
62954   ac_status=$?
62955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62956   (exit $ac_status); }; }; then
62957   eval "$as_ac_var=yes"
62958 else
62959   echo "$as_me: failed program was:" >&5
62960 sed 's/^/| /' conftest.$ac_ext >&5
62961
62962 eval "$as_ac_var=no"
62963 fi
62964 rm -f conftest.err conftest.$ac_objext \
62965       conftest$ac_exeext conftest.$ac_ext
62966 fi
62967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62969 if test `eval echo '${'$as_ac_var'}'` = yes; then
62970   cat >>confdefs.h <<_ACEOF
62971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62972 _ACEOF
62973
62974 fi
62975 done
62976
62977   else
62978
62979   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
62980 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
62981   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62982     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
62983   echo $ECHO_N "(cached) $ECHO_C" >&6
62984 else
62985
62986
62987
62988       ac_ext=cc
62989 ac_cpp='$CXXCPP $CPPFLAGS'
62990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62993
62994       cat >conftest.$ac_ext <<_ACEOF
62995 /* confdefs.h.  */
62996 _ACEOF
62997 cat confdefs.h >>conftest.$ac_ext
62998 cat >>conftest.$ac_ext <<_ACEOF
62999 /* end confdefs.h.  */
63000 #include <math.h>
63001                       #ifdef HAVE_IEEEFP_H
63002                       #include <ieeefp.h>
63003                       #endif
63004
63005 int
63006 main ()
63007 {
63008  _finitef(0);
63009   ;
63010   return 0;
63011 }
63012 _ACEOF
63013 rm -f conftest.$ac_objext
63014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63015   (eval $ac_compile) 2>conftest.er1
63016   ac_status=$?
63017   grep -v '^ *+' conftest.er1 >conftest.err
63018   rm -f conftest.er1
63019   cat conftest.err >&5
63020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63021   (exit $ac_status); } &&
63022          { ac_try='test -z "$ac_cxx_werror_flag"
63023                          || test ! -s conftest.err'
63024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63025   (eval $ac_try) 2>&5
63026   ac_status=$?
63027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63028   (exit $ac_status); }; } &&
63029          { ac_try='test -s conftest.$ac_objext'
63030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63031   (eval $ac_try) 2>&5
63032   ac_status=$?
63033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63034   (exit $ac_status); }; }; then
63035   glibcxx_cv_func__finitef_use=yes
63036 else
63037   echo "$as_me: failed program was:" >&5
63038 sed 's/^/| /' conftest.$ac_ext >&5
63039
63040 glibcxx_cv_func__finitef_use=no
63041 fi
63042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63043       ac_ext=c
63044 ac_cpp='$CPP $CPPFLAGS'
63045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63048
63049
63050 fi
63051
63052   fi
63053   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
63054 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
63055
63056     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63057
63058 for ac_func in _finitef
63059 do
63060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63061 echo "$as_me:$LINENO: checking for $ac_func" >&5
63062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63063 if eval "test \"\${$as_ac_var+set}\" = set"; then
63064   echo $ECHO_N "(cached) $ECHO_C" >&6
63065 else
63066   if test x$gcc_no_link = xyes; then
63067   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63069    { (exit 1); exit 1; }; }
63070 fi
63071 cat >conftest.$ac_ext <<_ACEOF
63072 /* confdefs.h.  */
63073 _ACEOF
63074 cat confdefs.h >>conftest.$ac_ext
63075 cat >>conftest.$ac_ext <<_ACEOF
63076 /* end confdefs.h.  */
63077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63078    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63079 #define $ac_func innocuous_$ac_func
63080
63081 /* System header to define __stub macros and hopefully few prototypes,
63082     which can conflict with char $ac_func (); below.
63083     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63084     <limits.h> exists even on freestanding compilers.  */
63085
63086 #ifdef __STDC__
63087 # include <limits.h>
63088 #else
63089 # include <assert.h>
63090 #endif
63091
63092 #undef $ac_func
63093
63094 /* Override any gcc2 internal prototype to avoid an error.  */
63095 #ifdef __cplusplus
63096 extern "C"
63097 {
63098 #endif
63099 /* We use char because int might match the return type of a gcc2
63100    builtin and then its argument prototype would still apply.  */
63101 char $ac_func ();
63102 /* The GNU C library defines this for functions which it implements
63103     to always fail with ENOSYS.  Some functions are actually named
63104     something starting with __ and the normal name is an alias.  */
63105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63106 choke me
63107 #else
63108 char (*f) () = $ac_func;
63109 #endif
63110 #ifdef __cplusplus
63111 }
63112 #endif
63113
63114 int
63115 main ()
63116 {
63117 return f != $ac_func;
63118   ;
63119   return 0;
63120 }
63121 _ACEOF
63122 rm -f conftest.$ac_objext conftest$ac_exeext
63123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63124   (eval $ac_link) 2>conftest.er1
63125   ac_status=$?
63126   grep -v '^ *+' conftest.er1 >conftest.err
63127   rm -f conftest.er1
63128   cat conftest.err >&5
63129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63130   (exit $ac_status); } &&
63131          { ac_try='test -z "$ac_c_werror_flag"
63132                          || test ! -s conftest.err'
63133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63134   (eval $ac_try) 2>&5
63135   ac_status=$?
63136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63137   (exit $ac_status); }; } &&
63138          { ac_try='test -s conftest$ac_exeext'
63139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63140   (eval $ac_try) 2>&5
63141   ac_status=$?
63142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63143   (exit $ac_status); }; }; then
63144   eval "$as_ac_var=yes"
63145 else
63146   echo "$as_me: failed program was:" >&5
63147 sed 's/^/| /' conftest.$ac_ext >&5
63148
63149 eval "$as_ac_var=no"
63150 fi
63151 rm -f conftest.err conftest.$ac_objext \
63152       conftest$ac_exeext conftest.$ac_ext
63153 fi
63154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63156 if test `eval echo '${'$as_ac_var'}'` = yes; then
63157   cat >>confdefs.h <<_ACEOF
63158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63159 _ACEOF
63160
63161 fi
63162 done
63163
63164     fi
63165   fi
63166
63167
63168
63169
63170
63171
63172     echo "$as_me:$LINENO: checking for long double trig functions" >&5
63173 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
63174   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
63175   echo $ECHO_N "(cached) $ECHO_C" >&6
63176 else
63177
63178
63179
63180     ac_ext=cc
63181 ac_cpp='$CXXCPP $CPPFLAGS'
63182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63185
63186     cat >conftest.$ac_ext <<_ACEOF
63187 /* confdefs.h.  */
63188 _ACEOF
63189 cat confdefs.h >>conftest.$ac_ext
63190 cat >>conftest.$ac_ext <<_ACEOF
63191 /* end confdefs.h.  */
63192 #include <math.h>
63193 int
63194 main ()
63195 {
63196 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63197   ;
63198   return 0;
63199 }
63200 _ACEOF
63201 rm -f conftest.$ac_objext
63202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63203   (eval $ac_compile) 2>conftest.er1
63204   ac_status=$?
63205   grep -v '^ *+' conftest.er1 >conftest.err
63206   rm -f conftest.er1
63207   cat conftest.err >&5
63208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63209   (exit $ac_status); } &&
63210          { ac_try='test -z "$ac_cxx_werror_flag"
63211                          || test ! -s conftest.err'
63212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63213   (eval $ac_try) 2>&5
63214   ac_status=$?
63215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63216   (exit $ac_status); }; } &&
63217          { ac_try='test -s conftest.$ac_objext'
63218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63219   (eval $ac_try) 2>&5
63220   ac_status=$?
63221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63222   (exit $ac_status); }; }; then
63223   glibcxx_cv_func_long_double_trig_use=yes
63224 else
63225   echo "$as_me: failed program was:" >&5
63226 sed 's/^/| /' conftest.$ac_ext >&5
63227
63228 glibcxx_cv_func_long_double_trig_use=no
63229 fi
63230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63231     ac_ext=c
63232 ac_cpp='$CPP $CPPFLAGS'
63233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63236
63237 fi
63238
63239   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
63240 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
63241   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63242
63243
63244
63245
63246
63247
63248
63249
63250
63251 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63252 do
63253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63254 echo "$as_me:$LINENO: checking for $ac_func" >&5
63255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63256 if eval "test \"\${$as_ac_var+set}\" = set"; then
63257   echo $ECHO_N "(cached) $ECHO_C" >&6
63258 else
63259   if test x$gcc_no_link = xyes; then
63260   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63262    { (exit 1); exit 1; }; }
63263 fi
63264 cat >conftest.$ac_ext <<_ACEOF
63265 /* confdefs.h.  */
63266 _ACEOF
63267 cat confdefs.h >>conftest.$ac_ext
63268 cat >>conftest.$ac_ext <<_ACEOF
63269 /* end confdefs.h.  */
63270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63271    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63272 #define $ac_func innocuous_$ac_func
63273
63274 /* System header to define __stub macros and hopefully few prototypes,
63275     which can conflict with char $ac_func (); below.
63276     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63277     <limits.h> exists even on freestanding compilers.  */
63278
63279 #ifdef __STDC__
63280 # include <limits.h>
63281 #else
63282 # include <assert.h>
63283 #endif
63284
63285 #undef $ac_func
63286
63287 /* Override any gcc2 internal prototype to avoid an error.  */
63288 #ifdef __cplusplus
63289 extern "C"
63290 {
63291 #endif
63292 /* We use char because int might match the return type of a gcc2
63293    builtin and then its argument prototype would still apply.  */
63294 char $ac_func ();
63295 /* The GNU C library defines this for functions which it implements
63296     to always fail with ENOSYS.  Some functions are actually named
63297     something starting with __ and the normal name is an alias.  */
63298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63299 choke me
63300 #else
63301 char (*f) () = $ac_func;
63302 #endif
63303 #ifdef __cplusplus
63304 }
63305 #endif
63306
63307 int
63308 main ()
63309 {
63310 return f != $ac_func;
63311   ;
63312   return 0;
63313 }
63314 _ACEOF
63315 rm -f conftest.$ac_objext conftest$ac_exeext
63316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63317   (eval $ac_link) 2>conftest.er1
63318   ac_status=$?
63319   grep -v '^ *+' conftest.er1 >conftest.err
63320   rm -f conftest.er1
63321   cat conftest.err >&5
63322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63323   (exit $ac_status); } &&
63324          { ac_try='test -z "$ac_c_werror_flag"
63325                          || test ! -s conftest.err'
63326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63327   (eval $ac_try) 2>&5
63328   ac_status=$?
63329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63330   (exit $ac_status); }; } &&
63331          { ac_try='test -s conftest$ac_exeext'
63332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63333   (eval $ac_try) 2>&5
63334   ac_status=$?
63335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63336   (exit $ac_status); }; }; then
63337   eval "$as_ac_var=yes"
63338 else
63339   echo "$as_me: failed program was:" >&5
63340 sed 's/^/| /' conftest.$ac_ext >&5
63341
63342 eval "$as_ac_var=no"
63343 fi
63344 rm -f conftest.err conftest.$ac_objext \
63345       conftest$ac_exeext conftest.$ac_ext
63346 fi
63347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63349 if test `eval echo '${'$as_ac_var'}'` = yes; then
63350   cat >>confdefs.h <<_ACEOF
63351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63352 _ACEOF
63353
63354 fi
63355 done
63356
63357   else
63358     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
63359 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
63360     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
63361   echo $ECHO_N "(cached) $ECHO_C" >&6
63362 else
63363
63364
63365
63366       ac_ext=cc
63367 ac_cpp='$CXXCPP $CPPFLAGS'
63368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63371
63372       cat >conftest.$ac_ext <<_ACEOF
63373 /* confdefs.h.  */
63374 _ACEOF
63375 cat confdefs.h >>conftest.$ac_ext
63376 cat >>conftest.$ac_ext <<_ACEOF
63377 /* end confdefs.h.  */
63378 #include <math.h>
63379 int
63380 main ()
63381 {
63382 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63383   ;
63384   return 0;
63385 }
63386 _ACEOF
63387 rm -f conftest.$ac_objext
63388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63389   (eval $ac_compile) 2>conftest.er1
63390   ac_status=$?
63391   grep -v '^ *+' conftest.er1 >conftest.err
63392   rm -f conftest.er1
63393   cat conftest.err >&5
63394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63395   (exit $ac_status); } &&
63396          { ac_try='test -z "$ac_cxx_werror_flag"
63397                          || test ! -s conftest.err'
63398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63399   (eval $ac_try) 2>&5
63400   ac_status=$?
63401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63402   (exit $ac_status); }; } &&
63403          { ac_try='test -s conftest.$ac_objext'
63404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63405   (eval $ac_try) 2>&5
63406   ac_status=$?
63407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63408   (exit $ac_status); }; }; then
63409   glibcxx_cv_func__long_double_trig_use=yes
63410 else
63411   echo "$as_me: failed program was:" >&5
63412 sed 's/^/| /' conftest.$ac_ext >&5
63413
63414 glibcxx_cv_func__long_double_trig_use=no
63415 fi
63416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63417       ac_ext=c
63418 ac_cpp='$CPP $CPPFLAGS'
63419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63422
63423 fi
63424
63425     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
63426 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
63427     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63428
63429
63430
63431
63432
63433
63434
63435
63436
63437 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63438 do
63439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63440 echo "$as_me:$LINENO: checking for $ac_func" >&5
63441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63442 if eval "test \"\${$as_ac_var+set}\" = set"; then
63443   echo $ECHO_N "(cached) $ECHO_C" >&6
63444 else
63445   if test x$gcc_no_link = xyes; then
63446   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63448    { (exit 1); exit 1; }; }
63449 fi
63450 cat >conftest.$ac_ext <<_ACEOF
63451 /* confdefs.h.  */
63452 _ACEOF
63453 cat confdefs.h >>conftest.$ac_ext
63454 cat >>conftest.$ac_ext <<_ACEOF
63455 /* end confdefs.h.  */
63456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63457    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63458 #define $ac_func innocuous_$ac_func
63459
63460 /* System header to define __stub macros and hopefully few prototypes,
63461     which can conflict with char $ac_func (); below.
63462     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63463     <limits.h> exists even on freestanding compilers.  */
63464
63465 #ifdef __STDC__
63466 # include <limits.h>
63467 #else
63468 # include <assert.h>
63469 #endif
63470
63471 #undef $ac_func
63472
63473 /* Override any gcc2 internal prototype to avoid an error.  */
63474 #ifdef __cplusplus
63475 extern "C"
63476 {
63477 #endif
63478 /* We use char because int might match the return type of a gcc2
63479    builtin and then its argument prototype would still apply.  */
63480 char $ac_func ();
63481 /* The GNU C library defines this for functions which it implements
63482     to always fail with ENOSYS.  Some functions are actually named
63483     something starting with __ and the normal name is an alias.  */
63484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63485 choke me
63486 #else
63487 char (*f) () = $ac_func;
63488 #endif
63489 #ifdef __cplusplus
63490 }
63491 #endif
63492
63493 int
63494 main ()
63495 {
63496 return f != $ac_func;
63497   ;
63498   return 0;
63499 }
63500 _ACEOF
63501 rm -f conftest.$ac_objext conftest$ac_exeext
63502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63503   (eval $ac_link) 2>conftest.er1
63504   ac_status=$?
63505   grep -v '^ *+' conftest.er1 >conftest.err
63506   rm -f conftest.er1
63507   cat conftest.err >&5
63508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63509   (exit $ac_status); } &&
63510          { ac_try='test -z "$ac_c_werror_flag"
63511                          || test ! -s conftest.err'
63512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63513   (eval $ac_try) 2>&5
63514   ac_status=$?
63515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63516   (exit $ac_status); }; } &&
63517          { ac_try='test -s conftest$ac_exeext'
63518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63519   (eval $ac_try) 2>&5
63520   ac_status=$?
63521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63522   (exit $ac_status); }; }; then
63523   eval "$as_ac_var=yes"
63524 else
63525   echo "$as_me: failed program was:" >&5
63526 sed 's/^/| /' conftest.$ac_ext >&5
63527
63528 eval "$as_ac_var=no"
63529 fi
63530 rm -f conftest.err conftest.$ac_objext \
63531       conftest$ac_exeext conftest.$ac_ext
63532 fi
63533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63534 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63535 if test `eval echo '${'$as_ac_var'}'` = yes; then
63536   cat >>confdefs.h <<_ACEOF
63537 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63538 _ACEOF
63539
63540 fi
63541 done
63542
63543     fi
63544   fi
63545
63546
63547
63548
63549
63550
63551
63552
63553
63554
63555
63556
63557
63558
63559     echo "$as_me:$LINENO: checking for long double round functions" >&5
63560 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
63561   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
63562   echo $ECHO_N "(cached) $ECHO_C" >&6
63563 else
63564
63565
63566
63567     ac_ext=cc
63568 ac_cpp='$CXXCPP $CPPFLAGS'
63569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63572
63573     cat >conftest.$ac_ext <<_ACEOF
63574 /* confdefs.h.  */
63575 _ACEOF
63576 cat confdefs.h >>conftest.$ac_ext
63577 cat >>conftest.$ac_ext <<_ACEOF
63578 /* end confdefs.h.  */
63579 #include <math.h>
63580 int
63581 main ()
63582 {
63583 ceill (0); floorl (0);
63584   ;
63585   return 0;
63586 }
63587 _ACEOF
63588 rm -f conftest.$ac_objext
63589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63590   (eval $ac_compile) 2>conftest.er1
63591   ac_status=$?
63592   grep -v '^ *+' conftest.er1 >conftest.err
63593   rm -f conftest.er1
63594   cat conftest.err >&5
63595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63596   (exit $ac_status); } &&
63597          { ac_try='test -z "$ac_cxx_werror_flag"
63598                          || test ! -s conftest.err'
63599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63600   (eval $ac_try) 2>&5
63601   ac_status=$?
63602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63603   (exit $ac_status); }; } &&
63604          { ac_try='test -s conftest.$ac_objext'
63605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63606   (eval $ac_try) 2>&5
63607   ac_status=$?
63608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63609   (exit $ac_status); }; }; then
63610   glibcxx_cv_func_long_double_round_use=yes
63611 else
63612   echo "$as_me: failed program was:" >&5
63613 sed 's/^/| /' conftest.$ac_ext >&5
63614
63615 glibcxx_cv_func_long_double_round_use=no
63616 fi
63617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63618     ac_ext=c
63619 ac_cpp='$CPP $CPPFLAGS'
63620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63623
63624 fi
63625
63626   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
63627 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
63628   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63629
63630
63631 for ac_func in ceill floorl
63632 do
63633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63634 echo "$as_me:$LINENO: checking for $ac_func" >&5
63635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63636 if eval "test \"\${$as_ac_var+set}\" = set"; then
63637   echo $ECHO_N "(cached) $ECHO_C" >&6
63638 else
63639   if test x$gcc_no_link = xyes; then
63640   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63642    { (exit 1); exit 1; }; }
63643 fi
63644 cat >conftest.$ac_ext <<_ACEOF
63645 /* confdefs.h.  */
63646 _ACEOF
63647 cat confdefs.h >>conftest.$ac_ext
63648 cat >>conftest.$ac_ext <<_ACEOF
63649 /* end confdefs.h.  */
63650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63651    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63652 #define $ac_func innocuous_$ac_func
63653
63654 /* System header to define __stub macros and hopefully few prototypes,
63655     which can conflict with char $ac_func (); below.
63656     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63657     <limits.h> exists even on freestanding compilers.  */
63658
63659 #ifdef __STDC__
63660 # include <limits.h>
63661 #else
63662 # include <assert.h>
63663 #endif
63664
63665 #undef $ac_func
63666
63667 /* Override any gcc2 internal prototype to avoid an error.  */
63668 #ifdef __cplusplus
63669 extern "C"
63670 {
63671 #endif
63672 /* We use char because int might match the return type of a gcc2
63673    builtin and then its argument prototype would still apply.  */
63674 char $ac_func ();
63675 /* The GNU C library defines this for functions which it implements
63676     to always fail with ENOSYS.  Some functions are actually named
63677     something starting with __ and the normal name is an alias.  */
63678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63679 choke me
63680 #else
63681 char (*f) () = $ac_func;
63682 #endif
63683 #ifdef __cplusplus
63684 }
63685 #endif
63686
63687 int
63688 main ()
63689 {
63690 return f != $ac_func;
63691   ;
63692   return 0;
63693 }
63694 _ACEOF
63695 rm -f conftest.$ac_objext conftest$ac_exeext
63696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63697   (eval $ac_link) 2>conftest.er1
63698   ac_status=$?
63699   grep -v '^ *+' conftest.er1 >conftest.err
63700   rm -f conftest.er1
63701   cat conftest.err >&5
63702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63703   (exit $ac_status); } &&
63704          { ac_try='test -z "$ac_c_werror_flag"
63705                          || test ! -s conftest.err'
63706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63707   (eval $ac_try) 2>&5
63708   ac_status=$?
63709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63710   (exit $ac_status); }; } &&
63711          { ac_try='test -s conftest$ac_exeext'
63712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63713   (eval $ac_try) 2>&5
63714   ac_status=$?
63715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63716   (exit $ac_status); }; }; then
63717   eval "$as_ac_var=yes"
63718 else
63719   echo "$as_me: failed program was:" >&5
63720 sed 's/^/| /' conftest.$ac_ext >&5
63721
63722 eval "$as_ac_var=no"
63723 fi
63724 rm -f conftest.err conftest.$ac_objext \
63725       conftest$ac_exeext conftest.$ac_ext
63726 fi
63727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63729 if test `eval echo '${'$as_ac_var'}'` = yes; then
63730   cat >>confdefs.h <<_ACEOF
63731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63732 _ACEOF
63733
63734 fi
63735 done
63736
63737   else
63738     echo "$as_me:$LINENO: checking for _long double round functions" >&5
63739 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
63740     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
63741   echo $ECHO_N "(cached) $ECHO_C" >&6
63742 else
63743
63744
63745
63746       ac_ext=cc
63747 ac_cpp='$CXXCPP $CPPFLAGS'
63748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63751
63752       cat >conftest.$ac_ext <<_ACEOF
63753 /* confdefs.h.  */
63754 _ACEOF
63755 cat confdefs.h >>conftest.$ac_ext
63756 cat >>conftest.$ac_ext <<_ACEOF
63757 /* end confdefs.h.  */
63758 #include <math.h>
63759 int
63760 main ()
63761 {
63762 _ceill (0); _floorl (0);
63763   ;
63764   return 0;
63765 }
63766 _ACEOF
63767 rm -f conftest.$ac_objext
63768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63769   (eval $ac_compile) 2>conftest.er1
63770   ac_status=$?
63771   grep -v '^ *+' conftest.er1 >conftest.err
63772   rm -f conftest.er1
63773   cat conftest.err >&5
63774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63775   (exit $ac_status); } &&
63776          { ac_try='test -z "$ac_cxx_werror_flag"
63777                          || test ! -s conftest.err'
63778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63779   (eval $ac_try) 2>&5
63780   ac_status=$?
63781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63782   (exit $ac_status); }; } &&
63783          { ac_try='test -s conftest.$ac_objext'
63784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63785   (eval $ac_try) 2>&5
63786   ac_status=$?
63787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63788   (exit $ac_status); }; }; then
63789   glibcxx_cv_func__long_double_round_use=yes
63790 else
63791   echo "$as_me: failed program was:" >&5
63792 sed 's/^/| /' conftest.$ac_ext >&5
63793
63794 glibcxx_cv_func__long_double_round_use=no
63795 fi
63796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63797       ac_ext=c
63798 ac_cpp='$CPP $CPPFLAGS'
63799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63802
63803 fi
63804
63805     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
63806 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
63807     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
63808
63809
63810 for ac_func in _ceill _floorl
63811 do
63812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63813 echo "$as_me:$LINENO: checking for $ac_func" >&5
63814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63815 if eval "test \"\${$as_ac_var+set}\" = set"; then
63816   echo $ECHO_N "(cached) $ECHO_C" >&6
63817 else
63818   if test x$gcc_no_link = xyes; then
63819   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63821    { (exit 1); exit 1; }; }
63822 fi
63823 cat >conftest.$ac_ext <<_ACEOF
63824 /* confdefs.h.  */
63825 _ACEOF
63826 cat confdefs.h >>conftest.$ac_ext
63827 cat >>conftest.$ac_ext <<_ACEOF
63828 /* end confdefs.h.  */
63829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63830    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63831 #define $ac_func innocuous_$ac_func
63832
63833 /* System header to define __stub macros and hopefully few prototypes,
63834     which can conflict with char $ac_func (); below.
63835     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63836     <limits.h> exists even on freestanding compilers.  */
63837
63838 #ifdef __STDC__
63839 # include <limits.h>
63840 #else
63841 # include <assert.h>
63842 #endif
63843
63844 #undef $ac_func
63845
63846 /* Override any gcc2 internal prototype to avoid an error.  */
63847 #ifdef __cplusplus
63848 extern "C"
63849 {
63850 #endif
63851 /* We use char because int might match the return type of a gcc2
63852    builtin and then its argument prototype would still apply.  */
63853 char $ac_func ();
63854 /* The GNU C library defines this for functions which it implements
63855     to always fail with ENOSYS.  Some functions are actually named
63856     something starting with __ and the normal name is an alias.  */
63857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63858 choke me
63859 #else
63860 char (*f) () = $ac_func;
63861 #endif
63862 #ifdef __cplusplus
63863 }
63864 #endif
63865
63866 int
63867 main ()
63868 {
63869 return f != $ac_func;
63870   ;
63871   return 0;
63872 }
63873 _ACEOF
63874 rm -f conftest.$ac_objext conftest$ac_exeext
63875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63876   (eval $ac_link) 2>conftest.er1
63877   ac_status=$?
63878   grep -v '^ *+' conftest.er1 >conftest.err
63879   rm -f conftest.er1
63880   cat conftest.err >&5
63881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63882   (exit $ac_status); } &&
63883          { ac_try='test -z "$ac_c_werror_flag"
63884                          || test ! -s conftest.err'
63885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63886   (eval $ac_try) 2>&5
63887   ac_status=$?
63888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63889   (exit $ac_status); }; } &&
63890          { ac_try='test -s conftest$ac_exeext'
63891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63892   (eval $ac_try) 2>&5
63893   ac_status=$?
63894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63895   (exit $ac_status); }; }; then
63896   eval "$as_ac_var=yes"
63897 else
63898   echo "$as_me: failed program was:" >&5
63899 sed 's/^/| /' conftest.$ac_ext >&5
63900
63901 eval "$as_ac_var=no"
63902 fi
63903 rm -f conftest.err conftest.$ac_objext \
63904       conftest$ac_exeext conftest.$ac_ext
63905 fi
63906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63908 if test `eval echo '${'$as_ac_var'}'` = yes; then
63909   cat >>confdefs.h <<_ACEOF
63910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63911 _ACEOF
63912
63913 fi
63914 done
63915
63916     fi
63917   fi
63918
63919
63920
63921
63922
63923
63924
63925
63926   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
63927 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
63928   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63929     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
63930   echo $ECHO_N "(cached) $ECHO_C" >&6
63931 else
63932
63933
63934
63935       ac_ext=cc
63936 ac_cpp='$CXXCPP $CPPFLAGS'
63937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63940
63941       cat >conftest.$ac_ext <<_ACEOF
63942 /* confdefs.h.  */
63943 _ACEOF
63944 cat confdefs.h >>conftest.$ac_ext
63945 cat >>conftest.$ac_ext <<_ACEOF
63946 /* end confdefs.h.  */
63947 #include <math.h>
63948                       #ifdef HAVE_IEEEFP_H
63949                       #include <ieeefp.h>
63950                       #endif
63951
63952 int
63953 main ()
63954 {
63955  isnanl(0);
63956   ;
63957   return 0;
63958 }
63959 _ACEOF
63960 rm -f conftest.$ac_objext
63961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63962   (eval $ac_compile) 2>conftest.er1
63963   ac_status=$?
63964   grep -v '^ *+' conftest.er1 >conftest.err
63965   rm -f conftest.er1
63966   cat conftest.err >&5
63967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63968   (exit $ac_status); } &&
63969          { ac_try='test -z "$ac_cxx_werror_flag"
63970                          || test ! -s conftest.err'
63971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63972   (eval $ac_try) 2>&5
63973   ac_status=$?
63974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63975   (exit $ac_status); }; } &&
63976          { ac_try='test -s conftest.$ac_objext'
63977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63978   (eval $ac_try) 2>&5
63979   ac_status=$?
63980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63981   (exit $ac_status); }; }; then
63982   glibcxx_cv_func_isnanl_use=yes
63983 else
63984   echo "$as_me: failed program was:" >&5
63985 sed 's/^/| /' conftest.$ac_ext >&5
63986
63987 glibcxx_cv_func_isnanl_use=no
63988 fi
63989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63990       ac_ext=c
63991 ac_cpp='$CPP $CPPFLAGS'
63992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63995
63996
63997 fi
63998
63999   fi
64000   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
64001 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
64002
64003   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64004
64005 for ac_func in isnanl
64006 do
64007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64008 echo "$as_me:$LINENO: checking for $ac_func" >&5
64009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64010 if eval "test \"\${$as_ac_var+set}\" = set"; then
64011   echo $ECHO_N "(cached) $ECHO_C" >&6
64012 else
64013   if test x$gcc_no_link = xyes; then
64014   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64016    { (exit 1); exit 1; }; }
64017 fi
64018 cat >conftest.$ac_ext <<_ACEOF
64019 /* confdefs.h.  */
64020 _ACEOF
64021 cat confdefs.h >>conftest.$ac_ext
64022 cat >>conftest.$ac_ext <<_ACEOF
64023 /* end confdefs.h.  */
64024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64025    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64026 #define $ac_func innocuous_$ac_func
64027
64028 /* System header to define __stub macros and hopefully few prototypes,
64029     which can conflict with char $ac_func (); below.
64030     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64031     <limits.h> exists even on freestanding compilers.  */
64032
64033 #ifdef __STDC__
64034 # include <limits.h>
64035 #else
64036 # include <assert.h>
64037 #endif
64038
64039 #undef $ac_func
64040
64041 /* Override any gcc2 internal prototype to avoid an error.  */
64042 #ifdef __cplusplus
64043 extern "C"
64044 {
64045 #endif
64046 /* We use char because int might match the return type of a gcc2
64047    builtin and then its argument prototype would still apply.  */
64048 char $ac_func ();
64049 /* The GNU C library defines this for functions which it implements
64050     to always fail with ENOSYS.  Some functions are actually named
64051     something starting with __ and the normal name is an alias.  */
64052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64053 choke me
64054 #else
64055 char (*f) () = $ac_func;
64056 #endif
64057 #ifdef __cplusplus
64058 }
64059 #endif
64060
64061 int
64062 main ()
64063 {
64064 return f != $ac_func;
64065   ;
64066   return 0;
64067 }
64068 _ACEOF
64069 rm -f conftest.$ac_objext conftest$ac_exeext
64070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64071   (eval $ac_link) 2>conftest.er1
64072   ac_status=$?
64073   grep -v '^ *+' conftest.er1 >conftest.err
64074   rm -f conftest.er1
64075   cat conftest.err >&5
64076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64077   (exit $ac_status); } &&
64078          { ac_try='test -z "$ac_c_werror_flag"
64079                          || test ! -s conftest.err'
64080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64081   (eval $ac_try) 2>&5
64082   ac_status=$?
64083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64084   (exit $ac_status); }; } &&
64085          { ac_try='test -s conftest$ac_exeext'
64086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64087   (eval $ac_try) 2>&5
64088   ac_status=$?
64089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64090   (exit $ac_status); }; }; then
64091   eval "$as_ac_var=yes"
64092 else
64093   echo "$as_me: failed program was:" >&5
64094 sed 's/^/| /' conftest.$ac_ext >&5
64095
64096 eval "$as_ac_var=no"
64097 fi
64098 rm -f conftest.err conftest.$ac_objext \
64099       conftest$ac_exeext conftest.$ac_ext
64100 fi
64101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64103 if test `eval echo '${'$as_ac_var'}'` = yes; then
64104   cat >>confdefs.h <<_ACEOF
64105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64106 _ACEOF
64107
64108 fi
64109 done
64110
64111   else
64112
64113   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
64114 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
64115   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64116     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
64117   echo $ECHO_N "(cached) $ECHO_C" >&6
64118 else
64119
64120
64121
64122       ac_ext=cc
64123 ac_cpp='$CXXCPP $CPPFLAGS'
64124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64127
64128       cat >conftest.$ac_ext <<_ACEOF
64129 /* confdefs.h.  */
64130 _ACEOF
64131 cat confdefs.h >>conftest.$ac_ext
64132 cat >>conftest.$ac_ext <<_ACEOF
64133 /* end confdefs.h.  */
64134 #include <math.h>
64135                       #ifdef HAVE_IEEEFP_H
64136                       #include <ieeefp.h>
64137                       #endif
64138
64139 int
64140 main ()
64141 {
64142  _isnanl(0);
64143   ;
64144   return 0;
64145 }
64146 _ACEOF
64147 rm -f conftest.$ac_objext
64148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64149   (eval $ac_compile) 2>conftest.er1
64150   ac_status=$?
64151   grep -v '^ *+' conftest.er1 >conftest.err
64152   rm -f conftest.er1
64153   cat conftest.err >&5
64154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64155   (exit $ac_status); } &&
64156          { ac_try='test -z "$ac_cxx_werror_flag"
64157                          || test ! -s conftest.err'
64158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64159   (eval $ac_try) 2>&5
64160   ac_status=$?
64161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64162   (exit $ac_status); }; } &&
64163          { ac_try='test -s conftest.$ac_objext'
64164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64165   (eval $ac_try) 2>&5
64166   ac_status=$?
64167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64168   (exit $ac_status); }; }; then
64169   glibcxx_cv_func__isnanl_use=yes
64170 else
64171   echo "$as_me: failed program was:" >&5
64172 sed 's/^/| /' conftest.$ac_ext >&5
64173
64174 glibcxx_cv_func__isnanl_use=no
64175 fi
64176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64177       ac_ext=c
64178 ac_cpp='$CPP $CPPFLAGS'
64179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64182
64183
64184 fi
64185
64186   fi
64187   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
64188 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
64189
64190     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64191
64192 for ac_func in _isnanl
64193 do
64194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64195 echo "$as_me:$LINENO: checking for $ac_func" >&5
64196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64197 if eval "test \"\${$as_ac_var+set}\" = set"; then
64198   echo $ECHO_N "(cached) $ECHO_C" >&6
64199 else
64200   if test x$gcc_no_link = xyes; then
64201   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64203    { (exit 1); exit 1; }; }
64204 fi
64205 cat >conftest.$ac_ext <<_ACEOF
64206 /* confdefs.h.  */
64207 _ACEOF
64208 cat confdefs.h >>conftest.$ac_ext
64209 cat >>conftest.$ac_ext <<_ACEOF
64210 /* end confdefs.h.  */
64211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64212    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64213 #define $ac_func innocuous_$ac_func
64214
64215 /* System header to define __stub macros and hopefully few prototypes,
64216     which can conflict with char $ac_func (); below.
64217     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64218     <limits.h> exists even on freestanding compilers.  */
64219
64220 #ifdef __STDC__
64221 # include <limits.h>
64222 #else
64223 # include <assert.h>
64224 #endif
64225
64226 #undef $ac_func
64227
64228 /* Override any gcc2 internal prototype to avoid an error.  */
64229 #ifdef __cplusplus
64230 extern "C"
64231 {
64232 #endif
64233 /* We use char because int might match the return type of a gcc2
64234    builtin and then its argument prototype would still apply.  */
64235 char $ac_func ();
64236 /* The GNU C library defines this for functions which it implements
64237     to always fail with ENOSYS.  Some functions are actually named
64238     something starting with __ and the normal name is an alias.  */
64239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64240 choke me
64241 #else
64242 char (*f) () = $ac_func;
64243 #endif
64244 #ifdef __cplusplus
64245 }
64246 #endif
64247
64248 int
64249 main ()
64250 {
64251 return f != $ac_func;
64252   ;
64253   return 0;
64254 }
64255 _ACEOF
64256 rm -f conftest.$ac_objext conftest$ac_exeext
64257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64258   (eval $ac_link) 2>conftest.er1
64259   ac_status=$?
64260   grep -v '^ *+' conftest.er1 >conftest.err
64261   rm -f conftest.er1
64262   cat conftest.err >&5
64263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64264   (exit $ac_status); } &&
64265          { ac_try='test -z "$ac_c_werror_flag"
64266                          || test ! -s conftest.err'
64267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64268   (eval $ac_try) 2>&5
64269   ac_status=$?
64270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64271   (exit $ac_status); }; } &&
64272          { ac_try='test -s conftest$ac_exeext'
64273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64274   (eval $ac_try) 2>&5
64275   ac_status=$?
64276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64277   (exit $ac_status); }; }; then
64278   eval "$as_ac_var=yes"
64279 else
64280   echo "$as_me: failed program was:" >&5
64281 sed 's/^/| /' conftest.$ac_ext >&5
64282
64283 eval "$as_ac_var=no"
64284 fi
64285 rm -f conftest.err conftest.$ac_objext \
64286       conftest$ac_exeext conftest.$ac_ext
64287 fi
64288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64290 if test `eval echo '${'$as_ac_var'}'` = yes; then
64291   cat >>confdefs.h <<_ACEOF
64292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64293 _ACEOF
64294
64295 fi
64296 done
64297
64298     fi
64299   fi
64300
64301
64302
64303
64304
64305
64306   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
64307 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
64308   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64309     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
64310   echo $ECHO_N "(cached) $ECHO_C" >&6
64311 else
64312
64313
64314
64315       ac_ext=cc
64316 ac_cpp='$CXXCPP $CPPFLAGS'
64317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64320
64321       cat >conftest.$ac_ext <<_ACEOF
64322 /* confdefs.h.  */
64323 _ACEOF
64324 cat confdefs.h >>conftest.$ac_ext
64325 cat >>conftest.$ac_ext <<_ACEOF
64326 /* end confdefs.h.  */
64327 #include <math.h>
64328                       #ifdef HAVE_IEEEFP_H
64329                       #include <ieeefp.h>
64330                       #endif
64331
64332 int
64333 main ()
64334 {
64335  isinfl(0);
64336   ;
64337   return 0;
64338 }
64339 _ACEOF
64340 rm -f conftest.$ac_objext
64341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64342   (eval $ac_compile) 2>conftest.er1
64343   ac_status=$?
64344   grep -v '^ *+' conftest.er1 >conftest.err
64345   rm -f conftest.er1
64346   cat conftest.err >&5
64347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64348   (exit $ac_status); } &&
64349          { ac_try='test -z "$ac_cxx_werror_flag"
64350                          || test ! -s conftest.err'
64351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64352   (eval $ac_try) 2>&5
64353   ac_status=$?
64354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64355   (exit $ac_status); }; } &&
64356          { ac_try='test -s conftest.$ac_objext'
64357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64358   (eval $ac_try) 2>&5
64359   ac_status=$?
64360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64361   (exit $ac_status); }; }; then
64362   glibcxx_cv_func_isinfl_use=yes
64363 else
64364   echo "$as_me: failed program was:" >&5
64365 sed 's/^/| /' conftest.$ac_ext >&5
64366
64367 glibcxx_cv_func_isinfl_use=no
64368 fi
64369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64370       ac_ext=c
64371 ac_cpp='$CPP $CPPFLAGS'
64372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64375
64376
64377 fi
64378
64379   fi
64380   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
64381 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
64382
64383   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64384
64385 for ac_func in isinfl
64386 do
64387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64388 echo "$as_me:$LINENO: checking for $ac_func" >&5
64389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64390 if eval "test \"\${$as_ac_var+set}\" = set"; then
64391   echo $ECHO_N "(cached) $ECHO_C" >&6
64392 else
64393   if test x$gcc_no_link = xyes; then
64394   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64396    { (exit 1); exit 1; }; }
64397 fi
64398 cat >conftest.$ac_ext <<_ACEOF
64399 /* confdefs.h.  */
64400 _ACEOF
64401 cat confdefs.h >>conftest.$ac_ext
64402 cat >>conftest.$ac_ext <<_ACEOF
64403 /* end confdefs.h.  */
64404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64405    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64406 #define $ac_func innocuous_$ac_func
64407
64408 /* System header to define __stub macros and hopefully few prototypes,
64409     which can conflict with char $ac_func (); below.
64410     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64411     <limits.h> exists even on freestanding compilers.  */
64412
64413 #ifdef __STDC__
64414 # include <limits.h>
64415 #else
64416 # include <assert.h>
64417 #endif
64418
64419 #undef $ac_func
64420
64421 /* Override any gcc2 internal prototype to avoid an error.  */
64422 #ifdef __cplusplus
64423 extern "C"
64424 {
64425 #endif
64426 /* We use char because int might match the return type of a gcc2
64427    builtin and then its argument prototype would still apply.  */
64428 char $ac_func ();
64429 /* The GNU C library defines this for functions which it implements
64430     to always fail with ENOSYS.  Some functions are actually named
64431     something starting with __ and the normal name is an alias.  */
64432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64433 choke me
64434 #else
64435 char (*f) () = $ac_func;
64436 #endif
64437 #ifdef __cplusplus
64438 }
64439 #endif
64440
64441 int
64442 main ()
64443 {
64444 return f != $ac_func;
64445   ;
64446   return 0;
64447 }
64448 _ACEOF
64449 rm -f conftest.$ac_objext conftest$ac_exeext
64450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64451   (eval $ac_link) 2>conftest.er1
64452   ac_status=$?
64453   grep -v '^ *+' conftest.er1 >conftest.err
64454   rm -f conftest.er1
64455   cat conftest.err >&5
64456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64457   (exit $ac_status); } &&
64458          { ac_try='test -z "$ac_c_werror_flag"
64459                          || test ! -s conftest.err'
64460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64461   (eval $ac_try) 2>&5
64462   ac_status=$?
64463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64464   (exit $ac_status); }; } &&
64465          { ac_try='test -s conftest$ac_exeext'
64466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64467   (eval $ac_try) 2>&5
64468   ac_status=$?
64469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64470   (exit $ac_status); }; }; then
64471   eval "$as_ac_var=yes"
64472 else
64473   echo "$as_me: failed program was:" >&5
64474 sed 's/^/| /' conftest.$ac_ext >&5
64475
64476 eval "$as_ac_var=no"
64477 fi
64478 rm -f conftest.err conftest.$ac_objext \
64479       conftest$ac_exeext conftest.$ac_ext
64480 fi
64481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64483 if test `eval echo '${'$as_ac_var'}'` = yes; then
64484   cat >>confdefs.h <<_ACEOF
64485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64486 _ACEOF
64487
64488 fi
64489 done
64490
64491   else
64492
64493   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
64494 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
64495   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64496     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
64497   echo $ECHO_N "(cached) $ECHO_C" >&6
64498 else
64499
64500
64501
64502       ac_ext=cc
64503 ac_cpp='$CXXCPP $CPPFLAGS'
64504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64507
64508       cat >conftest.$ac_ext <<_ACEOF
64509 /* confdefs.h.  */
64510 _ACEOF
64511 cat confdefs.h >>conftest.$ac_ext
64512 cat >>conftest.$ac_ext <<_ACEOF
64513 /* end confdefs.h.  */
64514 #include <math.h>
64515                       #ifdef HAVE_IEEEFP_H
64516                       #include <ieeefp.h>
64517                       #endif
64518
64519 int
64520 main ()
64521 {
64522  _isinfl(0);
64523   ;
64524   return 0;
64525 }
64526 _ACEOF
64527 rm -f conftest.$ac_objext
64528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64529   (eval $ac_compile) 2>conftest.er1
64530   ac_status=$?
64531   grep -v '^ *+' conftest.er1 >conftest.err
64532   rm -f conftest.er1
64533   cat conftest.err >&5
64534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64535   (exit $ac_status); } &&
64536          { ac_try='test -z "$ac_cxx_werror_flag"
64537                          || test ! -s conftest.err'
64538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64539   (eval $ac_try) 2>&5
64540   ac_status=$?
64541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64542   (exit $ac_status); }; } &&
64543          { ac_try='test -s conftest.$ac_objext'
64544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64545   (eval $ac_try) 2>&5
64546   ac_status=$?
64547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64548   (exit $ac_status); }; }; then
64549   glibcxx_cv_func__isinfl_use=yes
64550 else
64551   echo "$as_me: failed program was:" >&5
64552 sed 's/^/| /' conftest.$ac_ext >&5
64553
64554 glibcxx_cv_func__isinfl_use=no
64555 fi
64556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64557       ac_ext=c
64558 ac_cpp='$CPP $CPPFLAGS'
64559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64562
64563
64564 fi
64565
64566   fi
64567   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
64568 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
64569
64570     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64571
64572 for ac_func in _isinfl
64573 do
64574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64575 echo "$as_me:$LINENO: checking for $ac_func" >&5
64576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64577 if eval "test \"\${$as_ac_var+set}\" = set"; then
64578   echo $ECHO_N "(cached) $ECHO_C" >&6
64579 else
64580   if test x$gcc_no_link = xyes; then
64581   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64583    { (exit 1); exit 1; }; }
64584 fi
64585 cat >conftest.$ac_ext <<_ACEOF
64586 /* confdefs.h.  */
64587 _ACEOF
64588 cat confdefs.h >>conftest.$ac_ext
64589 cat >>conftest.$ac_ext <<_ACEOF
64590 /* end confdefs.h.  */
64591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64592    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64593 #define $ac_func innocuous_$ac_func
64594
64595 /* System header to define __stub macros and hopefully few prototypes,
64596     which can conflict with char $ac_func (); below.
64597     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64598     <limits.h> exists even on freestanding compilers.  */
64599
64600 #ifdef __STDC__
64601 # include <limits.h>
64602 #else
64603 # include <assert.h>
64604 #endif
64605
64606 #undef $ac_func
64607
64608 /* Override any gcc2 internal prototype to avoid an error.  */
64609 #ifdef __cplusplus
64610 extern "C"
64611 {
64612 #endif
64613 /* We use char because int might match the return type of a gcc2
64614    builtin and then its argument prototype would still apply.  */
64615 char $ac_func ();
64616 /* The GNU C library defines this for functions which it implements
64617     to always fail with ENOSYS.  Some functions are actually named
64618     something starting with __ and the normal name is an alias.  */
64619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64620 choke me
64621 #else
64622 char (*f) () = $ac_func;
64623 #endif
64624 #ifdef __cplusplus
64625 }
64626 #endif
64627
64628 int
64629 main ()
64630 {
64631 return f != $ac_func;
64632   ;
64633   return 0;
64634 }
64635 _ACEOF
64636 rm -f conftest.$ac_objext conftest$ac_exeext
64637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64638   (eval $ac_link) 2>conftest.er1
64639   ac_status=$?
64640   grep -v '^ *+' conftest.er1 >conftest.err
64641   rm -f conftest.er1
64642   cat conftest.err >&5
64643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64644   (exit $ac_status); } &&
64645          { ac_try='test -z "$ac_c_werror_flag"
64646                          || test ! -s conftest.err'
64647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64648   (eval $ac_try) 2>&5
64649   ac_status=$?
64650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64651   (exit $ac_status); }; } &&
64652          { ac_try='test -s conftest$ac_exeext'
64653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64654   (eval $ac_try) 2>&5
64655   ac_status=$?
64656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64657   (exit $ac_status); }; }; then
64658   eval "$as_ac_var=yes"
64659 else
64660   echo "$as_me: failed program was:" >&5
64661 sed 's/^/| /' conftest.$ac_ext >&5
64662
64663 eval "$as_ac_var=no"
64664 fi
64665 rm -f conftest.err conftest.$ac_objext \
64666       conftest$ac_exeext conftest.$ac_ext
64667 fi
64668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64670 if test `eval echo '${'$as_ac_var'}'` = yes; then
64671   cat >>confdefs.h <<_ACEOF
64672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64673 _ACEOF
64674
64675 fi
64676 done
64677
64678     fi
64679   fi
64680
64681
64682
64683
64684
64685
64686   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
64687 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
64688   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
64689     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
64690   echo $ECHO_N "(cached) $ECHO_C" >&6
64691 else
64692
64693
64694
64695       ac_ext=cc
64696 ac_cpp='$CXXCPP $CPPFLAGS'
64697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64700
64701       cat >conftest.$ac_ext <<_ACEOF
64702 /* confdefs.h.  */
64703 _ACEOF
64704 cat confdefs.h >>conftest.$ac_ext
64705 cat >>conftest.$ac_ext <<_ACEOF
64706 /* end confdefs.h.  */
64707 #include <math.h>
64708 int
64709 main ()
64710 {
64711  copysignl(0, 0);
64712   ;
64713   return 0;
64714 }
64715 _ACEOF
64716 rm -f conftest.$ac_objext
64717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64718   (eval $ac_compile) 2>conftest.er1
64719   ac_status=$?
64720   grep -v '^ *+' conftest.er1 >conftest.err
64721   rm -f conftest.er1
64722   cat conftest.err >&5
64723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64724   (exit $ac_status); } &&
64725          { ac_try='test -z "$ac_cxx_werror_flag"
64726                          || test ! -s conftest.err'
64727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64728   (eval $ac_try) 2>&5
64729   ac_status=$?
64730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64731   (exit $ac_status); }; } &&
64732          { ac_try='test -s conftest.$ac_objext'
64733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64734   (eval $ac_try) 2>&5
64735   ac_status=$?
64736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64737   (exit $ac_status); }; }; then
64738   glibcxx_cv_func_copysignl_use=yes
64739 else
64740   echo "$as_me: failed program was:" >&5
64741 sed 's/^/| /' conftest.$ac_ext >&5
64742
64743 glibcxx_cv_func_copysignl_use=no
64744 fi
64745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64746       ac_ext=c
64747 ac_cpp='$CPP $CPPFLAGS'
64748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64751
64752
64753 fi
64754
64755   fi
64756   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
64757 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
64758
64759   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
64760
64761 for ac_func in copysignl
64762 do
64763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64764 echo "$as_me:$LINENO: checking for $ac_func" >&5
64765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64766 if eval "test \"\${$as_ac_var+set}\" = set"; then
64767   echo $ECHO_N "(cached) $ECHO_C" >&6
64768 else
64769   if test x$gcc_no_link = xyes; then
64770   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64772    { (exit 1); exit 1; }; }
64773 fi
64774 cat >conftest.$ac_ext <<_ACEOF
64775 /* confdefs.h.  */
64776 _ACEOF
64777 cat confdefs.h >>conftest.$ac_ext
64778 cat >>conftest.$ac_ext <<_ACEOF
64779 /* end confdefs.h.  */
64780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64781    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64782 #define $ac_func innocuous_$ac_func
64783
64784 /* System header to define __stub macros and hopefully few prototypes,
64785     which can conflict with char $ac_func (); below.
64786     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64787     <limits.h> exists even on freestanding compilers.  */
64788
64789 #ifdef __STDC__
64790 # include <limits.h>
64791 #else
64792 # include <assert.h>
64793 #endif
64794
64795 #undef $ac_func
64796
64797 /* Override any gcc2 internal prototype to avoid an error.  */
64798 #ifdef __cplusplus
64799 extern "C"
64800 {
64801 #endif
64802 /* We use char because int might match the return type of a gcc2
64803    builtin and then its argument prototype would still apply.  */
64804 char $ac_func ();
64805 /* The GNU C library defines this for functions which it implements
64806     to always fail with ENOSYS.  Some functions are actually named
64807     something starting with __ and the normal name is an alias.  */
64808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64809 choke me
64810 #else
64811 char (*f) () = $ac_func;
64812 #endif
64813 #ifdef __cplusplus
64814 }
64815 #endif
64816
64817 int
64818 main ()
64819 {
64820 return f != $ac_func;
64821   ;
64822   return 0;
64823 }
64824 _ACEOF
64825 rm -f conftest.$ac_objext conftest$ac_exeext
64826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64827   (eval $ac_link) 2>conftest.er1
64828   ac_status=$?
64829   grep -v '^ *+' conftest.er1 >conftest.err
64830   rm -f conftest.er1
64831   cat conftest.err >&5
64832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64833   (exit $ac_status); } &&
64834          { ac_try='test -z "$ac_c_werror_flag"
64835                          || test ! -s conftest.err'
64836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64837   (eval $ac_try) 2>&5
64838   ac_status=$?
64839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64840   (exit $ac_status); }; } &&
64841          { ac_try='test -s conftest$ac_exeext'
64842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64843   (eval $ac_try) 2>&5
64844   ac_status=$?
64845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64846   (exit $ac_status); }; }; then
64847   eval "$as_ac_var=yes"
64848 else
64849   echo "$as_me: failed program was:" >&5
64850 sed 's/^/| /' conftest.$ac_ext >&5
64851
64852 eval "$as_ac_var=no"
64853 fi
64854 rm -f conftest.err conftest.$ac_objext \
64855       conftest$ac_exeext conftest.$ac_ext
64856 fi
64857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64859 if test `eval echo '${'$as_ac_var'}'` = yes; then
64860   cat >>confdefs.h <<_ACEOF
64861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64862 _ACEOF
64863
64864 fi
64865 done
64866
64867   else
64868
64869   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
64870 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
64871   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
64872     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
64873   echo $ECHO_N "(cached) $ECHO_C" >&6
64874 else
64875
64876
64877
64878       ac_ext=cc
64879 ac_cpp='$CXXCPP $CPPFLAGS'
64880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64883
64884       cat >conftest.$ac_ext <<_ACEOF
64885 /* confdefs.h.  */
64886 _ACEOF
64887 cat confdefs.h >>conftest.$ac_ext
64888 cat >>conftest.$ac_ext <<_ACEOF
64889 /* end confdefs.h.  */
64890 #include <math.h>
64891 int
64892 main ()
64893 {
64894  _copysignl(0, 0);
64895   ;
64896   return 0;
64897 }
64898 _ACEOF
64899 rm -f conftest.$ac_objext
64900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64901   (eval $ac_compile) 2>conftest.er1
64902   ac_status=$?
64903   grep -v '^ *+' conftest.er1 >conftest.err
64904   rm -f conftest.er1
64905   cat conftest.err >&5
64906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64907   (exit $ac_status); } &&
64908          { ac_try='test -z "$ac_cxx_werror_flag"
64909                          || test ! -s conftest.err'
64910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64911   (eval $ac_try) 2>&5
64912   ac_status=$?
64913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64914   (exit $ac_status); }; } &&
64915          { ac_try='test -s conftest.$ac_objext'
64916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64917   (eval $ac_try) 2>&5
64918   ac_status=$?
64919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64920   (exit $ac_status); }; }; then
64921   glibcxx_cv_func__copysignl_use=yes
64922 else
64923   echo "$as_me: failed program was:" >&5
64924 sed 's/^/| /' conftest.$ac_ext >&5
64925
64926 glibcxx_cv_func__copysignl_use=no
64927 fi
64928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64929       ac_ext=c
64930 ac_cpp='$CPP $CPPFLAGS'
64931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64934
64935
64936 fi
64937
64938   fi
64939   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
64940 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
64941
64942     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
64943
64944 for ac_func in _copysignl
64945 do
64946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64947 echo "$as_me:$LINENO: checking for $ac_func" >&5
64948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64949 if eval "test \"\${$as_ac_var+set}\" = set"; then
64950   echo $ECHO_N "(cached) $ECHO_C" >&6
64951 else
64952   if test x$gcc_no_link = xyes; then
64953   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64955    { (exit 1); exit 1; }; }
64956 fi
64957 cat >conftest.$ac_ext <<_ACEOF
64958 /* confdefs.h.  */
64959 _ACEOF
64960 cat confdefs.h >>conftest.$ac_ext
64961 cat >>conftest.$ac_ext <<_ACEOF
64962 /* end confdefs.h.  */
64963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64964    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64965 #define $ac_func innocuous_$ac_func
64966
64967 /* System header to define __stub macros and hopefully few prototypes,
64968     which can conflict with char $ac_func (); below.
64969     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64970     <limits.h> exists even on freestanding compilers.  */
64971
64972 #ifdef __STDC__
64973 # include <limits.h>
64974 #else
64975 # include <assert.h>
64976 #endif
64977
64978 #undef $ac_func
64979
64980 /* Override any gcc2 internal prototype to avoid an error.  */
64981 #ifdef __cplusplus
64982 extern "C"
64983 {
64984 #endif
64985 /* We use char because int might match the return type of a gcc2
64986    builtin and then its argument prototype would still apply.  */
64987 char $ac_func ();
64988 /* The GNU C library defines this for functions which it implements
64989     to always fail with ENOSYS.  Some functions are actually named
64990     something starting with __ and the normal name is an alias.  */
64991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64992 choke me
64993 #else
64994 char (*f) () = $ac_func;
64995 #endif
64996 #ifdef __cplusplus
64997 }
64998 #endif
64999
65000 int
65001 main ()
65002 {
65003 return f != $ac_func;
65004   ;
65005   return 0;
65006 }
65007 _ACEOF
65008 rm -f conftest.$ac_objext conftest$ac_exeext
65009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65010   (eval $ac_link) 2>conftest.er1
65011   ac_status=$?
65012   grep -v '^ *+' conftest.er1 >conftest.err
65013   rm -f conftest.er1
65014   cat conftest.err >&5
65015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65016   (exit $ac_status); } &&
65017          { ac_try='test -z "$ac_c_werror_flag"
65018                          || test ! -s conftest.err'
65019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65020   (eval $ac_try) 2>&5
65021   ac_status=$?
65022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65023   (exit $ac_status); }; } &&
65024          { ac_try='test -s conftest$ac_exeext'
65025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65026   (eval $ac_try) 2>&5
65027   ac_status=$?
65028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65029   (exit $ac_status); }; }; then
65030   eval "$as_ac_var=yes"
65031 else
65032   echo "$as_me: failed program was:" >&5
65033 sed 's/^/| /' conftest.$ac_ext >&5
65034
65035 eval "$as_ac_var=no"
65036 fi
65037 rm -f conftest.err conftest.$ac_objext \
65038       conftest$ac_exeext conftest.$ac_ext
65039 fi
65040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65042 if test `eval echo '${'$as_ac_var'}'` = yes; then
65043   cat >>confdefs.h <<_ACEOF
65044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65045 _ACEOF
65046
65047 fi
65048 done
65049
65050     fi
65051   fi
65052
65053
65054
65055
65056
65057
65058   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
65059 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
65060   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
65061     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
65062   echo $ECHO_N "(cached) $ECHO_C" >&6
65063 else
65064
65065
65066
65067       ac_ext=cc
65068 ac_cpp='$CXXCPP $CPPFLAGS'
65069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65072
65073       cat >conftest.$ac_ext <<_ACEOF
65074 /* confdefs.h.  */
65075 _ACEOF
65076 cat confdefs.h >>conftest.$ac_ext
65077 cat >>conftest.$ac_ext <<_ACEOF
65078 /* end confdefs.h.  */
65079 #include <math.h>
65080 int
65081 main ()
65082 {
65083  atan2l(0, 0);
65084   ;
65085   return 0;
65086 }
65087 _ACEOF
65088 rm -f conftest.$ac_objext
65089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65090   (eval $ac_compile) 2>conftest.er1
65091   ac_status=$?
65092   grep -v '^ *+' conftest.er1 >conftest.err
65093   rm -f conftest.er1
65094   cat conftest.err >&5
65095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65096   (exit $ac_status); } &&
65097          { ac_try='test -z "$ac_cxx_werror_flag"
65098                          || test ! -s conftest.err'
65099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65100   (eval $ac_try) 2>&5
65101   ac_status=$?
65102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65103   (exit $ac_status); }; } &&
65104          { ac_try='test -s conftest.$ac_objext'
65105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65106   (eval $ac_try) 2>&5
65107   ac_status=$?
65108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65109   (exit $ac_status); }; }; then
65110   glibcxx_cv_func_atan2l_use=yes
65111 else
65112   echo "$as_me: failed program was:" >&5
65113 sed 's/^/| /' conftest.$ac_ext >&5
65114
65115 glibcxx_cv_func_atan2l_use=no
65116 fi
65117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65118       ac_ext=c
65119 ac_cpp='$CPP $CPPFLAGS'
65120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65123
65124
65125 fi
65126
65127   fi
65128   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
65129 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
65130
65131   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
65132
65133 for ac_func in atan2l
65134 do
65135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65136 echo "$as_me:$LINENO: checking for $ac_func" >&5
65137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65138 if eval "test \"\${$as_ac_var+set}\" = set"; then
65139   echo $ECHO_N "(cached) $ECHO_C" >&6
65140 else
65141   if test x$gcc_no_link = xyes; then
65142   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65144    { (exit 1); exit 1; }; }
65145 fi
65146 cat >conftest.$ac_ext <<_ACEOF
65147 /* confdefs.h.  */
65148 _ACEOF
65149 cat confdefs.h >>conftest.$ac_ext
65150 cat >>conftest.$ac_ext <<_ACEOF
65151 /* end confdefs.h.  */
65152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65153    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65154 #define $ac_func innocuous_$ac_func
65155
65156 /* System header to define __stub macros and hopefully few prototypes,
65157     which can conflict with char $ac_func (); below.
65158     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65159     <limits.h> exists even on freestanding compilers.  */
65160
65161 #ifdef __STDC__
65162 # include <limits.h>
65163 #else
65164 # include <assert.h>
65165 #endif
65166
65167 #undef $ac_func
65168
65169 /* Override any gcc2 internal prototype to avoid an error.  */
65170 #ifdef __cplusplus
65171 extern "C"
65172 {
65173 #endif
65174 /* We use char because int might match the return type of a gcc2
65175    builtin and then its argument prototype would still apply.  */
65176 char $ac_func ();
65177 /* The GNU C library defines this for functions which it implements
65178     to always fail with ENOSYS.  Some functions are actually named
65179     something starting with __ and the normal name is an alias.  */
65180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65181 choke me
65182 #else
65183 char (*f) () = $ac_func;
65184 #endif
65185 #ifdef __cplusplus
65186 }
65187 #endif
65188
65189 int
65190 main ()
65191 {
65192 return f != $ac_func;
65193   ;
65194   return 0;
65195 }
65196 _ACEOF
65197 rm -f conftest.$ac_objext conftest$ac_exeext
65198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65199   (eval $ac_link) 2>conftest.er1
65200   ac_status=$?
65201   grep -v '^ *+' conftest.er1 >conftest.err
65202   rm -f conftest.er1
65203   cat conftest.err >&5
65204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65205   (exit $ac_status); } &&
65206          { ac_try='test -z "$ac_c_werror_flag"
65207                          || test ! -s conftest.err'
65208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65209   (eval $ac_try) 2>&5
65210   ac_status=$?
65211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65212   (exit $ac_status); }; } &&
65213          { ac_try='test -s conftest$ac_exeext'
65214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65215   (eval $ac_try) 2>&5
65216   ac_status=$?
65217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65218   (exit $ac_status); }; }; then
65219   eval "$as_ac_var=yes"
65220 else
65221   echo "$as_me: failed program was:" >&5
65222 sed 's/^/| /' conftest.$ac_ext >&5
65223
65224 eval "$as_ac_var=no"
65225 fi
65226 rm -f conftest.err conftest.$ac_objext \
65227       conftest$ac_exeext conftest.$ac_ext
65228 fi
65229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65231 if test `eval echo '${'$as_ac_var'}'` = yes; then
65232   cat >>confdefs.h <<_ACEOF
65233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65234 _ACEOF
65235
65236 fi
65237 done
65238
65239   else
65240
65241   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
65242 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
65243   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
65244     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
65245   echo $ECHO_N "(cached) $ECHO_C" >&6
65246 else
65247
65248
65249
65250       ac_ext=cc
65251 ac_cpp='$CXXCPP $CPPFLAGS'
65252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65255
65256       cat >conftest.$ac_ext <<_ACEOF
65257 /* confdefs.h.  */
65258 _ACEOF
65259 cat confdefs.h >>conftest.$ac_ext
65260 cat >>conftest.$ac_ext <<_ACEOF
65261 /* end confdefs.h.  */
65262 #include <math.h>
65263 int
65264 main ()
65265 {
65266  _atan2l(0, 0);
65267   ;
65268   return 0;
65269 }
65270 _ACEOF
65271 rm -f conftest.$ac_objext
65272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65273   (eval $ac_compile) 2>conftest.er1
65274   ac_status=$?
65275   grep -v '^ *+' conftest.er1 >conftest.err
65276   rm -f conftest.er1
65277   cat conftest.err >&5
65278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65279   (exit $ac_status); } &&
65280          { ac_try='test -z "$ac_cxx_werror_flag"
65281                          || test ! -s conftest.err'
65282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65283   (eval $ac_try) 2>&5
65284   ac_status=$?
65285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65286   (exit $ac_status); }; } &&
65287          { ac_try='test -s conftest.$ac_objext'
65288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65289   (eval $ac_try) 2>&5
65290   ac_status=$?
65291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65292   (exit $ac_status); }; }; then
65293   glibcxx_cv_func__atan2l_use=yes
65294 else
65295   echo "$as_me: failed program was:" >&5
65296 sed 's/^/| /' conftest.$ac_ext >&5
65297
65298 glibcxx_cv_func__atan2l_use=no
65299 fi
65300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65301       ac_ext=c
65302 ac_cpp='$CPP $CPPFLAGS'
65303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65306
65307
65308 fi
65309
65310   fi
65311   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
65312 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
65313
65314     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
65315
65316 for ac_func in _atan2l
65317 do
65318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65319 echo "$as_me:$LINENO: checking for $ac_func" >&5
65320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65321 if eval "test \"\${$as_ac_var+set}\" = set"; then
65322   echo $ECHO_N "(cached) $ECHO_C" >&6
65323 else
65324   if test x$gcc_no_link = xyes; then
65325   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65327    { (exit 1); exit 1; }; }
65328 fi
65329 cat >conftest.$ac_ext <<_ACEOF
65330 /* confdefs.h.  */
65331 _ACEOF
65332 cat confdefs.h >>conftest.$ac_ext
65333 cat >>conftest.$ac_ext <<_ACEOF
65334 /* end confdefs.h.  */
65335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65336    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65337 #define $ac_func innocuous_$ac_func
65338
65339 /* System header to define __stub macros and hopefully few prototypes,
65340     which can conflict with char $ac_func (); below.
65341     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65342     <limits.h> exists even on freestanding compilers.  */
65343
65344 #ifdef __STDC__
65345 # include <limits.h>
65346 #else
65347 # include <assert.h>
65348 #endif
65349
65350 #undef $ac_func
65351
65352 /* Override any gcc2 internal prototype to avoid an error.  */
65353 #ifdef __cplusplus
65354 extern "C"
65355 {
65356 #endif
65357 /* We use char because int might match the return type of a gcc2
65358    builtin and then its argument prototype would still apply.  */
65359 char $ac_func ();
65360 /* The GNU C library defines this for functions which it implements
65361     to always fail with ENOSYS.  Some functions are actually named
65362     something starting with __ and the normal name is an alias.  */
65363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65364 choke me
65365 #else
65366 char (*f) () = $ac_func;
65367 #endif
65368 #ifdef __cplusplus
65369 }
65370 #endif
65371
65372 int
65373 main ()
65374 {
65375 return f != $ac_func;
65376   ;
65377   return 0;
65378 }
65379 _ACEOF
65380 rm -f conftest.$ac_objext conftest$ac_exeext
65381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65382   (eval $ac_link) 2>conftest.er1
65383   ac_status=$?
65384   grep -v '^ *+' conftest.er1 >conftest.err
65385   rm -f conftest.er1
65386   cat conftest.err >&5
65387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65388   (exit $ac_status); } &&
65389          { ac_try='test -z "$ac_c_werror_flag"
65390                          || test ! -s conftest.err'
65391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65392   (eval $ac_try) 2>&5
65393   ac_status=$?
65394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65395   (exit $ac_status); }; } &&
65396          { ac_try='test -s conftest$ac_exeext'
65397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65398   (eval $ac_try) 2>&5
65399   ac_status=$?
65400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65401   (exit $ac_status); }; }; then
65402   eval "$as_ac_var=yes"
65403 else
65404   echo "$as_me: failed program was:" >&5
65405 sed 's/^/| /' conftest.$ac_ext >&5
65406
65407 eval "$as_ac_var=no"
65408 fi
65409 rm -f conftest.err conftest.$ac_objext \
65410       conftest$ac_exeext conftest.$ac_ext
65411 fi
65412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65414 if test `eval echo '${'$as_ac_var'}'` = yes; then
65415   cat >>confdefs.h <<_ACEOF
65416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65417 _ACEOF
65418
65419 fi
65420 done
65421
65422     fi
65423   fi
65424
65425
65426
65427
65428
65429
65430   echo "$as_me:$LINENO: checking for expl declaration" >&5
65431 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
65432   if test x${glibcxx_cv_func_expl_use+set} != xset; then
65433     if test "${glibcxx_cv_func_expl_use+set}" = set; then
65434   echo $ECHO_N "(cached) $ECHO_C" >&6
65435 else
65436
65437
65438
65439       ac_ext=cc
65440 ac_cpp='$CXXCPP $CPPFLAGS'
65441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65444
65445       cat >conftest.$ac_ext <<_ACEOF
65446 /* confdefs.h.  */
65447 _ACEOF
65448 cat confdefs.h >>conftest.$ac_ext
65449 cat >>conftest.$ac_ext <<_ACEOF
65450 /* end confdefs.h.  */
65451 #include <math.h>
65452                       #ifdef HAVE_IEEEFP_H
65453                       #include <ieeefp.h>
65454                       #endif
65455
65456 int
65457 main ()
65458 {
65459  expl(0);
65460   ;
65461   return 0;
65462 }
65463 _ACEOF
65464 rm -f conftest.$ac_objext
65465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65466   (eval $ac_compile) 2>conftest.er1
65467   ac_status=$?
65468   grep -v '^ *+' conftest.er1 >conftest.err
65469   rm -f conftest.er1
65470   cat conftest.err >&5
65471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65472   (exit $ac_status); } &&
65473          { ac_try='test -z "$ac_cxx_werror_flag"
65474                          || test ! -s conftest.err'
65475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65476   (eval $ac_try) 2>&5
65477   ac_status=$?
65478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65479   (exit $ac_status); }; } &&
65480          { ac_try='test -s conftest.$ac_objext'
65481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65482   (eval $ac_try) 2>&5
65483   ac_status=$?
65484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65485   (exit $ac_status); }; }; then
65486   glibcxx_cv_func_expl_use=yes
65487 else
65488   echo "$as_me: failed program was:" >&5
65489 sed 's/^/| /' conftest.$ac_ext >&5
65490
65491 glibcxx_cv_func_expl_use=no
65492 fi
65493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65494       ac_ext=c
65495 ac_cpp='$CPP $CPPFLAGS'
65496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65499
65500
65501 fi
65502
65503   fi
65504   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
65505 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
65506
65507   if test x$glibcxx_cv_func_expl_use = x"yes"; then
65508
65509 for ac_func in expl
65510 do
65511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65512 echo "$as_me:$LINENO: checking for $ac_func" >&5
65513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65514 if eval "test \"\${$as_ac_var+set}\" = set"; then
65515   echo $ECHO_N "(cached) $ECHO_C" >&6
65516 else
65517   if test x$gcc_no_link = xyes; then
65518   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65520    { (exit 1); exit 1; }; }
65521 fi
65522 cat >conftest.$ac_ext <<_ACEOF
65523 /* confdefs.h.  */
65524 _ACEOF
65525 cat confdefs.h >>conftest.$ac_ext
65526 cat >>conftest.$ac_ext <<_ACEOF
65527 /* end confdefs.h.  */
65528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65529    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65530 #define $ac_func innocuous_$ac_func
65531
65532 /* System header to define __stub macros and hopefully few prototypes,
65533     which can conflict with char $ac_func (); below.
65534     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65535     <limits.h> exists even on freestanding compilers.  */
65536
65537 #ifdef __STDC__
65538 # include <limits.h>
65539 #else
65540 # include <assert.h>
65541 #endif
65542
65543 #undef $ac_func
65544
65545 /* Override any gcc2 internal prototype to avoid an error.  */
65546 #ifdef __cplusplus
65547 extern "C"
65548 {
65549 #endif
65550 /* We use char because int might match the return type of a gcc2
65551    builtin and then its argument prototype would still apply.  */
65552 char $ac_func ();
65553 /* The GNU C library defines this for functions which it implements
65554     to always fail with ENOSYS.  Some functions are actually named
65555     something starting with __ and the normal name is an alias.  */
65556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65557 choke me
65558 #else
65559 char (*f) () = $ac_func;
65560 #endif
65561 #ifdef __cplusplus
65562 }
65563 #endif
65564
65565 int
65566 main ()
65567 {
65568 return f != $ac_func;
65569   ;
65570   return 0;
65571 }
65572 _ACEOF
65573 rm -f conftest.$ac_objext conftest$ac_exeext
65574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65575   (eval $ac_link) 2>conftest.er1
65576   ac_status=$?
65577   grep -v '^ *+' conftest.er1 >conftest.err
65578   rm -f conftest.er1
65579   cat conftest.err >&5
65580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65581   (exit $ac_status); } &&
65582          { ac_try='test -z "$ac_c_werror_flag"
65583                          || test ! -s conftest.err'
65584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65585   (eval $ac_try) 2>&5
65586   ac_status=$?
65587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65588   (exit $ac_status); }; } &&
65589          { ac_try='test -s conftest$ac_exeext'
65590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65591   (eval $ac_try) 2>&5
65592   ac_status=$?
65593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65594   (exit $ac_status); }; }; then
65595   eval "$as_ac_var=yes"
65596 else
65597   echo "$as_me: failed program was:" >&5
65598 sed 's/^/| /' conftest.$ac_ext >&5
65599
65600 eval "$as_ac_var=no"
65601 fi
65602 rm -f conftest.err conftest.$ac_objext \
65603       conftest$ac_exeext conftest.$ac_ext
65604 fi
65605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65607 if test `eval echo '${'$as_ac_var'}'` = yes; then
65608   cat >>confdefs.h <<_ACEOF
65609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65610 _ACEOF
65611
65612 fi
65613 done
65614
65615   else
65616
65617   echo "$as_me:$LINENO: checking for _expl declaration" >&5
65618 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
65619   if test x${glibcxx_cv_func__expl_use+set} != xset; then
65620     if test "${glibcxx_cv_func__expl_use+set}" = set; then
65621   echo $ECHO_N "(cached) $ECHO_C" >&6
65622 else
65623
65624
65625
65626       ac_ext=cc
65627 ac_cpp='$CXXCPP $CPPFLAGS'
65628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65631
65632       cat >conftest.$ac_ext <<_ACEOF
65633 /* confdefs.h.  */
65634 _ACEOF
65635 cat confdefs.h >>conftest.$ac_ext
65636 cat >>conftest.$ac_ext <<_ACEOF
65637 /* end confdefs.h.  */
65638 #include <math.h>
65639                       #ifdef HAVE_IEEEFP_H
65640                       #include <ieeefp.h>
65641                       #endif
65642
65643 int
65644 main ()
65645 {
65646  _expl(0);
65647   ;
65648   return 0;
65649 }
65650 _ACEOF
65651 rm -f conftest.$ac_objext
65652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65653   (eval $ac_compile) 2>conftest.er1
65654   ac_status=$?
65655   grep -v '^ *+' conftest.er1 >conftest.err
65656   rm -f conftest.er1
65657   cat conftest.err >&5
65658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65659   (exit $ac_status); } &&
65660          { ac_try='test -z "$ac_cxx_werror_flag"
65661                          || test ! -s conftest.err'
65662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65663   (eval $ac_try) 2>&5
65664   ac_status=$?
65665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65666   (exit $ac_status); }; } &&
65667          { ac_try='test -s conftest.$ac_objext'
65668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65669   (eval $ac_try) 2>&5
65670   ac_status=$?
65671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65672   (exit $ac_status); }; }; then
65673   glibcxx_cv_func__expl_use=yes
65674 else
65675   echo "$as_me: failed program was:" >&5
65676 sed 's/^/| /' conftest.$ac_ext >&5
65677
65678 glibcxx_cv_func__expl_use=no
65679 fi
65680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65681       ac_ext=c
65682 ac_cpp='$CPP $CPPFLAGS'
65683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65686
65687
65688 fi
65689
65690   fi
65691   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
65692 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
65693
65694     if test x$glibcxx_cv_func__expl_use = x"yes"; then
65695
65696 for ac_func in _expl
65697 do
65698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65699 echo "$as_me:$LINENO: checking for $ac_func" >&5
65700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65701 if eval "test \"\${$as_ac_var+set}\" = set"; then
65702   echo $ECHO_N "(cached) $ECHO_C" >&6
65703 else
65704   if test x$gcc_no_link = xyes; then
65705   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65707    { (exit 1); exit 1; }; }
65708 fi
65709 cat >conftest.$ac_ext <<_ACEOF
65710 /* confdefs.h.  */
65711 _ACEOF
65712 cat confdefs.h >>conftest.$ac_ext
65713 cat >>conftest.$ac_ext <<_ACEOF
65714 /* end confdefs.h.  */
65715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65716    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65717 #define $ac_func innocuous_$ac_func
65718
65719 /* System header to define __stub macros and hopefully few prototypes,
65720     which can conflict with char $ac_func (); below.
65721     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65722     <limits.h> exists even on freestanding compilers.  */
65723
65724 #ifdef __STDC__
65725 # include <limits.h>
65726 #else
65727 # include <assert.h>
65728 #endif
65729
65730 #undef $ac_func
65731
65732 /* Override any gcc2 internal prototype to avoid an error.  */
65733 #ifdef __cplusplus
65734 extern "C"
65735 {
65736 #endif
65737 /* We use char because int might match the return type of a gcc2
65738    builtin and then its argument prototype would still apply.  */
65739 char $ac_func ();
65740 /* The GNU C library defines this for functions which it implements
65741     to always fail with ENOSYS.  Some functions are actually named
65742     something starting with __ and the normal name is an alias.  */
65743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65744 choke me
65745 #else
65746 char (*f) () = $ac_func;
65747 #endif
65748 #ifdef __cplusplus
65749 }
65750 #endif
65751
65752 int
65753 main ()
65754 {
65755 return f != $ac_func;
65756   ;
65757   return 0;
65758 }
65759 _ACEOF
65760 rm -f conftest.$ac_objext conftest$ac_exeext
65761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65762   (eval $ac_link) 2>conftest.er1
65763   ac_status=$?
65764   grep -v '^ *+' conftest.er1 >conftest.err
65765   rm -f conftest.er1
65766   cat conftest.err >&5
65767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65768   (exit $ac_status); } &&
65769          { ac_try='test -z "$ac_c_werror_flag"
65770                          || test ! -s conftest.err'
65771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65772   (eval $ac_try) 2>&5
65773   ac_status=$?
65774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65775   (exit $ac_status); }; } &&
65776          { ac_try='test -s conftest$ac_exeext'
65777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65778   (eval $ac_try) 2>&5
65779   ac_status=$?
65780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65781   (exit $ac_status); }; }; then
65782   eval "$as_ac_var=yes"
65783 else
65784   echo "$as_me: failed program was:" >&5
65785 sed 's/^/| /' conftest.$ac_ext >&5
65786
65787 eval "$as_ac_var=no"
65788 fi
65789 rm -f conftest.err conftest.$ac_objext \
65790       conftest$ac_exeext conftest.$ac_ext
65791 fi
65792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65794 if test `eval echo '${'$as_ac_var'}'` = yes; then
65795   cat >>confdefs.h <<_ACEOF
65796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65797 _ACEOF
65798
65799 fi
65800 done
65801
65802     fi
65803   fi
65804
65805
65806
65807
65808
65809
65810   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
65811 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
65812   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65813     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
65814   echo $ECHO_N "(cached) $ECHO_C" >&6
65815 else
65816
65817
65818
65819       ac_ext=cc
65820 ac_cpp='$CXXCPP $CPPFLAGS'
65821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65824
65825       cat >conftest.$ac_ext <<_ACEOF
65826 /* confdefs.h.  */
65827 _ACEOF
65828 cat confdefs.h >>conftest.$ac_ext
65829 cat >>conftest.$ac_ext <<_ACEOF
65830 /* end confdefs.h.  */
65831 #include <math.h>
65832                       #ifdef HAVE_IEEEFP_H
65833                       #include <ieeefp.h>
65834                       #endif
65835
65836 int
65837 main ()
65838 {
65839  fabsl(0);
65840   ;
65841   return 0;
65842 }
65843 _ACEOF
65844 rm -f conftest.$ac_objext
65845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65846   (eval $ac_compile) 2>conftest.er1
65847   ac_status=$?
65848   grep -v '^ *+' conftest.er1 >conftest.err
65849   rm -f conftest.er1
65850   cat conftest.err >&5
65851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65852   (exit $ac_status); } &&
65853          { ac_try='test -z "$ac_cxx_werror_flag"
65854                          || test ! -s conftest.err'
65855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65856   (eval $ac_try) 2>&5
65857   ac_status=$?
65858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65859   (exit $ac_status); }; } &&
65860          { ac_try='test -s conftest.$ac_objext'
65861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65862   (eval $ac_try) 2>&5
65863   ac_status=$?
65864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65865   (exit $ac_status); }; }; then
65866   glibcxx_cv_func_fabsl_use=yes
65867 else
65868   echo "$as_me: failed program was:" >&5
65869 sed 's/^/| /' conftest.$ac_ext >&5
65870
65871 glibcxx_cv_func_fabsl_use=no
65872 fi
65873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65874       ac_ext=c
65875 ac_cpp='$CPP $CPPFLAGS'
65876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65879
65880
65881 fi
65882
65883   fi
65884   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
65885 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
65886
65887   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65888
65889 for ac_func in fabsl
65890 do
65891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65892 echo "$as_me:$LINENO: checking for $ac_func" >&5
65893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65894 if eval "test \"\${$as_ac_var+set}\" = set"; then
65895   echo $ECHO_N "(cached) $ECHO_C" >&6
65896 else
65897   if test x$gcc_no_link = xyes; then
65898   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65900    { (exit 1); exit 1; }; }
65901 fi
65902 cat >conftest.$ac_ext <<_ACEOF
65903 /* confdefs.h.  */
65904 _ACEOF
65905 cat confdefs.h >>conftest.$ac_ext
65906 cat >>conftest.$ac_ext <<_ACEOF
65907 /* end confdefs.h.  */
65908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65909    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65910 #define $ac_func innocuous_$ac_func
65911
65912 /* System header to define __stub macros and hopefully few prototypes,
65913     which can conflict with char $ac_func (); below.
65914     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65915     <limits.h> exists even on freestanding compilers.  */
65916
65917 #ifdef __STDC__
65918 # include <limits.h>
65919 #else
65920 # include <assert.h>
65921 #endif
65922
65923 #undef $ac_func
65924
65925 /* Override any gcc2 internal prototype to avoid an error.  */
65926 #ifdef __cplusplus
65927 extern "C"
65928 {
65929 #endif
65930 /* We use char because int might match the return type of a gcc2
65931    builtin and then its argument prototype would still apply.  */
65932 char $ac_func ();
65933 /* The GNU C library defines this for functions which it implements
65934     to always fail with ENOSYS.  Some functions are actually named
65935     something starting with __ and the normal name is an alias.  */
65936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65937 choke me
65938 #else
65939 char (*f) () = $ac_func;
65940 #endif
65941 #ifdef __cplusplus
65942 }
65943 #endif
65944
65945 int
65946 main ()
65947 {
65948 return f != $ac_func;
65949   ;
65950   return 0;
65951 }
65952 _ACEOF
65953 rm -f conftest.$ac_objext conftest$ac_exeext
65954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65955   (eval $ac_link) 2>conftest.er1
65956   ac_status=$?
65957   grep -v '^ *+' conftest.er1 >conftest.err
65958   rm -f conftest.er1
65959   cat conftest.err >&5
65960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65961   (exit $ac_status); } &&
65962          { ac_try='test -z "$ac_c_werror_flag"
65963                          || test ! -s conftest.err'
65964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65965   (eval $ac_try) 2>&5
65966   ac_status=$?
65967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65968   (exit $ac_status); }; } &&
65969          { ac_try='test -s conftest$ac_exeext'
65970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65971   (eval $ac_try) 2>&5
65972   ac_status=$?
65973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65974   (exit $ac_status); }; }; then
65975   eval "$as_ac_var=yes"
65976 else
65977   echo "$as_me: failed program was:" >&5
65978 sed 's/^/| /' conftest.$ac_ext >&5
65979
65980 eval "$as_ac_var=no"
65981 fi
65982 rm -f conftest.err conftest.$ac_objext \
65983       conftest$ac_exeext conftest.$ac_ext
65984 fi
65985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65987 if test `eval echo '${'$as_ac_var'}'` = yes; then
65988   cat >>confdefs.h <<_ACEOF
65989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65990 _ACEOF
65991
65992 fi
65993 done
65994
65995   else
65996
65997   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
65998 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
65999   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
66000     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
66001   echo $ECHO_N "(cached) $ECHO_C" >&6
66002 else
66003
66004
66005
66006       ac_ext=cc
66007 ac_cpp='$CXXCPP $CPPFLAGS'
66008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66011
66012       cat >conftest.$ac_ext <<_ACEOF
66013 /* confdefs.h.  */
66014 _ACEOF
66015 cat confdefs.h >>conftest.$ac_ext
66016 cat >>conftest.$ac_ext <<_ACEOF
66017 /* end confdefs.h.  */
66018 #include <math.h>
66019                       #ifdef HAVE_IEEEFP_H
66020                       #include <ieeefp.h>
66021                       #endif
66022
66023 int
66024 main ()
66025 {
66026  _fabsl(0);
66027   ;
66028   return 0;
66029 }
66030 _ACEOF
66031 rm -f conftest.$ac_objext
66032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66033   (eval $ac_compile) 2>conftest.er1
66034   ac_status=$?
66035   grep -v '^ *+' conftest.er1 >conftest.err
66036   rm -f conftest.er1
66037   cat conftest.err >&5
66038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66039   (exit $ac_status); } &&
66040          { ac_try='test -z "$ac_cxx_werror_flag"
66041                          || test ! -s conftest.err'
66042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66043   (eval $ac_try) 2>&5
66044   ac_status=$?
66045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66046   (exit $ac_status); }; } &&
66047          { ac_try='test -s conftest.$ac_objext'
66048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66049   (eval $ac_try) 2>&5
66050   ac_status=$?
66051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66052   (exit $ac_status); }; }; then
66053   glibcxx_cv_func__fabsl_use=yes
66054 else
66055   echo "$as_me: failed program was:" >&5
66056 sed 's/^/| /' conftest.$ac_ext >&5
66057
66058 glibcxx_cv_func__fabsl_use=no
66059 fi
66060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66061       ac_ext=c
66062 ac_cpp='$CPP $CPPFLAGS'
66063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66066
66067
66068 fi
66069
66070   fi
66071   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
66072 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
66073
66074     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
66075
66076 for ac_func in _fabsl
66077 do
66078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66079 echo "$as_me:$LINENO: checking for $ac_func" >&5
66080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66081 if eval "test \"\${$as_ac_var+set}\" = set"; then
66082   echo $ECHO_N "(cached) $ECHO_C" >&6
66083 else
66084   if test x$gcc_no_link = xyes; then
66085   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66087    { (exit 1); exit 1; }; }
66088 fi
66089 cat >conftest.$ac_ext <<_ACEOF
66090 /* confdefs.h.  */
66091 _ACEOF
66092 cat confdefs.h >>conftest.$ac_ext
66093 cat >>conftest.$ac_ext <<_ACEOF
66094 /* end confdefs.h.  */
66095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66096    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66097 #define $ac_func innocuous_$ac_func
66098
66099 /* System header to define __stub macros and hopefully few prototypes,
66100     which can conflict with char $ac_func (); below.
66101     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66102     <limits.h> exists even on freestanding compilers.  */
66103
66104 #ifdef __STDC__
66105 # include <limits.h>
66106 #else
66107 # include <assert.h>
66108 #endif
66109
66110 #undef $ac_func
66111
66112 /* Override any gcc2 internal prototype to avoid an error.  */
66113 #ifdef __cplusplus
66114 extern "C"
66115 {
66116 #endif
66117 /* We use char because int might match the return type of a gcc2
66118    builtin and then its argument prototype would still apply.  */
66119 char $ac_func ();
66120 /* The GNU C library defines this for functions which it implements
66121     to always fail with ENOSYS.  Some functions are actually named
66122     something starting with __ and the normal name is an alias.  */
66123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66124 choke me
66125 #else
66126 char (*f) () = $ac_func;
66127 #endif
66128 #ifdef __cplusplus
66129 }
66130 #endif
66131
66132 int
66133 main ()
66134 {
66135 return f != $ac_func;
66136   ;
66137   return 0;
66138 }
66139 _ACEOF
66140 rm -f conftest.$ac_objext conftest$ac_exeext
66141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66142   (eval $ac_link) 2>conftest.er1
66143   ac_status=$?
66144   grep -v '^ *+' conftest.er1 >conftest.err
66145   rm -f conftest.er1
66146   cat conftest.err >&5
66147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66148   (exit $ac_status); } &&
66149          { ac_try='test -z "$ac_c_werror_flag"
66150                          || test ! -s conftest.err'
66151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66152   (eval $ac_try) 2>&5
66153   ac_status=$?
66154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66155   (exit $ac_status); }; } &&
66156          { ac_try='test -s conftest$ac_exeext'
66157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66158   (eval $ac_try) 2>&5
66159   ac_status=$?
66160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66161   (exit $ac_status); }; }; then
66162   eval "$as_ac_var=yes"
66163 else
66164   echo "$as_me: failed program was:" >&5
66165 sed 's/^/| /' conftest.$ac_ext >&5
66166
66167 eval "$as_ac_var=no"
66168 fi
66169 rm -f conftest.err conftest.$ac_objext \
66170       conftest$ac_exeext conftest.$ac_ext
66171 fi
66172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66174 if test `eval echo '${'$as_ac_var'}'` = yes; then
66175   cat >>confdefs.h <<_ACEOF
66176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66177 _ACEOF
66178
66179 fi
66180 done
66181
66182     fi
66183   fi
66184
66185
66186
66187
66188
66189
66190   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
66191 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
66192   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
66193     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
66194   echo $ECHO_N "(cached) $ECHO_C" >&6
66195 else
66196
66197
66198
66199       ac_ext=cc
66200 ac_cpp='$CXXCPP $CPPFLAGS'
66201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66204
66205       cat >conftest.$ac_ext <<_ACEOF
66206 /* confdefs.h.  */
66207 _ACEOF
66208 cat confdefs.h >>conftest.$ac_ext
66209 cat >>conftest.$ac_ext <<_ACEOF
66210 /* end confdefs.h.  */
66211 #include <math.h>
66212 int
66213 main ()
66214 {
66215  fmodl(0, 0);
66216   ;
66217   return 0;
66218 }
66219 _ACEOF
66220 rm -f conftest.$ac_objext
66221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66222   (eval $ac_compile) 2>conftest.er1
66223   ac_status=$?
66224   grep -v '^ *+' conftest.er1 >conftest.err
66225   rm -f conftest.er1
66226   cat conftest.err >&5
66227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66228   (exit $ac_status); } &&
66229          { ac_try='test -z "$ac_cxx_werror_flag"
66230                          || test ! -s conftest.err'
66231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66232   (eval $ac_try) 2>&5
66233   ac_status=$?
66234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66235   (exit $ac_status); }; } &&
66236          { ac_try='test -s conftest.$ac_objext'
66237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66238   (eval $ac_try) 2>&5
66239   ac_status=$?
66240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66241   (exit $ac_status); }; }; then
66242   glibcxx_cv_func_fmodl_use=yes
66243 else
66244   echo "$as_me: failed program was:" >&5
66245 sed 's/^/| /' conftest.$ac_ext >&5
66246
66247 glibcxx_cv_func_fmodl_use=no
66248 fi
66249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66250       ac_ext=c
66251 ac_cpp='$CPP $CPPFLAGS'
66252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66255
66256
66257 fi
66258
66259   fi
66260   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
66261 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
66262
66263   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
66264
66265 for ac_func in fmodl
66266 do
66267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66268 echo "$as_me:$LINENO: checking for $ac_func" >&5
66269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66270 if eval "test \"\${$as_ac_var+set}\" = set"; then
66271   echo $ECHO_N "(cached) $ECHO_C" >&6
66272 else
66273   if test x$gcc_no_link = xyes; then
66274   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66276    { (exit 1); exit 1; }; }
66277 fi
66278 cat >conftest.$ac_ext <<_ACEOF
66279 /* confdefs.h.  */
66280 _ACEOF
66281 cat confdefs.h >>conftest.$ac_ext
66282 cat >>conftest.$ac_ext <<_ACEOF
66283 /* end confdefs.h.  */
66284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66285    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66286 #define $ac_func innocuous_$ac_func
66287
66288 /* System header to define __stub macros and hopefully few prototypes,
66289     which can conflict with char $ac_func (); below.
66290     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66291     <limits.h> exists even on freestanding compilers.  */
66292
66293 #ifdef __STDC__
66294 # include <limits.h>
66295 #else
66296 # include <assert.h>
66297 #endif
66298
66299 #undef $ac_func
66300
66301 /* Override any gcc2 internal prototype to avoid an error.  */
66302 #ifdef __cplusplus
66303 extern "C"
66304 {
66305 #endif
66306 /* We use char because int might match the return type of a gcc2
66307    builtin and then its argument prototype would still apply.  */
66308 char $ac_func ();
66309 /* The GNU C library defines this for functions which it implements
66310     to always fail with ENOSYS.  Some functions are actually named
66311     something starting with __ and the normal name is an alias.  */
66312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66313 choke me
66314 #else
66315 char (*f) () = $ac_func;
66316 #endif
66317 #ifdef __cplusplus
66318 }
66319 #endif
66320
66321 int
66322 main ()
66323 {
66324 return f != $ac_func;
66325   ;
66326   return 0;
66327 }
66328 _ACEOF
66329 rm -f conftest.$ac_objext conftest$ac_exeext
66330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66331   (eval $ac_link) 2>conftest.er1
66332   ac_status=$?
66333   grep -v '^ *+' conftest.er1 >conftest.err
66334   rm -f conftest.er1
66335   cat conftest.err >&5
66336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66337   (exit $ac_status); } &&
66338          { ac_try='test -z "$ac_c_werror_flag"
66339                          || test ! -s conftest.err'
66340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66341   (eval $ac_try) 2>&5
66342   ac_status=$?
66343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66344   (exit $ac_status); }; } &&
66345          { ac_try='test -s conftest$ac_exeext'
66346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66347   (eval $ac_try) 2>&5
66348   ac_status=$?
66349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66350   (exit $ac_status); }; }; then
66351   eval "$as_ac_var=yes"
66352 else
66353   echo "$as_me: failed program was:" >&5
66354 sed 's/^/| /' conftest.$ac_ext >&5
66355
66356 eval "$as_ac_var=no"
66357 fi
66358 rm -f conftest.err conftest.$ac_objext \
66359       conftest$ac_exeext conftest.$ac_ext
66360 fi
66361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66363 if test `eval echo '${'$as_ac_var'}'` = yes; then
66364   cat >>confdefs.h <<_ACEOF
66365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66366 _ACEOF
66367
66368 fi
66369 done
66370
66371   else
66372
66373   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
66374 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
66375   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
66376     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
66377   echo $ECHO_N "(cached) $ECHO_C" >&6
66378 else
66379
66380
66381
66382       ac_ext=cc
66383 ac_cpp='$CXXCPP $CPPFLAGS'
66384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66387
66388       cat >conftest.$ac_ext <<_ACEOF
66389 /* confdefs.h.  */
66390 _ACEOF
66391 cat confdefs.h >>conftest.$ac_ext
66392 cat >>conftest.$ac_ext <<_ACEOF
66393 /* end confdefs.h.  */
66394 #include <math.h>
66395 int
66396 main ()
66397 {
66398  _fmodl(0, 0);
66399   ;
66400   return 0;
66401 }
66402 _ACEOF
66403 rm -f conftest.$ac_objext
66404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66405   (eval $ac_compile) 2>conftest.er1
66406   ac_status=$?
66407   grep -v '^ *+' conftest.er1 >conftest.err
66408   rm -f conftest.er1
66409   cat conftest.err >&5
66410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66411   (exit $ac_status); } &&
66412          { ac_try='test -z "$ac_cxx_werror_flag"
66413                          || test ! -s conftest.err'
66414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66415   (eval $ac_try) 2>&5
66416   ac_status=$?
66417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66418   (exit $ac_status); }; } &&
66419          { ac_try='test -s conftest.$ac_objext'
66420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66421   (eval $ac_try) 2>&5
66422   ac_status=$?
66423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66424   (exit $ac_status); }; }; then
66425   glibcxx_cv_func__fmodl_use=yes
66426 else
66427   echo "$as_me: failed program was:" >&5
66428 sed 's/^/| /' conftest.$ac_ext >&5
66429
66430 glibcxx_cv_func__fmodl_use=no
66431 fi
66432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66433       ac_ext=c
66434 ac_cpp='$CPP $CPPFLAGS'
66435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66438
66439
66440 fi
66441
66442   fi
66443   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
66444 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
66445
66446     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
66447
66448 for ac_func in _fmodl
66449 do
66450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66451 echo "$as_me:$LINENO: checking for $ac_func" >&5
66452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66453 if eval "test \"\${$as_ac_var+set}\" = set"; then
66454   echo $ECHO_N "(cached) $ECHO_C" >&6
66455 else
66456   if test x$gcc_no_link = xyes; then
66457   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66459    { (exit 1); exit 1; }; }
66460 fi
66461 cat >conftest.$ac_ext <<_ACEOF
66462 /* confdefs.h.  */
66463 _ACEOF
66464 cat confdefs.h >>conftest.$ac_ext
66465 cat >>conftest.$ac_ext <<_ACEOF
66466 /* end confdefs.h.  */
66467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66468    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66469 #define $ac_func innocuous_$ac_func
66470
66471 /* System header to define __stub macros and hopefully few prototypes,
66472     which can conflict with char $ac_func (); below.
66473     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66474     <limits.h> exists even on freestanding compilers.  */
66475
66476 #ifdef __STDC__
66477 # include <limits.h>
66478 #else
66479 # include <assert.h>
66480 #endif
66481
66482 #undef $ac_func
66483
66484 /* Override any gcc2 internal prototype to avoid an error.  */
66485 #ifdef __cplusplus
66486 extern "C"
66487 {
66488 #endif
66489 /* We use char because int might match the return type of a gcc2
66490    builtin and then its argument prototype would still apply.  */
66491 char $ac_func ();
66492 /* The GNU C library defines this for functions which it implements
66493     to always fail with ENOSYS.  Some functions are actually named
66494     something starting with __ and the normal name is an alias.  */
66495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66496 choke me
66497 #else
66498 char (*f) () = $ac_func;
66499 #endif
66500 #ifdef __cplusplus
66501 }
66502 #endif
66503
66504 int
66505 main ()
66506 {
66507 return f != $ac_func;
66508   ;
66509   return 0;
66510 }
66511 _ACEOF
66512 rm -f conftest.$ac_objext conftest$ac_exeext
66513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66514   (eval $ac_link) 2>conftest.er1
66515   ac_status=$?
66516   grep -v '^ *+' conftest.er1 >conftest.err
66517   rm -f conftest.er1
66518   cat conftest.err >&5
66519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66520   (exit $ac_status); } &&
66521          { ac_try='test -z "$ac_c_werror_flag"
66522                          || test ! -s conftest.err'
66523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66524   (eval $ac_try) 2>&5
66525   ac_status=$?
66526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66527   (exit $ac_status); }; } &&
66528          { ac_try='test -s conftest$ac_exeext'
66529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66530   (eval $ac_try) 2>&5
66531   ac_status=$?
66532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66533   (exit $ac_status); }; }; then
66534   eval "$as_ac_var=yes"
66535 else
66536   echo "$as_me: failed program was:" >&5
66537 sed 's/^/| /' conftest.$ac_ext >&5
66538
66539 eval "$as_ac_var=no"
66540 fi
66541 rm -f conftest.err conftest.$ac_objext \
66542       conftest$ac_exeext conftest.$ac_ext
66543 fi
66544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66546 if test `eval echo '${'$as_ac_var'}'` = yes; then
66547   cat >>confdefs.h <<_ACEOF
66548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66549 _ACEOF
66550
66551 fi
66552 done
66553
66554     fi
66555   fi
66556
66557
66558
66559
66560
66561
66562   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
66563 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
66564   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
66565     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
66566   echo $ECHO_N "(cached) $ECHO_C" >&6
66567 else
66568
66569
66570
66571       ac_ext=cc
66572 ac_cpp='$CXXCPP $CPPFLAGS'
66573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66576
66577       cat >conftest.$ac_ext <<_ACEOF
66578 /* confdefs.h.  */
66579 _ACEOF
66580 cat confdefs.h >>conftest.$ac_ext
66581 cat >>conftest.$ac_ext <<_ACEOF
66582 /* end confdefs.h.  */
66583 #include <math.h>
66584 int
66585 main ()
66586 {
66587  frexpl(0, 0);
66588   ;
66589   return 0;
66590 }
66591 _ACEOF
66592 rm -f conftest.$ac_objext
66593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66594   (eval $ac_compile) 2>conftest.er1
66595   ac_status=$?
66596   grep -v '^ *+' conftest.er1 >conftest.err
66597   rm -f conftest.er1
66598   cat conftest.err >&5
66599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66600   (exit $ac_status); } &&
66601          { ac_try='test -z "$ac_cxx_werror_flag"
66602                          || test ! -s conftest.err'
66603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66604   (eval $ac_try) 2>&5
66605   ac_status=$?
66606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66607   (exit $ac_status); }; } &&
66608          { ac_try='test -s conftest.$ac_objext'
66609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66610   (eval $ac_try) 2>&5
66611   ac_status=$?
66612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66613   (exit $ac_status); }; }; then
66614   glibcxx_cv_func_frexpl_use=yes
66615 else
66616   echo "$as_me: failed program was:" >&5
66617 sed 's/^/| /' conftest.$ac_ext >&5
66618
66619 glibcxx_cv_func_frexpl_use=no
66620 fi
66621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66622       ac_ext=c
66623 ac_cpp='$CPP $CPPFLAGS'
66624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66627
66628
66629 fi
66630
66631   fi
66632   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
66633 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
66634
66635   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
66636
66637 for ac_func in frexpl
66638 do
66639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66640 echo "$as_me:$LINENO: checking for $ac_func" >&5
66641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66642 if eval "test \"\${$as_ac_var+set}\" = set"; then
66643   echo $ECHO_N "(cached) $ECHO_C" >&6
66644 else
66645   if test x$gcc_no_link = xyes; then
66646   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66648    { (exit 1); exit 1; }; }
66649 fi
66650 cat >conftest.$ac_ext <<_ACEOF
66651 /* confdefs.h.  */
66652 _ACEOF
66653 cat confdefs.h >>conftest.$ac_ext
66654 cat >>conftest.$ac_ext <<_ACEOF
66655 /* end confdefs.h.  */
66656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66657    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66658 #define $ac_func innocuous_$ac_func
66659
66660 /* System header to define __stub macros and hopefully few prototypes,
66661     which can conflict with char $ac_func (); below.
66662     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66663     <limits.h> exists even on freestanding compilers.  */
66664
66665 #ifdef __STDC__
66666 # include <limits.h>
66667 #else
66668 # include <assert.h>
66669 #endif
66670
66671 #undef $ac_func
66672
66673 /* Override any gcc2 internal prototype to avoid an error.  */
66674 #ifdef __cplusplus
66675 extern "C"
66676 {
66677 #endif
66678 /* We use char because int might match the return type of a gcc2
66679    builtin and then its argument prototype would still apply.  */
66680 char $ac_func ();
66681 /* The GNU C library defines this for functions which it implements
66682     to always fail with ENOSYS.  Some functions are actually named
66683     something starting with __ and the normal name is an alias.  */
66684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66685 choke me
66686 #else
66687 char (*f) () = $ac_func;
66688 #endif
66689 #ifdef __cplusplus
66690 }
66691 #endif
66692
66693 int
66694 main ()
66695 {
66696 return f != $ac_func;
66697   ;
66698   return 0;
66699 }
66700 _ACEOF
66701 rm -f conftest.$ac_objext conftest$ac_exeext
66702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66703   (eval $ac_link) 2>conftest.er1
66704   ac_status=$?
66705   grep -v '^ *+' conftest.er1 >conftest.err
66706   rm -f conftest.er1
66707   cat conftest.err >&5
66708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66709   (exit $ac_status); } &&
66710          { ac_try='test -z "$ac_c_werror_flag"
66711                          || test ! -s conftest.err'
66712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66713   (eval $ac_try) 2>&5
66714   ac_status=$?
66715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66716   (exit $ac_status); }; } &&
66717          { ac_try='test -s conftest$ac_exeext'
66718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66719   (eval $ac_try) 2>&5
66720   ac_status=$?
66721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66722   (exit $ac_status); }; }; then
66723   eval "$as_ac_var=yes"
66724 else
66725   echo "$as_me: failed program was:" >&5
66726 sed 's/^/| /' conftest.$ac_ext >&5
66727
66728 eval "$as_ac_var=no"
66729 fi
66730 rm -f conftest.err conftest.$ac_objext \
66731       conftest$ac_exeext conftest.$ac_ext
66732 fi
66733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66735 if test `eval echo '${'$as_ac_var'}'` = yes; then
66736   cat >>confdefs.h <<_ACEOF
66737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66738 _ACEOF
66739
66740 fi
66741 done
66742
66743   else
66744
66745   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
66746 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
66747   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
66748     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
66749   echo $ECHO_N "(cached) $ECHO_C" >&6
66750 else
66751
66752
66753
66754       ac_ext=cc
66755 ac_cpp='$CXXCPP $CPPFLAGS'
66756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66759
66760       cat >conftest.$ac_ext <<_ACEOF
66761 /* confdefs.h.  */
66762 _ACEOF
66763 cat confdefs.h >>conftest.$ac_ext
66764 cat >>conftest.$ac_ext <<_ACEOF
66765 /* end confdefs.h.  */
66766 #include <math.h>
66767 int
66768 main ()
66769 {
66770  _frexpl(0, 0);
66771   ;
66772   return 0;
66773 }
66774 _ACEOF
66775 rm -f conftest.$ac_objext
66776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66777   (eval $ac_compile) 2>conftest.er1
66778   ac_status=$?
66779   grep -v '^ *+' conftest.er1 >conftest.err
66780   rm -f conftest.er1
66781   cat conftest.err >&5
66782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66783   (exit $ac_status); } &&
66784          { ac_try='test -z "$ac_cxx_werror_flag"
66785                          || test ! -s conftest.err'
66786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66787   (eval $ac_try) 2>&5
66788   ac_status=$?
66789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66790   (exit $ac_status); }; } &&
66791          { ac_try='test -s conftest.$ac_objext'
66792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66793   (eval $ac_try) 2>&5
66794   ac_status=$?
66795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66796   (exit $ac_status); }; }; then
66797   glibcxx_cv_func__frexpl_use=yes
66798 else
66799   echo "$as_me: failed program was:" >&5
66800 sed 's/^/| /' conftest.$ac_ext >&5
66801
66802 glibcxx_cv_func__frexpl_use=no
66803 fi
66804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66805       ac_ext=c
66806 ac_cpp='$CPP $CPPFLAGS'
66807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66810
66811
66812 fi
66813
66814   fi
66815   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
66816 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
66817
66818     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
66819
66820 for ac_func in _frexpl
66821 do
66822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66823 echo "$as_me:$LINENO: checking for $ac_func" >&5
66824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66825 if eval "test \"\${$as_ac_var+set}\" = set"; then
66826   echo $ECHO_N "(cached) $ECHO_C" >&6
66827 else
66828   if test x$gcc_no_link = xyes; then
66829   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66831    { (exit 1); exit 1; }; }
66832 fi
66833 cat >conftest.$ac_ext <<_ACEOF
66834 /* confdefs.h.  */
66835 _ACEOF
66836 cat confdefs.h >>conftest.$ac_ext
66837 cat >>conftest.$ac_ext <<_ACEOF
66838 /* end confdefs.h.  */
66839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66840    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66841 #define $ac_func innocuous_$ac_func
66842
66843 /* System header to define __stub macros and hopefully few prototypes,
66844     which can conflict with char $ac_func (); below.
66845     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66846     <limits.h> exists even on freestanding compilers.  */
66847
66848 #ifdef __STDC__
66849 # include <limits.h>
66850 #else
66851 # include <assert.h>
66852 #endif
66853
66854 #undef $ac_func
66855
66856 /* Override any gcc2 internal prototype to avoid an error.  */
66857 #ifdef __cplusplus
66858 extern "C"
66859 {
66860 #endif
66861 /* We use char because int might match the return type of a gcc2
66862    builtin and then its argument prototype would still apply.  */
66863 char $ac_func ();
66864 /* The GNU C library defines this for functions which it implements
66865     to always fail with ENOSYS.  Some functions are actually named
66866     something starting with __ and the normal name is an alias.  */
66867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66868 choke me
66869 #else
66870 char (*f) () = $ac_func;
66871 #endif
66872 #ifdef __cplusplus
66873 }
66874 #endif
66875
66876 int
66877 main ()
66878 {
66879 return f != $ac_func;
66880   ;
66881   return 0;
66882 }
66883 _ACEOF
66884 rm -f conftest.$ac_objext conftest$ac_exeext
66885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66886   (eval $ac_link) 2>conftest.er1
66887   ac_status=$?
66888   grep -v '^ *+' conftest.er1 >conftest.err
66889   rm -f conftest.er1
66890   cat conftest.err >&5
66891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66892   (exit $ac_status); } &&
66893          { ac_try='test -z "$ac_c_werror_flag"
66894                          || test ! -s conftest.err'
66895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66896   (eval $ac_try) 2>&5
66897   ac_status=$?
66898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66899   (exit $ac_status); }; } &&
66900          { ac_try='test -s conftest$ac_exeext'
66901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66902   (eval $ac_try) 2>&5
66903   ac_status=$?
66904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66905   (exit $ac_status); }; }; then
66906   eval "$as_ac_var=yes"
66907 else
66908   echo "$as_me: failed program was:" >&5
66909 sed 's/^/| /' conftest.$ac_ext >&5
66910
66911 eval "$as_ac_var=no"
66912 fi
66913 rm -f conftest.err conftest.$ac_objext \
66914       conftest$ac_exeext conftest.$ac_ext
66915 fi
66916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66918 if test `eval echo '${'$as_ac_var'}'` = yes; then
66919   cat >>confdefs.h <<_ACEOF
66920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66921 _ACEOF
66922
66923 fi
66924 done
66925
66926     fi
66927   fi
66928
66929
66930
66931
66932
66933
66934   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
66935 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
66936   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
66937     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
66938   echo $ECHO_N "(cached) $ECHO_C" >&6
66939 else
66940
66941
66942
66943       ac_ext=cc
66944 ac_cpp='$CXXCPP $CPPFLAGS'
66945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66948
66949       cat >conftest.$ac_ext <<_ACEOF
66950 /* confdefs.h.  */
66951 _ACEOF
66952 cat confdefs.h >>conftest.$ac_ext
66953 cat >>conftest.$ac_ext <<_ACEOF
66954 /* end confdefs.h.  */
66955 #include <math.h>
66956 int
66957 main ()
66958 {
66959  hypotl(0, 0);
66960   ;
66961   return 0;
66962 }
66963 _ACEOF
66964 rm -f conftest.$ac_objext
66965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66966   (eval $ac_compile) 2>conftest.er1
66967   ac_status=$?
66968   grep -v '^ *+' conftest.er1 >conftest.err
66969   rm -f conftest.er1
66970   cat conftest.err >&5
66971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66972   (exit $ac_status); } &&
66973          { ac_try='test -z "$ac_cxx_werror_flag"
66974                          || test ! -s conftest.err'
66975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66976   (eval $ac_try) 2>&5
66977   ac_status=$?
66978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66979   (exit $ac_status); }; } &&
66980          { ac_try='test -s conftest.$ac_objext'
66981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66982   (eval $ac_try) 2>&5
66983   ac_status=$?
66984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66985   (exit $ac_status); }; }; then
66986   glibcxx_cv_func_hypotl_use=yes
66987 else
66988   echo "$as_me: failed program was:" >&5
66989 sed 's/^/| /' conftest.$ac_ext >&5
66990
66991 glibcxx_cv_func_hypotl_use=no
66992 fi
66993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66994       ac_ext=c
66995 ac_cpp='$CPP $CPPFLAGS'
66996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66999
67000
67001 fi
67002
67003   fi
67004   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
67005 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
67006
67007   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
67008
67009 for ac_func in hypotl
67010 do
67011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67012 echo "$as_me:$LINENO: checking for $ac_func" >&5
67013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67014 if eval "test \"\${$as_ac_var+set}\" = set"; then
67015   echo $ECHO_N "(cached) $ECHO_C" >&6
67016 else
67017   if test x$gcc_no_link = xyes; then
67018   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67020    { (exit 1); exit 1; }; }
67021 fi
67022 cat >conftest.$ac_ext <<_ACEOF
67023 /* confdefs.h.  */
67024 _ACEOF
67025 cat confdefs.h >>conftest.$ac_ext
67026 cat >>conftest.$ac_ext <<_ACEOF
67027 /* end confdefs.h.  */
67028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67029    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67030 #define $ac_func innocuous_$ac_func
67031
67032 /* System header to define __stub macros and hopefully few prototypes,
67033     which can conflict with char $ac_func (); below.
67034     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67035     <limits.h> exists even on freestanding compilers.  */
67036
67037 #ifdef __STDC__
67038 # include <limits.h>
67039 #else
67040 # include <assert.h>
67041 #endif
67042
67043 #undef $ac_func
67044
67045 /* Override any gcc2 internal prototype to avoid an error.  */
67046 #ifdef __cplusplus
67047 extern "C"
67048 {
67049 #endif
67050 /* We use char because int might match the return type of a gcc2
67051    builtin and then its argument prototype would still apply.  */
67052 char $ac_func ();
67053 /* The GNU C library defines this for functions which it implements
67054     to always fail with ENOSYS.  Some functions are actually named
67055     something starting with __ and the normal name is an alias.  */
67056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67057 choke me
67058 #else
67059 char (*f) () = $ac_func;
67060 #endif
67061 #ifdef __cplusplus
67062 }
67063 #endif
67064
67065 int
67066 main ()
67067 {
67068 return f != $ac_func;
67069   ;
67070   return 0;
67071 }
67072 _ACEOF
67073 rm -f conftest.$ac_objext conftest$ac_exeext
67074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67075   (eval $ac_link) 2>conftest.er1
67076   ac_status=$?
67077   grep -v '^ *+' conftest.er1 >conftest.err
67078   rm -f conftest.er1
67079   cat conftest.err >&5
67080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67081   (exit $ac_status); } &&
67082          { ac_try='test -z "$ac_c_werror_flag"
67083                          || test ! -s conftest.err'
67084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67085   (eval $ac_try) 2>&5
67086   ac_status=$?
67087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67088   (exit $ac_status); }; } &&
67089          { ac_try='test -s conftest$ac_exeext'
67090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67091   (eval $ac_try) 2>&5
67092   ac_status=$?
67093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67094   (exit $ac_status); }; }; then
67095   eval "$as_ac_var=yes"
67096 else
67097   echo "$as_me: failed program was:" >&5
67098 sed 's/^/| /' conftest.$ac_ext >&5
67099
67100 eval "$as_ac_var=no"
67101 fi
67102 rm -f conftest.err conftest.$ac_objext \
67103       conftest$ac_exeext conftest.$ac_ext
67104 fi
67105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67107 if test `eval echo '${'$as_ac_var'}'` = yes; then
67108   cat >>confdefs.h <<_ACEOF
67109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67110 _ACEOF
67111
67112 fi
67113 done
67114
67115   else
67116
67117   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
67118 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
67119   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
67120     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
67121   echo $ECHO_N "(cached) $ECHO_C" >&6
67122 else
67123
67124
67125
67126       ac_ext=cc
67127 ac_cpp='$CXXCPP $CPPFLAGS'
67128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67131
67132       cat >conftest.$ac_ext <<_ACEOF
67133 /* confdefs.h.  */
67134 _ACEOF
67135 cat confdefs.h >>conftest.$ac_ext
67136 cat >>conftest.$ac_ext <<_ACEOF
67137 /* end confdefs.h.  */
67138 #include <math.h>
67139 int
67140 main ()
67141 {
67142  _hypotl(0, 0);
67143   ;
67144   return 0;
67145 }
67146 _ACEOF
67147 rm -f conftest.$ac_objext
67148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67149   (eval $ac_compile) 2>conftest.er1
67150   ac_status=$?
67151   grep -v '^ *+' conftest.er1 >conftest.err
67152   rm -f conftest.er1
67153   cat conftest.err >&5
67154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67155   (exit $ac_status); } &&
67156          { ac_try='test -z "$ac_cxx_werror_flag"
67157                          || test ! -s conftest.err'
67158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67159   (eval $ac_try) 2>&5
67160   ac_status=$?
67161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67162   (exit $ac_status); }; } &&
67163          { ac_try='test -s conftest.$ac_objext'
67164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67165   (eval $ac_try) 2>&5
67166   ac_status=$?
67167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67168   (exit $ac_status); }; }; then
67169   glibcxx_cv_func__hypotl_use=yes
67170 else
67171   echo "$as_me: failed program was:" >&5
67172 sed 's/^/| /' conftest.$ac_ext >&5
67173
67174 glibcxx_cv_func__hypotl_use=no
67175 fi
67176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67177       ac_ext=c
67178 ac_cpp='$CPP $CPPFLAGS'
67179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67182
67183
67184 fi
67185
67186   fi
67187   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
67188 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
67189
67190     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
67191
67192 for ac_func in _hypotl
67193 do
67194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67195 echo "$as_me:$LINENO: checking for $ac_func" >&5
67196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67197 if eval "test \"\${$as_ac_var+set}\" = set"; then
67198   echo $ECHO_N "(cached) $ECHO_C" >&6
67199 else
67200   if test x$gcc_no_link = xyes; then
67201   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67203    { (exit 1); exit 1; }; }
67204 fi
67205 cat >conftest.$ac_ext <<_ACEOF
67206 /* confdefs.h.  */
67207 _ACEOF
67208 cat confdefs.h >>conftest.$ac_ext
67209 cat >>conftest.$ac_ext <<_ACEOF
67210 /* end confdefs.h.  */
67211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67212    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67213 #define $ac_func innocuous_$ac_func
67214
67215 /* System header to define __stub macros and hopefully few prototypes,
67216     which can conflict with char $ac_func (); below.
67217     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67218     <limits.h> exists even on freestanding compilers.  */
67219
67220 #ifdef __STDC__
67221 # include <limits.h>
67222 #else
67223 # include <assert.h>
67224 #endif
67225
67226 #undef $ac_func
67227
67228 /* Override any gcc2 internal prototype to avoid an error.  */
67229 #ifdef __cplusplus
67230 extern "C"
67231 {
67232 #endif
67233 /* We use char because int might match the return type of a gcc2
67234    builtin and then its argument prototype would still apply.  */
67235 char $ac_func ();
67236 /* The GNU C library defines this for functions which it implements
67237     to always fail with ENOSYS.  Some functions are actually named
67238     something starting with __ and the normal name is an alias.  */
67239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67240 choke me
67241 #else
67242 char (*f) () = $ac_func;
67243 #endif
67244 #ifdef __cplusplus
67245 }
67246 #endif
67247
67248 int
67249 main ()
67250 {
67251 return f != $ac_func;
67252   ;
67253   return 0;
67254 }
67255 _ACEOF
67256 rm -f conftest.$ac_objext conftest$ac_exeext
67257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67258   (eval $ac_link) 2>conftest.er1
67259   ac_status=$?
67260   grep -v '^ *+' conftest.er1 >conftest.err
67261   rm -f conftest.er1
67262   cat conftest.err >&5
67263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67264   (exit $ac_status); } &&
67265          { ac_try='test -z "$ac_c_werror_flag"
67266                          || test ! -s conftest.err'
67267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67268   (eval $ac_try) 2>&5
67269   ac_status=$?
67270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67271   (exit $ac_status); }; } &&
67272          { ac_try='test -s conftest$ac_exeext'
67273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67274   (eval $ac_try) 2>&5
67275   ac_status=$?
67276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67277   (exit $ac_status); }; }; then
67278   eval "$as_ac_var=yes"
67279 else
67280   echo "$as_me: failed program was:" >&5
67281 sed 's/^/| /' conftest.$ac_ext >&5
67282
67283 eval "$as_ac_var=no"
67284 fi
67285 rm -f conftest.err conftest.$ac_objext \
67286       conftest$ac_exeext conftest.$ac_ext
67287 fi
67288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67290 if test `eval echo '${'$as_ac_var'}'` = yes; then
67291   cat >>confdefs.h <<_ACEOF
67292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67293 _ACEOF
67294
67295 fi
67296 done
67297
67298     fi
67299   fi
67300
67301
67302
67303
67304
67305
67306   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
67307 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
67308   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
67309     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
67310   echo $ECHO_N "(cached) $ECHO_C" >&6
67311 else
67312
67313
67314
67315       ac_ext=cc
67316 ac_cpp='$CXXCPP $CPPFLAGS'
67317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67320
67321       cat >conftest.$ac_ext <<_ACEOF
67322 /* confdefs.h.  */
67323 _ACEOF
67324 cat confdefs.h >>conftest.$ac_ext
67325 cat >>conftest.$ac_ext <<_ACEOF
67326 /* end confdefs.h.  */
67327 #include <math.h>
67328 int
67329 main ()
67330 {
67331  ldexpl(0, 0);
67332   ;
67333   return 0;
67334 }
67335 _ACEOF
67336 rm -f conftest.$ac_objext
67337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67338   (eval $ac_compile) 2>conftest.er1
67339   ac_status=$?
67340   grep -v '^ *+' conftest.er1 >conftest.err
67341   rm -f conftest.er1
67342   cat conftest.err >&5
67343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67344   (exit $ac_status); } &&
67345          { ac_try='test -z "$ac_cxx_werror_flag"
67346                          || test ! -s conftest.err'
67347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67348   (eval $ac_try) 2>&5
67349   ac_status=$?
67350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67351   (exit $ac_status); }; } &&
67352          { ac_try='test -s conftest.$ac_objext'
67353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67354   (eval $ac_try) 2>&5
67355   ac_status=$?
67356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67357   (exit $ac_status); }; }; then
67358   glibcxx_cv_func_ldexpl_use=yes
67359 else
67360   echo "$as_me: failed program was:" >&5
67361 sed 's/^/| /' conftest.$ac_ext >&5
67362
67363 glibcxx_cv_func_ldexpl_use=no
67364 fi
67365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67366       ac_ext=c
67367 ac_cpp='$CPP $CPPFLAGS'
67368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67371
67372
67373 fi
67374
67375   fi
67376   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
67377 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
67378
67379   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
67380
67381 for ac_func in ldexpl
67382 do
67383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67384 echo "$as_me:$LINENO: checking for $ac_func" >&5
67385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67386 if eval "test \"\${$as_ac_var+set}\" = set"; then
67387   echo $ECHO_N "(cached) $ECHO_C" >&6
67388 else
67389   if test x$gcc_no_link = xyes; then
67390   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67392    { (exit 1); exit 1; }; }
67393 fi
67394 cat >conftest.$ac_ext <<_ACEOF
67395 /* confdefs.h.  */
67396 _ACEOF
67397 cat confdefs.h >>conftest.$ac_ext
67398 cat >>conftest.$ac_ext <<_ACEOF
67399 /* end confdefs.h.  */
67400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67401    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67402 #define $ac_func innocuous_$ac_func
67403
67404 /* System header to define __stub macros and hopefully few prototypes,
67405     which can conflict with char $ac_func (); below.
67406     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67407     <limits.h> exists even on freestanding compilers.  */
67408
67409 #ifdef __STDC__
67410 # include <limits.h>
67411 #else
67412 # include <assert.h>
67413 #endif
67414
67415 #undef $ac_func
67416
67417 /* Override any gcc2 internal prototype to avoid an error.  */
67418 #ifdef __cplusplus
67419 extern "C"
67420 {
67421 #endif
67422 /* We use char because int might match the return type of a gcc2
67423    builtin and then its argument prototype would still apply.  */
67424 char $ac_func ();
67425 /* The GNU C library defines this for functions which it implements
67426     to always fail with ENOSYS.  Some functions are actually named
67427     something starting with __ and the normal name is an alias.  */
67428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67429 choke me
67430 #else
67431 char (*f) () = $ac_func;
67432 #endif
67433 #ifdef __cplusplus
67434 }
67435 #endif
67436
67437 int
67438 main ()
67439 {
67440 return f != $ac_func;
67441   ;
67442   return 0;
67443 }
67444 _ACEOF
67445 rm -f conftest.$ac_objext conftest$ac_exeext
67446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67447   (eval $ac_link) 2>conftest.er1
67448   ac_status=$?
67449   grep -v '^ *+' conftest.er1 >conftest.err
67450   rm -f conftest.er1
67451   cat conftest.err >&5
67452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67453   (exit $ac_status); } &&
67454          { ac_try='test -z "$ac_c_werror_flag"
67455                          || test ! -s conftest.err'
67456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67457   (eval $ac_try) 2>&5
67458   ac_status=$?
67459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67460   (exit $ac_status); }; } &&
67461          { ac_try='test -s conftest$ac_exeext'
67462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67463   (eval $ac_try) 2>&5
67464   ac_status=$?
67465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67466   (exit $ac_status); }; }; then
67467   eval "$as_ac_var=yes"
67468 else
67469   echo "$as_me: failed program was:" >&5
67470 sed 's/^/| /' conftest.$ac_ext >&5
67471
67472 eval "$as_ac_var=no"
67473 fi
67474 rm -f conftest.err conftest.$ac_objext \
67475       conftest$ac_exeext conftest.$ac_ext
67476 fi
67477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67479 if test `eval echo '${'$as_ac_var'}'` = yes; then
67480   cat >>confdefs.h <<_ACEOF
67481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67482 _ACEOF
67483
67484 fi
67485 done
67486
67487   else
67488
67489   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
67490 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
67491   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
67492     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
67493   echo $ECHO_N "(cached) $ECHO_C" >&6
67494 else
67495
67496
67497
67498       ac_ext=cc
67499 ac_cpp='$CXXCPP $CPPFLAGS'
67500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67503
67504       cat >conftest.$ac_ext <<_ACEOF
67505 /* confdefs.h.  */
67506 _ACEOF
67507 cat confdefs.h >>conftest.$ac_ext
67508 cat >>conftest.$ac_ext <<_ACEOF
67509 /* end confdefs.h.  */
67510 #include <math.h>
67511 int
67512 main ()
67513 {
67514  _ldexpl(0, 0);
67515   ;
67516   return 0;
67517 }
67518 _ACEOF
67519 rm -f conftest.$ac_objext
67520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67521   (eval $ac_compile) 2>conftest.er1
67522   ac_status=$?
67523   grep -v '^ *+' conftest.er1 >conftest.err
67524   rm -f conftest.er1
67525   cat conftest.err >&5
67526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67527   (exit $ac_status); } &&
67528          { ac_try='test -z "$ac_cxx_werror_flag"
67529                          || test ! -s conftest.err'
67530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67531   (eval $ac_try) 2>&5
67532   ac_status=$?
67533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67534   (exit $ac_status); }; } &&
67535          { ac_try='test -s conftest.$ac_objext'
67536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67537   (eval $ac_try) 2>&5
67538   ac_status=$?
67539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67540   (exit $ac_status); }; }; then
67541   glibcxx_cv_func__ldexpl_use=yes
67542 else
67543   echo "$as_me: failed program was:" >&5
67544 sed 's/^/| /' conftest.$ac_ext >&5
67545
67546 glibcxx_cv_func__ldexpl_use=no
67547 fi
67548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67549       ac_ext=c
67550 ac_cpp='$CPP $CPPFLAGS'
67551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67554
67555
67556 fi
67557
67558   fi
67559   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
67560 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
67561
67562     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
67563
67564 for ac_func in _ldexpl
67565 do
67566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67567 echo "$as_me:$LINENO: checking for $ac_func" >&5
67568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67569 if eval "test \"\${$as_ac_var+set}\" = set"; then
67570   echo $ECHO_N "(cached) $ECHO_C" >&6
67571 else
67572   if test x$gcc_no_link = xyes; then
67573   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67575    { (exit 1); exit 1; }; }
67576 fi
67577 cat >conftest.$ac_ext <<_ACEOF
67578 /* confdefs.h.  */
67579 _ACEOF
67580 cat confdefs.h >>conftest.$ac_ext
67581 cat >>conftest.$ac_ext <<_ACEOF
67582 /* end confdefs.h.  */
67583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67584    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67585 #define $ac_func innocuous_$ac_func
67586
67587 /* System header to define __stub macros and hopefully few prototypes,
67588     which can conflict with char $ac_func (); below.
67589     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67590     <limits.h> exists even on freestanding compilers.  */
67591
67592 #ifdef __STDC__
67593 # include <limits.h>
67594 #else
67595 # include <assert.h>
67596 #endif
67597
67598 #undef $ac_func
67599
67600 /* Override any gcc2 internal prototype to avoid an error.  */
67601 #ifdef __cplusplus
67602 extern "C"
67603 {
67604 #endif
67605 /* We use char because int might match the return type of a gcc2
67606    builtin and then its argument prototype would still apply.  */
67607 char $ac_func ();
67608 /* The GNU C library defines this for functions which it implements
67609     to always fail with ENOSYS.  Some functions are actually named
67610     something starting with __ and the normal name is an alias.  */
67611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67612 choke me
67613 #else
67614 char (*f) () = $ac_func;
67615 #endif
67616 #ifdef __cplusplus
67617 }
67618 #endif
67619
67620 int
67621 main ()
67622 {
67623 return f != $ac_func;
67624   ;
67625   return 0;
67626 }
67627 _ACEOF
67628 rm -f conftest.$ac_objext conftest$ac_exeext
67629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67630   (eval $ac_link) 2>conftest.er1
67631   ac_status=$?
67632   grep -v '^ *+' conftest.er1 >conftest.err
67633   rm -f conftest.er1
67634   cat conftest.err >&5
67635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67636   (exit $ac_status); } &&
67637          { ac_try='test -z "$ac_c_werror_flag"
67638                          || test ! -s conftest.err'
67639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67640   (eval $ac_try) 2>&5
67641   ac_status=$?
67642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67643   (exit $ac_status); }; } &&
67644          { ac_try='test -s conftest$ac_exeext'
67645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67646   (eval $ac_try) 2>&5
67647   ac_status=$?
67648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67649   (exit $ac_status); }; }; then
67650   eval "$as_ac_var=yes"
67651 else
67652   echo "$as_me: failed program was:" >&5
67653 sed 's/^/| /' conftest.$ac_ext >&5
67654
67655 eval "$as_ac_var=no"
67656 fi
67657 rm -f conftest.err conftest.$ac_objext \
67658       conftest$ac_exeext conftest.$ac_ext
67659 fi
67660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67662 if test `eval echo '${'$as_ac_var'}'` = yes; then
67663   cat >>confdefs.h <<_ACEOF
67664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67665 _ACEOF
67666
67667 fi
67668 done
67669
67670     fi
67671   fi
67672
67673
67674
67675
67676
67677
67678   echo "$as_me:$LINENO: checking for logl declaration" >&5
67679 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
67680   if test x${glibcxx_cv_func_logl_use+set} != xset; then
67681     if test "${glibcxx_cv_func_logl_use+set}" = set; then
67682   echo $ECHO_N "(cached) $ECHO_C" >&6
67683 else
67684
67685
67686
67687       ac_ext=cc
67688 ac_cpp='$CXXCPP $CPPFLAGS'
67689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67692
67693       cat >conftest.$ac_ext <<_ACEOF
67694 /* confdefs.h.  */
67695 _ACEOF
67696 cat confdefs.h >>conftest.$ac_ext
67697 cat >>conftest.$ac_ext <<_ACEOF
67698 /* end confdefs.h.  */
67699 #include <math.h>
67700                       #ifdef HAVE_IEEEFP_H
67701                       #include <ieeefp.h>
67702                       #endif
67703
67704 int
67705 main ()
67706 {
67707  logl(0);
67708   ;
67709   return 0;
67710 }
67711 _ACEOF
67712 rm -f conftest.$ac_objext
67713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67714   (eval $ac_compile) 2>conftest.er1
67715   ac_status=$?
67716   grep -v '^ *+' conftest.er1 >conftest.err
67717   rm -f conftest.er1
67718   cat conftest.err >&5
67719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67720   (exit $ac_status); } &&
67721          { ac_try='test -z "$ac_cxx_werror_flag"
67722                          || test ! -s conftest.err'
67723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67724   (eval $ac_try) 2>&5
67725   ac_status=$?
67726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67727   (exit $ac_status); }; } &&
67728          { ac_try='test -s conftest.$ac_objext'
67729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67730   (eval $ac_try) 2>&5
67731   ac_status=$?
67732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67733   (exit $ac_status); }; }; then
67734   glibcxx_cv_func_logl_use=yes
67735 else
67736   echo "$as_me: failed program was:" >&5
67737 sed 's/^/| /' conftest.$ac_ext >&5
67738
67739 glibcxx_cv_func_logl_use=no
67740 fi
67741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67742       ac_ext=c
67743 ac_cpp='$CPP $CPPFLAGS'
67744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67747
67748
67749 fi
67750
67751   fi
67752   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
67753 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
67754
67755   if test x$glibcxx_cv_func_logl_use = x"yes"; then
67756
67757 for ac_func in logl
67758 do
67759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67760 echo "$as_me:$LINENO: checking for $ac_func" >&5
67761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67762 if eval "test \"\${$as_ac_var+set}\" = set"; then
67763   echo $ECHO_N "(cached) $ECHO_C" >&6
67764 else
67765   if test x$gcc_no_link = xyes; then
67766   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67768    { (exit 1); exit 1; }; }
67769 fi
67770 cat >conftest.$ac_ext <<_ACEOF
67771 /* confdefs.h.  */
67772 _ACEOF
67773 cat confdefs.h >>conftest.$ac_ext
67774 cat >>conftest.$ac_ext <<_ACEOF
67775 /* end confdefs.h.  */
67776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67777    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67778 #define $ac_func innocuous_$ac_func
67779
67780 /* System header to define __stub macros and hopefully few prototypes,
67781     which can conflict with char $ac_func (); below.
67782     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67783     <limits.h> exists even on freestanding compilers.  */
67784
67785 #ifdef __STDC__
67786 # include <limits.h>
67787 #else
67788 # include <assert.h>
67789 #endif
67790
67791 #undef $ac_func
67792
67793 /* Override any gcc2 internal prototype to avoid an error.  */
67794 #ifdef __cplusplus
67795 extern "C"
67796 {
67797 #endif
67798 /* We use char because int might match the return type of a gcc2
67799    builtin and then its argument prototype would still apply.  */
67800 char $ac_func ();
67801 /* The GNU C library defines this for functions which it implements
67802     to always fail with ENOSYS.  Some functions are actually named
67803     something starting with __ and the normal name is an alias.  */
67804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67805 choke me
67806 #else
67807 char (*f) () = $ac_func;
67808 #endif
67809 #ifdef __cplusplus
67810 }
67811 #endif
67812
67813 int
67814 main ()
67815 {
67816 return f != $ac_func;
67817   ;
67818   return 0;
67819 }
67820 _ACEOF
67821 rm -f conftest.$ac_objext conftest$ac_exeext
67822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67823   (eval $ac_link) 2>conftest.er1
67824   ac_status=$?
67825   grep -v '^ *+' conftest.er1 >conftest.err
67826   rm -f conftest.er1
67827   cat conftest.err >&5
67828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67829   (exit $ac_status); } &&
67830          { ac_try='test -z "$ac_c_werror_flag"
67831                          || test ! -s conftest.err'
67832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67833   (eval $ac_try) 2>&5
67834   ac_status=$?
67835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67836   (exit $ac_status); }; } &&
67837          { ac_try='test -s conftest$ac_exeext'
67838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67839   (eval $ac_try) 2>&5
67840   ac_status=$?
67841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67842   (exit $ac_status); }; }; then
67843   eval "$as_ac_var=yes"
67844 else
67845   echo "$as_me: failed program was:" >&5
67846 sed 's/^/| /' conftest.$ac_ext >&5
67847
67848 eval "$as_ac_var=no"
67849 fi
67850 rm -f conftest.err conftest.$ac_objext \
67851       conftest$ac_exeext conftest.$ac_ext
67852 fi
67853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67855 if test `eval echo '${'$as_ac_var'}'` = yes; then
67856   cat >>confdefs.h <<_ACEOF
67857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67858 _ACEOF
67859
67860 fi
67861 done
67862
67863   else
67864
67865   echo "$as_me:$LINENO: checking for _logl declaration" >&5
67866 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
67867   if test x${glibcxx_cv_func__logl_use+set} != xset; then
67868     if test "${glibcxx_cv_func__logl_use+set}" = set; then
67869   echo $ECHO_N "(cached) $ECHO_C" >&6
67870 else
67871
67872
67873
67874       ac_ext=cc
67875 ac_cpp='$CXXCPP $CPPFLAGS'
67876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67879
67880       cat >conftest.$ac_ext <<_ACEOF
67881 /* confdefs.h.  */
67882 _ACEOF
67883 cat confdefs.h >>conftest.$ac_ext
67884 cat >>conftest.$ac_ext <<_ACEOF
67885 /* end confdefs.h.  */
67886 #include <math.h>
67887                       #ifdef HAVE_IEEEFP_H
67888                       #include <ieeefp.h>
67889                       #endif
67890
67891 int
67892 main ()
67893 {
67894  _logl(0);
67895   ;
67896   return 0;
67897 }
67898 _ACEOF
67899 rm -f conftest.$ac_objext
67900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67901   (eval $ac_compile) 2>conftest.er1
67902   ac_status=$?
67903   grep -v '^ *+' conftest.er1 >conftest.err
67904   rm -f conftest.er1
67905   cat conftest.err >&5
67906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67907   (exit $ac_status); } &&
67908          { ac_try='test -z "$ac_cxx_werror_flag"
67909                          || test ! -s conftest.err'
67910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67911   (eval $ac_try) 2>&5
67912   ac_status=$?
67913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67914   (exit $ac_status); }; } &&
67915          { ac_try='test -s conftest.$ac_objext'
67916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67917   (eval $ac_try) 2>&5
67918   ac_status=$?
67919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67920   (exit $ac_status); }; }; then
67921   glibcxx_cv_func__logl_use=yes
67922 else
67923   echo "$as_me: failed program was:" >&5
67924 sed 's/^/| /' conftest.$ac_ext >&5
67925
67926 glibcxx_cv_func__logl_use=no
67927 fi
67928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67929       ac_ext=c
67930 ac_cpp='$CPP $CPPFLAGS'
67931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67934
67935
67936 fi
67937
67938   fi
67939   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
67940 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
67941
67942     if test x$glibcxx_cv_func__logl_use = x"yes"; then
67943
67944 for ac_func in _logl
67945 do
67946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67947 echo "$as_me:$LINENO: checking for $ac_func" >&5
67948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67949 if eval "test \"\${$as_ac_var+set}\" = set"; then
67950   echo $ECHO_N "(cached) $ECHO_C" >&6
67951 else
67952   if test x$gcc_no_link = xyes; then
67953   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67955    { (exit 1); exit 1; }; }
67956 fi
67957 cat >conftest.$ac_ext <<_ACEOF
67958 /* confdefs.h.  */
67959 _ACEOF
67960 cat confdefs.h >>conftest.$ac_ext
67961 cat >>conftest.$ac_ext <<_ACEOF
67962 /* end confdefs.h.  */
67963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67964    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67965 #define $ac_func innocuous_$ac_func
67966
67967 /* System header to define __stub macros and hopefully few prototypes,
67968     which can conflict with char $ac_func (); below.
67969     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67970     <limits.h> exists even on freestanding compilers.  */
67971
67972 #ifdef __STDC__
67973 # include <limits.h>
67974 #else
67975 # include <assert.h>
67976 #endif
67977
67978 #undef $ac_func
67979
67980 /* Override any gcc2 internal prototype to avoid an error.  */
67981 #ifdef __cplusplus
67982 extern "C"
67983 {
67984 #endif
67985 /* We use char because int might match the return type of a gcc2
67986    builtin and then its argument prototype would still apply.  */
67987 char $ac_func ();
67988 /* The GNU C library defines this for functions which it implements
67989     to always fail with ENOSYS.  Some functions are actually named
67990     something starting with __ and the normal name is an alias.  */
67991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67992 choke me
67993 #else
67994 char (*f) () = $ac_func;
67995 #endif
67996 #ifdef __cplusplus
67997 }
67998 #endif
67999
68000 int
68001 main ()
68002 {
68003 return f != $ac_func;
68004   ;
68005   return 0;
68006 }
68007 _ACEOF
68008 rm -f conftest.$ac_objext conftest$ac_exeext
68009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68010   (eval $ac_link) 2>conftest.er1
68011   ac_status=$?
68012   grep -v '^ *+' conftest.er1 >conftest.err
68013   rm -f conftest.er1
68014   cat conftest.err >&5
68015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68016   (exit $ac_status); } &&
68017          { ac_try='test -z "$ac_c_werror_flag"
68018                          || test ! -s conftest.err'
68019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68020   (eval $ac_try) 2>&5
68021   ac_status=$?
68022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68023   (exit $ac_status); }; } &&
68024          { ac_try='test -s conftest$ac_exeext'
68025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68026   (eval $ac_try) 2>&5
68027   ac_status=$?
68028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68029   (exit $ac_status); }; }; then
68030   eval "$as_ac_var=yes"
68031 else
68032   echo "$as_me: failed program was:" >&5
68033 sed 's/^/| /' conftest.$ac_ext >&5
68034
68035 eval "$as_ac_var=no"
68036 fi
68037 rm -f conftest.err conftest.$ac_objext \
68038       conftest$ac_exeext conftest.$ac_ext
68039 fi
68040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68042 if test `eval echo '${'$as_ac_var'}'` = yes; then
68043   cat >>confdefs.h <<_ACEOF
68044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68045 _ACEOF
68046
68047 fi
68048 done
68049
68050     fi
68051   fi
68052
68053
68054
68055
68056
68057
68058   echo "$as_me:$LINENO: checking for log10l declaration" >&5
68059 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
68060   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
68061     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
68062   echo $ECHO_N "(cached) $ECHO_C" >&6
68063 else
68064
68065
68066
68067       ac_ext=cc
68068 ac_cpp='$CXXCPP $CPPFLAGS'
68069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68072
68073       cat >conftest.$ac_ext <<_ACEOF
68074 /* confdefs.h.  */
68075 _ACEOF
68076 cat confdefs.h >>conftest.$ac_ext
68077 cat >>conftest.$ac_ext <<_ACEOF
68078 /* end confdefs.h.  */
68079 #include <math.h>
68080                       #ifdef HAVE_IEEEFP_H
68081                       #include <ieeefp.h>
68082                       #endif
68083
68084 int
68085 main ()
68086 {
68087  log10l(0);
68088   ;
68089   return 0;
68090 }
68091 _ACEOF
68092 rm -f conftest.$ac_objext
68093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68094   (eval $ac_compile) 2>conftest.er1
68095   ac_status=$?
68096   grep -v '^ *+' conftest.er1 >conftest.err
68097   rm -f conftest.er1
68098   cat conftest.err >&5
68099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68100   (exit $ac_status); } &&
68101          { ac_try='test -z "$ac_cxx_werror_flag"
68102                          || test ! -s conftest.err'
68103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68104   (eval $ac_try) 2>&5
68105   ac_status=$?
68106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68107   (exit $ac_status); }; } &&
68108          { ac_try='test -s conftest.$ac_objext'
68109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68110   (eval $ac_try) 2>&5
68111   ac_status=$?
68112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68113   (exit $ac_status); }; }; then
68114   glibcxx_cv_func_log10l_use=yes
68115 else
68116   echo "$as_me: failed program was:" >&5
68117 sed 's/^/| /' conftest.$ac_ext >&5
68118
68119 glibcxx_cv_func_log10l_use=no
68120 fi
68121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68122       ac_ext=c
68123 ac_cpp='$CPP $CPPFLAGS'
68124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68127
68128
68129 fi
68130
68131   fi
68132   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
68133 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
68134
68135   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
68136
68137 for ac_func in log10l
68138 do
68139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68140 echo "$as_me:$LINENO: checking for $ac_func" >&5
68141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68142 if eval "test \"\${$as_ac_var+set}\" = set"; then
68143   echo $ECHO_N "(cached) $ECHO_C" >&6
68144 else
68145   if test x$gcc_no_link = xyes; then
68146   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68148    { (exit 1); exit 1; }; }
68149 fi
68150 cat >conftest.$ac_ext <<_ACEOF
68151 /* confdefs.h.  */
68152 _ACEOF
68153 cat confdefs.h >>conftest.$ac_ext
68154 cat >>conftest.$ac_ext <<_ACEOF
68155 /* end confdefs.h.  */
68156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68157    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68158 #define $ac_func innocuous_$ac_func
68159
68160 /* System header to define __stub macros and hopefully few prototypes,
68161     which can conflict with char $ac_func (); below.
68162     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68163     <limits.h> exists even on freestanding compilers.  */
68164
68165 #ifdef __STDC__
68166 # include <limits.h>
68167 #else
68168 # include <assert.h>
68169 #endif
68170
68171 #undef $ac_func
68172
68173 /* Override any gcc2 internal prototype to avoid an error.  */
68174 #ifdef __cplusplus
68175 extern "C"
68176 {
68177 #endif
68178 /* We use char because int might match the return type of a gcc2
68179    builtin and then its argument prototype would still apply.  */
68180 char $ac_func ();
68181 /* The GNU C library defines this for functions which it implements
68182     to always fail with ENOSYS.  Some functions are actually named
68183     something starting with __ and the normal name is an alias.  */
68184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68185 choke me
68186 #else
68187 char (*f) () = $ac_func;
68188 #endif
68189 #ifdef __cplusplus
68190 }
68191 #endif
68192
68193 int
68194 main ()
68195 {
68196 return f != $ac_func;
68197   ;
68198   return 0;
68199 }
68200 _ACEOF
68201 rm -f conftest.$ac_objext conftest$ac_exeext
68202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68203   (eval $ac_link) 2>conftest.er1
68204   ac_status=$?
68205   grep -v '^ *+' conftest.er1 >conftest.err
68206   rm -f conftest.er1
68207   cat conftest.err >&5
68208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68209   (exit $ac_status); } &&
68210          { ac_try='test -z "$ac_c_werror_flag"
68211                          || test ! -s conftest.err'
68212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68213   (eval $ac_try) 2>&5
68214   ac_status=$?
68215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68216   (exit $ac_status); }; } &&
68217          { ac_try='test -s conftest$ac_exeext'
68218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68219   (eval $ac_try) 2>&5
68220   ac_status=$?
68221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68222   (exit $ac_status); }; }; then
68223   eval "$as_ac_var=yes"
68224 else
68225   echo "$as_me: failed program was:" >&5
68226 sed 's/^/| /' conftest.$ac_ext >&5
68227
68228 eval "$as_ac_var=no"
68229 fi
68230 rm -f conftest.err conftest.$ac_objext \
68231       conftest$ac_exeext conftest.$ac_ext
68232 fi
68233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68235 if test `eval echo '${'$as_ac_var'}'` = yes; then
68236   cat >>confdefs.h <<_ACEOF
68237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68238 _ACEOF
68239
68240 fi
68241 done
68242
68243   else
68244
68245   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
68246 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
68247   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
68248     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
68249   echo $ECHO_N "(cached) $ECHO_C" >&6
68250 else
68251
68252
68253
68254       ac_ext=cc
68255 ac_cpp='$CXXCPP $CPPFLAGS'
68256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68259
68260       cat >conftest.$ac_ext <<_ACEOF
68261 /* confdefs.h.  */
68262 _ACEOF
68263 cat confdefs.h >>conftest.$ac_ext
68264 cat >>conftest.$ac_ext <<_ACEOF
68265 /* end confdefs.h.  */
68266 #include <math.h>
68267                       #ifdef HAVE_IEEEFP_H
68268                       #include <ieeefp.h>
68269                       #endif
68270
68271 int
68272 main ()
68273 {
68274  _log10l(0);
68275   ;
68276   return 0;
68277 }
68278 _ACEOF
68279 rm -f conftest.$ac_objext
68280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68281   (eval $ac_compile) 2>conftest.er1
68282   ac_status=$?
68283   grep -v '^ *+' conftest.er1 >conftest.err
68284   rm -f conftest.er1
68285   cat conftest.err >&5
68286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68287   (exit $ac_status); } &&
68288          { ac_try='test -z "$ac_cxx_werror_flag"
68289                          || test ! -s conftest.err'
68290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68291   (eval $ac_try) 2>&5
68292   ac_status=$?
68293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68294   (exit $ac_status); }; } &&
68295          { ac_try='test -s conftest.$ac_objext'
68296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68297   (eval $ac_try) 2>&5
68298   ac_status=$?
68299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68300   (exit $ac_status); }; }; then
68301   glibcxx_cv_func__log10l_use=yes
68302 else
68303   echo "$as_me: failed program was:" >&5
68304 sed 's/^/| /' conftest.$ac_ext >&5
68305
68306 glibcxx_cv_func__log10l_use=no
68307 fi
68308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68309       ac_ext=c
68310 ac_cpp='$CPP $CPPFLAGS'
68311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68314
68315
68316 fi
68317
68318   fi
68319   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
68320 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
68321
68322     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
68323
68324 for ac_func in _log10l
68325 do
68326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68327 echo "$as_me:$LINENO: checking for $ac_func" >&5
68328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68329 if eval "test \"\${$as_ac_var+set}\" = set"; then
68330   echo $ECHO_N "(cached) $ECHO_C" >&6
68331 else
68332   if test x$gcc_no_link = xyes; then
68333   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68335    { (exit 1); exit 1; }; }
68336 fi
68337 cat >conftest.$ac_ext <<_ACEOF
68338 /* confdefs.h.  */
68339 _ACEOF
68340 cat confdefs.h >>conftest.$ac_ext
68341 cat >>conftest.$ac_ext <<_ACEOF
68342 /* end confdefs.h.  */
68343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68344    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68345 #define $ac_func innocuous_$ac_func
68346
68347 /* System header to define __stub macros and hopefully few prototypes,
68348     which can conflict with char $ac_func (); below.
68349     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68350     <limits.h> exists even on freestanding compilers.  */
68351
68352 #ifdef __STDC__
68353 # include <limits.h>
68354 #else
68355 # include <assert.h>
68356 #endif
68357
68358 #undef $ac_func
68359
68360 /* Override any gcc2 internal prototype to avoid an error.  */
68361 #ifdef __cplusplus
68362 extern "C"
68363 {
68364 #endif
68365 /* We use char because int might match the return type of a gcc2
68366    builtin and then its argument prototype would still apply.  */
68367 char $ac_func ();
68368 /* The GNU C library defines this for functions which it implements
68369     to always fail with ENOSYS.  Some functions are actually named
68370     something starting with __ and the normal name is an alias.  */
68371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68372 choke me
68373 #else
68374 char (*f) () = $ac_func;
68375 #endif
68376 #ifdef __cplusplus
68377 }
68378 #endif
68379
68380 int
68381 main ()
68382 {
68383 return f != $ac_func;
68384   ;
68385   return 0;
68386 }
68387 _ACEOF
68388 rm -f conftest.$ac_objext conftest$ac_exeext
68389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68390   (eval $ac_link) 2>conftest.er1
68391   ac_status=$?
68392   grep -v '^ *+' conftest.er1 >conftest.err
68393   rm -f conftest.er1
68394   cat conftest.err >&5
68395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68396   (exit $ac_status); } &&
68397          { ac_try='test -z "$ac_c_werror_flag"
68398                          || test ! -s conftest.err'
68399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68400   (eval $ac_try) 2>&5
68401   ac_status=$?
68402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68403   (exit $ac_status); }; } &&
68404          { ac_try='test -s conftest$ac_exeext'
68405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68406   (eval $ac_try) 2>&5
68407   ac_status=$?
68408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68409   (exit $ac_status); }; }; then
68410   eval "$as_ac_var=yes"
68411 else
68412   echo "$as_me: failed program was:" >&5
68413 sed 's/^/| /' conftest.$ac_ext >&5
68414
68415 eval "$as_ac_var=no"
68416 fi
68417 rm -f conftest.err conftest.$ac_objext \
68418       conftest$ac_exeext conftest.$ac_ext
68419 fi
68420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68422 if test `eval echo '${'$as_ac_var'}'` = yes; then
68423   cat >>confdefs.h <<_ACEOF
68424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68425 _ACEOF
68426
68427 fi
68428 done
68429
68430     fi
68431   fi
68432
68433
68434
68435
68436
68437
68438   echo "$as_me:$LINENO: checking for modfl declaration" >&5
68439 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
68440   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
68441     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
68442   echo $ECHO_N "(cached) $ECHO_C" >&6
68443 else
68444
68445
68446
68447       ac_ext=cc
68448 ac_cpp='$CXXCPP $CPPFLAGS'
68449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68452
68453       cat >conftest.$ac_ext <<_ACEOF
68454 /* confdefs.h.  */
68455 _ACEOF
68456 cat confdefs.h >>conftest.$ac_ext
68457 cat >>conftest.$ac_ext <<_ACEOF
68458 /* end confdefs.h.  */
68459 #include <math.h>
68460 int
68461 main ()
68462 {
68463  modfl(0, 0);
68464   ;
68465   return 0;
68466 }
68467 _ACEOF
68468 rm -f conftest.$ac_objext
68469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68470   (eval $ac_compile) 2>conftest.er1
68471   ac_status=$?
68472   grep -v '^ *+' conftest.er1 >conftest.err
68473   rm -f conftest.er1
68474   cat conftest.err >&5
68475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68476   (exit $ac_status); } &&
68477          { ac_try='test -z "$ac_cxx_werror_flag"
68478                          || test ! -s conftest.err'
68479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68480   (eval $ac_try) 2>&5
68481   ac_status=$?
68482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68483   (exit $ac_status); }; } &&
68484          { ac_try='test -s conftest.$ac_objext'
68485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68486   (eval $ac_try) 2>&5
68487   ac_status=$?
68488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68489   (exit $ac_status); }; }; then
68490   glibcxx_cv_func_modfl_use=yes
68491 else
68492   echo "$as_me: failed program was:" >&5
68493 sed 's/^/| /' conftest.$ac_ext >&5
68494
68495 glibcxx_cv_func_modfl_use=no
68496 fi
68497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68498       ac_ext=c
68499 ac_cpp='$CPP $CPPFLAGS'
68500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68503
68504
68505 fi
68506
68507   fi
68508   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
68509 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
68510
68511   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
68512
68513 for ac_func in modfl
68514 do
68515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68516 echo "$as_me:$LINENO: checking for $ac_func" >&5
68517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68518 if eval "test \"\${$as_ac_var+set}\" = set"; then
68519   echo $ECHO_N "(cached) $ECHO_C" >&6
68520 else
68521   if test x$gcc_no_link = xyes; then
68522   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68524    { (exit 1); exit 1; }; }
68525 fi
68526 cat >conftest.$ac_ext <<_ACEOF
68527 /* confdefs.h.  */
68528 _ACEOF
68529 cat confdefs.h >>conftest.$ac_ext
68530 cat >>conftest.$ac_ext <<_ACEOF
68531 /* end confdefs.h.  */
68532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68533    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68534 #define $ac_func innocuous_$ac_func
68535
68536 /* System header to define __stub macros and hopefully few prototypes,
68537     which can conflict with char $ac_func (); below.
68538     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68539     <limits.h> exists even on freestanding compilers.  */
68540
68541 #ifdef __STDC__
68542 # include <limits.h>
68543 #else
68544 # include <assert.h>
68545 #endif
68546
68547 #undef $ac_func
68548
68549 /* Override any gcc2 internal prototype to avoid an error.  */
68550 #ifdef __cplusplus
68551 extern "C"
68552 {
68553 #endif
68554 /* We use char because int might match the return type of a gcc2
68555    builtin and then its argument prototype would still apply.  */
68556 char $ac_func ();
68557 /* The GNU C library defines this for functions which it implements
68558     to always fail with ENOSYS.  Some functions are actually named
68559     something starting with __ and the normal name is an alias.  */
68560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68561 choke me
68562 #else
68563 char (*f) () = $ac_func;
68564 #endif
68565 #ifdef __cplusplus
68566 }
68567 #endif
68568
68569 int
68570 main ()
68571 {
68572 return f != $ac_func;
68573   ;
68574   return 0;
68575 }
68576 _ACEOF
68577 rm -f conftest.$ac_objext conftest$ac_exeext
68578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68579   (eval $ac_link) 2>conftest.er1
68580   ac_status=$?
68581   grep -v '^ *+' conftest.er1 >conftest.err
68582   rm -f conftest.er1
68583   cat conftest.err >&5
68584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68585   (exit $ac_status); } &&
68586          { ac_try='test -z "$ac_c_werror_flag"
68587                          || test ! -s conftest.err'
68588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68589   (eval $ac_try) 2>&5
68590   ac_status=$?
68591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68592   (exit $ac_status); }; } &&
68593          { ac_try='test -s conftest$ac_exeext'
68594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68595   (eval $ac_try) 2>&5
68596   ac_status=$?
68597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68598   (exit $ac_status); }; }; then
68599   eval "$as_ac_var=yes"
68600 else
68601   echo "$as_me: failed program was:" >&5
68602 sed 's/^/| /' conftest.$ac_ext >&5
68603
68604 eval "$as_ac_var=no"
68605 fi
68606 rm -f conftest.err conftest.$ac_objext \
68607       conftest$ac_exeext conftest.$ac_ext
68608 fi
68609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68611 if test `eval echo '${'$as_ac_var'}'` = yes; then
68612   cat >>confdefs.h <<_ACEOF
68613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68614 _ACEOF
68615
68616 fi
68617 done
68618
68619   else
68620
68621   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
68622 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
68623   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68624     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
68625   echo $ECHO_N "(cached) $ECHO_C" >&6
68626 else
68627
68628
68629
68630       ac_ext=cc
68631 ac_cpp='$CXXCPP $CPPFLAGS'
68632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68635
68636       cat >conftest.$ac_ext <<_ACEOF
68637 /* confdefs.h.  */
68638 _ACEOF
68639 cat confdefs.h >>conftest.$ac_ext
68640 cat >>conftest.$ac_ext <<_ACEOF
68641 /* end confdefs.h.  */
68642 #include <math.h>
68643 int
68644 main ()
68645 {
68646  _modfl(0, 0);
68647   ;
68648   return 0;
68649 }
68650 _ACEOF
68651 rm -f conftest.$ac_objext
68652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68653   (eval $ac_compile) 2>conftest.er1
68654   ac_status=$?
68655   grep -v '^ *+' conftest.er1 >conftest.err
68656   rm -f conftest.er1
68657   cat conftest.err >&5
68658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68659   (exit $ac_status); } &&
68660          { ac_try='test -z "$ac_cxx_werror_flag"
68661                          || test ! -s conftest.err'
68662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68663   (eval $ac_try) 2>&5
68664   ac_status=$?
68665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68666   (exit $ac_status); }; } &&
68667          { ac_try='test -s conftest.$ac_objext'
68668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68669   (eval $ac_try) 2>&5
68670   ac_status=$?
68671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68672   (exit $ac_status); }; }; then
68673   glibcxx_cv_func__modfl_use=yes
68674 else
68675   echo "$as_me: failed program was:" >&5
68676 sed 's/^/| /' conftest.$ac_ext >&5
68677
68678 glibcxx_cv_func__modfl_use=no
68679 fi
68680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68681       ac_ext=c
68682 ac_cpp='$CPP $CPPFLAGS'
68683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68686
68687
68688 fi
68689
68690   fi
68691   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
68692 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
68693
68694     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68695
68696 for ac_func in _modfl
68697 do
68698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68699 echo "$as_me:$LINENO: checking for $ac_func" >&5
68700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68701 if eval "test \"\${$as_ac_var+set}\" = set"; then
68702   echo $ECHO_N "(cached) $ECHO_C" >&6
68703 else
68704   if test x$gcc_no_link = xyes; then
68705   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68707    { (exit 1); exit 1; }; }
68708 fi
68709 cat >conftest.$ac_ext <<_ACEOF
68710 /* confdefs.h.  */
68711 _ACEOF
68712 cat confdefs.h >>conftest.$ac_ext
68713 cat >>conftest.$ac_ext <<_ACEOF
68714 /* end confdefs.h.  */
68715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68716    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68717 #define $ac_func innocuous_$ac_func
68718
68719 /* System header to define __stub macros and hopefully few prototypes,
68720     which can conflict with char $ac_func (); below.
68721     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68722     <limits.h> exists even on freestanding compilers.  */
68723
68724 #ifdef __STDC__
68725 # include <limits.h>
68726 #else
68727 # include <assert.h>
68728 #endif
68729
68730 #undef $ac_func
68731
68732 /* Override any gcc2 internal prototype to avoid an error.  */
68733 #ifdef __cplusplus
68734 extern "C"
68735 {
68736 #endif
68737 /* We use char because int might match the return type of a gcc2
68738    builtin and then its argument prototype would still apply.  */
68739 char $ac_func ();
68740 /* The GNU C library defines this for functions which it implements
68741     to always fail with ENOSYS.  Some functions are actually named
68742     something starting with __ and the normal name is an alias.  */
68743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68744 choke me
68745 #else
68746 char (*f) () = $ac_func;
68747 #endif
68748 #ifdef __cplusplus
68749 }
68750 #endif
68751
68752 int
68753 main ()
68754 {
68755 return f != $ac_func;
68756   ;
68757   return 0;
68758 }
68759 _ACEOF
68760 rm -f conftest.$ac_objext conftest$ac_exeext
68761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68762   (eval $ac_link) 2>conftest.er1
68763   ac_status=$?
68764   grep -v '^ *+' conftest.er1 >conftest.err
68765   rm -f conftest.er1
68766   cat conftest.err >&5
68767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68768   (exit $ac_status); } &&
68769          { ac_try='test -z "$ac_c_werror_flag"
68770                          || test ! -s conftest.err'
68771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68772   (eval $ac_try) 2>&5
68773   ac_status=$?
68774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68775   (exit $ac_status); }; } &&
68776          { ac_try='test -s conftest$ac_exeext'
68777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68778   (eval $ac_try) 2>&5
68779   ac_status=$?
68780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68781   (exit $ac_status); }; }; then
68782   eval "$as_ac_var=yes"
68783 else
68784   echo "$as_me: failed program was:" >&5
68785 sed 's/^/| /' conftest.$ac_ext >&5
68786
68787 eval "$as_ac_var=no"
68788 fi
68789 rm -f conftest.err conftest.$ac_objext \
68790       conftest$ac_exeext conftest.$ac_ext
68791 fi
68792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68794 if test `eval echo '${'$as_ac_var'}'` = yes; then
68795   cat >>confdefs.h <<_ACEOF
68796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68797 _ACEOF
68798
68799 fi
68800 done
68801
68802     fi
68803   fi
68804
68805
68806
68807
68808
68809
68810   echo "$as_me:$LINENO: checking for powl declaration" >&5
68811 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
68812   if test x${glibcxx_cv_func_powl_use+set} != xset; then
68813     if test "${glibcxx_cv_func_powl_use+set}" = set; then
68814   echo $ECHO_N "(cached) $ECHO_C" >&6
68815 else
68816
68817
68818
68819       ac_ext=cc
68820 ac_cpp='$CXXCPP $CPPFLAGS'
68821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68824
68825       cat >conftest.$ac_ext <<_ACEOF
68826 /* confdefs.h.  */
68827 _ACEOF
68828 cat confdefs.h >>conftest.$ac_ext
68829 cat >>conftest.$ac_ext <<_ACEOF
68830 /* end confdefs.h.  */
68831 #include <math.h>
68832 int
68833 main ()
68834 {
68835  powl(0, 0);
68836   ;
68837   return 0;
68838 }
68839 _ACEOF
68840 rm -f conftest.$ac_objext
68841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68842   (eval $ac_compile) 2>conftest.er1
68843   ac_status=$?
68844   grep -v '^ *+' conftest.er1 >conftest.err
68845   rm -f conftest.er1
68846   cat conftest.err >&5
68847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68848   (exit $ac_status); } &&
68849          { ac_try='test -z "$ac_cxx_werror_flag"
68850                          || test ! -s conftest.err'
68851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68852   (eval $ac_try) 2>&5
68853   ac_status=$?
68854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68855   (exit $ac_status); }; } &&
68856          { ac_try='test -s conftest.$ac_objext'
68857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68858   (eval $ac_try) 2>&5
68859   ac_status=$?
68860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68861   (exit $ac_status); }; }; then
68862   glibcxx_cv_func_powl_use=yes
68863 else
68864   echo "$as_me: failed program was:" >&5
68865 sed 's/^/| /' conftest.$ac_ext >&5
68866
68867 glibcxx_cv_func_powl_use=no
68868 fi
68869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68870       ac_ext=c
68871 ac_cpp='$CPP $CPPFLAGS'
68872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68875
68876
68877 fi
68878
68879   fi
68880   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
68881 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
68882
68883   if test x$glibcxx_cv_func_powl_use = x"yes"; then
68884
68885 for ac_func in powl
68886 do
68887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68888 echo "$as_me:$LINENO: checking for $ac_func" >&5
68889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68890 if eval "test \"\${$as_ac_var+set}\" = set"; then
68891   echo $ECHO_N "(cached) $ECHO_C" >&6
68892 else
68893   if test x$gcc_no_link = xyes; then
68894   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68896    { (exit 1); exit 1; }; }
68897 fi
68898 cat >conftest.$ac_ext <<_ACEOF
68899 /* confdefs.h.  */
68900 _ACEOF
68901 cat confdefs.h >>conftest.$ac_ext
68902 cat >>conftest.$ac_ext <<_ACEOF
68903 /* end confdefs.h.  */
68904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68905    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68906 #define $ac_func innocuous_$ac_func
68907
68908 /* System header to define __stub macros and hopefully few prototypes,
68909     which can conflict with char $ac_func (); below.
68910     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68911     <limits.h> exists even on freestanding compilers.  */
68912
68913 #ifdef __STDC__
68914 # include <limits.h>
68915 #else
68916 # include <assert.h>
68917 #endif
68918
68919 #undef $ac_func
68920
68921 /* Override any gcc2 internal prototype to avoid an error.  */
68922 #ifdef __cplusplus
68923 extern "C"
68924 {
68925 #endif
68926 /* We use char because int might match the return type of a gcc2
68927    builtin and then its argument prototype would still apply.  */
68928 char $ac_func ();
68929 /* The GNU C library defines this for functions which it implements
68930     to always fail with ENOSYS.  Some functions are actually named
68931     something starting with __ and the normal name is an alias.  */
68932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68933 choke me
68934 #else
68935 char (*f) () = $ac_func;
68936 #endif
68937 #ifdef __cplusplus
68938 }
68939 #endif
68940
68941 int
68942 main ()
68943 {
68944 return f != $ac_func;
68945   ;
68946   return 0;
68947 }
68948 _ACEOF
68949 rm -f conftest.$ac_objext conftest$ac_exeext
68950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68951   (eval $ac_link) 2>conftest.er1
68952   ac_status=$?
68953   grep -v '^ *+' conftest.er1 >conftest.err
68954   rm -f conftest.er1
68955   cat conftest.err >&5
68956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68957   (exit $ac_status); } &&
68958          { ac_try='test -z "$ac_c_werror_flag"
68959                          || test ! -s conftest.err'
68960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68961   (eval $ac_try) 2>&5
68962   ac_status=$?
68963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68964   (exit $ac_status); }; } &&
68965          { ac_try='test -s conftest$ac_exeext'
68966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68967   (eval $ac_try) 2>&5
68968   ac_status=$?
68969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68970   (exit $ac_status); }; }; then
68971   eval "$as_ac_var=yes"
68972 else
68973   echo "$as_me: failed program was:" >&5
68974 sed 's/^/| /' conftest.$ac_ext >&5
68975
68976 eval "$as_ac_var=no"
68977 fi
68978 rm -f conftest.err conftest.$ac_objext \
68979       conftest$ac_exeext conftest.$ac_ext
68980 fi
68981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68983 if test `eval echo '${'$as_ac_var'}'` = yes; then
68984   cat >>confdefs.h <<_ACEOF
68985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68986 _ACEOF
68987
68988 fi
68989 done
68990
68991   else
68992
68993   echo "$as_me:$LINENO: checking for _powl declaration" >&5
68994 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
68995   if test x${glibcxx_cv_func__powl_use+set} != xset; then
68996     if test "${glibcxx_cv_func__powl_use+set}" = set; then
68997   echo $ECHO_N "(cached) $ECHO_C" >&6
68998 else
68999
69000
69001
69002       ac_ext=cc
69003 ac_cpp='$CXXCPP $CPPFLAGS'
69004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69007
69008       cat >conftest.$ac_ext <<_ACEOF
69009 /* confdefs.h.  */
69010 _ACEOF
69011 cat confdefs.h >>conftest.$ac_ext
69012 cat >>conftest.$ac_ext <<_ACEOF
69013 /* end confdefs.h.  */
69014 #include <math.h>
69015 int
69016 main ()
69017 {
69018  _powl(0, 0);
69019   ;
69020   return 0;
69021 }
69022 _ACEOF
69023 rm -f conftest.$ac_objext
69024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69025   (eval $ac_compile) 2>conftest.er1
69026   ac_status=$?
69027   grep -v '^ *+' conftest.er1 >conftest.err
69028   rm -f conftest.er1
69029   cat conftest.err >&5
69030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69031   (exit $ac_status); } &&
69032          { ac_try='test -z "$ac_cxx_werror_flag"
69033                          || test ! -s conftest.err'
69034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69035   (eval $ac_try) 2>&5
69036   ac_status=$?
69037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69038   (exit $ac_status); }; } &&
69039          { ac_try='test -s conftest.$ac_objext'
69040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69041   (eval $ac_try) 2>&5
69042   ac_status=$?
69043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69044   (exit $ac_status); }; }; then
69045   glibcxx_cv_func__powl_use=yes
69046 else
69047   echo "$as_me: failed program was:" >&5
69048 sed 's/^/| /' conftest.$ac_ext >&5
69049
69050 glibcxx_cv_func__powl_use=no
69051 fi
69052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69053       ac_ext=c
69054 ac_cpp='$CPP $CPPFLAGS'
69055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69058
69059
69060 fi
69061
69062   fi
69063   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
69064 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
69065
69066     if test x$glibcxx_cv_func__powl_use = x"yes"; then
69067
69068 for ac_func in _powl
69069 do
69070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69071 echo "$as_me:$LINENO: checking for $ac_func" >&5
69072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69073 if eval "test \"\${$as_ac_var+set}\" = set"; then
69074   echo $ECHO_N "(cached) $ECHO_C" >&6
69075 else
69076   if test x$gcc_no_link = xyes; then
69077   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69079    { (exit 1); exit 1; }; }
69080 fi
69081 cat >conftest.$ac_ext <<_ACEOF
69082 /* confdefs.h.  */
69083 _ACEOF
69084 cat confdefs.h >>conftest.$ac_ext
69085 cat >>conftest.$ac_ext <<_ACEOF
69086 /* end confdefs.h.  */
69087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69088    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69089 #define $ac_func innocuous_$ac_func
69090
69091 /* System header to define __stub macros and hopefully few prototypes,
69092     which can conflict with char $ac_func (); below.
69093     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69094     <limits.h> exists even on freestanding compilers.  */
69095
69096 #ifdef __STDC__
69097 # include <limits.h>
69098 #else
69099 # include <assert.h>
69100 #endif
69101
69102 #undef $ac_func
69103
69104 /* Override any gcc2 internal prototype to avoid an error.  */
69105 #ifdef __cplusplus
69106 extern "C"
69107 {
69108 #endif
69109 /* We use char because int might match the return type of a gcc2
69110    builtin and then its argument prototype would still apply.  */
69111 char $ac_func ();
69112 /* The GNU C library defines this for functions which it implements
69113     to always fail with ENOSYS.  Some functions are actually named
69114     something starting with __ and the normal name is an alias.  */
69115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69116 choke me
69117 #else
69118 char (*f) () = $ac_func;
69119 #endif
69120 #ifdef __cplusplus
69121 }
69122 #endif
69123
69124 int
69125 main ()
69126 {
69127 return f != $ac_func;
69128   ;
69129   return 0;
69130 }
69131 _ACEOF
69132 rm -f conftest.$ac_objext conftest$ac_exeext
69133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69134   (eval $ac_link) 2>conftest.er1
69135   ac_status=$?
69136   grep -v '^ *+' conftest.er1 >conftest.err
69137   rm -f conftest.er1
69138   cat conftest.err >&5
69139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69140   (exit $ac_status); } &&
69141          { ac_try='test -z "$ac_c_werror_flag"
69142                          || test ! -s conftest.err'
69143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69144   (eval $ac_try) 2>&5
69145   ac_status=$?
69146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69147   (exit $ac_status); }; } &&
69148          { ac_try='test -s conftest$ac_exeext'
69149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69150   (eval $ac_try) 2>&5
69151   ac_status=$?
69152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69153   (exit $ac_status); }; }; then
69154   eval "$as_ac_var=yes"
69155 else
69156   echo "$as_me: failed program was:" >&5
69157 sed 's/^/| /' conftest.$ac_ext >&5
69158
69159 eval "$as_ac_var=no"
69160 fi
69161 rm -f conftest.err conftest.$ac_objext \
69162       conftest$ac_exeext conftest.$ac_ext
69163 fi
69164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69166 if test `eval echo '${'$as_ac_var'}'` = yes; then
69167   cat >>confdefs.h <<_ACEOF
69168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69169 _ACEOF
69170
69171 fi
69172 done
69173
69174     fi
69175   fi
69176
69177
69178
69179
69180
69181
69182   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
69183 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
69184   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
69185     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
69186   echo $ECHO_N "(cached) $ECHO_C" >&6
69187 else
69188
69189
69190
69191       ac_ext=cc
69192 ac_cpp='$CXXCPP $CPPFLAGS'
69193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69196
69197       cat >conftest.$ac_ext <<_ACEOF
69198 /* confdefs.h.  */
69199 _ACEOF
69200 cat confdefs.h >>conftest.$ac_ext
69201 cat >>conftest.$ac_ext <<_ACEOF
69202 /* end confdefs.h.  */
69203 #include <math.h>
69204                       #ifdef HAVE_IEEEFP_H
69205                       #include <ieeefp.h>
69206                       #endif
69207
69208 int
69209 main ()
69210 {
69211  sqrtl(0);
69212   ;
69213   return 0;
69214 }
69215 _ACEOF
69216 rm -f conftest.$ac_objext
69217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69218   (eval $ac_compile) 2>conftest.er1
69219   ac_status=$?
69220   grep -v '^ *+' conftest.er1 >conftest.err
69221   rm -f conftest.er1
69222   cat conftest.err >&5
69223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69224   (exit $ac_status); } &&
69225          { ac_try='test -z "$ac_cxx_werror_flag"
69226                          || test ! -s conftest.err'
69227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69228   (eval $ac_try) 2>&5
69229   ac_status=$?
69230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69231   (exit $ac_status); }; } &&
69232          { ac_try='test -s conftest.$ac_objext'
69233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69234   (eval $ac_try) 2>&5
69235   ac_status=$?
69236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69237   (exit $ac_status); }; }; then
69238   glibcxx_cv_func_sqrtl_use=yes
69239 else
69240   echo "$as_me: failed program was:" >&5
69241 sed 's/^/| /' conftest.$ac_ext >&5
69242
69243 glibcxx_cv_func_sqrtl_use=no
69244 fi
69245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69246       ac_ext=c
69247 ac_cpp='$CPP $CPPFLAGS'
69248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69251
69252
69253 fi
69254
69255   fi
69256   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
69257 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
69258
69259   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
69260
69261 for ac_func in sqrtl
69262 do
69263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69264 echo "$as_me:$LINENO: checking for $ac_func" >&5
69265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69266 if eval "test \"\${$as_ac_var+set}\" = set"; then
69267   echo $ECHO_N "(cached) $ECHO_C" >&6
69268 else
69269   if test x$gcc_no_link = xyes; then
69270   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69272    { (exit 1); exit 1; }; }
69273 fi
69274 cat >conftest.$ac_ext <<_ACEOF
69275 /* confdefs.h.  */
69276 _ACEOF
69277 cat confdefs.h >>conftest.$ac_ext
69278 cat >>conftest.$ac_ext <<_ACEOF
69279 /* end confdefs.h.  */
69280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69281    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69282 #define $ac_func innocuous_$ac_func
69283
69284 /* System header to define __stub macros and hopefully few prototypes,
69285     which can conflict with char $ac_func (); below.
69286     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69287     <limits.h> exists even on freestanding compilers.  */
69288
69289 #ifdef __STDC__
69290 # include <limits.h>
69291 #else
69292 # include <assert.h>
69293 #endif
69294
69295 #undef $ac_func
69296
69297 /* Override any gcc2 internal prototype to avoid an error.  */
69298 #ifdef __cplusplus
69299 extern "C"
69300 {
69301 #endif
69302 /* We use char because int might match the return type of a gcc2
69303    builtin and then its argument prototype would still apply.  */
69304 char $ac_func ();
69305 /* The GNU C library defines this for functions which it implements
69306     to always fail with ENOSYS.  Some functions are actually named
69307     something starting with __ and the normal name is an alias.  */
69308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69309 choke me
69310 #else
69311 char (*f) () = $ac_func;
69312 #endif
69313 #ifdef __cplusplus
69314 }
69315 #endif
69316
69317 int
69318 main ()
69319 {
69320 return f != $ac_func;
69321   ;
69322   return 0;
69323 }
69324 _ACEOF
69325 rm -f conftest.$ac_objext conftest$ac_exeext
69326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69327   (eval $ac_link) 2>conftest.er1
69328   ac_status=$?
69329   grep -v '^ *+' conftest.er1 >conftest.err
69330   rm -f conftest.er1
69331   cat conftest.err >&5
69332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69333   (exit $ac_status); } &&
69334          { ac_try='test -z "$ac_c_werror_flag"
69335                          || test ! -s conftest.err'
69336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69337   (eval $ac_try) 2>&5
69338   ac_status=$?
69339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69340   (exit $ac_status); }; } &&
69341          { ac_try='test -s conftest$ac_exeext'
69342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69343   (eval $ac_try) 2>&5
69344   ac_status=$?
69345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69346   (exit $ac_status); }; }; then
69347   eval "$as_ac_var=yes"
69348 else
69349   echo "$as_me: failed program was:" >&5
69350 sed 's/^/| /' conftest.$ac_ext >&5
69351
69352 eval "$as_ac_var=no"
69353 fi
69354 rm -f conftest.err conftest.$ac_objext \
69355       conftest$ac_exeext conftest.$ac_ext
69356 fi
69357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69359 if test `eval echo '${'$as_ac_var'}'` = yes; then
69360   cat >>confdefs.h <<_ACEOF
69361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69362 _ACEOF
69363
69364 fi
69365 done
69366
69367   else
69368
69369   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
69370 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
69371   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
69372     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
69373   echo $ECHO_N "(cached) $ECHO_C" >&6
69374 else
69375
69376
69377
69378       ac_ext=cc
69379 ac_cpp='$CXXCPP $CPPFLAGS'
69380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69383
69384       cat >conftest.$ac_ext <<_ACEOF
69385 /* confdefs.h.  */
69386 _ACEOF
69387 cat confdefs.h >>conftest.$ac_ext
69388 cat >>conftest.$ac_ext <<_ACEOF
69389 /* end confdefs.h.  */
69390 #include <math.h>
69391                       #ifdef HAVE_IEEEFP_H
69392                       #include <ieeefp.h>
69393                       #endif
69394
69395 int
69396 main ()
69397 {
69398  _sqrtl(0);
69399   ;
69400   return 0;
69401 }
69402 _ACEOF
69403 rm -f conftest.$ac_objext
69404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69405   (eval $ac_compile) 2>conftest.er1
69406   ac_status=$?
69407   grep -v '^ *+' conftest.er1 >conftest.err
69408   rm -f conftest.er1
69409   cat conftest.err >&5
69410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69411   (exit $ac_status); } &&
69412          { ac_try='test -z "$ac_cxx_werror_flag"
69413                          || test ! -s conftest.err'
69414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69415   (eval $ac_try) 2>&5
69416   ac_status=$?
69417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69418   (exit $ac_status); }; } &&
69419          { ac_try='test -s conftest.$ac_objext'
69420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69421   (eval $ac_try) 2>&5
69422   ac_status=$?
69423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69424   (exit $ac_status); }; }; then
69425   glibcxx_cv_func__sqrtl_use=yes
69426 else
69427   echo "$as_me: failed program was:" >&5
69428 sed 's/^/| /' conftest.$ac_ext >&5
69429
69430 glibcxx_cv_func__sqrtl_use=no
69431 fi
69432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69433       ac_ext=c
69434 ac_cpp='$CPP $CPPFLAGS'
69435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69438
69439
69440 fi
69441
69442   fi
69443   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
69444 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
69445
69446     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
69447
69448 for ac_func in _sqrtl
69449 do
69450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69451 echo "$as_me:$LINENO: checking for $ac_func" >&5
69452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69453 if eval "test \"\${$as_ac_var+set}\" = set"; then
69454   echo $ECHO_N "(cached) $ECHO_C" >&6
69455 else
69456   if test x$gcc_no_link = xyes; then
69457   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69459    { (exit 1); exit 1; }; }
69460 fi
69461 cat >conftest.$ac_ext <<_ACEOF
69462 /* confdefs.h.  */
69463 _ACEOF
69464 cat confdefs.h >>conftest.$ac_ext
69465 cat >>conftest.$ac_ext <<_ACEOF
69466 /* end confdefs.h.  */
69467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69468    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69469 #define $ac_func innocuous_$ac_func
69470
69471 /* System header to define __stub macros and hopefully few prototypes,
69472     which can conflict with char $ac_func (); below.
69473     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69474     <limits.h> exists even on freestanding compilers.  */
69475
69476 #ifdef __STDC__
69477 # include <limits.h>
69478 #else
69479 # include <assert.h>
69480 #endif
69481
69482 #undef $ac_func
69483
69484 /* Override any gcc2 internal prototype to avoid an error.  */
69485 #ifdef __cplusplus
69486 extern "C"
69487 {
69488 #endif
69489 /* We use char because int might match the return type of a gcc2
69490    builtin and then its argument prototype would still apply.  */
69491 char $ac_func ();
69492 /* The GNU C library defines this for functions which it implements
69493     to always fail with ENOSYS.  Some functions are actually named
69494     something starting with __ and the normal name is an alias.  */
69495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69496 choke me
69497 #else
69498 char (*f) () = $ac_func;
69499 #endif
69500 #ifdef __cplusplus
69501 }
69502 #endif
69503
69504 int
69505 main ()
69506 {
69507 return f != $ac_func;
69508   ;
69509   return 0;
69510 }
69511 _ACEOF
69512 rm -f conftest.$ac_objext conftest$ac_exeext
69513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69514   (eval $ac_link) 2>conftest.er1
69515   ac_status=$?
69516   grep -v '^ *+' conftest.er1 >conftest.err
69517   rm -f conftest.er1
69518   cat conftest.err >&5
69519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69520   (exit $ac_status); } &&
69521          { ac_try='test -z "$ac_c_werror_flag"
69522                          || test ! -s conftest.err'
69523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69524   (eval $ac_try) 2>&5
69525   ac_status=$?
69526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69527   (exit $ac_status); }; } &&
69528          { ac_try='test -s conftest$ac_exeext'
69529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69530   (eval $ac_try) 2>&5
69531   ac_status=$?
69532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69533   (exit $ac_status); }; }; then
69534   eval "$as_ac_var=yes"
69535 else
69536   echo "$as_me: failed program was:" >&5
69537 sed 's/^/| /' conftest.$ac_ext >&5
69538
69539 eval "$as_ac_var=no"
69540 fi
69541 rm -f conftest.err conftest.$ac_objext \
69542       conftest$ac_exeext conftest.$ac_ext
69543 fi
69544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69546 if test `eval echo '${'$as_ac_var'}'` = yes; then
69547   cat >>confdefs.h <<_ACEOF
69548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69549 _ACEOF
69550
69551 fi
69552 done
69553
69554     fi
69555   fi
69556
69557
69558
69559
69560
69561
69562   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
69563 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
69564   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
69565     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
69566   echo $ECHO_N "(cached) $ECHO_C" >&6
69567 else
69568
69569
69570
69571       ac_ext=cc
69572 ac_cpp='$CXXCPP $CPPFLAGS'
69573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69576
69577       cat >conftest.$ac_ext <<_ACEOF
69578 /* confdefs.h.  */
69579 _ACEOF
69580 cat confdefs.h >>conftest.$ac_ext
69581 cat >>conftest.$ac_ext <<_ACEOF
69582 /* end confdefs.h.  */
69583 #include <math.h>
69584 int
69585 main ()
69586 {
69587  sincosl(0, 0, 0);
69588   ;
69589   return 0;
69590 }
69591 _ACEOF
69592 rm -f conftest.$ac_objext
69593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69594   (eval $ac_compile) 2>conftest.er1
69595   ac_status=$?
69596   grep -v '^ *+' conftest.er1 >conftest.err
69597   rm -f conftest.er1
69598   cat conftest.err >&5
69599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69600   (exit $ac_status); } &&
69601          { ac_try='test -z "$ac_cxx_werror_flag"
69602                          || test ! -s conftest.err'
69603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69604   (eval $ac_try) 2>&5
69605   ac_status=$?
69606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69607   (exit $ac_status); }; } &&
69608          { ac_try='test -s conftest.$ac_objext'
69609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69610   (eval $ac_try) 2>&5
69611   ac_status=$?
69612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69613   (exit $ac_status); }; }; then
69614   glibcxx_cv_func_sincosl_use=yes
69615 else
69616   echo "$as_me: failed program was:" >&5
69617 sed 's/^/| /' conftest.$ac_ext >&5
69618
69619 glibcxx_cv_func_sincosl_use=no
69620 fi
69621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69622       ac_ext=c
69623 ac_cpp='$CPP $CPPFLAGS'
69624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69627
69628
69629 fi
69630
69631   fi
69632   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
69633 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
69634
69635   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69636
69637 for ac_func in sincosl
69638 do
69639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69640 echo "$as_me:$LINENO: checking for $ac_func" >&5
69641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69642 if eval "test \"\${$as_ac_var+set}\" = set"; then
69643   echo $ECHO_N "(cached) $ECHO_C" >&6
69644 else
69645   if test x$gcc_no_link = xyes; then
69646   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69648    { (exit 1); exit 1; }; }
69649 fi
69650 cat >conftest.$ac_ext <<_ACEOF
69651 /* confdefs.h.  */
69652 _ACEOF
69653 cat confdefs.h >>conftest.$ac_ext
69654 cat >>conftest.$ac_ext <<_ACEOF
69655 /* end confdefs.h.  */
69656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69657    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69658 #define $ac_func innocuous_$ac_func
69659
69660 /* System header to define __stub macros and hopefully few prototypes,
69661     which can conflict with char $ac_func (); below.
69662     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69663     <limits.h> exists even on freestanding compilers.  */
69664
69665 #ifdef __STDC__
69666 # include <limits.h>
69667 #else
69668 # include <assert.h>
69669 #endif
69670
69671 #undef $ac_func
69672
69673 /* Override any gcc2 internal prototype to avoid an error.  */
69674 #ifdef __cplusplus
69675 extern "C"
69676 {
69677 #endif
69678 /* We use char because int might match the return type of a gcc2
69679    builtin and then its argument prototype would still apply.  */
69680 char $ac_func ();
69681 /* The GNU C library defines this for functions which it implements
69682     to always fail with ENOSYS.  Some functions are actually named
69683     something starting with __ and the normal name is an alias.  */
69684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69685 choke me
69686 #else
69687 char (*f) () = $ac_func;
69688 #endif
69689 #ifdef __cplusplus
69690 }
69691 #endif
69692
69693 int
69694 main ()
69695 {
69696 return f != $ac_func;
69697   ;
69698   return 0;
69699 }
69700 _ACEOF
69701 rm -f conftest.$ac_objext conftest$ac_exeext
69702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69703   (eval $ac_link) 2>conftest.er1
69704   ac_status=$?
69705   grep -v '^ *+' conftest.er1 >conftest.err
69706   rm -f conftest.er1
69707   cat conftest.err >&5
69708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69709   (exit $ac_status); } &&
69710          { ac_try='test -z "$ac_c_werror_flag"
69711                          || test ! -s conftest.err'
69712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69713   (eval $ac_try) 2>&5
69714   ac_status=$?
69715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69716   (exit $ac_status); }; } &&
69717          { ac_try='test -s conftest$ac_exeext'
69718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69719   (eval $ac_try) 2>&5
69720   ac_status=$?
69721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69722   (exit $ac_status); }; }; then
69723   eval "$as_ac_var=yes"
69724 else
69725   echo "$as_me: failed program was:" >&5
69726 sed 's/^/| /' conftest.$ac_ext >&5
69727
69728 eval "$as_ac_var=no"
69729 fi
69730 rm -f conftest.err conftest.$ac_objext \
69731       conftest$ac_exeext conftest.$ac_ext
69732 fi
69733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69735 if test `eval echo '${'$as_ac_var'}'` = yes; then
69736   cat >>confdefs.h <<_ACEOF
69737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69738 _ACEOF
69739
69740 fi
69741 done
69742
69743   else
69744
69745   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
69746 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
69747   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69748     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
69749   echo $ECHO_N "(cached) $ECHO_C" >&6
69750 else
69751
69752
69753
69754       ac_ext=cc
69755 ac_cpp='$CXXCPP $CPPFLAGS'
69756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69759
69760       cat >conftest.$ac_ext <<_ACEOF
69761 /* confdefs.h.  */
69762 _ACEOF
69763 cat confdefs.h >>conftest.$ac_ext
69764 cat >>conftest.$ac_ext <<_ACEOF
69765 /* end confdefs.h.  */
69766 #include <math.h>
69767 int
69768 main ()
69769 {
69770  _sincosl(0, 0, 0);
69771   ;
69772   return 0;
69773 }
69774 _ACEOF
69775 rm -f conftest.$ac_objext
69776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69777   (eval $ac_compile) 2>conftest.er1
69778   ac_status=$?
69779   grep -v '^ *+' conftest.er1 >conftest.err
69780   rm -f conftest.er1
69781   cat conftest.err >&5
69782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69783   (exit $ac_status); } &&
69784          { ac_try='test -z "$ac_cxx_werror_flag"
69785                          || test ! -s conftest.err'
69786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69787   (eval $ac_try) 2>&5
69788   ac_status=$?
69789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69790   (exit $ac_status); }; } &&
69791          { ac_try='test -s conftest.$ac_objext'
69792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69793   (eval $ac_try) 2>&5
69794   ac_status=$?
69795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69796   (exit $ac_status); }; }; then
69797   glibcxx_cv_func__sincosl_use=yes
69798 else
69799   echo "$as_me: failed program was:" >&5
69800 sed 's/^/| /' conftest.$ac_ext >&5
69801
69802 glibcxx_cv_func__sincosl_use=no
69803 fi
69804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69805       ac_ext=c
69806 ac_cpp='$CPP $CPPFLAGS'
69807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69810
69811
69812 fi
69813
69814   fi
69815   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
69816 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
69817
69818     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
69819
69820 for ac_func in _sincosl
69821 do
69822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69823 echo "$as_me:$LINENO: checking for $ac_func" >&5
69824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69825 if eval "test \"\${$as_ac_var+set}\" = set"; then
69826   echo $ECHO_N "(cached) $ECHO_C" >&6
69827 else
69828   if test x$gcc_no_link = xyes; then
69829   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69831    { (exit 1); exit 1; }; }
69832 fi
69833 cat >conftest.$ac_ext <<_ACEOF
69834 /* confdefs.h.  */
69835 _ACEOF
69836 cat confdefs.h >>conftest.$ac_ext
69837 cat >>conftest.$ac_ext <<_ACEOF
69838 /* end confdefs.h.  */
69839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69840    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69841 #define $ac_func innocuous_$ac_func
69842
69843 /* System header to define __stub macros and hopefully few prototypes,
69844     which can conflict with char $ac_func (); below.
69845     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69846     <limits.h> exists even on freestanding compilers.  */
69847
69848 #ifdef __STDC__
69849 # include <limits.h>
69850 #else
69851 # include <assert.h>
69852 #endif
69853
69854 #undef $ac_func
69855
69856 /* Override any gcc2 internal prototype to avoid an error.  */
69857 #ifdef __cplusplus
69858 extern "C"
69859 {
69860 #endif
69861 /* We use char because int might match the return type of a gcc2
69862    builtin and then its argument prototype would still apply.  */
69863 char $ac_func ();
69864 /* The GNU C library defines this for functions which it implements
69865     to always fail with ENOSYS.  Some functions are actually named
69866     something starting with __ and the normal name is an alias.  */
69867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69868 choke me
69869 #else
69870 char (*f) () = $ac_func;
69871 #endif
69872 #ifdef __cplusplus
69873 }
69874 #endif
69875
69876 int
69877 main ()
69878 {
69879 return f != $ac_func;
69880   ;
69881   return 0;
69882 }
69883 _ACEOF
69884 rm -f conftest.$ac_objext conftest$ac_exeext
69885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69886   (eval $ac_link) 2>conftest.er1
69887   ac_status=$?
69888   grep -v '^ *+' conftest.er1 >conftest.err
69889   rm -f conftest.er1
69890   cat conftest.err >&5
69891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69892   (exit $ac_status); } &&
69893          { ac_try='test -z "$ac_c_werror_flag"
69894                          || test ! -s conftest.err'
69895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69896   (eval $ac_try) 2>&5
69897   ac_status=$?
69898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69899   (exit $ac_status); }; } &&
69900          { ac_try='test -s conftest$ac_exeext'
69901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69902   (eval $ac_try) 2>&5
69903   ac_status=$?
69904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69905   (exit $ac_status); }; }; then
69906   eval "$as_ac_var=yes"
69907 else
69908   echo "$as_me: failed program was:" >&5
69909 sed 's/^/| /' conftest.$ac_ext >&5
69910
69911 eval "$as_ac_var=no"
69912 fi
69913 rm -f conftest.err conftest.$ac_objext \
69914       conftest$ac_exeext conftest.$ac_ext
69915 fi
69916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69918 if test `eval echo '${'$as_ac_var'}'` = yes; then
69919   cat >>confdefs.h <<_ACEOF
69920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69921 _ACEOF
69922
69923 fi
69924 done
69925
69926     fi
69927   fi
69928
69929
69930
69931
69932
69933
69934   echo "$as_me:$LINENO: checking for finitel declaration" >&5
69935 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
69936   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
69937     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
69938   echo $ECHO_N "(cached) $ECHO_C" >&6
69939 else
69940
69941
69942
69943       ac_ext=cc
69944 ac_cpp='$CXXCPP $CPPFLAGS'
69945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69948
69949       cat >conftest.$ac_ext <<_ACEOF
69950 /* confdefs.h.  */
69951 _ACEOF
69952 cat confdefs.h >>conftest.$ac_ext
69953 cat >>conftest.$ac_ext <<_ACEOF
69954 /* end confdefs.h.  */
69955 #include <math.h>
69956                       #ifdef HAVE_IEEEFP_H
69957                       #include <ieeefp.h>
69958                       #endif
69959
69960 int
69961 main ()
69962 {
69963  finitel(0);
69964   ;
69965   return 0;
69966 }
69967 _ACEOF
69968 rm -f conftest.$ac_objext
69969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69970   (eval $ac_compile) 2>conftest.er1
69971   ac_status=$?
69972   grep -v '^ *+' conftest.er1 >conftest.err
69973   rm -f conftest.er1
69974   cat conftest.err >&5
69975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69976   (exit $ac_status); } &&
69977          { ac_try='test -z "$ac_cxx_werror_flag"
69978                          || test ! -s conftest.err'
69979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69980   (eval $ac_try) 2>&5
69981   ac_status=$?
69982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69983   (exit $ac_status); }; } &&
69984          { ac_try='test -s conftest.$ac_objext'
69985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69986   (eval $ac_try) 2>&5
69987   ac_status=$?
69988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69989   (exit $ac_status); }; }; then
69990   glibcxx_cv_func_finitel_use=yes
69991 else
69992   echo "$as_me: failed program was:" >&5
69993 sed 's/^/| /' conftest.$ac_ext >&5
69994
69995 glibcxx_cv_func_finitel_use=no
69996 fi
69997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69998       ac_ext=c
69999 ac_cpp='$CPP $CPPFLAGS'
70000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70003
70004
70005 fi
70006
70007   fi
70008   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
70009 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
70010
70011   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70012
70013 for ac_func in finitel
70014 do
70015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70016 echo "$as_me:$LINENO: checking for $ac_func" >&5
70017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70018 if eval "test \"\${$as_ac_var+set}\" = set"; then
70019   echo $ECHO_N "(cached) $ECHO_C" >&6
70020 else
70021   if test x$gcc_no_link = xyes; then
70022   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70024    { (exit 1); exit 1; }; }
70025 fi
70026 cat >conftest.$ac_ext <<_ACEOF
70027 /* confdefs.h.  */
70028 _ACEOF
70029 cat confdefs.h >>conftest.$ac_ext
70030 cat >>conftest.$ac_ext <<_ACEOF
70031 /* end confdefs.h.  */
70032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70033    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70034 #define $ac_func innocuous_$ac_func
70035
70036 /* System header to define __stub macros and hopefully few prototypes,
70037     which can conflict with char $ac_func (); below.
70038     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70039     <limits.h> exists even on freestanding compilers.  */
70040
70041 #ifdef __STDC__
70042 # include <limits.h>
70043 #else
70044 # include <assert.h>
70045 #endif
70046
70047 #undef $ac_func
70048
70049 /* Override any gcc2 internal prototype to avoid an error.  */
70050 #ifdef __cplusplus
70051 extern "C"
70052 {
70053 #endif
70054 /* We use char because int might match the return type of a gcc2
70055    builtin and then its argument prototype would still apply.  */
70056 char $ac_func ();
70057 /* The GNU C library defines this for functions which it implements
70058     to always fail with ENOSYS.  Some functions are actually named
70059     something starting with __ and the normal name is an alias.  */
70060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70061 choke me
70062 #else
70063 char (*f) () = $ac_func;
70064 #endif
70065 #ifdef __cplusplus
70066 }
70067 #endif
70068
70069 int
70070 main ()
70071 {
70072 return f != $ac_func;
70073   ;
70074   return 0;
70075 }
70076 _ACEOF
70077 rm -f conftest.$ac_objext conftest$ac_exeext
70078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70079   (eval $ac_link) 2>conftest.er1
70080   ac_status=$?
70081   grep -v '^ *+' conftest.er1 >conftest.err
70082   rm -f conftest.er1
70083   cat conftest.err >&5
70084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70085   (exit $ac_status); } &&
70086          { ac_try='test -z "$ac_c_werror_flag"
70087                          || test ! -s conftest.err'
70088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70089   (eval $ac_try) 2>&5
70090   ac_status=$?
70091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70092   (exit $ac_status); }; } &&
70093          { ac_try='test -s conftest$ac_exeext'
70094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70095   (eval $ac_try) 2>&5
70096   ac_status=$?
70097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70098   (exit $ac_status); }; }; then
70099   eval "$as_ac_var=yes"
70100 else
70101   echo "$as_me: failed program was:" >&5
70102 sed 's/^/| /' conftest.$ac_ext >&5
70103
70104 eval "$as_ac_var=no"
70105 fi
70106 rm -f conftest.err conftest.$ac_objext \
70107       conftest$ac_exeext conftest.$ac_ext
70108 fi
70109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70111 if test `eval echo '${'$as_ac_var'}'` = yes; then
70112   cat >>confdefs.h <<_ACEOF
70113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70114 _ACEOF
70115
70116 fi
70117 done
70118
70119   else
70120
70121   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
70122 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
70123   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70124     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
70125   echo $ECHO_N "(cached) $ECHO_C" >&6
70126 else
70127
70128
70129
70130       ac_ext=cc
70131 ac_cpp='$CXXCPP $CPPFLAGS'
70132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70135
70136       cat >conftest.$ac_ext <<_ACEOF
70137 /* confdefs.h.  */
70138 _ACEOF
70139 cat confdefs.h >>conftest.$ac_ext
70140 cat >>conftest.$ac_ext <<_ACEOF
70141 /* end confdefs.h.  */
70142 #include <math.h>
70143                       #ifdef HAVE_IEEEFP_H
70144                       #include <ieeefp.h>
70145                       #endif
70146
70147 int
70148 main ()
70149 {
70150  _finitel(0);
70151   ;
70152   return 0;
70153 }
70154 _ACEOF
70155 rm -f conftest.$ac_objext
70156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70157   (eval $ac_compile) 2>conftest.er1
70158   ac_status=$?
70159   grep -v '^ *+' conftest.er1 >conftest.err
70160   rm -f conftest.er1
70161   cat conftest.err >&5
70162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70163   (exit $ac_status); } &&
70164          { ac_try='test -z "$ac_cxx_werror_flag"
70165                          || test ! -s conftest.err'
70166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70167   (eval $ac_try) 2>&5
70168   ac_status=$?
70169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70170   (exit $ac_status); }; } &&
70171          { ac_try='test -s conftest.$ac_objext'
70172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70173   (eval $ac_try) 2>&5
70174   ac_status=$?
70175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70176   (exit $ac_status); }; }; then
70177   glibcxx_cv_func__finitel_use=yes
70178 else
70179   echo "$as_me: failed program was:" >&5
70180 sed 's/^/| /' conftest.$ac_ext >&5
70181
70182 glibcxx_cv_func__finitel_use=no
70183 fi
70184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70185       ac_ext=c
70186 ac_cpp='$CPP $CPPFLAGS'
70187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70190
70191
70192 fi
70193
70194   fi
70195   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
70196 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
70197
70198     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70199
70200 for ac_func in _finitel
70201 do
70202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70203 echo "$as_me:$LINENO: checking for $ac_func" >&5
70204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70205 if eval "test \"\${$as_ac_var+set}\" = set"; then
70206   echo $ECHO_N "(cached) $ECHO_C" >&6
70207 else
70208   if test x$gcc_no_link = xyes; then
70209   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70211    { (exit 1); exit 1; }; }
70212 fi
70213 cat >conftest.$ac_ext <<_ACEOF
70214 /* confdefs.h.  */
70215 _ACEOF
70216 cat confdefs.h >>conftest.$ac_ext
70217 cat >>conftest.$ac_ext <<_ACEOF
70218 /* end confdefs.h.  */
70219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70220    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70221 #define $ac_func innocuous_$ac_func
70222
70223 /* System header to define __stub macros and hopefully few prototypes,
70224     which can conflict with char $ac_func (); below.
70225     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70226     <limits.h> exists even on freestanding compilers.  */
70227
70228 #ifdef __STDC__
70229 # include <limits.h>
70230 #else
70231 # include <assert.h>
70232 #endif
70233
70234 #undef $ac_func
70235
70236 /* Override any gcc2 internal prototype to avoid an error.  */
70237 #ifdef __cplusplus
70238 extern "C"
70239 {
70240 #endif
70241 /* We use char because int might match the return type of a gcc2
70242    builtin and then its argument prototype would still apply.  */
70243 char $ac_func ();
70244 /* The GNU C library defines this for functions which it implements
70245     to always fail with ENOSYS.  Some functions are actually named
70246     something starting with __ and the normal name is an alias.  */
70247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70248 choke me
70249 #else
70250 char (*f) () = $ac_func;
70251 #endif
70252 #ifdef __cplusplus
70253 }
70254 #endif
70255
70256 int
70257 main ()
70258 {
70259 return f != $ac_func;
70260   ;
70261   return 0;
70262 }
70263 _ACEOF
70264 rm -f conftest.$ac_objext conftest$ac_exeext
70265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70266   (eval $ac_link) 2>conftest.er1
70267   ac_status=$?
70268   grep -v '^ *+' conftest.er1 >conftest.err
70269   rm -f conftest.er1
70270   cat conftest.err >&5
70271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70272   (exit $ac_status); } &&
70273          { ac_try='test -z "$ac_c_werror_flag"
70274                          || test ! -s conftest.err'
70275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70276   (eval $ac_try) 2>&5
70277   ac_status=$?
70278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70279   (exit $ac_status); }; } &&
70280          { ac_try='test -s conftest$ac_exeext'
70281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70282   (eval $ac_try) 2>&5
70283   ac_status=$?
70284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70285   (exit $ac_status); }; }; then
70286   eval "$as_ac_var=yes"
70287 else
70288   echo "$as_me: failed program was:" >&5
70289 sed 's/^/| /' conftest.$ac_ext >&5
70290
70291 eval "$as_ac_var=no"
70292 fi
70293 rm -f conftest.err conftest.$ac_objext \
70294       conftest$ac_exeext conftest.$ac_ext
70295 fi
70296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70298 if test `eval echo '${'$as_ac_var'}'` = yes; then
70299   cat >>confdefs.h <<_ACEOF
70300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70301 _ACEOF
70302
70303 fi
70304 done
70305
70306     fi
70307   fi
70308
70309
70310
70311
70312
70313   LIBS="$ac_save_LIBS"
70314   CXXFLAGS="$ac_save_CXXFLAGS"
70315
70316
70317
70318   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
70319 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
70320   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
70321     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
70322   echo $ECHO_N "(cached) $ECHO_C" >&6
70323 else
70324
70325
70326
70327       ac_ext=cc
70328 ac_cpp='$CXXCPP $CPPFLAGS'
70329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70332
70333       cat >conftest.$ac_ext <<_ACEOF
70334 /* confdefs.h.  */
70335 _ACEOF
70336 cat confdefs.h >>conftest.$ac_ext
70337 cat >>conftest.$ac_ext <<_ACEOF
70338 /* end confdefs.h.  */
70339 #include <math.h>
70340 int
70341 main ()
70342 {
70343  __builtin_abs(0);
70344   ;
70345   return 0;
70346 }
70347 _ACEOF
70348 rm -f conftest.$ac_objext
70349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70350   (eval $ac_compile) 2>conftest.er1
70351   ac_status=$?
70352   grep -v '^ *+' conftest.er1 >conftest.err
70353   rm -f conftest.er1
70354   cat conftest.err >&5
70355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70356   (exit $ac_status); } &&
70357          { ac_try='test -z "$ac_cxx_werror_flag"
70358                          || test ! -s conftest.err'
70359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70360   (eval $ac_try) 2>&5
70361   ac_status=$?
70362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70363   (exit $ac_status); }; } &&
70364          { ac_try='test -s conftest.$ac_objext'
70365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70366   (eval $ac_try) 2>&5
70367   ac_status=$?
70368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70369   (exit $ac_status); }; }; then
70370   glibcxx_cv_func___builtin_abs_use=yes
70371 else
70372   echo "$as_me: failed program was:" >&5
70373 sed 's/^/| /' conftest.$ac_ext >&5
70374
70375 glibcxx_cv_func___builtin_abs_use=no
70376 fi
70377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70378       ac_ext=c
70379 ac_cpp='$CPP $CPPFLAGS'
70380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70383
70384
70385 fi
70386
70387   fi
70388   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
70389 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
70390   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
70391     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
70392 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
70393     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
70394       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
70395   echo $ECHO_N "(cached) $ECHO_C" >&6
70396 else
70397
70398         if test x$gcc_no_link = xyes; then
70399   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70401    { (exit 1); exit 1; }; }
70402 fi
70403 cat >conftest.$ac_ext <<_ACEOF
70404 /* confdefs.h.  */
70405 _ACEOF
70406 cat confdefs.h >>conftest.$ac_ext
70407 cat >>conftest.$ac_ext <<_ACEOF
70408 /* end confdefs.h.  */
70409 #include <math.h>
70410 int
70411 main ()
70412 {
70413  __builtin_abs(0);
70414   ;
70415   return 0;
70416 }
70417 _ACEOF
70418 rm -f conftest.$ac_objext conftest$ac_exeext
70419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70420   (eval $ac_link) 2>conftest.er1
70421   ac_status=$?
70422   grep -v '^ *+' conftest.er1 >conftest.err
70423   rm -f conftest.er1
70424   cat conftest.err >&5
70425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70426   (exit $ac_status); } &&
70427          { ac_try='test -z "$ac_c_werror_flag"
70428                          || test ! -s conftest.err'
70429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70430   (eval $ac_try) 2>&5
70431   ac_status=$?
70432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70433   (exit $ac_status); }; } &&
70434          { ac_try='test -s conftest$ac_exeext'
70435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70436   (eval $ac_try) 2>&5
70437   ac_status=$?
70438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70439   (exit $ac_status); }; }; then
70440   glibcxx_cv_func___builtin_abs_link=yes
70441 else
70442   echo "$as_me: failed program was:" >&5
70443 sed 's/^/| /' conftest.$ac_ext >&5
70444
70445 glibcxx_cv_func___builtin_abs_link=no
70446 fi
70447 rm -f conftest.err conftest.$ac_objext \
70448       conftest$ac_exeext conftest.$ac_ext
70449
70450 fi
70451
70452     fi
70453     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
70454 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
70455
70456     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
70457
70458 cat >>confdefs.h <<\_ACEOF
70459 #define HAVE___BUILTIN_ABS 1
70460 _ACEOF
70461
70462     fi
70463
70464   fi
70465
70466
70467   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
70468 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
70469   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
70470     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
70471   echo $ECHO_N "(cached) $ECHO_C" >&6
70472 else
70473
70474
70475
70476       ac_ext=cc
70477 ac_cpp='$CXXCPP $CPPFLAGS'
70478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70481
70482       cat >conftest.$ac_ext <<_ACEOF
70483 /* confdefs.h.  */
70484 _ACEOF
70485 cat confdefs.h >>conftest.$ac_ext
70486 cat >>conftest.$ac_ext <<_ACEOF
70487 /* end confdefs.h.  */
70488 #include <math.h>
70489 int
70490 main ()
70491 {
70492  __builtin_fabsf(0);
70493   ;
70494   return 0;
70495 }
70496 _ACEOF
70497 rm -f conftest.$ac_objext
70498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70499   (eval $ac_compile) 2>conftest.er1
70500   ac_status=$?
70501   grep -v '^ *+' conftest.er1 >conftest.err
70502   rm -f conftest.er1
70503   cat conftest.err >&5
70504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70505   (exit $ac_status); } &&
70506          { ac_try='test -z "$ac_cxx_werror_flag"
70507                          || test ! -s conftest.err'
70508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70509   (eval $ac_try) 2>&5
70510   ac_status=$?
70511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70512   (exit $ac_status); }; } &&
70513          { ac_try='test -s conftest.$ac_objext'
70514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70515   (eval $ac_try) 2>&5
70516   ac_status=$?
70517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70518   (exit $ac_status); }; }; then
70519   glibcxx_cv_func___builtin_fabsf_use=yes
70520 else
70521   echo "$as_me: failed program was:" >&5
70522 sed 's/^/| /' conftest.$ac_ext >&5
70523
70524 glibcxx_cv_func___builtin_fabsf_use=no
70525 fi
70526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70527       ac_ext=c
70528 ac_cpp='$CPP $CPPFLAGS'
70529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70532
70533
70534 fi
70535
70536   fi
70537   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
70538 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
70539   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
70540     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
70541 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
70542     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
70543       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
70544   echo $ECHO_N "(cached) $ECHO_C" >&6
70545 else
70546
70547         if test x$gcc_no_link = xyes; then
70548   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70550    { (exit 1); exit 1; }; }
70551 fi
70552 cat >conftest.$ac_ext <<_ACEOF
70553 /* confdefs.h.  */
70554 _ACEOF
70555 cat confdefs.h >>conftest.$ac_ext
70556 cat >>conftest.$ac_ext <<_ACEOF
70557 /* end confdefs.h.  */
70558 #include <math.h>
70559 int
70560 main ()
70561 {
70562  __builtin_fabsf(0);
70563   ;
70564   return 0;
70565 }
70566 _ACEOF
70567 rm -f conftest.$ac_objext conftest$ac_exeext
70568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70569   (eval $ac_link) 2>conftest.er1
70570   ac_status=$?
70571   grep -v '^ *+' conftest.er1 >conftest.err
70572   rm -f conftest.er1
70573   cat conftest.err >&5
70574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70575   (exit $ac_status); } &&
70576          { ac_try='test -z "$ac_c_werror_flag"
70577                          || test ! -s conftest.err'
70578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70579   (eval $ac_try) 2>&5
70580   ac_status=$?
70581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70582   (exit $ac_status); }; } &&
70583          { ac_try='test -s conftest$ac_exeext'
70584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70585   (eval $ac_try) 2>&5
70586   ac_status=$?
70587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70588   (exit $ac_status); }; }; then
70589   glibcxx_cv_func___builtin_fabsf_link=yes
70590 else
70591   echo "$as_me: failed program was:" >&5
70592 sed 's/^/| /' conftest.$ac_ext >&5
70593
70594 glibcxx_cv_func___builtin_fabsf_link=no
70595 fi
70596 rm -f conftest.err conftest.$ac_objext \
70597       conftest$ac_exeext conftest.$ac_ext
70598
70599 fi
70600
70601     fi
70602     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
70603 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
70604
70605     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
70606
70607 cat >>confdefs.h <<\_ACEOF
70608 #define HAVE___BUILTIN_FABSF 1
70609 _ACEOF
70610
70611     fi
70612
70613   fi
70614
70615
70616   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
70617 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
70618   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
70619     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
70620   echo $ECHO_N "(cached) $ECHO_C" >&6
70621 else
70622
70623
70624
70625       ac_ext=cc
70626 ac_cpp='$CXXCPP $CPPFLAGS'
70627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70630
70631       cat >conftest.$ac_ext <<_ACEOF
70632 /* confdefs.h.  */
70633 _ACEOF
70634 cat confdefs.h >>conftest.$ac_ext
70635 cat >>conftest.$ac_ext <<_ACEOF
70636 /* end confdefs.h.  */
70637 #include <math.h>
70638 int
70639 main ()
70640 {
70641  __builtin_fabs(0);
70642   ;
70643   return 0;
70644 }
70645 _ACEOF
70646 rm -f conftest.$ac_objext
70647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70648   (eval $ac_compile) 2>conftest.er1
70649   ac_status=$?
70650   grep -v '^ *+' conftest.er1 >conftest.err
70651   rm -f conftest.er1
70652   cat conftest.err >&5
70653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70654   (exit $ac_status); } &&
70655          { ac_try='test -z "$ac_cxx_werror_flag"
70656                          || test ! -s conftest.err'
70657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70658   (eval $ac_try) 2>&5
70659   ac_status=$?
70660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70661   (exit $ac_status); }; } &&
70662          { ac_try='test -s conftest.$ac_objext'
70663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70664   (eval $ac_try) 2>&5
70665   ac_status=$?
70666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70667   (exit $ac_status); }; }; then
70668   glibcxx_cv_func___builtin_fabs_use=yes
70669 else
70670   echo "$as_me: failed program was:" >&5
70671 sed 's/^/| /' conftest.$ac_ext >&5
70672
70673 glibcxx_cv_func___builtin_fabs_use=no
70674 fi
70675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70676       ac_ext=c
70677 ac_cpp='$CPP $CPPFLAGS'
70678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70681
70682
70683 fi
70684
70685   fi
70686   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
70687 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
70688   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
70689     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
70690 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
70691     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
70692       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
70693   echo $ECHO_N "(cached) $ECHO_C" >&6
70694 else
70695
70696         if test x$gcc_no_link = xyes; then
70697   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70699    { (exit 1); exit 1; }; }
70700 fi
70701 cat >conftest.$ac_ext <<_ACEOF
70702 /* confdefs.h.  */
70703 _ACEOF
70704 cat confdefs.h >>conftest.$ac_ext
70705 cat >>conftest.$ac_ext <<_ACEOF
70706 /* end confdefs.h.  */
70707 #include <math.h>
70708 int
70709 main ()
70710 {
70711  __builtin_fabs(0);
70712   ;
70713   return 0;
70714 }
70715 _ACEOF
70716 rm -f conftest.$ac_objext conftest$ac_exeext
70717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70718   (eval $ac_link) 2>conftest.er1
70719   ac_status=$?
70720   grep -v '^ *+' conftest.er1 >conftest.err
70721   rm -f conftest.er1
70722   cat conftest.err >&5
70723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70724   (exit $ac_status); } &&
70725          { ac_try='test -z "$ac_c_werror_flag"
70726                          || test ! -s conftest.err'
70727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70728   (eval $ac_try) 2>&5
70729   ac_status=$?
70730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70731   (exit $ac_status); }; } &&
70732          { ac_try='test -s conftest$ac_exeext'
70733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70734   (eval $ac_try) 2>&5
70735   ac_status=$?
70736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70737   (exit $ac_status); }; }; then
70738   glibcxx_cv_func___builtin_fabs_link=yes
70739 else
70740   echo "$as_me: failed program was:" >&5
70741 sed 's/^/| /' conftest.$ac_ext >&5
70742
70743 glibcxx_cv_func___builtin_fabs_link=no
70744 fi
70745 rm -f conftest.err conftest.$ac_objext \
70746       conftest$ac_exeext conftest.$ac_ext
70747
70748 fi
70749
70750     fi
70751     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
70752 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
70753
70754     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
70755
70756 cat >>confdefs.h <<\_ACEOF
70757 #define HAVE___BUILTIN_FABS 1
70758 _ACEOF
70759
70760     fi
70761
70762   fi
70763
70764
70765   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
70766 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
70767   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
70768     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
70769   echo $ECHO_N "(cached) $ECHO_C" >&6
70770 else
70771
70772
70773
70774       ac_ext=cc
70775 ac_cpp='$CXXCPP $CPPFLAGS'
70776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70779
70780       cat >conftest.$ac_ext <<_ACEOF
70781 /* confdefs.h.  */
70782 _ACEOF
70783 cat confdefs.h >>conftest.$ac_ext
70784 cat >>conftest.$ac_ext <<_ACEOF
70785 /* end confdefs.h.  */
70786 #include <math.h>
70787 int
70788 main ()
70789 {
70790  __builtin_fabsl(0);
70791   ;
70792   return 0;
70793 }
70794 _ACEOF
70795 rm -f conftest.$ac_objext
70796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70797   (eval $ac_compile) 2>conftest.er1
70798   ac_status=$?
70799   grep -v '^ *+' conftest.er1 >conftest.err
70800   rm -f conftest.er1
70801   cat conftest.err >&5
70802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70803   (exit $ac_status); } &&
70804          { ac_try='test -z "$ac_cxx_werror_flag"
70805                          || test ! -s conftest.err'
70806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70807   (eval $ac_try) 2>&5
70808   ac_status=$?
70809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70810   (exit $ac_status); }; } &&
70811          { ac_try='test -s conftest.$ac_objext'
70812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70813   (eval $ac_try) 2>&5
70814   ac_status=$?
70815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70816   (exit $ac_status); }; }; then
70817   glibcxx_cv_func___builtin_fabsl_use=yes
70818 else
70819   echo "$as_me: failed program was:" >&5
70820 sed 's/^/| /' conftest.$ac_ext >&5
70821
70822 glibcxx_cv_func___builtin_fabsl_use=no
70823 fi
70824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70825       ac_ext=c
70826 ac_cpp='$CPP $CPPFLAGS'
70827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70830
70831
70832 fi
70833
70834   fi
70835   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
70836 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
70837   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
70838     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
70839 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
70840     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
70841       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
70842   echo $ECHO_N "(cached) $ECHO_C" >&6
70843 else
70844
70845         if test x$gcc_no_link = xyes; then
70846   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70848    { (exit 1); exit 1; }; }
70849 fi
70850 cat >conftest.$ac_ext <<_ACEOF
70851 /* confdefs.h.  */
70852 _ACEOF
70853 cat confdefs.h >>conftest.$ac_ext
70854 cat >>conftest.$ac_ext <<_ACEOF
70855 /* end confdefs.h.  */
70856 #include <math.h>
70857 int
70858 main ()
70859 {
70860  __builtin_fabsl(0);
70861   ;
70862   return 0;
70863 }
70864 _ACEOF
70865 rm -f conftest.$ac_objext conftest$ac_exeext
70866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70867   (eval $ac_link) 2>conftest.er1
70868   ac_status=$?
70869   grep -v '^ *+' conftest.er1 >conftest.err
70870   rm -f conftest.er1
70871   cat conftest.err >&5
70872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70873   (exit $ac_status); } &&
70874          { ac_try='test -z "$ac_c_werror_flag"
70875                          || test ! -s conftest.err'
70876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70877   (eval $ac_try) 2>&5
70878   ac_status=$?
70879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70880   (exit $ac_status); }; } &&
70881          { ac_try='test -s conftest$ac_exeext'
70882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70883   (eval $ac_try) 2>&5
70884   ac_status=$?
70885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70886   (exit $ac_status); }; }; then
70887   glibcxx_cv_func___builtin_fabsl_link=yes
70888 else
70889   echo "$as_me: failed program was:" >&5
70890 sed 's/^/| /' conftest.$ac_ext >&5
70891
70892 glibcxx_cv_func___builtin_fabsl_link=no
70893 fi
70894 rm -f conftest.err conftest.$ac_objext \
70895       conftest$ac_exeext conftest.$ac_ext
70896
70897 fi
70898
70899     fi
70900     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
70901 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
70902
70903     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
70904
70905 cat >>confdefs.h <<\_ACEOF
70906 #define HAVE___BUILTIN_FABSL 1
70907 _ACEOF
70908
70909     fi
70910
70911   fi
70912
70913
70914   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
70915 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
70916   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
70917     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
70918   echo $ECHO_N "(cached) $ECHO_C" >&6
70919 else
70920
70921
70922
70923       ac_ext=cc
70924 ac_cpp='$CXXCPP $CPPFLAGS'
70925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70928
70929       cat >conftest.$ac_ext <<_ACEOF
70930 /* confdefs.h.  */
70931 _ACEOF
70932 cat confdefs.h >>conftest.$ac_ext
70933 cat >>conftest.$ac_ext <<_ACEOF
70934 /* end confdefs.h.  */
70935 #include <math.h>
70936 int
70937 main ()
70938 {
70939  __builtin_labs(0);
70940   ;
70941   return 0;
70942 }
70943 _ACEOF
70944 rm -f conftest.$ac_objext
70945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70946   (eval $ac_compile) 2>conftest.er1
70947   ac_status=$?
70948   grep -v '^ *+' conftest.er1 >conftest.err
70949   rm -f conftest.er1
70950   cat conftest.err >&5
70951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70952   (exit $ac_status); } &&
70953          { ac_try='test -z "$ac_cxx_werror_flag"
70954                          || test ! -s conftest.err'
70955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70956   (eval $ac_try) 2>&5
70957   ac_status=$?
70958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70959   (exit $ac_status); }; } &&
70960          { ac_try='test -s conftest.$ac_objext'
70961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70962   (eval $ac_try) 2>&5
70963   ac_status=$?
70964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70965   (exit $ac_status); }; }; then
70966   glibcxx_cv_func___builtin_labs_use=yes
70967 else
70968   echo "$as_me: failed program was:" >&5
70969 sed 's/^/| /' conftest.$ac_ext >&5
70970
70971 glibcxx_cv_func___builtin_labs_use=no
70972 fi
70973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70974       ac_ext=c
70975 ac_cpp='$CPP $CPPFLAGS'
70976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70979
70980
70981 fi
70982
70983   fi
70984   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
70985 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
70986   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
70987     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
70988 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
70989     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
70990       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
70991   echo $ECHO_N "(cached) $ECHO_C" >&6
70992 else
70993
70994         if test x$gcc_no_link = xyes; then
70995   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70997    { (exit 1); exit 1; }; }
70998 fi
70999 cat >conftest.$ac_ext <<_ACEOF
71000 /* confdefs.h.  */
71001 _ACEOF
71002 cat confdefs.h >>conftest.$ac_ext
71003 cat >>conftest.$ac_ext <<_ACEOF
71004 /* end confdefs.h.  */
71005 #include <math.h>
71006 int
71007 main ()
71008 {
71009  __builtin_labs(0);
71010   ;
71011   return 0;
71012 }
71013 _ACEOF
71014 rm -f conftest.$ac_objext conftest$ac_exeext
71015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71016   (eval $ac_link) 2>conftest.er1
71017   ac_status=$?
71018   grep -v '^ *+' conftest.er1 >conftest.err
71019   rm -f conftest.er1
71020   cat conftest.err >&5
71021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71022   (exit $ac_status); } &&
71023          { ac_try='test -z "$ac_c_werror_flag"
71024                          || test ! -s conftest.err'
71025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71026   (eval $ac_try) 2>&5
71027   ac_status=$?
71028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71029   (exit $ac_status); }; } &&
71030          { ac_try='test -s conftest$ac_exeext'
71031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71032   (eval $ac_try) 2>&5
71033   ac_status=$?
71034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71035   (exit $ac_status); }; }; then
71036   glibcxx_cv_func___builtin_labs_link=yes
71037 else
71038   echo "$as_me: failed program was:" >&5
71039 sed 's/^/| /' conftest.$ac_ext >&5
71040
71041 glibcxx_cv_func___builtin_labs_link=no
71042 fi
71043 rm -f conftest.err conftest.$ac_objext \
71044       conftest$ac_exeext conftest.$ac_ext
71045
71046 fi
71047
71048     fi
71049     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
71050 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
71051
71052     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
71053
71054 cat >>confdefs.h <<\_ACEOF
71055 #define HAVE___BUILTIN_LABS 1
71056 _ACEOF
71057
71058     fi
71059
71060   fi
71061
71062
71063
71064   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
71065 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
71066   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
71067     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
71068   echo $ECHO_N "(cached) $ECHO_C" >&6
71069 else
71070
71071
71072
71073       ac_ext=cc
71074 ac_cpp='$CXXCPP $CPPFLAGS'
71075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71078
71079       cat >conftest.$ac_ext <<_ACEOF
71080 /* confdefs.h.  */
71081 _ACEOF
71082 cat confdefs.h >>conftest.$ac_ext
71083 cat >>conftest.$ac_ext <<_ACEOF
71084 /* end confdefs.h.  */
71085 #include <math.h>
71086 int
71087 main ()
71088 {
71089  __builtin_sqrtf(0);
71090   ;
71091   return 0;
71092 }
71093 _ACEOF
71094 rm -f conftest.$ac_objext
71095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71096   (eval $ac_compile) 2>conftest.er1
71097   ac_status=$?
71098   grep -v '^ *+' conftest.er1 >conftest.err
71099   rm -f conftest.er1
71100   cat conftest.err >&5
71101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71102   (exit $ac_status); } &&
71103          { ac_try='test -z "$ac_cxx_werror_flag"
71104                          || test ! -s conftest.err'
71105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71106   (eval $ac_try) 2>&5
71107   ac_status=$?
71108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71109   (exit $ac_status); }; } &&
71110          { ac_try='test -s conftest.$ac_objext'
71111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71112   (eval $ac_try) 2>&5
71113   ac_status=$?
71114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71115   (exit $ac_status); }; }; then
71116   glibcxx_cv_func___builtin_sqrtf_use=yes
71117 else
71118   echo "$as_me: failed program was:" >&5
71119 sed 's/^/| /' conftest.$ac_ext >&5
71120
71121 glibcxx_cv_func___builtin_sqrtf_use=no
71122 fi
71123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71124       ac_ext=c
71125 ac_cpp='$CPP $CPPFLAGS'
71126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71129
71130
71131 fi
71132
71133   fi
71134   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
71135 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
71136   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
71137     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
71138 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
71139     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
71140       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
71141   echo $ECHO_N "(cached) $ECHO_C" >&6
71142 else
71143
71144         if test x$gcc_no_link = xyes; then
71145   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71146 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71147    { (exit 1); exit 1; }; }
71148 fi
71149 cat >conftest.$ac_ext <<_ACEOF
71150 /* confdefs.h.  */
71151 _ACEOF
71152 cat confdefs.h >>conftest.$ac_ext
71153 cat >>conftest.$ac_ext <<_ACEOF
71154 /* end confdefs.h.  */
71155 #include <math.h>
71156 int
71157 main ()
71158 {
71159  __builtin_sqrtf(0);
71160   ;
71161   return 0;
71162 }
71163 _ACEOF
71164 rm -f conftest.$ac_objext conftest$ac_exeext
71165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71166   (eval $ac_link) 2>conftest.er1
71167   ac_status=$?
71168   grep -v '^ *+' conftest.er1 >conftest.err
71169   rm -f conftest.er1
71170   cat conftest.err >&5
71171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71172   (exit $ac_status); } &&
71173          { ac_try='test -z "$ac_c_werror_flag"
71174                          || test ! -s conftest.err'
71175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71176   (eval $ac_try) 2>&5
71177   ac_status=$?
71178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71179   (exit $ac_status); }; } &&
71180          { ac_try='test -s conftest$ac_exeext'
71181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71182   (eval $ac_try) 2>&5
71183   ac_status=$?
71184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71185   (exit $ac_status); }; }; then
71186   glibcxx_cv_func___builtin_sqrtf_link=yes
71187 else
71188   echo "$as_me: failed program was:" >&5
71189 sed 's/^/| /' conftest.$ac_ext >&5
71190
71191 glibcxx_cv_func___builtin_sqrtf_link=no
71192 fi
71193 rm -f conftest.err conftest.$ac_objext \
71194       conftest$ac_exeext conftest.$ac_ext
71195
71196 fi
71197
71198     fi
71199     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
71200 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
71201
71202     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
71203
71204 cat >>confdefs.h <<\_ACEOF
71205 #define HAVE___BUILTIN_SQRTF 1
71206 _ACEOF
71207
71208     fi
71209
71210   fi
71211
71212
71213   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
71214 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
71215   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
71216     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
71217   echo $ECHO_N "(cached) $ECHO_C" >&6
71218 else
71219
71220
71221
71222       ac_ext=cc
71223 ac_cpp='$CXXCPP $CPPFLAGS'
71224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71227
71228       cat >conftest.$ac_ext <<_ACEOF
71229 /* confdefs.h.  */
71230 _ACEOF
71231 cat confdefs.h >>conftest.$ac_ext
71232 cat >>conftest.$ac_ext <<_ACEOF
71233 /* end confdefs.h.  */
71234 #include <math.h>
71235 int
71236 main ()
71237 {
71238  __builtin_sqrt(0);
71239   ;
71240   return 0;
71241 }
71242 _ACEOF
71243 rm -f conftest.$ac_objext
71244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71245   (eval $ac_compile) 2>conftest.er1
71246   ac_status=$?
71247   grep -v '^ *+' conftest.er1 >conftest.err
71248   rm -f conftest.er1
71249   cat conftest.err >&5
71250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71251   (exit $ac_status); } &&
71252          { ac_try='test -z "$ac_cxx_werror_flag"
71253                          || test ! -s conftest.err'
71254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71255   (eval $ac_try) 2>&5
71256   ac_status=$?
71257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71258   (exit $ac_status); }; } &&
71259          { ac_try='test -s conftest.$ac_objext'
71260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71261   (eval $ac_try) 2>&5
71262   ac_status=$?
71263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71264   (exit $ac_status); }; }; then
71265   glibcxx_cv_func___builtin_sqrt_use=yes
71266 else
71267   echo "$as_me: failed program was:" >&5
71268 sed 's/^/| /' conftest.$ac_ext >&5
71269
71270 glibcxx_cv_func___builtin_sqrt_use=no
71271 fi
71272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71273       ac_ext=c
71274 ac_cpp='$CPP $CPPFLAGS'
71275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71278
71279
71280 fi
71281
71282   fi
71283   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
71284 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
71285   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
71286     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
71287 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
71288     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
71289       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
71290   echo $ECHO_N "(cached) $ECHO_C" >&6
71291 else
71292
71293         if test x$gcc_no_link = xyes; then
71294   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71296    { (exit 1); exit 1; }; }
71297 fi
71298 cat >conftest.$ac_ext <<_ACEOF
71299 /* confdefs.h.  */
71300 _ACEOF
71301 cat confdefs.h >>conftest.$ac_ext
71302 cat >>conftest.$ac_ext <<_ACEOF
71303 /* end confdefs.h.  */
71304 #include <math.h>
71305 int
71306 main ()
71307 {
71308  __builtin_sqrt(0);
71309   ;
71310   return 0;
71311 }
71312 _ACEOF
71313 rm -f conftest.$ac_objext conftest$ac_exeext
71314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71315   (eval $ac_link) 2>conftest.er1
71316   ac_status=$?
71317   grep -v '^ *+' conftest.er1 >conftest.err
71318   rm -f conftest.er1
71319   cat conftest.err >&5
71320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71321   (exit $ac_status); } &&
71322          { ac_try='test -z "$ac_c_werror_flag"
71323                          || test ! -s conftest.err'
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); }; } &&
71329          { ac_try='test -s conftest$ac_exeext'
71330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71331   (eval $ac_try) 2>&5
71332   ac_status=$?
71333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71334   (exit $ac_status); }; }; then
71335   glibcxx_cv_func___builtin_sqrt_link=yes
71336 else
71337   echo "$as_me: failed program was:" >&5
71338 sed 's/^/| /' conftest.$ac_ext >&5
71339
71340 glibcxx_cv_func___builtin_sqrt_link=no
71341 fi
71342 rm -f conftest.err conftest.$ac_objext \
71343       conftest$ac_exeext conftest.$ac_ext
71344
71345 fi
71346
71347     fi
71348     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
71349 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
71350
71351     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
71352
71353 cat >>confdefs.h <<\_ACEOF
71354 #define HAVE___BUILTIN_SQRT 1
71355 _ACEOF
71356
71357     fi
71358
71359   fi
71360
71361
71362   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
71363 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
71364   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
71365     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
71366   echo $ECHO_N "(cached) $ECHO_C" >&6
71367 else
71368
71369
71370
71371       ac_ext=cc
71372 ac_cpp='$CXXCPP $CPPFLAGS'
71373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71376
71377       cat >conftest.$ac_ext <<_ACEOF
71378 /* confdefs.h.  */
71379 _ACEOF
71380 cat confdefs.h >>conftest.$ac_ext
71381 cat >>conftest.$ac_ext <<_ACEOF
71382 /* end confdefs.h.  */
71383 #include <math.h>
71384 int
71385 main ()
71386 {
71387  __builtin_sqrtl(0);
71388   ;
71389   return 0;
71390 }
71391 _ACEOF
71392 rm -f conftest.$ac_objext
71393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71394   (eval $ac_compile) 2>conftest.er1
71395   ac_status=$?
71396   grep -v '^ *+' conftest.er1 >conftest.err
71397   rm -f conftest.er1
71398   cat conftest.err >&5
71399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71400   (exit $ac_status); } &&
71401          { ac_try='test -z "$ac_cxx_werror_flag"
71402                          || test ! -s conftest.err'
71403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71404   (eval $ac_try) 2>&5
71405   ac_status=$?
71406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71407   (exit $ac_status); }; } &&
71408          { ac_try='test -s conftest.$ac_objext'
71409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71410   (eval $ac_try) 2>&5
71411   ac_status=$?
71412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71413   (exit $ac_status); }; }; then
71414   glibcxx_cv_func___builtin_sqrtl_use=yes
71415 else
71416   echo "$as_me: failed program was:" >&5
71417 sed 's/^/| /' conftest.$ac_ext >&5
71418
71419 glibcxx_cv_func___builtin_sqrtl_use=no
71420 fi
71421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71422       ac_ext=c
71423 ac_cpp='$CPP $CPPFLAGS'
71424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71427
71428
71429 fi
71430
71431   fi
71432   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
71433 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
71434   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
71435     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
71436 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
71437     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
71438       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
71439   echo $ECHO_N "(cached) $ECHO_C" >&6
71440 else
71441
71442         if test x$gcc_no_link = xyes; then
71443   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71445    { (exit 1); exit 1; }; }
71446 fi
71447 cat >conftest.$ac_ext <<_ACEOF
71448 /* confdefs.h.  */
71449 _ACEOF
71450 cat confdefs.h >>conftest.$ac_ext
71451 cat >>conftest.$ac_ext <<_ACEOF
71452 /* end confdefs.h.  */
71453 #include <math.h>
71454 int
71455 main ()
71456 {
71457  __builtin_sqrtl(0);
71458   ;
71459   return 0;
71460 }
71461 _ACEOF
71462 rm -f conftest.$ac_objext conftest$ac_exeext
71463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71464   (eval $ac_link) 2>conftest.er1
71465   ac_status=$?
71466   grep -v '^ *+' conftest.er1 >conftest.err
71467   rm -f conftest.er1
71468   cat conftest.err >&5
71469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71470   (exit $ac_status); } &&
71471          { ac_try='test -z "$ac_c_werror_flag"
71472                          || test ! -s conftest.err'
71473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71474   (eval $ac_try) 2>&5
71475   ac_status=$?
71476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71477   (exit $ac_status); }; } &&
71478          { ac_try='test -s conftest$ac_exeext'
71479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71480   (eval $ac_try) 2>&5
71481   ac_status=$?
71482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71483   (exit $ac_status); }; }; then
71484   glibcxx_cv_func___builtin_sqrtl_link=yes
71485 else
71486   echo "$as_me: failed program was:" >&5
71487 sed 's/^/| /' conftest.$ac_ext >&5
71488
71489 glibcxx_cv_func___builtin_sqrtl_link=no
71490 fi
71491 rm -f conftest.err conftest.$ac_objext \
71492       conftest$ac_exeext conftest.$ac_ext
71493
71494 fi
71495
71496     fi
71497     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
71498 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
71499
71500     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
71501
71502 cat >>confdefs.h <<\_ACEOF
71503 #define HAVE___BUILTIN_SQRTL 1
71504 _ACEOF
71505
71506     fi
71507
71508   fi
71509
71510
71511
71512   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
71513 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
71514   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
71515     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
71516   echo $ECHO_N "(cached) $ECHO_C" >&6
71517 else
71518
71519
71520
71521       ac_ext=cc
71522 ac_cpp='$CXXCPP $CPPFLAGS'
71523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71526
71527       cat >conftest.$ac_ext <<_ACEOF
71528 /* confdefs.h.  */
71529 _ACEOF
71530 cat confdefs.h >>conftest.$ac_ext
71531 cat >>conftest.$ac_ext <<_ACEOF
71532 /* end confdefs.h.  */
71533 #include <math.h>
71534 int
71535 main ()
71536 {
71537  __builtin_sinf(0);
71538   ;
71539   return 0;
71540 }
71541 _ACEOF
71542 rm -f conftest.$ac_objext
71543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71544   (eval $ac_compile) 2>conftest.er1
71545   ac_status=$?
71546   grep -v '^ *+' conftest.er1 >conftest.err
71547   rm -f conftest.er1
71548   cat conftest.err >&5
71549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71550   (exit $ac_status); } &&
71551          { ac_try='test -z "$ac_cxx_werror_flag"
71552                          || test ! -s conftest.err'
71553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71554   (eval $ac_try) 2>&5
71555   ac_status=$?
71556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71557   (exit $ac_status); }; } &&
71558          { ac_try='test -s conftest.$ac_objext'
71559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71560   (eval $ac_try) 2>&5
71561   ac_status=$?
71562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71563   (exit $ac_status); }; }; then
71564   glibcxx_cv_func___builtin_sinf_use=yes
71565 else
71566   echo "$as_me: failed program was:" >&5
71567 sed 's/^/| /' conftest.$ac_ext >&5
71568
71569 glibcxx_cv_func___builtin_sinf_use=no
71570 fi
71571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71572       ac_ext=c
71573 ac_cpp='$CPP $CPPFLAGS'
71574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71577
71578
71579 fi
71580
71581   fi
71582   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
71583 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
71584   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
71585     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
71586 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
71587     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
71588       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
71589   echo $ECHO_N "(cached) $ECHO_C" >&6
71590 else
71591
71592         if test x$gcc_no_link = xyes; then
71593   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71595    { (exit 1); exit 1; }; }
71596 fi
71597 cat >conftest.$ac_ext <<_ACEOF
71598 /* confdefs.h.  */
71599 _ACEOF
71600 cat confdefs.h >>conftest.$ac_ext
71601 cat >>conftest.$ac_ext <<_ACEOF
71602 /* end confdefs.h.  */
71603 #include <math.h>
71604 int
71605 main ()
71606 {
71607  __builtin_sinf(0);
71608   ;
71609   return 0;
71610 }
71611 _ACEOF
71612 rm -f conftest.$ac_objext conftest$ac_exeext
71613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71614   (eval $ac_link) 2>conftest.er1
71615   ac_status=$?
71616   grep -v '^ *+' conftest.er1 >conftest.err
71617   rm -f conftest.er1
71618   cat conftest.err >&5
71619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71620   (exit $ac_status); } &&
71621          { ac_try='test -z "$ac_c_werror_flag"
71622                          || test ! -s conftest.err'
71623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71624   (eval $ac_try) 2>&5
71625   ac_status=$?
71626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71627   (exit $ac_status); }; } &&
71628          { ac_try='test -s conftest$ac_exeext'
71629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71630   (eval $ac_try) 2>&5
71631   ac_status=$?
71632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71633   (exit $ac_status); }; }; then
71634   glibcxx_cv_func___builtin_sinf_link=yes
71635 else
71636   echo "$as_me: failed program was:" >&5
71637 sed 's/^/| /' conftest.$ac_ext >&5
71638
71639 glibcxx_cv_func___builtin_sinf_link=no
71640 fi
71641 rm -f conftest.err conftest.$ac_objext \
71642       conftest$ac_exeext conftest.$ac_ext
71643
71644 fi
71645
71646     fi
71647     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
71648 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
71649
71650     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
71651
71652 cat >>confdefs.h <<\_ACEOF
71653 #define HAVE___BUILTIN_SINF 1
71654 _ACEOF
71655
71656     fi
71657
71658   fi
71659
71660
71661   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
71662 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
71663   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
71664     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
71665   echo $ECHO_N "(cached) $ECHO_C" >&6
71666 else
71667
71668
71669
71670       ac_ext=cc
71671 ac_cpp='$CXXCPP $CPPFLAGS'
71672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71675
71676       cat >conftest.$ac_ext <<_ACEOF
71677 /* confdefs.h.  */
71678 _ACEOF
71679 cat confdefs.h >>conftest.$ac_ext
71680 cat >>conftest.$ac_ext <<_ACEOF
71681 /* end confdefs.h.  */
71682 #include <math.h>
71683 int
71684 main ()
71685 {
71686  __builtin_sin(0);
71687   ;
71688   return 0;
71689 }
71690 _ACEOF
71691 rm -f conftest.$ac_objext
71692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71693   (eval $ac_compile) 2>conftest.er1
71694   ac_status=$?
71695   grep -v '^ *+' conftest.er1 >conftest.err
71696   rm -f conftest.er1
71697   cat conftest.err >&5
71698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71699   (exit $ac_status); } &&
71700          { ac_try='test -z "$ac_cxx_werror_flag"
71701                          || test ! -s conftest.err'
71702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71703   (eval $ac_try) 2>&5
71704   ac_status=$?
71705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71706   (exit $ac_status); }; } &&
71707          { ac_try='test -s conftest.$ac_objext'
71708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71709   (eval $ac_try) 2>&5
71710   ac_status=$?
71711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71712   (exit $ac_status); }; }; then
71713   glibcxx_cv_func___builtin_sin_use=yes
71714 else
71715   echo "$as_me: failed program was:" >&5
71716 sed 's/^/| /' conftest.$ac_ext >&5
71717
71718 glibcxx_cv_func___builtin_sin_use=no
71719 fi
71720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71721       ac_ext=c
71722 ac_cpp='$CPP $CPPFLAGS'
71723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71726
71727
71728 fi
71729
71730   fi
71731   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
71732 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
71733   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
71734     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
71735 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
71736     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
71737       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
71738   echo $ECHO_N "(cached) $ECHO_C" >&6
71739 else
71740
71741         if test x$gcc_no_link = xyes; then
71742   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71744    { (exit 1); exit 1; }; }
71745 fi
71746 cat >conftest.$ac_ext <<_ACEOF
71747 /* confdefs.h.  */
71748 _ACEOF
71749 cat confdefs.h >>conftest.$ac_ext
71750 cat >>conftest.$ac_ext <<_ACEOF
71751 /* end confdefs.h.  */
71752 #include <math.h>
71753 int
71754 main ()
71755 {
71756  __builtin_sin(0);
71757   ;
71758   return 0;
71759 }
71760 _ACEOF
71761 rm -f conftest.$ac_objext conftest$ac_exeext
71762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71763   (eval $ac_link) 2>conftest.er1
71764   ac_status=$?
71765   grep -v '^ *+' conftest.er1 >conftest.err
71766   rm -f conftest.er1
71767   cat conftest.err >&5
71768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71769   (exit $ac_status); } &&
71770          { ac_try='test -z "$ac_c_werror_flag"
71771                          || test ! -s conftest.err'
71772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71773   (eval $ac_try) 2>&5
71774   ac_status=$?
71775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71776   (exit $ac_status); }; } &&
71777          { ac_try='test -s conftest$ac_exeext'
71778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71779   (eval $ac_try) 2>&5
71780   ac_status=$?
71781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71782   (exit $ac_status); }; }; then
71783   glibcxx_cv_func___builtin_sin_link=yes
71784 else
71785   echo "$as_me: failed program was:" >&5
71786 sed 's/^/| /' conftest.$ac_ext >&5
71787
71788 glibcxx_cv_func___builtin_sin_link=no
71789 fi
71790 rm -f conftest.err conftest.$ac_objext \
71791       conftest$ac_exeext conftest.$ac_ext
71792
71793 fi
71794
71795     fi
71796     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
71797 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
71798
71799     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
71800
71801 cat >>confdefs.h <<\_ACEOF
71802 #define HAVE___BUILTIN_SIN 1
71803 _ACEOF
71804
71805     fi
71806
71807   fi
71808
71809
71810   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
71811 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
71812   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
71813     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
71814   echo $ECHO_N "(cached) $ECHO_C" >&6
71815 else
71816
71817
71818
71819       ac_ext=cc
71820 ac_cpp='$CXXCPP $CPPFLAGS'
71821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71824
71825       cat >conftest.$ac_ext <<_ACEOF
71826 /* confdefs.h.  */
71827 _ACEOF
71828 cat confdefs.h >>conftest.$ac_ext
71829 cat >>conftest.$ac_ext <<_ACEOF
71830 /* end confdefs.h.  */
71831 #include <math.h>
71832 int
71833 main ()
71834 {
71835  __builtin_sinl(0);
71836   ;
71837   return 0;
71838 }
71839 _ACEOF
71840 rm -f conftest.$ac_objext
71841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71842   (eval $ac_compile) 2>conftest.er1
71843   ac_status=$?
71844   grep -v '^ *+' conftest.er1 >conftest.err
71845   rm -f conftest.er1
71846   cat conftest.err >&5
71847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71848   (exit $ac_status); } &&
71849          { ac_try='test -z "$ac_cxx_werror_flag"
71850                          || test ! -s conftest.err'
71851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71852   (eval $ac_try) 2>&5
71853   ac_status=$?
71854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71855   (exit $ac_status); }; } &&
71856          { ac_try='test -s conftest.$ac_objext'
71857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71858   (eval $ac_try) 2>&5
71859   ac_status=$?
71860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71861   (exit $ac_status); }; }; then
71862   glibcxx_cv_func___builtin_sinl_use=yes
71863 else
71864   echo "$as_me: failed program was:" >&5
71865 sed 's/^/| /' conftest.$ac_ext >&5
71866
71867 glibcxx_cv_func___builtin_sinl_use=no
71868 fi
71869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71870       ac_ext=c
71871 ac_cpp='$CPP $CPPFLAGS'
71872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71875
71876
71877 fi
71878
71879   fi
71880   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
71881 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
71882   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
71883     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
71884 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
71885     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
71886       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
71887   echo $ECHO_N "(cached) $ECHO_C" >&6
71888 else
71889
71890         if test x$gcc_no_link = xyes; then
71891   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71893    { (exit 1); exit 1; }; }
71894 fi
71895 cat >conftest.$ac_ext <<_ACEOF
71896 /* confdefs.h.  */
71897 _ACEOF
71898 cat confdefs.h >>conftest.$ac_ext
71899 cat >>conftest.$ac_ext <<_ACEOF
71900 /* end confdefs.h.  */
71901 #include <math.h>
71902 int
71903 main ()
71904 {
71905  __builtin_sinl(0);
71906   ;
71907   return 0;
71908 }
71909 _ACEOF
71910 rm -f conftest.$ac_objext conftest$ac_exeext
71911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71912   (eval $ac_link) 2>conftest.er1
71913   ac_status=$?
71914   grep -v '^ *+' conftest.er1 >conftest.err
71915   rm -f conftest.er1
71916   cat conftest.err >&5
71917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71918   (exit $ac_status); } &&
71919          { ac_try='test -z "$ac_c_werror_flag"
71920                          || test ! -s conftest.err'
71921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71922   (eval $ac_try) 2>&5
71923   ac_status=$?
71924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71925   (exit $ac_status); }; } &&
71926          { ac_try='test -s conftest$ac_exeext'
71927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71928   (eval $ac_try) 2>&5
71929   ac_status=$?
71930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71931   (exit $ac_status); }; }; then
71932   glibcxx_cv_func___builtin_sinl_link=yes
71933 else
71934   echo "$as_me: failed program was:" >&5
71935 sed 's/^/| /' conftest.$ac_ext >&5
71936
71937 glibcxx_cv_func___builtin_sinl_link=no
71938 fi
71939 rm -f conftest.err conftest.$ac_objext \
71940       conftest$ac_exeext conftest.$ac_ext
71941
71942 fi
71943
71944     fi
71945     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
71946 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
71947
71948     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
71949
71950 cat >>confdefs.h <<\_ACEOF
71951 #define HAVE___BUILTIN_SINL 1
71952 _ACEOF
71953
71954     fi
71955
71956   fi
71957
71958
71959
71960   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
71961 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
71962   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
71963     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
71964   echo $ECHO_N "(cached) $ECHO_C" >&6
71965 else
71966
71967
71968
71969       ac_ext=cc
71970 ac_cpp='$CXXCPP $CPPFLAGS'
71971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71974
71975       cat >conftest.$ac_ext <<_ACEOF
71976 /* confdefs.h.  */
71977 _ACEOF
71978 cat confdefs.h >>conftest.$ac_ext
71979 cat >>conftest.$ac_ext <<_ACEOF
71980 /* end confdefs.h.  */
71981 #include <math.h>
71982 int
71983 main ()
71984 {
71985  __builtin_cosf(0);
71986   ;
71987   return 0;
71988 }
71989 _ACEOF
71990 rm -f conftest.$ac_objext
71991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71992   (eval $ac_compile) 2>conftest.er1
71993   ac_status=$?
71994   grep -v '^ *+' conftest.er1 >conftest.err
71995   rm -f conftest.er1
71996   cat conftest.err >&5
71997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71998   (exit $ac_status); } &&
71999          { ac_try='test -z "$ac_cxx_werror_flag"
72000                          || test ! -s conftest.err'
72001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72002   (eval $ac_try) 2>&5
72003   ac_status=$?
72004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72005   (exit $ac_status); }; } &&
72006          { ac_try='test -s conftest.$ac_objext'
72007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72008   (eval $ac_try) 2>&5
72009   ac_status=$?
72010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72011   (exit $ac_status); }; }; then
72012   glibcxx_cv_func___builtin_cosf_use=yes
72013 else
72014   echo "$as_me: failed program was:" >&5
72015 sed 's/^/| /' conftest.$ac_ext >&5
72016
72017 glibcxx_cv_func___builtin_cosf_use=no
72018 fi
72019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72020       ac_ext=c
72021 ac_cpp='$CPP $CPPFLAGS'
72022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72025
72026
72027 fi
72028
72029   fi
72030   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
72031 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
72032   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
72033     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
72034 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
72035     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
72036       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
72037   echo $ECHO_N "(cached) $ECHO_C" >&6
72038 else
72039
72040         if test x$gcc_no_link = xyes; then
72041   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72043    { (exit 1); exit 1; }; }
72044 fi
72045 cat >conftest.$ac_ext <<_ACEOF
72046 /* confdefs.h.  */
72047 _ACEOF
72048 cat confdefs.h >>conftest.$ac_ext
72049 cat >>conftest.$ac_ext <<_ACEOF
72050 /* end confdefs.h.  */
72051 #include <math.h>
72052 int
72053 main ()
72054 {
72055  __builtin_cosf(0);
72056   ;
72057   return 0;
72058 }
72059 _ACEOF
72060 rm -f conftest.$ac_objext conftest$ac_exeext
72061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72062   (eval $ac_link) 2>conftest.er1
72063   ac_status=$?
72064   grep -v '^ *+' conftest.er1 >conftest.err
72065   rm -f conftest.er1
72066   cat conftest.err >&5
72067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72068   (exit $ac_status); } &&
72069          { ac_try='test -z "$ac_c_werror_flag"
72070                          || test ! -s conftest.err'
72071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72072   (eval $ac_try) 2>&5
72073   ac_status=$?
72074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72075   (exit $ac_status); }; } &&
72076          { ac_try='test -s conftest$ac_exeext'
72077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72078   (eval $ac_try) 2>&5
72079   ac_status=$?
72080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72081   (exit $ac_status); }; }; then
72082   glibcxx_cv_func___builtin_cosf_link=yes
72083 else
72084   echo "$as_me: failed program was:" >&5
72085 sed 's/^/| /' conftest.$ac_ext >&5
72086
72087 glibcxx_cv_func___builtin_cosf_link=no
72088 fi
72089 rm -f conftest.err conftest.$ac_objext \
72090       conftest$ac_exeext conftest.$ac_ext
72091
72092 fi
72093
72094     fi
72095     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
72096 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
72097
72098     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
72099
72100 cat >>confdefs.h <<\_ACEOF
72101 #define HAVE___BUILTIN_COSF 1
72102 _ACEOF
72103
72104     fi
72105
72106   fi
72107
72108
72109   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
72110 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
72111   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
72112     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
72113   echo $ECHO_N "(cached) $ECHO_C" >&6
72114 else
72115
72116
72117
72118       ac_ext=cc
72119 ac_cpp='$CXXCPP $CPPFLAGS'
72120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72123
72124       cat >conftest.$ac_ext <<_ACEOF
72125 /* confdefs.h.  */
72126 _ACEOF
72127 cat confdefs.h >>conftest.$ac_ext
72128 cat >>conftest.$ac_ext <<_ACEOF
72129 /* end confdefs.h.  */
72130 #include <math.h>
72131 int
72132 main ()
72133 {
72134  __builtin_cos(0);
72135   ;
72136   return 0;
72137 }
72138 _ACEOF
72139 rm -f conftest.$ac_objext
72140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72141   (eval $ac_compile) 2>conftest.er1
72142   ac_status=$?
72143   grep -v '^ *+' conftest.er1 >conftest.err
72144   rm -f conftest.er1
72145   cat conftest.err >&5
72146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72147   (exit $ac_status); } &&
72148          { ac_try='test -z "$ac_cxx_werror_flag"
72149                          || test ! -s conftest.err'
72150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72151   (eval $ac_try) 2>&5
72152   ac_status=$?
72153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72154   (exit $ac_status); }; } &&
72155          { ac_try='test -s conftest.$ac_objext'
72156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72157   (eval $ac_try) 2>&5
72158   ac_status=$?
72159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72160   (exit $ac_status); }; }; then
72161   glibcxx_cv_func___builtin_cos_use=yes
72162 else
72163   echo "$as_me: failed program was:" >&5
72164 sed 's/^/| /' conftest.$ac_ext >&5
72165
72166 glibcxx_cv_func___builtin_cos_use=no
72167 fi
72168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72169       ac_ext=c
72170 ac_cpp='$CPP $CPPFLAGS'
72171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72174
72175
72176 fi
72177
72178   fi
72179   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
72180 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
72181   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
72182     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
72183 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
72184     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
72185       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
72186   echo $ECHO_N "(cached) $ECHO_C" >&6
72187 else
72188
72189         if test x$gcc_no_link = xyes; then
72190   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72192    { (exit 1); exit 1; }; }
72193 fi
72194 cat >conftest.$ac_ext <<_ACEOF
72195 /* confdefs.h.  */
72196 _ACEOF
72197 cat confdefs.h >>conftest.$ac_ext
72198 cat >>conftest.$ac_ext <<_ACEOF
72199 /* end confdefs.h.  */
72200 #include <math.h>
72201 int
72202 main ()
72203 {
72204  __builtin_cos(0);
72205   ;
72206   return 0;
72207 }
72208 _ACEOF
72209 rm -f conftest.$ac_objext conftest$ac_exeext
72210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72211   (eval $ac_link) 2>conftest.er1
72212   ac_status=$?
72213   grep -v '^ *+' conftest.er1 >conftest.err
72214   rm -f conftest.er1
72215   cat conftest.err >&5
72216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72217   (exit $ac_status); } &&
72218          { ac_try='test -z "$ac_c_werror_flag"
72219                          || test ! -s conftest.err'
72220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72221   (eval $ac_try) 2>&5
72222   ac_status=$?
72223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72224   (exit $ac_status); }; } &&
72225          { ac_try='test -s conftest$ac_exeext'
72226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72227   (eval $ac_try) 2>&5
72228   ac_status=$?
72229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72230   (exit $ac_status); }; }; then
72231   glibcxx_cv_func___builtin_cos_link=yes
72232 else
72233   echo "$as_me: failed program was:" >&5
72234 sed 's/^/| /' conftest.$ac_ext >&5
72235
72236 glibcxx_cv_func___builtin_cos_link=no
72237 fi
72238 rm -f conftest.err conftest.$ac_objext \
72239       conftest$ac_exeext conftest.$ac_ext
72240
72241 fi
72242
72243     fi
72244     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
72245 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
72246
72247     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
72248
72249 cat >>confdefs.h <<\_ACEOF
72250 #define HAVE___BUILTIN_COS 1
72251 _ACEOF
72252
72253     fi
72254
72255   fi
72256
72257
72258   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
72259 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
72260   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
72261     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
72262   echo $ECHO_N "(cached) $ECHO_C" >&6
72263 else
72264
72265
72266
72267       ac_ext=cc
72268 ac_cpp='$CXXCPP $CPPFLAGS'
72269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72272
72273       cat >conftest.$ac_ext <<_ACEOF
72274 /* confdefs.h.  */
72275 _ACEOF
72276 cat confdefs.h >>conftest.$ac_ext
72277 cat >>conftest.$ac_ext <<_ACEOF
72278 /* end confdefs.h.  */
72279 #include <math.h>
72280 int
72281 main ()
72282 {
72283  __builtin_cosl(0);
72284   ;
72285   return 0;
72286 }
72287 _ACEOF
72288 rm -f conftest.$ac_objext
72289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72290   (eval $ac_compile) 2>conftest.er1
72291   ac_status=$?
72292   grep -v '^ *+' conftest.er1 >conftest.err
72293   rm -f conftest.er1
72294   cat conftest.err >&5
72295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72296   (exit $ac_status); } &&
72297          { ac_try='test -z "$ac_cxx_werror_flag"
72298                          || test ! -s conftest.err'
72299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72300   (eval $ac_try) 2>&5
72301   ac_status=$?
72302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72303   (exit $ac_status); }; } &&
72304          { ac_try='test -s conftest.$ac_objext'
72305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72306   (eval $ac_try) 2>&5
72307   ac_status=$?
72308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72309   (exit $ac_status); }; }; then
72310   glibcxx_cv_func___builtin_cosl_use=yes
72311 else
72312   echo "$as_me: failed program was:" >&5
72313 sed 's/^/| /' conftest.$ac_ext >&5
72314
72315 glibcxx_cv_func___builtin_cosl_use=no
72316 fi
72317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72318       ac_ext=c
72319 ac_cpp='$CPP $CPPFLAGS'
72320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72323
72324
72325 fi
72326
72327   fi
72328   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
72329 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
72330   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
72331     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
72332 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
72333     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
72334       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
72335   echo $ECHO_N "(cached) $ECHO_C" >&6
72336 else
72337
72338         if test x$gcc_no_link = xyes; then
72339   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72341    { (exit 1); exit 1; }; }
72342 fi
72343 cat >conftest.$ac_ext <<_ACEOF
72344 /* confdefs.h.  */
72345 _ACEOF
72346 cat confdefs.h >>conftest.$ac_ext
72347 cat >>conftest.$ac_ext <<_ACEOF
72348 /* end confdefs.h.  */
72349 #include <math.h>
72350 int
72351 main ()
72352 {
72353  __builtin_cosl(0);
72354   ;
72355   return 0;
72356 }
72357 _ACEOF
72358 rm -f conftest.$ac_objext conftest$ac_exeext
72359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72360   (eval $ac_link) 2>conftest.er1
72361   ac_status=$?
72362   grep -v '^ *+' conftest.er1 >conftest.err
72363   rm -f conftest.er1
72364   cat conftest.err >&5
72365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72366   (exit $ac_status); } &&
72367          { ac_try='test -z "$ac_c_werror_flag"
72368                          || test ! -s conftest.err'
72369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72370   (eval $ac_try) 2>&5
72371   ac_status=$?
72372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72373   (exit $ac_status); }; } &&
72374          { ac_try='test -s conftest$ac_exeext'
72375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72376   (eval $ac_try) 2>&5
72377   ac_status=$?
72378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72379   (exit $ac_status); }; }; then
72380   glibcxx_cv_func___builtin_cosl_link=yes
72381 else
72382   echo "$as_me: failed program was:" >&5
72383 sed 's/^/| /' conftest.$ac_ext >&5
72384
72385 glibcxx_cv_func___builtin_cosl_link=no
72386 fi
72387 rm -f conftest.err conftest.$ac_objext \
72388       conftest$ac_exeext conftest.$ac_ext
72389
72390 fi
72391
72392     fi
72393     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
72394 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
72395
72396     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
72397
72398 cat >>confdefs.h <<\_ACEOF
72399 #define HAVE___BUILTIN_COSL 1
72400 _ACEOF
72401
72402     fi
72403
72404   fi
72405
72406
72407
72408
72409 echo "$as_me:$LINENO: checking for main in -lm" >&5
72410 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
72411 if test "${ac_cv_lib_m_main+set}" = set; then
72412   echo $ECHO_N "(cached) $ECHO_C" >&6
72413 else
72414   ac_check_lib_save_LIBS=$LIBS
72415 LIBS="-lm  $LIBS"
72416 if test x$gcc_no_link = xyes; then
72417   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72419    { (exit 1); exit 1; }; }
72420 fi
72421 cat >conftest.$ac_ext <<_ACEOF
72422 /* confdefs.h.  */
72423 _ACEOF
72424 cat confdefs.h >>conftest.$ac_ext
72425 cat >>conftest.$ac_ext <<_ACEOF
72426 /* end confdefs.h.  */
72427
72428
72429 int
72430 main ()
72431 {
72432 main ();
72433   ;
72434   return 0;
72435 }
72436 _ACEOF
72437 rm -f conftest.$ac_objext conftest$ac_exeext
72438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72439   (eval $ac_link) 2>conftest.er1
72440   ac_status=$?
72441   grep -v '^ *+' conftest.er1 >conftest.err
72442   rm -f conftest.er1
72443   cat conftest.err >&5
72444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72445   (exit $ac_status); } &&
72446          { ac_try='test -z "$ac_c_werror_flag"
72447                          || test ! -s conftest.err'
72448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72449   (eval $ac_try) 2>&5
72450   ac_status=$?
72451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72452   (exit $ac_status); }; } &&
72453          { ac_try='test -s conftest$ac_exeext'
72454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72455   (eval $ac_try) 2>&5
72456   ac_status=$?
72457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72458   (exit $ac_status); }; }; then
72459   ac_cv_lib_m_main=yes
72460 else
72461   echo "$as_me: failed program was:" >&5
72462 sed 's/^/| /' conftest.$ac_ext >&5
72463
72464 ac_cv_lib_m_main=no
72465 fi
72466 rm -f conftest.err conftest.$ac_objext \
72467       conftest$ac_exeext conftest.$ac_ext
72468 LIBS=$ac_check_lib_save_LIBS
72469 fi
72470 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
72471 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
72472 if test $ac_cv_lib_m_main = yes; then
72473   cat >>confdefs.h <<_ACEOF
72474 #define HAVE_LIBM 1
72475 _ACEOF
72476
72477   LIBS="-lm $LIBS"
72478
72479 fi
72480
72481
72482 for ac_func in copysignf
72483 do
72484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72485 echo "$as_me:$LINENO: checking for $ac_func" >&5
72486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72487 if eval "test \"\${$as_ac_var+set}\" = set"; then
72488   echo $ECHO_N "(cached) $ECHO_C" >&6
72489 else
72490   if test x$gcc_no_link = xyes; then
72491   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72493    { (exit 1); exit 1; }; }
72494 fi
72495 cat >conftest.$ac_ext <<_ACEOF
72496 /* confdefs.h.  */
72497 _ACEOF
72498 cat confdefs.h >>conftest.$ac_ext
72499 cat >>conftest.$ac_ext <<_ACEOF
72500 /* end confdefs.h.  */
72501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72502    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72503 #define $ac_func innocuous_$ac_func
72504
72505 /* System header to define __stub macros and hopefully few prototypes,
72506     which can conflict with char $ac_func (); below.
72507     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72508     <limits.h> exists even on freestanding compilers.  */
72509
72510 #ifdef __STDC__
72511 # include <limits.h>
72512 #else
72513 # include <assert.h>
72514 #endif
72515
72516 #undef $ac_func
72517
72518 /* Override any gcc2 internal prototype to avoid an error.  */
72519 #ifdef __cplusplus
72520 extern "C"
72521 {
72522 #endif
72523 /* We use char because int might match the return type of a gcc2
72524    builtin and then its argument prototype would still apply.  */
72525 char $ac_func ();
72526 /* The GNU C library defines this for functions which it implements
72527     to always fail with ENOSYS.  Some functions are actually named
72528     something starting with __ and the normal name is an alias.  */
72529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72530 choke me
72531 #else
72532 char (*f) () = $ac_func;
72533 #endif
72534 #ifdef __cplusplus
72535 }
72536 #endif
72537
72538 int
72539 main ()
72540 {
72541 return f != $ac_func;
72542   ;
72543   return 0;
72544 }
72545 _ACEOF
72546 rm -f conftest.$ac_objext conftest$ac_exeext
72547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72548   (eval $ac_link) 2>conftest.er1
72549   ac_status=$?
72550   grep -v '^ *+' conftest.er1 >conftest.err
72551   rm -f conftest.er1
72552   cat conftest.err >&5
72553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72554   (exit $ac_status); } &&
72555          { ac_try='test -z "$ac_c_werror_flag"
72556                          || test ! -s conftest.err'
72557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72558   (eval $ac_try) 2>&5
72559   ac_status=$?
72560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72561   (exit $ac_status); }; } &&
72562          { ac_try='test -s conftest$ac_exeext'
72563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72564   (eval $ac_try) 2>&5
72565   ac_status=$?
72566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72567   (exit $ac_status); }; }; then
72568   eval "$as_ac_var=yes"
72569 else
72570   echo "$as_me: failed program was:" >&5
72571 sed 's/^/| /' conftest.$ac_ext >&5
72572
72573 eval "$as_ac_var=no"
72574 fi
72575 rm -f conftest.err conftest.$ac_objext \
72576       conftest$ac_exeext conftest.$ac_ext
72577 fi
72578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72580 if test `eval echo '${'$as_ac_var'}'` = yes; then
72581   cat >>confdefs.h <<_ACEOF
72582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72583 _ACEOF
72584
72585 else
72586   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
72587 fi
72588 done
72589
72590
72591
72592 for ac_func in __signbit
72593 do
72594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72595 echo "$as_me:$LINENO: checking for $ac_func" >&5
72596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72597 if eval "test \"\${$as_ac_var+set}\" = set"; then
72598   echo $ECHO_N "(cached) $ECHO_C" >&6
72599 else
72600   if test x$gcc_no_link = xyes; then
72601   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72603    { (exit 1); exit 1; }; }
72604 fi
72605 cat >conftest.$ac_ext <<_ACEOF
72606 /* confdefs.h.  */
72607 _ACEOF
72608 cat confdefs.h >>conftest.$ac_ext
72609 cat >>conftest.$ac_ext <<_ACEOF
72610 /* end confdefs.h.  */
72611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72612    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72613 #define $ac_func innocuous_$ac_func
72614
72615 /* System header to define __stub macros and hopefully few prototypes,
72616     which can conflict with char $ac_func (); below.
72617     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72618     <limits.h> exists even on freestanding compilers.  */
72619
72620 #ifdef __STDC__
72621 # include <limits.h>
72622 #else
72623 # include <assert.h>
72624 #endif
72625
72626 #undef $ac_func
72627
72628 /* Override any gcc2 internal prototype to avoid an error.  */
72629 #ifdef __cplusplus
72630 extern "C"
72631 {
72632 #endif
72633 /* We use char because int might match the return type of a gcc2
72634    builtin and then its argument prototype would still apply.  */
72635 char $ac_func ();
72636 /* The GNU C library defines this for functions which it implements
72637     to always fail with ENOSYS.  Some functions are actually named
72638     something starting with __ and the normal name is an alias.  */
72639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72640 choke me
72641 #else
72642 char (*f) () = $ac_func;
72643 #endif
72644 #ifdef __cplusplus
72645 }
72646 #endif
72647
72648 int
72649 main ()
72650 {
72651 return f != $ac_func;
72652   ;
72653   return 0;
72654 }
72655 _ACEOF
72656 rm -f conftest.$ac_objext conftest$ac_exeext
72657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72658   (eval $ac_link) 2>conftest.er1
72659   ac_status=$?
72660   grep -v '^ *+' conftest.er1 >conftest.err
72661   rm -f conftest.er1
72662   cat conftest.err >&5
72663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72664   (exit $ac_status); } &&
72665          { ac_try='test -z "$ac_c_werror_flag"
72666                          || test ! -s conftest.err'
72667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72668   (eval $ac_try) 2>&5
72669   ac_status=$?
72670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72671   (exit $ac_status); }; } &&
72672          { ac_try='test -s conftest$ac_exeext'
72673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72674   (eval $ac_try) 2>&5
72675   ac_status=$?
72676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72677   (exit $ac_status); }; }; then
72678   eval "$as_ac_var=yes"
72679 else
72680   echo "$as_me: failed program was:" >&5
72681 sed 's/^/| /' conftest.$ac_ext >&5
72682
72683 eval "$as_ac_var=no"
72684 fi
72685 rm -f conftest.err conftest.$ac_objext \
72686       conftest$ac_exeext conftest.$ac_ext
72687 fi
72688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72690 if test `eval echo '${'$as_ac_var'}'` = yes; then
72691   cat >>confdefs.h <<_ACEOF
72692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72693 _ACEOF
72694
72695 else
72696   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
72697 fi
72698 done
72699
72700
72701
72702 for ac_func in __signbitf
72703 do
72704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72705 echo "$as_me:$LINENO: checking for $ac_func" >&5
72706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72707 if eval "test \"\${$as_ac_var+set}\" = set"; then
72708   echo $ECHO_N "(cached) $ECHO_C" >&6
72709 else
72710   if test x$gcc_no_link = xyes; then
72711   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72713    { (exit 1); exit 1; }; }
72714 fi
72715 cat >conftest.$ac_ext <<_ACEOF
72716 /* confdefs.h.  */
72717 _ACEOF
72718 cat confdefs.h >>conftest.$ac_ext
72719 cat >>conftest.$ac_ext <<_ACEOF
72720 /* end confdefs.h.  */
72721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72722    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72723 #define $ac_func innocuous_$ac_func
72724
72725 /* System header to define __stub macros and hopefully few prototypes,
72726     which can conflict with char $ac_func (); below.
72727     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72728     <limits.h> exists even on freestanding compilers.  */
72729
72730 #ifdef __STDC__
72731 # include <limits.h>
72732 #else
72733 # include <assert.h>
72734 #endif
72735
72736 #undef $ac_func
72737
72738 /* Override any gcc2 internal prototype to avoid an error.  */
72739 #ifdef __cplusplus
72740 extern "C"
72741 {
72742 #endif
72743 /* We use char because int might match the return type of a gcc2
72744    builtin and then its argument prototype would still apply.  */
72745 char $ac_func ();
72746 /* The GNU C library defines this for functions which it implements
72747     to always fail with ENOSYS.  Some functions are actually named
72748     something starting with __ and the normal name is an alias.  */
72749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72750 choke me
72751 #else
72752 char (*f) () = $ac_func;
72753 #endif
72754 #ifdef __cplusplus
72755 }
72756 #endif
72757
72758 int
72759 main ()
72760 {
72761 return f != $ac_func;
72762   ;
72763   return 0;
72764 }
72765 _ACEOF
72766 rm -f conftest.$ac_objext conftest$ac_exeext
72767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72768   (eval $ac_link) 2>conftest.er1
72769   ac_status=$?
72770   grep -v '^ *+' conftest.er1 >conftest.err
72771   rm -f conftest.er1
72772   cat conftest.err >&5
72773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72774   (exit $ac_status); } &&
72775          { ac_try='test -z "$ac_c_werror_flag"
72776                          || test ! -s conftest.err'
72777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72778   (eval $ac_try) 2>&5
72779   ac_status=$?
72780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72781   (exit $ac_status); }; } &&
72782          { ac_try='test -s conftest$ac_exeext'
72783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72784   (eval $ac_try) 2>&5
72785   ac_status=$?
72786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72787   (exit $ac_status); }; }; then
72788   eval "$as_ac_var=yes"
72789 else
72790   echo "$as_me: failed program was:" >&5
72791 sed 's/^/| /' conftest.$ac_ext >&5
72792
72793 eval "$as_ac_var=no"
72794 fi
72795 rm -f conftest.err conftest.$ac_objext \
72796       conftest$ac_exeext conftest.$ac_ext
72797 fi
72798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72800 if test `eval echo '${'$as_ac_var'}'` = yes; then
72801   cat >>confdefs.h <<_ACEOF
72802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72803 _ACEOF
72804
72805 else
72806   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
72807 fi
72808 done
72809
72810
72811           if test x$ac_cv_func_copysignl = x"yes"; then
72812
72813 for ac_func in __signbitl
72814 do
72815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72816 echo "$as_me:$LINENO: checking for $ac_func" >&5
72817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72818 if eval "test \"\${$as_ac_var+set}\" = set"; then
72819   echo $ECHO_N "(cached) $ECHO_C" >&6
72820 else
72821   if test x$gcc_no_link = xyes; then
72822   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72824    { (exit 1); exit 1; }; }
72825 fi
72826 cat >conftest.$ac_ext <<_ACEOF
72827 /* confdefs.h.  */
72828 _ACEOF
72829 cat confdefs.h >>conftest.$ac_ext
72830 cat >>conftest.$ac_ext <<_ACEOF
72831 /* end confdefs.h.  */
72832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72833    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72834 #define $ac_func innocuous_$ac_func
72835
72836 /* System header to define __stub macros and hopefully few prototypes,
72837     which can conflict with char $ac_func (); below.
72838     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72839     <limits.h> exists even on freestanding compilers.  */
72840
72841 #ifdef __STDC__
72842 # include <limits.h>
72843 #else
72844 # include <assert.h>
72845 #endif
72846
72847 #undef $ac_func
72848
72849 /* Override any gcc2 internal prototype to avoid an error.  */
72850 #ifdef __cplusplus
72851 extern "C"
72852 {
72853 #endif
72854 /* We use char because int might match the return type of a gcc2
72855    builtin and then its argument prototype would still apply.  */
72856 char $ac_func ();
72857 /* The GNU C library defines this for functions which it implements
72858     to always fail with ENOSYS.  Some functions are actually named
72859     something starting with __ and the normal name is an alias.  */
72860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72861 choke me
72862 #else
72863 char (*f) () = $ac_func;
72864 #endif
72865 #ifdef __cplusplus
72866 }
72867 #endif
72868
72869 int
72870 main ()
72871 {
72872 return f != $ac_func;
72873   ;
72874   return 0;
72875 }
72876 _ACEOF
72877 rm -f conftest.$ac_objext conftest$ac_exeext
72878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72879   (eval $ac_link) 2>conftest.er1
72880   ac_status=$?
72881   grep -v '^ *+' conftest.er1 >conftest.err
72882   rm -f conftest.er1
72883   cat conftest.err >&5
72884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72885   (exit $ac_status); } &&
72886          { ac_try='test -z "$ac_c_werror_flag"
72887                          || test ! -s conftest.err'
72888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72889   (eval $ac_try) 2>&5
72890   ac_status=$?
72891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72892   (exit $ac_status); }; } &&
72893          { ac_try='test -s conftest$ac_exeext'
72894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72895   (eval $ac_try) 2>&5
72896   ac_status=$?
72897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72898   (exit $ac_status); }; }; then
72899   eval "$as_ac_var=yes"
72900 else
72901   echo "$as_me: failed program was:" >&5
72902 sed 's/^/| /' conftest.$ac_ext >&5
72903
72904 eval "$as_ac_var=no"
72905 fi
72906 rm -f conftest.err conftest.$ac_objext \
72907       conftest$ac_exeext conftest.$ac_ext
72908 fi
72909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72911 if test `eval echo '${'$as_ac_var'}'` = yes; then
72912   cat >>confdefs.h <<_ACEOF
72913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72914 _ACEOF
72915
72916 else
72917   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
72918 fi
72919 done
72920
72921   fi
72922
72923   # Used in libmath/Makefile.am.
72924   if test -n "$LIBMATHOBJS"; then
72925     need_libmath=yes
72926   fi
72927
72928
72929
72930
72931   enable_iconv=no
72932   # Only continue checking if the ISO C99 headers exist and support is on.
72933   if test x"$enable_wchar_t" = xyes; then
72934
72935     # Use iconv for wchar_t to char conversions. As such, check for
72936     # X/Open Portability Guide, version 2 features (XPG2).
72937     if test "${ac_cv_header_iconv_h+set}" = set; then
72938   echo "$as_me:$LINENO: checking for iconv.h" >&5
72939 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
72940 if test "${ac_cv_header_iconv_h+set}" = set; then
72941   echo $ECHO_N "(cached) $ECHO_C" >&6
72942 fi
72943 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
72944 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
72945 else
72946   # Is the header compilable?
72947 echo "$as_me:$LINENO: checking iconv.h usability" >&5
72948 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
72949 cat >conftest.$ac_ext <<_ACEOF
72950 /* confdefs.h.  */
72951 _ACEOF
72952 cat confdefs.h >>conftest.$ac_ext
72953 cat >>conftest.$ac_ext <<_ACEOF
72954 /* end confdefs.h.  */
72955 $ac_includes_default
72956 #include <iconv.h>
72957 _ACEOF
72958 rm -f conftest.$ac_objext
72959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72960   (eval $ac_compile) 2>conftest.er1
72961   ac_status=$?
72962   grep -v '^ *+' conftest.er1 >conftest.err
72963   rm -f conftest.er1
72964   cat conftest.err >&5
72965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72966   (exit $ac_status); } &&
72967          { ac_try='test -z "$ac_c_werror_flag"
72968                          || test ! -s conftest.err'
72969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72970   (eval $ac_try) 2>&5
72971   ac_status=$?
72972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72973   (exit $ac_status); }; } &&
72974          { ac_try='test -s conftest.$ac_objext'
72975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72976   (eval $ac_try) 2>&5
72977   ac_status=$?
72978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72979   (exit $ac_status); }; }; then
72980   ac_header_compiler=yes
72981 else
72982   echo "$as_me: failed program was:" >&5
72983 sed 's/^/| /' conftest.$ac_ext >&5
72984
72985 ac_header_compiler=no
72986 fi
72987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72988 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
72989 echo "${ECHO_T}$ac_header_compiler" >&6
72990
72991 # Is the header present?
72992 echo "$as_me:$LINENO: checking iconv.h presence" >&5
72993 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
72994 cat >conftest.$ac_ext <<_ACEOF
72995 /* confdefs.h.  */
72996 _ACEOF
72997 cat confdefs.h >>conftest.$ac_ext
72998 cat >>conftest.$ac_ext <<_ACEOF
72999 /* end confdefs.h.  */
73000 #include <iconv.h>
73001 _ACEOF
73002 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73003   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73004   ac_status=$?
73005   grep -v '^ *+' conftest.er1 >conftest.err
73006   rm -f conftest.er1
73007   cat conftest.err >&5
73008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73009   (exit $ac_status); } >/dev/null; then
73010   if test -s conftest.err; then
73011     ac_cpp_err=$ac_c_preproc_warn_flag
73012     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73013   else
73014     ac_cpp_err=
73015   fi
73016 else
73017   ac_cpp_err=yes
73018 fi
73019 if test -z "$ac_cpp_err"; then
73020   ac_header_preproc=yes
73021 else
73022   echo "$as_me: failed program was:" >&5
73023 sed 's/^/| /' conftest.$ac_ext >&5
73024
73025   ac_header_preproc=no
73026 fi
73027 rm -f conftest.err conftest.$ac_ext
73028 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73029 echo "${ECHO_T}$ac_header_preproc" >&6
73030
73031 # So?  What about this header?
73032 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73033   yes:no: )
73034     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
73035 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
73036     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
73037 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
73038     ac_header_preproc=yes
73039     ;;
73040   no:yes:* )
73041     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
73042 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
73043     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
73044 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
73045     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
73046 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
73047     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
73048 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
73049     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
73050 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
73051     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
73052 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
73053     (
73054       cat <<\_ASBOX
73055 ## ----------------------------------------- ##
73056 ## Report this to the package-unused lists.  ##
73057 ## ----------------------------------------- ##
73058 _ASBOX
73059     ) |
73060       sed "s/^/$as_me: WARNING:     /" >&2
73061     ;;
73062 esac
73063 echo "$as_me:$LINENO: checking for iconv.h" >&5
73064 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
73065 if test "${ac_cv_header_iconv_h+set}" = set; then
73066   echo $ECHO_N "(cached) $ECHO_C" >&6
73067 else
73068   ac_cv_header_iconv_h=$ac_header_preproc
73069 fi
73070 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
73071 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
73072
73073 fi
73074 if test $ac_cv_header_iconv_h = yes; then
73075   ac_has_iconv_h=yes
73076 else
73077   ac_has_iconv_h=no
73078 fi
73079
73080
73081     if test "${ac_cv_header_langinfo_h+set}" = set; then
73082   echo "$as_me:$LINENO: checking for langinfo.h" >&5
73083 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
73084 if test "${ac_cv_header_langinfo_h+set}" = set; then
73085   echo $ECHO_N "(cached) $ECHO_C" >&6
73086 fi
73087 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
73088 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
73089 else
73090   # Is the header compilable?
73091 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
73092 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
73093 cat >conftest.$ac_ext <<_ACEOF
73094 /* confdefs.h.  */
73095 _ACEOF
73096 cat confdefs.h >>conftest.$ac_ext
73097 cat >>conftest.$ac_ext <<_ACEOF
73098 /* end confdefs.h.  */
73099 $ac_includes_default
73100 #include <langinfo.h>
73101 _ACEOF
73102 rm -f conftest.$ac_objext
73103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73104   (eval $ac_compile) 2>conftest.er1
73105   ac_status=$?
73106   grep -v '^ *+' conftest.er1 >conftest.err
73107   rm -f conftest.er1
73108   cat conftest.err >&5
73109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73110   (exit $ac_status); } &&
73111          { ac_try='test -z "$ac_c_werror_flag"
73112                          || test ! -s conftest.err'
73113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73114   (eval $ac_try) 2>&5
73115   ac_status=$?
73116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73117   (exit $ac_status); }; } &&
73118          { ac_try='test -s conftest.$ac_objext'
73119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73120   (eval $ac_try) 2>&5
73121   ac_status=$?
73122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73123   (exit $ac_status); }; }; then
73124   ac_header_compiler=yes
73125 else
73126   echo "$as_me: failed program was:" >&5
73127 sed 's/^/| /' conftest.$ac_ext >&5
73128
73129 ac_header_compiler=no
73130 fi
73131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73132 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73133 echo "${ECHO_T}$ac_header_compiler" >&6
73134
73135 # Is the header present?
73136 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
73137 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
73138 cat >conftest.$ac_ext <<_ACEOF
73139 /* confdefs.h.  */
73140 _ACEOF
73141 cat confdefs.h >>conftest.$ac_ext
73142 cat >>conftest.$ac_ext <<_ACEOF
73143 /* end confdefs.h.  */
73144 #include <langinfo.h>
73145 _ACEOF
73146 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73147   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73148   ac_status=$?
73149   grep -v '^ *+' conftest.er1 >conftest.err
73150   rm -f conftest.er1
73151   cat conftest.err >&5
73152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73153   (exit $ac_status); } >/dev/null; then
73154   if test -s conftest.err; then
73155     ac_cpp_err=$ac_c_preproc_warn_flag
73156     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73157   else
73158     ac_cpp_err=
73159   fi
73160 else
73161   ac_cpp_err=yes
73162 fi
73163 if test -z "$ac_cpp_err"; then
73164   ac_header_preproc=yes
73165 else
73166   echo "$as_me: failed program was:" >&5
73167 sed 's/^/| /' conftest.$ac_ext >&5
73168
73169   ac_header_preproc=no
73170 fi
73171 rm -f conftest.err conftest.$ac_ext
73172 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73173 echo "${ECHO_T}$ac_header_preproc" >&6
73174
73175 # So?  What about this header?
73176 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73177   yes:no: )
73178     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
73179 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
73180     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
73181 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
73182     ac_header_preproc=yes
73183     ;;
73184   no:yes:* )
73185     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
73186 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
73187     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
73188 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
73189     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
73190 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
73191     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
73192 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
73193     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
73194 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
73195     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
73196 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
73197     (
73198       cat <<\_ASBOX
73199 ## ----------------------------------------- ##
73200 ## Report this to the package-unused lists.  ##
73201 ## ----------------------------------------- ##
73202 _ASBOX
73203     ) |
73204       sed "s/^/$as_me: WARNING:     /" >&2
73205     ;;
73206 esac
73207 echo "$as_me:$LINENO: checking for langinfo.h" >&5
73208 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
73209 if test "${ac_cv_header_langinfo_h+set}" = set; then
73210   echo $ECHO_N "(cached) $ECHO_C" >&6
73211 else
73212   ac_cv_header_langinfo_h=$ac_header_preproc
73213 fi
73214 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
73215 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
73216
73217 fi
73218 if test $ac_cv_header_langinfo_h = yes; then
73219   ac_has_langinfo_h=yes
73220 else
73221   ac_has_langinfo_h=no
73222 fi
73223
73224
73225
73226     # Check for existence of libiconv.a providing XPG2 wchar_t support.
73227     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
73228 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
73229 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
73230   echo $ECHO_N "(cached) $ECHO_C" >&6
73231 else
73232   ac_check_lib_save_LIBS=$LIBS
73233 LIBS="-liconv  $LIBS"
73234 if test x$gcc_no_link = xyes; then
73235   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73237    { (exit 1); exit 1; }; }
73238 fi
73239 cat >conftest.$ac_ext <<_ACEOF
73240 /* confdefs.h.  */
73241 _ACEOF
73242 cat confdefs.h >>conftest.$ac_ext
73243 cat >>conftest.$ac_ext <<_ACEOF
73244 /* end confdefs.h.  */
73245
73246 /* Override any gcc2 internal prototype to avoid an error.  */
73247 #ifdef __cplusplus
73248 extern "C"
73249 #endif
73250 /* We use char because int might match the return type of a gcc2
73251    builtin and then its argument prototype would still apply.  */
73252 char iconv ();
73253 int
73254 main ()
73255 {
73256 iconv ();
73257   ;
73258   return 0;
73259 }
73260 _ACEOF
73261 rm -f conftest.$ac_objext conftest$ac_exeext
73262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73263   (eval $ac_link) 2>conftest.er1
73264   ac_status=$?
73265   grep -v '^ *+' conftest.er1 >conftest.err
73266   rm -f conftest.er1
73267   cat conftest.err >&5
73268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73269   (exit $ac_status); } &&
73270          { ac_try='test -z "$ac_c_werror_flag"
73271                          || test ! -s conftest.err'
73272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73273   (eval $ac_try) 2>&5
73274   ac_status=$?
73275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73276   (exit $ac_status); }; } &&
73277          { ac_try='test -s conftest$ac_exeext'
73278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73279   (eval $ac_try) 2>&5
73280   ac_status=$?
73281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73282   (exit $ac_status); }; }; then
73283   ac_cv_lib_iconv_iconv=yes
73284 else
73285   echo "$as_me: failed program was:" >&5
73286 sed 's/^/| /' conftest.$ac_ext >&5
73287
73288 ac_cv_lib_iconv_iconv=no
73289 fi
73290 rm -f conftest.err conftest.$ac_objext \
73291       conftest$ac_exeext conftest.$ac_ext
73292 LIBS=$ac_check_lib_save_LIBS
73293 fi
73294 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
73295 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
73296 if test $ac_cv_lib_iconv_iconv = yes; then
73297   LIBICONV="-liconv"
73298 fi
73299
73300     ac_save_LIBS="$LIBS"
73301     LIBS="$LIBS $LIBICONV"
73302
73303
73304
73305
73306
73307
73308 for ac_func in iconv_open iconv_close iconv nl_langinfo
73309 do
73310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73311 echo "$as_me:$LINENO: checking for $ac_func" >&5
73312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73313 if eval "test \"\${$as_ac_var+set}\" = set"; then
73314   echo $ECHO_N "(cached) $ECHO_C" >&6
73315 else
73316   if test x$gcc_no_link = xyes; then
73317   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73319    { (exit 1); exit 1; }; }
73320 fi
73321 cat >conftest.$ac_ext <<_ACEOF
73322 /* confdefs.h.  */
73323 _ACEOF
73324 cat confdefs.h >>conftest.$ac_ext
73325 cat >>conftest.$ac_ext <<_ACEOF
73326 /* end confdefs.h.  */
73327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73328    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73329 #define $ac_func innocuous_$ac_func
73330
73331 /* System header to define __stub macros and hopefully few prototypes,
73332     which can conflict with char $ac_func (); below.
73333     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73334     <limits.h> exists even on freestanding compilers.  */
73335
73336 #ifdef __STDC__
73337 # include <limits.h>
73338 #else
73339 # include <assert.h>
73340 #endif
73341
73342 #undef $ac_func
73343
73344 /* Override any gcc2 internal prototype to avoid an error.  */
73345 #ifdef __cplusplus
73346 extern "C"
73347 {
73348 #endif
73349 /* We use char because int might match the return type of a gcc2
73350    builtin and then its argument prototype would still apply.  */
73351 char $ac_func ();
73352 /* The GNU C library defines this for functions which it implements
73353     to always fail with ENOSYS.  Some functions are actually named
73354     something starting with __ and the normal name is an alias.  */
73355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73356 choke me
73357 #else
73358 char (*f) () = $ac_func;
73359 #endif
73360 #ifdef __cplusplus
73361 }
73362 #endif
73363
73364 int
73365 main ()
73366 {
73367 return f != $ac_func;
73368   ;
73369   return 0;
73370 }
73371 _ACEOF
73372 rm -f conftest.$ac_objext conftest$ac_exeext
73373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73374   (eval $ac_link) 2>conftest.er1
73375   ac_status=$?
73376   grep -v '^ *+' conftest.er1 >conftest.err
73377   rm -f conftest.er1
73378   cat conftest.err >&5
73379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73380   (exit $ac_status); } &&
73381          { ac_try='test -z "$ac_c_werror_flag"
73382                          || test ! -s conftest.err'
73383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73384   (eval $ac_try) 2>&5
73385   ac_status=$?
73386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73387   (exit $ac_status); }; } &&
73388          { ac_try='test -s conftest$ac_exeext'
73389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73390   (eval $ac_try) 2>&5
73391   ac_status=$?
73392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73393   (exit $ac_status); }; }; then
73394   eval "$as_ac_var=yes"
73395 else
73396   echo "$as_me: failed program was:" >&5
73397 sed 's/^/| /' conftest.$ac_ext >&5
73398
73399 eval "$as_ac_var=no"
73400 fi
73401 rm -f conftest.err conftest.$ac_objext \
73402       conftest$ac_exeext conftest.$ac_ext
73403 fi
73404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73406 if test `eval echo '${'$as_ac_var'}'` = yes; then
73407   cat >>confdefs.h <<_ACEOF
73408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73409 _ACEOF
73410  ac_XPG2funcs=yes
73411 else
73412   ac_XPG2funcs=no
73413 fi
73414 done
73415
73416
73417     LIBS="$ac_save_LIBS"
73418
73419     if test x"$ac_has_iconv_h" = xyes &&
73420        test x"$ac_has_langinfo_h" = xyes &&
73421        test x"$ac_XPG2funcs" = xyes;
73422     then
73423
73424 cat >>confdefs.h <<\_ACEOF
73425 #define _GLIBCXX_USE_ICONV 1
73426 _ACEOF
73427
73428       enable_iconv=yes
73429     fi
73430   fi
73431   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
73432 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
73433   echo "$as_me:$LINENO: result: $enable_iconv" >&5
73434 echo "${ECHO_T}$enable_iconv" >&6
73435
73436
73437   ac_test_CXXFLAGS="${CXXFLAGS+set}"
73438   ac_save_CXXFLAGS="$CXXFLAGS"
73439   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
73440
73441
73442   echo "$as_me:$LINENO: checking for strtold declaration" >&5
73443 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
73444   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
73445     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
73446   echo $ECHO_N "(cached) $ECHO_C" >&6
73447 else
73448
73449
73450
73451       ac_ext=cc
73452 ac_cpp='$CXXCPP $CPPFLAGS'
73453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73456
73457       cat >conftest.$ac_ext <<_ACEOF
73458 /* confdefs.h.  */
73459 _ACEOF
73460 cat confdefs.h >>conftest.$ac_ext
73461 cat >>conftest.$ac_ext <<_ACEOF
73462 /* end confdefs.h.  */
73463 #include <stdlib.h>
73464 int
73465 main ()
73466 {
73467  strtold(0, 0);
73468   ;
73469   return 0;
73470 }
73471 _ACEOF
73472 rm -f conftest.$ac_objext
73473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73474   (eval $ac_compile) 2>conftest.er1
73475   ac_status=$?
73476   grep -v '^ *+' conftest.er1 >conftest.err
73477   rm -f conftest.er1
73478   cat conftest.err >&5
73479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73480   (exit $ac_status); } &&
73481          { ac_try='test -z "$ac_cxx_werror_flag"
73482                          || test ! -s conftest.err'
73483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73484   (eval $ac_try) 2>&5
73485   ac_status=$?
73486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73487   (exit $ac_status); }; } &&
73488          { ac_try='test -s conftest.$ac_objext'
73489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73490   (eval $ac_try) 2>&5
73491   ac_status=$?
73492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73493   (exit $ac_status); }; }; then
73494   glibcxx_cv_func_strtold_use=yes
73495 else
73496   echo "$as_me: failed program was:" >&5
73497 sed 's/^/| /' conftest.$ac_ext >&5
73498
73499 glibcxx_cv_func_strtold_use=no
73500 fi
73501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73502       ac_ext=c
73503 ac_cpp='$CPP $CPPFLAGS'
73504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73507
73508
73509 fi
73510
73511   fi
73512   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
73513 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
73514   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
73515
73516 for ac_func in strtold
73517 do
73518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73519 echo "$as_me:$LINENO: checking for $ac_func" >&5
73520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73521 if eval "test \"\${$as_ac_var+set}\" = set"; then
73522   echo $ECHO_N "(cached) $ECHO_C" >&6
73523 else
73524   if test x$gcc_no_link = xyes; then
73525   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73527    { (exit 1); exit 1; }; }
73528 fi
73529 cat >conftest.$ac_ext <<_ACEOF
73530 /* confdefs.h.  */
73531 _ACEOF
73532 cat confdefs.h >>conftest.$ac_ext
73533 cat >>conftest.$ac_ext <<_ACEOF
73534 /* end confdefs.h.  */
73535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73536    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73537 #define $ac_func innocuous_$ac_func
73538
73539 /* System header to define __stub macros and hopefully few prototypes,
73540     which can conflict with char $ac_func (); below.
73541     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73542     <limits.h> exists even on freestanding compilers.  */
73543
73544 #ifdef __STDC__
73545 # include <limits.h>
73546 #else
73547 # include <assert.h>
73548 #endif
73549
73550 #undef $ac_func
73551
73552 /* Override any gcc2 internal prototype to avoid an error.  */
73553 #ifdef __cplusplus
73554 extern "C"
73555 {
73556 #endif
73557 /* We use char because int might match the return type of a gcc2
73558    builtin and then its argument prototype would still apply.  */
73559 char $ac_func ();
73560 /* The GNU C library defines this for functions which it implements
73561     to always fail with ENOSYS.  Some functions are actually named
73562     something starting with __ and the normal name is an alias.  */
73563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73564 choke me
73565 #else
73566 char (*f) () = $ac_func;
73567 #endif
73568 #ifdef __cplusplus
73569 }
73570 #endif
73571
73572 int
73573 main ()
73574 {
73575 return f != $ac_func;
73576   ;
73577   return 0;
73578 }
73579 _ACEOF
73580 rm -f conftest.$ac_objext conftest$ac_exeext
73581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73582   (eval $ac_link) 2>conftest.er1
73583   ac_status=$?
73584   grep -v '^ *+' conftest.er1 >conftest.err
73585   rm -f conftest.er1
73586   cat conftest.err >&5
73587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73588   (exit $ac_status); } &&
73589          { ac_try='test -z "$ac_c_werror_flag"
73590                          || test ! -s conftest.err'
73591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73592   (eval $ac_try) 2>&5
73593   ac_status=$?
73594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73595   (exit $ac_status); }; } &&
73596          { ac_try='test -s conftest$ac_exeext'
73597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73598   (eval $ac_try) 2>&5
73599   ac_status=$?
73600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73601   (exit $ac_status); }; }; then
73602   eval "$as_ac_var=yes"
73603 else
73604   echo "$as_me: failed program was:" >&5
73605 sed 's/^/| /' conftest.$ac_ext >&5
73606
73607 eval "$as_ac_var=no"
73608 fi
73609 rm -f conftest.err conftest.$ac_objext \
73610       conftest$ac_exeext conftest.$ac_ext
73611 fi
73612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73614 if test `eval echo '${'$as_ac_var'}'` = yes; then
73615   cat >>confdefs.h <<_ACEOF
73616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73617 _ACEOF
73618
73619 fi
73620 done
73621
73622   fi
73623
73624
73625
73626
73627
73628   echo "$as_me:$LINENO: checking for strtof declaration" >&5
73629 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
73630   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
73631     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
73632   echo $ECHO_N "(cached) $ECHO_C" >&6
73633 else
73634
73635
73636
73637       ac_ext=cc
73638 ac_cpp='$CXXCPP $CPPFLAGS'
73639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73642
73643       cat >conftest.$ac_ext <<_ACEOF
73644 /* confdefs.h.  */
73645 _ACEOF
73646 cat confdefs.h >>conftest.$ac_ext
73647 cat >>conftest.$ac_ext <<_ACEOF
73648 /* end confdefs.h.  */
73649 #include <stdlib.h>
73650 int
73651 main ()
73652 {
73653  strtof(0, 0);
73654   ;
73655   return 0;
73656 }
73657 _ACEOF
73658 rm -f conftest.$ac_objext
73659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73660   (eval $ac_compile) 2>conftest.er1
73661   ac_status=$?
73662   grep -v '^ *+' conftest.er1 >conftest.err
73663   rm -f conftest.er1
73664   cat conftest.err >&5
73665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73666   (exit $ac_status); } &&
73667          { ac_try='test -z "$ac_cxx_werror_flag"
73668                          || test ! -s conftest.err'
73669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73670   (eval $ac_try) 2>&5
73671   ac_status=$?
73672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73673   (exit $ac_status); }; } &&
73674          { ac_try='test -s conftest.$ac_objext'
73675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73676   (eval $ac_try) 2>&5
73677   ac_status=$?
73678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73679   (exit $ac_status); }; }; then
73680   glibcxx_cv_func_strtof_use=yes
73681 else
73682   echo "$as_me: failed program was:" >&5
73683 sed 's/^/| /' conftest.$ac_ext >&5
73684
73685 glibcxx_cv_func_strtof_use=no
73686 fi
73687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73688       ac_ext=c
73689 ac_cpp='$CPP $CPPFLAGS'
73690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73693
73694
73695 fi
73696
73697   fi
73698   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
73699 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
73700   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
73701
73702 for ac_func in strtof
73703 do
73704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73705 echo "$as_me:$LINENO: checking for $ac_func" >&5
73706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73707 if eval "test \"\${$as_ac_var+set}\" = set"; then
73708   echo $ECHO_N "(cached) $ECHO_C" >&6
73709 else
73710   if test x$gcc_no_link = xyes; then
73711   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73713    { (exit 1); exit 1; }; }
73714 fi
73715 cat >conftest.$ac_ext <<_ACEOF
73716 /* confdefs.h.  */
73717 _ACEOF
73718 cat confdefs.h >>conftest.$ac_ext
73719 cat >>conftest.$ac_ext <<_ACEOF
73720 /* end confdefs.h.  */
73721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73722    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73723 #define $ac_func innocuous_$ac_func
73724
73725 /* System header to define __stub macros and hopefully few prototypes,
73726     which can conflict with char $ac_func (); below.
73727     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73728     <limits.h> exists even on freestanding compilers.  */
73729
73730 #ifdef __STDC__
73731 # include <limits.h>
73732 #else
73733 # include <assert.h>
73734 #endif
73735
73736 #undef $ac_func
73737
73738 /* Override any gcc2 internal prototype to avoid an error.  */
73739 #ifdef __cplusplus
73740 extern "C"
73741 {
73742 #endif
73743 /* We use char because int might match the return type of a gcc2
73744    builtin and then its argument prototype would still apply.  */
73745 char $ac_func ();
73746 /* The GNU C library defines this for functions which it implements
73747     to always fail with ENOSYS.  Some functions are actually named
73748     something starting with __ and the normal name is an alias.  */
73749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73750 choke me
73751 #else
73752 char (*f) () = $ac_func;
73753 #endif
73754 #ifdef __cplusplus
73755 }
73756 #endif
73757
73758 int
73759 main ()
73760 {
73761 return f != $ac_func;
73762   ;
73763   return 0;
73764 }
73765 _ACEOF
73766 rm -f conftest.$ac_objext conftest$ac_exeext
73767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73768   (eval $ac_link) 2>conftest.er1
73769   ac_status=$?
73770   grep -v '^ *+' conftest.er1 >conftest.err
73771   rm -f conftest.er1
73772   cat conftest.err >&5
73773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73774   (exit $ac_status); } &&
73775          { ac_try='test -z "$ac_c_werror_flag"
73776                          || test ! -s conftest.err'
73777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73778   (eval $ac_try) 2>&5
73779   ac_status=$?
73780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73781   (exit $ac_status); }; } &&
73782          { ac_try='test -s conftest$ac_exeext'
73783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73784   (eval $ac_try) 2>&5
73785   ac_status=$?
73786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73787   (exit $ac_status); }; }; then
73788   eval "$as_ac_var=yes"
73789 else
73790   echo "$as_me: failed program was:" >&5
73791 sed 's/^/| /' conftest.$ac_ext >&5
73792
73793 eval "$as_ac_var=no"
73794 fi
73795 rm -f conftest.err conftest.$ac_objext \
73796       conftest$ac_exeext conftest.$ac_ext
73797 fi
73798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73800 if test `eval echo '${'$as_ac_var'}'` = yes; then
73801   cat >>confdefs.h <<_ACEOF
73802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73803 _ACEOF
73804
73805 fi
73806 done
73807
73808   fi
73809
73810
73811
73812
73813
73814   CXXFLAGS="$ac_save_CXXFLAGS"
73815
73816
73817   if test "${glibcxx_cv_S_ISREG+set}" = set; then
73818   echo $ECHO_N "(cached) $ECHO_C" >&6
73819 else
73820
73821     if test x$gcc_no_link = xyes; then
73822   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73824    { (exit 1); exit 1; }; }
73825 fi
73826 cat >conftest.$ac_ext <<_ACEOF
73827 /* confdefs.h.  */
73828 _ACEOF
73829 cat confdefs.h >>conftest.$ac_ext
73830 cat >>conftest.$ac_ext <<_ACEOF
73831 /* end confdefs.h.  */
73832 #include <sys/stat.h>
73833 int
73834 main ()
73835 {
73836 struct stat buffer;
73837        fstat(0, &buffer);
73838        S_ISREG(buffer.st_mode);
73839   ;
73840   return 0;
73841 }
73842 _ACEOF
73843 rm -f conftest.$ac_objext conftest$ac_exeext
73844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73845   (eval $ac_link) 2>conftest.er1
73846   ac_status=$?
73847   grep -v '^ *+' conftest.er1 >conftest.err
73848   rm -f conftest.er1
73849   cat conftest.err >&5
73850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73851   (exit $ac_status); } &&
73852          { ac_try='test -z "$ac_c_werror_flag"
73853                          || test ! -s conftest.err'
73854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73855   (eval $ac_try) 2>&5
73856   ac_status=$?
73857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73858   (exit $ac_status); }; } &&
73859          { ac_try='test -s conftest$ac_exeext'
73860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73861   (eval $ac_try) 2>&5
73862   ac_status=$?
73863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73864   (exit $ac_status); }; }; then
73865   glibcxx_cv_S_ISREG=yes
73866 else
73867   echo "$as_me: failed program was:" >&5
73868 sed 's/^/| /' conftest.$ac_ext >&5
73869
73870 glibcxx_cv_S_ISREG=no
73871 fi
73872 rm -f conftest.err conftest.$ac_objext \
73873       conftest$ac_exeext conftest.$ac_ext
73874
73875 fi
73876
73877   if test "${glibcxx_cv_S_IFREG+set}" = set; then
73878   echo $ECHO_N "(cached) $ECHO_C" >&6
73879 else
73880
73881     if test x$gcc_no_link = xyes; then
73882   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73884    { (exit 1); exit 1; }; }
73885 fi
73886 cat >conftest.$ac_ext <<_ACEOF
73887 /* confdefs.h.  */
73888 _ACEOF
73889 cat confdefs.h >>conftest.$ac_ext
73890 cat >>conftest.$ac_ext <<_ACEOF
73891 /* end confdefs.h.  */
73892 #include <sys/stat.h>
73893 int
73894 main ()
73895 {
73896 struct stat buffer;
73897        fstat(0, &buffer);
73898        S_IFREG & buffer.st_mode;
73899   ;
73900   return 0;
73901 }
73902 _ACEOF
73903 rm -f conftest.$ac_objext conftest$ac_exeext
73904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73905   (eval $ac_link) 2>conftest.er1
73906   ac_status=$?
73907   grep -v '^ *+' conftest.er1 >conftest.err
73908   rm -f conftest.er1
73909   cat conftest.err >&5
73910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73911   (exit $ac_status); } &&
73912          { ac_try='test -z "$ac_c_werror_flag"
73913                          || test ! -s conftest.err'
73914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73915   (eval $ac_try) 2>&5
73916   ac_status=$?
73917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73918   (exit $ac_status); }; } &&
73919          { ac_try='test -s conftest$ac_exeext'
73920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73921   (eval $ac_try) 2>&5
73922   ac_status=$?
73923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73924   (exit $ac_status); }; }; then
73925   glibcxx_cv_S_IFREG=yes
73926 else
73927   echo "$as_me: failed program was:" >&5
73928 sed 's/^/| /' conftest.$ac_ext >&5
73929
73930 glibcxx_cv_S_IFREG=no
73931 fi
73932 rm -f conftest.err conftest.$ac_objext \
73933       conftest$ac_exeext conftest.$ac_ext
73934
73935 fi
73936
73937   if test $glibcxx_cv_S_ISREG = yes; then
73938
73939 cat >>confdefs.h <<\_ACEOF
73940 #define HAVE_S_ISREG 1
73941 _ACEOF
73942
73943   elif test $glibcxx_cv_S_IFREG = yes; then
73944
73945 cat >>confdefs.h <<\_ACEOF
73946 #define HAVE_S_IFREG 1
73947 _ACEOF
73948
73949   fi
73950
73951     cat >>confdefs.h <<\_ACEOF
73952 #define HAVE_WRITEV 1
73953 _ACEOF
73954
73955     ;;
73956
73957   *-freebsd*)
73958
73959
73960
73961
73962
73963
73964
73965
73966
73967
73968
73969
73970
73971
73972
73973
73974 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
73975       machine/endian.h machine/param.h sys/machine.h sys/types.h \
73976       fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
73977       sys/time.h unistd.h
73978 do
73979 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
73980 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73981   echo "$as_me:$LINENO: checking for $ac_header" >&5
73982 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73983 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73984   echo $ECHO_N "(cached) $ECHO_C" >&6
73985 fi
73986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73987 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73988 else
73989   # Is the header compilable?
73990 echo "$as_me:$LINENO: checking $ac_header usability" >&5
73991 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73992 cat >conftest.$ac_ext <<_ACEOF
73993 /* confdefs.h.  */
73994 _ACEOF
73995 cat confdefs.h >>conftest.$ac_ext
73996 cat >>conftest.$ac_ext <<_ACEOF
73997 /* end confdefs.h.  */
73998 $ac_includes_default
73999 #include <$ac_header>
74000 _ACEOF
74001 rm -f conftest.$ac_objext
74002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74003   (eval $ac_compile) 2>conftest.er1
74004   ac_status=$?
74005   grep -v '^ *+' conftest.er1 >conftest.err
74006   rm -f conftest.er1
74007   cat conftest.err >&5
74008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74009   (exit $ac_status); } &&
74010          { ac_try='test -z "$ac_c_werror_flag"
74011                          || test ! -s conftest.err'
74012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74013   (eval $ac_try) 2>&5
74014   ac_status=$?
74015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74016   (exit $ac_status); }; } &&
74017          { ac_try='test -s conftest.$ac_objext'
74018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74019   (eval $ac_try) 2>&5
74020   ac_status=$?
74021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74022   (exit $ac_status); }; }; then
74023   ac_header_compiler=yes
74024 else
74025   echo "$as_me: failed program was:" >&5
74026 sed 's/^/| /' conftest.$ac_ext >&5
74027
74028 ac_header_compiler=no
74029 fi
74030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74031 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74032 echo "${ECHO_T}$ac_header_compiler" >&6
74033
74034 # Is the header present?
74035 echo "$as_me:$LINENO: checking $ac_header presence" >&5
74036 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
74037 cat >conftest.$ac_ext <<_ACEOF
74038 /* confdefs.h.  */
74039 _ACEOF
74040 cat confdefs.h >>conftest.$ac_ext
74041 cat >>conftest.$ac_ext <<_ACEOF
74042 /* end confdefs.h.  */
74043 #include <$ac_header>
74044 _ACEOF
74045 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74046   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74047   ac_status=$?
74048   grep -v '^ *+' conftest.er1 >conftest.err
74049   rm -f conftest.er1
74050   cat conftest.err >&5
74051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74052   (exit $ac_status); } >/dev/null; then
74053   if test -s conftest.err; then
74054     ac_cpp_err=$ac_c_preproc_warn_flag
74055     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74056   else
74057     ac_cpp_err=
74058   fi
74059 else
74060   ac_cpp_err=yes
74061 fi
74062 if test -z "$ac_cpp_err"; then
74063   ac_header_preproc=yes
74064 else
74065   echo "$as_me: failed program was:" >&5
74066 sed 's/^/| /' conftest.$ac_ext >&5
74067
74068   ac_header_preproc=no
74069 fi
74070 rm -f conftest.err conftest.$ac_ext
74071 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74072 echo "${ECHO_T}$ac_header_preproc" >&6
74073
74074 # So?  What about this header?
74075 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74076   yes:no: )
74077     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
74078 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
74079     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
74080 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
74081     ac_header_preproc=yes
74082     ;;
74083   no:yes:* )
74084     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
74085 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
74086     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
74087 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
74088     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
74089 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
74090     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
74091 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
74092     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
74093 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
74094     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
74095 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
74096     (
74097       cat <<\_ASBOX
74098 ## ----------------------------------------- ##
74099 ## Report this to the package-unused lists.  ##
74100 ## ----------------------------------------- ##
74101 _ASBOX
74102     ) |
74103       sed "s/^/$as_me: WARNING:     /" >&2
74104     ;;
74105 esac
74106 echo "$as_me:$LINENO: checking for $ac_header" >&5
74107 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
74108 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74109   echo $ECHO_N "(cached) $ECHO_C" >&6
74110 else
74111   eval "$as_ac_Header=\$ac_header_preproc"
74112 fi
74113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
74114 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
74115
74116 fi
74117 if test `eval echo '${'$as_ac_Header'}'` = yes; then
74118   cat >>confdefs.h <<_ACEOF
74119 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
74120 _ACEOF
74121
74122 fi
74123
74124 done
74125
74126     SECTION_FLAGS='-ffunction-sections -fdata-sections'
74127
74128
74129   # If we're not using GNU ld, then there's no point in even trying these
74130   # tests.  Check for that first.  We should have already tested for gld
74131   # by now (in libtool), but require it now just to be safe...
74132   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
74133   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
74134
74135
74136
74137   # The name set by libtool depends on the version of libtool.  Shame on us
74138   # for depending on an impl detail, but c'est la vie.  Older versions used
74139   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
74140   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
74141   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
74142   # set (hence we're using an older libtool), then set it.
74143   if test x${with_gnu_ld+set} != xset; then
74144     if test x${ac_cv_prog_gnu_ld+set} != xset; then
74145       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
74146       with_gnu_ld=no
74147     else
74148       with_gnu_ld=$ac_cv_prog_gnu_ld
74149     fi
74150   fi
74151
74152   # Start by getting the version number.  I think the libtool test already
74153   # does some of this, but throws away the result.
74154
74155   ldver=`$LD --version 2>/dev/null | head -1 | \
74156          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
74157
74158   glibcxx_gnu_ld_version=`echo $ldver | \
74159          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
74160
74161   # Set --gc-sections.
74162   if test "$with_gnu_ld" = "notbroken"; then
74163     # GNU ld it is!  Joy and bunny rabbits!
74164
74165     # All these tests are for C++; save the language and the compiler flags.
74166     # Need to do this so that g++ won't try to link in libstdc++
74167     ac_test_CFLAGS="${CFLAGS+set}"
74168     ac_save_CFLAGS="$CFLAGS"
74169     CFLAGS='-x c++  -Wl,--gc-sections'
74170
74171     # Check for -Wl,--gc-sections
74172     # XXX This test is broken at the moment, as symbols required for linking
74173     # are now in libsupc++ (not built yet).  In addition, this test has
74174     # cored on solaris in the past.  In addition, --gc-sections doesn't
74175     # really work at the moment (keeps on discarding used sections, first
74176     # .eh_frame and now some of the glibc sections for iconv).
74177     # Bzzzzt.  Thanks for playing, maybe next time.
74178     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
74179 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
74180     if test "$cross_compiling" = yes; then
74181   ac_sectionLDflags=yes
74182 else
74183   cat >conftest.$ac_ext <<_ACEOF
74184 /* confdefs.h.  */
74185 _ACEOF
74186 cat confdefs.h >>conftest.$ac_ext
74187 cat >>conftest.$ac_ext <<_ACEOF
74188 /* end confdefs.h.  */
74189
74190      int main(void)
74191      {
74192        try { throw 1; }
74193        catch (...) { };
74194        return 0;
74195      }
74196
74197 _ACEOF
74198 rm -f conftest$ac_exeext
74199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74200   (eval $ac_link) 2>&5
74201   ac_status=$?
74202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74203   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
74204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74205   (eval $ac_try) 2>&5
74206   ac_status=$?
74207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74208   (exit $ac_status); }; }; then
74209   ac_sectionLDflags=yes
74210 else
74211   echo "$as_me: program exited with status $ac_status" >&5
74212 echo "$as_me: failed program was:" >&5
74213 sed 's/^/| /' conftest.$ac_ext >&5
74214
74215 ( exit $ac_status )
74216 ac_sectionLDflags=no
74217 fi
74218 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
74219 fi
74220     if test "$ac_test_CFLAGS" = set; then
74221       CFLAGS="$ac_save_CFLAGS"
74222     else
74223       # this is the suspicious part
74224       CFLAGS=''
74225     fi
74226     if test "$ac_sectionLDflags" = "yes"; then
74227       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
74228     fi
74229     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
74230 echo "${ECHO_T}$ac_sectionLDflags" >&6
74231   fi
74232
74233   # Set linker optimization flags.
74234   if test x"$with_gnu_ld" = x"yes"; then
74235     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
74236   fi
74237
74238
74239
74240
74241
74242
74243 echo "$as_me:$LINENO: checking for main in -lm" >&5
74244 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
74245 if test "${ac_cv_lib_m_main+set}" = set; then
74246   echo $ECHO_N "(cached) $ECHO_C" >&6
74247 else
74248   ac_check_lib_save_LIBS=$LIBS
74249 LIBS="-lm  $LIBS"
74250 if test x$gcc_no_link = xyes; then
74251   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74253    { (exit 1); exit 1; }; }
74254 fi
74255 cat >conftest.$ac_ext <<_ACEOF
74256 /* confdefs.h.  */
74257 _ACEOF
74258 cat confdefs.h >>conftest.$ac_ext
74259 cat >>conftest.$ac_ext <<_ACEOF
74260 /* end confdefs.h.  */
74261
74262
74263 int
74264 main ()
74265 {
74266 main ();
74267   ;
74268   return 0;
74269 }
74270 _ACEOF
74271 rm -f conftest.$ac_objext conftest$ac_exeext
74272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74273   (eval $ac_link) 2>conftest.er1
74274   ac_status=$?
74275   grep -v '^ *+' conftest.er1 >conftest.err
74276   rm -f conftest.er1
74277   cat conftest.err >&5
74278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74279   (exit $ac_status); } &&
74280          { ac_try='test -z "$ac_c_werror_flag"
74281                          || test ! -s conftest.err'
74282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74283   (eval $ac_try) 2>&5
74284   ac_status=$?
74285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74286   (exit $ac_status); }; } &&
74287          { ac_try='test -s conftest$ac_exeext'
74288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74289   (eval $ac_try) 2>&5
74290   ac_status=$?
74291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74292   (exit $ac_status); }; }; then
74293   ac_cv_lib_m_main=yes
74294 else
74295   echo "$as_me: failed program was:" >&5
74296 sed 's/^/| /' conftest.$ac_ext >&5
74297
74298 ac_cv_lib_m_main=no
74299 fi
74300 rm -f conftest.err conftest.$ac_objext \
74301       conftest$ac_exeext conftest.$ac_ext
74302 LIBS=$ac_check_lib_save_LIBS
74303 fi
74304 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
74305 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
74306 if test $ac_cv_lib_m_main = yes; then
74307   cat >>confdefs.h <<_ACEOF
74308 #define HAVE_LIBM 1
74309 _ACEOF
74310
74311   LIBS="-lm $LIBS"
74312
74313 fi
74314
74315
74316 for ac_func in copysignf
74317 do
74318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74319 echo "$as_me:$LINENO: checking for $ac_func" >&5
74320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74321 if eval "test \"\${$as_ac_var+set}\" = set"; then
74322   echo $ECHO_N "(cached) $ECHO_C" >&6
74323 else
74324   if test x$gcc_no_link = xyes; then
74325   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74327    { (exit 1); exit 1; }; }
74328 fi
74329 cat >conftest.$ac_ext <<_ACEOF
74330 /* confdefs.h.  */
74331 _ACEOF
74332 cat confdefs.h >>conftest.$ac_ext
74333 cat >>conftest.$ac_ext <<_ACEOF
74334 /* end confdefs.h.  */
74335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74336    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74337 #define $ac_func innocuous_$ac_func
74338
74339 /* System header to define __stub macros and hopefully few prototypes,
74340     which can conflict with char $ac_func (); below.
74341     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74342     <limits.h> exists even on freestanding compilers.  */
74343
74344 #ifdef __STDC__
74345 # include <limits.h>
74346 #else
74347 # include <assert.h>
74348 #endif
74349
74350 #undef $ac_func
74351
74352 /* Override any gcc2 internal prototype to avoid an error.  */
74353 #ifdef __cplusplus
74354 extern "C"
74355 {
74356 #endif
74357 /* We use char because int might match the return type of a gcc2
74358    builtin and then its argument prototype would still apply.  */
74359 char $ac_func ();
74360 /* The GNU C library defines this for functions which it implements
74361     to always fail with ENOSYS.  Some functions are actually named
74362     something starting with __ and the normal name is an alias.  */
74363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74364 choke me
74365 #else
74366 char (*f) () = $ac_func;
74367 #endif
74368 #ifdef __cplusplus
74369 }
74370 #endif
74371
74372 int
74373 main ()
74374 {
74375 return f != $ac_func;
74376   ;
74377   return 0;
74378 }
74379 _ACEOF
74380 rm -f conftest.$ac_objext conftest$ac_exeext
74381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74382   (eval $ac_link) 2>conftest.er1
74383   ac_status=$?
74384   grep -v '^ *+' conftest.er1 >conftest.err
74385   rm -f conftest.er1
74386   cat conftest.err >&5
74387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74388   (exit $ac_status); } &&
74389          { ac_try='test -z "$ac_c_werror_flag"
74390                          || test ! -s conftest.err'
74391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74392   (eval $ac_try) 2>&5
74393   ac_status=$?
74394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74395   (exit $ac_status); }; } &&
74396          { ac_try='test -s conftest$ac_exeext'
74397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74398   (eval $ac_try) 2>&5
74399   ac_status=$?
74400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74401   (exit $ac_status); }; }; then
74402   eval "$as_ac_var=yes"
74403 else
74404   echo "$as_me: failed program was:" >&5
74405 sed 's/^/| /' conftest.$ac_ext >&5
74406
74407 eval "$as_ac_var=no"
74408 fi
74409 rm -f conftest.err conftest.$ac_objext \
74410       conftest$ac_exeext conftest.$ac_ext
74411 fi
74412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74414 if test `eval echo '${'$as_ac_var'}'` = yes; then
74415   cat >>confdefs.h <<_ACEOF
74416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74417 _ACEOF
74418
74419 else
74420   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
74421 fi
74422 done
74423
74424
74425
74426 for ac_func in __signbit
74427 do
74428 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74429 echo "$as_me:$LINENO: checking for $ac_func" >&5
74430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74431 if eval "test \"\${$as_ac_var+set}\" = set"; then
74432   echo $ECHO_N "(cached) $ECHO_C" >&6
74433 else
74434   if test x$gcc_no_link = xyes; then
74435   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74437    { (exit 1); exit 1; }; }
74438 fi
74439 cat >conftest.$ac_ext <<_ACEOF
74440 /* confdefs.h.  */
74441 _ACEOF
74442 cat confdefs.h >>conftest.$ac_ext
74443 cat >>conftest.$ac_ext <<_ACEOF
74444 /* end confdefs.h.  */
74445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74446    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74447 #define $ac_func innocuous_$ac_func
74448
74449 /* System header to define __stub macros and hopefully few prototypes,
74450     which can conflict with char $ac_func (); below.
74451     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74452     <limits.h> exists even on freestanding compilers.  */
74453
74454 #ifdef __STDC__
74455 # include <limits.h>
74456 #else
74457 # include <assert.h>
74458 #endif
74459
74460 #undef $ac_func
74461
74462 /* Override any gcc2 internal prototype to avoid an error.  */
74463 #ifdef __cplusplus
74464 extern "C"
74465 {
74466 #endif
74467 /* We use char because int might match the return type of a gcc2
74468    builtin and then its argument prototype would still apply.  */
74469 char $ac_func ();
74470 /* The GNU C library defines this for functions which it implements
74471     to always fail with ENOSYS.  Some functions are actually named
74472     something starting with __ and the normal name is an alias.  */
74473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74474 choke me
74475 #else
74476 char (*f) () = $ac_func;
74477 #endif
74478 #ifdef __cplusplus
74479 }
74480 #endif
74481
74482 int
74483 main ()
74484 {
74485 return f != $ac_func;
74486   ;
74487   return 0;
74488 }
74489 _ACEOF
74490 rm -f conftest.$ac_objext conftest$ac_exeext
74491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74492   (eval $ac_link) 2>conftest.er1
74493   ac_status=$?
74494   grep -v '^ *+' conftest.er1 >conftest.err
74495   rm -f conftest.er1
74496   cat conftest.err >&5
74497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74498   (exit $ac_status); } &&
74499          { ac_try='test -z "$ac_c_werror_flag"
74500                          || test ! -s conftest.err'
74501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74502   (eval $ac_try) 2>&5
74503   ac_status=$?
74504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74505   (exit $ac_status); }; } &&
74506          { ac_try='test -s conftest$ac_exeext'
74507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74508   (eval $ac_try) 2>&5
74509   ac_status=$?
74510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74511   (exit $ac_status); }; }; then
74512   eval "$as_ac_var=yes"
74513 else
74514   echo "$as_me: failed program was:" >&5
74515 sed 's/^/| /' conftest.$ac_ext >&5
74516
74517 eval "$as_ac_var=no"
74518 fi
74519 rm -f conftest.err conftest.$ac_objext \
74520       conftest$ac_exeext conftest.$ac_ext
74521 fi
74522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74523 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74524 if test `eval echo '${'$as_ac_var'}'` = yes; then
74525   cat >>confdefs.h <<_ACEOF
74526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74527 _ACEOF
74528
74529 else
74530   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
74531 fi
74532 done
74533
74534
74535
74536 for ac_func in __signbitf
74537 do
74538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74539 echo "$as_me:$LINENO: checking for $ac_func" >&5
74540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74541 if eval "test \"\${$as_ac_var+set}\" = set"; then
74542   echo $ECHO_N "(cached) $ECHO_C" >&6
74543 else
74544   if test x$gcc_no_link = xyes; then
74545   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74547    { (exit 1); exit 1; }; }
74548 fi
74549 cat >conftest.$ac_ext <<_ACEOF
74550 /* confdefs.h.  */
74551 _ACEOF
74552 cat confdefs.h >>conftest.$ac_ext
74553 cat >>conftest.$ac_ext <<_ACEOF
74554 /* end confdefs.h.  */
74555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74556    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74557 #define $ac_func innocuous_$ac_func
74558
74559 /* System header to define __stub macros and hopefully few prototypes,
74560     which can conflict with char $ac_func (); below.
74561     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74562     <limits.h> exists even on freestanding compilers.  */
74563
74564 #ifdef __STDC__
74565 # include <limits.h>
74566 #else
74567 # include <assert.h>
74568 #endif
74569
74570 #undef $ac_func
74571
74572 /* Override any gcc2 internal prototype to avoid an error.  */
74573 #ifdef __cplusplus
74574 extern "C"
74575 {
74576 #endif
74577 /* We use char because int might match the return type of a gcc2
74578    builtin and then its argument prototype would still apply.  */
74579 char $ac_func ();
74580 /* The GNU C library defines this for functions which it implements
74581     to always fail with ENOSYS.  Some functions are actually named
74582     something starting with __ and the normal name is an alias.  */
74583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74584 choke me
74585 #else
74586 char (*f) () = $ac_func;
74587 #endif
74588 #ifdef __cplusplus
74589 }
74590 #endif
74591
74592 int
74593 main ()
74594 {
74595 return f != $ac_func;
74596   ;
74597   return 0;
74598 }
74599 _ACEOF
74600 rm -f conftest.$ac_objext conftest$ac_exeext
74601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74602   (eval $ac_link) 2>conftest.er1
74603   ac_status=$?
74604   grep -v '^ *+' conftest.er1 >conftest.err
74605   rm -f conftest.er1
74606   cat conftest.err >&5
74607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74608   (exit $ac_status); } &&
74609          { ac_try='test -z "$ac_c_werror_flag"
74610                          || test ! -s conftest.err'
74611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74612   (eval $ac_try) 2>&5
74613   ac_status=$?
74614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74615   (exit $ac_status); }; } &&
74616          { ac_try='test -s conftest$ac_exeext'
74617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74618   (eval $ac_try) 2>&5
74619   ac_status=$?
74620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74621   (exit $ac_status); }; }; then
74622   eval "$as_ac_var=yes"
74623 else
74624   echo "$as_me: failed program was:" >&5
74625 sed 's/^/| /' conftest.$ac_ext >&5
74626
74627 eval "$as_ac_var=no"
74628 fi
74629 rm -f conftest.err conftest.$ac_objext \
74630       conftest$ac_exeext conftest.$ac_ext
74631 fi
74632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74633 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74634 if test `eval echo '${'$as_ac_var'}'` = yes; then
74635   cat >>confdefs.h <<_ACEOF
74636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74637 _ACEOF
74638
74639 else
74640   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
74641 fi
74642 done
74643
74644
74645           if test x$ac_cv_func_copysignl = x"yes"; then
74646
74647 for ac_func in __signbitl
74648 do
74649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74650 echo "$as_me:$LINENO: checking for $ac_func" >&5
74651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74652 if eval "test \"\${$as_ac_var+set}\" = set"; then
74653   echo $ECHO_N "(cached) $ECHO_C" >&6
74654 else
74655   if test x$gcc_no_link = xyes; then
74656   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74658    { (exit 1); exit 1; }; }
74659 fi
74660 cat >conftest.$ac_ext <<_ACEOF
74661 /* confdefs.h.  */
74662 _ACEOF
74663 cat confdefs.h >>conftest.$ac_ext
74664 cat >>conftest.$ac_ext <<_ACEOF
74665 /* end confdefs.h.  */
74666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74667    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74668 #define $ac_func innocuous_$ac_func
74669
74670 /* System header to define __stub macros and hopefully few prototypes,
74671     which can conflict with char $ac_func (); below.
74672     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74673     <limits.h> exists even on freestanding compilers.  */
74674
74675 #ifdef __STDC__
74676 # include <limits.h>
74677 #else
74678 # include <assert.h>
74679 #endif
74680
74681 #undef $ac_func
74682
74683 /* Override any gcc2 internal prototype to avoid an error.  */
74684 #ifdef __cplusplus
74685 extern "C"
74686 {
74687 #endif
74688 /* We use char because int might match the return type of a gcc2
74689    builtin and then its argument prototype would still apply.  */
74690 char $ac_func ();
74691 /* The GNU C library defines this for functions which it implements
74692     to always fail with ENOSYS.  Some functions are actually named
74693     something starting with __ and the normal name is an alias.  */
74694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74695 choke me
74696 #else
74697 char (*f) () = $ac_func;
74698 #endif
74699 #ifdef __cplusplus
74700 }
74701 #endif
74702
74703 int
74704 main ()
74705 {
74706 return f != $ac_func;
74707   ;
74708   return 0;
74709 }
74710 _ACEOF
74711 rm -f conftest.$ac_objext conftest$ac_exeext
74712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74713   (eval $ac_link) 2>conftest.er1
74714   ac_status=$?
74715   grep -v '^ *+' conftest.er1 >conftest.err
74716   rm -f conftest.er1
74717   cat conftest.err >&5
74718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74719   (exit $ac_status); } &&
74720          { ac_try='test -z "$ac_c_werror_flag"
74721                          || test ! -s conftest.err'
74722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74723   (eval $ac_try) 2>&5
74724   ac_status=$?
74725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74726   (exit $ac_status); }; } &&
74727          { ac_try='test -s conftest$ac_exeext'
74728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74729   (eval $ac_try) 2>&5
74730   ac_status=$?
74731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74732   (exit $ac_status); }; }; then
74733   eval "$as_ac_var=yes"
74734 else
74735   echo "$as_me: failed program was:" >&5
74736 sed 's/^/| /' conftest.$ac_ext >&5
74737
74738 eval "$as_ac_var=no"
74739 fi
74740 rm -f conftest.err conftest.$ac_objext \
74741       conftest$ac_exeext conftest.$ac_ext
74742 fi
74743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74745 if test `eval echo '${'$as_ac_var'}'` = yes; then
74746   cat >>confdefs.h <<_ACEOF
74747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74748 _ACEOF
74749
74750 else
74751   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
74752 fi
74753 done
74754
74755   fi
74756
74757   # Used in libmath/Makefile.am.
74758   if test -n "$LIBMATHOBJS"; then
74759     need_libmath=yes
74760   fi
74761
74762
74763
74764
74765   enable_iconv=no
74766   # Only continue checking if the ISO C99 headers exist and support is on.
74767   if test x"$enable_wchar_t" = xyes; then
74768
74769     # Use iconv for wchar_t to char conversions. As such, check for
74770     # X/Open Portability Guide, version 2 features (XPG2).
74771     if test "${ac_cv_header_iconv_h+set}" = set; then
74772   echo "$as_me:$LINENO: checking for iconv.h" >&5
74773 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74774 if test "${ac_cv_header_iconv_h+set}" = set; then
74775   echo $ECHO_N "(cached) $ECHO_C" >&6
74776 fi
74777 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74778 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74779 else
74780   # Is the header compilable?
74781 echo "$as_me:$LINENO: checking iconv.h usability" >&5
74782 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
74783 cat >conftest.$ac_ext <<_ACEOF
74784 /* confdefs.h.  */
74785 _ACEOF
74786 cat confdefs.h >>conftest.$ac_ext
74787 cat >>conftest.$ac_ext <<_ACEOF
74788 /* end confdefs.h.  */
74789 $ac_includes_default
74790 #include <iconv.h>
74791 _ACEOF
74792 rm -f conftest.$ac_objext
74793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74794   (eval $ac_compile) 2>conftest.er1
74795   ac_status=$?
74796   grep -v '^ *+' conftest.er1 >conftest.err
74797   rm -f conftest.er1
74798   cat conftest.err >&5
74799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74800   (exit $ac_status); } &&
74801          { ac_try='test -z "$ac_c_werror_flag"
74802                          || test ! -s conftest.err'
74803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74804   (eval $ac_try) 2>&5
74805   ac_status=$?
74806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74807   (exit $ac_status); }; } &&
74808          { ac_try='test -s conftest.$ac_objext'
74809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74810   (eval $ac_try) 2>&5
74811   ac_status=$?
74812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74813   (exit $ac_status); }; }; then
74814   ac_header_compiler=yes
74815 else
74816   echo "$as_me: failed program was:" >&5
74817 sed 's/^/| /' conftest.$ac_ext >&5
74818
74819 ac_header_compiler=no
74820 fi
74821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74822 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74823 echo "${ECHO_T}$ac_header_compiler" >&6
74824
74825 # Is the header present?
74826 echo "$as_me:$LINENO: checking iconv.h presence" >&5
74827 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
74828 cat >conftest.$ac_ext <<_ACEOF
74829 /* confdefs.h.  */
74830 _ACEOF
74831 cat confdefs.h >>conftest.$ac_ext
74832 cat >>conftest.$ac_ext <<_ACEOF
74833 /* end confdefs.h.  */
74834 #include <iconv.h>
74835 _ACEOF
74836 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74837   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74838   ac_status=$?
74839   grep -v '^ *+' conftest.er1 >conftest.err
74840   rm -f conftest.er1
74841   cat conftest.err >&5
74842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74843   (exit $ac_status); } >/dev/null; then
74844   if test -s conftest.err; then
74845     ac_cpp_err=$ac_c_preproc_warn_flag
74846     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74847   else
74848     ac_cpp_err=
74849   fi
74850 else
74851   ac_cpp_err=yes
74852 fi
74853 if test -z "$ac_cpp_err"; then
74854   ac_header_preproc=yes
74855 else
74856   echo "$as_me: failed program was:" >&5
74857 sed 's/^/| /' conftest.$ac_ext >&5
74858
74859   ac_header_preproc=no
74860 fi
74861 rm -f conftest.err conftest.$ac_ext
74862 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74863 echo "${ECHO_T}$ac_header_preproc" >&6
74864
74865 # So?  What about this header?
74866 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74867   yes:no: )
74868     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
74869 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74870     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
74871 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
74872     ac_header_preproc=yes
74873     ;;
74874   no:yes:* )
74875     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
74876 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
74877     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
74878 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
74879     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
74880 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
74881     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
74882 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
74883     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
74884 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
74885     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
74886 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
74887     (
74888       cat <<\_ASBOX
74889 ## ----------------------------------------- ##
74890 ## Report this to the package-unused lists.  ##
74891 ## ----------------------------------------- ##
74892 _ASBOX
74893     ) |
74894       sed "s/^/$as_me: WARNING:     /" >&2
74895     ;;
74896 esac
74897 echo "$as_me:$LINENO: checking for iconv.h" >&5
74898 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74899 if test "${ac_cv_header_iconv_h+set}" = set; then
74900   echo $ECHO_N "(cached) $ECHO_C" >&6
74901 else
74902   ac_cv_header_iconv_h=$ac_header_preproc
74903 fi
74904 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74905 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74906
74907 fi
74908 if test $ac_cv_header_iconv_h = yes; then
74909   ac_has_iconv_h=yes
74910 else
74911   ac_has_iconv_h=no
74912 fi
74913
74914
74915     if test "${ac_cv_header_langinfo_h+set}" = set; then
74916   echo "$as_me:$LINENO: checking for langinfo.h" >&5
74917 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74918 if test "${ac_cv_header_langinfo_h+set}" = set; then
74919   echo $ECHO_N "(cached) $ECHO_C" >&6
74920 fi
74921 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74922 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74923 else
74924   # Is the header compilable?
74925 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
74926 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
74927 cat >conftest.$ac_ext <<_ACEOF
74928 /* confdefs.h.  */
74929 _ACEOF
74930 cat confdefs.h >>conftest.$ac_ext
74931 cat >>conftest.$ac_ext <<_ACEOF
74932 /* end confdefs.h.  */
74933 $ac_includes_default
74934 #include <langinfo.h>
74935 _ACEOF
74936 rm -f conftest.$ac_objext
74937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74938   (eval $ac_compile) 2>conftest.er1
74939   ac_status=$?
74940   grep -v '^ *+' conftest.er1 >conftest.err
74941   rm -f conftest.er1
74942   cat conftest.err >&5
74943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74944   (exit $ac_status); } &&
74945          { ac_try='test -z "$ac_c_werror_flag"
74946                          || test ! -s conftest.err'
74947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74948   (eval $ac_try) 2>&5
74949   ac_status=$?
74950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74951   (exit $ac_status); }; } &&
74952          { ac_try='test -s conftest.$ac_objext'
74953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74954   (eval $ac_try) 2>&5
74955   ac_status=$?
74956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74957   (exit $ac_status); }; }; then
74958   ac_header_compiler=yes
74959 else
74960   echo "$as_me: failed program was:" >&5
74961 sed 's/^/| /' conftest.$ac_ext >&5
74962
74963 ac_header_compiler=no
74964 fi
74965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74966 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74967 echo "${ECHO_T}$ac_header_compiler" >&6
74968
74969 # Is the header present?
74970 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
74971 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
74972 cat >conftest.$ac_ext <<_ACEOF
74973 /* confdefs.h.  */
74974 _ACEOF
74975 cat confdefs.h >>conftest.$ac_ext
74976 cat >>conftest.$ac_ext <<_ACEOF
74977 /* end confdefs.h.  */
74978 #include <langinfo.h>
74979 _ACEOF
74980 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74981   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74982   ac_status=$?
74983   grep -v '^ *+' conftest.er1 >conftest.err
74984   rm -f conftest.er1
74985   cat conftest.err >&5
74986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74987   (exit $ac_status); } >/dev/null; then
74988   if test -s conftest.err; then
74989     ac_cpp_err=$ac_c_preproc_warn_flag
74990     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74991   else
74992     ac_cpp_err=
74993   fi
74994 else
74995   ac_cpp_err=yes
74996 fi
74997 if test -z "$ac_cpp_err"; then
74998   ac_header_preproc=yes
74999 else
75000   echo "$as_me: failed program was:" >&5
75001 sed 's/^/| /' conftest.$ac_ext >&5
75002
75003   ac_header_preproc=no
75004 fi
75005 rm -f conftest.err conftest.$ac_ext
75006 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75007 echo "${ECHO_T}$ac_header_preproc" >&6
75008
75009 # So?  What about this header?
75010 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75011   yes:no: )
75012     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
75013 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
75014     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
75015 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
75016     ac_header_preproc=yes
75017     ;;
75018   no:yes:* )
75019     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
75020 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
75021     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
75022 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
75023     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
75024 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
75025     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
75026 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
75027     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
75028 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
75029     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
75030 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
75031     (
75032       cat <<\_ASBOX
75033 ## ----------------------------------------- ##
75034 ## Report this to the package-unused lists.  ##
75035 ## ----------------------------------------- ##
75036 _ASBOX
75037     ) |
75038       sed "s/^/$as_me: WARNING:     /" >&2
75039     ;;
75040 esac
75041 echo "$as_me:$LINENO: checking for langinfo.h" >&5
75042 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
75043 if test "${ac_cv_header_langinfo_h+set}" = set; then
75044   echo $ECHO_N "(cached) $ECHO_C" >&6
75045 else
75046   ac_cv_header_langinfo_h=$ac_header_preproc
75047 fi
75048 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
75049 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
75050
75051 fi
75052 if test $ac_cv_header_langinfo_h = yes; then
75053   ac_has_langinfo_h=yes
75054 else
75055   ac_has_langinfo_h=no
75056 fi
75057
75058
75059
75060     # Check for existence of libiconv.a providing XPG2 wchar_t support.
75061     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
75062 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
75063 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
75064   echo $ECHO_N "(cached) $ECHO_C" >&6
75065 else
75066   ac_check_lib_save_LIBS=$LIBS
75067 LIBS="-liconv  $LIBS"
75068 if test x$gcc_no_link = xyes; then
75069   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75071    { (exit 1); exit 1; }; }
75072 fi
75073 cat >conftest.$ac_ext <<_ACEOF
75074 /* confdefs.h.  */
75075 _ACEOF
75076 cat confdefs.h >>conftest.$ac_ext
75077 cat >>conftest.$ac_ext <<_ACEOF
75078 /* end confdefs.h.  */
75079
75080 /* Override any gcc2 internal prototype to avoid an error.  */
75081 #ifdef __cplusplus
75082 extern "C"
75083 #endif
75084 /* We use char because int might match the return type of a gcc2
75085    builtin and then its argument prototype would still apply.  */
75086 char iconv ();
75087 int
75088 main ()
75089 {
75090 iconv ();
75091   ;
75092   return 0;
75093 }
75094 _ACEOF
75095 rm -f conftest.$ac_objext conftest$ac_exeext
75096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75097   (eval $ac_link) 2>conftest.er1
75098   ac_status=$?
75099   grep -v '^ *+' conftest.er1 >conftest.err
75100   rm -f conftest.er1
75101   cat conftest.err >&5
75102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75103   (exit $ac_status); } &&
75104          { ac_try='test -z "$ac_c_werror_flag"
75105                          || test ! -s conftest.err'
75106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75107   (eval $ac_try) 2>&5
75108   ac_status=$?
75109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75110   (exit $ac_status); }; } &&
75111          { ac_try='test -s conftest$ac_exeext'
75112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75113   (eval $ac_try) 2>&5
75114   ac_status=$?
75115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75116   (exit $ac_status); }; }; then
75117   ac_cv_lib_iconv_iconv=yes
75118 else
75119   echo "$as_me: failed program was:" >&5
75120 sed 's/^/| /' conftest.$ac_ext >&5
75121
75122 ac_cv_lib_iconv_iconv=no
75123 fi
75124 rm -f conftest.err conftest.$ac_objext \
75125       conftest$ac_exeext conftest.$ac_ext
75126 LIBS=$ac_check_lib_save_LIBS
75127 fi
75128 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
75129 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
75130 if test $ac_cv_lib_iconv_iconv = yes; then
75131   LIBICONV="-liconv"
75132 fi
75133
75134     ac_save_LIBS="$LIBS"
75135     LIBS="$LIBS $LIBICONV"
75136
75137
75138
75139
75140
75141
75142 for ac_func in iconv_open iconv_close iconv nl_langinfo
75143 do
75144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75145 echo "$as_me:$LINENO: checking for $ac_func" >&5
75146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75147 if eval "test \"\${$as_ac_var+set}\" = set"; then
75148   echo $ECHO_N "(cached) $ECHO_C" >&6
75149 else
75150   if test x$gcc_no_link = xyes; then
75151   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75153    { (exit 1); exit 1; }; }
75154 fi
75155 cat >conftest.$ac_ext <<_ACEOF
75156 /* confdefs.h.  */
75157 _ACEOF
75158 cat confdefs.h >>conftest.$ac_ext
75159 cat >>conftest.$ac_ext <<_ACEOF
75160 /* end confdefs.h.  */
75161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75162    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75163 #define $ac_func innocuous_$ac_func
75164
75165 /* System header to define __stub macros and hopefully few prototypes,
75166     which can conflict with char $ac_func (); below.
75167     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75168     <limits.h> exists even on freestanding compilers.  */
75169
75170 #ifdef __STDC__
75171 # include <limits.h>
75172 #else
75173 # include <assert.h>
75174 #endif
75175
75176 #undef $ac_func
75177
75178 /* Override any gcc2 internal prototype to avoid an error.  */
75179 #ifdef __cplusplus
75180 extern "C"
75181 {
75182 #endif
75183 /* We use char because int might match the return type of a gcc2
75184    builtin and then its argument prototype would still apply.  */
75185 char $ac_func ();
75186 /* The GNU C library defines this for functions which it implements
75187     to always fail with ENOSYS.  Some functions are actually named
75188     something starting with __ and the normal name is an alias.  */
75189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75190 choke me
75191 #else
75192 char (*f) () = $ac_func;
75193 #endif
75194 #ifdef __cplusplus
75195 }
75196 #endif
75197
75198 int
75199 main ()
75200 {
75201 return f != $ac_func;
75202   ;
75203   return 0;
75204 }
75205 _ACEOF
75206 rm -f conftest.$ac_objext conftest$ac_exeext
75207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75208   (eval $ac_link) 2>conftest.er1
75209   ac_status=$?
75210   grep -v '^ *+' conftest.er1 >conftest.err
75211   rm -f conftest.er1
75212   cat conftest.err >&5
75213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75214   (exit $ac_status); } &&
75215          { ac_try='test -z "$ac_c_werror_flag"
75216                          || test ! -s conftest.err'
75217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75218   (eval $ac_try) 2>&5
75219   ac_status=$?
75220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75221   (exit $ac_status); }; } &&
75222          { ac_try='test -s conftest$ac_exeext'
75223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75224   (eval $ac_try) 2>&5
75225   ac_status=$?
75226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75227   (exit $ac_status); }; }; then
75228   eval "$as_ac_var=yes"
75229 else
75230   echo "$as_me: failed program was:" >&5
75231 sed 's/^/| /' conftest.$ac_ext >&5
75232
75233 eval "$as_ac_var=no"
75234 fi
75235 rm -f conftest.err conftest.$ac_objext \
75236       conftest$ac_exeext conftest.$ac_ext
75237 fi
75238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75240 if test `eval echo '${'$as_ac_var'}'` = yes; then
75241   cat >>confdefs.h <<_ACEOF
75242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75243 _ACEOF
75244  ac_XPG2funcs=yes
75245 else
75246   ac_XPG2funcs=no
75247 fi
75248 done
75249
75250
75251     LIBS="$ac_save_LIBS"
75252
75253     if test x"$ac_has_iconv_h" = xyes &&
75254        test x"$ac_has_langinfo_h" = xyes &&
75255        test x"$ac_XPG2funcs" = xyes;
75256     then
75257
75258 cat >>confdefs.h <<\_ACEOF
75259 #define _GLIBCXX_USE_ICONV 1
75260 _ACEOF
75261
75262       enable_iconv=yes
75263     fi
75264   fi
75265   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
75266 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
75267   echo "$as_me:$LINENO: result: $enable_iconv" >&5
75268 echo "${ECHO_T}$enable_iconv" >&6
75269
75270     cat >>confdefs.h <<\_ACEOF
75271 #define HAVE_LC_MESSAGES 1
75272 _ACEOF
75273
75274     cat >>confdefs.h <<\_ACEOF
75275 #define HAVE_GETPAGESIZE 1
75276 _ACEOF
75277
75278     cat >>confdefs.h <<\_ACEOF
75279 #define HAVE_SETENV 1
75280 _ACEOF
75281
75282     cat >>confdefs.h <<\_ACEOF
75283 #define HAVE_SIGSETJMP 1
75284 _ACEOF
75285
75286     cat >>confdefs.h <<\_ACEOF
75287 #define HAVE_COPYSIGN 1
75288 _ACEOF
75289
75290     cat >>confdefs.h <<\_ACEOF
75291 #define HAVE_COPYSIGNF 1
75292 _ACEOF
75293
75294     cat >>confdefs.h <<\_ACEOF
75295 #define HAVE_FINITEF 1
75296 _ACEOF
75297
75298     cat >>confdefs.h <<\_ACEOF
75299 #define HAVE_FINITE 1
75300 _ACEOF
75301
75302     cat >>confdefs.h <<\_ACEOF
75303 #define HAVE_FREXPF 1
75304 _ACEOF
75305
75306     cat >>confdefs.h <<\_ACEOF
75307 #define HAVE_HYPOT 1
75308 _ACEOF
75309
75310     cat >>confdefs.h <<\_ACEOF
75311 #define HAVE_HYPOTF 1
75312 _ACEOF
75313
75314     cat >>confdefs.h <<\_ACEOF
75315 #define HAVE_ISINF 1
75316 _ACEOF
75317
75318     cat >>confdefs.h <<\_ACEOF
75319 #define HAVE_ISNAN 1
75320 _ACEOF
75321
75322     cat >>confdefs.h <<\_ACEOF
75323 #define HAVE_ISNANF 1
75324 _ACEOF
75325
75326
75327     cat >>confdefs.h <<\_ACEOF
75328 #define HAVE_MMAP 1
75329 _ACEOF
75330
75331     cat >>confdefs.h <<\_ACEOF
75332 #define HAVE_ACOSF 1
75333 _ACEOF
75334
75335     cat >>confdefs.h <<\_ACEOF
75336 #define HAVE_ASINF 1
75337 _ACEOF
75338
75339     cat >>confdefs.h <<\_ACEOF
75340 #define HAVE_ATAN2F 1
75341 _ACEOF
75342
75343     cat >>confdefs.h <<\_ACEOF
75344 #define HAVE_ATANF 1
75345 _ACEOF
75346
75347     cat >>confdefs.h <<\_ACEOF
75348 #define HAVE_CEILF 1
75349 _ACEOF
75350
75351     cat >>confdefs.h <<\_ACEOF
75352 #define HAVE_COPYSIGN 1
75353 _ACEOF
75354
75355     cat >>confdefs.h <<\_ACEOF
75356 #define HAVE_COPYSIGNF 1
75357 _ACEOF
75358
75359     cat >>confdefs.h <<\_ACEOF
75360 #define HAVE_COSF 1
75361 _ACEOF
75362
75363     cat >>confdefs.h <<\_ACEOF
75364 #define HAVE_COSHF 1
75365 _ACEOF
75366
75367     cat >>confdefs.h <<\_ACEOF
75368 #define HAVE_EXPF 1
75369 _ACEOF
75370
75371     cat >>confdefs.h <<\_ACEOF
75372 #define HAVE_FABSF 1
75373 _ACEOF
75374
75375     cat >>confdefs.h <<\_ACEOF
75376 #define HAVE_FLOORF 1
75377 _ACEOF
75378
75379     cat >>confdefs.h <<\_ACEOF
75380 #define HAVE_FMODF 1
75381 _ACEOF
75382
75383     cat >>confdefs.h <<\_ACEOF
75384 #define HAVE_FREXPF 1
75385 _ACEOF
75386
75387     cat >>confdefs.h <<\_ACEOF
75388 #define HAVE_LDEXPF 1
75389 _ACEOF
75390
75391     cat >>confdefs.h <<\_ACEOF
75392 #define HAVE_LOG10F 1
75393 _ACEOF
75394
75395     cat >>confdefs.h <<\_ACEOF
75396 #define HAVE_LOGF 1
75397 _ACEOF
75398
75399     cat >>confdefs.h <<\_ACEOF
75400 #define HAVE_MODFF 1
75401 _ACEOF
75402
75403     cat >>confdefs.h <<\_ACEOF
75404 #define HAVE_POWF 1
75405 _ACEOF
75406
75407     cat >>confdefs.h <<\_ACEOF
75408 #define HAVE_SINF 1
75409 _ACEOF
75410
75411     cat >>confdefs.h <<\_ACEOF
75412 #define HAVE_SINHF 1
75413 _ACEOF
75414
75415     cat >>confdefs.h <<\_ACEOF
75416 #define HAVE_SQRTF 1
75417 _ACEOF
75418
75419     cat >>confdefs.h <<\_ACEOF
75420 #define HAVE_TANF 1
75421 _ACEOF
75422
75423     cat >>confdefs.h <<\_ACEOF
75424 #define HAVE_TANHF 1
75425 _ACEOF
75426
75427     if test x"long_double_math_on_this_cpu" = x"yes"; then
75428       cat >>confdefs.h <<\_ACEOF
75429 #define HAVE_FINITEL 1
75430 _ACEOF
75431
75432       cat >>confdefs.h <<\_ACEOF
75433 #define HAVE_ISINFL 1
75434 _ACEOF
75435
75436       cat >>confdefs.h <<\_ACEOF
75437 #define HAVE_ISNANL 1
75438 _ACEOF
75439
75440     fi
75441     ;;
75442   *-hpux*)
75443
75444
75445
75446
75447
75448
75449
75450
75451
75452
75453
75454
75455 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
75456       machine/endian.h machine/param.h sys/machine.h sys/types.h \
75457       fp.h locale.h float.h inttypes.h
75458 do
75459 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75460 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75461   echo "$as_me:$LINENO: checking for $ac_header" >&5
75462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75464   echo $ECHO_N "(cached) $ECHO_C" >&6
75465 fi
75466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75467 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75468 else
75469   # Is the header compilable?
75470 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75471 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75472 cat >conftest.$ac_ext <<_ACEOF
75473 /* confdefs.h.  */
75474 _ACEOF
75475 cat confdefs.h >>conftest.$ac_ext
75476 cat >>conftest.$ac_ext <<_ACEOF
75477 /* end confdefs.h.  */
75478 $ac_includes_default
75479 #include <$ac_header>
75480 _ACEOF
75481 rm -f conftest.$ac_objext
75482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75483   (eval $ac_compile) 2>conftest.er1
75484   ac_status=$?
75485   grep -v '^ *+' conftest.er1 >conftest.err
75486   rm -f conftest.er1
75487   cat conftest.err >&5
75488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75489   (exit $ac_status); } &&
75490          { ac_try='test -z "$ac_c_werror_flag"
75491                          || test ! -s conftest.err'
75492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75493   (eval $ac_try) 2>&5
75494   ac_status=$?
75495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75496   (exit $ac_status); }; } &&
75497          { ac_try='test -s conftest.$ac_objext'
75498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75499   (eval $ac_try) 2>&5
75500   ac_status=$?
75501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75502   (exit $ac_status); }; }; then
75503   ac_header_compiler=yes
75504 else
75505   echo "$as_me: failed program was:" >&5
75506 sed 's/^/| /' conftest.$ac_ext >&5
75507
75508 ac_header_compiler=no
75509 fi
75510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75511 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75512 echo "${ECHO_T}$ac_header_compiler" >&6
75513
75514 # Is the header present?
75515 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75516 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75517 cat >conftest.$ac_ext <<_ACEOF
75518 /* confdefs.h.  */
75519 _ACEOF
75520 cat confdefs.h >>conftest.$ac_ext
75521 cat >>conftest.$ac_ext <<_ACEOF
75522 /* end confdefs.h.  */
75523 #include <$ac_header>
75524 _ACEOF
75525 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75526   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75527   ac_status=$?
75528   grep -v '^ *+' conftest.er1 >conftest.err
75529   rm -f conftest.er1
75530   cat conftest.err >&5
75531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75532   (exit $ac_status); } >/dev/null; then
75533   if test -s conftest.err; then
75534     ac_cpp_err=$ac_c_preproc_warn_flag
75535     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75536   else
75537     ac_cpp_err=
75538   fi
75539 else
75540   ac_cpp_err=yes
75541 fi
75542 if test -z "$ac_cpp_err"; then
75543   ac_header_preproc=yes
75544 else
75545   echo "$as_me: failed program was:" >&5
75546 sed 's/^/| /' conftest.$ac_ext >&5
75547
75548   ac_header_preproc=no
75549 fi
75550 rm -f conftest.err conftest.$ac_ext
75551 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75552 echo "${ECHO_T}$ac_header_preproc" >&6
75553
75554 # So?  What about this header?
75555 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75556   yes:no: )
75557     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75558 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75559     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75560 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75561     ac_header_preproc=yes
75562     ;;
75563   no:yes:* )
75564     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75565 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75566     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
75567 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
75568     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75569 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75570     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
75571 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
75572     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75573 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75574     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75575 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75576     (
75577       cat <<\_ASBOX
75578 ## ----------------------------------------- ##
75579 ## Report this to the package-unused lists.  ##
75580 ## ----------------------------------------- ##
75581 _ASBOX
75582     ) |
75583       sed "s/^/$as_me: WARNING:     /" >&2
75584     ;;
75585 esac
75586 echo "$as_me:$LINENO: checking for $ac_header" >&5
75587 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75588 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75589   echo $ECHO_N "(cached) $ECHO_C" >&6
75590 else
75591   eval "$as_ac_Header=\$ac_header_preproc"
75592 fi
75593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75594 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75595
75596 fi
75597 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75598   cat >>confdefs.h <<_ACEOF
75599 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75600 _ACEOF
75601
75602 fi
75603
75604 done
75605
75606     SECTION_FLAGS='-ffunction-sections -fdata-sections'
75607
75608
75609   # If we're not using GNU ld, then there's no point in even trying these
75610   # tests.  Check for that first.  We should have already tested for gld
75611   # by now (in libtool), but require it now just to be safe...
75612   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75613   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75614
75615
75616
75617   # The name set by libtool depends on the version of libtool.  Shame on us
75618   # for depending on an impl detail, but c'est la vie.  Older versions used
75619   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75620   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75621   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
75622   # set (hence we're using an older libtool), then set it.
75623   if test x${with_gnu_ld+set} != xset; then
75624     if test x${ac_cv_prog_gnu_ld+set} != xset; then
75625       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
75626       with_gnu_ld=no
75627     else
75628       with_gnu_ld=$ac_cv_prog_gnu_ld
75629     fi
75630   fi
75631
75632   # Start by getting the version number.  I think the libtool test already
75633   # does some of this, but throws away the result.
75634
75635   ldver=`$LD --version 2>/dev/null | head -1 | \
75636          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
75637
75638   glibcxx_gnu_ld_version=`echo $ldver | \
75639          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75640
75641   # Set --gc-sections.
75642   if test "$with_gnu_ld" = "notbroken"; then
75643     # GNU ld it is!  Joy and bunny rabbits!
75644
75645     # All these tests are for C++; save the language and the compiler flags.
75646     # Need to do this so that g++ won't try to link in libstdc++
75647     ac_test_CFLAGS="${CFLAGS+set}"
75648     ac_save_CFLAGS="$CFLAGS"
75649     CFLAGS='-x c++  -Wl,--gc-sections'
75650
75651     # Check for -Wl,--gc-sections
75652     # XXX This test is broken at the moment, as symbols required for linking
75653     # are now in libsupc++ (not built yet).  In addition, this test has
75654     # cored on solaris in the past.  In addition, --gc-sections doesn't
75655     # really work at the moment (keeps on discarding used sections, first
75656     # .eh_frame and now some of the glibc sections for iconv).
75657     # Bzzzzt.  Thanks for playing, maybe next time.
75658     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75659 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75660     if test "$cross_compiling" = yes; then
75661   ac_sectionLDflags=yes
75662 else
75663   cat >conftest.$ac_ext <<_ACEOF
75664 /* confdefs.h.  */
75665 _ACEOF
75666 cat confdefs.h >>conftest.$ac_ext
75667 cat >>conftest.$ac_ext <<_ACEOF
75668 /* end confdefs.h.  */
75669
75670      int main(void)
75671      {
75672        try { throw 1; }
75673        catch (...) { };
75674        return 0;
75675      }
75676
75677 _ACEOF
75678 rm -f conftest$ac_exeext
75679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75680   (eval $ac_link) 2>&5
75681   ac_status=$?
75682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75683   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
75684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75685   (eval $ac_try) 2>&5
75686   ac_status=$?
75687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75688   (exit $ac_status); }; }; then
75689   ac_sectionLDflags=yes
75690 else
75691   echo "$as_me: program exited with status $ac_status" >&5
75692 echo "$as_me: failed program was:" >&5
75693 sed 's/^/| /' conftest.$ac_ext >&5
75694
75695 ( exit $ac_status )
75696 ac_sectionLDflags=no
75697 fi
75698 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
75699 fi
75700     if test "$ac_test_CFLAGS" = set; then
75701       CFLAGS="$ac_save_CFLAGS"
75702     else
75703       # this is the suspicious part
75704       CFLAGS=''
75705     fi
75706     if test "$ac_sectionLDflags" = "yes"; then
75707       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75708     fi
75709     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
75710 echo "${ECHO_T}$ac_sectionLDflags" >&6
75711   fi
75712
75713   # Set linker optimization flags.
75714   if test x"$with_gnu_ld" = x"yes"; then
75715     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75716   fi
75717
75718
75719
75720
75721
75722
75723 echo "$as_me:$LINENO: checking for main in -lm" >&5
75724 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75725 if test "${ac_cv_lib_m_main+set}" = set; then
75726   echo $ECHO_N "(cached) $ECHO_C" >&6
75727 else
75728   ac_check_lib_save_LIBS=$LIBS
75729 LIBS="-lm  $LIBS"
75730 if test x$gcc_no_link = xyes; then
75731   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75733    { (exit 1); exit 1; }; }
75734 fi
75735 cat >conftest.$ac_ext <<_ACEOF
75736 /* confdefs.h.  */
75737 _ACEOF
75738 cat confdefs.h >>conftest.$ac_ext
75739 cat >>conftest.$ac_ext <<_ACEOF
75740 /* end confdefs.h.  */
75741
75742
75743 int
75744 main ()
75745 {
75746 main ();
75747   ;
75748   return 0;
75749 }
75750 _ACEOF
75751 rm -f conftest.$ac_objext conftest$ac_exeext
75752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75753   (eval $ac_link) 2>conftest.er1
75754   ac_status=$?
75755   grep -v '^ *+' conftest.er1 >conftest.err
75756   rm -f conftest.er1
75757   cat conftest.err >&5
75758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75759   (exit $ac_status); } &&
75760          { ac_try='test -z "$ac_c_werror_flag"
75761                          || test ! -s conftest.err'
75762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75763   (eval $ac_try) 2>&5
75764   ac_status=$?
75765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75766   (exit $ac_status); }; } &&
75767          { ac_try='test -s conftest$ac_exeext'
75768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75769   (eval $ac_try) 2>&5
75770   ac_status=$?
75771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75772   (exit $ac_status); }; }; then
75773   ac_cv_lib_m_main=yes
75774 else
75775   echo "$as_me: failed program was:" >&5
75776 sed 's/^/| /' conftest.$ac_ext >&5
75777
75778 ac_cv_lib_m_main=no
75779 fi
75780 rm -f conftest.err conftest.$ac_objext \
75781       conftest$ac_exeext conftest.$ac_ext
75782 LIBS=$ac_check_lib_save_LIBS
75783 fi
75784 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
75785 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
75786 if test $ac_cv_lib_m_main = yes; then
75787   cat >>confdefs.h <<_ACEOF
75788 #define HAVE_LIBM 1
75789 _ACEOF
75790
75791   LIBS="-lm $LIBS"
75792
75793 fi
75794
75795
75796 for ac_func in copysignf
75797 do
75798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75799 echo "$as_me:$LINENO: checking for $ac_func" >&5
75800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75801 if eval "test \"\${$as_ac_var+set}\" = set"; then
75802   echo $ECHO_N "(cached) $ECHO_C" >&6
75803 else
75804   if test x$gcc_no_link = xyes; then
75805   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75807    { (exit 1); exit 1; }; }
75808 fi
75809 cat >conftest.$ac_ext <<_ACEOF
75810 /* confdefs.h.  */
75811 _ACEOF
75812 cat confdefs.h >>conftest.$ac_ext
75813 cat >>conftest.$ac_ext <<_ACEOF
75814 /* end confdefs.h.  */
75815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75816    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75817 #define $ac_func innocuous_$ac_func
75818
75819 /* System header to define __stub macros and hopefully few prototypes,
75820     which can conflict with char $ac_func (); below.
75821     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75822     <limits.h> exists even on freestanding compilers.  */
75823
75824 #ifdef __STDC__
75825 # include <limits.h>
75826 #else
75827 # include <assert.h>
75828 #endif
75829
75830 #undef $ac_func
75831
75832 /* Override any gcc2 internal prototype to avoid an error.  */
75833 #ifdef __cplusplus
75834 extern "C"
75835 {
75836 #endif
75837 /* We use char because int might match the return type of a gcc2
75838    builtin and then its argument prototype would still apply.  */
75839 char $ac_func ();
75840 /* The GNU C library defines this for functions which it implements
75841     to always fail with ENOSYS.  Some functions are actually named
75842     something starting with __ and the normal name is an alias.  */
75843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75844 choke me
75845 #else
75846 char (*f) () = $ac_func;
75847 #endif
75848 #ifdef __cplusplus
75849 }
75850 #endif
75851
75852 int
75853 main ()
75854 {
75855 return f != $ac_func;
75856   ;
75857   return 0;
75858 }
75859 _ACEOF
75860 rm -f conftest.$ac_objext conftest$ac_exeext
75861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75862   (eval $ac_link) 2>conftest.er1
75863   ac_status=$?
75864   grep -v '^ *+' conftest.er1 >conftest.err
75865   rm -f conftest.er1
75866   cat conftest.err >&5
75867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75868   (exit $ac_status); } &&
75869          { ac_try='test -z "$ac_c_werror_flag"
75870                          || test ! -s conftest.err'
75871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75872   (eval $ac_try) 2>&5
75873   ac_status=$?
75874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75875   (exit $ac_status); }; } &&
75876          { ac_try='test -s conftest$ac_exeext'
75877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75878   (eval $ac_try) 2>&5
75879   ac_status=$?
75880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75881   (exit $ac_status); }; }; then
75882   eval "$as_ac_var=yes"
75883 else
75884   echo "$as_me: failed program was:" >&5
75885 sed 's/^/| /' conftest.$ac_ext >&5
75886
75887 eval "$as_ac_var=no"
75888 fi
75889 rm -f conftest.err conftest.$ac_objext \
75890       conftest$ac_exeext conftest.$ac_ext
75891 fi
75892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75894 if test `eval echo '${'$as_ac_var'}'` = yes; then
75895   cat >>confdefs.h <<_ACEOF
75896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75897 _ACEOF
75898
75899 else
75900   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
75901 fi
75902 done
75903
75904
75905
75906 for ac_func in __signbit
75907 do
75908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75909 echo "$as_me:$LINENO: checking for $ac_func" >&5
75910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75911 if eval "test \"\${$as_ac_var+set}\" = set"; then
75912   echo $ECHO_N "(cached) $ECHO_C" >&6
75913 else
75914   if test x$gcc_no_link = xyes; then
75915   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75917    { (exit 1); exit 1; }; }
75918 fi
75919 cat >conftest.$ac_ext <<_ACEOF
75920 /* confdefs.h.  */
75921 _ACEOF
75922 cat confdefs.h >>conftest.$ac_ext
75923 cat >>conftest.$ac_ext <<_ACEOF
75924 /* end confdefs.h.  */
75925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75926    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75927 #define $ac_func innocuous_$ac_func
75928
75929 /* System header to define __stub macros and hopefully few prototypes,
75930     which can conflict with char $ac_func (); below.
75931     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75932     <limits.h> exists even on freestanding compilers.  */
75933
75934 #ifdef __STDC__
75935 # include <limits.h>
75936 #else
75937 # include <assert.h>
75938 #endif
75939
75940 #undef $ac_func
75941
75942 /* Override any gcc2 internal prototype to avoid an error.  */
75943 #ifdef __cplusplus
75944 extern "C"
75945 {
75946 #endif
75947 /* We use char because int might match the return type of a gcc2
75948    builtin and then its argument prototype would still apply.  */
75949 char $ac_func ();
75950 /* The GNU C library defines this for functions which it implements
75951     to always fail with ENOSYS.  Some functions are actually named
75952     something starting with __ and the normal name is an alias.  */
75953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75954 choke me
75955 #else
75956 char (*f) () = $ac_func;
75957 #endif
75958 #ifdef __cplusplus
75959 }
75960 #endif
75961
75962 int
75963 main ()
75964 {
75965 return f != $ac_func;
75966   ;
75967   return 0;
75968 }
75969 _ACEOF
75970 rm -f conftest.$ac_objext conftest$ac_exeext
75971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75972   (eval $ac_link) 2>conftest.er1
75973   ac_status=$?
75974   grep -v '^ *+' conftest.er1 >conftest.err
75975   rm -f conftest.er1
75976   cat conftest.err >&5
75977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75978   (exit $ac_status); } &&
75979          { ac_try='test -z "$ac_c_werror_flag"
75980                          || test ! -s conftest.err'
75981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75982   (eval $ac_try) 2>&5
75983   ac_status=$?
75984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75985   (exit $ac_status); }; } &&
75986          { ac_try='test -s conftest$ac_exeext'
75987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75988   (eval $ac_try) 2>&5
75989   ac_status=$?
75990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75991   (exit $ac_status); }; }; then
75992   eval "$as_ac_var=yes"
75993 else
75994   echo "$as_me: failed program was:" >&5
75995 sed 's/^/| /' conftest.$ac_ext >&5
75996
75997 eval "$as_ac_var=no"
75998 fi
75999 rm -f conftest.err conftest.$ac_objext \
76000       conftest$ac_exeext conftest.$ac_ext
76001 fi
76002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76004 if test `eval echo '${'$as_ac_var'}'` = yes; then
76005   cat >>confdefs.h <<_ACEOF
76006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76007 _ACEOF
76008
76009 else
76010   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
76011 fi
76012 done
76013
76014
76015
76016 for ac_func in __signbitf
76017 do
76018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76019 echo "$as_me:$LINENO: checking for $ac_func" >&5
76020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76021 if eval "test \"\${$as_ac_var+set}\" = set"; then
76022   echo $ECHO_N "(cached) $ECHO_C" >&6
76023 else
76024   if test x$gcc_no_link = xyes; then
76025   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76027    { (exit 1); exit 1; }; }
76028 fi
76029 cat >conftest.$ac_ext <<_ACEOF
76030 /* confdefs.h.  */
76031 _ACEOF
76032 cat confdefs.h >>conftest.$ac_ext
76033 cat >>conftest.$ac_ext <<_ACEOF
76034 /* end confdefs.h.  */
76035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76036    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76037 #define $ac_func innocuous_$ac_func
76038
76039 /* System header to define __stub macros and hopefully few prototypes,
76040     which can conflict with char $ac_func (); below.
76041     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76042     <limits.h> exists even on freestanding compilers.  */
76043
76044 #ifdef __STDC__
76045 # include <limits.h>
76046 #else
76047 # include <assert.h>
76048 #endif
76049
76050 #undef $ac_func
76051
76052 /* Override any gcc2 internal prototype to avoid an error.  */
76053 #ifdef __cplusplus
76054 extern "C"
76055 {
76056 #endif
76057 /* We use char because int might match the return type of a gcc2
76058    builtin and then its argument prototype would still apply.  */
76059 char $ac_func ();
76060 /* The GNU C library defines this for functions which it implements
76061     to always fail with ENOSYS.  Some functions are actually named
76062     something starting with __ and the normal name is an alias.  */
76063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76064 choke me
76065 #else
76066 char (*f) () = $ac_func;
76067 #endif
76068 #ifdef __cplusplus
76069 }
76070 #endif
76071
76072 int
76073 main ()
76074 {
76075 return f != $ac_func;
76076   ;
76077   return 0;
76078 }
76079 _ACEOF
76080 rm -f conftest.$ac_objext conftest$ac_exeext
76081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76082   (eval $ac_link) 2>conftest.er1
76083   ac_status=$?
76084   grep -v '^ *+' conftest.er1 >conftest.err
76085   rm -f conftest.er1
76086   cat conftest.err >&5
76087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76088   (exit $ac_status); } &&
76089          { ac_try='test -z "$ac_c_werror_flag"
76090                          || test ! -s conftest.err'
76091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76092   (eval $ac_try) 2>&5
76093   ac_status=$?
76094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76095   (exit $ac_status); }; } &&
76096          { ac_try='test -s conftest$ac_exeext'
76097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76098   (eval $ac_try) 2>&5
76099   ac_status=$?
76100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76101   (exit $ac_status); }; }; then
76102   eval "$as_ac_var=yes"
76103 else
76104   echo "$as_me: failed program was:" >&5
76105 sed 's/^/| /' conftest.$ac_ext >&5
76106
76107 eval "$as_ac_var=no"
76108 fi
76109 rm -f conftest.err conftest.$ac_objext \
76110       conftest$ac_exeext conftest.$ac_ext
76111 fi
76112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76113 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76114 if test `eval echo '${'$as_ac_var'}'` = yes; then
76115   cat >>confdefs.h <<_ACEOF
76116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76117 _ACEOF
76118
76119 else
76120   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
76121 fi
76122 done
76123
76124
76125           if test x$ac_cv_func_copysignl = x"yes"; then
76126
76127 for ac_func in __signbitl
76128 do
76129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76130 echo "$as_me:$LINENO: checking for $ac_func" >&5
76131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76132 if eval "test \"\${$as_ac_var+set}\" = set"; then
76133   echo $ECHO_N "(cached) $ECHO_C" >&6
76134 else
76135   if test x$gcc_no_link = xyes; then
76136   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76138    { (exit 1); exit 1; }; }
76139 fi
76140 cat >conftest.$ac_ext <<_ACEOF
76141 /* confdefs.h.  */
76142 _ACEOF
76143 cat confdefs.h >>conftest.$ac_ext
76144 cat >>conftest.$ac_ext <<_ACEOF
76145 /* end confdefs.h.  */
76146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76147    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76148 #define $ac_func innocuous_$ac_func
76149
76150 /* System header to define __stub macros and hopefully few prototypes,
76151     which can conflict with char $ac_func (); below.
76152     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76153     <limits.h> exists even on freestanding compilers.  */
76154
76155 #ifdef __STDC__
76156 # include <limits.h>
76157 #else
76158 # include <assert.h>
76159 #endif
76160
76161 #undef $ac_func
76162
76163 /* Override any gcc2 internal prototype to avoid an error.  */
76164 #ifdef __cplusplus
76165 extern "C"
76166 {
76167 #endif
76168 /* We use char because int might match the return type of a gcc2
76169    builtin and then its argument prototype would still apply.  */
76170 char $ac_func ();
76171 /* The GNU C library defines this for functions which it implements
76172     to always fail with ENOSYS.  Some functions are actually named
76173     something starting with __ and the normal name is an alias.  */
76174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76175 choke me
76176 #else
76177 char (*f) () = $ac_func;
76178 #endif
76179 #ifdef __cplusplus
76180 }
76181 #endif
76182
76183 int
76184 main ()
76185 {
76186 return f != $ac_func;
76187   ;
76188   return 0;
76189 }
76190 _ACEOF
76191 rm -f conftest.$ac_objext conftest$ac_exeext
76192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76193   (eval $ac_link) 2>conftest.er1
76194   ac_status=$?
76195   grep -v '^ *+' conftest.er1 >conftest.err
76196   rm -f conftest.er1
76197   cat conftest.err >&5
76198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76199   (exit $ac_status); } &&
76200          { ac_try='test -z "$ac_c_werror_flag"
76201                          || test ! -s conftest.err'
76202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76203   (eval $ac_try) 2>&5
76204   ac_status=$?
76205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76206   (exit $ac_status); }; } &&
76207          { ac_try='test -s conftest$ac_exeext'
76208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76209   (eval $ac_try) 2>&5
76210   ac_status=$?
76211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76212   (exit $ac_status); }; }; then
76213   eval "$as_ac_var=yes"
76214 else
76215   echo "$as_me: failed program was:" >&5
76216 sed 's/^/| /' conftest.$ac_ext >&5
76217
76218 eval "$as_ac_var=no"
76219 fi
76220 rm -f conftest.err conftest.$ac_objext \
76221       conftest$ac_exeext conftest.$ac_ext
76222 fi
76223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76225 if test `eval echo '${'$as_ac_var'}'` = yes; then
76226   cat >>confdefs.h <<_ACEOF
76227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76228 _ACEOF
76229
76230 else
76231   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
76232 fi
76233 done
76234
76235   fi
76236
76237   # Used in libmath/Makefile.am.
76238   if test -n "$LIBMATHOBJS"; then
76239     need_libmath=yes
76240   fi
76241
76242
76243
76244
76245   enable_iconv=no
76246   # Only continue checking if the ISO C99 headers exist and support is on.
76247   if test x"$enable_wchar_t" = xyes; then
76248
76249     # Use iconv for wchar_t to char conversions. As such, check for
76250     # X/Open Portability Guide, version 2 features (XPG2).
76251     if test "${ac_cv_header_iconv_h+set}" = set; then
76252   echo "$as_me:$LINENO: checking for iconv.h" >&5
76253 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76254 if test "${ac_cv_header_iconv_h+set}" = set; then
76255   echo $ECHO_N "(cached) $ECHO_C" >&6
76256 fi
76257 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76258 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76259 else
76260   # Is the header compilable?
76261 echo "$as_me:$LINENO: checking iconv.h usability" >&5
76262 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
76263 cat >conftest.$ac_ext <<_ACEOF
76264 /* confdefs.h.  */
76265 _ACEOF
76266 cat confdefs.h >>conftest.$ac_ext
76267 cat >>conftest.$ac_ext <<_ACEOF
76268 /* end confdefs.h.  */
76269 $ac_includes_default
76270 #include <iconv.h>
76271 _ACEOF
76272 rm -f conftest.$ac_objext
76273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76274   (eval $ac_compile) 2>conftest.er1
76275   ac_status=$?
76276   grep -v '^ *+' conftest.er1 >conftest.err
76277   rm -f conftest.er1
76278   cat conftest.err >&5
76279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76280   (exit $ac_status); } &&
76281          { ac_try='test -z "$ac_c_werror_flag"
76282                          || test ! -s conftest.err'
76283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76284   (eval $ac_try) 2>&5
76285   ac_status=$?
76286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76287   (exit $ac_status); }; } &&
76288          { ac_try='test -s conftest.$ac_objext'
76289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76290   (eval $ac_try) 2>&5
76291   ac_status=$?
76292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76293   (exit $ac_status); }; }; then
76294   ac_header_compiler=yes
76295 else
76296   echo "$as_me: failed program was:" >&5
76297 sed 's/^/| /' conftest.$ac_ext >&5
76298
76299 ac_header_compiler=no
76300 fi
76301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76302 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76303 echo "${ECHO_T}$ac_header_compiler" >&6
76304
76305 # Is the header present?
76306 echo "$as_me:$LINENO: checking iconv.h presence" >&5
76307 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
76308 cat >conftest.$ac_ext <<_ACEOF
76309 /* confdefs.h.  */
76310 _ACEOF
76311 cat confdefs.h >>conftest.$ac_ext
76312 cat >>conftest.$ac_ext <<_ACEOF
76313 /* end confdefs.h.  */
76314 #include <iconv.h>
76315 _ACEOF
76316 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76317   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76318   ac_status=$?
76319   grep -v '^ *+' conftest.er1 >conftest.err
76320   rm -f conftest.er1
76321   cat conftest.err >&5
76322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76323   (exit $ac_status); } >/dev/null; then
76324   if test -s conftest.err; then
76325     ac_cpp_err=$ac_c_preproc_warn_flag
76326     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76327   else
76328     ac_cpp_err=
76329   fi
76330 else
76331   ac_cpp_err=yes
76332 fi
76333 if test -z "$ac_cpp_err"; then
76334   ac_header_preproc=yes
76335 else
76336   echo "$as_me: failed program was:" >&5
76337 sed 's/^/| /' conftest.$ac_ext >&5
76338
76339   ac_header_preproc=no
76340 fi
76341 rm -f conftest.err conftest.$ac_ext
76342 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76343 echo "${ECHO_T}$ac_header_preproc" >&6
76344
76345 # So?  What about this header?
76346 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76347   yes:no: )
76348     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
76349 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76350     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
76351 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
76352     ac_header_preproc=yes
76353     ;;
76354   no:yes:* )
76355     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
76356 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
76357     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
76358 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
76359     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
76360 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
76361     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
76362 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
76363     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
76364 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
76365     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
76366 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
76367     (
76368       cat <<\_ASBOX
76369 ## ----------------------------------------- ##
76370 ## Report this to the package-unused lists.  ##
76371 ## ----------------------------------------- ##
76372 _ASBOX
76373     ) |
76374       sed "s/^/$as_me: WARNING:     /" >&2
76375     ;;
76376 esac
76377 echo "$as_me:$LINENO: checking for iconv.h" >&5
76378 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76379 if test "${ac_cv_header_iconv_h+set}" = set; then
76380   echo $ECHO_N "(cached) $ECHO_C" >&6
76381 else
76382   ac_cv_header_iconv_h=$ac_header_preproc
76383 fi
76384 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76385 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76386
76387 fi
76388 if test $ac_cv_header_iconv_h = yes; then
76389   ac_has_iconv_h=yes
76390 else
76391   ac_has_iconv_h=no
76392 fi
76393
76394
76395     if test "${ac_cv_header_langinfo_h+set}" = set; then
76396   echo "$as_me:$LINENO: checking for langinfo.h" >&5
76397 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76398 if test "${ac_cv_header_langinfo_h+set}" = set; then
76399   echo $ECHO_N "(cached) $ECHO_C" >&6
76400 fi
76401 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76402 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76403 else
76404   # Is the header compilable?
76405 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
76406 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
76407 cat >conftest.$ac_ext <<_ACEOF
76408 /* confdefs.h.  */
76409 _ACEOF
76410 cat confdefs.h >>conftest.$ac_ext
76411 cat >>conftest.$ac_ext <<_ACEOF
76412 /* end confdefs.h.  */
76413 $ac_includes_default
76414 #include <langinfo.h>
76415 _ACEOF
76416 rm -f conftest.$ac_objext
76417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76418   (eval $ac_compile) 2>conftest.er1
76419   ac_status=$?
76420   grep -v '^ *+' conftest.er1 >conftest.err
76421   rm -f conftest.er1
76422   cat conftest.err >&5
76423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76424   (exit $ac_status); } &&
76425          { ac_try='test -z "$ac_c_werror_flag"
76426                          || test ! -s conftest.err'
76427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76428   (eval $ac_try) 2>&5
76429   ac_status=$?
76430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76431   (exit $ac_status); }; } &&
76432          { ac_try='test -s conftest.$ac_objext'
76433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76434   (eval $ac_try) 2>&5
76435   ac_status=$?
76436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76437   (exit $ac_status); }; }; then
76438   ac_header_compiler=yes
76439 else
76440   echo "$as_me: failed program was:" >&5
76441 sed 's/^/| /' conftest.$ac_ext >&5
76442
76443 ac_header_compiler=no
76444 fi
76445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76446 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76447 echo "${ECHO_T}$ac_header_compiler" >&6
76448
76449 # Is the header present?
76450 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76451 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
76452 cat >conftest.$ac_ext <<_ACEOF
76453 /* confdefs.h.  */
76454 _ACEOF
76455 cat confdefs.h >>conftest.$ac_ext
76456 cat >>conftest.$ac_ext <<_ACEOF
76457 /* end confdefs.h.  */
76458 #include <langinfo.h>
76459 _ACEOF
76460 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76461   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76462   ac_status=$?
76463   grep -v '^ *+' conftest.er1 >conftest.err
76464   rm -f conftest.er1
76465   cat conftest.err >&5
76466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76467   (exit $ac_status); } >/dev/null; then
76468   if test -s conftest.err; then
76469     ac_cpp_err=$ac_c_preproc_warn_flag
76470     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76471   else
76472     ac_cpp_err=
76473   fi
76474 else
76475   ac_cpp_err=yes
76476 fi
76477 if test -z "$ac_cpp_err"; then
76478   ac_header_preproc=yes
76479 else
76480   echo "$as_me: failed program was:" >&5
76481 sed 's/^/| /' conftest.$ac_ext >&5
76482
76483   ac_header_preproc=no
76484 fi
76485 rm -f conftest.err conftest.$ac_ext
76486 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76487 echo "${ECHO_T}$ac_header_preproc" >&6
76488
76489 # So?  What about this header?
76490 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76491   yes:no: )
76492     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76493 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76494     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76495 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76496     ac_header_preproc=yes
76497     ;;
76498   no:yes:* )
76499     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76500 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76501     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
76502 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
76503     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76504 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76505     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
76506 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
76507     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
76508 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
76509     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
76510 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
76511     (
76512       cat <<\_ASBOX
76513 ## ----------------------------------------- ##
76514 ## Report this to the package-unused lists.  ##
76515 ## ----------------------------------------- ##
76516 _ASBOX
76517     ) |
76518       sed "s/^/$as_me: WARNING:     /" >&2
76519     ;;
76520 esac
76521 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76522 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76523 if test "${ac_cv_header_langinfo_h+set}" = set; then
76524   echo $ECHO_N "(cached) $ECHO_C" >&6
76525 else
76526   ac_cv_header_langinfo_h=$ac_header_preproc
76527 fi
76528 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76529 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76530
76531 fi
76532 if test $ac_cv_header_langinfo_h = yes; then
76533   ac_has_langinfo_h=yes
76534 else
76535   ac_has_langinfo_h=no
76536 fi
76537
76538
76539
76540     # Check for existence of libiconv.a providing XPG2 wchar_t support.
76541     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
76542 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
76543 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
76544   echo $ECHO_N "(cached) $ECHO_C" >&6
76545 else
76546   ac_check_lib_save_LIBS=$LIBS
76547 LIBS="-liconv  $LIBS"
76548 if test x$gcc_no_link = xyes; then
76549   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76551    { (exit 1); exit 1; }; }
76552 fi
76553 cat >conftest.$ac_ext <<_ACEOF
76554 /* confdefs.h.  */
76555 _ACEOF
76556 cat confdefs.h >>conftest.$ac_ext
76557 cat >>conftest.$ac_ext <<_ACEOF
76558 /* end confdefs.h.  */
76559
76560 /* Override any gcc2 internal prototype to avoid an error.  */
76561 #ifdef __cplusplus
76562 extern "C"
76563 #endif
76564 /* We use char because int might match the return type of a gcc2
76565    builtin and then its argument prototype would still apply.  */
76566 char iconv ();
76567 int
76568 main ()
76569 {
76570 iconv ();
76571   ;
76572   return 0;
76573 }
76574 _ACEOF
76575 rm -f conftest.$ac_objext conftest$ac_exeext
76576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76577   (eval $ac_link) 2>conftest.er1
76578   ac_status=$?
76579   grep -v '^ *+' conftest.er1 >conftest.err
76580   rm -f conftest.er1
76581   cat conftest.err >&5
76582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76583   (exit $ac_status); } &&
76584          { ac_try='test -z "$ac_c_werror_flag"
76585                          || test ! -s conftest.err'
76586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76587   (eval $ac_try) 2>&5
76588   ac_status=$?
76589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76590   (exit $ac_status); }; } &&
76591          { ac_try='test -s conftest$ac_exeext'
76592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76593   (eval $ac_try) 2>&5
76594   ac_status=$?
76595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76596   (exit $ac_status); }; }; then
76597   ac_cv_lib_iconv_iconv=yes
76598 else
76599   echo "$as_me: failed program was:" >&5
76600 sed 's/^/| /' conftest.$ac_ext >&5
76601
76602 ac_cv_lib_iconv_iconv=no
76603 fi
76604 rm -f conftest.err conftest.$ac_objext \
76605       conftest$ac_exeext conftest.$ac_ext
76606 LIBS=$ac_check_lib_save_LIBS
76607 fi
76608 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
76609 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
76610 if test $ac_cv_lib_iconv_iconv = yes; then
76611   LIBICONV="-liconv"
76612 fi
76613
76614     ac_save_LIBS="$LIBS"
76615     LIBS="$LIBS $LIBICONV"
76616
76617
76618
76619
76620
76621
76622 for ac_func in iconv_open iconv_close iconv nl_langinfo
76623 do
76624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76625 echo "$as_me:$LINENO: checking for $ac_func" >&5
76626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76627 if eval "test \"\${$as_ac_var+set}\" = set"; then
76628   echo $ECHO_N "(cached) $ECHO_C" >&6
76629 else
76630   if test x$gcc_no_link = xyes; then
76631   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76633    { (exit 1); exit 1; }; }
76634 fi
76635 cat >conftest.$ac_ext <<_ACEOF
76636 /* confdefs.h.  */
76637 _ACEOF
76638 cat confdefs.h >>conftest.$ac_ext
76639 cat >>conftest.$ac_ext <<_ACEOF
76640 /* end confdefs.h.  */
76641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76642    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76643 #define $ac_func innocuous_$ac_func
76644
76645 /* System header to define __stub macros and hopefully few prototypes,
76646     which can conflict with char $ac_func (); below.
76647     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76648     <limits.h> exists even on freestanding compilers.  */
76649
76650 #ifdef __STDC__
76651 # include <limits.h>
76652 #else
76653 # include <assert.h>
76654 #endif
76655
76656 #undef $ac_func
76657
76658 /* Override any gcc2 internal prototype to avoid an error.  */
76659 #ifdef __cplusplus
76660 extern "C"
76661 {
76662 #endif
76663 /* We use char because int might match the return type of a gcc2
76664    builtin and then its argument prototype would still apply.  */
76665 char $ac_func ();
76666 /* The GNU C library defines this for functions which it implements
76667     to always fail with ENOSYS.  Some functions are actually named
76668     something starting with __ and the normal name is an alias.  */
76669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76670 choke me
76671 #else
76672 char (*f) () = $ac_func;
76673 #endif
76674 #ifdef __cplusplus
76675 }
76676 #endif
76677
76678 int
76679 main ()
76680 {
76681 return f != $ac_func;
76682   ;
76683   return 0;
76684 }
76685 _ACEOF
76686 rm -f conftest.$ac_objext conftest$ac_exeext
76687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76688   (eval $ac_link) 2>conftest.er1
76689   ac_status=$?
76690   grep -v '^ *+' conftest.er1 >conftest.err
76691   rm -f conftest.er1
76692   cat conftest.err >&5
76693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76694   (exit $ac_status); } &&
76695          { ac_try='test -z "$ac_c_werror_flag"
76696                          || test ! -s conftest.err'
76697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76698   (eval $ac_try) 2>&5
76699   ac_status=$?
76700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76701   (exit $ac_status); }; } &&
76702          { ac_try='test -s conftest$ac_exeext'
76703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76704   (eval $ac_try) 2>&5
76705   ac_status=$?
76706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76707   (exit $ac_status); }; }; then
76708   eval "$as_ac_var=yes"
76709 else
76710   echo "$as_me: failed program was:" >&5
76711 sed 's/^/| /' conftest.$ac_ext >&5
76712
76713 eval "$as_ac_var=no"
76714 fi
76715 rm -f conftest.err conftest.$ac_objext \
76716       conftest$ac_exeext conftest.$ac_ext
76717 fi
76718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76720 if test `eval echo '${'$as_ac_var'}'` = yes; then
76721   cat >>confdefs.h <<_ACEOF
76722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76723 _ACEOF
76724  ac_XPG2funcs=yes
76725 else
76726   ac_XPG2funcs=no
76727 fi
76728 done
76729
76730
76731     LIBS="$ac_save_LIBS"
76732
76733     if test x"$ac_has_iconv_h" = xyes &&
76734        test x"$ac_has_langinfo_h" = xyes &&
76735        test x"$ac_XPG2funcs" = xyes;
76736     then
76737
76738 cat >>confdefs.h <<\_ACEOF
76739 #define _GLIBCXX_USE_ICONV 1
76740 _ACEOF
76741
76742       enable_iconv=yes
76743     fi
76744   fi
76745   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
76746 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
76747   echo "$as_me:$LINENO: result: $enable_iconv" >&5
76748 echo "${ECHO_T}$enable_iconv" >&6
76749
76750     cat >>confdefs.h <<\_ACEOF
76751 #define HAVE_COPYSIGN 1
76752 _ACEOF
76753
76754     cat >>confdefs.h <<\_ACEOF
76755 #define HAVE_COPYSIGNF 1
76756 _ACEOF
76757
76758     cat >>confdefs.h <<\_ACEOF
76759 #define HAVE_FREXPF 1
76760 _ACEOF
76761
76762     cat >>confdefs.h <<\_ACEOF
76763 #define HAVE_HYPOT 1
76764 _ACEOF
76765
76766     case "$target" in
76767       *-hpux10*)
76768         cat >>confdefs.h <<\_ACEOF
76769 #define HAVE_FINITE 1
76770 _ACEOF
76771
76772         cat >>confdefs.h <<\_ACEOF
76773 #define HAVE_FINITEF 1
76774 _ACEOF
76775
76776         cat >>confdefs.h <<\_ACEOF
76777 #define HAVE_ISINF 1
76778 _ACEOF
76779
76780         cat >>confdefs.h <<\_ACEOF
76781 #define HAVE_ISINFF 1
76782 _ACEOF
76783
76784         cat >>confdefs.h <<\_ACEOF
76785 #define HAVE_ISNAN 1
76786 _ACEOF
76787
76788         cat >>confdefs.h <<\_ACEOF
76789 #define HAVE_ISNANF 1
76790 _ACEOF
76791
76792         ;;
76793     esac
76794     ;;
76795   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
76796
76797
76798
76799
76800
76801
76802
76803
76804
76805
76806
76807
76808
76809
76810
76811 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
76812       machine/endian.h machine/param.h sys/machine.h sys/types.h \
76813       fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
76814 do
76815 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76816 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76817   echo "$as_me:$LINENO: checking for $ac_header" >&5
76818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76819 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76820   echo $ECHO_N "(cached) $ECHO_C" >&6
76821 fi
76822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76823 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76824 else
76825   # Is the header compilable?
76826 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76827 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76828 cat >conftest.$ac_ext <<_ACEOF
76829 /* confdefs.h.  */
76830 _ACEOF
76831 cat confdefs.h >>conftest.$ac_ext
76832 cat >>conftest.$ac_ext <<_ACEOF
76833 /* end confdefs.h.  */
76834 $ac_includes_default
76835 #include <$ac_header>
76836 _ACEOF
76837 rm -f conftest.$ac_objext
76838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76839   (eval $ac_compile) 2>conftest.er1
76840   ac_status=$?
76841   grep -v '^ *+' conftest.er1 >conftest.err
76842   rm -f conftest.er1
76843   cat conftest.err >&5
76844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76845   (exit $ac_status); } &&
76846          { ac_try='test -z "$ac_c_werror_flag"
76847                          || test ! -s conftest.err'
76848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76849   (eval $ac_try) 2>&5
76850   ac_status=$?
76851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76852   (exit $ac_status); }; } &&
76853          { ac_try='test -s conftest.$ac_objext'
76854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76855   (eval $ac_try) 2>&5
76856   ac_status=$?
76857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76858   (exit $ac_status); }; }; then
76859   ac_header_compiler=yes
76860 else
76861   echo "$as_me: failed program was:" >&5
76862 sed 's/^/| /' conftest.$ac_ext >&5
76863
76864 ac_header_compiler=no
76865 fi
76866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76867 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76868 echo "${ECHO_T}$ac_header_compiler" >&6
76869
76870 # Is the header present?
76871 echo "$as_me:$LINENO: checking $ac_header presence" >&5
76872 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
76873 cat >conftest.$ac_ext <<_ACEOF
76874 /* confdefs.h.  */
76875 _ACEOF
76876 cat confdefs.h >>conftest.$ac_ext
76877 cat >>conftest.$ac_ext <<_ACEOF
76878 /* end confdefs.h.  */
76879 #include <$ac_header>
76880 _ACEOF
76881 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76882   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76883   ac_status=$?
76884   grep -v '^ *+' conftest.er1 >conftest.err
76885   rm -f conftest.er1
76886   cat conftest.err >&5
76887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76888   (exit $ac_status); } >/dev/null; then
76889   if test -s conftest.err; then
76890     ac_cpp_err=$ac_c_preproc_warn_flag
76891     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76892   else
76893     ac_cpp_err=
76894   fi
76895 else
76896   ac_cpp_err=yes
76897 fi
76898 if test -z "$ac_cpp_err"; then
76899   ac_header_preproc=yes
76900 else
76901   echo "$as_me: failed program was:" >&5
76902 sed 's/^/| /' conftest.$ac_ext >&5
76903
76904   ac_header_preproc=no
76905 fi
76906 rm -f conftest.err conftest.$ac_ext
76907 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76908 echo "${ECHO_T}$ac_header_preproc" >&6
76909
76910 # So?  What about this header?
76911 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76912   yes:no: )
76913     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76914 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76915     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76916 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76917     ac_header_preproc=yes
76918     ;;
76919   no:yes:* )
76920     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76921 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76922     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
76923 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
76924     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76925 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76926     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
76927 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
76928     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76929 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76930     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76931 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76932     (
76933       cat <<\_ASBOX
76934 ## ----------------------------------------- ##
76935 ## Report this to the package-unused lists.  ##
76936 ## ----------------------------------------- ##
76937 _ASBOX
76938     ) |
76939       sed "s/^/$as_me: WARNING:     /" >&2
76940     ;;
76941 esac
76942 echo "$as_me:$LINENO: checking for $ac_header" >&5
76943 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76944 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76945   echo $ECHO_N "(cached) $ECHO_C" >&6
76946 else
76947   eval "$as_ac_Header=\$ac_header_preproc"
76948 fi
76949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76950 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76951
76952 fi
76953 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76954   cat >>confdefs.h <<_ACEOF
76955 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76956 _ACEOF
76957
76958 fi
76959
76960 done
76961
76962     SECTION_FLAGS='-ffunction-sections -fdata-sections'
76963
76964
76965   # If we're not using GNU ld, then there's no point in even trying these
76966   # tests.  Check for that first.  We should have already tested for gld
76967   # by now (in libtool), but require it now just to be safe...
76968   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
76969   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
76970
76971
76972
76973   # The name set by libtool depends on the version of libtool.  Shame on us
76974   # for depending on an impl detail, but c'est la vie.  Older versions used
76975   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
76976   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
76977   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
76978   # set (hence we're using an older libtool), then set it.
76979   if test x${with_gnu_ld+set} != xset; then
76980     if test x${ac_cv_prog_gnu_ld+set} != xset; then
76981       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
76982       with_gnu_ld=no
76983     else
76984       with_gnu_ld=$ac_cv_prog_gnu_ld
76985     fi
76986   fi
76987
76988   # Start by getting the version number.  I think the libtool test already
76989   # does some of this, but throws away the result.
76990
76991   ldver=`$LD --version 2>/dev/null | head -1 | \
76992          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
76993
76994   glibcxx_gnu_ld_version=`echo $ldver | \
76995          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
76996
76997   # Set --gc-sections.
76998   if test "$with_gnu_ld" = "notbroken"; then
76999     # GNU ld it is!  Joy and bunny rabbits!
77000
77001     # All these tests are for C++; save the language and the compiler flags.
77002     # Need to do this so that g++ won't try to link in libstdc++
77003     ac_test_CFLAGS="${CFLAGS+set}"
77004     ac_save_CFLAGS="$CFLAGS"
77005     CFLAGS='-x c++  -Wl,--gc-sections'
77006
77007     # Check for -Wl,--gc-sections
77008     # XXX This test is broken at the moment, as symbols required for linking
77009     # are now in libsupc++ (not built yet).  In addition, this test has
77010     # cored on solaris in the past.  In addition, --gc-sections doesn't
77011     # really work at the moment (keeps on discarding used sections, first
77012     # .eh_frame and now some of the glibc sections for iconv).
77013     # Bzzzzt.  Thanks for playing, maybe next time.
77014     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77015 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77016     if test "$cross_compiling" = yes; then
77017   ac_sectionLDflags=yes
77018 else
77019   cat >conftest.$ac_ext <<_ACEOF
77020 /* confdefs.h.  */
77021 _ACEOF
77022 cat confdefs.h >>conftest.$ac_ext
77023 cat >>conftest.$ac_ext <<_ACEOF
77024 /* end confdefs.h.  */
77025
77026      int main(void)
77027      {
77028        try { throw 1; }
77029        catch (...) { };
77030        return 0;
77031      }
77032
77033 _ACEOF
77034 rm -f conftest$ac_exeext
77035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77036   (eval $ac_link) 2>&5
77037   ac_status=$?
77038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77039   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
77040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77041   (eval $ac_try) 2>&5
77042   ac_status=$?
77043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77044   (exit $ac_status); }; }; then
77045   ac_sectionLDflags=yes
77046 else
77047   echo "$as_me: program exited with status $ac_status" >&5
77048 echo "$as_me: failed program was:" >&5
77049 sed 's/^/| /' conftest.$ac_ext >&5
77050
77051 ( exit $ac_status )
77052 ac_sectionLDflags=no
77053 fi
77054 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
77055 fi
77056     if test "$ac_test_CFLAGS" = set; then
77057       CFLAGS="$ac_save_CFLAGS"
77058     else
77059       # this is the suspicious part
77060       CFLAGS=''
77061     fi
77062     if test "$ac_sectionLDflags" = "yes"; then
77063       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77064     fi
77065     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
77066 echo "${ECHO_T}$ac_sectionLDflags" >&6
77067   fi
77068
77069   # Set linker optimization flags.
77070   if test x"$with_gnu_ld" = x"yes"; then
77071     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77072   fi
77073
77074
77075
77076
77077
77078
77079 echo "$as_me:$LINENO: checking for main in -lm" >&5
77080 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77081 if test "${ac_cv_lib_m_main+set}" = set; then
77082   echo $ECHO_N "(cached) $ECHO_C" >&6
77083 else
77084   ac_check_lib_save_LIBS=$LIBS
77085 LIBS="-lm  $LIBS"
77086 if test x$gcc_no_link = xyes; then
77087   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77089    { (exit 1); exit 1; }; }
77090 fi
77091 cat >conftest.$ac_ext <<_ACEOF
77092 /* confdefs.h.  */
77093 _ACEOF
77094 cat confdefs.h >>conftest.$ac_ext
77095 cat >>conftest.$ac_ext <<_ACEOF
77096 /* end confdefs.h.  */
77097
77098
77099 int
77100 main ()
77101 {
77102 main ();
77103   ;
77104   return 0;
77105 }
77106 _ACEOF
77107 rm -f conftest.$ac_objext conftest$ac_exeext
77108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77109   (eval $ac_link) 2>conftest.er1
77110   ac_status=$?
77111   grep -v '^ *+' conftest.er1 >conftest.err
77112   rm -f conftest.er1
77113   cat conftest.err >&5
77114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77115   (exit $ac_status); } &&
77116          { ac_try='test -z "$ac_c_werror_flag"
77117                          || test ! -s conftest.err'
77118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77119   (eval $ac_try) 2>&5
77120   ac_status=$?
77121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77122   (exit $ac_status); }; } &&
77123          { ac_try='test -s conftest$ac_exeext'
77124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77125   (eval $ac_try) 2>&5
77126   ac_status=$?
77127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77128   (exit $ac_status); }; }; then
77129   ac_cv_lib_m_main=yes
77130 else
77131   echo "$as_me: failed program was:" >&5
77132 sed 's/^/| /' conftest.$ac_ext >&5
77133
77134 ac_cv_lib_m_main=no
77135 fi
77136 rm -f conftest.err conftest.$ac_objext \
77137       conftest$ac_exeext conftest.$ac_ext
77138 LIBS=$ac_check_lib_save_LIBS
77139 fi
77140 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77141 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77142 if test $ac_cv_lib_m_main = yes; then
77143   cat >>confdefs.h <<_ACEOF
77144 #define HAVE_LIBM 1
77145 _ACEOF
77146
77147   LIBS="-lm $LIBS"
77148
77149 fi
77150
77151
77152 for ac_func in copysignf
77153 do
77154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77155 echo "$as_me:$LINENO: checking for $ac_func" >&5
77156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77157 if eval "test \"\${$as_ac_var+set}\" = set"; then
77158   echo $ECHO_N "(cached) $ECHO_C" >&6
77159 else
77160   if test x$gcc_no_link = xyes; then
77161   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77163    { (exit 1); exit 1; }; }
77164 fi
77165 cat >conftest.$ac_ext <<_ACEOF
77166 /* confdefs.h.  */
77167 _ACEOF
77168 cat confdefs.h >>conftest.$ac_ext
77169 cat >>conftest.$ac_ext <<_ACEOF
77170 /* end confdefs.h.  */
77171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77172    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77173 #define $ac_func innocuous_$ac_func
77174
77175 /* System header to define __stub macros and hopefully few prototypes,
77176     which can conflict with char $ac_func (); below.
77177     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77178     <limits.h> exists even on freestanding compilers.  */
77179
77180 #ifdef __STDC__
77181 # include <limits.h>
77182 #else
77183 # include <assert.h>
77184 #endif
77185
77186 #undef $ac_func
77187
77188 /* Override any gcc2 internal prototype to avoid an error.  */
77189 #ifdef __cplusplus
77190 extern "C"
77191 {
77192 #endif
77193 /* We use char because int might match the return type of a gcc2
77194    builtin and then its argument prototype would still apply.  */
77195 char $ac_func ();
77196 /* The GNU C library defines this for functions which it implements
77197     to always fail with ENOSYS.  Some functions are actually named
77198     something starting with __ and the normal name is an alias.  */
77199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77200 choke me
77201 #else
77202 char (*f) () = $ac_func;
77203 #endif
77204 #ifdef __cplusplus
77205 }
77206 #endif
77207
77208 int
77209 main ()
77210 {
77211 return f != $ac_func;
77212   ;
77213   return 0;
77214 }
77215 _ACEOF
77216 rm -f conftest.$ac_objext conftest$ac_exeext
77217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77218   (eval $ac_link) 2>conftest.er1
77219   ac_status=$?
77220   grep -v '^ *+' conftest.er1 >conftest.err
77221   rm -f conftest.er1
77222   cat conftest.err >&5
77223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77224   (exit $ac_status); } &&
77225          { ac_try='test -z "$ac_c_werror_flag"
77226                          || test ! -s conftest.err'
77227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77228   (eval $ac_try) 2>&5
77229   ac_status=$?
77230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77231   (exit $ac_status); }; } &&
77232          { ac_try='test -s conftest$ac_exeext'
77233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77234   (eval $ac_try) 2>&5
77235   ac_status=$?
77236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77237   (exit $ac_status); }; }; then
77238   eval "$as_ac_var=yes"
77239 else
77240   echo "$as_me: failed program was:" >&5
77241 sed 's/^/| /' conftest.$ac_ext >&5
77242
77243 eval "$as_ac_var=no"
77244 fi
77245 rm -f conftest.err conftest.$ac_objext \
77246       conftest$ac_exeext conftest.$ac_ext
77247 fi
77248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77250 if test `eval echo '${'$as_ac_var'}'` = yes; then
77251   cat >>confdefs.h <<_ACEOF
77252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77253 _ACEOF
77254
77255 else
77256   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77257 fi
77258 done
77259
77260
77261
77262 for ac_func in __signbit
77263 do
77264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77265 echo "$as_me:$LINENO: checking for $ac_func" >&5
77266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77267 if eval "test \"\${$as_ac_var+set}\" = set"; then
77268   echo $ECHO_N "(cached) $ECHO_C" >&6
77269 else
77270   if test x$gcc_no_link = xyes; then
77271   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77273    { (exit 1); exit 1; }; }
77274 fi
77275 cat >conftest.$ac_ext <<_ACEOF
77276 /* confdefs.h.  */
77277 _ACEOF
77278 cat confdefs.h >>conftest.$ac_ext
77279 cat >>conftest.$ac_ext <<_ACEOF
77280 /* end confdefs.h.  */
77281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77282    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77283 #define $ac_func innocuous_$ac_func
77284
77285 /* System header to define __stub macros and hopefully few prototypes,
77286     which can conflict with char $ac_func (); below.
77287     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77288     <limits.h> exists even on freestanding compilers.  */
77289
77290 #ifdef __STDC__
77291 # include <limits.h>
77292 #else
77293 # include <assert.h>
77294 #endif
77295
77296 #undef $ac_func
77297
77298 /* Override any gcc2 internal prototype to avoid an error.  */
77299 #ifdef __cplusplus
77300 extern "C"
77301 {
77302 #endif
77303 /* We use char because int might match the return type of a gcc2
77304    builtin and then its argument prototype would still apply.  */
77305 char $ac_func ();
77306 /* The GNU C library defines this for functions which it implements
77307     to always fail with ENOSYS.  Some functions are actually named
77308     something starting with __ and the normal name is an alias.  */
77309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77310 choke me
77311 #else
77312 char (*f) () = $ac_func;
77313 #endif
77314 #ifdef __cplusplus
77315 }
77316 #endif
77317
77318 int
77319 main ()
77320 {
77321 return f != $ac_func;
77322   ;
77323   return 0;
77324 }
77325 _ACEOF
77326 rm -f conftest.$ac_objext conftest$ac_exeext
77327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77328   (eval $ac_link) 2>conftest.er1
77329   ac_status=$?
77330   grep -v '^ *+' conftest.er1 >conftest.err
77331   rm -f conftest.er1
77332   cat conftest.err >&5
77333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77334   (exit $ac_status); } &&
77335          { ac_try='test -z "$ac_c_werror_flag"
77336                          || test ! -s conftest.err'
77337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77338   (eval $ac_try) 2>&5
77339   ac_status=$?
77340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77341   (exit $ac_status); }; } &&
77342          { ac_try='test -s conftest$ac_exeext'
77343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77344   (eval $ac_try) 2>&5
77345   ac_status=$?
77346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77347   (exit $ac_status); }; }; then
77348   eval "$as_ac_var=yes"
77349 else
77350   echo "$as_me: failed program was:" >&5
77351 sed 's/^/| /' conftest.$ac_ext >&5
77352
77353 eval "$as_ac_var=no"
77354 fi
77355 rm -f conftest.err conftest.$ac_objext \
77356       conftest$ac_exeext conftest.$ac_ext
77357 fi
77358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77360 if test `eval echo '${'$as_ac_var'}'` = yes; then
77361   cat >>confdefs.h <<_ACEOF
77362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77363 _ACEOF
77364
77365 else
77366   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77367 fi
77368 done
77369
77370
77371
77372 for ac_func in __signbitf
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 signbitf.lo"
77477 fi
77478 done
77479
77480
77481           if test x$ac_cv_func_copysignl = x"yes"; then
77482
77483 for ac_func in __signbitl
77484 do
77485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77486 echo "$as_me:$LINENO: checking for $ac_func" >&5
77487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77488 if eval "test \"\${$as_ac_var+set}\" = set"; then
77489   echo $ECHO_N "(cached) $ECHO_C" >&6
77490 else
77491   if test x$gcc_no_link = xyes; then
77492   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77494    { (exit 1); exit 1; }; }
77495 fi
77496 cat >conftest.$ac_ext <<_ACEOF
77497 /* confdefs.h.  */
77498 _ACEOF
77499 cat confdefs.h >>conftest.$ac_ext
77500 cat >>conftest.$ac_ext <<_ACEOF
77501 /* end confdefs.h.  */
77502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77503    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77504 #define $ac_func innocuous_$ac_func
77505
77506 /* System header to define __stub macros and hopefully few prototypes,
77507     which can conflict with char $ac_func (); below.
77508     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77509     <limits.h> exists even on freestanding compilers.  */
77510
77511 #ifdef __STDC__
77512 # include <limits.h>
77513 #else
77514 # include <assert.h>
77515 #endif
77516
77517 #undef $ac_func
77518
77519 /* Override any gcc2 internal prototype to avoid an error.  */
77520 #ifdef __cplusplus
77521 extern "C"
77522 {
77523 #endif
77524 /* We use char because int might match the return type of a gcc2
77525    builtin and then its argument prototype would still apply.  */
77526 char $ac_func ();
77527 /* The GNU C library defines this for functions which it implements
77528     to always fail with ENOSYS.  Some functions are actually named
77529     something starting with __ and the normal name is an alias.  */
77530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77531 choke me
77532 #else
77533 char (*f) () = $ac_func;
77534 #endif
77535 #ifdef __cplusplus
77536 }
77537 #endif
77538
77539 int
77540 main ()
77541 {
77542 return f != $ac_func;
77543   ;
77544   return 0;
77545 }
77546 _ACEOF
77547 rm -f conftest.$ac_objext conftest$ac_exeext
77548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77549   (eval $ac_link) 2>conftest.er1
77550   ac_status=$?
77551   grep -v '^ *+' conftest.er1 >conftest.err
77552   rm -f conftest.er1
77553   cat conftest.err >&5
77554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77555   (exit $ac_status); } &&
77556          { ac_try='test -z "$ac_c_werror_flag"
77557                          || test ! -s conftest.err'
77558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77559   (eval $ac_try) 2>&5
77560   ac_status=$?
77561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77562   (exit $ac_status); }; } &&
77563          { ac_try='test -s conftest$ac_exeext'
77564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77565   (eval $ac_try) 2>&5
77566   ac_status=$?
77567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77568   (exit $ac_status); }; }; then
77569   eval "$as_ac_var=yes"
77570 else
77571   echo "$as_me: failed program was:" >&5
77572 sed 's/^/| /' conftest.$ac_ext >&5
77573
77574 eval "$as_ac_var=no"
77575 fi
77576 rm -f conftest.err conftest.$ac_objext \
77577       conftest$ac_exeext conftest.$ac_ext
77578 fi
77579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77581 if test `eval echo '${'$as_ac_var'}'` = yes; then
77582   cat >>confdefs.h <<_ACEOF
77583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77584 _ACEOF
77585
77586 else
77587   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
77588 fi
77589 done
77590
77591   fi
77592
77593   # Used in libmath/Makefile.am.
77594   if test -n "$LIBMATHOBJS"; then
77595     need_libmath=yes
77596   fi
77597
77598
77599
77600
77601   enable_iconv=no
77602   # Only continue checking if the ISO C99 headers exist and support is on.
77603   if test x"$enable_wchar_t" = xyes; then
77604
77605     # Use iconv for wchar_t to char conversions. As such, check for
77606     # X/Open Portability Guide, version 2 features (XPG2).
77607     if test "${ac_cv_header_iconv_h+set}" = set; then
77608   echo "$as_me:$LINENO: checking for iconv.h" >&5
77609 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77610 if test "${ac_cv_header_iconv_h+set}" = set; then
77611   echo $ECHO_N "(cached) $ECHO_C" >&6
77612 fi
77613 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77614 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77615 else
77616   # Is the header compilable?
77617 echo "$as_me:$LINENO: checking iconv.h usability" >&5
77618 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
77619 cat >conftest.$ac_ext <<_ACEOF
77620 /* confdefs.h.  */
77621 _ACEOF
77622 cat confdefs.h >>conftest.$ac_ext
77623 cat >>conftest.$ac_ext <<_ACEOF
77624 /* end confdefs.h.  */
77625 $ac_includes_default
77626 #include <iconv.h>
77627 _ACEOF
77628 rm -f conftest.$ac_objext
77629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77630   (eval $ac_compile) 2>conftest.er1
77631   ac_status=$?
77632   grep -v '^ *+' conftest.er1 >conftest.err
77633   rm -f conftest.er1
77634   cat conftest.err >&5
77635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77636   (exit $ac_status); } &&
77637          { ac_try='test -z "$ac_c_werror_flag"
77638                          || test ! -s conftest.err'
77639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77640   (eval $ac_try) 2>&5
77641   ac_status=$?
77642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77643   (exit $ac_status); }; } &&
77644          { ac_try='test -s conftest.$ac_objext'
77645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77646   (eval $ac_try) 2>&5
77647   ac_status=$?
77648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77649   (exit $ac_status); }; }; then
77650   ac_header_compiler=yes
77651 else
77652   echo "$as_me: failed program was:" >&5
77653 sed 's/^/| /' conftest.$ac_ext >&5
77654
77655 ac_header_compiler=no
77656 fi
77657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77658 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77659 echo "${ECHO_T}$ac_header_compiler" >&6
77660
77661 # Is the header present?
77662 echo "$as_me:$LINENO: checking iconv.h presence" >&5
77663 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
77664 cat >conftest.$ac_ext <<_ACEOF
77665 /* confdefs.h.  */
77666 _ACEOF
77667 cat confdefs.h >>conftest.$ac_ext
77668 cat >>conftest.$ac_ext <<_ACEOF
77669 /* end confdefs.h.  */
77670 #include <iconv.h>
77671 _ACEOF
77672 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77673   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77674   ac_status=$?
77675   grep -v '^ *+' conftest.er1 >conftest.err
77676   rm -f conftest.er1
77677   cat conftest.err >&5
77678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77679   (exit $ac_status); } >/dev/null; then
77680   if test -s conftest.err; then
77681     ac_cpp_err=$ac_c_preproc_warn_flag
77682     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77683   else
77684     ac_cpp_err=
77685   fi
77686 else
77687   ac_cpp_err=yes
77688 fi
77689 if test -z "$ac_cpp_err"; then
77690   ac_header_preproc=yes
77691 else
77692   echo "$as_me: failed program was:" >&5
77693 sed 's/^/| /' conftest.$ac_ext >&5
77694
77695   ac_header_preproc=no
77696 fi
77697 rm -f conftest.err conftest.$ac_ext
77698 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77699 echo "${ECHO_T}$ac_header_preproc" >&6
77700
77701 # So?  What about this header?
77702 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77703   yes:no: )
77704     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
77705 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
77706     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
77707 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
77708     ac_header_preproc=yes
77709     ;;
77710   no:yes:* )
77711     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
77712 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
77713     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
77714 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
77715     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
77716 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
77717     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
77718 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
77719     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
77720 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
77721     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
77722 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
77723     (
77724       cat <<\_ASBOX
77725 ## ----------------------------------------- ##
77726 ## Report this to the package-unused lists.  ##
77727 ## ----------------------------------------- ##
77728 _ASBOX
77729     ) |
77730       sed "s/^/$as_me: WARNING:     /" >&2
77731     ;;
77732 esac
77733 echo "$as_me:$LINENO: checking for iconv.h" >&5
77734 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77735 if test "${ac_cv_header_iconv_h+set}" = set; then
77736   echo $ECHO_N "(cached) $ECHO_C" >&6
77737 else
77738   ac_cv_header_iconv_h=$ac_header_preproc
77739 fi
77740 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77741 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77742
77743 fi
77744 if test $ac_cv_header_iconv_h = yes; then
77745   ac_has_iconv_h=yes
77746 else
77747   ac_has_iconv_h=no
77748 fi
77749
77750
77751     if test "${ac_cv_header_langinfo_h+set}" = set; then
77752   echo "$as_me:$LINENO: checking for langinfo.h" >&5
77753 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77754 if test "${ac_cv_header_langinfo_h+set}" = set; then
77755   echo $ECHO_N "(cached) $ECHO_C" >&6
77756 fi
77757 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77758 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77759 else
77760   # Is the header compilable?
77761 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
77762 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
77763 cat >conftest.$ac_ext <<_ACEOF
77764 /* confdefs.h.  */
77765 _ACEOF
77766 cat confdefs.h >>conftest.$ac_ext
77767 cat >>conftest.$ac_ext <<_ACEOF
77768 /* end confdefs.h.  */
77769 $ac_includes_default
77770 #include <langinfo.h>
77771 _ACEOF
77772 rm -f conftest.$ac_objext
77773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77774   (eval $ac_compile) 2>conftest.er1
77775   ac_status=$?
77776   grep -v '^ *+' conftest.er1 >conftest.err
77777   rm -f conftest.er1
77778   cat conftest.err >&5
77779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77780   (exit $ac_status); } &&
77781          { ac_try='test -z "$ac_c_werror_flag"
77782                          || test ! -s conftest.err'
77783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77784   (eval $ac_try) 2>&5
77785   ac_status=$?
77786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77787   (exit $ac_status); }; } &&
77788          { ac_try='test -s conftest.$ac_objext'
77789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77790   (eval $ac_try) 2>&5
77791   ac_status=$?
77792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77793   (exit $ac_status); }; }; then
77794   ac_header_compiler=yes
77795 else
77796   echo "$as_me: failed program was:" >&5
77797 sed 's/^/| /' conftest.$ac_ext >&5
77798
77799 ac_header_compiler=no
77800 fi
77801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77802 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77803 echo "${ECHO_T}$ac_header_compiler" >&6
77804
77805 # Is the header present?
77806 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
77807 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
77808 cat >conftest.$ac_ext <<_ACEOF
77809 /* confdefs.h.  */
77810 _ACEOF
77811 cat confdefs.h >>conftest.$ac_ext
77812 cat >>conftest.$ac_ext <<_ACEOF
77813 /* end confdefs.h.  */
77814 #include <langinfo.h>
77815 _ACEOF
77816 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77817   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77818   ac_status=$?
77819   grep -v '^ *+' conftest.er1 >conftest.err
77820   rm -f conftest.er1
77821   cat conftest.err >&5
77822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77823   (exit $ac_status); } >/dev/null; then
77824   if test -s conftest.err; then
77825     ac_cpp_err=$ac_c_preproc_warn_flag
77826     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77827   else
77828     ac_cpp_err=
77829   fi
77830 else
77831   ac_cpp_err=yes
77832 fi
77833 if test -z "$ac_cpp_err"; then
77834   ac_header_preproc=yes
77835 else
77836   echo "$as_me: failed program was:" >&5
77837 sed 's/^/| /' conftest.$ac_ext >&5
77838
77839   ac_header_preproc=no
77840 fi
77841 rm -f conftest.err conftest.$ac_ext
77842 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77843 echo "${ECHO_T}$ac_header_preproc" >&6
77844
77845 # So?  What about this header?
77846 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77847   yes:no: )
77848     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
77849 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
77850     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
77851 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
77852     ac_header_preproc=yes
77853     ;;
77854   no:yes:* )
77855     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
77856 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
77857     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
77858 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
77859     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
77860 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
77861     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
77862 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
77863     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
77864 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
77865     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
77866 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
77867     (
77868       cat <<\_ASBOX
77869 ## ----------------------------------------- ##
77870 ## Report this to the package-unused lists.  ##
77871 ## ----------------------------------------- ##
77872 _ASBOX
77873     ) |
77874       sed "s/^/$as_me: WARNING:     /" >&2
77875     ;;
77876 esac
77877 echo "$as_me:$LINENO: checking for langinfo.h" >&5
77878 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77879 if test "${ac_cv_header_langinfo_h+set}" = set; then
77880   echo $ECHO_N "(cached) $ECHO_C" >&6
77881 else
77882   ac_cv_header_langinfo_h=$ac_header_preproc
77883 fi
77884 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77885 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77886
77887 fi
77888 if test $ac_cv_header_langinfo_h = yes; then
77889   ac_has_langinfo_h=yes
77890 else
77891   ac_has_langinfo_h=no
77892 fi
77893
77894
77895
77896     # Check for existence of libiconv.a providing XPG2 wchar_t support.
77897     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
77898 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
77899 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
77900   echo $ECHO_N "(cached) $ECHO_C" >&6
77901 else
77902   ac_check_lib_save_LIBS=$LIBS
77903 LIBS="-liconv  $LIBS"
77904 if test x$gcc_no_link = xyes; then
77905   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77907    { (exit 1); exit 1; }; }
77908 fi
77909 cat >conftest.$ac_ext <<_ACEOF
77910 /* confdefs.h.  */
77911 _ACEOF
77912 cat confdefs.h >>conftest.$ac_ext
77913 cat >>conftest.$ac_ext <<_ACEOF
77914 /* end confdefs.h.  */
77915
77916 /* Override any gcc2 internal prototype to avoid an error.  */
77917 #ifdef __cplusplus
77918 extern "C"
77919 #endif
77920 /* We use char because int might match the return type of a gcc2
77921    builtin and then its argument prototype would still apply.  */
77922 char iconv ();
77923 int
77924 main ()
77925 {
77926 iconv ();
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   ac_cv_lib_iconv_iconv=yes
77954 else
77955   echo "$as_me: failed program was:" >&5
77956 sed 's/^/| /' conftest.$ac_ext >&5
77957
77958 ac_cv_lib_iconv_iconv=no
77959 fi
77960 rm -f conftest.err conftest.$ac_objext \
77961       conftest$ac_exeext conftest.$ac_ext
77962 LIBS=$ac_check_lib_save_LIBS
77963 fi
77964 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
77965 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
77966 if test $ac_cv_lib_iconv_iconv = yes; then
77967   LIBICONV="-liconv"
77968 fi
77969
77970     ac_save_LIBS="$LIBS"
77971     LIBS="$LIBS $LIBICONV"
77972
77973
77974
77975
77976
77977
77978 for ac_func in iconv_open iconv_close iconv nl_langinfo
77979 do
77980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77981 echo "$as_me:$LINENO: checking for $ac_func" >&5
77982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77983 if eval "test \"\${$as_ac_var+set}\" = set"; then
77984   echo $ECHO_N "(cached) $ECHO_C" >&6
77985 else
77986   if test x$gcc_no_link = xyes; then
77987   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77989    { (exit 1); exit 1; }; }
77990 fi
77991 cat >conftest.$ac_ext <<_ACEOF
77992 /* confdefs.h.  */
77993 _ACEOF
77994 cat confdefs.h >>conftest.$ac_ext
77995 cat >>conftest.$ac_ext <<_ACEOF
77996 /* end confdefs.h.  */
77997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77998    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77999 #define $ac_func innocuous_$ac_func
78000
78001 /* System header to define __stub macros and hopefully few prototypes,
78002     which can conflict with char $ac_func (); below.
78003     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78004     <limits.h> exists even on freestanding compilers.  */
78005
78006 #ifdef __STDC__
78007 # include <limits.h>
78008 #else
78009 # include <assert.h>
78010 #endif
78011
78012 #undef $ac_func
78013
78014 /* Override any gcc2 internal prototype to avoid an error.  */
78015 #ifdef __cplusplus
78016 extern "C"
78017 {
78018 #endif
78019 /* We use char because int might match the return type of a gcc2
78020    builtin and then its argument prototype would still apply.  */
78021 char $ac_func ();
78022 /* The GNU C library defines this for functions which it implements
78023     to always fail with ENOSYS.  Some functions are actually named
78024     something starting with __ and the normal name is an alias.  */
78025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78026 choke me
78027 #else
78028 char (*f) () = $ac_func;
78029 #endif
78030 #ifdef __cplusplus
78031 }
78032 #endif
78033
78034 int
78035 main ()
78036 {
78037 return f != $ac_func;
78038   ;
78039   return 0;
78040 }
78041 _ACEOF
78042 rm -f conftest.$ac_objext conftest$ac_exeext
78043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78044   (eval $ac_link) 2>conftest.er1
78045   ac_status=$?
78046   grep -v '^ *+' conftest.er1 >conftest.err
78047   rm -f conftest.er1
78048   cat conftest.err >&5
78049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78050   (exit $ac_status); } &&
78051          { ac_try='test -z "$ac_c_werror_flag"
78052                          || test ! -s conftest.err'
78053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78054   (eval $ac_try) 2>&5
78055   ac_status=$?
78056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78057   (exit $ac_status); }; } &&
78058          { ac_try='test -s conftest$ac_exeext'
78059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78060   (eval $ac_try) 2>&5
78061   ac_status=$?
78062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78063   (exit $ac_status); }; }; then
78064   eval "$as_ac_var=yes"
78065 else
78066   echo "$as_me: failed program was:" >&5
78067 sed 's/^/| /' conftest.$ac_ext >&5
78068
78069 eval "$as_ac_var=no"
78070 fi
78071 rm -f conftest.err conftest.$ac_objext \
78072       conftest$ac_exeext conftest.$ac_ext
78073 fi
78074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78076 if test `eval echo '${'$as_ac_var'}'` = yes; then
78077   cat >>confdefs.h <<_ACEOF
78078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78079 _ACEOF
78080  ac_XPG2funcs=yes
78081 else
78082   ac_XPG2funcs=no
78083 fi
78084 done
78085
78086
78087     LIBS="$ac_save_LIBS"
78088
78089     if test x"$ac_has_iconv_h" = xyes &&
78090        test x"$ac_has_langinfo_h" = xyes &&
78091        test x"$ac_XPG2funcs" = xyes;
78092     then
78093
78094 cat >>confdefs.h <<\_ACEOF
78095 #define _GLIBCXX_USE_ICONV 1
78096 _ACEOF
78097
78098       enable_iconv=yes
78099     fi
78100   fi
78101   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
78102 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
78103   echo "$as_me:$LINENO: result: $enable_iconv" >&5
78104 echo "${ECHO_T}$enable_iconv" >&6
78105
78106
78107     # For LFS.
78108     cat >>confdefs.h <<\_ACEOF
78109 #define HAVE_INT64_T 1
78110 _ACEOF
78111
78112     case "$target" in
78113       *-uclinux*)
78114         # Don't enable LFS with uClibc
78115         ;;
78116       *)
78117         cat >>confdefs.h <<\_ACEOF
78118 #define _GLIBCXX_USE_LFS 1
78119 _ACEOF
78120
78121     esac
78122
78123     # For showmanyc_helper().
78124
78125
78126 for ac_header in sys/ioctl.h sys/filio.h
78127 do
78128 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78129 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78130   echo "$as_me:$LINENO: checking for $ac_header" >&5
78131 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78132 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78133   echo $ECHO_N "(cached) $ECHO_C" >&6
78134 fi
78135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78136 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78137 else
78138   # Is the header compilable?
78139 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78140 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78141 cat >conftest.$ac_ext <<_ACEOF
78142 /* confdefs.h.  */
78143 _ACEOF
78144 cat confdefs.h >>conftest.$ac_ext
78145 cat >>conftest.$ac_ext <<_ACEOF
78146 /* end confdefs.h.  */
78147 $ac_includes_default
78148 #include <$ac_header>
78149 _ACEOF
78150 rm -f conftest.$ac_objext
78151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78152   (eval $ac_compile) 2>conftest.er1
78153   ac_status=$?
78154   grep -v '^ *+' conftest.er1 >conftest.err
78155   rm -f conftest.er1
78156   cat conftest.err >&5
78157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78158   (exit $ac_status); } &&
78159          { ac_try='test -z "$ac_c_werror_flag"
78160                          || test ! -s conftest.err'
78161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78162   (eval $ac_try) 2>&5
78163   ac_status=$?
78164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78165   (exit $ac_status); }; } &&
78166          { ac_try='test -s conftest.$ac_objext'
78167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78168   (eval $ac_try) 2>&5
78169   ac_status=$?
78170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78171   (exit $ac_status); }; }; then
78172   ac_header_compiler=yes
78173 else
78174   echo "$as_me: failed program was:" >&5
78175 sed 's/^/| /' conftest.$ac_ext >&5
78176
78177 ac_header_compiler=no
78178 fi
78179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78180 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78181 echo "${ECHO_T}$ac_header_compiler" >&6
78182
78183 # Is the header present?
78184 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78185 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78186 cat >conftest.$ac_ext <<_ACEOF
78187 /* confdefs.h.  */
78188 _ACEOF
78189 cat confdefs.h >>conftest.$ac_ext
78190 cat >>conftest.$ac_ext <<_ACEOF
78191 /* end confdefs.h.  */
78192 #include <$ac_header>
78193 _ACEOF
78194 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78195   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78196   ac_status=$?
78197   grep -v '^ *+' conftest.er1 >conftest.err
78198   rm -f conftest.er1
78199   cat conftest.err >&5
78200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78201   (exit $ac_status); } >/dev/null; then
78202   if test -s conftest.err; then
78203     ac_cpp_err=$ac_c_preproc_warn_flag
78204     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78205   else
78206     ac_cpp_err=
78207   fi
78208 else
78209   ac_cpp_err=yes
78210 fi
78211 if test -z "$ac_cpp_err"; then
78212   ac_header_preproc=yes
78213 else
78214   echo "$as_me: failed program was:" >&5
78215 sed 's/^/| /' conftest.$ac_ext >&5
78216
78217   ac_header_preproc=no
78218 fi
78219 rm -f conftest.err conftest.$ac_ext
78220 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78221 echo "${ECHO_T}$ac_header_preproc" >&6
78222
78223 # So?  What about this header?
78224 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78225   yes:no: )
78226     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78227 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78228     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78229 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78230     ac_header_preproc=yes
78231     ;;
78232   no:yes:* )
78233     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78234 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78235     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
78236 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
78237     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78238 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78239     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
78240 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
78241     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78242 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78243     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78244 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78245     (
78246       cat <<\_ASBOX
78247 ## ----------------------------------------- ##
78248 ## Report this to the package-unused lists.  ##
78249 ## ----------------------------------------- ##
78250 _ASBOX
78251     ) |
78252       sed "s/^/$as_me: WARNING:     /" >&2
78253     ;;
78254 esac
78255 echo "$as_me:$LINENO: checking for $ac_header" >&5
78256 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78257 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78258   echo $ECHO_N "(cached) $ECHO_C" >&6
78259 else
78260   eval "$as_ac_Header=\$ac_header_preproc"
78261 fi
78262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78263 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78264
78265 fi
78266 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78267   cat >>confdefs.h <<_ACEOF
78268 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78269 _ACEOF
78270
78271 fi
78272
78273 done
78274
78275
78276   if test "${glibcxx_cv_POLL+set}" = set; then
78277   echo $ECHO_N "(cached) $ECHO_C" >&6
78278 else
78279
78280     if test x$gcc_no_link = xyes; then
78281   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78283    { (exit 1); exit 1; }; }
78284 fi
78285 cat >conftest.$ac_ext <<_ACEOF
78286 /* confdefs.h.  */
78287 _ACEOF
78288 cat confdefs.h >>conftest.$ac_ext
78289 cat >>conftest.$ac_ext <<_ACEOF
78290 /* end confdefs.h.  */
78291 #include <poll.h>
78292 int
78293 main ()
78294 {
78295 struct pollfd pfd[1];
78296        pfd[0].events = POLLIN;
78297        poll(pfd, 1, 0);
78298   ;
78299   return 0;
78300 }
78301 _ACEOF
78302 rm -f conftest.$ac_objext conftest$ac_exeext
78303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78304   (eval $ac_link) 2>conftest.er1
78305   ac_status=$?
78306   grep -v '^ *+' conftest.er1 >conftest.err
78307   rm -f conftest.er1
78308   cat conftest.err >&5
78309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78310   (exit $ac_status); } &&
78311          { ac_try='test -z "$ac_c_werror_flag"
78312                          || test ! -s conftest.err'
78313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78314   (eval $ac_try) 2>&5
78315   ac_status=$?
78316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78317   (exit $ac_status); }; } &&
78318          { ac_try='test -s conftest$ac_exeext'
78319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78320   (eval $ac_try) 2>&5
78321   ac_status=$?
78322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78323   (exit $ac_status); }; }; then
78324   glibcxx_cv_POLL=yes
78325 else
78326   echo "$as_me: failed program was:" >&5
78327 sed 's/^/| /' conftest.$ac_ext >&5
78328
78329 glibcxx_cv_POLL=no
78330 fi
78331 rm -f conftest.err conftest.$ac_objext \
78332       conftest$ac_exeext conftest.$ac_ext
78333
78334 fi
78335
78336   if test $glibcxx_cv_POLL = yes; then
78337
78338 cat >>confdefs.h <<\_ACEOF
78339 #define HAVE_POLL 1
78340 _ACEOF
78341
78342   fi
78343
78344
78345   if test "${glibcxx_cv_S_ISREG+set}" = set; then
78346   echo $ECHO_N "(cached) $ECHO_C" >&6
78347 else
78348
78349     if test x$gcc_no_link = xyes; then
78350   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78352    { (exit 1); exit 1; }; }
78353 fi
78354 cat >conftest.$ac_ext <<_ACEOF
78355 /* confdefs.h.  */
78356 _ACEOF
78357 cat confdefs.h >>conftest.$ac_ext
78358 cat >>conftest.$ac_ext <<_ACEOF
78359 /* end confdefs.h.  */
78360 #include <sys/stat.h>
78361 int
78362 main ()
78363 {
78364 struct stat buffer;
78365        fstat(0, &buffer);
78366        S_ISREG(buffer.st_mode);
78367   ;
78368   return 0;
78369 }
78370 _ACEOF
78371 rm -f conftest.$ac_objext conftest$ac_exeext
78372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78373   (eval $ac_link) 2>conftest.er1
78374   ac_status=$?
78375   grep -v '^ *+' conftest.er1 >conftest.err
78376   rm -f conftest.er1
78377   cat conftest.err >&5
78378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78379   (exit $ac_status); } &&
78380          { ac_try='test -z "$ac_c_werror_flag"
78381                          || test ! -s conftest.err'
78382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78383   (eval $ac_try) 2>&5
78384   ac_status=$?
78385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78386   (exit $ac_status); }; } &&
78387          { ac_try='test -s conftest$ac_exeext'
78388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78389   (eval $ac_try) 2>&5
78390   ac_status=$?
78391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78392   (exit $ac_status); }; }; then
78393   glibcxx_cv_S_ISREG=yes
78394 else
78395   echo "$as_me: failed program was:" >&5
78396 sed 's/^/| /' conftest.$ac_ext >&5
78397
78398 glibcxx_cv_S_ISREG=no
78399 fi
78400 rm -f conftest.err conftest.$ac_objext \
78401       conftest$ac_exeext conftest.$ac_ext
78402
78403 fi
78404
78405   if test "${glibcxx_cv_S_IFREG+set}" = set; then
78406   echo $ECHO_N "(cached) $ECHO_C" >&6
78407 else
78408
78409     if test x$gcc_no_link = xyes; then
78410   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78412    { (exit 1); exit 1; }; }
78413 fi
78414 cat >conftest.$ac_ext <<_ACEOF
78415 /* confdefs.h.  */
78416 _ACEOF
78417 cat confdefs.h >>conftest.$ac_ext
78418 cat >>conftest.$ac_ext <<_ACEOF
78419 /* end confdefs.h.  */
78420 #include <sys/stat.h>
78421 int
78422 main ()
78423 {
78424 struct stat buffer;
78425        fstat(0, &buffer);
78426        S_IFREG & buffer.st_mode;
78427   ;
78428   return 0;
78429 }
78430 _ACEOF
78431 rm -f conftest.$ac_objext conftest$ac_exeext
78432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78433   (eval $ac_link) 2>conftest.er1
78434   ac_status=$?
78435   grep -v '^ *+' conftest.er1 >conftest.err
78436   rm -f conftest.er1
78437   cat conftest.err >&5
78438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78439   (exit $ac_status); } &&
78440          { ac_try='test -z "$ac_c_werror_flag"
78441                          || test ! -s conftest.err'
78442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78443   (eval $ac_try) 2>&5
78444   ac_status=$?
78445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78446   (exit $ac_status); }; } &&
78447          { ac_try='test -s conftest$ac_exeext'
78448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78449   (eval $ac_try) 2>&5
78450   ac_status=$?
78451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78452   (exit $ac_status); }; }; then
78453   glibcxx_cv_S_IFREG=yes
78454 else
78455   echo "$as_me: failed program was:" >&5
78456 sed 's/^/| /' conftest.$ac_ext >&5
78457
78458 glibcxx_cv_S_IFREG=no
78459 fi
78460 rm -f conftest.err conftest.$ac_objext \
78461       conftest$ac_exeext conftest.$ac_ext
78462
78463 fi
78464
78465   if test $glibcxx_cv_S_ISREG = yes; then
78466
78467 cat >>confdefs.h <<\_ACEOF
78468 #define HAVE_S_ISREG 1
78469 _ACEOF
78470
78471   elif test $glibcxx_cv_S_IFREG = yes; then
78472
78473 cat >>confdefs.h <<\_ACEOF
78474 #define HAVE_S_IFREG 1
78475 _ACEOF
78476
78477   fi
78478
78479
78480     # For xsputn_2().
78481
78482 for ac_header in sys/uio.h
78483 do
78484 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78485 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78486   echo "$as_me:$LINENO: checking for $ac_header" >&5
78487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78489   echo $ECHO_N "(cached) $ECHO_C" >&6
78490 fi
78491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78492 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78493 else
78494   # Is the header compilable?
78495 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78496 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78497 cat >conftest.$ac_ext <<_ACEOF
78498 /* confdefs.h.  */
78499 _ACEOF
78500 cat confdefs.h >>conftest.$ac_ext
78501 cat >>conftest.$ac_ext <<_ACEOF
78502 /* end confdefs.h.  */
78503 $ac_includes_default
78504 #include <$ac_header>
78505 _ACEOF
78506 rm -f conftest.$ac_objext
78507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78508   (eval $ac_compile) 2>conftest.er1
78509   ac_status=$?
78510   grep -v '^ *+' conftest.er1 >conftest.err
78511   rm -f conftest.er1
78512   cat conftest.err >&5
78513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78514   (exit $ac_status); } &&
78515          { ac_try='test -z "$ac_c_werror_flag"
78516                          || test ! -s conftest.err'
78517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78518   (eval $ac_try) 2>&5
78519   ac_status=$?
78520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78521   (exit $ac_status); }; } &&
78522          { ac_try='test -s conftest.$ac_objext'
78523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78524   (eval $ac_try) 2>&5
78525   ac_status=$?
78526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78527   (exit $ac_status); }; }; then
78528   ac_header_compiler=yes
78529 else
78530   echo "$as_me: failed program was:" >&5
78531 sed 's/^/| /' conftest.$ac_ext >&5
78532
78533 ac_header_compiler=no
78534 fi
78535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78536 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78537 echo "${ECHO_T}$ac_header_compiler" >&6
78538
78539 # Is the header present?
78540 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78541 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78542 cat >conftest.$ac_ext <<_ACEOF
78543 /* confdefs.h.  */
78544 _ACEOF
78545 cat confdefs.h >>conftest.$ac_ext
78546 cat >>conftest.$ac_ext <<_ACEOF
78547 /* end confdefs.h.  */
78548 #include <$ac_header>
78549 _ACEOF
78550 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78551   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78552   ac_status=$?
78553   grep -v '^ *+' conftest.er1 >conftest.err
78554   rm -f conftest.er1
78555   cat conftest.err >&5
78556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78557   (exit $ac_status); } >/dev/null; then
78558   if test -s conftest.err; then
78559     ac_cpp_err=$ac_c_preproc_warn_flag
78560     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78561   else
78562     ac_cpp_err=
78563   fi
78564 else
78565   ac_cpp_err=yes
78566 fi
78567 if test -z "$ac_cpp_err"; then
78568   ac_header_preproc=yes
78569 else
78570   echo "$as_me: failed program was:" >&5
78571 sed 's/^/| /' conftest.$ac_ext >&5
78572
78573   ac_header_preproc=no
78574 fi
78575 rm -f conftest.err conftest.$ac_ext
78576 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78577 echo "${ECHO_T}$ac_header_preproc" >&6
78578
78579 # So?  What about this header?
78580 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78581   yes:no: )
78582     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78583 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78584     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78585 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78586     ac_header_preproc=yes
78587     ;;
78588   no:yes:* )
78589     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78590 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78591     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
78592 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
78593     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78594 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78595     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
78596 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
78597     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78598 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78599     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78600 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78601     (
78602       cat <<\_ASBOX
78603 ## ----------------------------------------- ##
78604 ## Report this to the package-unused lists.  ##
78605 ## ----------------------------------------- ##
78606 _ASBOX
78607     ) |
78608       sed "s/^/$as_me: WARNING:     /" >&2
78609     ;;
78610 esac
78611 echo "$as_me:$LINENO: checking for $ac_header" >&5
78612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78613 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78614   echo $ECHO_N "(cached) $ECHO_C" >&6
78615 else
78616   eval "$as_ac_Header=\$ac_header_preproc"
78617 fi
78618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78619 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78620
78621 fi
78622 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78623   cat >>confdefs.h <<_ACEOF
78624 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78625 _ACEOF
78626
78627 fi
78628
78629 done
78630
78631
78632   if test "${glibcxx_cv_WRITEV+set}" = set; then
78633   echo $ECHO_N "(cached) $ECHO_C" >&6
78634 else
78635
78636     if test x$gcc_no_link = xyes; then
78637   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78639    { (exit 1); exit 1; }; }
78640 fi
78641 cat >conftest.$ac_ext <<_ACEOF
78642 /* confdefs.h.  */
78643 _ACEOF
78644 cat confdefs.h >>conftest.$ac_ext
78645 cat >>conftest.$ac_ext <<_ACEOF
78646 /* end confdefs.h.  */
78647 #include <sys/uio.h>
78648 int
78649 main ()
78650 {
78651 struct iovec iov[2];
78652        writev(0, iov, 0);
78653   ;
78654   return 0;
78655 }
78656 _ACEOF
78657 rm -f conftest.$ac_objext conftest$ac_exeext
78658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78659   (eval $ac_link) 2>conftest.er1
78660   ac_status=$?
78661   grep -v '^ *+' conftest.er1 >conftest.err
78662   rm -f conftest.er1
78663   cat conftest.err >&5
78664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78665   (exit $ac_status); } &&
78666          { ac_try='test -z "$ac_c_werror_flag"
78667                          || test ! -s conftest.err'
78668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78669   (eval $ac_try) 2>&5
78670   ac_status=$?
78671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78672   (exit $ac_status); }; } &&
78673          { ac_try='test -s conftest$ac_exeext'
78674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78675   (eval $ac_try) 2>&5
78676   ac_status=$?
78677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78678   (exit $ac_status); }; }; then
78679   glibcxx_cv_WRITEV=yes
78680 else
78681   echo "$as_me: failed program was:" >&5
78682 sed 's/^/| /' conftest.$ac_ext >&5
78683
78684 glibcxx_cv_WRITEV=no
78685 fi
78686 rm -f conftest.err conftest.$ac_objext \
78687       conftest$ac_exeext conftest.$ac_ext
78688
78689 fi
78690
78691   if test $glibcxx_cv_WRITEV = yes; then
78692
78693 cat >>confdefs.h <<\_ACEOF
78694 #define HAVE_WRITEV 1
78695 _ACEOF
78696
78697   fi
78698
78699
78700     cat >>confdefs.h <<\_ACEOF
78701 #define HAVE_ACOSF 1
78702 _ACEOF
78703
78704     cat >>confdefs.h <<\_ACEOF
78705 #define HAVE_ASINF 1
78706 _ACEOF
78707
78708     cat >>confdefs.h <<\_ACEOF
78709 #define HAVE_ATANF 1
78710 _ACEOF
78711
78712     cat >>confdefs.h <<\_ACEOF
78713 #define HAVE_ATAN2F 1
78714 _ACEOF
78715
78716     cat >>confdefs.h <<\_ACEOF
78717 #define HAVE_CEILF 1
78718 _ACEOF
78719
78720     cat >>confdefs.h <<\_ACEOF
78721 #define HAVE_COPYSIGN 1
78722 _ACEOF
78723
78724     cat >>confdefs.h <<\_ACEOF
78725 #define HAVE_COPYSIGNF 1
78726 _ACEOF
78727
78728     cat >>confdefs.h <<\_ACEOF
78729 #define HAVE_COSF 1
78730 _ACEOF
78731
78732     cat >>confdefs.h <<\_ACEOF
78733 #define HAVE_COSHF 1
78734 _ACEOF
78735
78736     cat >>confdefs.h <<\_ACEOF
78737 #define HAVE_EXPF 1
78738 _ACEOF
78739
78740     cat >>confdefs.h <<\_ACEOF
78741 #define HAVE_FABSF 1
78742 _ACEOF
78743
78744     cat >>confdefs.h <<\_ACEOF
78745 #define HAVE_FINITE 1
78746 _ACEOF
78747
78748     cat >>confdefs.h <<\_ACEOF
78749 #define HAVE_FINITEF 1
78750 _ACEOF
78751
78752     cat >>confdefs.h <<\_ACEOF
78753 #define HAVE_FLOORF 1
78754 _ACEOF
78755
78756     cat >>confdefs.h <<\_ACEOF
78757 #define HAVE_FMODF 1
78758 _ACEOF
78759
78760     cat >>confdefs.h <<\_ACEOF
78761 #define HAVE_FREXPF 1
78762 _ACEOF
78763
78764     cat >>confdefs.h <<\_ACEOF
78765 #define HAVE_HYPOT 1
78766 _ACEOF
78767
78768     cat >>confdefs.h <<\_ACEOF
78769 #define HAVE_HYPOTF 1
78770 _ACEOF
78771
78772     cat >>confdefs.h <<\_ACEOF
78773 #define HAVE_ISINF 1
78774 _ACEOF
78775
78776     cat >>confdefs.h <<\_ACEOF
78777 #define HAVE_ISINFF 1
78778 _ACEOF
78779
78780     cat >>confdefs.h <<\_ACEOF
78781 #define HAVE_ISNAN 1
78782 _ACEOF
78783
78784     cat >>confdefs.h <<\_ACEOF
78785 #define HAVE_ISNANF 1
78786 _ACEOF
78787
78788     cat >>confdefs.h <<\_ACEOF
78789 #define HAVE_LOGF 1
78790 _ACEOF
78791
78792     cat >>confdefs.h <<\_ACEOF
78793 #define HAVE_LOG10F 1
78794 _ACEOF
78795
78796     cat >>confdefs.h <<\_ACEOF
78797 #define HAVE_MODFF 1
78798 _ACEOF
78799
78800     cat >>confdefs.h <<\_ACEOF
78801 #define HAVE_SINF 1
78802 _ACEOF
78803
78804     cat >>confdefs.h <<\_ACEOF
78805 #define HAVE_SINHF 1
78806 _ACEOF
78807
78808     cat >>confdefs.h <<\_ACEOF
78809 #define HAVE_SINCOS 1
78810 _ACEOF
78811
78812     cat >>confdefs.h <<\_ACEOF
78813 #define HAVE_SINCOSF 1
78814 _ACEOF
78815
78816     cat >>confdefs.h <<\_ACEOF
78817 #define HAVE_SQRTF 1
78818 _ACEOF
78819
78820     cat >>confdefs.h <<\_ACEOF
78821 #define HAVE_TANF 1
78822 _ACEOF
78823
78824     cat >>confdefs.h <<\_ACEOF
78825 #define HAVE_TANHF 1
78826 _ACEOF
78827
78828     if test x"long_double_math_on_this_cpu" = x"yes"; then
78829       cat >>confdefs.h <<\_ACEOF
78830 #define HAVE_ACOSL 1
78831 _ACEOF
78832
78833       cat >>confdefs.h <<\_ACEOF
78834 #define HAVE_ASINL 1
78835 _ACEOF
78836
78837       cat >>confdefs.h <<\_ACEOF
78838 #define HAVE_ATANL 1
78839 _ACEOF
78840
78841       cat >>confdefs.h <<\_ACEOF
78842 #define HAVE_ATAN2L 1
78843 _ACEOF
78844
78845       cat >>confdefs.h <<\_ACEOF
78846 #define HAVE_CEILL 1
78847 _ACEOF
78848
78849       cat >>confdefs.h <<\_ACEOF
78850 #define HAVE_COPYSIGNL 1
78851 _ACEOF
78852
78853       cat >>confdefs.h <<\_ACEOF
78854 #define HAVE_COSL 1
78855 _ACEOF
78856
78857       cat >>confdefs.h <<\_ACEOF
78858 #define HAVE_COSHL 1
78859 _ACEOF
78860
78861       cat >>confdefs.h <<\_ACEOF
78862 #define HAVE_EXPL 1
78863 _ACEOF
78864
78865       cat >>confdefs.h <<\_ACEOF
78866 #define HAVE_FABSL 1
78867 _ACEOF
78868
78869       cat >>confdefs.h <<\_ACEOF
78870 #define HAVE_FINITEL 1
78871 _ACEOF
78872
78873       cat >>confdefs.h <<\_ACEOF
78874 #define HAVE_FLOORL 1
78875 _ACEOF
78876
78877       cat >>confdefs.h <<\_ACEOF
78878 #define HAVE_FMODL 1
78879 _ACEOF
78880
78881       cat >>confdefs.h <<\_ACEOF
78882 #define HAVE_FREXPL 1
78883 _ACEOF
78884
78885       cat >>confdefs.h <<\_ACEOF
78886 #define HAVE_HYPOTL 1
78887 _ACEOF
78888
78889       cat >>confdefs.h <<\_ACEOF
78890 #define HAVE_ISINFL 1
78891 _ACEOF
78892
78893       cat >>confdefs.h <<\_ACEOF
78894 #define HAVE_ISNANL 1
78895 _ACEOF
78896
78897       cat >>confdefs.h <<\_ACEOF
78898 #define HAVE_LOGL 1
78899 _ACEOF
78900
78901       cat >>confdefs.h <<\_ACEOF
78902 #define HAVE_LOG10L 1
78903 _ACEOF
78904
78905       cat >>confdefs.h <<\_ACEOF
78906 #define HAVE_MODFL 1
78907 _ACEOF
78908
78909       cat >>confdefs.h <<\_ACEOF
78910 #define HAVE_POWL 1
78911 _ACEOF
78912
78913       cat >>confdefs.h <<\_ACEOF
78914 #define HAVE_SINL 1
78915 _ACEOF
78916
78917       cat >>confdefs.h <<\_ACEOF
78918 #define HAVE_SINHL 1
78919 _ACEOF
78920
78921       cat >>confdefs.h <<\_ACEOF
78922 #define HAVE_SINCOSL 1
78923 _ACEOF
78924
78925       cat >>confdefs.h <<\_ACEOF
78926 #define HAVE_SQRTL 1
78927 _ACEOF
78928
78929       cat >>confdefs.h <<\_ACEOF
78930 #define HAVE_TANL 1
78931 _ACEOF
78932
78933       cat >>confdefs.h <<\_ACEOF
78934 #define HAVE_TANHL 1
78935 _ACEOF
78936
78937     fi
78938     ;;
78939   *-mingw32*)
78940
78941
78942
78943 for ac_header in sys/types.h locale.h float.h
78944 do
78945 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78947   echo "$as_me:$LINENO: checking for $ac_header" >&5
78948 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78949 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78950   echo $ECHO_N "(cached) $ECHO_C" >&6
78951 fi
78952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78953 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78954 else
78955   # Is the header compilable?
78956 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78957 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78958 cat >conftest.$ac_ext <<_ACEOF
78959 /* confdefs.h.  */
78960 _ACEOF
78961 cat confdefs.h >>conftest.$ac_ext
78962 cat >>conftest.$ac_ext <<_ACEOF
78963 /* end confdefs.h.  */
78964 $ac_includes_default
78965 #include <$ac_header>
78966 _ACEOF
78967 rm -f conftest.$ac_objext
78968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78969   (eval $ac_compile) 2>conftest.er1
78970   ac_status=$?
78971   grep -v '^ *+' conftest.er1 >conftest.err
78972   rm -f conftest.er1
78973   cat conftest.err >&5
78974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78975   (exit $ac_status); } &&
78976          { ac_try='test -z "$ac_c_werror_flag"
78977                          || test ! -s conftest.err'
78978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78979   (eval $ac_try) 2>&5
78980   ac_status=$?
78981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78982   (exit $ac_status); }; } &&
78983          { ac_try='test -s conftest.$ac_objext'
78984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78985   (eval $ac_try) 2>&5
78986   ac_status=$?
78987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78988   (exit $ac_status); }; }; then
78989   ac_header_compiler=yes
78990 else
78991   echo "$as_me: failed program was:" >&5
78992 sed 's/^/| /' conftest.$ac_ext >&5
78993
78994 ac_header_compiler=no
78995 fi
78996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78997 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78998 echo "${ECHO_T}$ac_header_compiler" >&6
78999
79000 # Is the header present?
79001 echo "$as_me:$LINENO: checking $ac_header presence" >&5
79002 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
79003 cat >conftest.$ac_ext <<_ACEOF
79004 /* confdefs.h.  */
79005 _ACEOF
79006 cat confdefs.h >>conftest.$ac_ext
79007 cat >>conftest.$ac_ext <<_ACEOF
79008 /* end confdefs.h.  */
79009 #include <$ac_header>
79010 _ACEOF
79011 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79012   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79013   ac_status=$?
79014   grep -v '^ *+' conftest.er1 >conftest.err
79015   rm -f conftest.er1
79016   cat conftest.err >&5
79017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79018   (exit $ac_status); } >/dev/null; then
79019   if test -s conftest.err; then
79020     ac_cpp_err=$ac_c_preproc_warn_flag
79021     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79022   else
79023     ac_cpp_err=
79024   fi
79025 else
79026   ac_cpp_err=yes
79027 fi
79028 if test -z "$ac_cpp_err"; then
79029   ac_header_preproc=yes
79030 else
79031   echo "$as_me: failed program was:" >&5
79032 sed 's/^/| /' conftest.$ac_ext >&5
79033
79034   ac_header_preproc=no
79035 fi
79036 rm -f conftest.err conftest.$ac_ext
79037 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79038 echo "${ECHO_T}$ac_header_preproc" >&6
79039
79040 # So?  What about this header?
79041 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79042   yes:no: )
79043     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
79044 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
79045     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
79046 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
79047     ac_header_preproc=yes
79048     ;;
79049   no:yes:* )
79050     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
79051 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
79052     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
79053 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
79054     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
79055 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
79056     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
79057 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
79058     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79059 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79060     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
79061 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
79062     (
79063       cat <<\_ASBOX
79064 ## ----------------------------------------- ##
79065 ## Report this to the package-unused lists.  ##
79066 ## ----------------------------------------- ##
79067 _ASBOX
79068     ) |
79069       sed "s/^/$as_me: WARNING:     /" >&2
79070     ;;
79071 esac
79072 echo "$as_me:$LINENO: checking for $ac_header" >&5
79073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79075   echo $ECHO_N "(cached) $ECHO_C" >&6
79076 else
79077   eval "$as_ac_Header=\$ac_header_preproc"
79078 fi
79079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79080 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79081
79082 fi
79083 if test `eval echo '${'$as_ac_Header'}'` = yes; then
79084   cat >>confdefs.h <<_ACEOF
79085 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
79086 _ACEOF
79087
79088 fi
79089
79090 done
79091
79092
79093   # If we're not using GNU ld, then there's no point in even trying these
79094   # tests.  Check for that first.  We should have already tested for gld
79095   # by now (in libtool), but require it now just to be safe...
79096   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
79097   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
79098
79099
79100
79101   # The name set by libtool depends on the version of libtool.  Shame on us
79102   # for depending on an impl detail, but c'est la vie.  Older versions used
79103   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
79104   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
79105   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
79106   # set (hence we're using an older libtool), then set it.
79107   if test x${with_gnu_ld+set} != xset; then
79108     if test x${ac_cv_prog_gnu_ld+set} != xset; then
79109       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
79110       with_gnu_ld=no
79111     else
79112       with_gnu_ld=$ac_cv_prog_gnu_ld
79113     fi
79114   fi
79115
79116   # Start by getting the version number.  I think the libtool test already
79117   # does some of this, but throws away the result.
79118
79119   ldver=`$LD --version 2>/dev/null | head -1 | \
79120          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
79121
79122   glibcxx_gnu_ld_version=`echo $ldver | \
79123          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
79124
79125   # Set --gc-sections.
79126   if test "$with_gnu_ld" = "notbroken"; then
79127     # GNU ld it is!  Joy and bunny rabbits!
79128
79129     # All these tests are for C++; save the language and the compiler flags.
79130     # Need to do this so that g++ won't try to link in libstdc++
79131     ac_test_CFLAGS="${CFLAGS+set}"
79132     ac_save_CFLAGS="$CFLAGS"
79133     CFLAGS='-x c++  -Wl,--gc-sections'
79134
79135     # Check for -Wl,--gc-sections
79136     # XXX This test is broken at the moment, as symbols required for linking
79137     # are now in libsupc++ (not built yet).  In addition, this test has
79138     # cored on solaris in the past.  In addition, --gc-sections doesn't
79139     # really work at the moment (keeps on discarding used sections, first
79140     # .eh_frame and now some of the glibc sections for iconv).
79141     # Bzzzzt.  Thanks for playing, maybe next time.
79142     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
79143 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
79144     if test "$cross_compiling" = yes; then
79145   ac_sectionLDflags=yes
79146 else
79147   cat >conftest.$ac_ext <<_ACEOF
79148 /* confdefs.h.  */
79149 _ACEOF
79150 cat confdefs.h >>conftest.$ac_ext
79151 cat >>conftest.$ac_ext <<_ACEOF
79152 /* end confdefs.h.  */
79153
79154      int main(void)
79155      {
79156        try { throw 1; }
79157        catch (...) { };
79158        return 0;
79159      }
79160
79161 _ACEOF
79162 rm -f conftest$ac_exeext
79163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79164   (eval $ac_link) 2>&5
79165   ac_status=$?
79166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79167   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
79168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79169   (eval $ac_try) 2>&5
79170   ac_status=$?
79171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79172   (exit $ac_status); }; }; then
79173   ac_sectionLDflags=yes
79174 else
79175   echo "$as_me: program exited with status $ac_status" >&5
79176 echo "$as_me: failed program was:" >&5
79177 sed 's/^/| /' conftest.$ac_ext >&5
79178
79179 ( exit $ac_status )
79180 ac_sectionLDflags=no
79181 fi
79182 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
79183 fi
79184     if test "$ac_test_CFLAGS" = set; then
79185       CFLAGS="$ac_save_CFLAGS"
79186     else
79187       # this is the suspicious part
79188       CFLAGS=''
79189     fi
79190     if test "$ac_sectionLDflags" = "yes"; then
79191       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
79192     fi
79193     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
79194 echo "${ECHO_T}$ac_sectionLDflags" >&6
79195   fi
79196
79197   # Set linker optimization flags.
79198   if test x"$with_gnu_ld" = x"yes"; then
79199     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
79200   fi
79201
79202
79203
79204
79205
79206
79207 echo "$as_me:$LINENO: checking for main in -lm" >&5
79208 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
79209 if test "${ac_cv_lib_m_main+set}" = set; then
79210   echo $ECHO_N "(cached) $ECHO_C" >&6
79211 else
79212   ac_check_lib_save_LIBS=$LIBS
79213 LIBS="-lm  $LIBS"
79214 if test x$gcc_no_link = xyes; then
79215   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79217    { (exit 1); exit 1; }; }
79218 fi
79219 cat >conftest.$ac_ext <<_ACEOF
79220 /* confdefs.h.  */
79221 _ACEOF
79222 cat confdefs.h >>conftest.$ac_ext
79223 cat >>conftest.$ac_ext <<_ACEOF
79224 /* end confdefs.h.  */
79225
79226
79227 int
79228 main ()
79229 {
79230 main ();
79231   ;
79232   return 0;
79233 }
79234 _ACEOF
79235 rm -f conftest.$ac_objext conftest$ac_exeext
79236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79237   (eval $ac_link) 2>conftest.er1
79238   ac_status=$?
79239   grep -v '^ *+' conftest.er1 >conftest.err
79240   rm -f conftest.er1
79241   cat conftest.err >&5
79242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79243   (exit $ac_status); } &&
79244          { ac_try='test -z "$ac_c_werror_flag"
79245                          || test ! -s conftest.err'
79246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79247   (eval $ac_try) 2>&5
79248   ac_status=$?
79249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79250   (exit $ac_status); }; } &&
79251          { ac_try='test -s conftest$ac_exeext'
79252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79253   (eval $ac_try) 2>&5
79254   ac_status=$?
79255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79256   (exit $ac_status); }; }; then
79257   ac_cv_lib_m_main=yes
79258 else
79259   echo "$as_me: failed program was:" >&5
79260 sed 's/^/| /' conftest.$ac_ext >&5
79261
79262 ac_cv_lib_m_main=no
79263 fi
79264 rm -f conftest.err conftest.$ac_objext \
79265       conftest$ac_exeext conftest.$ac_ext
79266 LIBS=$ac_check_lib_save_LIBS
79267 fi
79268 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
79269 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
79270 if test $ac_cv_lib_m_main = yes; then
79271   cat >>confdefs.h <<_ACEOF
79272 #define HAVE_LIBM 1
79273 _ACEOF
79274
79275   LIBS="-lm $LIBS"
79276
79277 fi
79278
79279
79280 for ac_func in copysignf
79281 do
79282 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79283 echo "$as_me:$LINENO: checking for $ac_func" >&5
79284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79285 if eval "test \"\${$as_ac_var+set}\" = set"; then
79286   echo $ECHO_N "(cached) $ECHO_C" >&6
79287 else
79288   if test x$gcc_no_link = xyes; then
79289   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79291    { (exit 1); exit 1; }; }
79292 fi
79293 cat >conftest.$ac_ext <<_ACEOF
79294 /* confdefs.h.  */
79295 _ACEOF
79296 cat confdefs.h >>conftest.$ac_ext
79297 cat >>conftest.$ac_ext <<_ACEOF
79298 /* end confdefs.h.  */
79299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79300    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79301 #define $ac_func innocuous_$ac_func
79302
79303 /* System header to define __stub macros and hopefully few prototypes,
79304     which can conflict with char $ac_func (); below.
79305     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79306     <limits.h> exists even on freestanding compilers.  */
79307
79308 #ifdef __STDC__
79309 # include <limits.h>
79310 #else
79311 # include <assert.h>
79312 #endif
79313
79314 #undef $ac_func
79315
79316 /* Override any gcc2 internal prototype to avoid an error.  */
79317 #ifdef __cplusplus
79318 extern "C"
79319 {
79320 #endif
79321 /* We use char because int might match the return type of a gcc2
79322    builtin and then its argument prototype would still apply.  */
79323 char $ac_func ();
79324 /* The GNU C library defines this for functions which it implements
79325     to always fail with ENOSYS.  Some functions are actually named
79326     something starting with __ and the normal name is an alias.  */
79327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79328 choke me
79329 #else
79330 char (*f) () = $ac_func;
79331 #endif
79332 #ifdef __cplusplus
79333 }
79334 #endif
79335
79336 int
79337 main ()
79338 {
79339 return f != $ac_func;
79340   ;
79341   return 0;
79342 }
79343 _ACEOF
79344 rm -f conftest.$ac_objext conftest$ac_exeext
79345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79346   (eval $ac_link) 2>conftest.er1
79347   ac_status=$?
79348   grep -v '^ *+' conftest.er1 >conftest.err
79349   rm -f conftest.er1
79350   cat conftest.err >&5
79351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79352   (exit $ac_status); } &&
79353          { ac_try='test -z "$ac_c_werror_flag"
79354                          || test ! -s conftest.err'
79355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79356   (eval $ac_try) 2>&5
79357   ac_status=$?
79358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79359   (exit $ac_status); }; } &&
79360          { ac_try='test -s conftest$ac_exeext'
79361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79362   (eval $ac_try) 2>&5
79363   ac_status=$?
79364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79365   (exit $ac_status); }; }; then
79366   eval "$as_ac_var=yes"
79367 else
79368   echo "$as_me: failed program was:" >&5
79369 sed 's/^/| /' conftest.$ac_ext >&5
79370
79371 eval "$as_ac_var=no"
79372 fi
79373 rm -f conftest.err conftest.$ac_objext \
79374       conftest$ac_exeext conftest.$ac_ext
79375 fi
79376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79378 if test `eval echo '${'$as_ac_var'}'` = yes; then
79379   cat >>confdefs.h <<_ACEOF
79380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79381 _ACEOF
79382
79383 else
79384   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
79385 fi
79386 done
79387
79388
79389
79390 for ac_func in __signbit
79391 do
79392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79393 echo "$as_me:$LINENO: checking for $ac_func" >&5
79394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79395 if eval "test \"\${$as_ac_var+set}\" = set"; then
79396   echo $ECHO_N "(cached) $ECHO_C" >&6
79397 else
79398   if test x$gcc_no_link = xyes; then
79399   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79401    { (exit 1); exit 1; }; }
79402 fi
79403 cat >conftest.$ac_ext <<_ACEOF
79404 /* confdefs.h.  */
79405 _ACEOF
79406 cat confdefs.h >>conftest.$ac_ext
79407 cat >>conftest.$ac_ext <<_ACEOF
79408 /* end confdefs.h.  */
79409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79410    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79411 #define $ac_func innocuous_$ac_func
79412
79413 /* System header to define __stub macros and hopefully few prototypes,
79414     which can conflict with char $ac_func (); below.
79415     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79416     <limits.h> exists even on freestanding compilers.  */
79417
79418 #ifdef __STDC__
79419 # include <limits.h>
79420 #else
79421 # include <assert.h>
79422 #endif
79423
79424 #undef $ac_func
79425
79426 /* Override any gcc2 internal prototype to avoid an error.  */
79427 #ifdef __cplusplus
79428 extern "C"
79429 {
79430 #endif
79431 /* We use char because int might match the return type of a gcc2
79432    builtin and then its argument prototype would still apply.  */
79433 char $ac_func ();
79434 /* The GNU C library defines this for functions which it implements
79435     to always fail with ENOSYS.  Some functions are actually named
79436     something starting with __ and the normal name is an alias.  */
79437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79438 choke me
79439 #else
79440 char (*f) () = $ac_func;
79441 #endif
79442 #ifdef __cplusplus
79443 }
79444 #endif
79445
79446 int
79447 main ()
79448 {
79449 return f != $ac_func;
79450   ;
79451   return 0;
79452 }
79453 _ACEOF
79454 rm -f conftest.$ac_objext conftest$ac_exeext
79455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79456   (eval $ac_link) 2>conftest.er1
79457   ac_status=$?
79458   grep -v '^ *+' conftest.er1 >conftest.err
79459   rm -f conftest.er1
79460   cat conftest.err >&5
79461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79462   (exit $ac_status); } &&
79463          { ac_try='test -z "$ac_c_werror_flag"
79464                          || test ! -s conftest.err'
79465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79466   (eval $ac_try) 2>&5
79467   ac_status=$?
79468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79469   (exit $ac_status); }; } &&
79470          { ac_try='test -s conftest$ac_exeext'
79471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79472   (eval $ac_try) 2>&5
79473   ac_status=$?
79474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79475   (exit $ac_status); }; }; then
79476   eval "$as_ac_var=yes"
79477 else
79478   echo "$as_me: failed program was:" >&5
79479 sed 's/^/| /' conftest.$ac_ext >&5
79480
79481 eval "$as_ac_var=no"
79482 fi
79483 rm -f conftest.err conftest.$ac_objext \
79484       conftest$ac_exeext conftest.$ac_ext
79485 fi
79486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79488 if test `eval echo '${'$as_ac_var'}'` = yes; then
79489   cat >>confdefs.h <<_ACEOF
79490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79491 _ACEOF
79492
79493 else
79494   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
79495 fi
79496 done
79497
79498
79499
79500 for ac_func in __signbitf
79501 do
79502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79503 echo "$as_me:$LINENO: checking for $ac_func" >&5
79504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79505 if eval "test \"\${$as_ac_var+set}\" = set"; then
79506   echo $ECHO_N "(cached) $ECHO_C" >&6
79507 else
79508   if test x$gcc_no_link = xyes; then
79509   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79511    { (exit 1); exit 1; }; }
79512 fi
79513 cat >conftest.$ac_ext <<_ACEOF
79514 /* confdefs.h.  */
79515 _ACEOF
79516 cat confdefs.h >>conftest.$ac_ext
79517 cat >>conftest.$ac_ext <<_ACEOF
79518 /* end confdefs.h.  */
79519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79520    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79521 #define $ac_func innocuous_$ac_func
79522
79523 /* System header to define __stub macros and hopefully few prototypes,
79524     which can conflict with char $ac_func (); below.
79525     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79526     <limits.h> exists even on freestanding compilers.  */
79527
79528 #ifdef __STDC__
79529 # include <limits.h>
79530 #else
79531 # include <assert.h>
79532 #endif
79533
79534 #undef $ac_func
79535
79536 /* Override any gcc2 internal prototype to avoid an error.  */
79537 #ifdef __cplusplus
79538 extern "C"
79539 {
79540 #endif
79541 /* We use char because int might match the return type of a gcc2
79542    builtin and then its argument prototype would still apply.  */
79543 char $ac_func ();
79544 /* The GNU C library defines this for functions which it implements
79545     to always fail with ENOSYS.  Some functions are actually named
79546     something starting with __ and the normal name is an alias.  */
79547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79548 choke me
79549 #else
79550 char (*f) () = $ac_func;
79551 #endif
79552 #ifdef __cplusplus
79553 }
79554 #endif
79555
79556 int
79557 main ()
79558 {
79559 return f != $ac_func;
79560   ;
79561   return 0;
79562 }
79563 _ACEOF
79564 rm -f conftest.$ac_objext conftest$ac_exeext
79565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79566   (eval $ac_link) 2>conftest.er1
79567   ac_status=$?
79568   grep -v '^ *+' conftest.er1 >conftest.err
79569   rm -f conftest.er1
79570   cat conftest.err >&5
79571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79572   (exit $ac_status); } &&
79573          { ac_try='test -z "$ac_c_werror_flag"
79574                          || test ! -s conftest.err'
79575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79576   (eval $ac_try) 2>&5
79577   ac_status=$?
79578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79579   (exit $ac_status); }; } &&
79580          { ac_try='test -s conftest$ac_exeext'
79581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79582   (eval $ac_try) 2>&5
79583   ac_status=$?
79584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79585   (exit $ac_status); }; }; then
79586   eval "$as_ac_var=yes"
79587 else
79588   echo "$as_me: failed program was:" >&5
79589 sed 's/^/| /' conftest.$ac_ext >&5
79590
79591 eval "$as_ac_var=no"
79592 fi
79593 rm -f conftest.err conftest.$ac_objext \
79594       conftest$ac_exeext conftest.$ac_ext
79595 fi
79596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79598 if test `eval echo '${'$as_ac_var'}'` = yes; then
79599   cat >>confdefs.h <<_ACEOF
79600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79601 _ACEOF
79602
79603 else
79604   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
79605 fi
79606 done
79607
79608
79609           if test x$ac_cv_func_copysignl = x"yes"; then
79610
79611 for ac_func in __signbitl
79612 do
79613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79614 echo "$as_me:$LINENO: checking for $ac_func" >&5
79615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79616 if eval "test \"\${$as_ac_var+set}\" = set"; then
79617   echo $ECHO_N "(cached) $ECHO_C" >&6
79618 else
79619   if test x$gcc_no_link = xyes; then
79620   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79622    { (exit 1); exit 1; }; }
79623 fi
79624 cat >conftest.$ac_ext <<_ACEOF
79625 /* confdefs.h.  */
79626 _ACEOF
79627 cat confdefs.h >>conftest.$ac_ext
79628 cat >>conftest.$ac_ext <<_ACEOF
79629 /* end confdefs.h.  */
79630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79631    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79632 #define $ac_func innocuous_$ac_func
79633
79634 /* System header to define __stub macros and hopefully few prototypes,
79635     which can conflict with char $ac_func (); below.
79636     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79637     <limits.h> exists even on freestanding compilers.  */
79638
79639 #ifdef __STDC__
79640 # include <limits.h>
79641 #else
79642 # include <assert.h>
79643 #endif
79644
79645 #undef $ac_func
79646
79647 /* Override any gcc2 internal prototype to avoid an error.  */
79648 #ifdef __cplusplus
79649 extern "C"
79650 {
79651 #endif
79652 /* We use char because int might match the return type of a gcc2
79653    builtin and then its argument prototype would still apply.  */
79654 char $ac_func ();
79655 /* The GNU C library defines this for functions which it implements
79656     to always fail with ENOSYS.  Some functions are actually named
79657     something starting with __ and the normal name is an alias.  */
79658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79659 choke me
79660 #else
79661 char (*f) () = $ac_func;
79662 #endif
79663 #ifdef __cplusplus
79664 }
79665 #endif
79666
79667 int
79668 main ()
79669 {
79670 return f != $ac_func;
79671   ;
79672   return 0;
79673 }
79674 _ACEOF
79675 rm -f conftest.$ac_objext conftest$ac_exeext
79676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79677   (eval $ac_link) 2>conftest.er1
79678   ac_status=$?
79679   grep -v '^ *+' conftest.er1 >conftest.err
79680   rm -f conftest.er1
79681   cat conftest.err >&5
79682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79683   (exit $ac_status); } &&
79684          { ac_try='test -z "$ac_c_werror_flag"
79685                          || test ! -s conftest.err'
79686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79687   (eval $ac_try) 2>&5
79688   ac_status=$?
79689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79690   (exit $ac_status); }; } &&
79691          { ac_try='test -s conftest$ac_exeext'
79692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79693   (eval $ac_try) 2>&5
79694   ac_status=$?
79695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79696   (exit $ac_status); }; }; then
79697   eval "$as_ac_var=yes"
79698 else
79699   echo "$as_me: failed program was:" >&5
79700 sed 's/^/| /' conftest.$ac_ext >&5
79701
79702 eval "$as_ac_var=no"
79703 fi
79704 rm -f conftest.err conftest.$ac_objext \
79705       conftest$ac_exeext conftest.$ac_ext
79706 fi
79707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79709 if test `eval echo '${'$as_ac_var'}'` = yes; then
79710   cat >>confdefs.h <<_ACEOF
79711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79712 _ACEOF
79713
79714 else
79715   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
79716 fi
79717 done
79718
79719   fi
79720
79721   # Used in libmath/Makefile.am.
79722   if test -n "$LIBMATHOBJS"; then
79723     need_libmath=yes
79724   fi
79725
79726
79727
79728
79729   enable_iconv=no
79730   # Only continue checking if the ISO C99 headers exist and support is on.
79731   if test x"$enable_wchar_t" = xyes; then
79732
79733     # Use iconv for wchar_t to char conversions. As such, check for
79734     # X/Open Portability Guide, version 2 features (XPG2).
79735     if test "${ac_cv_header_iconv_h+set}" = set; then
79736   echo "$as_me:$LINENO: checking for iconv.h" >&5
79737 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79738 if test "${ac_cv_header_iconv_h+set}" = set; then
79739   echo $ECHO_N "(cached) $ECHO_C" >&6
79740 fi
79741 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79742 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79743 else
79744   # Is the header compilable?
79745 echo "$as_me:$LINENO: checking iconv.h usability" >&5
79746 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
79747 cat >conftest.$ac_ext <<_ACEOF
79748 /* confdefs.h.  */
79749 _ACEOF
79750 cat confdefs.h >>conftest.$ac_ext
79751 cat >>conftest.$ac_ext <<_ACEOF
79752 /* end confdefs.h.  */
79753 $ac_includes_default
79754 #include <iconv.h>
79755 _ACEOF
79756 rm -f conftest.$ac_objext
79757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79758   (eval $ac_compile) 2>conftest.er1
79759   ac_status=$?
79760   grep -v '^ *+' conftest.er1 >conftest.err
79761   rm -f conftest.er1
79762   cat conftest.err >&5
79763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79764   (exit $ac_status); } &&
79765          { ac_try='test -z "$ac_c_werror_flag"
79766                          || test ! -s conftest.err'
79767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79768   (eval $ac_try) 2>&5
79769   ac_status=$?
79770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79771   (exit $ac_status); }; } &&
79772          { ac_try='test -s conftest.$ac_objext'
79773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79774   (eval $ac_try) 2>&5
79775   ac_status=$?
79776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79777   (exit $ac_status); }; }; then
79778   ac_header_compiler=yes
79779 else
79780   echo "$as_me: failed program was:" >&5
79781 sed 's/^/| /' conftest.$ac_ext >&5
79782
79783 ac_header_compiler=no
79784 fi
79785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79786 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79787 echo "${ECHO_T}$ac_header_compiler" >&6
79788
79789 # Is the header present?
79790 echo "$as_me:$LINENO: checking iconv.h presence" >&5
79791 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
79792 cat >conftest.$ac_ext <<_ACEOF
79793 /* confdefs.h.  */
79794 _ACEOF
79795 cat confdefs.h >>conftest.$ac_ext
79796 cat >>conftest.$ac_ext <<_ACEOF
79797 /* end confdefs.h.  */
79798 #include <iconv.h>
79799 _ACEOF
79800 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79801   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79802   ac_status=$?
79803   grep -v '^ *+' conftest.er1 >conftest.err
79804   rm -f conftest.er1
79805   cat conftest.err >&5
79806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79807   (exit $ac_status); } >/dev/null; then
79808   if test -s conftest.err; then
79809     ac_cpp_err=$ac_c_preproc_warn_flag
79810     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79811   else
79812     ac_cpp_err=
79813   fi
79814 else
79815   ac_cpp_err=yes
79816 fi
79817 if test -z "$ac_cpp_err"; then
79818   ac_header_preproc=yes
79819 else
79820   echo "$as_me: failed program was:" >&5
79821 sed 's/^/| /' conftest.$ac_ext >&5
79822
79823   ac_header_preproc=no
79824 fi
79825 rm -f conftest.err conftest.$ac_ext
79826 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79827 echo "${ECHO_T}$ac_header_preproc" >&6
79828
79829 # So?  What about this header?
79830 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79831   yes:no: )
79832     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
79833 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79834     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
79835 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
79836     ac_header_preproc=yes
79837     ;;
79838   no:yes:* )
79839     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
79840 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
79841     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
79842 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
79843     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
79844 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
79845     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
79846 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
79847     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
79848 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
79849     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
79850 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
79851     (
79852       cat <<\_ASBOX
79853 ## ----------------------------------------- ##
79854 ## Report this to the package-unused lists.  ##
79855 ## ----------------------------------------- ##
79856 _ASBOX
79857     ) |
79858       sed "s/^/$as_me: WARNING:     /" >&2
79859     ;;
79860 esac
79861 echo "$as_me:$LINENO: checking for iconv.h" >&5
79862 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79863 if test "${ac_cv_header_iconv_h+set}" = set; then
79864   echo $ECHO_N "(cached) $ECHO_C" >&6
79865 else
79866   ac_cv_header_iconv_h=$ac_header_preproc
79867 fi
79868 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79869 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79870
79871 fi
79872 if test $ac_cv_header_iconv_h = yes; then
79873   ac_has_iconv_h=yes
79874 else
79875   ac_has_iconv_h=no
79876 fi
79877
79878
79879     if test "${ac_cv_header_langinfo_h+set}" = set; then
79880   echo "$as_me:$LINENO: checking for langinfo.h" >&5
79881 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79882 if test "${ac_cv_header_langinfo_h+set}" = set; then
79883   echo $ECHO_N "(cached) $ECHO_C" >&6
79884 fi
79885 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79886 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79887 else
79888   # Is the header compilable?
79889 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
79890 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
79891 cat >conftest.$ac_ext <<_ACEOF
79892 /* confdefs.h.  */
79893 _ACEOF
79894 cat confdefs.h >>conftest.$ac_ext
79895 cat >>conftest.$ac_ext <<_ACEOF
79896 /* end confdefs.h.  */
79897 $ac_includes_default
79898 #include <langinfo.h>
79899 _ACEOF
79900 rm -f conftest.$ac_objext
79901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79902   (eval $ac_compile) 2>conftest.er1
79903   ac_status=$?
79904   grep -v '^ *+' conftest.er1 >conftest.err
79905   rm -f conftest.er1
79906   cat conftest.err >&5
79907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79908   (exit $ac_status); } &&
79909          { ac_try='test -z "$ac_c_werror_flag"
79910                          || test ! -s conftest.err'
79911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79912   (eval $ac_try) 2>&5
79913   ac_status=$?
79914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79915   (exit $ac_status); }; } &&
79916          { ac_try='test -s conftest.$ac_objext'
79917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79918   (eval $ac_try) 2>&5
79919   ac_status=$?
79920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79921   (exit $ac_status); }; }; then
79922   ac_header_compiler=yes
79923 else
79924   echo "$as_me: failed program was:" >&5
79925 sed 's/^/| /' conftest.$ac_ext >&5
79926
79927 ac_header_compiler=no
79928 fi
79929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79930 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79931 echo "${ECHO_T}$ac_header_compiler" >&6
79932
79933 # Is the header present?
79934 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
79935 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
79936 cat >conftest.$ac_ext <<_ACEOF
79937 /* confdefs.h.  */
79938 _ACEOF
79939 cat confdefs.h >>conftest.$ac_ext
79940 cat >>conftest.$ac_ext <<_ACEOF
79941 /* end confdefs.h.  */
79942 #include <langinfo.h>
79943 _ACEOF
79944 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79945   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79946   ac_status=$?
79947   grep -v '^ *+' conftest.er1 >conftest.err
79948   rm -f conftest.er1
79949   cat conftest.err >&5
79950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79951   (exit $ac_status); } >/dev/null; then
79952   if test -s conftest.err; then
79953     ac_cpp_err=$ac_c_preproc_warn_flag
79954     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79955   else
79956     ac_cpp_err=
79957   fi
79958 else
79959   ac_cpp_err=yes
79960 fi
79961 if test -z "$ac_cpp_err"; then
79962   ac_header_preproc=yes
79963 else
79964   echo "$as_me: failed program was:" >&5
79965 sed 's/^/| /' conftest.$ac_ext >&5
79966
79967   ac_header_preproc=no
79968 fi
79969 rm -f conftest.err conftest.$ac_ext
79970 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79971 echo "${ECHO_T}$ac_header_preproc" >&6
79972
79973 # So?  What about this header?
79974 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79975   yes:no: )
79976     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
79977 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79978     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
79979 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
79980     ac_header_preproc=yes
79981     ;;
79982   no:yes:* )
79983     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
79984 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
79985     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
79986 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
79987     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
79988 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
79989     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
79990 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
79991     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
79992 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
79993     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
79994 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
79995     (
79996       cat <<\_ASBOX
79997 ## ----------------------------------------- ##
79998 ## Report this to the package-unused lists.  ##
79999 ## ----------------------------------------- ##
80000 _ASBOX
80001     ) |
80002       sed "s/^/$as_me: WARNING:     /" >&2
80003     ;;
80004 esac
80005 echo "$as_me:$LINENO: checking for langinfo.h" >&5
80006 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
80007 if test "${ac_cv_header_langinfo_h+set}" = set; then
80008   echo $ECHO_N "(cached) $ECHO_C" >&6
80009 else
80010   ac_cv_header_langinfo_h=$ac_header_preproc
80011 fi
80012 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
80013 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
80014
80015 fi
80016 if test $ac_cv_header_langinfo_h = yes; then
80017   ac_has_langinfo_h=yes
80018 else
80019   ac_has_langinfo_h=no
80020 fi
80021
80022
80023
80024     # Check for existence of libiconv.a providing XPG2 wchar_t support.
80025     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
80026 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
80027 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
80028   echo $ECHO_N "(cached) $ECHO_C" >&6
80029 else
80030   ac_check_lib_save_LIBS=$LIBS
80031 LIBS="-liconv  $LIBS"
80032 if test x$gcc_no_link = xyes; then
80033   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80035    { (exit 1); exit 1; }; }
80036 fi
80037 cat >conftest.$ac_ext <<_ACEOF
80038 /* confdefs.h.  */
80039 _ACEOF
80040 cat confdefs.h >>conftest.$ac_ext
80041 cat >>conftest.$ac_ext <<_ACEOF
80042 /* end confdefs.h.  */
80043
80044 /* Override any gcc2 internal prototype to avoid an error.  */
80045 #ifdef __cplusplus
80046 extern "C"
80047 #endif
80048 /* We use char because int might match the return type of a gcc2
80049    builtin and then its argument prototype would still apply.  */
80050 char iconv ();
80051 int
80052 main ()
80053 {
80054 iconv ();
80055   ;
80056   return 0;
80057 }
80058 _ACEOF
80059 rm -f conftest.$ac_objext conftest$ac_exeext
80060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80061   (eval $ac_link) 2>conftest.er1
80062   ac_status=$?
80063   grep -v '^ *+' conftest.er1 >conftest.err
80064   rm -f conftest.er1
80065   cat conftest.err >&5
80066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80067   (exit $ac_status); } &&
80068          { ac_try='test -z "$ac_c_werror_flag"
80069                          || test ! -s conftest.err'
80070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80071   (eval $ac_try) 2>&5
80072   ac_status=$?
80073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80074   (exit $ac_status); }; } &&
80075          { ac_try='test -s conftest$ac_exeext'
80076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80077   (eval $ac_try) 2>&5
80078   ac_status=$?
80079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80080   (exit $ac_status); }; }; then
80081   ac_cv_lib_iconv_iconv=yes
80082 else
80083   echo "$as_me: failed program was:" >&5
80084 sed 's/^/| /' conftest.$ac_ext >&5
80085
80086 ac_cv_lib_iconv_iconv=no
80087 fi
80088 rm -f conftest.err conftest.$ac_objext \
80089       conftest$ac_exeext conftest.$ac_ext
80090 LIBS=$ac_check_lib_save_LIBS
80091 fi
80092 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
80093 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
80094 if test $ac_cv_lib_iconv_iconv = yes; then
80095   LIBICONV="-liconv"
80096 fi
80097
80098     ac_save_LIBS="$LIBS"
80099     LIBS="$LIBS $LIBICONV"
80100
80101
80102
80103
80104
80105
80106 for ac_func in iconv_open iconv_close iconv nl_langinfo
80107 do
80108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80109 echo "$as_me:$LINENO: checking for $ac_func" >&5
80110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80111 if eval "test \"\${$as_ac_var+set}\" = set"; then
80112   echo $ECHO_N "(cached) $ECHO_C" >&6
80113 else
80114   if test x$gcc_no_link = xyes; then
80115   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80117    { (exit 1); exit 1; }; }
80118 fi
80119 cat >conftest.$ac_ext <<_ACEOF
80120 /* confdefs.h.  */
80121 _ACEOF
80122 cat confdefs.h >>conftest.$ac_ext
80123 cat >>conftest.$ac_ext <<_ACEOF
80124 /* end confdefs.h.  */
80125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80126    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80127 #define $ac_func innocuous_$ac_func
80128
80129 /* System header to define __stub macros and hopefully few prototypes,
80130     which can conflict with char $ac_func (); below.
80131     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80132     <limits.h> exists even on freestanding compilers.  */
80133
80134 #ifdef __STDC__
80135 # include <limits.h>
80136 #else
80137 # include <assert.h>
80138 #endif
80139
80140 #undef $ac_func
80141
80142 /* Override any gcc2 internal prototype to avoid an error.  */
80143 #ifdef __cplusplus
80144 extern "C"
80145 {
80146 #endif
80147 /* We use char because int might match the return type of a gcc2
80148    builtin and then its argument prototype would still apply.  */
80149 char $ac_func ();
80150 /* The GNU C library defines this for functions which it implements
80151     to always fail with ENOSYS.  Some functions are actually named
80152     something starting with __ and the normal name is an alias.  */
80153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80154 choke me
80155 #else
80156 char (*f) () = $ac_func;
80157 #endif
80158 #ifdef __cplusplus
80159 }
80160 #endif
80161
80162 int
80163 main ()
80164 {
80165 return f != $ac_func;
80166   ;
80167   return 0;
80168 }
80169 _ACEOF
80170 rm -f conftest.$ac_objext conftest$ac_exeext
80171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80172   (eval $ac_link) 2>conftest.er1
80173   ac_status=$?
80174   grep -v '^ *+' conftest.er1 >conftest.err
80175   rm -f conftest.er1
80176   cat conftest.err >&5
80177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80178   (exit $ac_status); } &&
80179          { ac_try='test -z "$ac_c_werror_flag"
80180                          || test ! -s conftest.err'
80181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80182   (eval $ac_try) 2>&5
80183   ac_status=$?
80184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80185   (exit $ac_status); }; } &&
80186          { ac_try='test -s conftest$ac_exeext'
80187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80188   (eval $ac_try) 2>&5
80189   ac_status=$?
80190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80191   (exit $ac_status); }; }; then
80192   eval "$as_ac_var=yes"
80193 else
80194   echo "$as_me: failed program was:" >&5
80195 sed 's/^/| /' conftest.$ac_ext >&5
80196
80197 eval "$as_ac_var=no"
80198 fi
80199 rm -f conftest.err conftest.$ac_objext \
80200       conftest$ac_exeext conftest.$ac_ext
80201 fi
80202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80203 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80204 if test `eval echo '${'$as_ac_var'}'` = yes; then
80205   cat >>confdefs.h <<_ACEOF
80206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80207 _ACEOF
80208  ac_XPG2funcs=yes
80209 else
80210   ac_XPG2funcs=no
80211 fi
80212 done
80213
80214
80215     LIBS="$ac_save_LIBS"
80216
80217     if test x"$ac_has_iconv_h" = xyes &&
80218        test x"$ac_has_langinfo_h" = xyes &&
80219        test x"$ac_XPG2funcs" = xyes;
80220     then
80221
80222 cat >>confdefs.h <<\_ACEOF
80223 #define _GLIBCXX_USE_ICONV 1
80224 _ACEOF
80225
80226       enable_iconv=yes
80227     fi
80228   fi
80229   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
80230 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
80231   echo "$as_me:$LINENO: result: $enable_iconv" >&5
80232 echo "${ECHO_T}$enable_iconv" >&6
80233
80234     ;;
80235   *-netbsd*)
80236
80237
80238
80239
80240
80241
80242
80243
80244
80245
80246
80247
80248 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
80249       machine/endian.h machine/param.h sys/machine.h sys/types.h \
80250       fp.h locale.h float.h inttypes.h
80251 do
80252 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80253 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80254   echo "$as_me:$LINENO: checking for $ac_header" >&5
80255 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80257   echo $ECHO_N "(cached) $ECHO_C" >&6
80258 fi
80259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80260 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80261 else
80262   # Is the header compilable?
80263 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80264 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80265 cat >conftest.$ac_ext <<_ACEOF
80266 /* confdefs.h.  */
80267 _ACEOF
80268 cat confdefs.h >>conftest.$ac_ext
80269 cat >>conftest.$ac_ext <<_ACEOF
80270 /* end confdefs.h.  */
80271 $ac_includes_default
80272 #include <$ac_header>
80273 _ACEOF
80274 rm -f conftest.$ac_objext
80275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80276   (eval $ac_compile) 2>conftest.er1
80277   ac_status=$?
80278   grep -v '^ *+' conftest.er1 >conftest.err
80279   rm -f conftest.er1
80280   cat conftest.err >&5
80281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80282   (exit $ac_status); } &&
80283          { ac_try='test -z "$ac_c_werror_flag"
80284                          || test ! -s conftest.err'
80285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80286   (eval $ac_try) 2>&5
80287   ac_status=$?
80288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80289   (exit $ac_status); }; } &&
80290          { ac_try='test -s conftest.$ac_objext'
80291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80292   (eval $ac_try) 2>&5
80293   ac_status=$?
80294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80295   (exit $ac_status); }; }; then
80296   ac_header_compiler=yes
80297 else
80298   echo "$as_me: failed program was:" >&5
80299 sed 's/^/| /' conftest.$ac_ext >&5
80300
80301 ac_header_compiler=no
80302 fi
80303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80304 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80305 echo "${ECHO_T}$ac_header_compiler" >&6
80306
80307 # Is the header present?
80308 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80309 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80310 cat >conftest.$ac_ext <<_ACEOF
80311 /* confdefs.h.  */
80312 _ACEOF
80313 cat confdefs.h >>conftest.$ac_ext
80314 cat >>conftest.$ac_ext <<_ACEOF
80315 /* end confdefs.h.  */
80316 #include <$ac_header>
80317 _ACEOF
80318 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80319   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80320   ac_status=$?
80321   grep -v '^ *+' conftest.er1 >conftest.err
80322   rm -f conftest.er1
80323   cat conftest.err >&5
80324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80325   (exit $ac_status); } >/dev/null; then
80326   if test -s conftest.err; then
80327     ac_cpp_err=$ac_c_preproc_warn_flag
80328     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80329   else
80330     ac_cpp_err=
80331   fi
80332 else
80333   ac_cpp_err=yes
80334 fi
80335 if test -z "$ac_cpp_err"; then
80336   ac_header_preproc=yes
80337 else
80338   echo "$as_me: failed program was:" >&5
80339 sed 's/^/| /' conftest.$ac_ext >&5
80340
80341   ac_header_preproc=no
80342 fi
80343 rm -f conftest.err conftest.$ac_ext
80344 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80345 echo "${ECHO_T}$ac_header_preproc" >&6
80346
80347 # So?  What about this header?
80348 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80349   yes:no: )
80350     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80351 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80352     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80353 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80354     ac_header_preproc=yes
80355     ;;
80356   no:yes:* )
80357     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80358 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80359     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
80360 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
80361     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80362 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80363     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
80364 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
80365     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80366 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80367     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80368 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80369     (
80370       cat <<\_ASBOX
80371 ## ----------------------------------------- ##
80372 ## Report this to the package-unused lists.  ##
80373 ## ----------------------------------------- ##
80374 _ASBOX
80375     ) |
80376       sed "s/^/$as_me: WARNING:     /" >&2
80377     ;;
80378 esac
80379 echo "$as_me:$LINENO: checking for $ac_header" >&5
80380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80381 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80382   echo $ECHO_N "(cached) $ECHO_C" >&6
80383 else
80384   eval "$as_ac_Header=\$ac_header_preproc"
80385 fi
80386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80387 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80388
80389 fi
80390 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80391   cat >>confdefs.h <<_ACEOF
80392 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80393 _ACEOF
80394
80395 fi
80396
80397 done
80398
80399     SECTION_FLAGS='-ffunction-sections -fdata-sections'
80400
80401
80402   # If we're not using GNU ld, then there's no point in even trying these
80403   # tests.  Check for that first.  We should have already tested for gld
80404   # by now (in libtool), but require it now just to be safe...
80405   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
80406   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
80407
80408
80409
80410   # The name set by libtool depends on the version of libtool.  Shame on us
80411   # for depending on an impl detail, but c'est la vie.  Older versions used
80412   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
80413   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
80414   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
80415   # set (hence we're using an older libtool), then set it.
80416   if test x${with_gnu_ld+set} != xset; then
80417     if test x${ac_cv_prog_gnu_ld+set} != xset; then
80418       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
80419       with_gnu_ld=no
80420     else
80421       with_gnu_ld=$ac_cv_prog_gnu_ld
80422     fi
80423   fi
80424
80425   # Start by getting the version number.  I think the libtool test already
80426   # does some of this, but throws away the result.
80427
80428   ldver=`$LD --version 2>/dev/null | head -1 | \
80429          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
80430
80431   glibcxx_gnu_ld_version=`echo $ldver | \
80432          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
80433
80434   # Set --gc-sections.
80435   if test "$with_gnu_ld" = "notbroken"; then
80436     # GNU ld it is!  Joy and bunny rabbits!
80437
80438     # All these tests are for C++; save the language and the compiler flags.
80439     # Need to do this so that g++ won't try to link in libstdc++
80440     ac_test_CFLAGS="${CFLAGS+set}"
80441     ac_save_CFLAGS="$CFLAGS"
80442     CFLAGS='-x c++  -Wl,--gc-sections'
80443
80444     # Check for -Wl,--gc-sections
80445     # XXX This test is broken at the moment, as symbols required for linking
80446     # are now in libsupc++ (not built yet).  In addition, this test has
80447     # cored on solaris in the past.  In addition, --gc-sections doesn't
80448     # really work at the moment (keeps on discarding used sections, first
80449     # .eh_frame and now some of the glibc sections for iconv).
80450     # Bzzzzt.  Thanks for playing, maybe next time.
80451     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
80452 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
80453     if test "$cross_compiling" = yes; then
80454   ac_sectionLDflags=yes
80455 else
80456   cat >conftest.$ac_ext <<_ACEOF
80457 /* confdefs.h.  */
80458 _ACEOF
80459 cat confdefs.h >>conftest.$ac_ext
80460 cat >>conftest.$ac_ext <<_ACEOF
80461 /* end confdefs.h.  */
80462
80463      int main(void)
80464      {
80465        try { throw 1; }
80466        catch (...) { };
80467        return 0;
80468      }
80469
80470 _ACEOF
80471 rm -f conftest$ac_exeext
80472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80473   (eval $ac_link) 2>&5
80474   ac_status=$?
80475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80476   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
80477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80478   (eval $ac_try) 2>&5
80479   ac_status=$?
80480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80481   (exit $ac_status); }; }; then
80482   ac_sectionLDflags=yes
80483 else
80484   echo "$as_me: program exited with status $ac_status" >&5
80485 echo "$as_me: failed program was:" >&5
80486 sed 's/^/| /' conftest.$ac_ext >&5
80487
80488 ( exit $ac_status )
80489 ac_sectionLDflags=no
80490 fi
80491 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
80492 fi
80493     if test "$ac_test_CFLAGS" = set; then
80494       CFLAGS="$ac_save_CFLAGS"
80495     else
80496       # this is the suspicious part
80497       CFLAGS=''
80498     fi
80499     if test "$ac_sectionLDflags" = "yes"; then
80500       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
80501     fi
80502     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
80503 echo "${ECHO_T}$ac_sectionLDflags" >&6
80504   fi
80505
80506   # Set linker optimization flags.
80507   if test x"$with_gnu_ld" = x"yes"; then
80508     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
80509   fi
80510
80511
80512
80513
80514
80515
80516 echo "$as_me:$LINENO: checking for main in -lm" >&5
80517 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
80518 if test "${ac_cv_lib_m_main+set}" = set; then
80519   echo $ECHO_N "(cached) $ECHO_C" >&6
80520 else
80521   ac_check_lib_save_LIBS=$LIBS
80522 LIBS="-lm  $LIBS"
80523 if test x$gcc_no_link = xyes; then
80524   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80526    { (exit 1); exit 1; }; }
80527 fi
80528 cat >conftest.$ac_ext <<_ACEOF
80529 /* confdefs.h.  */
80530 _ACEOF
80531 cat confdefs.h >>conftest.$ac_ext
80532 cat >>conftest.$ac_ext <<_ACEOF
80533 /* end confdefs.h.  */
80534
80535
80536 int
80537 main ()
80538 {
80539 main ();
80540   ;
80541   return 0;
80542 }
80543 _ACEOF
80544 rm -f conftest.$ac_objext conftest$ac_exeext
80545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80546   (eval $ac_link) 2>conftest.er1
80547   ac_status=$?
80548   grep -v '^ *+' conftest.er1 >conftest.err
80549   rm -f conftest.er1
80550   cat conftest.err >&5
80551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80552   (exit $ac_status); } &&
80553          { ac_try='test -z "$ac_c_werror_flag"
80554                          || test ! -s conftest.err'
80555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80556   (eval $ac_try) 2>&5
80557   ac_status=$?
80558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80559   (exit $ac_status); }; } &&
80560          { ac_try='test -s conftest$ac_exeext'
80561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80562   (eval $ac_try) 2>&5
80563   ac_status=$?
80564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80565   (exit $ac_status); }; }; then
80566   ac_cv_lib_m_main=yes
80567 else
80568   echo "$as_me: failed program was:" >&5
80569 sed 's/^/| /' conftest.$ac_ext >&5
80570
80571 ac_cv_lib_m_main=no
80572 fi
80573 rm -f conftest.err conftest.$ac_objext \
80574       conftest$ac_exeext conftest.$ac_ext
80575 LIBS=$ac_check_lib_save_LIBS
80576 fi
80577 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
80578 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
80579 if test $ac_cv_lib_m_main = yes; then
80580   cat >>confdefs.h <<_ACEOF
80581 #define HAVE_LIBM 1
80582 _ACEOF
80583
80584   LIBS="-lm $LIBS"
80585
80586 fi
80587
80588
80589 for ac_func in copysignf
80590 do
80591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80592 echo "$as_me:$LINENO: checking for $ac_func" >&5
80593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80594 if eval "test \"\${$as_ac_var+set}\" = set"; then
80595   echo $ECHO_N "(cached) $ECHO_C" >&6
80596 else
80597   if test x$gcc_no_link = xyes; then
80598   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80600    { (exit 1); exit 1; }; }
80601 fi
80602 cat >conftest.$ac_ext <<_ACEOF
80603 /* confdefs.h.  */
80604 _ACEOF
80605 cat confdefs.h >>conftest.$ac_ext
80606 cat >>conftest.$ac_ext <<_ACEOF
80607 /* end confdefs.h.  */
80608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80609    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80610 #define $ac_func innocuous_$ac_func
80611
80612 /* System header to define __stub macros and hopefully few prototypes,
80613     which can conflict with char $ac_func (); below.
80614     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80615     <limits.h> exists even on freestanding compilers.  */
80616
80617 #ifdef __STDC__
80618 # include <limits.h>
80619 #else
80620 # include <assert.h>
80621 #endif
80622
80623 #undef $ac_func
80624
80625 /* Override any gcc2 internal prototype to avoid an error.  */
80626 #ifdef __cplusplus
80627 extern "C"
80628 {
80629 #endif
80630 /* We use char because int might match the return type of a gcc2
80631    builtin and then its argument prototype would still apply.  */
80632 char $ac_func ();
80633 /* The GNU C library defines this for functions which it implements
80634     to always fail with ENOSYS.  Some functions are actually named
80635     something starting with __ and the normal name is an alias.  */
80636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80637 choke me
80638 #else
80639 char (*f) () = $ac_func;
80640 #endif
80641 #ifdef __cplusplus
80642 }
80643 #endif
80644
80645 int
80646 main ()
80647 {
80648 return f != $ac_func;
80649   ;
80650   return 0;
80651 }
80652 _ACEOF
80653 rm -f conftest.$ac_objext conftest$ac_exeext
80654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80655   (eval $ac_link) 2>conftest.er1
80656   ac_status=$?
80657   grep -v '^ *+' conftest.er1 >conftest.err
80658   rm -f conftest.er1
80659   cat conftest.err >&5
80660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80661   (exit $ac_status); } &&
80662          { ac_try='test -z "$ac_c_werror_flag"
80663                          || test ! -s conftest.err'
80664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80665   (eval $ac_try) 2>&5
80666   ac_status=$?
80667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80668   (exit $ac_status); }; } &&
80669          { ac_try='test -s conftest$ac_exeext'
80670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80671   (eval $ac_try) 2>&5
80672   ac_status=$?
80673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80674   (exit $ac_status); }; }; then
80675   eval "$as_ac_var=yes"
80676 else
80677   echo "$as_me: failed program was:" >&5
80678 sed 's/^/| /' conftest.$ac_ext >&5
80679
80680 eval "$as_ac_var=no"
80681 fi
80682 rm -f conftest.err conftest.$ac_objext \
80683       conftest$ac_exeext conftest.$ac_ext
80684 fi
80685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80687 if test `eval echo '${'$as_ac_var'}'` = yes; then
80688   cat >>confdefs.h <<_ACEOF
80689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80690 _ACEOF
80691
80692 else
80693   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
80694 fi
80695 done
80696
80697
80698
80699 for ac_func in __signbit
80700 do
80701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80702 echo "$as_me:$LINENO: checking for $ac_func" >&5
80703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80704 if eval "test \"\${$as_ac_var+set}\" = set"; then
80705   echo $ECHO_N "(cached) $ECHO_C" >&6
80706 else
80707   if test x$gcc_no_link = xyes; then
80708   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80710    { (exit 1); exit 1; }; }
80711 fi
80712 cat >conftest.$ac_ext <<_ACEOF
80713 /* confdefs.h.  */
80714 _ACEOF
80715 cat confdefs.h >>conftest.$ac_ext
80716 cat >>conftest.$ac_ext <<_ACEOF
80717 /* end confdefs.h.  */
80718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80719    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80720 #define $ac_func innocuous_$ac_func
80721
80722 /* System header to define __stub macros and hopefully few prototypes,
80723     which can conflict with char $ac_func (); below.
80724     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80725     <limits.h> exists even on freestanding compilers.  */
80726
80727 #ifdef __STDC__
80728 # include <limits.h>
80729 #else
80730 # include <assert.h>
80731 #endif
80732
80733 #undef $ac_func
80734
80735 /* Override any gcc2 internal prototype to avoid an error.  */
80736 #ifdef __cplusplus
80737 extern "C"
80738 {
80739 #endif
80740 /* We use char because int might match the return type of a gcc2
80741    builtin and then its argument prototype would still apply.  */
80742 char $ac_func ();
80743 /* The GNU C library defines this for functions which it implements
80744     to always fail with ENOSYS.  Some functions are actually named
80745     something starting with __ and the normal name is an alias.  */
80746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80747 choke me
80748 #else
80749 char (*f) () = $ac_func;
80750 #endif
80751 #ifdef __cplusplus
80752 }
80753 #endif
80754
80755 int
80756 main ()
80757 {
80758 return f != $ac_func;
80759   ;
80760   return 0;
80761 }
80762 _ACEOF
80763 rm -f conftest.$ac_objext conftest$ac_exeext
80764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80765   (eval $ac_link) 2>conftest.er1
80766   ac_status=$?
80767   grep -v '^ *+' conftest.er1 >conftest.err
80768   rm -f conftest.er1
80769   cat conftest.err >&5
80770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80771   (exit $ac_status); } &&
80772          { ac_try='test -z "$ac_c_werror_flag"
80773                          || test ! -s conftest.err'
80774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80775   (eval $ac_try) 2>&5
80776   ac_status=$?
80777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80778   (exit $ac_status); }; } &&
80779          { ac_try='test -s conftest$ac_exeext'
80780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80781   (eval $ac_try) 2>&5
80782   ac_status=$?
80783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80784   (exit $ac_status); }; }; then
80785   eval "$as_ac_var=yes"
80786 else
80787   echo "$as_me: failed program was:" >&5
80788 sed 's/^/| /' conftest.$ac_ext >&5
80789
80790 eval "$as_ac_var=no"
80791 fi
80792 rm -f conftest.err conftest.$ac_objext \
80793       conftest$ac_exeext conftest.$ac_ext
80794 fi
80795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80797 if test `eval echo '${'$as_ac_var'}'` = yes; then
80798   cat >>confdefs.h <<_ACEOF
80799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80800 _ACEOF
80801
80802 else
80803   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
80804 fi
80805 done
80806
80807
80808
80809 for ac_func in __signbitf
80810 do
80811 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80812 echo "$as_me:$LINENO: checking for $ac_func" >&5
80813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80814 if eval "test \"\${$as_ac_var+set}\" = set"; then
80815   echo $ECHO_N "(cached) $ECHO_C" >&6
80816 else
80817   if test x$gcc_no_link = xyes; then
80818   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80819 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80820    { (exit 1); exit 1; }; }
80821 fi
80822 cat >conftest.$ac_ext <<_ACEOF
80823 /* confdefs.h.  */
80824 _ACEOF
80825 cat confdefs.h >>conftest.$ac_ext
80826 cat >>conftest.$ac_ext <<_ACEOF
80827 /* end confdefs.h.  */
80828 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80829    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80830 #define $ac_func innocuous_$ac_func
80831
80832 /* System header to define __stub macros and hopefully few prototypes,
80833     which can conflict with char $ac_func (); below.
80834     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80835     <limits.h> exists even on freestanding compilers.  */
80836
80837 #ifdef __STDC__
80838 # include <limits.h>
80839 #else
80840 # include <assert.h>
80841 #endif
80842
80843 #undef $ac_func
80844
80845 /* Override any gcc2 internal prototype to avoid an error.  */
80846 #ifdef __cplusplus
80847 extern "C"
80848 {
80849 #endif
80850 /* We use char because int might match the return type of a gcc2
80851    builtin and then its argument prototype would still apply.  */
80852 char $ac_func ();
80853 /* The GNU C library defines this for functions which it implements
80854     to always fail with ENOSYS.  Some functions are actually named
80855     something starting with __ and the normal name is an alias.  */
80856 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80857 choke me
80858 #else
80859 char (*f) () = $ac_func;
80860 #endif
80861 #ifdef __cplusplus
80862 }
80863 #endif
80864
80865 int
80866 main ()
80867 {
80868 return f != $ac_func;
80869   ;
80870   return 0;
80871 }
80872 _ACEOF
80873 rm -f conftest.$ac_objext conftest$ac_exeext
80874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80875   (eval $ac_link) 2>conftest.er1
80876   ac_status=$?
80877   grep -v '^ *+' conftest.er1 >conftest.err
80878   rm -f conftest.er1
80879   cat conftest.err >&5
80880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80881   (exit $ac_status); } &&
80882          { ac_try='test -z "$ac_c_werror_flag"
80883                          || test ! -s conftest.err'
80884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80885   (eval $ac_try) 2>&5
80886   ac_status=$?
80887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80888   (exit $ac_status); }; } &&
80889          { ac_try='test -s conftest$ac_exeext'
80890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80891   (eval $ac_try) 2>&5
80892   ac_status=$?
80893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80894   (exit $ac_status); }; }; then
80895   eval "$as_ac_var=yes"
80896 else
80897   echo "$as_me: failed program was:" >&5
80898 sed 's/^/| /' conftest.$ac_ext >&5
80899
80900 eval "$as_ac_var=no"
80901 fi
80902 rm -f conftest.err conftest.$ac_objext \
80903       conftest$ac_exeext conftest.$ac_ext
80904 fi
80905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80906 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80907 if test `eval echo '${'$as_ac_var'}'` = yes; then
80908   cat >>confdefs.h <<_ACEOF
80909 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80910 _ACEOF
80911
80912 else
80913   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
80914 fi
80915 done
80916
80917
80918           if test x$ac_cv_func_copysignl = x"yes"; then
80919
80920 for ac_func in __signbitl
80921 do
80922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80923 echo "$as_me:$LINENO: checking for $ac_func" >&5
80924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80925 if eval "test \"\${$as_ac_var+set}\" = set"; then
80926   echo $ECHO_N "(cached) $ECHO_C" >&6
80927 else
80928   if test x$gcc_no_link = xyes; then
80929   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80931    { (exit 1); exit 1; }; }
80932 fi
80933 cat >conftest.$ac_ext <<_ACEOF
80934 /* confdefs.h.  */
80935 _ACEOF
80936 cat confdefs.h >>conftest.$ac_ext
80937 cat >>conftest.$ac_ext <<_ACEOF
80938 /* end confdefs.h.  */
80939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80940    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80941 #define $ac_func innocuous_$ac_func
80942
80943 /* System header to define __stub macros and hopefully few prototypes,
80944     which can conflict with char $ac_func (); below.
80945     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80946     <limits.h> exists even on freestanding compilers.  */
80947
80948 #ifdef __STDC__
80949 # include <limits.h>
80950 #else
80951 # include <assert.h>
80952 #endif
80953
80954 #undef $ac_func
80955
80956 /* Override any gcc2 internal prototype to avoid an error.  */
80957 #ifdef __cplusplus
80958 extern "C"
80959 {
80960 #endif
80961 /* We use char because int might match the return type of a gcc2
80962    builtin and then its argument prototype would still apply.  */
80963 char $ac_func ();
80964 /* The GNU C library defines this for functions which it implements
80965     to always fail with ENOSYS.  Some functions are actually named
80966     something starting with __ and the normal name is an alias.  */
80967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80968 choke me
80969 #else
80970 char (*f) () = $ac_func;
80971 #endif
80972 #ifdef __cplusplus
80973 }
80974 #endif
80975
80976 int
80977 main ()
80978 {
80979 return f != $ac_func;
80980   ;
80981   return 0;
80982 }
80983 _ACEOF
80984 rm -f conftest.$ac_objext conftest$ac_exeext
80985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80986   (eval $ac_link) 2>conftest.er1
80987   ac_status=$?
80988   grep -v '^ *+' conftest.er1 >conftest.err
80989   rm -f conftest.er1
80990   cat conftest.err >&5
80991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80992   (exit $ac_status); } &&
80993          { ac_try='test -z "$ac_c_werror_flag"
80994                          || test ! -s conftest.err'
80995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80996   (eval $ac_try) 2>&5
80997   ac_status=$?
80998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80999   (exit $ac_status); }; } &&
81000          { ac_try='test -s conftest$ac_exeext'
81001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81002   (eval $ac_try) 2>&5
81003   ac_status=$?
81004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81005   (exit $ac_status); }; }; then
81006   eval "$as_ac_var=yes"
81007 else
81008   echo "$as_me: failed program was:" >&5
81009 sed 's/^/| /' conftest.$ac_ext >&5
81010
81011 eval "$as_ac_var=no"
81012 fi
81013 rm -f conftest.err conftest.$ac_objext \
81014       conftest$ac_exeext conftest.$ac_ext
81015 fi
81016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81018 if test `eval echo '${'$as_ac_var'}'` = yes; then
81019   cat >>confdefs.h <<_ACEOF
81020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81021 _ACEOF
81022
81023 else
81024   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
81025 fi
81026 done
81027
81028   fi
81029
81030   # Used in libmath/Makefile.am.
81031   if test -n "$LIBMATHOBJS"; then
81032     need_libmath=yes
81033   fi
81034
81035
81036
81037
81038   enable_iconv=no
81039   # Only continue checking if the ISO C99 headers exist and support is on.
81040   if test x"$enable_wchar_t" = xyes; then
81041
81042     # Use iconv for wchar_t to char conversions. As such, check for
81043     # X/Open Portability Guide, version 2 features (XPG2).
81044     if test "${ac_cv_header_iconv_h+set}" = set; then
81045   echo "$as_me:$LINENO: checking for iconv.h" >&5
81046 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81047 if test "${ac_cv_header_iconv_h+set}" = set; then
81048   echo $ECHO_N "(cached) $ECHO_C" >&6
81049 fi
81050 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81051 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81052 else
81053   # Is the header compilable?
81054 echo "$as_me:$LINENO: checking iconv.h usability" >&5
81055 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
81056 cat >conftest.$ac_ext <<_ACEOF
81057 /* confdefs.h.  */
81058 _ACEOF
81059 cat confdefs.h >>conftest.$ac_ext
81060 cat >>conftest.$ac_ext <<_ACEOF
81061 /* end confdefs.h.  */
81062 $ac_includes_default
81063 #include <iconv.h>
81064 _ACEOF
81065 rm -f conftest.$ac_objext
81066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81067   (eval $ac_compile) 2>conftest.er1
81068   ac_status=$?
81069   grep -v '^ *+' conftest.er1 >conftest.err
81070   rm -f conftest.er1
81071   cat conftest.err >&5
81072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81073   (exit $ac_status); } &&
81074          { ac_try='test -z "$ac_c_werror_flag"
81075                          || test ! -s conftest.err'
81076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81077   (eval $ac_try) 2>&5
81078   ac_status=$?
81079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81080   (exit $ac_status); }; } &&
81081          { ac_try='test -s conftest.$ac_objext'
81082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81083   (eval $ac_try) 2>&5
81084   ac_status=$?
81085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81086   (exit $ac_status); }; }; then
81087   ac_header_compiler=yes
81088 else
81089   echo "$as_me: failed program was:" >&5
81090 sed 's/^/| /' conftest.$ac_ext >&5
81091
81092 ac_header_compiler=no
81093 fi
81094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81095 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81096 echo "${ECHO_T}$ac_header_compiler" >&6
81097
81098 # Is the header present?
81099 echo "$as_me:$LINENO: checking iconv.h presence" >&5
81100 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
81101 cat >conftest.$ac_ext <<_ACEOF
81102 /* confdefs.h.  */
81103 _ACEOF
81104 cat confdefs.h >>conftest.$ac_ext
81105 cat >>conftest.$ac_ext <<_ACEOF
81106 /* end confdefs.h.  */
81107 #include <iconv.h>
81108 _ACEOF
81109 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81110   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81111   ac_status=$?
81112   grep -v '^ *+' conftest.er1 >conftest.err
81113   rm -f conftest.er1
81114   cat conftest.err >&5
81115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81116   (exit $ac_status); } >/dev/null; then
81117   if test -s conftest.err; then
81118     ac_cpp_err=$ac_c_preproc_warn_flag
81119     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81120   else
81121     ac_cpp_err=
81122   fi
81123 else
81124   ac_cpp_err=yes
81125 fi
81126 if test -z "$ac_cpp_err"; then
81127   ac_header_preproc=yes
81128 else
81129   echo "$as_me: failed program was:" >&5
81130 sed 's/^/| /' conftest.$ac_ext >&5
81131
81132   ac_header_preproc=no
81133 fi
81134 rm -f conftest.err conftest.$ac_ext
81135 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81136 echo "${ECHO_T}$ac_header_preproc" >&6
81137
81138 # So?  What about this header?
81139 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81140   yes:no: )
81141     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
81142 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81143     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
81144 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
81145     ac_header_preproc=yes
81146     ;;
81147   no:yes:* )
81148     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
81149 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
81150     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
81151 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
81152     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
81153 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
81154     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
81155 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
81156     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
81157 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
81158     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
81159 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
81160     (
81161       cat <<\_ASBOX
81162 ## ----------------------------------------- ##
81163 ## Report this to the package-unused lists.  ##
81164 ## ----------------------------------------- ##
81165 _ASBOX
81166     ) |
81167       sed "s/^/$as_me: WARNING:     /" >&2
81168     ;;
81169 esac
81170 echo "$as_me:$LINENO: checking for iconv.h" >&5
81171 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81172 if test "${ac_cv_header_iconv_h+set}" = set; then
81173   echo $ECHO_N "(cached) $ECHO_C" >&6
81174 else
81175   ac_cv_header_iconv_h=$ac_header_preproc
81176 fi
81177 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81178 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81179
81180 fi
81181 if test $ac_cv_header_iconv_h = yes; then
81182   ac_has_iconv_h=yes
81183 else
81184   ac_has_iconv_h=no
81185 fi
81186
81187
81188     if test "${ac_cv_header_langinfo_h+set}" = set; then
81189   echo "$as_me:$LINENO: checking for langinfo.h" >&5
81190 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81191 if test "${ac_cv_header_langinfo_h+set}" = set; then
81192   echo $ECHO_N "(cached) $ECHO_C" >&6
81193 fi
81194 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81195 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81196 else
81197   # Is the header compilable?
81198 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
81199 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
81200 cat >conftest.$ac_ext <<_ACEOF
81201 /* confdefs.h.  */
81202 _ACEOF
81203 cat confdefs.h >>conftest.$ac_ext
81204 cat >>conftest.$ac_ext <<_ACEOF
81205 /* end confdefs.h.  */
81206 $ac_includes_default
81207 #include <langinfo.h>
81208 _ACEOF
81209 rm -f conftest.$ac_objext
81210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81211   (eval $ac_compile) 2>conftest.er1
81212   ac_status=$?
81213   grep -v '^ *+' conftest.er1 >conftest.err
81214   rm -f conftest.er1
81215   cat conftest.err >&5
81216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81217   (exit $ac_status); } &&
81218          { ac_try='test -z "$ac_c_werror_flag"
81219                          || test ! -s conftest.err'
81220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81221   (eval $ac_try) 2>&5
81222   ac_status=$?
81223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81224   (exit $ac_status); }; } &&
81225          { ac_try='test -s conftest.$ac_objext'
81226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81227   (eval $ac_try) 2>&5
81228   ac_status=$?
81229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81230   (exit $ac_status); }; }; then
81231   ac_header_compiler=yes
81232 else
81233   echo "$as_me: failed program was:" >&5
81234 sed 's/^/| /' conftest.$ac_ext >&5
81235
81236 ac_header_compiler=no
81237 fi
81238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81239 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81240 echo "${ECHO_T}$ac_header_compiler" >&6
81241
81242 # Is the header present?
81243 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
81244 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
81245 cat >conftest.$ac_ext <<_ACEOF
81246 /* confdefs.h.  */
81247 _ACEOF
81248 cat confdefs.h >>conftest.$ac_ext
81249 cat >>conftest.$ac_ext <<_ACEOF
81250 /* end confdefs.h.  */
81251 #include <langinfo.h>
81252 _ACEOF
81253 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81254   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81255   ac_status=$?
81256   grep -v '^ *+' conftest.er1 >conftest.err
81257   rm -f conftest.er1
81258   cat conftest.err >&5
81259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81260   (exit $ac_status); } >/dev/null; then
81261   if test -s conftest.err; then
81262     ac_cpp_err=$ac_c_preproc_warn_flag
81263     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81264   else
81265     ac_cpp_err=
81266   fi
81267 else
81268   ac_cpp_err=yes
81269 fi
81270 if test -z "$ac_cpp_err"; then
81271   ac_header_preproc=yes
81272 else
81273   echo "$as_me: failed program was:" >&5
81274 sed 's/^/| /' conftest.$ac_ext >&5
81275
81276   ac_header_preproc=no
81277 fi
81278 rm -f conftest.err conftest.$ac_ext
81279 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81280 echo "${ECHO_T}$ac_header_preproc" >&6
81281
81282 # So?  What about this header?
81283 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81284   yes:no: )
81285     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
81286 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81287     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
81288 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
81289     ac_header_preproc=yes
81290     ;;
81291   no:yes:* )
81292     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
81293 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
81294     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
81295 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
81296     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
81297 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
81298     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
81299 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
81300     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
81301 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
81302     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
81303 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
81304     (
81305       cat <<\_ASBOX
81306 ## ----------------------------------------- ##
81307 ## Report this to the package-unused lists.  ##
81308 ## ----------------------------------------- ##
81309 _ASBOX
81310     ) |
81311       sed "s/^/$as_me: WARNING:     /" >&2
81312     ;;
81313 esac
81314 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81315 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81316 if test "${ac_cv_header_langinfo_h+set}" = set; then
81317   echo $ECHO_N "(cached) $ECHO_C" >&6
81318 else
81319   ac_cv_header_langinfo_h=$ac_header_preproc
81320 fi
81321 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81322 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81323
81324 fi
81325 if test $ac_cv_header_langinfo_h = yes; then
81326   ac_has_langinfo_h=yes
81327 else
81328   ac_has_langinfo_h=no
81329 fi
81330
81331
81332
81333     # Check for existence of libiconv.a providing XPG2 wchar_t support.
81334     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
81335 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
81336 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
81337   echo $ECHO_N "(cached) $ECHO_C" >&6
81338 else
81339   ac_check_lib_save_LIBS=$LIBS
81340 LIBS="-liconv  $LIBS"
81341 if test x$gcc_no_link = xyes; then
81342   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81344    { (exit 1); exit 1; }; }
81345 fi
81346 cat >conftest.$ac_ext <<_ACEOF
81347 /* confdefs.h.  */
81348 _ACEOF
81349 cat confdefs.h >>conftest.$ac_ext
81350 cat >>conftest.$ac_ext <<_ACEOF
81351 /* end confdefs.h.  */
81352
81353 /* Override any gcc2 internal prototype to avoid an error.  */
81354 #ifdef __cplusplus
81355 extern "C"
81356 #endif
81357 /* We use char because int might match the return type of a gcc2
81358    builtin and then its argument prototype would still apply.  */
81359 char iconv ();
81360 int
81361 main ()
81362 {
81363 iconv ();
81364   ;
81365   return 0;
81366 }
81367 _ACEOF
81368 rm -f conftest.$ac_objext conftest$ac_exeext
81369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81370   (eval $ac_link) 2>conftest.er1
81371   ac_status=$?
81372   grep -v '^ *+' conftest.er1 >conftest.err
81373   rm -f conftest.er1
81374   cat conftest.err >&5
81375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81376   (exit $ac_status); } &&
81377          { ac_try='test -z "$ac_c_werror_flag"
81378                          || test ! -s conftest.err'
81379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81380   (eval $ac_try) 2>&5
81381   ac_status=$?
81382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81383   (exit $ac_status); }; } &&
81384          { ac_try='test -s conftest$ac_exeext'
81385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81386   (eval $ac_try) 2>&5
81387   ac_status=$?
81388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81389   (exit $ac_status); }; }; then
81390   ac_cv_lib_iconv_iconv=yes
81391 else
81392   echo "$as_me: failed program was:" >&5
81393 sed 's/^/| /' conftest.$ac_ext >&5
81394
81395 ac_cv_lib_iconv_iconv=no
81396 fi
81397 rm -f conftest.err conftest.$ac_objext \
81398       conftest$ac_exeext conftest.$ac_ext
81399 LIBS=$ac_check_lib_save_LIBS
81400 fi
81401 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
81402 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
81403 if test $ac_cv_lib_iconv_iconv = yes; then
81404   LIBICONV="-liconv"
81405 fi
81406
81407     ac_save_LIBS="$LIBS"
81408     LIBS="$LIBS $LIBICONV"
81409
81410
81411
81412
81413
81414
81415 for ac_func in iconv_open iconv_close iconv nl_langinfo
81416 do
81417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81418 echo "$as_me:$LINENO: checking for $ac_func" >&5
81419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81420 if eval "test \"\${$as_ac_var+set}\" = set"; then
81421   echo $ECHO_N "(cached) $ECHO_C" >&6
81422 else
81423   if test x$gcc_no_link = xyes; then
81424   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81426    { (exit 1); exit 1; }; }
81427 fi
81428 cat >conftest.$ac_ext <<_ACEOF
81429 /* confdefs.h.  */
81430 _ACEOF
81431 cat confdefs.h >>conftest.$ac_ext
81432 cat >>conftest.$ac_ext <<_ACEOF
81433 /* end confdefs.h.  */
81434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81435    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81436 #define $ac_func innocuous_$ac_func
81437
81438 /* System header to define __stub macros and hopefully few prototypes,
81439     which can conflict with char $ac_func (); below.
81440     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81441     <limits.h> exists even on freestanding compilers.  */
81442
81443 #ifdef __STDC__
81444 # include <limits.h>
81445 #else
81446 # include <assert.h>
81447 #endif
81448
81449 #undef $ac_func
81450
81451 /* Override any gcc2 internal prototype to avoid an error.  */
81452 #ifdef __cplusplus
81453 extern "C"
81454 {
81455 #endif
81456 /* We use char because int might match the return type of a gcc2
81457    builtin and then its argument prototype would still apply.  */
81458 char $ac_func ();
81459 /* The GNU C library defines this for functions which it implements
81460     to always fail with ENOSYS.  Some functions are actually named
81461     something starting with __ and the normal name is an alias.  */
81462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81463 choke me
81464 #else
81465 char (*f) () = $ac_func;
81466 #endif
81467 #ifdef __cplusplus
81468 }
81469 #endif
81470
81471 int
81472 main ()
81473 {
81474 return f != $ac_func;
81475   ;
81476   return 0;
81477 }
81478 _ACEOF
81479 rm -f conftest.$ac_objext conftest$ac_exeext
81480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81481   (eval $ac_link) 2>conftest.er1
81482   ac_status=$?
81483   grep -v '^ *+' conftest.er1 >conftest.err
81484   rm -f conftest.er1
81485   cat conftest.err >&5
81486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81487   (exit $ac_status); } &&
81488          { ac_try='test -z "$ac_c_werror_flag"
81489                          || test ! -s conftest.err'
81490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81491   (eval $ac_try) 2>&5
81492   ac_status=$?
81493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81494   (exit $ac_status); }; } &&
81495          { ac_try='test -s conftest$ac_exeext'
81496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81497   (eval $ac_try) 2>&5
81498   ac_status=$?
81499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81500   (exit $ac_status); }; }; then
81501   eval "$as_ac_var=yes"
81502 else
81503   echo "$as_me: failed program was:" >&5
81504 sed 's/^/| /' conftest.$ac_ext >&5
81505
81506 eval "$as_ac_var=no"
81507 fi
81508 rm -f conftest.err conftest.$ac_objext \
81509       conftest$ac_exeext conftest.$ac_ext
81510 fi
81511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81513 if test `eval echo '${'$as_ac_var'}'` = yes; then
81514   cat >>confdefs.h <<_ACEOF
81515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81516 _ACEOF
81517  ac_XPG2funcs=yes
81518 else
81519   ac_XPG2funcs=no
81520 fi
81521 done
81522
81523
81524     LIBS="$ac_save_LIBS"
81525
81526     if test x"$ac_has_iconv_h" = xyes &&
81527        test x"$ac_has_langinfo_h" = xyes &&
81528        test x"$ac_XPG2funcs" = xyes;
81529     then
81530
81531 cat >>confdefs.h <<\_ACEOF
81532 #define _GLIBCXX_USE_ICONV 1
81533 _ACEOF
81534
81535       enable_iconv=yes
81536     fi
81537   fi
81538   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
81539 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
81540   echo "$as_me:$LINENO: result: $enable_iconv" >&5
81541 echo "${ECHO_T}$enable_iconv" >&6
81542
81543     cat >>confdefs.h <<\_ACEOF
81544 #define HAVE_COPYSIGN 1
81545 _ACEOF
81546
81547     cat >>confdefs.h <<\_ACEOF
81548 #define HAVE_COPYSIGNF 1
81549 _ACEOF
81550
81551     cat >>confdefs.h <<\_ACEOF
81552 #define HAVE_FINITEF 1
81553 _ACEOF
81554
81555     cat >>confdefs.h <<\_ACEOF
81556 #define HAVE_FINITE 1
81557 _ACEOF
81558
81559     cat >>confdefs.h <<\_ACEOF
81560 #define HAVE_FREXPF 1
81561 _ACEOF
81562
81563     cat >>confdefs.h <<\_ACEOF
81564 #define HAVE_HYPOTF 1
81565 _ACEOF
81566
81567     cat >>confdefs.h <<\_ACEOF
81568 #define HAVE_ISINF 1
81569 _ACEOF
81570
81571     cat >>confdefs.h <<\_ACEOF
81572 #define HAVE_ISINFF 1
81573 _ACEOF
81574
81575     cat >>confdefs.h <<\_ACEOF
81576 #define HAVE_ISNAN 1
81577 _ACEOF
81578
81579     cat >>confdefs.h <<\_ACEOF
81580 #define HAVE_ISNANF 1
81581 _ACEOF
81582
81583     if test x"long_double_math_on_this_cpu" = x"yes"; then
81584       cat >>confdefs.h <<\_ACEOF
81585 #define HAVE_FINITEL 1
81586 _ACEOF
81587
81588       cat >>confdefs.h <<\_ACEOF
81589 #define HAVE_ISINFL 1
81590 _ACEOF
81591
81592       cat >>confdefs.h <<\_ACEOF
81593 #define HAVE_ISNANL 1
81594 _ACEOF
81595
81596     fi
81597     ;;
81598   *-netware)
81599
81600
81601
81602
81603
81604
81605
81606
81607 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
81608       sys/types.h locale.h float.h inttypes.h
81609 do
81610 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81611 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81612   echo "$as_me:$LINENO: checking for $ac_header" >&5
81613 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81614 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81615   echo $ECHO_N "(cached) $ECHO_C" >&6
81616 fi
81617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81618 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81619 else
81620   # Is the header compilable?
81621 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81622 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
81623 cat >conftest.$ac_ext <<_ACEOF
81624 /* confdefs.h.  */
81625 _ACEOF
81626 cat confdefs.h >>conftest.$ac_ext
81627 cat >>conftest.$ac_ext <<_ACEOF
81628 /* end confdefs.h.  */
81629 $ac_includes_default
81630 #include <$ac_header>
81631 _ACEOF
81632 rm -f conftest.$ac_objext
81633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81634   (eval $ac_compile) 2>conftest.er1
81635   ac_status=$?
81636   grep -v '^ *+' conftest.er1 >conftest.err
81637   rm -f conftest.er1
81638   cat conftest.err >&5
81639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81640   (exit $ac_status); } &&
81641          { ac_try='test -z "$ac_c_werror_flag"
81642                          || test ! -s conftest.err'
81643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81644   (eval $ac_try) 2>&5
81645   ac_status=$?
81646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81647   (exit $ac_status); }; } &&
81648          { ac_try='test -s conftest.$ac_objext'
81649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81650   (eval $ac_try) 2>&5
81651   ac_status=$?
81652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81653   (exit $ac_status); }; }; then
81654   ac_header_compiler=yes
81655 else
81656   echo "$as_me: failed program was:" >&5
81657 sed 's/^/| /' conftest.$ac_ext >&5
81658
81659 ac_header_compiler=no
81660 fi
81661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81662 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81663 echo "${ECHO_T}$ac_header_compiler" >&6
81664
81665 # Is the header present?
81666 echo "$as_me:$LINENO: checking $ac_header presence" >&5
81667 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
81668 cat >conftest.$ac_ext <<_ACEOF
81669 /* confdefs.h.  */
81670 _ACEOF
81671 cat confdefs.h >>conftest.$ac_ext
81672 cat >>conftest.$ac_ext <<_ACEOF
81673 /* end confdefs.h.  */
81674 #include <$ac_header>
81675 _ACEOF
81676 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81677   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81678   ac_status=$?
81679   grep -v '^ *+' conftest.er1 >conftest.err
81680   rm -f conftest.er1
81681   cat conftest.err >&5
81682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81683   (exit $ac_status); } >/dev/null; then
81684   if test -s conftest.err; then
81685     ac_cpp_err=$ac_c_preproc_warn_flag
81686     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81687   else
81688     ac_cpp_err=
81689   fi
81690 else
81691   ac_cpp_err=yes
81692 fi
81693 if test -z "$ac_cpp_err"; then
81694   ac_header_preproc=yes
81695 else
81696   echo "$as_me: failed program was:" >&5
81697 sed 's/^/| /' conftest.$ac_ext >&5
81698
81699   ac_header_preproc=no
81700 fi
81701 rm -f conftest.err conftest.$ac_ext
81702 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81703 echo "${ECHO_T}$ac_header_preproc" >&6
81704
81705 # So?  What about this header?
81706 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81707   yes:no: )
81708     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
81709 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
81710     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
81711 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
81712     ac_header_preproc=yes
81713     ;;
81714   no:yes:* )
81715     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
81716 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
81717     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
81718 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
81719     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
81720 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
81721     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
81722 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
81723     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
81724 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
81725     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
81726 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
81727     (
81728       cat <<\_ASBOX
81729 ## ----------------------------------------- ##
81730 ## Report this to the package-unused lists.  ##
81731 ## ----------------------------------------- ##
81732 _ASBOX
81733     ) |
81734       sed "s/^/$as_me: WARNING:     /" >&2
81735     ;;
81736 esac
81737 echo "$as_me:$LINENO: checking for $ac_header" >&5
81738 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81740   echo $ECHO_N "(cached) $ECHO_C" >&6
81741 else
81742   eval "$as_ac_Header=\$ac_header_preproc"
81743 fi
81744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81745 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81746
81747 fi
81748 if test `eval echo '${'$as_ac_Header'}'` = yes; then
81749   cat >>confdefs.h <<_ACEOF
81750 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
81751 _ACEOF
81752
81753 fi
81754
81755 done
81756
81757     SECTION_FLAGS='-ffunction-sections -fdata-sections'
81758
81759
81760   # If we're not using GNU ld, then there's no point in even trying these
81761   # tests.  Check for that first.  We should have already tested for gld
81762   # by now (in libtool), but require it now just to be safe...
81763   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
81764   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
81765
81766
81767
81768   # The name set by libtool depends on the version of libtool.  Shame on us
81769   # for depending on an impl detail, but c'est la vie.  Older versions used
81770   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
81771   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
81772   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
81773   # set (hence we're using an older libtool), then set it.
81774   if test x${with_gnu_ld+set} != xset; then
81775     if test x${ac_cv_prog_gnu_ld+set} != xset; then
81776       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
81777       with_gnu_ld=no
81778     else
81779       with_gnu_ld=$ac_cv_prog_gnu_ld
81780     fi
81781   fi
81782
81783   # Start by getting the version number.  I think the libtool test already
81784   # does some of this, but throws away the result.
81785
81786   ldver=`$LD --version 2>/dev/null | head -1 | \
81787          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
81788
81789   glibcxx_gnu_ld_version=`echo $ldver | \
81790          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
81791
81792   # Set --gc-sections.
81793   if test "$with_gnu_ld" = "notbroken"; then
81794     # GNU ld it is!  Joy and bunny rabbits!
81795
81796     # All these tests are for C++; save the language and the compiler flags.
81797     # Need to do this so that g++ won't try to link in libstdc++
81798     ac_test_CFLAGS="${CFLAGS+set}"
81799     ac_save_CFLAGS="$CFLAGS"
81800     CFLAGS='-x c++  -Wl,--gc-sections'
81801
81802     # Check for -Wl,--gc-sections
81803     # XXX This test is broken at the moment, as symbols required for linking
81804     # are now in libsupc++ (not built yet).  In addition, this test has
81805     # cored on solaris in the past.  In addition, --gc-sections doesn't
81806     # really work at the moment (keeps on discarding used sections, first
81807     # .eh_frame and now some of the glibc sections for iconv).
81808     # Bzzzzt.  Thanks for playing, maybe next time.
81809     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
81810 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
81811     if test "$cross_compiling" = yes; then
81812   ac_sectionLDflags=yes
81813 else
81814   cat >conftest.$ac_ext <<_ACEOF
81815 /* confdefs.h.  */
81816 _ACEOF
81817 cat confdefs.h >>conftest.$ac_ext
81818 cat >>conftest.$ac_ext <<_ACEOF
81819 /* end confdefs.h.  */
81820
81821      int main(void)
81822      {
81823        try { throw 1; }
81824        catch (...) { };
81825        return 0;
81826      }
81827
81828 _ACEOF
81829 rm -f conftest$ac_exeext
81830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81831   (eval $ac_link) 2>&5
81832   ac_status=$?
81833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81834   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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); }; }; then
81840   ac_sectionLDflags=yes
81841 else
81842   echo "$as_me: program exited with status $ac_status" >&5
81843 echo "$as_me: failed program was:" >&5
81844 sed 's/^/| /' conftest.$ac_ext >&5
81845
81846 ( exit $ac_status )
81847 ac_sectionLDflags=no
81848 fi
81849 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
81850 fi
81851     if test "$ac_test_CFLAGS" = set; then
81852       CFLAGS="$ac_save_CFLAGS"
81853     else
81854       # this is the suspicious part
81855       CFLAGS=''
81856     fi
81857     if test "$ac_sectionLDflags" = "yes"; then
81858       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
81859     fi
81860     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
81861 echo "${ECHO_T}$ac_sectionLDflags" >&6
81862   fi
81863
81864   # Set linker optimization flags.
81865   if test x"$with_gnu_ld" = x"yes"; then
81866     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
81867   fi
81868
81869
81870
81871
81872
81873
81874 echo "$as_me:$LINENO: checking for main in -lm" >&5
81875 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
81876 if test "${ac_cv_lib_m_main+set}" = set; then
81877   echo $ECHO_N "(cached) $ECHO_C" >&6
81878 else
81879   ac_check_lib_save_LIBS=$LIBS
81880 LIBS="-lm  $LIBS"
81881 if test x$gcc_no_link = xyes; then
81882   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81884    { (exit 1); exit 1; }; }
81885 fi
81886 cat >conftest.$ac_ext <<_ACEOF
81887 /* confdefs.h.  */
81888 _ACEOF
81889 cat confdefs.h >>conftest.$ac_ext
81890 cat >>conftest.$ac_ext <<_ACEOF
81891 /* end confdefs.h.  */
81892
81893
81894 int
81895 main ()
81896 {
81897 main ();
81898   ;
81899   return 0;
81900 }
81901 _ACEOF
81902 rm -f conftest.$ac_objext conftest$ac_exeext
81903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81904   (eval $ac_link) 2>conftest.er1
81905   ac_status=$?
81906   grep -v '^ *+' conftest.er1 >conftest.err
81907   rm -f conftest.er1
81908   cat conftest.err >&5
81909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81910   (exit $ac_status); } &&
81911          { ac_try='test -z "$ac_c_werror_flag"
81912                          || test ! -s conftest.err'
81913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81914   (eval $ac_try) 2>&5
81915   ac_status=$?
81916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81917   (exit $ac_status); }; } &&
81918          { ac_try='test -s conftest$ac_exeext'
81919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81920   (eval $ac_try) 2>&5
81921   ac_status=$?
81922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81923   (exit $ac_status); }; }; then
81924   ac_cv_lib_m_main=yes
81925 else
81926   echo "$as_me: failed program was:" >&5
81927 sed 's/^/| /' conftest.$ac_ext >&5
81928
81929 ac_cv_lib_m_main=no
81930 fi
81931 rm -f conftest.err conftest.$ac_objext \
81932       conftest$ac_exeext conftest.$ac_ext
81933 LIBS=$ac_check_lib_save_LIBS
81934 fi
81935 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
81936 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
81937 if test $ac_cv_lib_m_main = yes; then
81938   cat >>confdefs.h <<_ACEOF
81939 #define HAVE_LIBM 1
81940 _ACEOF
81941
81942   LIBS="-lm $LIBS"
81943
81944 fi
81945
81946
81947 for ac_func in copysignf
81948 do
81949 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81950 echo "$as_me:$LINENO: checking for $ac_func" >&5
81951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81952 if eval "test \"\${$as_ac_var+set}\" = set"; then
81953   echo $ECHO_N "(cached) $ECHO_C" >&6
81954 else
81955   if test x$gcc_no_link = xyes; then
81956   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81958    { (exit 1); exit 1; }; }
81959 fi
81960 cat >conftest.$ac_ext <<_ACEOF
81961 /* confdefs.h.  */
81962 _ACEOF
81963 cat confdefs.h >>conftest.$ac_ext
81964 cat >>conftest.$ac_ext <<_ACEOF
81965 /* end confdefs.h.  */
81966 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81967    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81968 #define $ac_func innocuous_$ac_func
81969
81970 /* System header to define __stub macros and hopefully few prototypes,
81971     which can conflict with char $ac_func (); below.
81972     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81973     <limits.h> exists even on freestanding compilers.  */
81974
81975 #ifdef __STDC__
81976 # include <limits.h>
81977 #else
81978 # include <assert.h>
81979 #endif
81980
81981 #undef $ac_func
81982
81983 /* Override any gcc2 internal prototype to avoid an error.  */
81984 #ifdef __cplusplus
81985 extern "C"
81986 {
81987 #endif
81988 /* We use char because int might match the return type of a gcc2
81989    builtin and then its argument prototype would still apply.  */
81990 char $ac_func ();
81991 /* The GNU C library defines this for functions which it implements
81992     to always fail with ENOSYS.  Some functions are actually named
81993     something starting with __ and the normal name is an alias.  */
81994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81995 choke me
81996 #else
81997 char (*f) () = $ac_func;
81998 #endif
81999 #ifdef __cplusplus
82000 }
82001 #endif
82002
82003 int
82004 main ()
82005 {
82006 return f != $ac_func;
82007   ;
82008   return 0;
82009 }
82010 _ACEOF
82011 rm -f conftest.$ac_objext conftest$ac_exeext
82012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82013   (eval $ac_link) 2>conftest.er1
82014   ac_status=$?
82015   grep -v '^ *+' conftest.er1 >conftest.err
82016   rm -f conftest.er1
82017   cat conftest.err >&5
82018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82019   (exit $ac_status); } &&
82020          { ac_try='test -z "$ac_c_werror_flag"
82021                          || test ! -s conftest.err'
82022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82023   (eval $ac_try) 2>&5
82024   ac_status=$?
82025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82026   (exit $ac_status); }; } &&
82027          { ac_try='test -s conftest$ac_exeext'
82028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82029   (eval $ac_try) 2>&5
82030   ac_status=$?
82031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82032   (exit $ac_status); }; }; then
82033   eval "$as_ac_var=yes"
82034 else
82035   echo "$as_me: failed program was:" >&5
82036 sed 's/^/| /' conftest.$ac_ext >&5
82037
82038 eval "$as_ac_var=no"
82039 fi
82040 rm -f conftest.err conftest.$ac_objext \
82041       conftest$ac_exeext conftest.$ac_ext
82042 fi
82043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82044 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82045 if test `eval echo '${'$as_ac_var'}'` = yes; then
82046   cat >>confdefs.h <<_ACEOF
82047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82048 _ACEOF
82049
82050 else
82051   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
82052 fi
82053 done
82054
82055
82056
82057 for ac_func in __signbit
82058 do
82059 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82060 echo "$as_me:$LINENO: checking for $ac_func" >&5
82061 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82062 if eval "test \"\${$as_ac_var+set}\" = set"; then
82063   echo $ECHO_N "(cached) $ECHO_C" >&6
82064 else
82065   if test x$gcc_no_link = xyes; then
82066   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82068    { (exit 1); exit 1; }; }
82069 fi
82070 cat >conftest.$ac_ext <<_ACEOF
82071 /* confdefs.h.  */
82072 _ACEOF
82073 cat confdefs.h >>conftest.$ac_ext
82074 cat >>conftest.$ac_ext <<_ACEOF
82075 /* end confdefs.h.  */
82076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82077    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82078 #define $ac_func innocuous_$ac_func
82079
82080 /* System header to define __stub macros and hopefully few prototypes,
82081     which can conflict with char $ac_func (); below.
82082     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82083     <limits.h> exists even on freestanding compilers.  */
82084
82085 #ifdef __STDC__
82086 # include <limits.h>
82087 #else
82088 # include <assert.h>
82089 #endif
82090
82091 #undef $ac_func
82092
82093 /* Override any gcc2 internal prototype to avoid an error.  */
82094 #ifdef __cplusplus
82095 extern "C"
82096 {
82097 #endif
82098 /* We use char because int might match the return type of a gcc2
82099    builtin and then its argument prototype would still apply.  */
82100 char $ac_func ();
82101 /* The GNU C library defines this for functions which it implements
82102     to always fail with ENOSYS.  Some functions are actually named
82103     something starting with __ and the normal name is an alias.  */
82104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82105 choke me
82106 #else
82107 char (*f) () = $ac_func;
82108 #endif
82109 #ifdef __cplusplus
82110 }
82111 #endif
82112
82113 int
82114 main ()
82115 {
82116 return f != $ac_func;
82117   ;
82118   return 0;
82119 }
82120 _ACEOF
82121 rm -f conftest.$ac_objext conftest$ac_exeext
82122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82123   (eval $ac_link) 2>conftest.er1
82124   ac_status=$?
82125   grep -v '^ *+' conftest.er1 >conftest.err
82126   rm -f conftest.er1
82127   cat conftest.err >&5
82128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82129   (exit $ac_status); } &&
82130          { ac_try='test -z "$ac_c_werror_flag"
82131                          || test ! -s conftest.err'
82132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82133   (eval $ac_try) 2>&5
82134   ac_status=$?
82135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82136   (exit $ac_status); }; } &&
82137          { ac_try='test -s conftest$ac_exeext'
82138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82139   (eval $ac_try) 2>&5
82140   ac_status=$?
82141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82142   (exit $ac_status); }; }; then
82143   eval "$as_ac_var=yes"
82144 else
82145   echo "$as_me: failed program was:" >&5
82146 sed 's/^/| /' conftest.$ac_ext >&5
82147
82148 eval "$as_ac_var=no"
82149 fi
82150 rm -f conftest.err conftest.$ac_objext \
82151       conftest$ac_exeext conftest.$ac_ext
82152 fi
82153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82155 if test `eval echo '${'$as_ac_var'}'` = yes; then
82156   cat >>confdefs.h <<_ACEOF
82157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82158 _ACEOF
82159
82160 else
82161   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
82162 fi
82163 done
82164
82165
82166
82167 for ac_func in __signbitf
82168 do
82169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82170 echo "$as_me:$LINENO: checking for $ac_func" >&5
82171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82172 if eval "test \"\${$as_ac_var+set}\" = set"; then
82173   echo $ECHO_N "(cached) $ECHO_C" >&6
82174 else
82175   if test x$gcc_no_link = xyes; then
82176   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82178    { (exit 1); exit 1; }; }
82179 fi
82180 cat >conftest.$ac_ext <<_ACEOF
82181 /* confdefs.h.  */
82182 _ACEOF
82183 cat confdefs.h >>conftest.$ac_ext
82184 cat >>conftest.$ac_ext <<_ACEOF
82185 /* end confdefs.h.  */
82186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82187    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82188 #define $ac_func innocuous_$ac_func
82189
82190 /* System header to define __stub macros and hopefully few prototypes,
82191     which can conflict with char $ac_func (); below.
82192     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82193     <limits.h> exists even on freestanding compilers.  */
82194
82195 #ifdef __STDC__
82196 # include <limits.h>
82197 #else
82198 # include <assert.h>
82199 #endif
82200
82201 #undef $ac_func
82202
82203 /* Override any gcc2 internal prototype to avoid an error.  */
82204 #ifdef __cplusplus
82205 extern "C"
82206 {
82207 #endif
82208 /* We use char because int might match the return type of a gcc2
82209    builtin and then its argument prototype would still apply.  */
82210 char $ac_func ();
82211 /* The GNU C library defines this for functions which it implements
82212     to always fail with ENOSYS.  Some functions are actually named
82213     something starting with __ and the normal name is an alias.  */
82214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82215 choke me
82216 #else
82217 char (*f) () = $ac_func;
82218 #endif
82219 #ifdef __cplusplus
82220 }
82221 #endif
82222
82223 int
82224 main ()
82225 {
82226 return f != $ac_func;
82227   ;
82228   return 0;
82229 }
82230 _ACEOF
82231 rm -f conftest.$ac_objext conftest$ac_exeext
82232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82233   (eval $ac_link) 2>conftest.er1
82234   ac_status=$?
82235   grep -v '^ *+' conftest.er1 >conftest.err
82236   rm -f conftest.er1
82237   cat conftest.err >&5
82238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82239   (exit $ac_status); } &&
82240          { ac_try='test -z "$ac_c_werror_flag"
82241                          || test ! -s conftest.err'
82242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82243   (eval $ac_try) 2>&5
82244   ac_status=$?
82245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82246   (exit $ac_status); }; } &&
82247          { ac_try='test -s conftest$ac_exeext'
82248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82249   (eval $ac_try) 2>&5
82250   ac_status=$?
82251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82252   (exit $ac_status); }; }; then
82253   eval "$as_ac_var=yes"
82254 else
82255   echo "$as_me: failed program was:" >&5
82256 sed 's/^/| /' conftest.$ac_ext >&5
82257
82258 eval "$as_ac_var=no"
82259 fi
82260 rm -f conftest.err conftest.$ac_objext \
82261       conftest$ac_exeext conftest.$ac_ext
82262 fi
82263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82265 if test `eval echo '${'$as_ac_var'}'` = yes; then
82266   cat >>confdefs.h <<_ACEOF
82267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82268 _ACEOF
82269
82270 else
82271   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
82272 fi
82273 done
82274
82275
82276           if test x$ac_cv_func_copysignl = x"yes"; then
82277
82278 for ac_func in __signbitl
82279 do
82280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82281 echo "$as_me:$LINENO: checking for $ac_func" >&5
82282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82283 if eval "test \"\${$as_ac_var+set}\" = set"; then
82284   echo $ECHO_N "(cached) $ECHO_C" >&6
82285 else
82286   if test x$gcc_no_link = xyes; then
82287   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82289    { (exit 1); exit 1; }; }
82290 fi
82291 cat >conftest.$ac_ext <<_ACEOF
82292 /* confdefs.h.  */
82293 _ACEOF
82294 cat confdefs.h >>conftest.$ac_ext
82295 cat >>conftest.$ac_ext <<_ACEOF
82296 /* end confdefs.h.  */
82297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82298    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82299 #define $ac_func innocuous_$ac_func
82300
82301 /* System header to define __stub macros and hopefully few prototypes,
82302     which can conflict with char $ac_func (); below.
82303     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82304     <limits.h> exists even on freestanding compilers.  */
82305
82306 #ifdef __STDC__
82307 # include <limits.h>
82308 #else
82309 # include <assert.h>
82310 #endif
82311
82312 #undef $ac_func
82313
82314 /* Override any gcc2 internal prototype to avoid an error.  */
82315 #ifdef __cplusplus
82316 extern "C"
82317 {
82318 #endif
82319 /* We use char because int might match the return type of a gcc2
82320    builtin and then its argument prototype would still apply.  */
82321 char $ac_func ();
82322 /* The GNU C library defines this for functions which it implements
82323     to always fail with ENOSYS.  Some functions are actually named
82324     something starting with __ and the normal name is an alias.  */
82325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82326 choke me
82327 #else
82328 char (*f) () = $ac_func;
82329 #endif
82330 #ifdef __cplusplus
82331 }
82332 #endif
82333
82334 int
82335 main ()
82336 {
82337 return f != $ac_func;
82338   ;
82339   return 0;
82340 }
82341 _ACEOF
82342 rm -f conftest.$ac_objext conftest$ac_exeext
82343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82344   (eval $ac_link) 2>conftest.er1
82345   ac_status=$?
82346   grep -v '^ *+' conftest.er1 >conftest.err
82347   rm -f conftest.er1
82348   cat conftest.err >&5
82349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82350   (exit $ac_status); } &&
82351          { ac_try='test -z "$ac_c_werror_flag"
82352                          || test ! -s conftest.err'
82353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82354   (eval $ac_try) 2>&5
82355   ac_status=$?
82356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82357   (exit $ac_status); }; } &&
82358          { ac_try='test -s conftest$ac_exeext'
82359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82360   (eval $ac_try) 2>&5
82361   ac_status=$?
82362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82363   (exit $ac_status); }; }; then
82364   eval "$as_ac_var=yes"
82365 else
82366   echo "$as_me: failed program was:" >&5
82367 sed 's/^/| /' conftest.$ac_ext >&5
82368
82369 eval "$as_ac_var=no"
82370 fi
82371 rm -f conftest.err conftest.$ac_objext \
82372       conftest$ac_exeext conftest.$ac_ext
82373 fi
82374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82376 if test `eval echo '${'$as_ac_var'}'` = yes; then
82377   cat >>confdefs.h <<_ACEOF
82378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82379 _ACEOF
82380
82381 else
82382   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
82383 fi
82384 done
82385
82386   fi
82387
82388   # Used in libmath/Makefile.am.
82389   if test -n "$LIBMATHOBJS"; then
82390     need_libmath=yes
82391   fi
82392
82393
82394
82395
82396   enable_iconv=no
82397   # Only continue checking if the ISO C99 headers exist and support is on.
82398   if test x"$enable_wchar_t" = xyes; then
82399
82400     # Use iconv for wchar_t to char conversions. As such, check for
82401     # X/Open Portability Guide, version 2 features (XPG2).
82402     if test "${ac_cv_header_iconv_h+set}" = set; then
82403   echo "$as_me:$LINENO: checking for iconv.h" >&5
82404 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
82405 if test "${ac_cv_header_iconv_h+set}" = set; then
82406   echo $ECHO_N "(cached) $ECHO_C" >&6
82407 fi
82408 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
82409 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
82410 else
82411   # Is the header compilable?
82412 echo "$as_me:$LINENO: checking iconv.h usability" >&5
82413 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
82414 cat >conftest.$ac_ext <<_ACEOF
82415 /* confdefs.h.  */
82416 _ACEOF
82417 cat confdefs.h >>conftest.$ac_ext
82418 cat >>conftest.$ac_ext <<_ACEOF
82419 /* end confdefs.h.  */
82420 $ac_includes_default
82421 #include <iconv.h>
82422 _ACEOF
82423 rm -f conftest.$ac_objext
82424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82425   (eval $ac_compile) 2>conftest.er1
82426   ac_status=$?
82427   grep -v '^ *+' conftest.er1 >conftest.err
82428   rm -f conftest.er1
82429   cat conftest.err >&5
82430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82431   (exit $ac_status); } &&
82432          { ac_try='test -z "$ac_c_werror_flag"
82433                          || test ! -s conftest.err'
82434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82435   (eval $ac_try) 2>&5
82436   ac_status=$?
82437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82438   (exit $ac_status); }; } &&
82439          { ac_try='test -s conftest.$ac_objext'
82440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82441   (eval $ac_try) 2>&5
82442   ac_status=$?
82443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82444   (exit $ac_status); }; }; then
82445   ac_header_compiler=yes
82446 else
82447   echo "$as_me: failed program was:" >&5
82448 sed 's/^/| /' conftest.$ac_ext >&5
82449
82450 ac_header_compiler=no
82451 fi
82452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82453 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82454 echo "${ECHO_T}$ac_header_compiler" >&6
82455
82456 # Is the header present?
82457 echo "$as_me:$LINENO: checking iconv.h presence" >&5
82458 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
82459 cat >conftest.$ac_ext <<_ACEOF
82460 /* confdefs.h.  */
82461 _ACEOF
82462 cat confdefs.h >>conftest.$ac_ext
82463 cat >>conftest.$ac_ext <<_ACEOF
82464 /* end confdefs.h.  */
82465 #include <iconv.h>
82466 _ACEOF
82467 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82468   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82469   ac_status=$?
82470   grep -v '^ *+' conftest.er1 >conftest.err
82471   rm -f conftest.er1
82472   cat conftest.err >&5
82473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82474   (exit $ac_status); } >/dev/null; then
82475   if test -s conftest.err; then
82476     ac_cpp_err=$ac_c_preproc_warn_flag
82477     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82478   else
82479     ac_cpp_err=
82480   fi
82481 else
82482   ac_cpp_err=yes
82483 fi
82484 if test -z "$ac_cpp_err"; then
82485   ac_header_preproc=yes
82486 else
82487   echo "$as_me: failed program was:" >&5
82488 sed 's/^/| /' conftest.$ac_ext >&5
82489
82490   ac_header_preproc=no
82491 fi
82492 rm -f conftest.err conftest.$ac_ext
82493 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82494 echo "${ECHO_T}$ac_header_preproc" >&6
82495
82496 # So?  What about this header?
82497 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82498   yes:no: )
82499     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
82500 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
82501     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
82502 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
82503     ac_header_preproc=yes
82504     ;;
82505   no:yes:* )
82506     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
82507 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
82508     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
82509 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
82510     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
82511 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
82512     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
82513 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
82514     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
82515 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
82516     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
82517 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
82518     (
82519       cat <<\_ASBOX
82520 ## ----------------------------------------- ##
82521 ## Report this to the package-unused lists.  ##
82522 ## ----------------------------------------- ##
82523 _ASBOX
82524     ) |
82525       sed "s/^/$as_me: WARNING:     /" >&2
82526     ;;
82527 esac
82528 echo "$as_me:$LINENO: checking for iconv.h" >&5
82529 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
82530 if test "${ac_cv_header_iconv_h+set}" = set; then
82531   echo $ECHO_N "(cached) $ECHO_C" >&6
82532 else
82533   ac_cv_header_iconv_h=$ac_header_preproc
82534 fi
82535 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
82536 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
82537
82538 fi
82539 if test $ac_cv_header_iconv_h = yes; then
82540   ac_has_iconv_h=yes
82541 else
82542   ac_has_iconv_h=no
82543 fi
82544
82545
82546     if test "${ac_cv_header_langinfo_h+set}" = set; then
82547   echo "$as_me:$LINENO: checking for langinfo.h" >&5
82548 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
82549 if test "${ac_cv_header_langinfo_h+set}" = set; then
82550   echo $ECHO_N "(cached) $ECHO_C" >&6
82551 fi
82552 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
82553 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
82554 else
82555   # Is the header compilable?
82556 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
82557 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
82558 cat >conftest.$ac_ext <<_ACEOF
82559 /* confdefs.h.  */
82560 _ACEOF
82561 cat confdefs.h >>conftest.$ac_ext
82562 cat >>conftest.$ac_ext <<_ACEOF
82563 /* end confdefs.h.  */
82564 $ac_includes_default
82565 #include <langinfo.h>
82566 _ACEOF
82567 rm -f conftest.$ac_objext
82568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82569   (eval $ac_compile) 2>conftest.er1
82570   ac_status=$?
82571   grep -v '^ *+' conftest.er1 >conftest.err
82572   rm -f conftest.er1
82573   cat conftest.err >&5
82574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82575   (exit $ac_status); } &&
82576          { ac_try='test -z "$ac_c_werror_flag"
82577                          || test ! -s conftest.err'
82578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82579   (eval $ac_try) 2>&5
82580   ac_status=$?
82581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82582   (exit $ac_status); }; } &&
82583          { ac_try='test -s conftest.$ac_objext'
82584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82585   (eval $ac_try) 2>&5
82586   ac_status=$?
82587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82588   (exit $ac_status); }; }; then
82589   ac_header_compiler=yes
82590 else
82591   echo "$as_me: failed program was:" >&5
82592 sed 's/^/| /' conftest.$ac_ext >&5
82593
82594 ac_header_compiler=no
82595 fi
82596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82597 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82598 echo "${ECHO_T}$ac_header_compiler" >&6
82599
82600 # Is the header present?
82601 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
82602 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
82603 cat >conftest.$ac_ext <<_ACEOF
82604 /* confdefs.h.  */
82605 _ACEOF
82606 cat confdefs.h >>conftest.$ac_ext
82607 cat >>conftest.$ac_ext <<_ACEOF
82608 /* end confdefs.h.  */
82609 #include <langinfo.h>
82610 _ACEOF
82611 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82612   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82613   ac_status=$?
82614   grep -v '^ *+' conftest.er1 >conftest.err
82615   rm -f conftest.er1
82616   cat conftest.err >&5
82617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82618   (exit $ac_status); } >/dev/null; then
82619   if test -s conftest.err; then
82620     ac_cpp_err=$ac_c_preproc_warn_flag
82621     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82622   else
82623     ac_cpp_err=
82624   fi
82625 else
82626   ac_cpp_err=yes
82627 fi
82628 if test -z "$ac_cpp_err"; then
82629   ac_header_preproc=yes
82630 else
82631   echo "$as_me: failed program was:" >&5
82632 sed 's/^/| /' conftest.$ac_ext >&5
82633
82634   ac_header_preproc=no
82635 fi
82636 rm -f conftest.err conftest.$ac_ext
82637 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82638 echo "${ECHO_T}$ac_header_preproc" >&6
82639
82640 # So?  What about this header?
82641 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82642   yes:no: )
82643     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
82644 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
82645     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
82646 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
82647     ac_header_preproc=yes
82648     ;;
82649   no:yes:* )
82650     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
82651 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
82652     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
82653 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
82654     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
82655 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
82656     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
82657 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
82658     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
82659 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
82660     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
82661 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
82662     (
82663       cat <<\_ASBOX
82664 ## ----------------------------------------- ##
82665 ## Report this to the package-unused lists.  ##
82666 ## ----------------------------------------- ##
82667 _ASBOX
82668     ) |
82669       sed "s/^/$as_me: WARNING:     /" >&2
82670     ;;
82671 esac
82672 echo "$as_me:$LINENO: checking for langinfo.h" >&5
82673 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
82674 if test "${ac_cv_header_langinfo_h+set}" = set; then
82675   echo $ECHO_N "(cached) $ECHO_C" >&6
82676 else
82677   ac_cv_header_langinfo_h=$ac_header_preproc
82678 fi
82679 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
82680 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
82681
82682 fi
82683 if test $ac_cv_header_langinfo_h = yes; then
82684   ac_has_langinfo_h=yes
82685 else
82686   ac_has_langinfo_h=no
82687 fi
82688
82689
82690
82691     # Check for existence of libiconv.a providing XPG2 wchar_t support.
82692     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
82693 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
82694 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
82695   echo $ECHO_N "(cached) $ECHO_C" >&6
82696 else
82697   ac_check_lib_save_LIBS=$LIBS
82698 LIBS="-liconv  $LIBS"
82699 if test x$gcc_no_link = xyes; then
82700   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82702    { (exit 1); exit 1; }; }
82703 fi
82704 cat >conftest.$ac_ext <<_ACEOF
82705 /* confdefs.h.  */
82706 _ACEOF
82707 cat confdefs.h >>conftest.$ac_ext
82708 cat >>conftest.$ac_ext <<_ACEOF
82709 /* end confdefs.h.  */
82710
82711 /* Override any gcc2 internal prototype to avoid an error.  */
82712 #ifdef __cplusplus
82713 extern "C"
82714 #endif
82715 /* We use char because int might match the return type of a gcc2
82716    builtin and then its argument prototype would still apply.  */
82717 char iconv ();
82718 int
82719 main ()
82720 {
82721 iconv ();
82722   ;
82723   return 0;
82724 }
82725 _ACEOF
82726 rm -f conftest.$ac_objext conftest$ac_exeext
82727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82728   (eval $ac_link) 2>conftest.er1
82729   ac_status=$?
82730   grep -v '^ *+' conftest.er1 >conftest.err
82731   rm -f conftest.er1
82732   cat conftest.err >&5
82733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82734   (exit $ac_status); } &&
82735          { ac_try='test -z "$ac_c_werror_flag"
82736                          || test ! -s conftest.err'
82737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82738   (eval $ac_try) 2>&5
82739   ac_status=$?
82740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82741   (exit $ac_status); }; } &&
82742          { ac_try='test -s conftest$ac_exeext'
82743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82744   (eval $ac_try) 2>&5
82745   ac_status=$?
82746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82747   (exit $ac_status); }; }; then
82748   ac_cv_lib_iconv_iconv=yes
82749 else
82750   echo "$as_me: failed program was:" >&5
82751 sed 's/^/| /' conftest.$ac_ext >&5
82752
82753 ac_cv_lib_iconv_iconv=no
82754 fi
82755 rm -f conftest.err conftest.$ac_objext \
82756       conftest$ac_exeext conftest.$ac_ext
82757 LIBS=$ac_check_lib_save_LIBS
82758 fi
82759 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
82760 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
82761 if test $ac_cv_lib_iconv_iconv = yes; then
82762   LIBICONV="-liconv"
82763 fi
82764
82765     ac_save_LIBS="$LIBS"
82766     LIBS="$LIBS $LIBICONV"
82767
82768
82769
82770
82771
82772
82773 for ac_func in iconv_open iconv_close iconv nl_langinfo
82774 do
82775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82776 echo "$as_me:$LINENO: checking for $ac_func" >&5
82777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82778 if eval "test \"\${$as_ac_var+set}\" = set"; then
82779   echo $ECHO_N "(cached) $ECHO_C" >&6
82780 else
82781   if test x$gcc_no_link = xyes; then
82782   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82784    { (exit 1); exit 1; }; }
82785 fi
82786 cat >conftest.$ac_ext <<_ACEOF
82787 /* confdefs.h.  */
82788 _ACEOF
82789 cat confdefs.h >>conftest.$ac_ext
82790 cat >>conftest.$ac_ext <<_ACEOF
82791 /* end confdefs.h.  */
82792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82793    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82794 #define $ac_func innocuous_$ac_func
82795
82796 /* System header to define __stub macros and hopefully few prototypes,
82797     which can conflict with char $ac_func (); below.
82798     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82799     <limits.h> exists even on freestanding compilers.  */
82800
82801 #ifdef __STDC__
82802 # include <limits.h>
82803 #else
82804 # include <assert.h>
82805 #endif
82806
82807 #undef $ac_func
82808
82809 /* Override any gcc2 internal prototype to avoid an error.  */
82810 #ifdef __cplusplus
82811 extern "C"
82812 {
82813 #endif
82814 /* We use char because int might match the return type of a gcc2
82815    builtin and then its argument prototype would still apply.  */
82816 char $ac_func ();
82817 /* The GNU C library defines this for functions which it implements
82818     to always fail with ENOSYS.  Some functions are actually named
82819     something starting with __ and the normal name is an alias.  */
82820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82821 choke me
82822 #else
82823 char (*f) () = $ac_func;
82824 #endif
82825 #ifdef __cplusplus
82826 }
82827 #endif
82828
82829 int
82830 main ()
82831 {
82832 return f != $ac_func;
82833   ;
82834   return 0;
82835 }
82836 _ACEOF
82837 rm -f conftest.$ac_objext conftest$ac_exeext
82838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82839   (eval $ac_link) 2>conftest.er1
82840   ac_status=$?
82841   grep -v '^ *+' conftest.er1 >conftest.err
82842   rm -f conftest.er1
82843   cat conftest.err >&5
82844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82845   (exit $ac_status); } &&
82846          { ac_try='test -z "$ac_c_werror_flag"
82847                          || test ! -s conftest.err'
82848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82849   (eval $ac_try) 2>&5
82850   ac_status=$?
82851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82852   (exit $ac_status); }; } &&
82853          { ac_try='test -s conftest$ac_exeext'
82854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82855   (eval $ac_try) 2>&5
82856   ac_status=$?
82857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82858   (exit $ac_status); }; }; then
82859   eval "$as_ac_var=yes"
82860 else
82861   echo "$as_me: failed program was:" >&5
82862 sed 's/^/| /' conftest.$ac_ext >&5
82863
82864 eval "$as_ac_var=no"
82865 fi
82866 rm -f conftest.err conftest.$ac_objext \
82867       conftest$ac_exeext conftest.$ac_ext
82868 fi
82869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82871 if test `eval echo '${'$as_ac_var'}'` = yes; then
82872   cat >>confdefs.h <<_ACEOF
82873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82874 _ACEOF
82875  ac_XPG2funcs=yes
82876 else
82877   ac_XPG2funcs=no
82878 fi
82879 done
82880
82881
82882     LIBS="$ac_save_LIBS"
82883
82884     if test x"$ac_has_iconv_h" = xyes &&
82885        test x"$ac_has_langinfo_h" = xyes &&
82886        test x"$ac_XPG2funcs" = xyes;
82887     then
82888
82889 cat >>confdefs.h <<\_ACEOF
82890 #define _GLIBCXX_USE_ICONV 1
82891 _ACEOF
82892
82893       enable_iconv=yes
82894     fi
82895   fi
82896   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
82897 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
82898   echo "$as_me:$LINENO: result: $enable_iconv" >&5
82899 echo "${ECHO_T}$enable_iconv" >&6
82900
82901
82902     # For showmanyc_helper().
82903
82904
82905 for ac_header in sys/ioctl.h sys/filio.h
82906 do
82907 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82908 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82909   echo "$as_me:$LINENO: checking for $ac_header" >&5
82910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82912   echo $ECHO_N "(cached) $ECHO_C" >&6
82913 fi
82914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82915 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82916 else
82917   # Is the header compilable?
82918 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82919 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82920 cat >conftest.$ac_ext <<_ACEOF
82921 /* confdefs.h.  */
82922 _ACEOF
82923 cat confdefs.h >>conftest.$ac_ext
82924 cat >>conftest.$ac_ext <<_ACEOF
82925 /* end confdefs.h.  */
82926 $ac_includes_default
82927 #include <$ac_header>
82928 _ACEOF
82929 rm -f conftest.$ac_objext
82930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82931   (eval $ac_compile) 2>conftest.er1
82932   ac_status=$?
82933   grep -v '^ *+' conftest.er1 >conftest.err
82934   rm -f conftest.er1
82935   cat conftest.err >&5
82936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82937   (exit $ac_status); } &&
82938          { ac_try='test -z "$ac_c_werror_flag"
82939                          || test ! -s conftest.err'
82940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82941   (eval $ac_try) 2>&5
82942   ac_status=$?
82943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82944   (exit $ac_status); }; } &&
82945          { ac_try='test -s conftest.$ac_objext'
82946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82947   (eval $ac_try) 2>&5
82948   ac_status=$?
82949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82950   (exit $ac_status); }; }; then
82951   ac_header_compiler=yes
82952 else
82953   echo "$as_me: failed program was:" >&5
82954 sed 's/^/| /' conftest.$ac_ext >&5
82955
82956 ac_header_compiler=no
82957 fi
82958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82959 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82960 echo "${ECHO_T}$ac_header_compiler" >&6
82961
82962 # Is the header present?
82963 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82964 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82965 cat >conftest.$ac_ext <<_ACEOF
82966 /* confdefs.h.  */
82967 _ACEOF
82968 cat confdefs.h >>conftest.$ac_ext
82969 cat >>conftest.$ac_ext <<_ACEOF
82970 /* end confdefs.h.  */
82971 #include <$ac_header>
82972 _ACEOF
82973 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82974   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82975   ac_status=$?
82976   grep -v '^ *+' conftest.er1 >conftest.err
82977   rm -f conftest.er1
82978   cat conftest.err >&5
82979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82980   (exit $ac_status); } >/dev/null; then
82981   if test -s conftest.err; then
82982     ac_cpp_err=$ac_c_preproc_warn_flag
82983     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82984   else
82985     ac_cpp_err=
82986   fi
82987 else
82988   ac_cpp_err=yes
82989 fi
82990 if test -z "$ac_cpp_err"; then
82991   ac_header_preproc=yes
82992 else
82993   echo "$as_me: failed program was:" >&5
82994 sed 's/^/| /' conftest.$ac_ext >&5
82995
82996   ac_header_preproc=no
82997 fi
82998 rm -f conftest.err conftest.$ac_ext
82999 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83000 echo "${ECHO_T}$ac_header_preproc" >&6
83001
83002 # So?  What about this header?
83003 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83004   yes:no: )
83005     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83006 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83007     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83008 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83009     ac_header_preproc=yes
83010     ;;
83011   no:yes:* )
83012     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83013 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83014     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
83015 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
83016     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83017 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83018     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
83019 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
83020     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83021 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83022     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83023 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83024     (
83025       cat <<\_ASBOX
83026 ## ----------------------------------------- ##
83027 ## Report this to the package-unused lists.  ##
83028 ## ----------------------------------------- ##
83029 _ASBOX
83030     ) |
83031       sed "s/^/$as_me: WARNING:     /" >&2
83032     ;;
83033 esac
83034 echo "$as_me:$LINENO: checking for $ac_header" >&5
83035 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83037   echo $ECHO_N "(cached) $ECHO_C" >&6
83038 else
83039   eval "$as_ac_Header=\$ac_header_preproc"
83040 fi
83041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83042 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83043
83044 fi
83045 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83046   cat >>confdefs.h <<_ACEOF
83047 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83048 _ACEOF
83049
83050 fi
83051
83052 done
83053
83054
83055   if test "${glibcxx_cv_POLL+set}" = set; then
83056   echo $ECHO_N "(cached) $ECHO_C" >&6
83057 else
83058
83059     if test x$gcc_no_link = xyes; then
83060   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83062    { (exit 1); exit 1; }; }
83063 fi
83064 cat >conftest.$ac_ext <<_ACEOF
83065 /* confdefs.h.  */
83066 _ACEOF
83067 cat confdefs.h >>conftest.$ac_ext
83068 cat >>conftest.$ac_ext <<_ACEOF
83069 /* end confdefs.h.  */
83070 #include <poll.h>
83071 int
83072 main ()
83073 {
83074 struct pollfd pfd[1];
83075        pfd[0].events = POLLIN;
83076        poll(pfd, 1, 0);
83077   ;
83078   return 0;
83079 }
83080 _ACEOF
83081 rm -f conftest.$ac_objext conftest$ac_exeext
83082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83083   (eval $ac_link) 2>conftest.er1
83084   ac_status=$?
83085   grep -v '^ *+' conftest.er1 >conftest.err
83086   rm -f conftest.er1
83087   cat conftest.err >&5
83088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83089   (exit $ac_status); } &&
83090          { ac_try='test -z "$ac_c_werror_flag"
83091                          || test ! -s conftest.err'
83092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83093   (eval $ac_try) 2>&5
83094   ac_status=$?
83095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83096   (exit $ac_status); }; } &&
83097          { ac_try='test -s conftest$ac_exeext'
83098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83099   (eval $ac_try) 2>&5
83100   ac_status=$?
83101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83102   (exit $ac_status); }; }; then
83103   glibcxx_cv_POLL=yes
83104 else
83105   echo "$as_me: failed program was:" >&5
83106 sed 's/^/| /' conftest.$ac_ext >&5
83107
83108 glibcxx_cv_POLL=no
83109 fi
83110 rm -f conftest.err conftest.$ac_objext \
83111       conftest$ac_exeext conftest.$ac_ext
83112
83113 fi
83114
83115   if test $glibcxx_cv_POLL = yes; then
83116
83117 cat >>confdefs.h <<\_ACEOF
83118 #define HAVE_POLL 1
83119 _ACEOF
83120
83121   fi
83122
83123
83124   if test "${glibcxx_cv_S_ISREG+set}" = set; then
83125   echo $ECHO_N "(cached) $ECHO_C" >&6
83126 else
83127
83128     if test x$gcc_no_link = xyes; then
83129   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83131    { (exit 1); exit 1; }; }
83132 fi
83133 cat >conftest.$ac_ext <<_ACEOF
83134 /* confdefs.h.  */
83135 _ACEOF
83136 cat confdefs.h >>conftest.$ac_ext
83137 cat >>conftest.$ac_ext <<_ACEOF
83138 /* end confdefs.h.  */
83139 #include <sys/stat.h>
83140 int
83141 main ()
83142 {
83143 struct stat buffer;
83144        fstat(0, &buffer);
83145        S_ISREG(buffer.st_mode);
83146   ;
83147   return 0;
83148 }
83149 _ACEOF
83150 rm -f conftest.$ac_objext conftest$ac_exeext
83151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83152   (eval $ac_link) 2>conftest.er1
83153   ac_status=$?
83154   grep -v '^ *+' conftest.er1 >conftest.err
83155   rm -f conftest.er1
83156   cat conftest.err >&5
83157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83158   (exit $ac_status); } &&
83159          { ac_try='test -z "$ac_c_werror_flag"
83160                          || test ! -s conftest.err'
83161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83162   (eval $ac_try) 2>&5
83163   ac_status=$?
83164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83165   (exit $ac_status); }; } &&
83166          { ac_try='test -s conftest$ac_exeext'
83167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83168   (eval $ac_try) 2>&5
83169   ac_status=$?
83170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83171   (exit $ac_status); }; }; then
83172   glibcxx_cv_S_ISREG=yes
83173 else
83174   echo "$as_me: failed program was:" >&5
83175 sed 's/^/| /' conftest.$ac_ext >&5
83176
83177 glibcxx_cv_S_ISREG=no
83178 fi
83179 rm -f conftest.err conftest.$ac_objext \
83180       conftest$ac_exeext conftest.$ac_ext
83181
83182 fi
83183
83184   if test "${glibcxx_cv_S_IFREG+set}" = set; then
83185   echo $ECHO_N "(cached) $ECHO_C" >&6
83186 else
83187
83188     if test x$gcc_no_link = xyes; then
83189   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83191    { (exit 1); exit 1; }; }
83192 fi
83193 cat >conftest.$ac_ext <<_ACEOF
83194 /* confdefs.h.  */
83195 _ACEOF
83196 cat confdefs.h >>conftest.$ac_ext
83197 cat >>conftest.$ac_ext <<_ACEOF
83198 /* end confdefs.h.  */
83199 #include <sys/stat.h>
83200 int
83201 main ()
83202 {
83203 struct stat buffer;
83204        fstat(0, &buffer);
83205        S_IFREG & buffer.st_mode;
83206   ;
83207   return 0;
83208 }
83209 _ACEOF
83210 rm -f conftest.$ac_objext conftest$ac_exeext
83211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83212   (eval $ac_link) 2>conftest.er1
83213   ac_status=$?
83214   grep -v '^ *+' conftest.er1 >conftest.err
83215   rm -f conftest.er1
83216   cat conftest.err >&5
83217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83218   (exit $ac_status); } &&
83219          { ac_try='test -z "$ac_c_werror_flag"
83220                          || test ! -s conftest.err'
83221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83222   (eval $ac_try) 2>&5
83223   ac_status=$?
83224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83225   (exit $ac_status); }; } &&
83226          { ac_try='test -s conftest$ac_exeext'
83227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83228   (eval $ac_try) 2>&5
83229   ac_status=$?
83230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83231   (exit $ac_status); }; }; then
83232   glibcxx_cv_S_IFREG=yes
83233 else
83234   echo "$as_me: failed program was:" >&5
83235 sed 's/^/| /' conftest.$ac_ext >&5
83236
83237 glibcxx_cv_S_IFREG=no
83238 fi
83239 rm -f conftest.err conftest.$ac_objext \
83240       conftest$ac_exeext conftest.$ac_ext
83241
83242 fi
83243
83244   if test $glibcxx_cv_S_ISREG = yes; then
83245
83246 cat >>confdefs.h <<\_ACEOF
83247 #define HAVE_S_ISREG 1
83248 _ACEOF
83249
83250   elif test $glibcxx_cv_S_IFREG = yes; then
83251
83252 cat >>confdefs.h <<\_ACEOF
83253 #define HAVE_S_IFREG 1
83254 _ACEOF
83255
83256   fi
83257
83258
83259     # For xsputn_2().
83260
83261 for ac_header in sys/uio.h
83262 do
83263 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83265   echo "$as_me:$LINENO: checking for $ac_header" >&5
83266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83268   echo $ECHO_N "(cached) $ECHO_C" >&6
83269 fi
83270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83271 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83272 else
83273   # Is the header compilable?
83274 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83275 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83276 cat >conftest.$ac_ext <<_ACEOF
83277 /* confdefs.h.  */
83278 _ACEOF
83279 cat confdefs.h >>conftest.$ac_ext
83280 cat >>conftest.$ac_ext <<_ACEOF
83281 /* end confdefs.h.  */
83282 $ac_includes_default
83283 #include <$ac_header>
83284 _ACEOF
83285 rm -f conftest.$ac_objext
83286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83287   (eval $ac_compile) 2>conftest.er1
83288   ac_status=$?
83289   grep -v '^ *+' conftest.er1 >conftest.err
83290   rm -f conftest.er1
83291   cat conftest.err >&5
83292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83293   (exit $ac_status); } &&
83294          { ac_try='test -z "$ac_c_werror_flag"
83295                          || test ! -s conftest.err'
83296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83297   (eval $ac_try) 2>&5
83298   ac_status=$?
83299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83300   (exit $ac_status); }; } &&
83301          { ac_try='test -s conftest.$ac_objext'
83302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83303   (eval $ac_try) 2>&5
83304   ac_status=$?
83305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83306   (exit $ac_status); }; }; then
83307   ac_header_compiler=yes
83308 else
83309   echo "$as_me: failed program was:" >&5
83310 sed 's/^/| /' conftest.$ac_ext >&5
83311
83312 ac_header_compiler=no
83313 fi
83314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83315 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83316 echo "${ECHO_T}$ac_header_compiler" >&6
83317
83318 # Is the header present?
83319 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83320 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83321 cat >conftest.$ac_ext <<_ACEOF
83322 /* confdefs.h.  */
83323 _ACEOF
83324 cat confdefs.h >>conftest.$ac_ext
83325 cat >>conftest.$ac_ext <<_ACEOF
83326 /* end confdefs.h.  */
83327 #include <$ac_header>
83328 _ACEOF
83329 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83330   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83331   ac_status=$?
83332   grep -v '^ *+' conftest.er1 >conftest.err
83333   rm -f conftest.er1
83334   cat conftest.err >&5
83335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83336   (exit $ac_status); } >/dev/null; then
83337   if test -s conftest.err; then
83338     ac_cpp_err=$ac_c_preproc_warn_flag
83339     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83340   else
83341     ac_cpp_err=
83342   fi
83343 else
83344   ac_cpp_err=yes
83345 fi
83346 if test -z "$ac_cpp_err"; then
83347   ac_header_preproc=yes
83348 else
83349   echo "$as_me: failed program was:" >&5
83350 sed 's/^/| /' conftest.$ac_ext >&5
83351
83352   ac_header_preproc=no
83353 fi
83354 rm -f conftest.err conftest.$ac_ext
83355 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83356 echo "${ECHO_T}$ac_header_preproc" >&6
83357
83358 # So?  What about this header?
83359 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83360   yes:no: )
83361     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83362 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83363     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83364 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83365     ac_header_preproc=yes
83366     ;;
83367   no:yes:* )
83368     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83369 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83370     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
83371 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
83372     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83373 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83374     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
83375 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
83376     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83377 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83378     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83379 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83380     (
83381       cat <<\_ASBOX
83382 ## ----------------------------------------- ##
83383 ## Report this to the package-unused lists.  ##
83384 ## ----------------------------------------- ##
83385 _ASBOX
83386     ) |
83387       sed "s/^/$as_me: WARNING:     /" >&2
83388     ;;
83389 esac
83390 echo "$as_me:$LINENO: checking for $ac_header" >&5
83391 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83392 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83393   echo $ECHO_N "(cached) $ECHO_C" >&6
83394 else
83395   eval "$as_ac_Header=\$ac_header_preproc"
83396 fi
83397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83398 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83399
83400 fi
83401 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83402   cat >>confdefs.h <<_ACEOF
83403 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83404 _ACEOF
83405
83406 fi
83407
83408 done
83409
83410
83411   if test "${glibcxx_cv_WRITEV+set}" = set; then
83412   echo $ECHO_N "(cached) $ECHO_C" >&6
83413 else
83414
83415     if test x$gcc_no_link = xyes; then
83416   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83418    { (exit 1); exit 1; }; }
83419 fi
83420 cat >conftest.$ac_ext <<_ACEOF
83421 /* confdefs.h.  */
83422 _ACEOF
83423 cat confdefs.h >>conftest.$ac_ext
83424 cat >>conftest.$ac_ext <<_ACEOF
83425 /* end confdefs.h.  */
83426 #include <sys/uio.h>
83427 int
83428 main ()
83429 {
83430 struct iovec iov[2];
83431        writev(0, iov, 0);
83432   ;
83433   return 0;
83434 }
83435 _ACEOF
83436 rm -f conftest.$ac_objext conftest$ac_exeext
83437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83438   (eval $ac_link) 2>conftest.er1
83439   ac_status=$?
83440   grep -v '^ *+' conftest.er1 >conftest.err
83441   rm -f conftest.er1
83442   cat conftest.err >&5
83443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83444   (exit $ac_status); } &&
83445          { ac_try='test -z "$ac_c_werror_flag"
83446                          || test ! -s conftest.err'
83447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83448   (eval $ac_try) 2>&5
83449   ac_status=$?
83450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83451   (exit $ac_status); }; } &&
83452          { ac_try='test -s conftest$ac_exeext'
83453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83454   (eval $ac_try) 2>&5
83455   ac_status=$?
83456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83457   (exit $ac_status); }; }; then
83458   glibcxx_cv_WRITEV=yes
83459 else
83460   echo "$as_me: failed program was:" >&5
83461 sed 's/^/| /' conftest.$ac_ext >&5
83462
83463 glibcxx_cv_WRITEV=no
83464 fi
83465 rm -f conftest.err conftest.$ac_objext \
83466       conftest$ac_exeext conftest.$ac_ext
83467
83468 fi
83469
83470   if test $glibcxx_cv_WRITEV = yes; then
83471
83472 cat >>confdefs.h <<\_ACEOF
83473 #define HAVE_WRITEV 1
83474 _ACEOF
83475
83476   fi
83477
83478     ;;
83479   *-qnx6.1* | *-qnx6.2*)
83480     SECTION_FLAGS='-ffunction-sections -fdata-sections'
83481
83482
83483   # If we're not using GNU ld, then there's no point in even trying these
83484   # tests.  Check for that first.  We should have already tested for gld
83485   # by now (in libtool), but require it now just to be safe...
83486   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
83487   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
83488
83489
83490
83491   # The name set by libtool depends on the version of libtool.  Shame on us
83492   # for depending on an impl detail, but c'est la vie.  Older versions used
83493   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
83494   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
83495   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
83496   # set (hence we're using an older libtool), then set it.
83497   if test x${with_gnu_ld+set} != xset; then
83498     if test x${ac_cv_prog_gnu_ld+set} != xset; then
83499       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
83500       with_gnu_ld=no
83501     else
83502       with_gnu_ld=$ac_cv_prog_gnu_ld
83503     fi
83504   fi
83505
83506   # Start by getting the version number.  I think the libtool test already
83507   # does some of this, but throws away the result.
83508
83509   ldver=`$LD --version 2>/dev/null | head -1 | \
83510          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
83511
83512   glibcxx_gnu_ld_version=`echo $ldver | \
83513          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
83514
83515   # Set --gc-sections.
83516   if test "$with_gnu_ld" = "notbroken"; then
83517     # GNU ld it is!  Joy and bunny rabbits!
83518
83519     # All these tests are for C++; save the language and the compiler flags.
83520     # Need to do this so that g++ won't try to link in libstdc++
83521     ac_test_CFLAGS="${CFLAGS+set}"
83522     ac_save_CFLAGS="$CFLAGS"
83523     CFLAGS='-x c++  -Wl,--gc-sections'
83524
83525     # Check for -Wl,--gc-sections
83526     # XXX This test is broken at the moment, as symbols required for linking
83527     # are now in libsupc++ (not built yet).  In addition, this test has
83528     # cored on solaris in the past.  In addition, --gc-sections doesn't
83529     # really work at the moment (keeps on discarding used sections, first
83530     # .eh_frame and now some of the glibc sections for iconv).
83531     # Bzzzzt.  Thanks for playing, maybe next time.
83532     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
83533 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
83534     if test "$cross_compiling" = yes; then
83535   ac_sectionLDflags=yes
83536 else
83537   cat >conftest.$ac_ext <<_ACEOF
83538 /* confdefs.h.  */
83539 _ACEOF
83540 cat confdefs.h >>conftest.$ac_ext
83541 cat >>conftest.$ac_ext <<_ACEOF
83542 /* end confdefs.h.  */
83543
83544      int main(void)
83545      {
83546        try { throw 1; }
83547        catch (...) { };
83548        return 0;
83549      }
83550
83551 _ACEOF
83552 rm -f conftest$ac_exeext
83553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83554   (eval $ac_link) 2>&5
83555   ac_status=$?
83556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83557   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
83558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83559   (eval $ac_try) 2>&5
83560   ac_status=$?
83561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83562   (exit $ac_status); }; }; then
83563   ac_sectionLDflags=yes
83564 else
83565   echo "$as_me: program exited with status $ac_status" >&5
83566 echo "$as_me: failed program was:" >&5
83567 sed 's/^/| /' conftest.$ac_ext >&5
83568
83569 ( exit $ac_status )
83570 ac_sectionLDflags=no
83571 fi
83572 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
83573 fi
83574     if test "$ac_test_CFLAGS" = set; then
83575       CFLAGS="$ac_save_CFLAGS"
83576     else
83577       # this is the suspicious part
83578       CFLAGS=''
83579     fi
83580     if test "$ac_sectionLDflags" = "yes"; then
83581       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
83582     fi
83583     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
83584 echo "${ECHO_T}$ac_sectionLDflags" >&6
83585   fi
83586
83587   # Set linker optimization flags.
83588   if test x"$with_gnu_ld" = x"yes"; then
83589     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
83590   fi
83591
83592
83593
83594
83595
83596
83597 echo "$as_me:$LINENO: checking for main in -lm" >&5
83598 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
83599 if test "${ac_cv_lib_m_main+set}" = set; then
83600   echo $ECHO_N "(cached) $ECHO_C" >&6
83601 else
83602   ac_check_lib_save_LIBS=$LIBS
83603 LIBS="-lm  $LIBS"
83604 if test x$gcc_no_link = xyes; then
83605   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83607    { (exit 1); exit 1; }; }
83608 fi
83609 cat >conftest.$ac_ext <<_ACEOF
83610 /* confdefs.h.  */
83611 _ACEOF
83612 cat confdefs.h >>conftest.$ac_ext
83613 cat >>conftest.$ac_ext <<_ACEOF
83614 /* end confdefs.h.  */
83615
83616
83617 int
83618 main ()
83619 {
83620 main ();
83621   ;
83622   return 0;
83623 }
83624 _ACEOF
83625 rm -f conftest.$ac_objext conftest$ac_exeext
83626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83627   (eval $ac_link) 2>conftest.er1
83628   ac_status=$?
83629   grep -v '^ *+' conftest.er1 >conftest.err
83630   rm -f conftest.er1
83631   cat conftest.err >&5
83632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83633   (exit $ac_status); } &&
83634          { ac_try='test -z "$ac_c_werror_flag"
83635                          || test ! -s conftest.err'
83636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83637   (eval $ac_try) 2>&5
83638   ac_status=$?
83639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83640   (exit $ac_status); }; } &&
83641          { ac_try='test -s conftest$ac_exeext'
83642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83643   (eval $ac_try) 2>&5
83644   ac_status=$?
83645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83646   (exit $ac_status); }; }; then
83647   ac_cv_lib_m_main=yes
83648 else
83649   echo "$as_me: failed program was:" >&5
83650 sed 's/^/| /' conftest.$ac_ext >&5
83651
83652 ac_cv_lib_m_main=no
83653 fi
83654 rm -f conftest.err conftest.$ac_objext \
83655       conftest$ac_exeext conftest.$ac_ext
83656 LIBS=$ac_check_lib_save_LIBS
83657 fi
83658 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
83659 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
83660 if test $ac_cv_lib_m_main = yes; then
83661   cat >>confdefs.h <<_ACEOF
83662 #define HAVE_LIBM 1
83663 _ACEOF
83664
83665   LIBS="-lm $LIBS"
83666
83667 fi
83668
83669
83670 for ac_func in copysignf
83671 do
83672 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83673 echo "$as_me:$LINENO: checking for $ac_func" >&5
83674 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83675 if eval "test \"\${$as_ac_var+set}\" = set"; then
83676   echo $ECHO_N "(cached) $ECHO_C" >&6
83677 else
83678   if test x$gcc_no_link = xyes; then
83679   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83681    { (exit 1); exit 1; }; }
83682 fi
83683 cat >conftest.$ac_ext <<_ACEOF
83684 /* confdefs.h.  */
83685 _ACEOF
83686 cat confdefs.h >>conftest.$ac_ext
83687 cat >>conftest.$ac_ext <<_ACEOF
83688 /* end confdefs.h.  */
83689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83690    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83691 #define $ac_func innocuous_$ac_func
83692
83693 /* System header to define __stub macros and hopefully few prototypes,
83694     which can conflict with char $ac_func (); below.
83695     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83696     <limits.h> exists even on freestanding compilers.  */
83697
83698 #ifdef __STDC__
83699 # include <limits.h>
83700 #else
83701 # include <assert.h>
83702 #endif
83703
83704 #undef $ac_func
83705
83706 /* Override any gcc2 internal prototype to avoid an error.  */
83707 #ifdef __cplusplus
83708 extern "C"
83709 {
83710 #endif
83711 /* We use char because int might match the return type of a gcc2
83712    builtin and then its argument prototype would still apply.  */
83713 char $ac_func ();
83714 /* The GNU C library defines this for functions which it implements
83715     to always fail with ENOSYS.  Some functions are actually named
83716     something starting with __ and the normal name is an alias.  */
83717 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83718 choke me
83719 #else
83720 char (*f) () = $ac_func;
83721 #endif
83722 #ifdef __cplusplus
83723 }
83724 #endif
83725
83726 int
83727 main ()
83728 {
83729 return f != $ac_func;
83730   ;
83731   return 0;
83732 }
83733 _ACEOF
83734 rm -f conftest.$ac_objext conftest$ac_exeext
83735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83736   (eval $ac_link) 2>conftest.er1
83737   ac_status=$?
83738   grep -v '^ *+' conftest.er1 >conftest.err
83739   rm -f conftest.er1
83740   cat conftest.err >&5
83741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83742   (exit $ac_status); } &&
83743          { ac_try='test -z "$ac_c_werror_flag"
83744                          || test ! -s conftest.err'
83745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83746   (eval $ac_try) 2>&5
83747   ac_status=$?
83748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83749   (exit $ac_status); }; } &&
83750          { ac_try='test -s conftest$ac_exeext'
83751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83752   (eval $ac_try) 2>&5
83753   ac_status=$?
83754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83755   (exit $ac_status); }; }; then
83756   eval "$as_ac_var=yes"
83757 else
83758   echo "$as_me: failed program was:" >&5
83759 sed 's/^/| /' conftest.$ac_ext >&5
83760
83761 eval "$as_ac_var=no"
83762 fi
83763 rm -f conftest.err conftest.$ac_objext \
83764       conftest$ac_exeext conftest.$ac_ext
83765 fi
83766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83767 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83768 if test `eval echo '${'$as_ac_var'}'` = yes; then
83769   cat >>confdefs.h <<_ACEOF
83770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83771 _ACEOF
83772
83773 else
83774   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83775 fi
83776 done
83777
83778
83779
83780 for ac_func in __signbit
83781 do
83782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83783 echo "$as_me:$LINENO: checking for $ac_func" >&5
83784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83785 if eval "test \"\${$as_ac_var+set}\" = set"; then
83786   echo $ECHO_N "(cached) $ECHO_C" >&6
83787 else
83788   if test x$gcc_no_link = xyes; then
83789   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83791    { (exit 1); exit 1; }; }
83792 fi
83793 cat >conftest.$ac_ext <<_ACEOF
83794 /* confdefs.h.  */
83795 _ACEOF
83796 cat confdefs.h >>conftest.$ac_ext
83797 cat >>conftest.$ac_ext <<_ACEOF
83798 /* end confdefs.h.  */
83799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83800    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83801 #define $ac_func innocuous_$ac_func
83802
83803 /* System header to define __stub macros and hopefully few prototypes,
83804     which can conflict with char $ac_func (); below.
83805     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83806     <limits.h> exists even on freestanding compilers.  */
83807
83808 #ifdef __STDC__
83809 # include <limits.h>
83810 #else
83811 # include <assert.h>
83812 #endif
83813
83814 #undef $ac_func
83815
83816 /* Override any gcc2 internal prototype to avoid an error.  */
83817 #ifdef __cplusplus
83818 extern "C"
83819 {
83820 #endif
83821 /* We use char because int might match the return type of a gcc2
83822    builtin and then its argument prototype would still apply.  */
83823 char $ac_func ();
83824 /* The GNU C library defines this for functions which it implements
83825     to always fail with ENOSYS.  Some functions are actually named
83826     something starting with __ and the normal name is an alias.  */
83827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83828 choke me
83829 #else
83830 char (*f) () = $ac_func;
83831 #endif
83832 #ifdef __cplusplus
83833 }
83834 #endif
83835
83836 int
83837 main ()
83838 {
83839 return f != $ac_func;
83840   ;
83841   return 0;
83842 }
83843 _ACEOF
83844 rm -f conftest.$ac_objext conftest$ac_exeext
83845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83846   (eval $ac_link) 2>conftest.er1
83847   ac_status=$?
83848   grep -v '^ *+' conftest.er1 >conftest.err
83849   rm -f conftest.er1
83850   cat conftest.err >&5
83851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83852   (exit $ac_status); } &&
83853          { ac_try='test -z "$ac_c_werror_flag"
83854                          || test ! -s conftest.err'
83855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83856   (eval $ac_try) 2>&5
83857   ac_status=$?
83858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83859   (exit $ac_status); }; } &&
83860          { ac_try='test -s conftest$ac_exeext'
83861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83862   (eval $ac_try) 2>&5
83863   ac_status=$?
83864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83865   (exit $ac_status); }; }; then
83866   eval "$as_ac_var=yes"
83867 else
83868   echo "$as_me: failed program was:" >&5
83869 sed 's/^/| /' conftest.$ac_ext >&5
83870
83871 eval "$as_ac_var=no"
83872 fi
83873 rm -f conftest.err conftest.$ac_objext \
83874       conftest$ac_exeext conftest.$ac_ext
83875 fi
83876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83878 if test `eval echo '${'$as_ac_var'}'` = yes; then
83879   cat >>confdefs.h <<_ACEOF
83880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83881 _ACEOF
83882
83883 else
83884   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
83885 fi
83886 done
83887
83888
83889
83890 for ac_func in __signbitf
83891 do
83892 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83893 echo "$as_me:$LINENO: checking for $ac_func" >&5
83894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83895 if eval "test \"\${$as_ac_var+set}\" = set"; then
83896   echo $ECHO_N "(cached) $ECHO_C" >&6
83897 else
83898   if test x$gcc_no_link = xyes; then
83899   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83901    { (exit 1); exit 1; }; }
83902 fi
83903 cat >conftest.$ac_ext <<_ACEOF
83904 /* confdefs.h.  */
83905 _ACEOF
83906 cat confdefs.h >>conftest.$ac_ext
83907 cat >>conftest.$ac_ext <<_ACEOF
83908 /* end confdefs.h.  */
83909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83910    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83911 #define $ac_func innocuous_$ac_func
83912
83913 /* System header to define __stub macros and hopefully few prototypes,
83914     which can conflict with char $ac_func (); below.
83915     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83916     <limits.h> exists even on freestanding compilers.  */
83917
83918 #ifdef __STDC__
83919 # include <limits.h>
83920 #else
83921 # include <assert.h>
83922 #endif
83923
83924 #undef $ac_func
83925
83926 /* Override any gcc2 internal prototype to avoid an error.  */
83927 #ifdef __cplusplus
83928 extern "C"
83929 {
83930 #endif
83931 /* We use char because int might match the return type of a gcc2
83932    builtin and then its argument prototype would still apply.  */
83933 char $ac_func ();
83934 /* The GNU C library defines this for functions which it implements
83935     to always fail with ENOSYS.  Some functions are actually named
83936     something starting with __ and the normal name is an alias.  */
83937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83938 choke me
83939 #else
83940 char (*f) () = $ac_func;
83941 #endif
83942 #ifdef __cplusplus
83943 }
83944 #endif
83945
83946 int
83947 main ()
83948 {
83949 return f != $ac_func;
83950   ;
83951   return 0;
83952 }
83953 _ACEOF
83954 rm -f conftest.$ac_objext conftest$ac_exeext
83955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83956   (eval $ac_link) 2>conftest.er1
83957   ac_status=$?
83958   grep -v '^ *+' conftest.er1 >conftest.err
83959   rm -f conftest.er1
83960   cat conftest.err >&5
83961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83962   (exit $ac_status); } &&
83963          { ac_try='test -z "$ac_c_werror_flag"
83964                          || test ! -s conftest.err'
83965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83966   (eval $ac_try) 2>&5
83967   ac_status=$?
83968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83969   (exit $ac_status); }; } &&
83970          { ac_try='test -s conftest$ac_exeext'
83971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83972   (eval $ac_try) 2>&5
83973   ac_status=$?
83974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83975   (exit $ac_status); }; }; then
83976   eval "$as_ac_var=yes"
83977 else
83978   echo "$as_me: failed program was:" >&5
83979 sed 's/^/| /' conftest.$ac_ext >&5
83980
83981 eval "$as_ac_var=no"
83982 fi
83983 rm -f conftest.err conftest.$ac_objext \
83984       conftest$ac_exeext conftest.$ac_ext
83985 fi
83986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83988 if test `eval echo '${'$as_ac_var'}'` = yes; then
83989   cat >>confdefs.h <<_ACEOF
83990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83991 _ACEOF
83992
83993 else
83994   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
83995 fi
83996 done
83997
83998
83999           if test x$ac_cv_func_copysignl = x"yes"; then
84000
84001 for ac_func in __signbitl
84002 do
84003 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84004 echo "$as_me:$LINENO: checking for $ac_func" >&5
84005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84006 if eval "test \"\${$as_ac_var+set}\" = set"; then
84007   echo $ECHO_N "(cached) $ECHO_C" >&6
84008 else
84009   if test x$gcc_no_link = xyes; then
84010   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84012    { (exit 1); exit 1; }; }
84013 fi
84014 cat >conftest.$ac_ext <<_ACEOF
84015 /* confdefs.h.  */
84016 _ACEOF
84017 cat confdefs.h >>conftest.$ac_ext
84018 cat >>conftest.$ac_ext <<_ACEOF
84019 /* end confdefs.h.  */
84020 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84021    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84022 #define $ac_func innocuous_$ac_func
84023
84024 /* System header to define __stub macros and hopefully few prototypes,
84025     which can conflict with char $ac_func (); below.
84026     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84027     <limits.h> exists even on freestanding compilers.  */
84028
84029 #ifdef __STDC__
84030 # include <limits.h>
84031 #else
84032 # include <assert.h>
84033 #endif
84034
84035 #undef $ac_func
84036
84037 /* Override any gcc2 internal prototype to avoid an error.  */
84038 #ifdef __cplusplus
84039 extern "C"
84040 {
84041 #endif
84042 /* We use char because int might match the return type of a gcc2
84043    builtin and then its argument prototype would still apply.  */
84044 char $ac_func ();
84045 /* The GNU C library defines this for functions which it implements
84046     to always fail with ENOSYS.  Some functions are actually named
84047     something starting with __ and the normal name is an alias.  */
84048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84049 choke me
84050 #else
84051 char (*f) () = $ac_func;
84052 #endif
84053 #ifdef __cplusplus
84054 }
84055 #endif
84056
84057 int
84058 main ()
84059 {
84060 return f != $ac_func;
84061   ;
84062   return 0;
84063 }
84064 _ACEOF
84065 rm -f conftest.$ac_objext conftest$ac_exeext
84066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84067   (eval $ac_link) 2>conftest.er1
84068   ac_status=$?
84069   grep -v '^ *+' conftest.er1 >conftest.err
84070   rm -f conftest.er1
84071   cat conftest.err >&5
84072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84073   (exit $ac_status); } &&
84074          { ac_try='test -z "$ac_c_werror_flag"
84075                          || test ! -s conftest.err'
84076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84077   (eval $ac_try) 2>&5
84078   ac_status=$?
84079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84080   (exit $ac_status); }; } &&
84081          { ac_try='test -s conftest$ac_exeext'
84082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84083   (eval $ac_try) 2>&5
84084   ac_status=$?
84085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84086   (exit $ac_status); }; }; then
84087   eval "$as_ac_var=yes"
84088 else
84089   echo "$as_me: failed program was:" >&5
84090 sed 's/^/| /' conftest.$ac_ext >&5
84091
84092 eval "$as_ac_var=no"
84093 fi
84094 rm -f conftest.err conftest.$ac_objext \
84095       conftest$ac_exeext conftest.$ac_ext
84096 fi
84097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84098 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84099 if test `eval echo '${'$as_ac_var'}'` = yes; then
84100   cat >>confdefs.h <<_ACEOF
84101 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84102 _ACEOF
84103
84104 else
84105   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
84106 fi
84107 done
84108
84109   fi
84110
84111   # Used in libmath/Makefile.am.
84112   if test -n "$LIBMATHOBJS"; then
84113     need_libmath=yes
84114   fi
84115
84116
84117
84118
84119   enable_iconv=no
84120   # Only continue checking if the ISO C99 headers exist and support is on.
84121   if test x"$enable_wchar_t" = xyes; then
84122
84123     # Use iconv for wchar_t to char conversions. As such, check for
84124     # X/Open Portability Guide, version 2 features (XPG2).
84125     if test "${ac_cv_header_iconv_h+set}" = set; then
84126   echo "$as_me:$LINENO: checking for iconv.h" >&5
84127 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84128 if test "${ac_cv_header_iconv_h+set}" = set; then
84129   echo $ECHO_N "(cached) $ECHO_C" >&6
84130 fi
84131 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84132 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84133 else
84134   # Is the header compilable?
84135 echo "$as_me:$LINENO: checking iconv.h usability" >&5
84136 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
84137 cat >conftest.$ac_ext <<_ACEOF
84138 /* confdefs.h.  */
84139 _ACEOF
84140 cat confdefs.h >>conftest.$ac_ext
84141 cat >>conftest.$ac_ext <<_ACEOF
84142 /* end confdefs.h.  */
84143 $ac_includes_default
84144 #include <iconv.h>
84145 _ACEOF
84146 rm -f conftest.$ac_objext
84147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84148   (eval $ac_compile) 2>conftest.er1
84149   ac_status=$?
84150   grep -v '^ *+' conftest.er1 >conftest.err
84151   rm -f conftest.er1
84152   cat conftest.err >&5
84153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84154   (exit $ac_status); } &&
84155          { ac_try='test -z "$ac_c_werror_flag"
84156                          || test ! -s conftest.err'
84157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84158   (eval $ac_try) 2>&5
84159   ac_status=$?
84160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84161   (exit $ac_status); }; } &&
84162          { ac_try='test -s conftest.$ac_objext'
84163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84164   (eval $ac_try) 2>&5
84165   ac_status=$?
84166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84167   (exit $ac_status); }; }; then
84168   ac_header_compiler=yes
84169 else
84170   echo "$as_me: failed program was:" >&5
84171 sed 's/^/| /' conftest.$ac_ext >&5
84172
84173 ac_header_compiler=no
84174 fi
84175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84176 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84177 echo "${ECHO_T}$ac_header_compiler" >&6
84178
84179 # Is the header present?
84180 echo "$as_me:$LINENO: checking iconv.h presence" >&5
84181 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
84182 cat >conftest.$ac_ext <<_ACEOF
84183 /* confdefs.h.  */
84184 _ACEOF
84185 cat confdefs.h >>conftest.$ac_ext
84186 cat >>conftest.$ac_ext <<_ACEOF
84187 /* end confdefs.h.  */
84188 #include <iconv.h>
84189 _ACEOF
84190 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84191   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84192   ac_status=$?
84193   grep -v '^ *+' conftest.er1 >conftest.err
84194   rm -f conftest.er1
84195   cat conftest.err >&5
84196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84197   (exit $ac_status); } >/dev/null; then
84198   if test -s conftest.err; then
84199     ac_cpp_err=$ac_c_preproc_warn_flag
84200     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84201   else
84202     ac_cpp_err=
84203   fi
84204 else
84205   ac_cpp_err=yes
84206 fi
84207 if test -z "$ac_cpp_err"; then
84208   ac_header_preproc=yes
84209 else
84210   echo "$as_me: failed program was:" >&5
84211 sed 's/^/| /' conftest.$ac_ext >&5
84212
84213   ac_header_preproc=no
84214 fi
84215 rm -f conftest.err conftest.$ac_ext
84216 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84217 echo "${ECHO_T}$ac_header_preproc" >&6
84218
84219 # So?  What about this header?
84220 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84221   yes:no: )
84222     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
84223 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84224     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
84225 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
84226     ac_header_preproc=yes
84227     ;;
84228   no:yes:* )
84229     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
84230 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
84231     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
84232 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
84233     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
84234 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
84235     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
84236 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
84237     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
84238 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
84239     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
84240 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
84241     (
84242       cat <<\_ASBOX
84243 ## ----------------------------------------- ##
84244 ## Report this to the package-unused lists.  ##
84245 ## ----------------------------------------- ##
84246 _ASBOX
84247     ) |
84248       sed "s/^/$as_me: WARNING:     /" >&2
84249     ;;
84250 esac
84251 echo "$as_me:$LINENO: checking for iconv.h" >&5
84252 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84253 if test "${ac_cv_header_iconv_h+set}" = set; then
84254   echo $ECHO_N "(cached) $ECHO_C" >&6
84255 else
84256   ac_cv_header_iconv_h=$ac_header_preproc
84257 fi
84258 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84259 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84260
84261 fi
84262 if test $ac_cv_header_iconv_h = yes; then
84263   ac_has_iconv_h=yes
84264 else
84265   ac_has_iconv_h=no
84266 fi
84267
84268
84269     if test "${ac_cv_header_langinfo_h+set}" = set; then
84270   echo "$as_me:$LINENO: checking for langinfo.h" >&5
84271 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84272 if test "${ac_cv_header_langinfo_h+set}" = set; then
84273   echo $ECHO_N "(cached) $ECHO_C" >&6
84274 fi
84275 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84276 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84277 else
84278   # Is the header compilable?
84279 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
84280 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
84281 cat >conftest.$ac_ext <<_ACEOF
84282 /* confdefs.h.  */
84283 _ACEOF
84284 cat confdefs.h >>conftest.$ac_ext
84285 cat >>conftest.$ac_ext <<_ACEOF
84286 /* end confdefs.h.  */
84287 $ac_includes_default
84288 #include <langinfo.h>
84289 _ACEOF
84290 rm -f conftest.$ac_objext
84291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84292   (eval $ac_compile) 2>conftest.er1
84293   ac_status=$?
84294   grep -v '^ *+' conftest.er1 >conftest.err
84295   rm -f conftest.er1
84296   cat conftest.err >&5
84297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84298   (exit $ac_status); } &&
84299          { ac_try='test -z "$ac_c_werror_flag"
84300                          || test ! -s conftest.err'
84301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84302   (eval $ac_try) 2>&5
84303   ac_status=$?
84304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84305   (exit $ac_status); }; } &&
84306          { ac_try='test -s conftest.$ac_objext'
84307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84308   (eval $ac_try) 2>&5
84309   ac_status=$?
84310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84311   (exit $ac_status); }; }; then
84312   ac_header_compiler=yes
84313 else
84314   echo "$as_me: failed program was:" >&5
84315 sed 's/^/| /' conftest.$ac_ext >&5
84316
84317 ac_header_compiler=no
84318 fi
84319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84320 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84321 echo "${ECHO_T}$ac_header_compiler" >&6
84322
84323 # Is the header present?
84324 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
84325 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
84326 cat >conftest.$ac_ext <<_ACEOF
84327 /* confdefs.h.  */
84328 _ACEOF
84329 cat confdefs.h >>conftest.$ac_ext
84330 cat >>conftest.$ac_ext <<_ACEOF
84331 /* end confdefs.h.  */
84332 #include <langinfo.h>
84333 _ACEOF
84334 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84335   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84336   ac_status=$?
84337   grep -v '^ *+' conftest.er1 >conftest.err
84338   rm -f conftest.er1
84339   cat conftest.err >&5
84340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84341   (exit $ac_status); } >/dev/null; then
84342   if test -s conftest.err; then
84343     ac_cpp_err=$ac_c_preproc_warn_flag
84344     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84345   else
84346     ac_cpp_err=
84347   fi
84348 else
84349   ac_cpp_err=yes
84350 fi
84351 if test -z "$ac_cpp_err"; then
84352   ac_header_preproc=yes
84353 else
84354   echo "$as_me: failed program was:" >&5
84355 sed 's/^/| /' conftest.$ac_ext >&5
84356
84357   ac_header_preproc=no
84358 fi
84359 rm -f conftest.err conftest.$ac_ext
84360 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84361 echo "${ECHO_T}$ac_header_preproc" >&6
84362
84363 # So?  What about this header?
84364 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84365   yes:no: )
84366     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
84367 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84368     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
84369 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
84370     ac_header_preproc=yes
84371     ;;
84372   no:yes:* )
84373     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
84374 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
84375     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
84376 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
84377     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
84378 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
84379     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
84380 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
84381     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
84382 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
84383     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
84384 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
84385     (
84386       cat <<\_ASBOX
84387 ## ----------------------------------------- ##
84388 ## Report this to the package-unused lists.  ##
84389 ## ----------------------------------------- ##
84390 _ASBOX
84391     ) |
84392       sed "s/^/$as_me: WARNING:     /" >&2
84393     ;;
84394 esac
84395 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84396 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84397 if test "${ac_cv_header_langinfo_h+set}" = set; then
84398   echo $ECHO_N "(cached) $ECHO_C" >&6
84399 else
84400   ac_cv_header_langinfo_h=$ac_header_preproc
84401 fi
84402 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84403 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84404
84405 fi
84406 if test $ac_cv_header_langinfo_h = yes; then
84407   ac_has_langinfo_h=yes
84408 else
84409   ac_has_langinfo_h=no
84410 fi
84411
84412
84413
84414     # Check for existence of libiconv.a providing XPG2 wchar_t support.
84415     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
84416 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
84417 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
84418   echo $ECHO_N "(cached) $ECHO_C" >&6
84419 else
84420   ac_check_lib_save_LIBS=$LIBS
84421 LIBS="-liconv  $LIBS"
84422 if test x$gcc_no_link = xyes; then
84423   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84425    { (exit 1); exit 1; }; }
84426 fi
84427 cat >conftest.$ac_ext <<_ACEOF
84428 /* confdefs.h.  */
84429 _ACEOF
84430 cat confdefs.h >>conftest.$ac_ext
84431 cat >>conftest.$ac_ext <<_ACEOF
84432 /* end confdefs.h.  */
84433
84434 /* Override any gcc2 internal prototype to avoid an error.  */
84435 #ifdef __cplusplus
84436 extern "C"
84437 #endif
84438 /* We use char because int might match the return type of a gcc2
84439    builtin and then its argument prototype would still apply.  */
84440 char iconv ();
84441 int
84442 main ()
84443 {
84444 iconv ();
84445   ;
84446   return 0;
84447 }
84448 _ACEOF
84449 rm -f conftest.$ac_objext conftest$ac_exeext
84450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84451   (eval $ac_link) 2>conftest.er1
84452   ac_status=$?
84453   grep -v '^ *+' conftest.er1 >conftest.err
84454   rm -f conftest.er1
84455   cat conftest.err >&5
84456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84457   (exit $ac_status); } &&
84458          { ac_try='test -z "$ac_c_werror_flag"
84459                          || test ! -s conftest.err'
84460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84461   (eval $ac_try) 2>&5
84462   ac_status=$?
84463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84464   (exit $ac_status); }; } &&
84465          { ac_try='test -s conftest$ac_exeext'
84466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84467   (eval $ac_try) 2>&5
84468   ac_status=$?
84469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84470   (exit $ac_status); }; }; then
84471   ac_cv_lib_iconv_iconv=yes
84472 else
84473   echo "$as_me: failed program was:" >&5
84474 sed 's/^/| /' conftest.$ac_ext >&5
84475
84476 ac_cv_lib_iconv_iconv=no
84477 fi
84478 rm -f conftest.err conftest.$ac_objext \
84479       conftest$ac_exeext conftest.$ac_ext
84480 LIBS=$ac_check_lib_save_LIBS
84481 fi
84482 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
84483 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
84484 if test $ac_cv_lib_iconv_iconv = yes; then
84485   LIBICONV="-liconv"
84486 fi
84487
84488     ac_save_LIBS="$LIBS"
84489     LIBS="$LIBS $LIBICONV"
84490
84491
84492
84493
84494
84495
84496 for ac_func in iconv_open iconv_close iconv nl_langinfo
84497 do
84498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84499 echo "$as_me:$LINENO: checking for $ac_func" >&5
84500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84501 if eval "test \"\${$as_ac_var+set}\" = set"; then
84502   echo $ECHO_N "(cached) $ECHO_C" >&6
84503 else
84504   if test x$gcc_no_link = xyes; then
84505   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84507    { (exit 1); exit 1; }; }
84508 fi
84509 cat >conftest.$ac_ext <<_ACEOF
84510 /* confdefs.h.  */
84511 _ACEOF
84512 cat confdefs.h >>conftest.$ac_ext
84513 cat >>conftest.$ac_ext <<_ACEOF
84514 /* end confdefs.h.  */
84515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84516    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84517 #define $ac_func innocuous_$ac_func
84518
84519 /* System header to define __stub macros and hopefully few prototypes,
84520     which can conflict with char $ac_func (); below.
84521     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84522     <limits.h> exists even on freestanding compilers.  */
84523
84524 #ifdef __STDC__
84525 # include <limits.h>
84526 #else
84527 # include <assert.h>
84528 #endif
84529
84530 #undef $ac_func
84531
84532 /* Override any gcc2 internal prototype to avoid an error.  */
84533 #ifdef __cplusplus
84534 extern "C"
84535 {
84536 #endif
84537 /* We use char because int might match the return type of a gcc2
84538    builtin and then its argument prototype would still apply.  */
84539 char $ac_func ();
84540 /* The GNU C library defines this for functions which it implements
84541     to always fail with ENOSYS.  Some functions are actually named
84542     something starting with __ and the normal name is an alias.  */
84543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84544 choke me
84545 #else
84546 char (*f) () = $ac_func;
84547 #endif
84548 #ifdef __cplusplus
84549 }
84550 #endif
84551
84552 int
84553 main ()
84554 {
84555 return f != $ac_func;
84556   ;
84557   return 0;
84558 }
84559 _ACEOF
84560 rm -f conftest.$ac_objext conftest$ac_exeext
84561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84562   (eval $ac_link) 2>conftest.er1
84563   ac_status=$?
84564   grep -v '^ *+' conftest.er1 >conftest.err
84565   rm -f conftest.er1
84566   cat conftest.err >&5
84567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84568   (exit $ac_status); } &&
84569          { ac_try='test -z "$ac_c_werror_flag"
84570                          || test ! -s conftest.err'
84571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84572   (eval $ac_try) 2>&5
84573   ac_status=$?
84574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84575   (exit $ac_status); }; } &&
84576          { ac_try='test -s conftest$ac_exeext'
84577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84578   (eval $ac_try) 2>&5
84579   ac_status=$?
84580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84581   (exit $ac_status); }; }; then
84582   eval "$as_ac_var=yes"
84583 else
84584   echo "$as_me: failed program was:" >&5
84585 sed 's/^/| /' conftest.$ac_ext >&5
84586
84587 eval "$as_ac_var=no"
84588 fi
84589 rm -f conftest.err conftest.$ac_objext \
84590       conftest$ac_exeext conftest.$ac_ext
84591 fi
84592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84594 if test `eval echo '${'$as_ac_var'}'` = yes; then
84595   cat >>confdefs.h <<_ACEOF
84596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84597 _ACEOF
84598  ac_XPG2funcs=yes
84599 else
84600   ac_XPG2funcs=no
84601 fi
84602 done
84603
84604
84605     LIBS="$ac_save_LIBS"
84606
84607     if test x"$ac_has_iconv_h" = xyes &&
84608        test x"$ac_has_langinfo_h" = xyes &&
84609        test x"$ac_XPG2funcs" = xyes;
84610     then
84611
84612 cat >>confdefs.h <<\_ACEOF
84613 #define _GLIBCXX_USE_ICONV 1
84614 _ACEOF
84615
84616       enable_iconv=yes
84617     fi
84618   fi
84619   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
84620 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
84621   echo "$as_me:$LINENO: result: $enable_iconv" >&5
84622 echo "${ECHO_T}$enable_iconv" >&6
84623
84624     cat >>confdefs.h <<\_ACEOF
84625 #define HAVE_COSF 1
84626 _ACEOF
84627
84628     cat >>confdefs.h <<\_ACEOF
84629 #define HAVE_COSL 1
84630 _ACEOF
84631
84632     cat >>confdefs.h <<\_ACEOF
84633 #define HAVE_COSHF 1
84634 _ACEOF
84635
84636     cat >>confdefs.h <<\_ACEOF
84637 #define HAVE_COSHL 1
84638 _ACEOF
84639
84640     cat >>confdefs.h <<\_ACEOF
84641 #define HAVE_LOGF 1
84642 _ACEOF
84643
84644     cat >>confdefs.h <<\_ACEOF
84645 #define HAVE_LOGL 1
84646 _ACEOF
84647
84648     cat >>confdefs.h <<\_ACEOF
84649 #define HAVE_LOG10F 1
84650 _ACEOF
84651
84652     cat >>confdefs.h <<\_ACEOF
84653 #define HAVE_LOG10L 1
84654 _ACEOF
84655
84656     cat >>confdefs.h <<\_ACEOF
84657 #define HAVE_SINF 1
84658 _ACEOF
84659
84660     cat >>confdefs.h <<\_ACEOF
84661 #define HAVE_SINL 1
84662 _ACEOF
84663
84664     cat >>confdefs.h <<\_ACEOF
84665 #define HAVE_SINHF 1
84666 _ACEOF
84667
84668     cat >>confdefs.h <<\_ACEOF
84669 #define HAVE_SINHL 1
84670 _ACEOF
84671
84672     ;;
84673   *-solaris*)
84674     case "$target" in
84675     #  *-solaris2.5)
84676     #    os_include_dir="os/solaris/solaris2.5"
84677     #    ;;
84678     #  *-solaris2.6)
84679     #    os_include_dir="os/solaris/solaris2.6"
84680     #    ;;
84681       *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
84682          cat >>confdefs.h <<\_ACEOF
84683 #define HAVE_GETPAGESIZE 1
84684 _ACEOF
84685
84686          cat >>confdefs.h <<\_ACEOF
84687 #define HAVE_SIGSETJMP 1
84688 _ACEOF
84689
84690          cat >>confdefs.h <<\_ACEOF
84691 #define HAVE_MBSTATE_T 1
84692 _ACEOF
84693
84694          cat >>confdefs.h <<\_ACEOF
84695 #define HAVE_POLL 1
84696 _ACEOF
84697
84698          cat >>confdefs.h <<\_ACEOF
84699 #define HAVE_S_ISREG 1
84700 _ACEOF
84701
84702          cat >>confdefs.h <<\_ACEOF
84703 #define HAVE_LC_MESSAGES 1
84704 _ACEOF
84705
84706          cat >>confdefs.h <<\_ACEOF
84707 #define HAVE_FINITE 1
84708 _ACEOF
84709
84710          cat >>confdefs.h <<\_ACEOF
84711 #define HAVE_FPCLASS 1
84712 _ACEOF
84713
84714          cat >>confdefs.h <<\_ACEOF
84715 #define HAVE_GETPAGESIZE 1
84716 _ACEOF
84717
84718          cat >>confdefs.h <<\_ACEOF
84719 #define HAVE_NL_LANGINFO 1
84720 _ACEOF
84721
84722          cat >>confdefs.h <<\_ACEOF
84723 #define HAVE_ICONV 1
84724 _ACEOF
84725
84726          cat >>confdefs.h <<\_ACEOF
84727 #define HAVE_ICONV_CLOSE 1
84728 _ACEOF
84729
84730          cat >>confdefs.h <<\_ACEOF
84731 #define HAVE_ICONV_OPEN 1
84732 _ACEOF
84733
84734          # Look for the pieces required for wchar_t support in order to
84735          # get all the right HAVE_* macros defined.
84736
84737
84738   enable_iconv=no
84739   # Only continue checking if the ISO C99 headers exist and support is on.
84740   if test x"$enable_wchar_t" = xyes; then
84741
84742     # Use iconv for wchar_t to char conversions. As such, check for
84743     # X/Open Portability Guide, version 2 features (XPG2).
84744     if test "${ac_cv_header_iconv_h+set}" = set; then
84745   echo "$as_me:$LINENO: checking for iconv.h" >&5
84746 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84747 if test "${ac_cv_header_iconv_h+set}" = set; then
84748   echo $ECHO_N "(cached) $ECHO_C" >&6
84749 fi
84750 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84751 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84752 else
84753   # Is the header compilable?
84754 echo "$as_me:$LINENO: checking iconv.h usability" >&5
84755 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
84756 cat >conftest.$ac_ext <<_ACEOF
84757 /* confdefs.h.  */
84758 _ACEOF
84759 cat confdefs.h >>conftest.$ac_ext
84760 cat >>conftest.$ac_ext <<_ACEOF
84761 /* end confdefs.h.  */
84762 $ac_includes_default
84763 #include <iconv.h>
84764 _ACEOF
84765 rm -f conftest.$ac_objext
84766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84767   (eval $ac_compile) 2>conftest.er1
84768   ac_status=$?
84769   grep -v '^ *+' conftest.er1 >conftest.err
84770   rm -f conftest.er1
84771   cat conftest.err >&5
84772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84773   (exit $ac_status); } &&
84774          { ac_try='test -z "$ac_c_werror_flag"
84775                          || test ! -s conftest.err'
84776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84777   (eval $ac_try) 2>&5
84778   ac_status=$?
84779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84780   (exit $ac_status); }; } &&
84781          { ac_try='test -s conftest.$ac_objext'
84782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84783   (eval $ac_try) 2>&5
84784   ac_status=$?
84785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84786   (exit $ac_status); }; }; then
84787   ac_header_compiler=yes
84788 else
84789   echo "$as_me: failed program was:" >&5
84790 sed 's/^/| /' conftest.$ac_ext >&5
84791
84792 ac_header_compiler=no
84793 fi
84794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84795 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84796 echo "${ECHO_T}$ac_header_compiler" >&6
84797
84798 # Is the header present?
84799 echo "$as_me:$LINENO: checking iconv.h presence" >&5
84800 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
84801 cat >conftest.$ac_ext <<_ACEOF
84802 /* confdefs.h.  */
84803 _ACEOF
84804 cat confdefs.h >>conftest.$ac_ext
84805 cat >>conftest.$ac_ext <<_ACEOF
84806 /* end confdefs.h.  */
84807 #include <iconv.h>
84808 _ACEOF
84809 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84810   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84811   ac_status=$?
84812   grep -v '^ *+' conftest.er1 >conftest.err
84813   rm -f conftest.er1
84814   cat conftest.err >&5
84815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84816   (exit $ac_status); } >/dev/null; then
84817   if test -s conftest.err; then
84818     ac_cpp_err=$ac_c_preproc_warn_flag
84819     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84820   else
84821     ac_cpp_err=
84822   fi
84823 else
84824   ac_cpp_err=yes
84825 fi
84826 if test -z "$ac_cpp_err"; then
84827   ac_header_preproc=yes
84828 else
84829   echo "$as_me: failed program was:" >&5
84830 sed 's/^/| /' conftest.$ac_ext >&5
84831
84832   ac_header_preproc=no
84833 fi
84834 rm -f conftest.err conftest.$ac_ext
84835 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84836 echo "${ECHO_T}$ac_header_preproc" >&6
84837
84838 # So?  What about this header?
84839 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84840   yes:no: )
84841     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
84842 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84843     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
84844 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
84845     ac_header_preproc=yes
84846     ;;
84847   no:yes:* )
84848     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
84849 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
84850     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
84851 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
84852     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
84853 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
84854     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
84855 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
84856     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
84857 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
84858     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
84859 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
84860     (
84861       cat <<\_ASBOX
84862 ## ----------------------------------------- ##
84863 ## Report this to the package-unused lists.  ##
84864 ## ----------------------------------------- ##
84865 _ASBOX
84866     ) |
84867       sed "s/^/$as_me: WARNING:     /" >&2
84868     ;;
84869 esac
84870 echo "$as_me:$LINENO: checking for iconv.h" >&5
84871 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84872 if test "${ac_cv_header_iconv_h+set}" = set; then
84873   echo $ECHO_N "(cached) $ECHO_C" >&6
84874 else
84875   ac_cv_header_iconv_h=$ac_header_preproc
84876 fi
84877 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84878 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84879
84880 fi
84881 if test $ac_cv_header_iconv_h = yes; then
84882   ac_has_iconv_h=yes
84883 else
84884   ac_has_iconv_h=no
84885 fi
84886
84887
84888     if test "${ac_cv_header_langinfo_h+set}" = set; then
84889   echo "$as_me:$LINENO: checking for langinfo.h" >&5
84890 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84891 if test "${ac_cv_header_langinfo_h+set}" = set; then
84892   echo $ECHO_N "(cached) $ECHO_C" >&6
84893 fi
84894 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84895 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84896 else
84897   # Is the header compilable?
84898 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
84899 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
84900 cat >conftest.$ac_ext <<_ACEOF
84901 /* confdefs.h.  */
84902 _ACEOF
84903 cat confdefs.h >>conftest.$ac_ext
84904 cat >>conftest.$ac_ext <<_ACEOF
84905 /* end confdefs.h.  */
84906 $ac_includes_default
84907 #include <langinfo.h>
84908 _ACEOF
84909 rm -f conftest.$ac_objext
84910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84911   (eval $ac_compile) 2>conftest.er1
84912   ac_status=$?
84913   grep -v '^ *+' conftest.er1 >conftest.err
84914   rm -f conftest.er1
84915   cat conftest.err >&5
84916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84917   (exit $ac_status); } &&
84918          { ac_try='test -z "$ac_c_werror_flag"
84919                          || test ! -s conftest.err'
84920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84921   (eval $ac_try) 2>&5
84922   ac_status=$?
84923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84924   (exit $ac_status); }; } &&
84925          { ac_try='test -s conftest.$ac_objext'
84926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84927   (eval $ac_try) 2>&5
84928   ac_status=$?
84929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84930   (exit $ac_status); }; }; then
84931   ac_header_compiler=yes
84932 else
84933   echo "$as_me: failed program was:" >&5
84934 sed 's/^/| /' conftest.$ac_ext >&5
84935
84936 ac_header_compiler=no
84937 fi
84938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84939 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84940 echo "${ECHO_T}$ac_header_compiler" >&6
84941
84942 # Is the header present?
84943 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
84944 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
84945 cat >conftest.$ac_ext <<_ACEOF
84946 /* confdefs.h.  */
84947 _ACEOF
84948 cat confdefs.h >>conftest.$ac_ext
84949 cat >>conftest.$ac_ext <<_ACEOF
84950 /* end confdefs.h.  */
84951 #include <langinfo.h>
84952 _ACEOF
84953 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84954   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84955   ac_status=$?
84956   grep -v '^ *+' conftest.er1 >conftest.err
84957   rm -f conftest.er1
84958   cat conftest.err >&5
84959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84960   (exit $ac_status); } >/dev/null; then
84961   if test -s conftest.err; then
84962     ac_cpp_err=$ac_c_preproc_warn_flag
84963     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84964   else
84965     ac_cpp_err=
84966   fi
84967 else
84968   ac_cpp_err=yes
84969 fi
84970 if test -z "$ac_cpp_err"; then
84971   ac_header_preproc=yes
84972 else
84973   echo "$as_me: failed program was:" >&5
84974 sed 's/^/| /' conftest.$ac_ext >&5
84975
84976   ac_header_preproc=no
84977 fi
84978 rm -f conftest.err conftest.$ac_ext
84979 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84980 echo "${ECHO_T}$ac_header_preproc" >&6
84981
84982 # So?  What about this header?
84983 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84984   yes:no: )
84985     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
84986 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84987     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
84988 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
84989     ac_header_preproc=yes
84990     ;;
84991   no:yes:* )
84992     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
84993 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
84994     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
84995 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
84996     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
84997 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
84998     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
84999 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
85000     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
85001 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
85002     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
85003 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
85004     (
85005       cat <<\_ASBOX
85006 ## ----------------------------------------- ##
85007 ## Report this to the package-unused lists.  ##
85008 ## ----------------------------------------- ##
85009 _ASBOX
85010     ) |
85011       sed "s/^/$as_me: WARNING:     /" >&2
85012     ;;
85013 esac
85014 echo "$as_me:$LINENO: checking for langinfo.h" >&5
85015 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
85016 if test "${ac_cv_header_langinfo_h+set}" = set; then
85017   echo $ECHO_N "(cached) $ECHO_C" >&6
85018 else
85019   ac_cv_header_langinfo_h=$ac_header_preproc
85020 fi
85021 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
85022 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
85023
85024 fi
85025 if test $ac_cv_header_langinfo_h = yes; then
85026   ac_has_langinfo_h=yes
85027 else
85028   ac_has_langinfo_h=no
85029 fi
85030
85031
85032
85033     # Check for existence of libiconv.a providing XPG2 wchar_t support.
85034     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
85035 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
85036 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
85037   echo $ECHO_N "(cached) $ECHO_C" >&6
85038 else
85039   ac_check_lib_save_LIBS=$LIBS
85040 LIBS="-liconv  $LIBS"
85041 if test x$gcc_no_link = xyes; then
85042   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85044    { (exit 1); exit 1; }; }
85045 fi
85046 cat >conftest.$ac_ext <<_ACEOF
85047 /* confdefs.h.  */
85048 _ACEOF
85049 cat confdefs.h >>conftest.$ac_ext
85050 cat >>conftest.$ac_ext <<_ACEOF
85051 /* end confdefs.h.  */
85052
85053 /* Override any gcc2 internal prototype to avoid an error.  */
85054 #ifdef __cplusplus
85055 extern "C"
85056 #endif
85057 /* We use char because int might match the return type of a gcc2
85058    builtin and then its argument prototype would still apply.  */
85059 char iconv ();
85060 int
85061 main ()
85062 {
85063 iconv ();
85064   ;
85065   return 0;
85066 }
85067 _ACEOF
85068 rm -f conftest.$ac_objext conftest$ac_exeext
85069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85070   (eval $ac_link) 2>conftest.er1
85071   ac_status=$?
85072   grep -v '^ *+' conftest.er1 >conftest.err
85073   rm -f conftest.er1
85074   cat conftest.err >&5
85075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85076   (exit $ac_status); } &&
85077          { ac_try='test -z "$ac_c_werror_flag"
85078                          || test ! -s conftest.err'
85079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85080   (eval $ac_try) 2>&5
85081   ac_status=$?
85082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85083   (exit $ac_status); }; } &&
85084          { ac_try='test -s conftest$ac_exeext'
85085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85086   (eval $ac_try) 2>&5
85087   ac_status=$?
85088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85089   (exit $ac_status); }; }; then
85090   ac_cv_lib_iconv_iconv=yes
85091 else
85092   echo "$as_me: failed program was:" >&5
85093 sed 's/^/| /' conftest.$ac_ext >&5
85094
85095 ac_cv_lib_iconv_iconv=no
85096 fi
85097 rm -f conftest.err conftest.$ac_objext \
85098       conftest$ac_exeext conftest.$ac_ext
85099 LIBS=$ac_check_lib_save_LIBS
85100 fi
85101 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
85102 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
85103 if test $ac_cv_lib_iconv_iconv = yes; then
85104   LIBICONV="-liconv"
85105 fi
85106
85107     ac_save_LIBS="$LIBS"
85108     LIBS="$LIBS $LIBICONV"
85109
85110
85111
85112
85113
85114
85115 for ac_func in iconv_open iconv_close iconv nl_langinfo
85116 do
85117 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85118 echo "$as_me:$LINENO: checking for $ac_func" >&5
85119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85120 if eval "test \"\${$as_ac_var+set}\" = set"; then
85121   echo $ECHO_N "(cached) $ECHO_C" >&6
85122 else
85123   if test x$gcc_no_link = xyes; then
85124   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85126    { (exit 1); exit 1; }; }
85127 fi
85128 cat >conftest.$ac_ext <<_ACEOF
85129 /* confdefs.h.  */
85130 _ACEOF
85131 cat confdefs.h >>conftest.$ac_ext
85132 cat >>conftest.$ac_ext <<_ACEOF
85133 /* end confdefs.h.  */
85134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85135    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85136 #define $ac_func innocuous_$ac_func
85137
85138 /* System header to define __stub macros and hopefully few prototypes,
85139     which can conflict with char $ac_func (); below.
85140     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85141     <limits.h> exists even on freestanding compilers.  */
85142
85143 #ifdef __STDC__
85144 # include <limits.h>
85145 #else
85146 # include <assert.h>
85147 #endif
85148
85149 #undef $ac_func
85150
85151 /* Override any gcc2 internal prototype to avoid an error.  */
85152 #ifdef __cplusplus
85153 extern "C"
85154 {
85155 #endif
85156 /* We use char because int might match the return type of a gcc2
85157    builtin and then its argument prototype would still apply.  */
85158 char $ac_func ();
85159 /* The GNU C library defines this for functions which it implements
85160     to always fail with ENOSYS.  Some functions are actually named
85161     something starting with __ and the normal name is an alias.  */
85162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85163 choke me
85164 #else
85165 char (*f) () = $ac_func;
85166 #endif
85167 #ifdef __cplusplus
85168 }
85169 #endif
85170
85171 int
85172 main ()
85173 {
85174 return f != $ac_func;
85175   ;
85176   return 0;
85177 }
85178 _ACEOF
85179 rm -f conftest.$ac_objext conftest$ac_exeext
85180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85181   (eval $ac_link) 2>conftest.er1
85182   ac_status=$?
85183   grep -v '^ *+' conftest.er1 >conftest.err
85184   rm -f conftest.er1
85185   cat conftest.err >&5
85186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85187   (exit $ac_status); } &&
85188          { ac_try='test -z "$ac_c_werror_flag"
85189                          || test ! -s conftest.err'
85190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85191   (eval $ac_try) 2>&5
85192   ac_status=$?
85193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85194   (exit $ac_status); }; } &&
85195          { ac_try='test -s conftest$ac_exeext'
85196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85197   (eval $ac_try) 2>&5
85198   ac_status=$?
85199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85200   (exit $ac_status); }; }; then
85201   eval "$as_ac_var=yes"
85202 else
85203   echo "$as_me: failed program was:" >&5
85204 sed 's/^/| /' conftest.$ac_ext >&5
85205
85206 eval "$as_ac_var=no"
85207 fi
85208 rm -f conftest.err conftest.$ac_objext \
85209       conftest$ac_exeext conftest.$ac_ext
85210 fi
85211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85213 if test `eval echo '${'$as_ac_var'}'` = yes; then
85214   cat >>confdefs.h <<_ACEOF
85215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85216 _ACEOF
85217  ac_XPG2funcs=yes
85218 else
85219   ac_XPG2funcs=no
85220 fi
85221 done
85222
85223
85224     LIBS="$ac_save_LIBS"
85225
85226     if test x"$ac_has_iconv_h" = xyes &&
85227        test x"$ac_has_langinfo_h" = xyes &&
85228        test x"$ac_XPG2funcs" = xyes;
85229     then
85230
85231 cat >>confdefs.h <<\_ACEOF
85232 #define _GLIBCXX_USE_ICONV 1
85233 _ACEOF
85234
85235       enable_iconv=yes
85236     fi
85237   fi
85238   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
85239 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
85240   echo "$as_me:$LINENO: result: $enable_iconv" >&5
85241 echo "${ECHO_T}$enable_iconv" >&6
85242
85243          # All of the dependencies for wide character support are here, so
85244          # turn it on.  This requires some syncronization with the
85245          # GLIBCXX_CHECK_ICONV_SUPPORT in acinclude.m4
85246          cat >>confdefs.h <<\_ACEOF
85247 #define _GLIBCXX_USE_WCHAR_T 1
85248 _ACEOF
85249
85250          # Are these tested for even when cross?
85251          cat >>confdefs.h <<\_ACEOF
85252 #define HAVE_FLOAT_H 1
85253 _ACEOF
85254
85255          cat >>confdefs.h <<\_ACEOF
85256 #define HAVE_IEEEFP_H 1
85257 _ACEOF
85258
85259          cat >>confdefs.h <<\_ACEOF
85260 #define HAVE_INTTYPES_H 1
85261 _ACEOF
85262
85263          cat >>confdefs.h <<\_ACEOF
85264 #define HAVE_LOCALE_H 1
85265 _ACEOF
85266
85267          cat >>confdefs.h <<\_ACEOF
85268 #define HAVE_NAN_H 1
85269 _ACEOF
85270
85271          cat >>confdefs.h <<\_ACEOF
85272 #define HAVE_SYS_FILIO_H 1
85273 _ACEOF
85274
85275          cat >>confdefs.h <<\_ACEOF
85276 #define HAVE_SYS_IOCTL_H 1
85277 _ACEOF
85278
85279          cat >>confdefs.h <<\_ACEOF
85280 #define HAVE_SYS_ISA_DEFS_H 1
85281 _ACEOF
85282
85283          cat >>confdefs.h <<\_ACEOF
85284 #define HAVE_SYS_RESOURCE_H 1
85285 _ACEOF
85286
85287          cat >>confdefs.h <<\_ACEOF
85288 #define HAVE_SYS_TIME_H 1
85289 _ACEOF
85290
85291          cat >>confdefs.h <<\_ACEOF
85292 #define HAVE_SYS_TYPES_H 1
85293 _ACEOF
85294
85295          cat >>confdefs.h <<\_ACEOF
85296 #define HAVE_UNISTD_H 1
85297 _ACEOF
85298
85299          cat >>confdefs.h <<\_ACEOF
85300 #define HAVE_WCHAR_H 1
85301 _ACEOF
85302
85303          cat >>confdefs.h <<\_ACEOF
85304 #define HAVE_WCTYPE_H 1
85305 _ACEOF
85306
85307          cat >>confdefs.h <<\_ACEOF
85308 #define HAVE_LIBM 1
85309 _ACEOF
85310
85311         ;;
85312     esac
85313     case "$target" in
85314       sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
85315         # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
85316         cat >>confdefs.h <<\_ACEOF
85317 #define HAVE___BUILTIN_ABS 1
85318 _ACEOF
85319
85320         cat >>confdefs.h <<\_ACEOF
85321 #define HAVE___BUILTIN_LABS 1
85322 _ACEOF
85323
85324         cat >>confdefs.h <<\_ACEOF
85325 #define HAVE___BUILTIN_FABS 1
85326 _ACEOF
85327
85328         cat >>confdefs.h <<\_ACEOF
85329 #define HAVE___BUILTIN_FABSF 1
85330 _ACEOF
85331
85332         cat >>confdefs.h <<\_ACEOF
85333 #define HAVE___BUILTIN_FABSL 1
85334 _ACEOF
85335
85336         cat >>confdefs.h <<\_ACEOF
85337 #define HAVE___BUILTIN_COS 1
85338 _ACEOF
85339
85340         cat >>confdefs.h <<\_ACEOF
85341 #define HAVE___BUILTIN_COSF 1
85342 _ACEOF
85343
85344         cat >>confdefs.h <<\_ACEOF
85345 #define HAVE___BUILTIN_SIN 1
85346 _ACEOF
85347
85348         cat >>confdefs.h <<\_ACEOF
85349 #define HAVE___BUILTIN_SINF 1
85350 _ACEOF
85351
85352        ;;
85353     esac
85354     case "$target" in
85355       *-*-solaris2.10)
85356       # These two C99 functions are present only in Solaris >= 10
85357       cat >>confdefs.h <<\_ACEOF
85358 #define HAVE_STRTOF 1
85359 _ACEOF
85360
85361       cat >>confdefs.h <<\_ACEOF
85362 #define HAVE_STRTOLD 1
85363 _ACEOF
85364
85365      ;;
85366     esac
85367     cat >>confdefs.h <<\_ACEOF
85368 #define HAVE_MMAP 1
85369 _ACEOF
85370
85371     cat >>confdefs.h <<\_ACEOF
85372 #define HAVE_COPYSIGN 1
85373 _ACEOF
85374
85375     cat >>confdefs.h <<\_ACEOF
85376 #define HAVE_ISNAN 1
85377 _ACEOF
85378
85379     cat >>confdefs.h <<\_ACEOF
85380 #define HAVE_ISNANF 1
85381 _ACEOF
85382
85383     cat >>confdefs.h <<\_ACEOF
85384 #define HAVE_MODFF 1
85385 _ACEOF
85386
85387     cat >>confdefs.h <<\_ACEOF
85388 #define HAVE_HYPOT 1
85389 _ACEOF
85390
85391     ;;
85392   *-tpf)
85393
85394
85395
85396
85397
85398
85399
85400
85401 for ac_header in nan.h endian.h machine/endian.h  \
85402       sys/param.h sys/types.h locale.h float.h inttypes.h
85403 do
85404 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85405 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85406   echo "$as_me:$LINENO: checking for $ac_header" >&5
85407 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85408 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85409   echo $ECHO_N "(cached) $ECHO_C" >&6
85410 fi
85411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85412 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85413 else
85414   # Is the header compilable?
85415 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85416 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85417 cat >conftest.$ac_ext <<_ACEOF
85418 /* confdefs.h.  */
85419 _ACEOF
85420 cat confdefs.h >>conftest.$ac_ext
85421 cat >>conftest.$ac_ext <<_ACEOF
85422 /* end confdefs.h.  */
85423 $ac_includes_default
85424 #include <$ac_header>
85425 _ACEOF
85426 rm -f conftest.$ac_objext
85427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85428   (eval $ac_compile) 2>conftest.er1
85429   ac_status=$?
85430   grep -v '^ *+' conftest.er1 >conftest.err
85431   rm -f conftest.er1
85432   cat conftest.err >&5
85433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85434   (exit $ac_status); } &&
85435          { ac_try='test -z "$ac_c_werror_flag"
85436                          || test ! -s conftest.err'
85437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85438   (eval $ac_try) 2>&5
85439   ac_status=$?
85440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85441   (exit $ac_status); }; } &&
85442          { ac_try='test -s conftest.$ac_objext'
85443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85444   (eval $ac_try) 2>&5
85445   ac_status=$?
85446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85447   (exit $ac_status); }; }; then
85448   ac_header_compiler=yes
85449 else
85450   echo "$as_me: failed program was:" >&5
85451 sed 's/^/| /' conftest.$ac_ext >&5
85452
85453 ac_header_compiler=no
85454 fi
85455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85456 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85457 echo "${ECHO_T}$ac_header_compiler" >&6
85458
85459 # Is the header present?
85460 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85461 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85462 cat >conftest.$ac_ext <<_ACEOF
85463 /* confdefs.h.  */
85464 _ACEOF
85465 cat confdefs.h >>conftest.$ac_ext
85466 cat >>conftest.$ac_ext <<_ACEOF
85467 /* end confdefs.h.  */
85468 #include <$ac_header>
85469 _ACEOF
85470 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85471   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85472   ac_status=$?
85473   grep -v '^ *+' conftest.er1 >conftest.err
85474   rm -f conftest.er1
85475   cat conftest.err >&5
85476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85477   (exit $ac_status); } >/dev/null; then
85478   if test -s conftest.err; then
85479     ac_cpp_err=$ac_c_preproc_warn_flag
85480     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85481   else
85482     ac_cpp_err=
85483   fi
85484 else
85485   ac_cpp_err=yes
85486 fi
85487 if test -z "$ac_cpp_err"; then
85488   ac_header_preproc=yes
85489 else
85490   echo "$as_me: failed program was:" >&5
85491 sed 's/^/| /' conftest.$ac_ext >&5
85492
85493   ac_header_preproc=no
85494 fi
85495 rm -f conftest.err conftest.$ac_ext
85496 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85497 echo "${ECHO_T}$ac_header_preproc" >&6
85498
85499 # So?  What about this header?
85500 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85501   yes:no: )
85502     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85503 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85504     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85505 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85506     ac_header_preproc=yes
85507     ;;
85508   no:yes:* )
85509     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85510 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85511     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
85512 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
85513     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85514 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85515     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
85516 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
85517     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85518 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85519     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85520 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85521     (
85522       cat <<\_ASBOX
85523 ## ----------------------------------------- ##
85524 ## Report this to the package-unused lists.  ##
85525 ## ----------------------------------------- ##
85526 _ASBOX
85527     ) |
85528       sed "s/^/$as_me: WARNING:     /" >&2
85529     ;;
85530 esac
85531 echo "$as_me:$LINENO: checking for $ac_header" >&5
85532 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85533 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85534   echo $ECHO_N "(cached) $ECHO_C" >&6
85535 else
85536   eval "$as_ac_Header=\$ac_header_preproc"
85537 fi
85538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85539 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85540
85541 fi
85542 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85543   cat >>confdefs.h <<_ACEOF
85544 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85545 _ACEOF
85546
85547 fi
85548
85549 done
85550
85551     SECTION_FLAGS='-ffunction-sections -fdata-sections'
85552
85553
85554   # If we're not using GNU ld, then there's no point in even trying these
85555   # tests.  Check for that first.  We should have already tested for gld
85556   # by now (in libtool), but require it now just to be safe...
85557   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85558   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
85559
85560
85561
85562   # The name set by libtool depends on the version of libtool.  Shame on us
85563   # for depending on an impl detail, but c'est la vie.  Older versions used
85564   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
85565   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
85566   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
85567   # set (hence we're using an older libtool), then set it.
85568   if test x${with_gnu_ld+set} != xset; then
85569     if test x${ac_cv_prog_gnu_ld+set} != xset; then
85570       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
85571       with_gnu_ld=no
85572     else
85573       with_gnu_ld=$ac_cv_prog_gnu_ld
85574     fi
85575   fi
85576
85577   # Start by getting the version number.  I think the libtool test already
85578   # does some of this, but throws away the result.
85579
85580   ldver=`$LD --version 2>/dev/null | head -1 | \
85581          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
85582
85583   glibcxx_gnu_ld_version=`echo $ldver | \
85584          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85585
85586   # Set --gc-sections.
85587   if test "$with_gnu_ld" = "notbroken"; then
85588     # GNU ld it is!  Joy and bunny rabbits!
85589
85590     # All these tests are for C++; save the language and the compiler flags.
85591     # Need to do this so that g++ won't try to link in libstdc++
85592     ac_test_CFLAGS="${CFLAGS+set}"
85593     ac_save_CFLAGS="$CFLAGS"
85594     CFLAGS='-x c++  -Wl,--gc-sections'
85595
85596     # Check for -Wl,--gc-sections
85597     # XXX This test is broken at the moment, as symbols required for linking
85598     # are now in libsupc++ (not built yet).  In addition, this test has
85599     # cored on solaris in the past.  In addition, --gc-sections doesn't
85600     # really work at the moment (keeps on discarding used sections, first
85601     # .eh_frame and now some of the glibc sections for iconv).
85602     # Bzzzzt.  Thanks for playing, maybe next time.
85603     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85604 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85605     if test "$cross_compiling" = yes; then
85606   ac_sectionLDflags=yes
85607 else
85608   cat >conftest.$ac_ext <<_ACEOF
85609 /* confdefs.h.  */
85610 _ACEOF
85611 cat confdefs.h >>conftest.$ac_ext
85612 cat >>conftest.$ac_ext <<_ACEOF
85613 /* end confdefs.h.  */
85614
85615      int main(void)
85616      {
85617        try { throw 1; }
85618        catch (...) { };
85619        return 0;
85620      }
85621
85622 _ACEOF
85623 rm -f conftest$ac_exeext
85624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85625   (eval $ac_link) 2>&5
85626   ac_status=$?
85627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85628   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
85629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85630   (eval $ac_try) 2>&5
85631   ac_status=$?
85632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85633   (exit $ac_status); }; }; then
85634   ac_sectionLDflags=yes
85635 else
85636   echo "$as_me: program exited with status $ac_status" >&5
85637 echo "$as_me: failed program was:" >&5
85638 sed 's/^/| /' conftest.$ac_ext >&5
85639
85640 ( exit $ac_status )
85641 ac_sectionLDflags=no
85642 fi
85643 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
85644 fi
85645     if test "$ac_test_CFLAGS" = set; then
85646       CFLAGS="$ac_save_CFLAGS"
85647     else
85648       # this is the suspicious part
85649       CFLAGS=''
85650     fi
85651     if test "$ac_sectionLDflags" = "yes"; then
85652       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85653     fi
85654     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
85655 echo "${ECHO_T}$ac_sectionLDflags" >&6
85656   fi
85657
85658   # Set linker optimization flags.
85659   if test x"$with_gnu_ld" = x"yes"; then
85660     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85661   fi
85662
85663
85664
85665
85666
85667
85668 echo "$as_me:$LINENO: checking for main in -lm" >&5
85669 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85670 if test "${ac_cv_lib_m_main+set}" = set; then
85671   echo $ECHO_N "(cached) $ECHO_C" >&6
85672 else
85673   ac_check_lib_save_LIBS=$LIBS
85674 LIBS="-lm  $LIBS"
85675 if test x$gcc_no_link = xyes; then
85676   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85678    { (exit 1); exit 1; }; }
85679 fi
85680 cat >conftest.$ac_ext <<_ACEOF
85681 /* confdefs.h.  */
85682 _ACEOF
85683 cat confdefs.h >>conftest.$ac_ext
85684 cat >>conftest.$ac_ext <<_ACEOF
85685 /* end confdefs.h.  */
85686
85687
85688 int
85689 main ()
85690 {
85691 main ();
85692   ;
85693   return 0;
85694 }
85695 _ACEOF
85696 rm -f conftest.$ac_objext conftest$ac_exeext
85697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85698   (eval $ac_link) 2>conftest.er1
85699   ac_status=$?
85700   grep -v '^ *+' conftest.er1 >conftest.err
85701   rm -f conftest.er1
85702   cat conftest.err >&5
85703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85704   (exit $ac_status); } &&
85705          { ac_try='test -z "$ac_c_werror_flag"
85706                          || test ! -s conftest.err'
85707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85708   (eval $ac_try) 2>&5
85709   ac_status=$?
85710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85711   (exit $ac_status); }; } &&
85712          { ac_try='test -s conftest$ac_exeext'
85713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85714   (eval $ac_try) 2>&5
85715   ac_status=$?
85716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85717   (exit $ac_status); }; }; then
85718   ac_cv_lib_m_main=yes
85719 else
85720   echo "$as_me: failed program was:" >&5
85721 sed 's/^/| /' conftest.$ac_ext >&5
85722
85723 ac_cv_lib_m_main=no
85724 fi
85725 rm -f conftest.err conftest.$ac_objext \
85726       conftest$ac_exeext conftest.$ac_ext
85727 LIBS=$ac_check_lib_save_LIBS
85728 fi
85729 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85730 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85731 if test $ac_cv_lib_m_main = yes; then
85732   cat >>confdefs.h <<_ACEOF
85733 #define HAVE_LIBM 1
85734 _ACEOF
85735
85736   LIBS="-lm $LIBS"
85737
85738 fi
85739
85740
85741 for ac_func in copysignf
85742 do
85743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85744 echo "$as_me:$LINENO: checking for $ac_func" >&5
85745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85746 if eval "test \"\${$as_ac_var+set}\" = set"; then
85747   echo $ECHO_N "(cached) $ECHO_C" >&6
85748 else
85749   if test x$gcc_no_link = xyes; then
85750   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85752    { (exit 1); exit 1; }; }
85753 fi
85754 cat >conftest.$ac_ext <<_ACEOF
85755 /* confdefs.h.  */
85756 _ACEOF
85757 cat confdefs.h >>conftest.$ac_ext
85758 cat >>conftest.$ac_ext <<_ACEOF
85759 /* end confdefs.h.  */
85760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85761    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85762 #define $ac_func innocuous_$ac_func
85763
85764 /* System header to define __stub macros and hopefully few prototypes,
85765     which can conflict with char $ac_func (); below.
85766     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85767     <limits.h> exists even on freestanding compilers.  */
85768
85769 #ifdef __STDC__
85770 # include <limits.h>
85771 #else
85772 # include <assert.h>
85773 #endif
85774
85775 #undef $ac_func
85776
85777 /* Override any gcc2 internal prototype to avoid an error.  */
85778 #ifdef __cplusplus
85779 extern "C"
85780 {
85781 #endif
85782 /* We use char because int might match the return type of a gcc2
85783    builtin and then its argument prototype would still apply.  */
85784 char $ac_func ();
85785 /* The GNU C library defines this for functions which it implements
85786     to always fail with ENOSYS.  Some functions are actually named
85787     something starting with __ and the normal name is an alias.  */
85788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85789 choke me
85790 #else
85791 char (*f) () = $ac_func;
85792 #endif
85793 #ifdef __cplusplus
85794 }
85795 #endif
85796
85797 int
85798 main ()
85799 {
85800 return f != $ac_func;
85801   ;
85802   return 0;
85803 }
85804 _ACEOF
85805 rm -f conftest.$ac_objext conftest$ac_exeext
85806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85807   (eval $ac_link) 2>conftest.er1
85808   ac_status=$?
85809   grep -v '^ *+' conftest.er1 >conftest.err
85810   rm -f conftest.er1
85811   cat conftest.err >&5
85812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85813   (exit $ac_status); } &&
85814          { ac_try='test -z "$ac_c_werror_flag"
85815                          || test ! -s conftest.err'
85816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85817   (eval $ac_try) 2>&5
85818   ac_status=$?
85819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85820   (exit $ac_status); }; } &&
85821          { ac_try='test -s conftest$ac_exeext'
85822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85823   (eval $ac_try) 2>&5
85824   ac_status=$?
85825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85826   (exit $ac_status); }; }; then
85827   eval "$as_ac_var=yes"
85828 else
85829   echo "$as_me: failed program was:" >&5
85830 sed 's/^/| /' conftest.$ac_ext >&5
85831
85832 eval "$as_ac_var=no"
85833 fi
85834 rm -f conftest.err conftest.$ac_objext \
85835       conftest$ac_exeext conftest.$ac_ext
85836 fi
85837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85838 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85839 if test `eval echo '${'$as_ac_var'}'` = yes; then
85840   cat >>confdefs.h <<_ACEOF
85841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85842 _ACEOF
85843
85844 else
85845   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
85846 fi
85847 done
85848
85849
85850
85851 for ac_func in __signbit
85852 do
85853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85854 echo "$as_me:$LINENO: checking for $ac_func" >&5
85855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85856 if eval "test \"\${$as_ac_var+set}\" = set"; then
85857   echo $ECHO_N "(cached) $ECHO_C" >&6
85858 else
85859   if test x$gcc_no_link = xyes; then
85860   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85862    { (exit 1); exit 1; }; }
85863 fi
85864 cat >conftest.$ac_ext <<_ACEOF
85865 /* confdefs.h.  */
85866 _ACEOF
85867 cat confdefs.h >>conftest.$ac_ext
85868 cat >>conftest.$ac_ext <<_ACEOF
85869 /* end confdefs.h.  */
85870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85871    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85872 #define $ac_func innocuous_$ac_func
85873
85874 /* System header to define __stub macros and hopefully few prototypes,
85875     which can conflict with char $ac_func (); below.
85876     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85877     <limits.h> exists even on freestanding compilers.  */
85878
85879 #ifdef __STDC__
85880 # include <limits.h>
85881 #else
85882 # include <assert.h>
85883 #endif
85884
85885 #undef $ac_func
85886
85887 /* Override any gcc2 internal prototype to avoid an error.  */
85888 #ifdef __cplusplus
85889 extern "C"
85890 {
85891 #endif
85892 /* We use char because int might match the return type of a gcc2
85893    builtin and then its argument prototype would still apply.  */
85894 char $ac_func ();
85895 /* The GNU C library defines this for functions which it implements
85896     to always fail with ENOSYS.  Some functions are actually named
85897     something starting with __ and the normal name is an alias.  */
85898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85899 choke me
85900 #else
85901 char (*f) () = $ac_func;
85902 #endif
85903 #ifdef __cplusplus
85904 }
85905 #endif
85906
85907 int
85908 main ()
85909 {
85910 return f != $ac_func;
85911   ;
85912   return 0;
85913 }
85914 _ACEOF
85915 rm -f conftest.$ac_objext conftest$ac_exeext
85916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85917   (eval $ac_link) 2>conftest.er1
85918   ac_status=$?
85919   grep -v '^ *+' conftest.er1 >conftest.err
85920   rm -f conftest.er1
85921   cat conftest.err >&5
85922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85923   (exit $ac_status); } &&
85924          { ac_try='test -z "$ac_c_werror_flag"
85925                          || test ! -s conftest.err'
85926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85927   (eval $ac_try) 2>&5
85928   ac_status=$?
85929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85930   (exit $ac_status); }; } &&
85931          { ac_try='test -s conftest$ac_exeext'
85932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85933   (eval $ac_try) 2>&5
85934   ac_status=$?
85935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85936   (exit $ac_status); }; }; then
85937   eval "$as_ac_var=yes"
85938 else
85939   echo "$as_me: failed program was:" >&5
85940 sed 's/^/| /' conftest.$ac_ext >&5
85941
85942 eval "$as_ac_var=no"
85943 fi
85944 rm -f conftest.err conftest.$ac_objext \
85945       conftest$ac_exeext conftest.$ac_ext
85946 fi
85947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85948 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85949 if test `eval echo '${'$as_ac_var'}'` = yes; then
85950   cat >>confdefs.h <<_ACEOF
85951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85952 _ACEOF
85953
85954 else
85955   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
85956 fi
85957 done
85958
85959
85960
85961 for ac_func in __signbitf
85962 do
85963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85964 echo "$as_me:$LINENO: checking for $ac_func" >&5
85965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85966 if eval "test \"\${$as_ac_var+set}\" = set"; then
85967   echo $ECHO_N "(cached) $ECHO_C" >&6
85968 else
85969   if test x$gcc_no_link = xyes; then
85970   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85972    { (exit 1); exit 1; }; }
85973 fi
85974 cat >conftest.$ac_ext <<_ACEOF
85975 /* confdefs.h.  */
85976 _ACEOF
85977 cat confdefs.h >>conftest.$ac_ext
85978 cat >>conftest.$ac_ext <<_ACEOF
85979 /* end confdefs.h.  */
85980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85981    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85982 #define $ac_func innocuous_$ac_func
85983
85984 /* System header to define __stub macros and hopefully few prototypes,
85985     which can conflict with char $ac_func (); below.
85986     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85987     <limits.h> exists even on freestanding compilers.  */
85988
85989 #ifdef __STDC__
85990 # include <limits.h>
85991 #else
85992 # include <assert.h>
85993 #endif
85994
85995 #undef $ac_func
85996
85997 /* Override any gcc2 internal prototype to avoid an error.  */
85998 #ifdef __cplusplus
85999 extern "C"
86000 {
86001 #endif
86002 /* We use char because int might match the return type of a gcc2
86003    builtin and then its argument prototype would still apply.  */
86004 char $ac_func ();
86005 /* The GNU C library defines this for functions which it implements
86006     to always fail with ENOSYS.  Some functions are actually named
86007     something starting with __ and the normal name is an alias.  */
86008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86009 choke me
86010 #else
86011 char (*f) () = $ac_func;
86012 #endif
86013 #ifdef __cplusplus
86014 }
86015 #endif
86016
86017 int
86018 main ()
86019 {
86020 return f != $ac_func;
86021   ;
86022   return 0;
86023 }
86024 _ACEOF
86025 rm -f conftest.$ac_objext conftest$ac_exeext
86026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86027   (eval $ac_link) 2>conftest.er1
86028   ac_status=$?
86029   grep -v '^ *+' conftest.er1 >conftest.err
86030   rm -f conftest.er1
86031   cat conftest.err >&5
86032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86033   (exit $ac_status); } &&
86034          { ac_try='test -z "$ac_c_werror_flag"
86035                          || test ! -s conftest.err'
86036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86037   (eval $ac_try) 2>&5
86038   ac_status=$?
86039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86040   (exit $ac_status); }; } &&
86041          { ac_try='test -s conftest$ac_exeext'
86042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86043   (eval $ac_try) 2>&5
86044   ac_status=$?
86045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86046   (exit $ac_status); }; }; then
86047   eval "$as_ac_var=yes"
86048 else
86049   echo "$as_me: failed program was:" >&5
86050 sed 's/^/| /' conftest.$ac_ext >&5
86051
86052 eval "$as_ac_var=no"
86053 fi
86054 rm -f conftest.err conftest.$ac_objext \
86055       conftest$ac_exeext conftest.$ac_ext
86056 fi
86057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86059 if test `eval echo '${'$as_ac_var'}'` = yes; then
86060   cat >>confdefs.h <<_ACEOF
86061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86062 _ACEOF
86063
86064 else
86065   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
86066 fi
86067 done
86068
86069
86070           if test x$ac_cv_func_copysignl = x"yes"; then
86071
86072 for ac_func in __signbitl
86073 do
86074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86075 echo "$as_me:$LINENO: checking for $ac_func" >&5
86076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86077 if eval "test \"\${$as_ac_var+set}\" = set"; then
86078   echo $ECHO_N "(cached) $ECHO_C" >&6
86079 else
86080   if test x$gcc_no_link = xyes; then
86081   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86083    { (exit 1); exit 1; }; }
86084 fi
86085 cat >conftest.$ac_ext <<_ACEOF
86086 /* confdefs.h.  */
86087 _ACEOF
86088 cat confdefs.h >>conftest.$ac_ext
86089 cat >>conftest.$ac_ext <<_ACEOF
86090 /* end confdefs.h.  */
86091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86092    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86093 #define $ac_func innocuous_$ac_func
86094
86095 /* System header to define __stub macros and hopefully few prototypes,
86096     which can conflict with char $ac_func (); below.
86097     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86098     <limits.h> exists even on freestanding compilers.  */
86099
86100 #ifdef __STDC__
86101 # include <limits.h>
86102 #else
86103 # include <assert.h>
86104 #endif
86105
86106 #undef $ac_func
86107
86108 /* Override any gcc2 internal prototype to avoid an error.  */
86109 #ifdef __cplusplus
86110 extern "C"
86111 {
86112 #endif
86113 /* We use char because int might match the return type of a gcc2
86114    builtin and then its argument prototype would still apply.  */
86115 char $ac_func ();
86116 /* The GNU C library defines this for functions which it implements
86117     to always fail with ENOSYS.  Some functions are actually named
86118     something starting with __ and the normal name is an alias.  */
86119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86120 choke me
86121 #else
86122 char (*f) () = $ac_func;
86123 #endif
86124 #ifdef __cplusplus
86125 }
86126 #endif
86127
86128 int
86129 main ()
86130 {
86131 return f != $ac_func;
86132   ;
86133   return 0;
86134 }
86135 _ACEOF
86136 rm -f conftest.$ac_objext conftest$ac_exeext
86137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86138   (eval $ac_link) 2>conftest.er1
86139   ac_status=$?
86140   grep -v '^ *+' conftest.er1 >conftest.err
86141   rm -f conftest.er1
86142   cat conftest.err >&5
86143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86144   (exit $ac_status); } &&
86145          { ac_try='test -z "$ac_c_werror_flag"
86146                          || test ! -s conftest.err'
86147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86148   (eval $ac_try) 2>&5
86149   ac_status=$?
86150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86151   (exit $ac_status); }; } &&
86152          { ac_try='test -s conftest$ac_exeext'
86153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86154   (eval $ac_try) 2>&5
86155   ac_status=$?
86156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86157   (exit $ac_status); }; }; then
86158   eval "$as_ac_var=yes"
86159 else
86160   echo "$as_me: failed program was:" >&5
86161 sed 's/^/| /' conftest.$ac_ext >&5
86162
86163 eval "$as_ac_var=no"
86164 fi
86165 rm -f conftest.err conftest.$ac_objext \
86166       conftest$ac_exeext conftest.$ac_ext
86167 fi
86168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86170 if test `eval echo '${'$as_ac_var'}'` = yes; then
86171   cat >>confdefs.h <<_ACEOF
86172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86173 _ACEOF
86174
86175 else
86176   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
86177 fi
86178 done
86179
86180   fi
86181
86182   # Used in libmath/Makefile.am.
86183   if test -n "$LIBMATHOBJS"; then
86184     need_libmath=yes
86185   fi
86186
86187
86188
86189
86190   enable_iconv=no
86191   # Only continue checking if the ISO C99 headers exist and support is on.
86192   if test x"$enable_wchar_t" = xyes; then
86193
86194     # Use iconv for wchar_t to char conversions. As such, check for
86195     # X/Open Portability Guide, version 2 features (XPG2).
86196     if test "${ac_cv_header_iconv_h+set}" = set; then
86197   echo "$as_me:$LINENO: checking for iconv.h" >&5
86198 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86199 if test "${ac_cv_header_iconv_h+set}" = set; then
86200   echo $ECHO_N "(cached) $ECHO_C" >&6
86201 fi
86202 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86203 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86204 else
86205   # Is the header compilable?
86206 echo "$as_me:$LINENO: checking iconv.h usability" >&5
86207 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
86208 cat >conftest.$ac_ext <<_ACEOF
86209 /* confdefs.h.  */
86210 _ACEOF
86211 cat confdefs.h >>conftest.$ac_ext
86212 cat >>conftest.$ac_ext <<_ACEOF
86213 /* end confdefs.h.  */
86214 $ac_includes_default
86215 #include <iconv.h>
86216 _ACEOF
86217 rm -f conftest.$ac_objext
86218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86219   (eval $ac_compile) 2>conftest.er1
86220   ac_status=$?
86221   grep -v '^ *+' conftest.er1 >conftest.err
86222   rm -f conftest.er1
86223   cat conftest.err >&5
86224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86225   (exit $ac_status); } &&
86226          { ac_try='test -z "$ac_c_werror_flag"
86227                          || test ! -s conftest.err'
86228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86229   (eval $ac_try) 2>&5
86230   ac_status=$?
86231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86232   (exit $ac_status); }; } &&
86233          { ac_try='test -s conftest.$ac_objext'
86234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86235   (eval $ac_try) 2>&5
86236   ac_status=$?
86237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86238   (exit $ac_status); }; }; then
86239   ac_header_compiler=yes
86240 else
86241   echo "$as_me: failed program was:" >&5
86242 sed 's/^/| /' conftest.$ac_ext >&5
86243
86244 ac_header_compiler=no
86245 fi
86246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86247 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86248 echo "${ECHO_T}$ac_header_compiler" >&6
86249
86250 # Is the header present?
86251 echo "$as_me:$LINENO: checking iconv.h presence" >&5
86252 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
86253 cat >conftest.$ac_ext <<_ACEOF
86254 /* confdefs.h.  */
86255 _ACEOF
86256 cat confdefs.h >>conftest.$ac_ext
86257 cat >>conftest.$ac_ext <<_ACEOF
86258 /* end confdefs.h.  */
86259 #include <iconv.h>
86260 _ACEOF
86261 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86262   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86263   ac_status=$?
86264   grep -v '^ *+' conftest.er1 >conftest.err
86265   rm -f conftest.er1
86266   cat conftest.err >&5
86267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86268   (exit $ac_status); } >/dev/null; then
86269   if test -s conftest.err; then
86270     ac_cpp_err=$ac_c_preproc_warn_flag
86271     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86272   else
86273     ac_cpp_err=
86274   fi
86275 else
86276   ac_cpp_err=yes
86277 fi
86278 if test -z "$ac_cpp_err"; then
86279   ac_header_preproc=yes
86280 else
86281   echo "$as_me: failed program was:" >&5
86282 sed 's/^/| /' conftest.$ac_ext >&5
86283
86284   ac_header_preproc=no
86285 fi
86286 rm -f conftest.err conftest.$ac_ext
86287 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86288 echo "${ECHO_T}$ac_header_preproc" >&6
86289
86290 # So?  What about this header?
86291 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86292   yes:no: )
86293     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
86294 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86295     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
86296 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
86297     ac_header_preproc=yes
86298     ;;
86299   no:yes:* )
86300     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
86301 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
86302     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
86303 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
86304     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
86305 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
86306     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
86307 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
86308     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
86309 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
86310     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
86311 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
86312     (
86313       cat <<\_ASBOX
86314 ## ----------------------------------------- ##
86315 ## Report this to the package-unused lists.  ##
86316 ## ----------------------------------------- ##
86317 _ASBOX
86318     ) |
86319       sed "s/^/$as_me: WARNING:     /" >&2
86320     ;;
86321 esac
86322 echo "$as_me:$LINENO: checking for iconv.h" >&5
86323 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86324 if test "${ac_cv_header_iconv_h+set}" = set; then
86325   echo $ECHO_N "(cached) $ECHO_C" >&6
86326 else
86327   ac_cv_header_iconv_h=$ac_header_preproc
86328 fi
86329 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86330 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86331
86332 fi
86333 if test $ac_cv_header_iconv_h = yes; then
86334   ac_has_iconv_h=yes
86335 else
86336   ac_has_iconv_h=no
86337 fi
86338
86339
86340     if test "${ac_cv_header_langinfo_h+set}" = set; then
86341   echo "$as_me:$LINENO: checking for langinfo.h" >&5
86342 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86343 if test "${ac_cv_header_langinfo_h+set}" = set; then
86344   echo $ECHO_N "(cached) $ECHO_C" >&6
86345 fi
86346 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86347 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86348 else
86349   # Is the header compilable?
86350 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
86351 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
86352 cat >conftest.$ac_ext <<_ACEOF
86353 /* confdefs.h.  */
86354 _ACEOF
86355 cat confdefs.h >>conftest.$ac_ext
86356 cat >>conftest.$ac_ext <<_ACEOF
86357 /* end confdefs.h.  */
86358 $ac_includes_default
86359 #include <langinfo.h>
86360 _ACEOF
86361 rm -f conftest.$ac_objext
86362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86363   (eval $ac_compile) 2>conftest.er1
86364   ac_status=$?
86365   grep -v '^ *+' conftest.er1 >conftest.err
86366   rm -f conftest.er1
86367   cat conftest.err >&5
86368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86369   (exit $ac_status); } &&
86370          { ac_try='test -z "$ac_c_werror_flag"
86371                          || test ! -s conftest.err'
86372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86373   (eval $ac_try) 2>&5
86374   ac_status=$?
86375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86376   (exit $ac_status); }; } &&
86377          { ac_try='test -s conftest.$ac_objext'
86378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86379   (eval $ac_try) 2>&5
86380   ac_status=$?
86381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86382   (exit $ac_status); }; }; then
86383   ac_header_compiler=yes
86384 else
86385   echo "$as_me: failed program was:" >&5
86386 sed 's/^/| /' conftest.$ac_ext >&5
86387
86388 ac_header_compiler=no
86389 fi
86390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86391 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86392 echo "${ECHO_T}$ac_header_compiler" >&6
86393
86394 # Is the header present?
86395 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
86396 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
86397 cat >conftest.$ac_ext <<_ACEOF
86398 /* confdefs.h.  */
86399 _ACEOF
86400 cat confdefs.h >>conftest.$ac_ext
86401 cat >>conftest.$ac_ext <<_ACEOF
86402 /* end confdefs.h.  */
86403 #include <langinfo.h>
86404 _ACEOF
86405 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86406   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86407   ac_status=$?
86408   grep -v '^ *+' conftest.er1 >conftest.err
86409   rm -f conftest.er1
86410   cat conftest.err >&5
86411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86412   (exit $ac_status); } >/dev/null; then
86413   if test -s conftest.err; then
86414     ac_cpp_err=$ac_c_preproc_warn_flag
86415     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86416   else
86417     ac_cpp_err=
86418   fi
86419 else
86420   ac_cpp_err=yes
86421 fi
86422 if test -z "$ac_cpp_err"; then
86423   ac_header_preproc=yes
86424 else
86425   echo "$as_me: failed program was:" >&5
86426 sed 's/^/| /' conftest.$ac_ext >&5
86427
86428   ac_header_preproc=no
86429 fi
86430 rm -f conftest.err conftest.$ac_ext
86431 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86432 echo "${ECHO_T}$ac_header_preproc" >&6
86433
86434 # So?  What about this header?
86435 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86436   yes:no: )
86437     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
86438 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86439     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
86440 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
86441     ac_header_preproc=yes
86442     ;;
86443   no:yes:* )
86444     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
86445 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
86446     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
86447 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
86448     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
86449 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
86450     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
86451 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
86452     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
86453 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
86454     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
86455 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
86456     (
86457       cat <<\_ASBOX
86458 ## ----------------------------------------- ##
86459 ## Report this to the package-unused lists.  ##
86460 ## ----------------------------------------- ##
86461 _ASBOX
86462     ) |
86463       sed "s/^/$as_me: WARNING:     /" >&2
86464     ;;
86465 esac
86466 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86467 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86468 if test "${ac_cv_header_langinfo_h+set}" = set; then
86469   echo $ECHO_N "(cached) $ECHO_C" >&6
86470 else
86471   ac_cv_header_langinfo_h=$ac_header_preproc
86472 fi
86473 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86474 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86475
86476 fi
86477 if test $ac_cv_header_langinfo_h = yes; then
86478   ac_has_langinfo_h=yes
86479 else
86480   ac_has_langinfo_h=no
86481 fi
86482
86483
86484
86485     # Check for existence of libiconv.a providing XPG2 wchar_t support.
86486     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
86487 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
86488 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
86489   echo $ECHO_N "(cached) $ECHO_C" >&6
86490 else
86491   ac_check_lib_save_LIBS=$LIBS
86492 LIBS="-liconv  $LIBS"
86493 if test x$gcc_no_link = xyes; then
86494   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86496    { (exit 1); exit 1; }; }
86497 fi
86498 cat >conftest.$ac_ext <<_ACEOF
86499 /* confdefs.h.  */
86500 _ACEOF
86501 cat confdefs.h >>conftest.$ac_ext
86502 cat >>conftest.$ac_ext <<_ACEOF
86503 /* end confdefs.h.  */
86504
86505 /* Override any gcc2 internal prototype to avoid an error.  */
86506 #ifdef __cplusplus
86507 extern "C"
86508 #endif
86509 /* We use char because int might match the return type of a gcc2
86510    builtin and then its argument prototype would still apply.  */
86511 char iconv ();
86512 int
86513 main ()
86514 {
86515 iconv ();
86516   ;
86517   return 0;
86518 }
86519 _ACEOF
86520 rm -f conftest.$ac_objext conftest$ac_exeext
86521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86522   (eval $ac_link) 2>conftest.er1
86523   ac_status=$?
86524   grep -v '^ *+' conftest.er1 >conftest.err
86525   rm -f conftest.er1
86526   cat conftest.err >&5
86527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86528   (exit $ac_status); } &&
86529          { ac_try='test -z "$ac_c_werror_flag"
86530                          || test ! -s conftest.err'
86531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86532   (eval $ac_try) 2>&5
86533   ac_status=$?
86534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86535   (exit $ac_status); }; } &&
86536          { ac_try='test -s conftest$ac_exeext'
86537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86538   (eval $ac_try) 2>&5
86539   ac_status=$?
86540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86541   (exit $ac_status); }; }; then
86542   ac_cv_lib_iconv_iconv=yes
86543 else
86544   echo "$as_me: failed program was:" >&5
86545 sed 's/^/| /' conftest.$ac_ext >&5
86546
86547 ac_cv_lib_iconv_iconv=no
86548 fi
86549 rm -f conftest.err conftest.$ac_objext \
86550       conftest$ac_exeext conftest.$ac_ext
86551 LIBS=$ac_check_lib_save_LIBS
86552 fi
86553 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
86554 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
86555 if test $ac_cv_lib_iconv_iconv = yes; then
86556   LIBICONV="-liconv"
86557 fi
86558
86559     ac_save_LIBS="$LIBS"
86560     LIBS="$LIBS $LIBICONV"
86561
86562
86563
86564
86565
86566
86567 for ac_func in iconv_open iconv_close iconv nl_langinfo
86568 do
86569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86570 echo "$as_me:$LINENO: checking for $ac_func" >&5
86571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86572 if eval "test \"\${$as_ac_var+set}\" = set"; then
86573   echo $ECHO_N "(cached) $ECHO_C" >&6
86574 else
86575   if test x$gcc_no_link = xyes; then
86576   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86578    { (exit 1); exit 1; }; }
86579 fi
86580 cat >conftest.$ac_ext <<_ACEOF
86581 /* confdefs.h.  */
86582 _ACEOF
86583 cat confdefs.h >>conftest.$ac_ext
86584 cat >>conftest.$ac_ext <<_ACEOF
86585 /* end confdefs.h.  */
86586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86587    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86588 #define $ac_func innocuous_$ac_func
86589
86590 /* System header to define __stub macros and hopefully few prototypes,
86591     which can conflict with char $ac_func (); below.
86592     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86593     <limits.h> exists even on freestanding compilers.  */
86594
86595 #ifdef __STDC__
86596 # include <limits.h>
86597 #else
86598 # include <assert.h>
86599 #endif
86600
86601 #undef $ac_func
86602
86603 /* Override any gcc2 internal prototype to avoid an error.  */
86604 #ifdef __cplusplus
86605 extern "C"
86606 {
86607 #endif
86608 /* We use char because int might match the return type of a gcc2
86609    builtin and then its argument prototype would still apply.  */
86610 char $ac_func ();
86611 /* The GNU C library defines this for functions which it implements
86612     to always fail with ENOSYS.  Some functions are actually named
86613     something starting with __ and the normal name is an alias.  */
86614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86615 choke me
86616 #else
86617 char (*f) () = $ac_func;
86618 #endif
86619 #ifdef __cplusplus
86620 }
86621 #endif
86622
86623 int
86624 main ()
86625 {
86626 return f != $ac_func;
86627   ;
86628   return 0;
86629 }
86630 _ACEOF
86631 rm -f conftest.$ac_objext conftest$ac_exeext
86632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86633   (eval $ac_link) 2>conftest.er1
86634   ac_status=$?
86635   grep -v '^ *+' conftest.er1 >conftest.err
86636   rm -f conftest.er1
86637   cat conftest.err >&5
86638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86639   (exit $ac_status); } &&
86640          { ac_try='test -z "$ac_c_werror_flag"
86641                          || test ! -s conftest.err'
86642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86643   (eval $ac_try) 2>&5
86644   ac_status=$?
86645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86646   (exit $ac_status); }; } &&
86647          { ac_try='test -s conftest$ac_exeext'
86648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86649   (eval $ac_try) 2>&5
86650   ac_status=$?
86651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86652   (exit $ac_status); }; }; then
86653   eval "$as_ac_var=yes"
86654 else
86655   echo "$as_me: failed program was:" >&5
86656 sed 's/^/| /' conftest.$ac_ext >&5
86657
86658 eval "$as_ac_var=no"
86659 fi
86660 rm -f conftest.err conftest.$ac_objext \
86661       conftest$ac_exeext conftest.$ac_ext
86662 fi
86663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86665 if test `eval echo '${'$as_ac_var'}'` = yes; then
86666   cat >>confdefs.h <<_ACEOF
86667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86668 _ACEOF
86669  ac_XPG2funcs=yes
86670 else
86671   ac_XPG2funcs=no
86672 fi
86673 done
86674
86675
86676     LIBS="$ac_save_LIBS"
86677
86678     if test x"$ac_has_iconv_h" = xyes &&
86679        test x"$ac_has_langinfo_h" = xyes &&
86680        test x"$ac_XPG2funcs" = xyes;
86681     then
86682
86683 cat >>confdefs.h <<\_ACEOF
86684 #define _GLIBCXX_USE_ICONV 1
86685 _ACEOF
86686
86687       enable_iconv=yes
86688     fi
86689   fi
86690   echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
86691 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
86692   echo "$as_me:$LINENO: result: $enable_iconv" >&5
86693 echo "${ECHO_T}$enable_iconv" >&6
86694
86695     cat >>confdefs.h <<\_ACEOF
86696 #define HAVE_COPYSIGN 1
86697 _ACEOF
86698
86699     cat >>confdefs.h <<\_ACEOF
86700 #define HAVE_COPYSIGNF 1
86701 _ACEOF
86702
86703     cat >>confdefs.h <<\_ACEOF
86704 #define HAVE_FINITE 1
86705 _ACEOF
86706
86707     cat >>confdefs.h <<\_ACEOF
86708 #define HAVE_FINITEF 1
86709 _ACEOF
86710
86711     cat >>confdefs.h <<\_ACEOF
86712 #define HAVE_FREXPF 1
86713 _ACEOF
86714
86715     cat >>confdefs.h <<\_ACEOF
86716 #define HAVE_HYPOTF 1
86717 _ACEOF
86718
86719     cat >>confdefs.h <<\_ACEOF
86720 #define HAVE_ISINF 1
86721 _ACEOF
86722
86723     cat >>confdefs.h <<\_ACEOF
86724 #define HAVE_ISINFF 1
86725 _ACEOF
86726
86727     cat >>confdefs.h <<\_ACEOF
86728 #define HAVE_ISNAN 1
86729 _ACEOF
86730
86731     cat >>confdefs.h <<\_ACEOF
86732 #define HAVE_ISNANF 1
86733 _ACEOF
86734
86735     cat >>confdefs.h <<\_ACEOF
86736 #define HAVE_SINCOS 1
86737 _ACEOF
86738
86739     cat >>confdefs.h <<\_ACEOF
86740 #define HAVE_SINCOSF 1
86741 _ACEOF
86742
86743     if test x"long_double_math_on_this_cpu" = x"yes"; then
86744       cat >>confdefs.h <<\_ACEOF
86745 #define HAVE_FINITEL 1
86746 _ACEOF
86747
86748       cat >>confdefs.h <<\_ACEOF
86749 #define HAVE_HYPOTL 1
86750 _ACEOF
86751
86752       cat >>confdefs.h <<\_ACEOF
86753 #define HAVE_ISINFL 1
86754 _ACEOF
86755
86756       cat >>confdefs.h <<\_ACEOF
86757 #define HAVE_ISNANL 1
86758 _ACEOF
86759
86760     fi
86761     ;;
86762   *-vxworks)
86763     cat >>confdefs.h <<\_ACEOF
86764 #define HAVE_MMAP 1
86765 _ACEOF
86766
86767     cat >>confdefs.h <<\_ACEOF
86768 #define HAVE_ACOSF 1
86769 _ACEOF
86770
86771     cat >>confdefs.h <<\_ACEOF
86772 #define HAVE_ASINF 1
86773 _ACEOF
86774
86775     cat >>confdefs.h <<\_ACEOF
86776 #define HAVE_ATAN2F 1
86777 _ACEOF
86778
86779     cat >>confdefs.h <<\_ACEOF
86780 #define HAVE_ATANF 1
86781 _ACEOF
86782
86783     cat >>confdefs.h <<\_ACEOF
86784 #define HAVE_CEILF 1
86785 _ACEOF
86786
86787     cat >>confdefs.h <<\_ACEOF
86788 #define HAVE_COSF 1
86789 _ACEOF
86790
86791     cat >>confdefs.h <<\_ACEOF
86792 #define HAVE_COSHF 1
86793 _ACEOF
86794
86795     cat >>confdefs.h <<\_ACEOF
86796 #define HAVE_EXPF 1
86797 _ACEOF
86798
86799     cat >>confdefs.h <<\_ACEOF
86800 #define HAVE_FABSF 1
86801 _ACEOF
86802
86803     cat >>confdefs.h <<\_ACEOF
86804 #define HAVE_FLOORF 1
86805 _ACEOF
86806
86807     cat >>confdefs.h <<\_ACEOF
86808 #define HAVE_FMODF 1
86809 _ACEOF
86810
86811     cat >>confdefs.h <<\_ACEOF
86812 #define HAVE_HYPOT 1
86813 _ACEOF
86814
86815     cat >>confdefs.h <<\_ACEOF
86816 #define HAVE_LOG10F 1
86817 _ACEOF
86818
86819     cat >>confdefs.h <<\_ACEOF
86820 #define HAVE_LOGF 1
86821 _ACEOF
86822
86823     cat >>confdefs.h <<\_ACEOF
86824 #define HAVE_POWF 1
86825 _ACEOF
86826
86827     cat >>confdefs.h <<\_ACEOF
86828 #define HAVE_SINF 1
86829 _ACEOF
86830
86831     cat >>confdefs.h <<\_ACEOF
86832 #define HAVE_SINHF 1
86833 _ACEOF
86834
86835     cat >>confdefs.h <<\_ACEOF
86836 #define HAVE_SQRTF 1
86837 _ACEOF
86838
86839     cat >>confdefs.h <<\_ACEOF
86840 #define HAVE_TANF 1
86841 _ACEOF
86842
86843     cat >>confdefs.h <<\_ACEOF
86844 #define HAVE_TANHF 1
86845 _ACEOF
86846
86847     ;;
86848   *-windiss*)
86849     cat >>confdefs.h <<\_ACEOF
86850 #define HAVE_ACOSF 1
86851 _ACEOF
86852
86853     cat >>confdefs.h <<\_ACEOF
86854 #define HAVE_ACOSL 1
86855 _ACEOF
86856
86857     cat >>confdefs.h <<\_ACEOF
86858 #define HAVE_ASINF 1
86859 _ACEOF
86860
86861     cat >>confdefs.h <<\_ACEOF
86862 #define HAVE_ASINL 1
86863 _ACEOF
86864
86865     cat >>confdefs.h <<\_ACEOF
86866 #define HAVE_ATAN2F 1
86867 _ACEOF
86868
86869     cat >>confdefs.h <<\_ACEOF
86870 #define HAVE_ATAN2L 1
86871 _ACEOF
86872
86873     cat >>confdefs.h <<\_ACEOF
86874 #define HAVE_ATANF 1
86875 _ACEOF
86876
86877     cat >>confdefs.h <<\_ACEOF
86878 #define HAVE_ATANL 1
86879 _ACEOF
86880
86881     cat >>confdefs.h <<\_ACEOF
86882 #define HAVE_CEILF 1
86883 _ACEOF
86884
86885     cat >>confdefs.h <<\_ACEOF
86886 #define HAVE_CEILL 1
86887 _ACEOF
86888
86889     cat >>confdefs.h <<\_ACEOF
86890 #define HAVE_COPYSIGN 1
86891 _ACEOF
86892
86893     cat >>confdefs.h <<\_ACEOF
86894 #define HAVE_COPYSIGNF 1
86895 _ACEOF
86896
86897     cat >>confdefs.h <<\_ACEOF
86898 #define HAVE_COSF 1
86899 _ACEOF
86900
86901     cat >>confdefs.h <<\_ACEOF
86902 #define HAVE_COSL 1
86903 _ACEOF
86904
86905     cat >>confdefs.h <<\_ACEOF
86906 #define HAVE_COSHF 1
86907 _ACEOF
86908
86909     cat >>confdefs.h <<\_ACEOF
86910 #define HAVE_COSHL 1
86911 _ACEOF
86912
86913     cat >>confdefs.h <<\_ACEOF
86914 #define HAVE_EXPF 1
86915 _ACEOF
86916
86917     cat >>confdefs.h <<\_ACEOF
86918 #define HAVE_EXPL 1
86919 _ACEOF
86920
86921     cat >>confdefs.h <<\_ACEOF
86922 #define HAVE_FABSF 1
86923 _ACEOF
86924
86925     cat >>confdefs.h <<\_ACEOF
86926 #define HAVE_FABSL 1
86927 _ACEOF
86928
86929     cat >>confdefs.h <<\_ACEOF
86930 #define HAVE_FLOORF 1
86931 _ACEOF
86932
86933     cat >>confdefs.h <<\_ACEOF
86934 #define HAVE_FLOORL 1
86935 _ACEOF
86936
86937     cat >>confdefs.h <<\_ACEOF
86938 #define HAVE_FMODF 1
86939 _ACEOF
86940
86941     cat >>confdefs.h <<\_ACEOF
86942 #define HAVE_FMODL 1
86943 _ACEOF
86944
86945     cat >>confdefs.h <<\_ACEOF
86946 #define HAVE_FREXPF 1
86947 _ACEOF
86948
86949     cat >>confdefs.h <<\_ACEOF
86950 #define HAVE_FREXPL 1
86951 _ACEOF
86952
86953     cat >>confdefs.h <<\_ACEOF
86954 #define HAVE_LDEXPF 1
86955 _ACEOF
86956
86957     cat >>confdefs.h <<\_ACEOF
86958 #define HAVE_LDEXPL 1
86959 _ACEOF
86960
86961     cat >>confdefs.h <<\_ACEOF
86962 #define HAVE_LOG10F 1
86963 _ACEOF
86964
86965     cat >>confdefs.h <<\_ACEOF
86966 #define HAVE_LOG10L 1
86967 _ACEOF
86968
86969     cat >>confdefs.h <<\_ACEOF
86970 #define HAVE_LOGF 1
86971 _ACEOF
86972
86973     cat >>confdefs.h <<\_ACEOF
86974 #define HAVE_MODFF 1
86975 _ACEOF
86976
86977     cat >>confdefs.h <<\_ACEOF
86978 #define HAVE_MODFL 1
86979 _ACEOF
86980
86981     cat >>confdefs.h <<\_ACEOF
86982 #define HAVE_POWF 1
86983 _ACEOF
86984
86985     cat >>confdefs.h <<\_ACEOF
86986 #define HAVE_POWL 1
86987 _ACEOF
86988
86989     cat >>confdefs.h <<\_ACEOF
86990 #define HAVE_SINF 1
86991 _ACEOF
86992
86993     cat >>confdefs.h <<\_ACEOF
86994 #define HAVE_SINL 1
86995 _ACEOF
86996
86997     cat >>confdefs.h <<\_ACEOF
86998 #define HAVE_SINHF 1
86999 _ACEOF
87000
87001     cat >>confdefs.h <<\_ACEOF
87002 #define HAVE_SINHL 1
87003 _ACEOF
87004
87005     cat >>confdefs.h <<\_ACEOF
87006 #define HAVE_SQRTF 1
87007 _ACEOF
87008
87009     cat >>confdefs.h <<\_ACEOF
87010 #define HAVE_SQRTL 1
87011 _ACEOF
87012
87013     cat >>confdefs.h <<\_ACEOF
87014 #define HAVE_TANF 1
87015 _ACEOF
87016
87017     cat >>confdefs.h <<\_ACEOF
87018 #define HAVE_TANL 1
87019 _ACEOF
87020
87021     cat >>confdefs.h <<\_ACEOF
87022 #define HAVE_TANHF 1
87023 _ACEOF
87024
87025     cat >>confdefs.h <<\_ACEOF
87026 #define HAVE_TANHL 1
87027 _ACEOF
87028
87029     ;;
87030   *)
87031     { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
87032 echo "$as_me: error: No support for this host/target combination." >&2;}
87033    { (exit 1); exit 1; }; }
87034    ;;
87035 esac
87036
87037   fi
87038
87039   # At some point, we should differentiate between architectures
87040   # like x86, which have long double versions, and alpha/powerpc/etc.,
87041   # which don't. For the time being, punt.
87042   if test x"long_double_math_on_this_cpu" = x"yes"; then
87043     cat >>confdefs.h <<\_ACEOF
87044 #define HAVE_ACOSL 1
87045 _ACEOF
87046
87047     cat >>confdefs.h <<\_ACEOF
87048 #define HAVE_ASINL 1
87049 _ACEOF
87050
87051     cat >>confdefs.h <<\_ACEOF
87052 #define HAVE_ATAN2L 1
87053 _ACEOF
87054
87055     cat >>confdefs.h <<\_ACEOF
87056 #define HAVE_ATANL 1
87057 _ACEOF
87058
87059     cat >>confdefs.h <<\_ACEOF
87060 #define HAVE_CEILL 1
87061 _ACEOF
87062
87063     cat >>confdefs.h <<\_ACEOF
87064 #define HAVE_COPYSIGNL 1
87065 _ACEOF
87066
87067     cat >>confdefs.h <<\_ACEOF
87068 #define HAVE_COSL 1
87069 _ACEOF
87070
87071     cat >>confdefs.h <<\_ACEOF
87072 #define HAVE_COSHL 1
87073 _ACEOF
87074
87075     cat >>confdefs.h <<\_ACEOF
87076 #define HAVE_EXPL 1
87077 _ACEOF
87078
87079     cat >>confdefs.h <<\_ACEOF
87080 #define HAVE_FABSL 1
87081 _ACEOF
87082
87083     cat >>confdefs.h <<\_ACEOF
87084 #define HAVE_FLOORL 1
87085 _ACEOF
87086
87087     cat >>confdefs.h <<\_ACEOF
87088 #define HAVE_FMODL 1
87089 _ACEOF
87090
87091     cat >>confdefs.h <<\_ACEOF
87092 #define HAVE_FREXPL 1
87093 _ACEOF
87094
87095     cat >>confdefs.h <<\_ACEOF
87096 #define HAVE_LDEXPL 1
87097 _ACEOF
87098
87099     cat >>confdefs.h <<\_ACEOF
87100 #define HAVE_LOG10L 1
87101 _ACEOF
87102
87103     cat >>confdefs.h <<\_ACEOF
87104 #define HAVE_LOGL 1
87105 _ACEOF
87106
87107     cat >>confdefs.h <<\_ACEOF
87108 #define HAVE_MODFL 1
87109 _ACEOF
87110
87111     cat >>confdefs.h <<\_ACEOF
87112 #define HAVE_POWL 1
87113 _ACEOF
87114
87115     cat >>confdefs.h <<\_ACEOF
87116 #define HAVE_SINCOSL 1
87117 _ACEOF
87118
87119     cat >>confdefs.h <<\_ACEOF
87120 #define HAVE_SINL 1
87121 _ACEOF
87122
87123     cat >>confdefs.h <<\_ACEOF
87124 #define HAVE_SINHL 1
87125 _ACEOF
87126
87127     cat >>confdefs.h <<\_ACEOF
87128 #define HAVE_SQRTL 1
87129 _ACEOF
87130
87131     cat >>confdefs.h <<\_ACEOF
87132 #define HAVE_TANL 1
87133 _ACEOF
87134
87135     cat >>confdefs.h <<\_ACEOF
87136 #define HAVE_TANHL 1
87137 _ACEOF
87138
87139   fi
87140
87141 fi
87142
87143 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
87144
87145
87146  # Check whether --enable-symvers or --disable-symvers was given.
87147 if test "${enable_symvers+set}" = set; then
87148   enableval="$enable_symvers"
87149
87150       case "$enableval" in
87151        yes|no|gnu) ;;
87152        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
87153 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
87154    { (exit 1); exit 1; }; } ;;
87155                           esac
87156
87157 else
87158   enable_symvers=yes
87159 fi;
87160
87161
87162 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
87163 # don't know enough about $LD to do tricks...
87164
87165 # FIXME  The following test is too strict, in theory.
87166 if test $enable_shared = no ||
87167         test "x$LD" = x ||
87168         test x$glibcxx_gnu_ld_version = x; then
87169   enable_symvers=no
87170 fi
87171
87172 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
87173 if test $enable_symvers != no; then
87174   echo "$as_me:$LINENO: checking for shared libgcc" >&5
87175 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
87176   ac_save_CFLAGS="$CFLAGS"
87177   CFLAGS=' -lgcc_s'
87178   if test x$gcc_no_link = xyes; then
87179   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87181    { (exit 1); exit 1; }; }
87182 fi
87183 cat >conftest.$ac_ext <<_ACEOF
87184 /* confdefs.h.  */
87185 _ACEOF
87186 cat confdefs.h >>conftest.$ac_ext
87187 cat >>conftest.$ac_ext <<_ACEOF
87188 /* end confdefs.h.  */
87189
87190 int
87191 main ()
87192 {
87193 return 0;
87194   ;
87195   return 0;
87196 }
87197 _ACEOF
87198 rm -f conftest.$ac_objext conftest$ac_exeext
87199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87200   (eval $ac_link) 2>conftest.er1
87201   ac_status=$?
87202   grep -v '^ *+' conftest.er1 >conftest.err
87203   rm -f conftest.er1
87204   cat conftest.err >&5
87205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87206   (exit $ac_status); } &&
87207          { ac_try='test -z "$ac_c_werror_flag"
87208                          || test ! -s conftest.err'
87209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87210   (eval $ac_try) 2>&5
87211   ac_status=$?
87212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87213   (exit $ac_status); }; } &&
87214          { ac_try='test -s conftest$ac_exeext'
87215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87216   (eval $ac_try) 2>&5
87217   ac_status=$?
87218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87219   (exit $ac_status); }; }; then
87220   glibcxx_shared_libgcc=yes
87221 else
87222   echo "$as_me: failed program was:" >&5
87223 sed 's/^/| /' conftest.$ac_ext >&5
87224
87225 glibcxx_shared_libgcc=no
87226 fi
87227 rm -f conftest.err conftest.$ac_objext \
87228       conftest$ac_exeext conftest.$ac_ext
87229   CFLAGS="$ac_save_CFLAGS"
87230   if test $glibcxx_shared_libgcc = no; then
87231     cat > conftest.c <<EOF
87232 int main (void) { return 0; }
87233 EOF
87234     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
87235                              -shared -shared-libgcc -o conftest.so \
87236                              conftest.c -v 2>&1 >/dev/null \
87237                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
87238     rm -f conftest.c conftest.so
87239     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
87240       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
87241       if test x$gcc_no_link = xyes; then
87242   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87244    { (exit 1); exit 1; }; }
87245 fi
87246 cat >conftest.$ac_ext <<_ACEOF
87247 /* confdefs.h.  */
87248 _ACEOF
87249 cat confdefs.h >>conftest.$ac_ext
87250 cat >>conftest.$ac_ext <<_ACEOF
87251 /* end confdefs.h.  */
87252
87253 int
87254 main ()
87255 {
87256 return 0;
87257   ;
87258   return 0;
87259 }
87260 _ACEOF
87261 rm -f conftest.$ac_objext conftest$ac_exeext
87262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87263   (eval $ac_link) 2>conftest.er1
87264   ac_status=$?
87265   grep -v '^ *+' conftest.er1 >conftest.err
87266   rm -f conftest.er1
87267   cat conftest.err >&5
87268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87269   (exit $ac_status); } &&
87270          { ac_try='test -z "$ac_c_werror_flag"
87271                          || test ! -s conftest.err'
87272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87273   (eval $ac_try) 2>&5
87274   ac_status=$?
87275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87276   (exit $ac_status); }; } &&
87277          { ac_try='test -s conftest$ac_exeext'
87278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87279   (eval $ac_try) 2>&5
87280   ac_status=$?
87281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87282   (exit $ac_status); }; }; then
87283   glibcxx_shared_libgcc=yes
87284 else
87285   echo "$as_me: failed program was:" >&5
87286 sed 's/^/| /' conftest.$ac_ext >&5
87287
87288 fi
87289 rm -f conftest.err conftest.$ac_objext \
87290       conftest$ac_exeext conftest.$ac_ext
87291       CFLAGS="$ac_save_CFLAGS"
87292     fi
87293   fi
87294   echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
87295 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
87296 fi
87297
87298 # For GNU ld, we need at least this version.  The format is described in
87299 # GLIBCXX_CHECK_LINKER_FEATURES above.
87300 glibcxx_min_gnu_ld_version=21400
87301 # XXXXXXXXXXX glibcxx_gnu_ld_version=21390
87302
87303 # Check to see if unspecified "yes" value can win, given results above.
87304 # Change "yes" into either "no" or a style name.
87305 if test $enable_symvers = yes; then
87306   if test $with_gnu_ld = yes &&
87307      test $glibcxx_shared_libgcc = yes;
87308   then
87309     if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
87310       enable_symvers=gnu
87311     else
87312       # The right tools, the right setup, but too old.  Fallbacks?
87313       { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
87314 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
87315       { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
87316 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
87317       { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
87318 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
87319       { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
87320 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
87321       if test $glibcxx_gnu_ld_version -ge 21200 ; then
87322         # Globbing fix is present, proper block support is not.
87323                         { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87324 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87325         enable_symvers=no
87326       else
87327         # 2.11 or older.
87328         { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87329 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87330         enable_symvers=no
87331       fi
87332     fi
87333   else
87334     # just fail for now
87335     { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
87336 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
87337     { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
87338 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
87339     { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
87340 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
87341     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87342 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87343     enable_symvers=no
87344   fi
87345 fi
87346
87347 # Everything parsed; figure out what file to use.
87348 case $enable_symvers in
87349   no)
87350     SYMVER_MAP=config/linker-map.dummy
87351     ;;
87352   gnu)
87353     SYMVER_MAP=config/linker-map.gnu
87354
87355 cat >>confdefs.h <<\_ACEOF
87356 #define _GLIBCXX_SYMVER 1
87357 _ACEOF
87358
87359     ;;
87360 esac
87361
87362
87363
87364
87365
87366
87367
87368 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
87369 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
87370
87371
87372 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
87373
87374   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes; then
87375     # Do checks for resource limit functions.
87376
87377   setrlimit_have_headers=yes
87378
87379
87380
87381 for ac_header in unistd.h sys/time.h sys/resource.h
87382 do
87383 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87384 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87385   echo "$as_me:$LINENO: checking for $ac_header" >&5
87386 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87387 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87388   echo $ECHO_N "(cached) $ECHO_C" >&6
87389 fi
87390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87391 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87392 else
87393   # Is the header compilable?
87394 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87395 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87396 cat >conftest.$ac_ext <<_ACEOF
87397 /* confdefs.h.  */
87398 _ACEOF
87399 cat confdefs.h >>conftest.$ac_ext
87400 cat >>conftest.$ac_ext <<_ACEOF
87401 /* end confdefs.h.  */
87402 $ac_includes_default
87403 #include <$ac_header>
87404 _ACEOF
87405 rm -f conftest.$ac_objext
87406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87407   (eval $ac_compile) 2>conftest.er1
87408   ac_status=$?
87409   grep -v '^ *+' conftest.er1 >conftest.err
87410   rm -f conftest.er1
87411   cat conftest.err >&5
87412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87413   (exit $ac_status); } &&
87414          { ac_try='test -z "$ac_c_werror_flag"
87415                          || test ! -s conftest.err'
87416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87417   (eval $ac_try) 2>&5
87418   ac_status=$?
87419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87420   (exit $ac_status); }; } &&
87421          { ac_try='test -s conftest.$ac_objext'
87422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87423   (eval $ac_try) 2>&5
87424   ac_status=$?
87425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87426   (exit $ac_status); }; }; then
87427   ac_header_compiler=yes
87428 else
87429   echo "$as_me: failed program was:" >&5
87430 sed 's/^/| /' conftest.$ac_ext >&5
87431
87432 ac_header_compiler=no
87433 fi
87434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87435 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87436 echo "${ECHO_T}$ac_header_compiler" >&6
87437
87438 # Is the header present?
87439 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87440 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87441 cat >conftest.$ac_ext <<_ACEOF
87442 /* confdefs.h.  */
87443 _ACEOF
87444 cat confdefs.h >>conftest.$ac_ext
87445 cat >>conftest.$ac_ext <<_ACEOF
87446 /* end confdefs.h.  */
87447 #include <$ac_header>
87448 _ACEOF
87449 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87450   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87451   ac_status=$?
87452   grep -v '^ *+' conftest.er1 >conftest.err
87453   rm -f conftest.er1
87454   cat conftest.err >&5
87455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87456   (exit $ac_status); } >/dev/null; then
87457   if test -s conftest.err; then
87458     ac_cpp_err=$ac_c_preproc_warn_flag
87459     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87460   else
87461     ac_cpp_err=
87462   fi
87463 else
87464   ac_cpp_err=yes
87465 fi
87466 if test -z "$ac_cpp_err"; then
87467   ac_header_preproc=yes
87468 else
87469   echo "$as_me: failed program was:" >&5
87470 sed 's/^/| /' conftest.$ac_ext >&5
87471
87472   ac_header_preproc=no
87473 fi
87474 rm -f conftest.err conftest.$ac_ext
87475 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87476 echo "${ECHO_T}$ac_header_preproc" >&6
87477
87478 # So?  What about this header?
87479 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87480   yes:no: )
87481     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87482 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87483     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87484 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87485     ac_header_preproc=yes
87486     ;;
87487   no:yes:* )
87488     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87489 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87490     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
87491 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
87492     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87493 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87494     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
87495 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
87496     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87497 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87498     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87499 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87500     (
87501       cat <<\_ASBOX
87502 ## ----------------------------------------- ##
87503 ## Report this to the package-unused lists.  ##
87504 ## ----------------------------------------- ##
87505 _ASBOX
87506     ) |
87507       sed "s/^/$as_me: WARNING:     /" >&2
87508     ;;
87509 esac
87510 echo "$as_me:$LINENO: checking for $ac_header" >&5
87511 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87512 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87513   echo $ECHO_N "(cached) $ECHO_C" >&6
87514 else
87515   eval "$as_ac_Header=\$ac_header_preproc"
87516 fi
87517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87518 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87519
87520 fi
87521 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87522   cat >>confdefs.h <<_ACEOF
87523 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87524 _ACEOF
87525
87526 else
87527   setrlimit_have_headers=no
87528 fi
87529
87530 done
87531
87532   # If don't have the headers, then we can't run the tests now, and we
87533   # won't be seeing any of these during testsuite compilation.
87534   if test $setrlimit_have_headers = yes; then
87535     # Can't do these in a loop, else the resulting syntax is wrong.
87536
87537   cat >conftest.$ac_ext <<_ACEOF
87538 /* confdefs.h.  */
87539 _ACEOF
87540 cat confdefs.h >>conftest.$ac_ext
87541 cat >>conftest.$ac_ext <<_ACEOF
87542 /* end confdefs.h.  */
87543 #include <unistd.h>
87544      #include <sys/time.h>
87545      #include <sys/resource.h>
87546
87547 int
87548 main ()
87549 {
87550  int f = RLIMIT_DATA ;
87551   ;
87552   return 0;
87553 }
87554 _ACEOF
87555 rm -f conftest.$ac_objext
87556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87557   (eval $ac_compile) 2>conftest.er1
87558   ac_status=$?
87559   grep -v '^ *+' conftest.er1 >conftest.err
87560   rm -f conftest.er1
87561   cat conftest.err >&5
87562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87563   (exit $ac_status); } &&
87564          { ac_try='test -z "$ac_c_werror_flag"
87565                          || test ! -s conftest.err'
87566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87567   (eval $ac_try) 2>&5
87568   ac_status=$?
87569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87570   (exit $ac_status); }; } &&
87571          { ac_try='test -s conftest.$ac_objext'
87572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87573   (eval $ac_try) 2>&5
87574   ac_status=$?
87575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87576   (exit $ac_status); }; }; then
87577   glibcxx_mresult=1
87578 else
87579   echo "$as_me: failed program was:" >&5
87580 sed 's/^/| /' conftest.$ac_ext >&5
87581
87582 glibcxx_mresult=0
87583 fi
87584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87585
87586 cat >>confdefs.h <<_ACEOF
87587 #define HAVE_LIMIT_DATA $glibcxx_mresult
87588 _ACEOF
87589
87590
87591
87592   cat >conftest.$ac_ext <<_ACEOF
87593 /* confdefs.h.  */
87594 _ACEOF
87595 cat confdefs.h >>conftest.$ac_ext
87596 cat >>conftest.$ac_ext <<_ACEOF
87597 /* end confdefs.h.  */
87598 #include <unistd.h>
87599      #include <sys/time.h>
87600      #include <sys/resource.h>
87601
87602 int
87603 main ()
87604 {
87605  int f = RLIMIT_RSS ;
87606   ;
87607   return 0;
87608 }
87609 _ACEOF
87610 rm -f conftest.$ac_objext
87611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87612   (eval $ac_compile) 2>conftest.er1
87613   ac_status=$?
87614   grep -v '^ *+' conftest.er1 >conftest.err
87615   rm -f conftest.er1
87616   cat conftest.err >&5
87617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87618   (exit $ac_status); } &&
87619          { ac_try='test -z "$ac_c_werror_flag"
87620                          || test ! -s conftest.err'
87621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87622   (eval $ac_try) 2>&5
87623   ac_status=$?
87624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87625   (exit $ac_status); }; } &&
87626          { ac_try='test -s conftest.$ac_objext'
87627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87628   (eval $ac_try) 2>&5
87629   ac_status=$?
87630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87631   (exit $ac_status); }; }; then
87632   glibcxx_mresult=1
87633 else
87634   echo "$as_me: failed program was:" >&5
87635 sed 's/^/| /' conftest.$ac_ext >&5
87636
87637 glibcxx_mresult=0
87638 fi
87639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87640
87641 cat >>confdefs.h <<_ACEOF
87642 #define HAVE_LIMIT_RSS $glibcxx_mresult
87643 _ACEOF
87644
87645
87646
87647   cat >conftest.$ac_ext <<_ACEOF
87648 /* confdefs.h.  */
87649 _ACEOF
87650 cat confdefs.h >>conftest.$ac_ext
87651 cat >>conftest.$ac_ext <<_ACEOF
87652 /* end confdefs.h.  */
87653 #include <unistd.h>
87654      #include <sys/time.h>
87655      #include <sys/resource.h>
87656
87657 int
87658 main ()
87659 {
87660  int f = RLIMIT_VMEM ;
87661   ;
87662   return 0;
87663 }
87664 _ACEOF
87665 rm -f conftest.$ac_objext
87666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87667   (eval $ac_compile) 2>conftest.er1
87668   ac_status=$?
87669   grep -v '^ *+' conftest.er1 >conftest.err
87670   rm -f conftest.er1
87671   cat conftest.err >&5
87672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87673   (exit $ac_status); } &&
87674          { ac_try='test -z "$ac_c_werror_flag"
87675                          || test ! -s conftest.err'
87676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87677   (eval $ac_try) 2>&5
87678   ac_status=$?
87679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87680   (exit $ac_status); }; } &&
87681          { ac_try='test -s conftest.$ac_objext'
87682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87683   (eval $ac_try) 2>&5
87684   ac_status=$?
87685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87686   (exit $ac_status); }; }; then
87687   glibcxx_mresult=1
87688 else
87689   echo "$as_me: failed program was:" >&5
87690 sed 's/^/| /' conftest.$ac_ext >&5
87691
87692 glibcxx_mresult=0
87693 fi
87694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87695
87696 cat >>confdefs.h <<_ACEOF
87697 #define HAVE_LIMIT_VMEM $glibcxx_mresult
87698 _ACEOF
87699
87700
87701
87702   cat >conftest.$ac_ext <<_ACEOF
87703 /* confdefs.h.  */
87704 _ACEOF
87705 cat confdefs.h >>conftest.$ac_ext
87706 cat >>conftest.$ac_ext <<_ACEOF
87707 /* end confdefs.h.  */
87708 #include <unistd.h>
87709      #include <sys/time.h>
87710      #include <sys/resource.h>
87711
87712 int
87713 main ()
87714 {
87715  int f = RLIMIT_AS ;
87716   ;
87717   return 0;
87718 }
87719 _ACEOF
87720 rm -f conftest.$ac_objext
87721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87722   (eval $ac_compile) 2>conftest.er1
87723   ac_status=$?
87724   grep -v '^ *+' conftest.er1 >conftest.err
87725   rm -f conftest.er1
87726   cat conftest.err >&5
87727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87728   (exit $ac_status); } &&
87729          { ac_try='test -z "$ac_c_werror_flag"
87730                          || test ! -s conftest.err'
87731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87732   (eval $ac_try) 2>&5
87733   ac_status=$?
87734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87735   (exit $ac_status); }; } &&
87736          { ac_try='test -s conftest.$ac_objext'
87737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87738   (eval $ac_try) 2>&5
87739   ac_status=$?
87740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87741   (exit $ac_status); }; }; then
87742   glibcxx_mresult=1
87743 else
87744   echo "$as_me: failed program was:" >&5
87745 sed 's/^/| /' conftest.$ac_ext >&5
87746
87747 glibcxx_mresult=0
87748 fi
87749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87750
87751 cat >>confdefs.h <<_ACEOF
87752 #define HAVE_LIMIT_AS $glibcxx_mresult
87753 _ACEOF
87754
87755
87756
87757   cat >conftest.$ac_ext <<_ACEOF
87758 /* confdefs.h.  */
87759 _ACEOF
87760 cat confdefs.h >>conftest.$ac_ext
87761 cat >>conftest.$ac_ext <<_ACEOF
87762 /* end confdefs.h.  */
87763 #include <unistd.h>
87764      #include <sys/time.h>
87765      #include <sys/resource.h>
87766
87767 int
87768 main ()
87769 {
87770  int f = RLIMIT_FSIZE ;
87771   ;
87772   return 0;
87773 }
87774 _ACEOF
87775 rm -f conftest.$ac_objext
87776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87777   (eval $ac_compile) 2>conftest.er1
87778   ac_status=$?
87779   grep -v '^ *+' conftest.er1 >conftest.err
87780   rm -f conftest.er1
87781   cat conftest.err >&5
87782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87783   (exit $ac_status); } &&
87784          { ac_try='test -z "$ac_c_werror_flag"
87785                          || test ! -s conftest.err'
87786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87787   (eval $ac_try) 2>&5
87788   ac_status=$?
87789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87790   (exit $ac_status); }; } &&
87791          { ac_try='test -s conftest.$ac_objext'
87792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87793   (eval $ac_try) 2>&5
87794   ac_status=$?
87795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87796   (exit $ac_status); }; }; then
87797   glibcxx_mresult=1
87798 else
87799   echo "$as_me: failed program was:" >&5
87800 sed 's/^/| /' conftest.$ac_ext >&5
87801
87802 glibcxx_mresult=0
87803 fi
87804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87805
87806 cat >>confdefs.h <<_ACEOF
87807 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
87808 _ACEOF
87809
87810
87811
87812     # Check for rlimit, setrlimit.
87813     if test "${ac_setrlimit+set}" = set; then
87814   echo $ECHO_N "(cached) $ECHO_C" >&6
87815 else
87816
87817       cat >conftest.$ac_ext <<_ACEOF
87818 /* confdefs.h.  */
87819 _ACEOF
87820 cat confdefs.h >>conftest.$ac_ext
87821 cat >>conftest.$ac_ext <<_ACEOF
87822 /* end confdefs.h.  */
87823 #include <unistd.h>
87824          #include <sys/time.h>
87825          #include <sys/resource.h>
87826
87827 int
87828 main ()
87829 {
87830 struct rlimit r;
87831          setrlimit(0, &r);
87832   ;
87833   return 0;
87834 }
87835 _ACEOF
87836 rm -f conftest.$ac_objext
87837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87838   (eval $ac_compile) 2>conftest.er1
87839   ac_status=$?
87840   grep -v '^ *+' conftest.er1 >conftest.err
87841   rm -f conftest.er1
87842   cat conftest.err >&5
87843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87844   (exit $ac_status); } &&
87845          { ac_try='test -z "$ac_c_werror_flag"
87846                          || test ! -s conftest.err'
87847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87848   (eval $ac_try) 2>&5
87849   ac_status=$?
87850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87851   (exit $ac_status); }; } &&
87852          { ac_try='test -s conftest.$ac_objext'
87853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87854   (eval $ac_try) 2>&5
87855   ac_status=$?
87856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87857   (exit $ac_status); }; }; then
87858   ac_setrlimit=yes
87859 else
87860   echo "$as_me: failed program was:" >&5
87861 sed 's/^/| /' conftest.$ac_ext >&5
87862
87863 ac_setrlimit=no
87864 fi
87865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87866
87867 fi
87868
87869   fi
87870
87871   echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
87872 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
87873   if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
87874     ac_res_limits=yes
87875
87876 cat >>confdefs.h <<\_ACEOF
87877 #define _GLIBCXX_RES_LIMITS 1
87878 _ACEOF
87879
87880   else
87881     ac_res_limits=no
87882   fi
87883   echo "$as_me:$LINENO: result: $ac_res_limits" >&5
87884 echo "${ECHO_T}$ac_res_limits" >&6
87885
87886
87887     # Look for setenv, so that extended locale tests can be performed.
87888
87889   echo "$as_me:$LINENO: checking for setenv declaration" >&5
87890 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
87891   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
87892     if test "${glibcxx_cv_func_setenv_use+set}" = set; then
87893   echo $ECHO_N "(cached) $ECHO_C" >&6
87894 else
87895
87896
87897
87898       ac_ext=cc
87899 ac_cpp='$CXXCPP $CPPFLAGS'
87900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87903
87904       cat >conftest.$ac_ext <<_ACEOF
87905 /* confdefs.h.  */
87906 _ACEOF
87907 cat confdefs.h >>conftest.$ac_ext
87908 cat >>conftest.$ac_ext <<_ACEOF
87909 /* end confdefs.h.  */
87910 #include <stdlib.h>
87911 int
87912 main ()
87913 {
87914  setenv(0, 0, 0);
87915   ;
87916   return 0;
87917 }
87918 _ACEOF
87919 rm -f conftest.$ac_objext
87920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87921   (eval $ac_compile) 2>conftest.er1
87922   ac_status=$?
87923   grep -v '^ *+' conftest.er1 >conftest.err
87924   rm -f conftest.er1
87925   cat conftest.err >&5
87926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87927   (exit $ac_status); } &&
87928          { ac_try='test -z "$ac_cxx_werror_flag"
87929                          || test ! -s conftest.err'
87930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87931   (eval $ac_try) 2>&5
87932   ac_status=$?
87933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87934   (exit $ac_status); }; } &&
87935          { ac_try='test -s conftest.$ac_objext'
87936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87937   (eval $ac_try) 2>&5
87938   ac_status=$?
87939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87940   (exit $ac_status); }; }; then
87941   glibcxx_cv_func_setenv_use=yes
87942 else
87943   echo "$as_me: failed program was:" >&5
87944 sed 's/^/| /' conftest.$ac_ext >&5
87945
87946 glibcxx_cv_func_setenv_use=no
87947 fi
87948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87949       ac_ext=c
87950 ac_cpp='$CPP $CPPFLAGS'
87951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87954
87955
87956 fi
87957
87958   fi
87959   echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
87960 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
87961   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
87962
87963 for ac_func in setenv
87964 do
87965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87966 echo "$as_me:$LINENO: checking for $ac_func" >&5
87967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87968 if eval "test \"\${$as_ac_var+set}\" = set"; then
87969   echo $ECHO_N "(cached) $ECHO_C" >&6
87970 else
87971   if test x$gcc_no_link = xyes; then
87972   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87974    { (exit 1); exit 1; }; }
87975 fi
87976 cat >conftest.$ac_ext <<_ACEOF
87977 /* confdefs.h.  */
87978 _ACEOF
87979 cat confdefs.h >>conftest.$ac_ext
87980 cat >>conftest.$ac_ext <<_ACEOF
87981 /* end confdefs.h.  */
87982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87983    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87984 #define $ac_func innocuous_$ac_func
87985
87986 /* System header to define __stub macros and hopefully few prototypes,
87987     which can conflict with char $ac_func (); below.
87988     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87989     <limits.h> exists even on freestanding compilers.  */
87990
87991 #ifdef __STDC__
87992 # include <limits.h>
87993 #else
87994 # include <assert.h>
87995 #endif
87996
87997 #undef $ac_func
87998
87999 /* Override any gcc2 internal prototype to avoid an error.  */
88000 #ifdef __cplusplus
88001 extern "C"
88002 {
88003 #endif
88004 /* We use char because int might match the return type of a gcc2
88005    builtin and then its argument prototype would still apply.  */
88006 char $ac_func ();
88007 /* The GNU C library defines this for functions which it implements
88008     to always fail with ENOSYS.  Some functions are actually named
88009     something starting with __ and the normal name is an alias.  */
88010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88011 choke me
88012 #else
88013 char (*f) () = $ac_func;
88014 #endif
88015 #ifdef __cplusplus
88016 }
88017 #endif
88018
88019 int
88020 main ()
88021 {
88022 return f != $ac_func;
88023   ;
88024   return 0;
88025 }
88026 _ACEOF
88027 rm -f conftest.$ac_objext conftest$ac_exeext
88028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88029   (eval $ac_link) 2>conftest.er1
88030   ac_status=$?
88031   grep -v '^ *+' conftest.er1 >conftest.err
88032   rm -f conftest.er1
88033   cat conftest.err >&5
88034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88035   (exit $ac_status); } &&
88036          { ac_try='test -z "$ac_c_werror_flag"
88037                          || test ! -s conftest.err'
88038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88039   (eval $ac_try) 2>&5
88040   ac_status=$?
88041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88042   (exit $ac_status); }; } &&
88043          { ac_try='test -s conftest$ac_exeext'
88044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88045   (eval $ac_try) 2>&5
88046   ac_status=$?
88047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88048   (exit $ac_status); }; }; then
88049   eval "$as_ac_var=yes"
88050 else
88051   echo "$as_me: failed program was:" >&5
88052 sed 's/^/| /' conftest.$ac_ext >&5
88053
88054 eval "$as_ac_var=no"
88055 fi
88056 rm -f conftest.err conftest.$ac_objext \
88057       conftest$ac_exeext conftest.$ac_ext
88058 fi
88059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88061 if test `eval echo '${'$as_ac_var'}'` = yes; then
88062   cat >>confdefs.h <<_ACEOF
88063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88064 _ACEOF
88065
88066 fi
88067 done
88068
88069   fi
88070
88071
88072     if test $enable_symvers = no; then
88073       enable_abi_check=no
88074     else
88075       case "$host" in
88076         *-*-cygwin*)
88077           enable_abi_check=no ;;
88078         *)
88079           enable_abi_check=yes ;;
88080       esac
88081     fi
88082   else
88083     # Only build this as native, since automake does not understand
88084     # CXX_FOR_BUILD.
88085     enable_abi_check=no
88086   fi
88087
88088   # Export file names for ABI checking.
88089   baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
88090
88091
88092
88093
88094
88095 # Propagate the target-specific source directories through the build chain.
88096 ATOMICITY_SRCDIR=config/${atomicity_dir}
88097 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
88098 OS_INC_SRCDIR=config/${os_include_dir}
88099 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
88100
88101
88102
88103
88104
88105 # Determine cross-compile flags and AM_CONDITIONALs.
88106 #AC_SUBST(GLIBCXX_IS_NATIVE)
88107 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
88108 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
88109 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH,  test $need_libmath = yes)
88110
88111
88112 if test $is_hosted = yes; then
88113   GLIBCXX_HOSTED_TRUE=
88114   GLIBCXX_HOSTED_FALSE='#'
88115 else
88116   GLIBCXX_HOSTED_TRUE='#'
88117   GLIBCXX_HOSTED_FALSE=
88118 fi
88119
88120
88121
88122
88123 if test $enable_libstdcxx_pch = yes; then
88124   GLIBCXX_BUILD_PCH_TRUE=
88125   GLIBCXX_BUILD_PCH_FALSE='#'
88126 else
88127   GLIBCXX_BUILD_PCH_TRUE='#'
88128   GLIBCXX_BUILD_PCH_FALSE=
88129 fi
88130
88131
88132
88133
88134 if test $enable_cheaders = c; then
88135   GLIBCXX_C_HEADERS_C_TRUE=
88136   GLIBCXX_C_HEADERS_C_FALSE='#'
88137 else
88138   GLIBCXX_C_HEADERS_C_TRUE='#'
88139   GLIBCXX_C_HEADERS_C_FALSE=
88140 fi
88141
88142
88143
88144
88145 if test $enable_cheaders = c_std; then
88146   GLIBCXX_C_HEADERS_C_STD_TRUE=
88147   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
88148 else
88149   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
88150   GLIBCXX_C_HEADERS_C_STD_FALSE=
88151 fi
88152
88153
88154
88155
88156 if test $c_compatibility = yes; then
88157   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
88158   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
88159 else
88160   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
88161   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
88162 fi
88163
88164
88165
88166
88167 if test $enable_libstdcxx_debug = yes; then
88168   GLIBCXX_BUILD_DEBUG_TRUE=
88169   GLIBCXX_BUILD_DEBUG_FALSE='#'
88170 else
88171   GLIBCXX_BUILD_DEBUG_TRUE='#'
88172   GLIBCXX_BUILD_DEBUG_FALSE=
88173 fi
88174
88175
88176
88177
88178 if test $enable_symvers != no; then
88179   GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
88180   GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
88181 else
88182   GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
88183   GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
88184 fi
88185
88186
88187
88188
88189 if test $enable_abi_check = yes; then
88190   GLIBCXX_TEST_ABI_TRUE=
88191   GLIBCXX_TEST_ABI_FALSE='#'
88192 else
88193   GLIBCXX_TEST_ABI_TRUE='#'
88194   GLIBCXX_TEST_ABI_FALSE=
88195 fi
88196
88197
88198
88199
88200 cat >confcache <<\_ACEOF
88201 # This file is a shell script that caches the results of configure
88202 # tests run on this system so they can be shared between configure
88203 # scripts and configure runs, see configure's option --config-cache.
88204 # It is not useful on other systems.  If it contains results you don't
88205 # want to keep, you may remove or edit it.
88206 #
88207 # config.status only pays attention to the cache file if you give it
88208 # the --recheck option to rerun configure.
88209 #
88210 # `ac_cv_env_foo' variables (set or unset) will be overridden when
88211 # loading this file, other *unset* `ac_cv_foo' will be assigned the
88212 # following values.
88213
88214 _ACEOF
88215
88216 # The following way of writing the cache mishandles newlines in values,
88217 # but we know of no workaround that is simple, portable, and efficient.
88218 # So, don't put newlines in cache variables' values.
88219 # Ultrix sh set writes to stderr and can't be redirected directly,
88220 # and sets the high bit in the cache file unless we assign to the vars.
88221 {
88222   (set) 2>&1 |
88223     case `(ac_space=' '; set | grep ac_space) 2>&1` in
88224     *ac_space=\ *)
88225       # `set' does not quote correctly, so add quotes (double-quote
88226       # substitution turns \\\\ into \\, and sed turns \\ into \).
88227       sed -n \
88228         "s/'/'\\\\''/g;
88229           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
88230       ;;
88231     *)
88232       # `set' quotes correctly as required by POSIX, so do not add quotes.
88233       sed -n \
88234         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
88235       ;;
88236     esac;
88237 } |
88238   sed '
88239      t clear
88240      : clear
88241      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
88242      t end
88243      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
88244      : end' >>confcache
88245 if diff $cache_file confcache >/dev/null 2>&1; then :; else
88246   if test -w $cache_file; then
88247     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
88248     cat confcache >$cache_file
88249   else
88250     echo "not updating unwritable cache $cache_file"
88251   fi
88252 fi
88253 rm -f confcache
88254
88255 if test ${multilib} = yes; then
88256   multilib_arg="--enable-multilib"
88257 else
88258   multilib_arg=
88259 fi
88260
88261 # Export all the install information.
88262
88263   glibcxx_toolexecdir=no
88264   glibcxx_toolexeclibdir=no
88265   glibcxx_prefixdir=$prefix
88266
88267   echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
88268 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
88269
88270 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
88271 if test "${with_gxx_include_dir+set}" = set; then
88272   withval="$with_gxx_include_dir"
88273   case "$withval" in
88274       yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
88275 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
88276    { (exit 1); exit 1; }; } ;;
88277       no)  gxx_include_dir=no ;;
88278       *)   gxx_include_dir=$withval ;;
88279      esac
88280 else
88281   gxx_include_dir=no
88282 fi;
88283   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
88284 echo "${ECHO_T}$gxx_include_dir" >&6
88285
88286   echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
88287 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
88288   # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
88289 if test "${enable_version_specific_runtime_libs+set}" = set; then
88290   enableval="$enable_version_specific_runtime_libs"
88291   case "$enableval" in
88292       yes) version_specific_libs=yes ;;
88293       no)  version_specific_libs=no ;;
88294       *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
88295 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
88296    { (exit 1); exit 1; }; };;
88297      esac
88298 else
88299   version_specific_libs=no
88300 fi;
88301   echo "$as_me:$LINENO: result: $version_specific_libs" >&5
88302 echo "${ECHO_T}$version_specific_libs" >&6
88303
88304   # Default case for install directory for include files.
88305   if test $version_specific_libs = no && test $gxx_include_dir = no; then
88306     gxx_include_dir='${prefix}/include/c++/${gcc_version}'
88307   fi
88308
88309   # Version-specific runtime libs processing.
88310   if test $version_specific_libs = yes; then
88311     # Need the gcc compiler version to know where to install libraries
88312     # and header files if --enable-version-specific-runtime-libs option
88313     # is selected.  FIXME: these variables are misnamed, there are
88314     # no executables installed in _toolexecdir or _toolexeclibdir.
88315     if test x"$gxx_include_dir" = x"no"; then
88316       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
88317     fi
88318     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
88319     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
88320   fi
88321
88322   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
88323   # Install a library built with a cross compiler in tooldir, not libdir.
88324   if test x"$glibcxx_toolexecdir" = x"no"; then
88325     if test -n "$with_cross_host" &&
88326        test x"$with_cross_host" != x"no"; then
88327       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
88328       glibcxx_toolexeclibdir='${toolexecdir}/lib'
88329     else
88330       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
88331       glibcxx_toolexeclibdir='${libdir}'
88332     fi
88333     multi_os_directory=`$CXX -print-multi-os-directory`
88334     case $multi_os_directory in
88335       .) ;; # Avoid trailing /.
88336       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
88337     esac
88338   fi
88339
88340   echo "$as_me:$LINENO: checking for install location" >&5
88341 echo $ECHO_N "checking for install location... $ECHO_C" >&6
88342   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
88343 echo "${ECHO_T}$gxx_include_dir" >&6
88344
88345
88346
88347
88348
88349
88350
88351 # Export all the include and flag information to Makefiles.
88352
88353   # Used for every C++ compile we perform.
88354   GLIBCXX_INCLUDES="\
88355 -I$glibcxx_builddir/include/$host_alias \
88356 -I$glibcxx_builddir/include \
88357 -I$glibcxx_srcdir/libsupc++"
88358
88359   # For Canadian crosses, pick this up too.
88360   if test $CANADIAN = yes; then
88361     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
88362   fi
88363
88364   # Stuff in the actual top level.  Currently only used by libsupc++ to
88365   # get unwind* headers from the gcc dir.
88366   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
88367   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
88368
88369   # Now, export this to all the little Makefiles....
88370
88371
88372
88373
88374   # Optimization flags that are probably a good idea for thrill-seekers. Just
88375   # uncomment the lines below and make, everything else is ready to go...
88376   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
88377   OPTIMIZE_CXXFLAGS=
88378
88379
88380   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
88381
88382
88383
88384 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
88385    grep "enable shared" > /dev/null;
88386 then
88387   LIBSUPCXX_PICFLAGS=-prefer-pic
88388 else
88389   LIBSUPCXX_PICFLAGS=
88390 fi
88391
88392
88393                                                                       ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
88394
88395           ac_config_files="$ac_config_files scripts/testsuite_flags"
88396
88397
88398           ac_config_commands="$ac_config_commands default"
88399
88400
88401 cat >confcache <<\_ACEOF
88402 # This file is a shell script that caches the results of configure
88403 # tests run on this system so they can be shared between configure
88404 # scripts and configure runs, see configure's option --config-cache.
88405 # It is not useful on other systems.  If it contains results you don't
88406 # want to keep, you may remove or edit it.
88407 #
88408 # config.status only pays attention to the cache file if you give it
88409 # the --recheck option to rerun configure.
88410 #
88411 # `ac_cv_env_foo' variables (set or unset) will be overridden when
88412 # loading this file, other *unset* `ac_cv_foo' will be assigned the
88413 # following values.
88414
88415 _ACEOF
88416
88417 # The following way of writing the cache mishandles newlines in values,
88418 # but we know of no workaround that is simple, portable, and efficient.
88419 # So, don't put newlines in cache variables' values.
88420 # Ultrix sh set writes to stderr and can't be redirected directly,
88421 # and sets the high bit in the cache file unless we assign to the vars.
88422 {
88423   (set) 2>&1 |
88424     case `(ac_space=' '; set | grep ac_space) 2>&1` in
88425     *ac_space=\ *)
88426       # `set' does not quote correctly, so add quotes (double-quote
88427       # substitution turns \\\\ into \\, and sed turns \\ into \).
88428       sed -n \
88429         "s/'/'\\\\''/g;
88430           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
88431       ;;
88432     *)
88433       # `set' quotes correctly as required by POSIX, so do not add quotes.
88434       sed -n \
88435         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
88436       ;;
88437     esac;
88438 } |
88439   sed '
88440      t clear
88441      : clear
88442      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
88443      t end
88444      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
88445      : end' >>confcache
88446 if diff $cache_file confcache >/dev/null 2>&1; then :; else
88447   if test -w $cache_file; then
88448     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
88449     cat confcache >$cache_file
88450   else
88451     echo "not updating unwritable cache $cache_file"
88452   fi
88453 fi
88454 rm -f confcache
88455
88456 test "x$prefix" = xNONE && prefix=$ac_default_prefix
88457 # Let make expand exec_prefix.
88458 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
88459
88460 # VPATH may cause trouble with some makes, so we remove $(srcdir),
88461 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
88462 # trailing colons and then remove the whole line if VPATH becomes empty
88463 # (actually we leave an empty line to preserve line numbers).
88464 if test "x$srcdir" = x.; then
88465   ac_vpsub='/^[  ]*VPATH[        ]*=/{
88466 s/:*\$(srcdir):*/:/;
88467 s/:*\${srcdir}:*/:/;
88468 s/:*@srcdir@:*/:/;
88469 s/^\([^=]*=[     ]*\):*/\1/;
88470 s/:*$//;
88471 s/^[^=]*=[       ]*$//;
88472 }'
88473 fi
88474
88475 DEFS=-DHAVE_CONFIG_H
88476
88477 ac_libobjs=
88478 ac_ltlibobjs=
88479 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
88480   # 1. Remove the extension, and $U if already installed.
88481   ac_i=`echo "$ac_i" |
88482          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
88483   # 2. Add them.
88484   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
88485   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
88486 done
88487 LIBOBJS=$ac_libobjs
88488
88489 LTLIBOBJS=$ac_ltlibobjs
88490
88491
88492 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
88493   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
88494 Usually this means the macro was only invoked conditionally." >&5
88495 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
88496 Usually this means the macro was only invoked conditionally." >&2;}
88497    { (exit 1); exit 1; }; }
88498 fi
88499 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
88500   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
88501 Usually this means the macro was only invoked conditionally." >&5
88502 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
88503 Usually this means the macro was only invoked conditionally." >&2;}
88504    { (exit 1); exit 1; }; }
88505 fi
88506 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
88507   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
88508 Usually this means the macro was only invoked conditionally." >&5
88509 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
88510 Usually this means the macro was only invoked conditionally." >&2;}
88511    { (exit 1); exit 1; }; }
88512 fi
88513 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
88514   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
88515 Usually this means the macro was only invoked conditionally." >&5
88516 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
88517 Usually this means the macro was only invoked conditionally." >&2;}
88518    { (exit 1); exit 1; }; }
88519 fi
88520 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
88521   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
88522 Usually this means the macro was only invoked conditionally." >&5
88523 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
88524 Usually this means the macro was only invoked conditionally." >&2;}
88525    { (exit 1); exit 1; }; }
88526 fi
88527 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
88528   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
88529 Usually this means the macro was only invoked conditionally." >&5
88530 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
88531 Usually this means the macro was only invoked conditionally." >&2;}
88532    { (exit 1); exit 1; }; }
88533 fi
88534 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
88535   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
88536 Usually this means the macro was only invoked conditionally." >&5
88537 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
88538 Usually this means the macro was only invoked conditionally." >&2;}
88539    { (exit 1); exit 1; }; }
88540 fi
88541 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
88542   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
88543 Usually this means the macro was only invoked conditionally." >&5
88544 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
88545 Usually this means the macro was only invoked conditionally." >&2;}
88546    { (exit 1); exit 1; }; }
88547 fi
88548 if test -z "${GLIBCXX_TEST_ABI_TRUE}" && test -z "${GLIBCXX_TEST_ABI_FALSE}"; then
88549   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
88550 Usually this means the macro was only invoked conditionally." >&5
88551 echo "$as_me: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
88552 Usually this means the macro was only invoked conditionally." >&2;}
88553    { (exit 1); exit 1; }; }
88554 fi
88555
88556 : ${CONFIG_STATUS=./config.status}
88557 ac_clean_files_save=$ac_clean_files
88558 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
88559 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
88560 echo "$as_me: creating $CONFIG_STATUS" >&6;}
88561 cat >$CONFIG_STATUS <<_ACEOF
88562 #! $SHELL
88563 # Generated by $as_me.
88564 # Run this file to recreate the current configuration.
88565 # Compiler output produced by configure, useful for debugging
88566 # configure, is in config.log if it exists.
88567
88568 debug=false
88569 ac_cs_recheck=false
88570 ac_cs_silent=false
88571 SHELL=\${CONFIG_SHELL-$SHELL}
88572 _ACEOF
88573
88574 cat >>$CONFIG_STATUS <<\_ACEOF
88575 ## --------------------- ##
88576 ## M4sh Initialization.  ##
88577 ## --------------------- ##
88578
88579 # Be Bourne compatible
88580 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
88581   emulate sh
88582   NULLCMD=:
88583   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
88584   # is contrary to our usage.  Disable this feature.
88585   alias -g '${1+"$@"}'='"$@"'
88586 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
88587   set -o posix
88588 fi
88589 DUALCASE=1; export DUALCASE # for MKS sh
88590
88591 # Support unset when possible.
88592 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
88593   as_unset=unset
88594 else
88595   as_unset=false
88596 fi
88597
88598
88599 # Work around bugs in pre-3.0 UWIN ksh.
88600 $as_unset ENV MAIL MAILPATH
88601 PS1='$ '
88602 PS2='> '
88603 PS4='+ '
88604
88605 # NLS nuisances.
88606 for as_var in \
88607   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
88608   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
88609   LC_TELEPHONE LC_TIME
88610 do
88611   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
88612     eval $as_var=C; export $as_var
88613   else
88614     $as_unset $as_var
88615   fi
88616 done
88617
88618 # Required to use basename.
88619 if expr a : '\(a\)' >/dev/null 2>&1; then
88620   as_expr=expr
88621 else
88622   as_expr=false
88623 fi
88624
88625 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
88626   as_basename=basename
88627 else
88628   as_basename=false
88629 fi
88630
88631
88632 # Name of the executable.
88633 as_me=`$as_basename "$0" ||
88634 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
88635          X"$0" : 'X\(//\)$' \| \
88636          X"$0" : 'X\(/\)$' \| \
88637          .     : '\(.\)' 2>/dev/null ||
88638 echo X/"$0" |
88639     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
88640           /^X\/\(\/\/\)$/{ s//\1/; q; }
88641           /^X\/\(\/\).*/{ s//\1/; q; }
88642           s/.*/./; q'`
88643
88644
88645 # PATH needs CR, and LINENO needs CR and PATH.
88646 # Avoid depending upon Character Ranges.
88647 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
88648 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
88649 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
88650 as_cr_digits='0123456789'
88651 as_cr_alnum=$as_cr_Letters$as_cr_digits
88652
88653 # The user is always right.
88654 if test "${PATH_SEPARATOR+set}" != set; then
88655   echo "#! /bin/sh" >conf$$.sh
88656   echo  "exit 0"   >>conf$$.sh
88657   chmod +x conf$$.sh
88658   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
88659     PATH_SEPARATOR=';'
88660   else
88661     PATH_SEPARATOR=:
88662   fi
88663   rm -f conf$$.sh
88664 fi
88665
88666
88667   as_lineno_1=$LINENO
88668   as_lineno_2=$LINENO
88669   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
88670   test "x$as_lineno_1" != "x$as_lineno_2" &&
88671   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
88672   # Find who we are.  Look in the path if we contain no path at all
88673   # relative or not.
88674   case $0 in
88675     *[\\/]* ) as_myself=$0 ;;
88676     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
88677 for as_dir in $PATH
88678 do
88679   IFS=$as_save_IFS
88680   test -z "$as_dir" && as_dir=.
88681   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
88682 done
88683
88684        ;;
88685   esac
88686   # We did not find ourselves, most probably we were run as `sh COMMAND'
88687   # in which case we are not to be found in the path.
88688   if test "x$as_myself" = x; then
88689     as_myself=$0
88690   fi
88691   if test ! -f "$as_myself"; then
88692     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
88693 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
88694    { (exit 1); exit 1; }; }
88695   fi
88696   case $CONFIG_SHELL in
88697   '')
88698     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
88699 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
88700 do
88701   IFS=$as_save_IFS
88702   test -z "$as_dir" && as_dir=.
88703   for as_base in sh bash ksh sh5; do
88704          case $as_dir in
88705          /*)
88706            if ("$as_dir/$as_base" -c '
88707   as_lineno_1=$LINENO
88708   as_lineno_2=$LINENO
88709   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
88710   test "x$as_lineno_1" != "x$as_lineno_2" &&
88711   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
88712              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
88713              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
88714              CONFIG_SHELL=$as_dir/$as_base
88715              export CONFIG_SHELL
88716              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
88717            fi;;
88718          esac
88719        done
88720 done
88721 ;;
88722   esac
88723
88724   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
88725   # uniformly replaced by the line number.  The first 'sed' inserts a
88726   # line-number line before each line; the second 'sed' does the real
88727   # work.  The second script uses 'N' to pair each line-number line
88728   # with the numbered line, and appends trailing '-' during
88729   # substitution so that $LINENO is not a special case at line end.
88730   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
88731   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
88732   sed '=' <$as_myself |
88733     sed '
88734       N
88735       s,$,-,
88736       : loop
88737       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
88738       t loop
88739       s,-$,,
88740       s,^['$as_cr_digits']*\n,,
88741     ' >$as_me.lineno &&
88742   chmod +x $as_me.lineno ||
88743     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
88744 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
88745    { (exit 1); exit 1; }; }
88746
88747   # Don't try to exec as it changes $[0], causing all sort of problems
88748   # (the dirname of $[0] is not the place where we might find the
88749   # original and so on.  Autoconf is especially sensible to this).
88750   . ./$as_me.lineno
88751   # Exit status is that of the last command.
88752   exit
88753 }
88754
88755
88756 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
88757   *c*,-n*) ECHO_N= ECHO_C='
88758 ' ECHO_T='      ' ;;
88759   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
88760   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
88761 esac
88762
88763 if expr a : '\(a\)' >/dev/null 2>&1; then
88764   as_expr=expr
88765 else
88766   as_expr=false
88767 fi
88768
88769 rm -f conf$$ conf$$.exe conf$$.file
88770 echo >conf$$.file
88771 if ln -s conf$$.file conf$$ 2>/dev/null; then
88772   # We could just check for DJGPP; but this test a) works b) is more generic
88773   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
88774   if test -f conf$$.exe; then
88775     # Don't use ln at all; we don't have any links
88776     as_ln_s='cp -p'
88777   else
88778     as_ln_s='ln -s'
88779   fi
88780 elif ln conf$$.file conf$$ 2>/dev/null; then
88781   as_ln_s=ln
88782 else
88783   as_ln_s='cp -p'
88784 fi
88785 rm -f conf$$ conf$$.exe conf$$.file
88786
88787 if mkdir -p . 2>/dev/null; then
88788   as_mkdir_p=:
88789 else
88790   test -d ./-p && rmdir ./-p
88791   as_mkdir_p=false
88792 fi
88793
88794 as_executable_p="test -f"
88795
88796 # Sed expression to map a string onto a valid CPP name.
88797 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
88798
88799 # Sed expression to map a string onto a valid variable name.
88800 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
88801
88802
88803 # IFS
88804 # We need space, tab and new line, in precisely that order.
88805 as_nl='
88806 '
88807 IFS="   $as_nl"
88808
88809 # CDPATH.
88810 $as_unset CDPATH
88811
88812 exec 6>&1
88813
88814 # Open the log real soon, to keep \$[0] and so on meaningful, and to
88815 # report actual input values of CONFIG_FILES etc. instead of their
88816 # values after options handling.  Logging --version etc. is OK.
88817 exec 5>>config.log
88818 {
88819   echo
88820   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
88821 ## Running $as_me. ##
88822 _ASBOX
88823 } >&5
88824 cat >&5 <<_CSEOF
88825
88826 This file was extended by package-unused $as_me version-unused, which was
88827 generated by GNU Autoconf 2.59.  Invocation command line was
88828
88829   CONFIG_FILES    = $CONFIG_FILES
88830   CONFIG_HEADERS  = $CONFIG_HEADERS
88831   CONFIG_LINKS    = $CONFIG_LINKS
88832   CONFIG_COMMANDS = $CONFIG_COMMANDS
88833   $ $0 $@
88834
88835 _CSEOF
88836 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
88837 echo >&5
88838 _ACEOF
88839
88840 # Files that config.status was made for.
88841 if test -n "$ac_config_files"; then
88842   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
88843 fi
88844
88845 if test -n "$ac_config_headers"; then
88846   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
88847 fi
88848
88849 if test -n "$ac_config_links"; then
88850   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
88851 fi
88852
88853 if test -n "$ac_config_commands"; then
88854   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
88855 fi
88856
88857 cat >>$CONFIG_STATUS <<\_ACEOF
88858
88859 ac_cs_usage="\
88860 \`$as_me' instantiates files from templates according to the
88861 current configuration.
88862
88863 Usage: $0 [OPTIONS] [FILE]...
88864
88865   -h, --help       print this help, then exit
88866   -V, --version    print version number, then exit
88867   -q, --quiet      do not print progress messages
88868   -d, --debug      don't remove temporary files
88869       --recheck    update $as_me by reconfiguring in the same conditions
88870   --file=FILE[:TEMPLATE]
88871                    instantiate the configuration file FILE
88872   --header=FILE[:TEMPLATE]
88873                    instantiate the configuration header FILE
88874
88875 Configuration files:
88876 $config_files
88877
88878 Configuration headers:
88879 $config_headers
88880
88881 Configuration commands:
88882 $config_commands
88883
88884 Report bugs to <bug-autoconf@gnu.org>."
88885 _ACEOF
88886
88887 cat >>$CONFIG_STATUS <<_ACEOF
88888 ac_cs_version="\\
88889 package-unused config.status version-unused
88890 configured by $0, generated by GNU Autoconf 2.59,
88891   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
88892
88893 Copyright (C) 2003 Free Software Foundation, Inc.
88894 This config.status script is free software; the Free Software Foundation
88895 gives unlimited permission to copy, distribute and modify it."
88896 srcdir=$srcdir
88897 INSTALL="$INSTALL"
88898 _ACEOF
88899
88900 cat >>$CONFIG_STATUS <<\_ACEOF
88901 # If no file are specified by the user, then we need to provide default
88902 # value.  By we need to know if files were specified by the user.
88903 ac_need_defaults=:
88904 while test $# != 0
88905 do
88906   case $1 in
88907   --*=*)
88908     ac_option=`expr "x$1" : 'x\([^=]*\)='`
88909     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
88910     ac_shift=:
88911     ;;
88912   -*)
88913     ac_option=$1
88914     ac_optarg=$2
88915     ac_shift=shift
88916     ;;
88917   *) # This is not an option, so the user has probably given explicit
88918      # arguments.
88919      ac_option=$1
88920      ac_need_defaults=false;;
88921   esac
88922
88923   case $ac_option in
88924   # Handling of the options.
88925 _ACEOF
88926 cat >>$CONFIG_STATUS <<\_ACEOF
88927   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
88928     ac_cs_recheck=: ;;
88929   --version | --vers* | -V )
88930     echo "$ac_cs_version"; exit 0 ;;
88931   --he | --h)
88932     # Conflict between --help and --header
88933     { { echo "$as_me:$LINENO: error: ambiguous option: $1
88934 Try \`$0 --help' for more information." >&5
88935 echo "$as_me: error: ambiguous option: $1
88936 Try \`$0 --help' for more information." >&2;}
88937    { (exit 1); exit 1; }; };;
88938   --help | --hel | -h )
88939     echo "$ac_cs_usage"; exit 0 ;;
88940   --debug | --d* | -d )
88941     debug=: ;;
88942   --file | --fil | --fi | --f )
88943     $ac_shift
88944     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
88945     ac_need_defaults=false;;
88946   --header | --heade | --head | --hea )
88947     $ac_shift
88948     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
88949     ac_need_defaults=false;;
88950   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
88951   | -silent | --silent | --silen | --sile | --sil | --si | --s)
88952     ac_cs_silent=: ;;
88953
88954   # This is an error.
88955   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
88956 Try \`$0 --help' for more information." >&5
88957 echo "$as_me: error: unrecognized option: $1
88958 Try \`$0 --help' for more information." >&2;}
88959    { (exit 1); exit 1; }; } ;;
88960
88961   *) ac_config_targets="$ac_config_targets $1" ;;
88962
88963   esac
88964   shift
88965 done
88966
88967 ac_configure_extra_args=
88968
88969 if $ac_cs_silent; then
88970   exec 6>/dev/null
88971   ac_configure_extra_args="$ac_configure_extra_args --silent"
88972 fi
88973
88974 _ACEOF
88975 cat >>$CONFIG_STATUS <<_ACEOF
88976 if \$ac_cs_recheck; then
88977   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
88978   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
88979 fi
88980
88981 _ACEOF
88982
88983 cat >>$CONFIG_STATUS <<_ACEOF
88984 #
88985 # INIT-COMMANDS section.
88986 #
88987
88988
88989 srcdir="$srcdir"
88990 host="$host"
88991 target="$target"
88992 with_multisubdir="$with_multisubdir"
88993 with_multisrctop="$with_multisrctop"
88994 with_target_subdir="$with_target_subdir"
88995 ac_configure_args="${multilib_arg} ${ac_configure_args}"
88996 multi_basedir="$multi_basedir"
88997 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
88998 CC="$CC"
88999
89000 # Variables needed in config.status (file generation) which aren't already
89001 # passed by autoconf.
89002 SUBDIRS="$SUBDIRS"
89003
89004
89005 _ACEOF
89006
89007
89008
89009 cat >>$CONFIG_STATUS <<\_ACEOF
89010 for ac_config_target in $ac_config_targets
89011 do
89012   case "$ac_config_target" in
89013   # Handling of arguments.
89014   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
89015   "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
89016   "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
89017   "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
89018   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
89019   "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
89020   "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
89021   "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
89022   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
89023   "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
89024   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
89025   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
89026 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
89027    { (exit 1); exit 1; }; };;
89028   esac
89029 done
89030
89031 # If the user did not use the arguments to specify the items to instantiate,
89032 # then the envvar interface is used.  Set only those that are not.
89033 # We use the long form for the default assignment because of an extremely
89034 # bizarre bug on SunOS 4.1.3.
89035 if $ac_need_defaults; then
89036   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
89037   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
89038   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
89039 fi
89040
89041 # Have a temporary directory for convenience.  Make it in the build tree
89042 # simply because there is no reason to put it here, and in addition,
89043 # creating and moving files from /tmp can sometimes cause problems.
89044 # Create a temporary directory, and hook for its removal unless debugging.
89045 $debug ||
89046 {
89047   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
89048   trap '{ (exit 1); exit 1; }' 1 2 13 15
89049 }
89050
89051 # Create a (secure) tmp directory for tmp files.
89052
89053 {
89054   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
89055   test -n "$tmp" && test -d "$tmp"
89056 }  ||
89057 {
89058   tmp=./confstat$$-$RANDOM
89059   (umask 077 && mkdir $tmp)
89060 } ||
89061 {
89062    echo "$me: cannot create a temporary directory in ." >&2
89063    { (exit 1); exit 1; }
89064 }
89065
89066 _ACEOF
89067
89068 cat >>$CONFIG_STATUS <<_ACEOF
89069
89070 #
89071 # CONFIG_FILES section.
89072 #
89073
89074 # No need to generate the scripts if there are no CONFIG_FILES.
89075 # This happens for instance when ./config.status config.h
89076 if test -n "\$CONFIG_FILES"; then
89077   # Protect against being on the right side of a sed subst in config.status.
89078   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
89079    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
89080 s,@SHELL@,$SHELL,;t t
89081 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
89082 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
89083 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
89084 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
89085 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
89086 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
89087 s,@exec_prefix@,$exec_prefix,;t t
89088 s,@prefix@,$prefix,;t t
89089 s,@program_transform_name@,$program_transform_name,;t t
89090 s,@bindir@,$bindir,;t t
89091 s,@sbindir@,$sbindir,;t t
89092 s,@libexecdir@,$libexecdir,;t t
89093 s,@datadir@,$datadir,;t t
89094 s,@sysconfdir@,$sysconfdir,;t t
89095 s,@sharedstatedir@,$sharedstatedir,;t t
89096 s,@localstatedir@,$localstatedir,;t t
89097 s,@libdir@,$libdir,;t t
89098 s,@includedir@,$includedir,;t t
89099 s,@oldincludedir@,$oldincludedir,;t t
89100 s,@infodir@,$infodir,;t t
89101 s,@mandir@,$mandir,;t t
89102 s,@build_alias@,$build_alias,;t t
89103 s,@host_alias@,$host_alias,;t t
89104 s,@target_alias@,$target_alias,;t t
89105 s,@DEFS@,$DEFS,;t t
89106 s,@ECHO_C@,$ECHO_C,;t t
89107 s,@ECHO_N@,$ECHO_N,;t t
89108 s,@ECHO_T@,$ECHO_T,;t t
89109 s,@LIBS@,$LIBS,;t t
89110 s,@libtool_VERSION@,$libtool_VERSION,;t t
89111 s,@multi_basedir@,$multi_basedir,;t t
89112 s,@build@,$build,;t t
89113 s,@build_cpu@,$build_cpu,;t t
89114 s,@build_vendor@,$build_vendor,;t t
89115 s,@build_os@,$build_os,;t t
89116 s,@host@,$host,;t t
89117 s,@host_cpu@,$host_cpu,;t t
89118 s,@host_vendor@,$host_vendor,;t t
89119 s,@host_os@,$host_os,;t t
89120 s,@target@,$target,;t t
89121 s,@target_cpu@,$target_cpu,;t t
89122 s,@target_vendor@,$target_vendor,;t t
89123 s,@target_os@,$target_os,;t t
89124 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
89125 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
89126 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
89127 s,@CYGPATH_W@,$CYGPATH_W,;t t
89128 s,@PACKAGE@,$PACKAGE,;t t
89129 s,@VERSION@,$VERSION,;t t
89130 s,@ACLOCAL@,$ACLOCAL,;t t
89131 s,@AUTOCONF@,$AUTOCONF,;t t
89132 s,@AUTOMAKE@,$AUTOMAKE,;t t
89133 s,@AUTOHEADER@,$AUTOHEADER,;t t
89134 s,@MAKEINFO@,$MAKEINFO,;t t
89135 s,@install_sh@,$install_sh,;t t
89136 s,@STRIP@,$STRIP,;t t
89137 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
89138 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
89139 s,@mkdir_p@,$mkdir_p,;t t
89140 s,@AWK@,$AWK,;t t
89141 s,@SET_MAKE@,$SET_MAKE,;t t
89142 s,@am__leading_dot@,$am__leading_dot,;t t
89143 s,@AMTAR@,$AMTAR,;t t
89144 s,@am__tar@,$am__tar,;t t
89145 s,@am__untar@,$am__untar,;t t
89146 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
89147 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
89148 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
89149 s,@CC@,$CC,;t t
89150 s,@ac_ct_CC@,$ac_ct_CC,;t t
89151 s,@EXEEXT@,$EXEEXT,;t t
89152 s,@OBJEXT@,$OBJEXT,;t t
89153 s,@CXX@,$CXX,;t t
89154 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
89155 s,@CFLAGS@,$CFLAGS,;t t
89156 s,@CXXFLAGS@,$CXXFLAGS,;t t
89157 s,@LN_S@,$LN_S,;t t
89158 s,@AS@,$AS,;t t
89159 s,@ac_ct_AS@,$ac_ct_AS,;t t
89160 s,@AR@,$AR,;t t
89161 s,@ac_ct_AR@,$ac_ct_AR,;t t
89162 s,@RANLIB@,$RANLIB,;t t
89163 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
89164 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
89165 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
89166 s,@MAINT@,$MAINT,;t t
89167 s,@LIBTOOL@,$LIBTOOL,;t t
89168 s,@CXXCPP@,$CXXCPP,;t t
89169 s,@CPPFLAGS@,$CPPFLAGS,;t t
89170 s,@enable_shared@,$enable_shared,;t t
89171 s,@enable_static@,$enable_static,;t t
89172 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
89173 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
89174 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
89175 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
89176 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
89177 s,@CSTDIO_H@,$CSTDIO_H,;t t
89178 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
89179 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
89180 s,@CPP@,$CPP,;t t
89181 s,@EGREP@,$EGREP,;t t
89182 s,@check_msgfmt@,$check_msgfmt,;t t
89183 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
89184 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
89185 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
89186 s,@USE_NLS@,$USE_NLS,;t t
89187 s,@CLOCALE_H@,$CLOCALE_H,;t t
89188 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
89189 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
89190 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
89191 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
89192 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
89193 s,@CMONEY_CC@,$CMONEY_CC,;t t
89194 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
89195 s,@CTIME_H@,$CTIME_H,;t t
89196 s,@CTIME_CC@,$CTIME_CC,;t t
89197 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
89198 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
89199 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
89200 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
89201 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
89202 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
89203 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
89204 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
89205 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
89206 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
89207 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
89208 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
89209 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
89210 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
89211 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
89212 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
89213 s,@WERROR@,$WERROR,;t t
89214 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
89215 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
89216 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
89217 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
89218 s,@LIBICONV@,$LIBICONV,;t t
89219 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
89220 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
89221 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
89222 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
89223 s,@baseline_dir@,$baseline_dir,;t t
89224 s,@GLIBCXX_TEST_ABI_TRUE@,$GLIBCXX_TEST_ABI_TRUE,;t t
89225 s,@GLIBCXX_TEST_ABI_FALSE@,$GLIBCXX_TEST_ABI_FALSE,;t t
89226 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
89227 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
89228 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
89229 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
89230 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
89231 s,@gxx_include_dir@,$gxx_include_dir,;t t
89232 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
89233 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
89234 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
89235 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
89236 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
89237 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
89238 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
89239 s,@LIBOBJS@,$LIBOBJS,;t t
89240 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
89241 CEOF
89242
89243 _ACEOF
89244
89245   cat >>$CONFIG_STATUS <<\_ACEOF
89246   # Split the substitutions into bite-sized pieces for seds with
89247   # small command number limits, like on Digital OSF/1 and HP-UX.
89248   ac_max_sed_lines=48
89249   ac_sed_frag=1 # Number of current file.
89250   ac_beg=1 # First line for current file.
89251   ac_end=$ac_max_sed_lines # Line after last line for current file.
89252   ac_more_lines=:
89253   ac_sed_cmds=
89254   while $ac_more_lines; do
89255     if test $ac_beg -gt 1; then
89256       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
89257     else
89258       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
89259     fi
89260     if test ! -s $tmp/subs.frag; then
89261       ac_more_lines=false
89262     else
89263       # The purpose of the label and of the branching condition is to
89264       # speed up the sed processing (if there are no `@' at all, there
89265       # is no need to browse any of the substitutions).
89266       # These are the two extra sed commands mentioned above.
89267       (echo ':t
89268   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
89269       if test -z "$ac_sed_cmds"; then
89270         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
89271       else
89272         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
89273       fi
89274       ac_sed_frag=`expr $ac_sed_frag + 1`
89275       ac_beg=$ac_end
89276       ac_end=`expr $ac_end + $ac_max_sed_lines`
89277     fi
89278   done
89279   if test -z "$ac_sed_cmds"; then
89280     ac_sed_cmds=cat
89281   fi
89282 fi # test -n "$CONFIG_FILES"
89283
89284 _ACEOF
89285 cat >>$CONFIG_STATUS <<\_ACEOF
89286 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
89287   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
89288   case $ac_file in
89289   - | *:- | *:-:* ) # input from stdin
89290         cat >$tmp/stdin
89291         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89292         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89293   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89294         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89295   * )   ac_file_in=$ac_file.in ;;
89296   esac
89297
89298   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
89299   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
89300 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89301          X"$ac_file" : 'X\(//\)[^/]' \| \
89302          X"$ac_file" : 'X\(//\)$' \| \
89303          X"$ac_file" : 'X\(/\)' \| \
89304          .     : '\(.\)' 2>/dev/null ||
89305 echo X"$ac_file" |
89306     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89307           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89308           /^X\(\/\/\)$/{ s//\1/; q; }
89309           /^X\(\/\).*/{ s//\1/; q; }
89310           s/.*/./; q'`
89311   { if $as_mkdir_p; then
89312     mkdir -p "$ac_dir"
89313   else
89314     as_dir="$ac_dir"
89315     as_dirs=
89316     while test ! -d "$as_dir"; do
89317       as_dirs="$as_dir $as_dirs"
89318       as_dir=`(dirname "$as_dir") 2>/dev/null ||
89319 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89320          X"$as_dir" : 'X\(//\)[^/]' \| \
89321          X"$as_dir" : 'X\(//\)$' \| \
89322          X"$as_dir" : 'X\(/\)' \| \
89323          .     : '\(.\)' 2>/dev/null ||
89324 echo X"$as_dir" |
89325     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89326           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89327           /^X\(\/\/\)$/{ s//\1/; q; }
89328           /^X\(\/\).*/{ s//\1/; q; }
89329           s/.*/./; q'`
89330     done
89331     test ! -n "$as_dirs" || mkdir $as_dirs
89332   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
89333 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
89334    { (exit 1); exit 1; }; }; }
89335
89336   ac_builddir=.
89337
89338 if test "$ac_dir" != .; then
89339   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
89340   # A "../" for each directory in $ac_dir_suffix.
89341   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
89342 else
89343   ac_dir_suffix= ac_top_builddir=
89344 fi
89345
89346 case $srcdir in
89347   .)  # No --srcdir option.  We are building in place.
89348     ac_srcdir=.
89349     if test -z "$ac_top_builddir"; then
89350        ac_top_srcdir=.
89351     else
89352        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
89353     fi ;;
89354   [\\/]* | ?:[\\/]* )  # Absolute path.
89355     ac_srcdir=$srcdir$ac_dir_suffix;
89356     ac_top_srcdir=$srcdir ;;
89357   *) # Relative path.
89358     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
89359     ac_top_srcdir=$ac_top_builddir$srcdir ;;
89360 esac
89361
89362 # Do not use `cd foo && pwd` to compute absolute paths, because
89363 # the directories may not exist.
89364 case `pwd` in
89365 .) ac_abs_builddir="$ac_dir";;
89366 *)
89367   case "$ac_dir" in
89368   .) ac_abs_builddir=`pwd`;;
89369   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
89370   *) ac_abs_builddir=`pwd`/"$ac_dir";;
89371   esac;;
89372 esac
89373 case $ac_abs_builddir in
89374 .) ac_abs_top_builddir=${ac_top_builddir}.;;
89375 *)
89376   case ${ac_top_builddir}. in
89377   .) ac_abs_top_builddir=$ac_abs_builddir;;
89378   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
89379   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
89380   esac;;
89381 esac
89382 case $ac_abs_builddir in
89383 .) ac_abs_srcdir=$ac_srcdir;;
89384 *)
89385   case $ac_srcdir in
89386   .) ac_abs_srcdir=$ac_abs_builddir;;
89387   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
89388   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
89389   esac;;
89390 esac
89391 case $ac_abs_builddir in
89392 .) ac_abs_top_srcdir=$ac_top_srcdir;;
89393 *)
89394   case $ac_top_srcdir in
89395   .) ac_abs_top_srcdir=$ac_abs_builddir;;
89396   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
89397   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
89398   esac;;
89399 esac
89400
89401
89402   case $INSTALL in
89403   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
89404   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
89405   esac
89406
89407   if test x"$ac_file" != x-; then
89408     { echo "$as_me:$LINENO: creating $ac_file" >&5
89409 echo "$as_me: creating $ac_file" >&6;}
89410     rm -f "$ac_file"
89411   fi
89412   # Let's still pretend it is `configure' which instantiates (i.e., don't
89413   # use $as_me), people would be surprised to read:
89414   #    /* config.h.  Generated by config.status.  */
89415   if test x"$ac_file" = x-; then
89416     configure_input=
89417   else
89418     configure_input="$ac_file.  "
89419   fi
89420   configure_input=$configure_input"Generated from `echo $ac_file_in |
89421                                      sed 's,.*/,,'` by configure."
89422
89423   # First look for the input files in the build tree, otherwise in the
89424   # src tree.
89425   ac_file_inputs=`IFS=:
89426     for f in $ac_file_in; do
89427       case $f in
89428       -) echo $tmp/stdin ;;
89429       [\\/$]*)
89430          # Absolute (can't be DOS-style, as IFS=:)
89431          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
89432 echo "$as_me: error: cannot find input file: $f" >&2;}
89433    { (exit 1); exit 1; }; }
89434          echo "$f";;
89435       *) # Relative
89436          if test -f "$f"; then
89437            # Build tree
89438            echo "$f"
89439          elif test -f "$srcdir/$f"; then
89440            # Source tree
89441            echo "$srcdir/$f"
89442          else
89443            # /dev/null tree
89444            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
89445 echo "$as_me: error: cannot find input file: $f" >&2;}
89446    { (exit 1); exit 1; }; }
89447          fi;;
89448       esac
89449     done` || { (exit 1); exit 1; }
89450 _ACEOF
89451 cat >>$CONFIG_STATUS <<_ACEOF
89452   sed "$ac_vpsub
89453 $extrasub
89454 _ACEOF
89455 cat >>$CONFIG_STATUS <<\_ACEOF
89456 :t
89457 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
89458 s,@configure_input@,$configure_input,;t t
89459 s,@srcdir@,$ac_srcdir,;t t
89460 s,@abs_srcdir@,$ac_abs_srcdir,;t t
89461 s,@top_srcdir@,$ac_top_srcdir,;t t
89462 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
89463 s,@builddir@,$ac_builddir,;t t
89464 s,@abs_builddir@,$ac_abs_builddir,;t t
89465 s,@top_builddir@,$ac_top_builddir,;t t
89466 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
89467 s,@INSTALL@,$ac_INSTALL,;t t
89468 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
89469   rm -f $tmp/stdin
89470   if test x"$ac_file" != x-; then
89471     mv $tmp/out $ac_file
89472   else
89473     cat $tmp/out
89474     rm -f $tmp/out
89475   fi
89476
89477   # Run the commands associated with the file.
89478   case $ac_file in
89479     scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
89480   esac
89481 done
89482 _ACEOF
89483 cat >>$CONFIG_STATUS <<\_ACEOF
89484
89485 #
89486 # CONFIG_HEADER section.
89487 #
89488
89489 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
89490 # NAME is the cpp macro being defined and VALUE is the value it is being given.
89491 #
89492 # ac_d sets the value in "#define NAME VALUE" lines.
89493 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
89494 ac_dB='[         ].*$,\1#\2'
89495 ac_dC=' '
89496 ac_dD=',;t'
89497 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
89498 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
89499 ac_uB='$,\1#\2define\3'
89500 ac_uC=' '
89501 ac_uD=',;t'
89502
89503 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
89504   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
89505   case $ac_file in
89506   - | *:- | *:-:* ) # input from stdin
89507         cat >$tmp/stdin
89508         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89509         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89510   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89511         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89512   * )   ac_file_in=$ac_file.in ;;
89513   esac
89514
89515   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
89516 echo "$as_me: creating $ac_file" >&6;}
89517
89518   # First look for the input files in the build tree, otherwise in the
89519   # src tree.
89520   ac_file_inputs=`IFS=:
89521     for f in $ac_file_in; do
89522       case $f in
89523       -) echo $tmp/stdin ;;
89524       [\\/$]*)
89525          # Absolute (can't be DOS-style, as IFS=:)
89526          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
89527 echo "$as_me: error: cannot find input file: $f" >&2;}
89528    { (exit 1); exit 1; }; }
89529          # Do quote $f, to prevent DOS paths from being IFS'd.
89530          echo "$f";;
89531       *) # Relative
89532          if test -f "$f"; then
89533            # Build tree
89534            echo "$f"
89535          elif test -f "$srcdir/$f"; then
89536            # Source tree
89537            echo "$srcdir/$f"
89538          else
89539            # /dev/null tree
89540            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
89541 echo "$as_me: error: cannot find input file: $f" >&2;}
89542    { (exit 1); exit 1; }; }
89543          fi;;
89544       esac
89545     done` || { (exit 1); exit 1; }
89546   # Remove the trailing spaces.
89547   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
89548
89549 _ACEOF
89550
89551 # Transform confdefs.h into two sed scripts, `conftest.defines' and
89552 # `conftest.undefs', that substitutes the proper values into
89553 # config.h.in to produce config.h.  The first handles `#define'
89554 # templates, and the second `#undef' templates.
89555 # And first: Protect against being on the right side of a sed subst in
89556 # config.status.  Protect against being in an unquoted here document
89557 # in config.status.
89558 rm -f conftest.defines conftest.undefs
89559 # Using a here document instead of a string reduces the quoting nightmare.
89560 # Putting comments in sed scripts is not portable.
89561 #
89562 # `end' is used to avoid that the second main sed command (meant for
89563 # 0-ary CPP macros) applies to n-ary macro definitions.
89564 # See the Autoconf documentation for `clear'.
89565 cat >confdef2sed.sed <<\_ACEOF
89566 s/[\\&,]/\\&/g
89567 s,[\\$`],\\&,g
89568 t clear
89569 : clear
89570 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
89571 t end
89572 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
89573 : end
89574 _ACEOF
89575 # If some macros were called several times there might be several times
89576 # the same #defines, which is useless.  Nevertheless, we may not want to
89577 # sort them, since we want the *last* AC-DEFINE to be honored.
89578 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
89579 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
89580 rm -f confdef2sed.sed
89581
89582 # This sed command replaces #undef with comments.  This is necessary, for
89583 # example, in the case of _POSIX_SOURCE, which is predefined and required
89584 # on some systems where configure will not decide to define it.
89585 cat >>conftest.undefs <<\_ACEOF
89586 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
89587 _ACEOF
89588
89589 # Break up conftest.defines because some shells have a limit on the size
89590 # of here documents, and old seds have small limits too (100 cmds).
89591 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
89592 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
89593 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
89594 echo '  :' >>$CONFIG_STATUS
89595 rm -f conftest.tail
89596 while grep . conftest.defines >/dev/null
89597 do
89598   # Write a limited-size here document to $tmp/defines.sed.
89599   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
89600   # Speed up: don't consider the non `#define' lines.
89601   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
89602   # Work around the forget-to-reset-the-flag bug.
89603   echo 't clr' >>$CONFIG_STATUS
89604   echo ': clr' >>$CONFIG_STATUS
89605   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
89606   echo 'CEOF
89607   sed -f $tmp/defines.sed $tmp/in >$tmp/out
89608   rm -f $tmp/in
89609   mv $tmp/out $tmp/in
89610 ' >>$CONFIG_STATUS
89611   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
89612   rm -f conftest.defines
89613   mv conftest.tail conftest.defines
89614 done
89615 rm -f conftest.defines
89616 echo '  fi # grep' >>$CONFIG_STATUS
89617 echo >>$CONFIG_STATUS
89618
89619 # Break up conftest.undefs because some shells have a limit on the size
89620 # of here documents, and old seds have small limits too (100 cmds).
89621 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
89622 rm -f conftest.tail
89623 while grep . conftest.undefs >/dev/null
89624 do
89625   # Write a limited-size here document to $tmp/undefs.sed.
89626   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
89627   # Speed up: don't consider the non `#undef'
89628   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
89629   # Work around the forget-to-reset-the-flag bug.
89630   echo 't clr' >>$CONFIG_STATUS
89631   echo ': clr' >>$CONFIG_STATUS
89632   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
89633   echo 'CEOF
89634   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
89635   rm -f $tmp/in
89636   mv $tmp/out $tmp/in
89637 ' >>$CONFIG_STATUS
89638   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
89639   rm -f conftest.undefs
89640   mv conftest.tail conftest.undefs
89641 done
89642 rm -f conftest.undefs
89643
89644 cat >>$CONFIG_STATUS <<\_ACEOF
89645   # Let's still pretend it is `configure' which instantiates (i.e., don't
89646   # use $as_me), people would be surprised to read:
89647   #    /* config.h.  Generated by config.status.  */
89648   if test x"$ac_file" = x-; then
89649     echo "/* Generated by configure.  */" >$tmp/config.h
89650   else
89651     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
89652   fi
89653   cat $tmp/in >>$tmp/config.h
89654   rm -f $tmp/in
89655   if test x"$ac_file" != x-; then
89656     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
89657       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
89658 echo "$as_me: $ac_file is unchanged" >&6;}
89659     else
89660       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
89661 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89662          X"$ac_file" : 'X\(//\)[^/]' \| \
89663          X"$ac_file" : 'X\(//\)$' \| \
89664          X"$ac_file" : 'X\(/\)' \| \
89665          .     : '\(.\)' 2>/dev/null ||
89666 echo X"$ac_file" |
89667     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89668           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89669           /^X\(\/\/\)$/{ s//\1/; q; }
89670           /^X\(\/\).*/{ s//\1/; q; }
89671           s/.*/./; q'`
89672       { if $as_mkdir_p; then
89673     mkdir -p "$ac_dir"
89674   else
89675     as_dir="$ac_dir"
89676     as_dirs=
89677     while test ! -d "$as_dir"; do
89678       as_dirs="$as_dir $as_dirs"
89679       as_dir=`(dirname "$as_dir") 2>/dev/null ||
89680 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89681          X"$as_dir" : 'X\(//\)[^/]' \| \
89682          X"$as_dir" : 'X\(//\)$' \| \
89683          X"$as_dir" : 'X\(/\)' \| \
89684          .     : '\(.\)' 2>/dev/null ||
89685 echo X"$as_dir" |
89686     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89687           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89688           /^X\(\/\/\)$/{ s//\1/; q; }
89689           /^X\(\/\).*/{ s//\1/; q; }
89690           s/.*/./; q'`
89691     done
89692     test ! -n "$as_dirs" || mkdir $as_dirs
89693   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
89694 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
89695    { (exit 1); exit 1; }; }; }
89696
89697       rm -f $ac_file
89698       mv $tmp/config.h $ac_file
89699     fi
89700   else
89701     cat $tmp/config.h
89702     rm -f $tmp/config.h
89703   fi
89704 # Compute $ac_file's index in $config_headers.
89705 _am_stamp_count=1
89706 for _am_header in $config_headers :; do
89707   case $_am_header in
89708     $ac_file | $ac_file:* )
89709       break ;;
89710     * )
89711       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
89712   esac
89713 done
89714 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
89715 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89716          X$ac_file : 'X\(//\)[^/]' \| \
89717          X$ac_file : 'X\(//\)$' \| \
89718          X$ac_file : 'X\(/\)' \| \
89719          .     : '\(.\)' 2>/dev/null ||
89720 echo X$ac_file |
89721     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89722           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89723           /^X\(\/\/\)$/{ s//\1/; q; }
89724           /^X\(\/\).*/{ s//\1/; q; }
89725           s/.*/./; q'`/stamp-h$_am_stamp_count
89726 done
89727 _ACEOF
89728 cat >>$CONFIG_STATUS <<\_ACEOF
89729
89730 #
89731 # CONFIG_COMMANDS section.
89732 #
89733 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
89734   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
89735   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
89736   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
89737 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89738          X"$ac_dest" : 'X\(//\)[^/]' \| \
89739          X"$ac_dest" : 'X\(//\)$' \| \
89740          X"$ac_dest" : 'X\(/\)' \| \
89741          .     : '\(.\)' 2>/dev/null ||
89742 echo X"$ac_dest" |
89743     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89744           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89745           /^X\(\/\/\)$/{ s//\1/; q; }
89746           /^X\(\/\).*/{ s//\1/; q; }
89747           s/.*/./; q'`
89748   { if $as_mkdir_p; then
89749     mkdir -p "$ac_dir"
89750   else
89751     as_dir="$ac_dir"
89752     as_dirs=
89753     while test ! -d "$as_dir"; do
89754       as_dirs="$as_dir $as_dirs"
89755       as_dir=`(dirname "$as_dir") 2>/dev/null ||
89756 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89757          X"$as_dir" : 'X\(//\)[^/]' \| \
89758          X"$as_dir" : 'X\(//\)$' \| \
89759          X"$as_dir" : 'X\(/\)' \| \
89760          .     : '\(.\)' 2>/dev/null ||
89761 echo X"$as_dir" |
89762     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89763           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89764           /^X\(\/\/\)$/{ s//\1/; q; }
89765           /^X\(\/\).*/{ s//\1/; q; }
89766           s/.*/./; q'`
89767     done
89768     test ! -n "$as_dirs" || mkdir $as_dirs
89769   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
89770 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
89771    { (exit 1); exit 1; }; }; }
89772
89773   ac_builddir=.
89774
89775 if test "$ac_dir" != .; then
89776   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
89777   # A "../" for each directory in $ac_dir_suffix.
89778   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
89779 else
89780   ac_dir_suffix= ac_top_builddir=
89781 fi
89782
89783 case $srcdir in
89784   .)  # No --srcdir option.  We are building in place.
89785     ac_srcdir=.
89786     if test -z "$ac_top_builddir"; then
89787        ac_top_srcdir=.
89788     else
89789        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
89790     fi ;;
89791   [\\/]* | ?:[\\/]* )  # Absolute path.
89792     ac_srcdir=$srcdir$ac_dir_suffix;
89793     ac_top_srcdir=$srcdir ;;
89794   *) # Relative path.
89795     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
89796     ac_top_srcdir=$ac_top_builddir$srcdir ;;
89797 esac
89798
89799 # Do not use `cd foo && pwd` to compute absolute paths, because
89800 # the directories may not exist.
89801 case `pwd` in
89802 .) ac_abs_builddir="$ac_dir";;
89803 *)
89804   case "$ac_dir" in
89805   .) ac_abs_builddir=`pwd`;;
89806   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
89807   *) ac_abs_builddir=`pwd`/"$ac_dir";;
89808   esac;;
89809 esac
89810 case $ac_abs_builddir in
89811 .) ac_abs_top_builddir=${ac_top_builddir}.;;
89812 *)
89813   case ${ac_top_builddir}. in
89814   .) ac_abs_top_builddir=$ac_abs_builddir;;
89815   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
89816   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
89817   esac;;
89818 esac
89819 case $ac_abs_builddir in
89820 .) ac_abs_srcdir=$ac_srcdir;;
89821 *)
89822   case $ac_srcdir in
89823   .) ac_abs_srcdir=$ac_abs_builddir;;
89824   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
89825   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
89826   esac;;
89827 esac
89828 case $ac_abs_builddir in
89829 .) ac_abs_top_srcdir=$ac_top_srcdir;;
89830 *)
89831   case $ac_top_srcdir in
89832   .) ac_abs_top_srcdir=$ac_abs_builddir;;
89833   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
89834   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
89835   esac;;
89836 esac
89837
89838
89839   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
89840 echo "$as_me: executing $ac_dest commands" >&6;}
89841   case $ac_dest in
89842     default-1 )
89843 # Only add multilib support code if we just rebuilt the top-level
89844 # Makefile.
89845 case " $CONFIG_FILES " in
89846  *" Makefile "*)
89847    ac_file=Makefile . ${multi_basedir}/config-ml.in
89848    ;;
89849 esac ;;
89850     default ) if test -n "$CONFIG_FILES"; then
89851    # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
89852    # that multilib installs will end up installed in the correct place.
89853    # The testsuite needs it for multilib-aware ABI baseline files.
89854    # To work around this not being passed down from config-ml.in ->
89855    # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
89856    # append it here.  Only modify Makefiles that have just been created.
89857    #
89858    # Also, get rid of this simulated-VPATH thing that automake does.
89859    cat > vpsed << \_EOF
89860 s!`test -f '$<' || echo '$(srcdir)/'`!!
89861 _EOF
89862    for i in $SUBDIRS; do
89863     case $CONFIG_FILES in
89864      *${i}/Makefile*)
89865        #echo "Adding MULTISUBDIR to $i/Makefile"
89866        sed -f vpsed $i/Makefile > tmp
89867        grep '^MULTISUBDIR =' Makefile >> tmp
89868        mv tmp $i/Makefile
89869        ;;
89870     esac
89871    done
89872    rm vpsed
89873  fi
89874  (cd include && ${MAKE-make})
89875  ;;
89876   esac
89877 done
89878 _ACEOF
89879
89880 cat >>$CONFIG_STATUS <<\_ACEOF
89881
89882 { (exit 0); exit 0; }
89883 _ACEOF
89884 chmod +x $CONFIG_STATUS
89885 ac_clean_files=$ac_clean_files_save
89886
89887
89888 # configure is writing to config.log, and then calls config.status.
89889 # config.status does its own redirection, appending to config.log.
89890 # Unfortunately, on DOS this fails, as config.log is still kept open
89891 # by configure, so config.status won't be able to write to it; its
89892 # output is simply discarded.  So we exec the FD to /dev/null,
89893 # effectively closing config.log, so it can be properly (re)opened and
89894 # appended to by config.status.  When coming back to configure, we
89895 # need to make the FD available again.
89896 if test "$no_create" != yes; then
89897   ac_cs_success=:
89898   ac_config_status_args=
89899   test "$silent" = yes &&
89900     ac_config_status_args="$ac_config_status_args --quiet"
89901   exec 5>/dev/null
89902   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
89903   exec 5>>config.log
89904   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
89905   # would make configure fail if this is the last instruction.
89906   $ac_cs_success || { (exit 1); exit 1; }
89907 fi
89908