2007-02-27 Richard Guenther <rguenther@suse.de>
[official-gcc.git] / libstdc++-v3 / configure
blob40c946655cf2faf24d83e81692a8129fb752d4df
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.
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 ## --------------------- ##
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
22 DUALCASE=1; export DUALCASE # for MKS sh
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
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
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
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
49 done
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
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
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'`
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
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=:
96 rm -f conf$$.sh
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
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
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
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; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
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
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
154 esac
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 '
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; }; }
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
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
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
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'
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
216 rm -f conf$$ conf$$.exe conf$$.file
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
225 as_executable_p="test -f"
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'"
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'"
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
238 IFS=" $as_nl"
240 # CDPATH.
241 $as_unset CDPATH
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`
249 exec 6>&1
252 # Initializations.
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}
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}
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=''
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"
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 CPP CPPFLAGS EGREP LIBTOOL CXXCPP 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 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 LTLIBICONV SYMVER_FILE port_specific_symbol_files ENABLE_SYMVERS_TRUE ENABLE_SYMVERS_FALSE ENABLE_SYMVERS_GNU_TRUE ENABLE_SYMVERS_GNU_FALSE ENABLE_SYMVERS_GNU_NAMESPACE_TRUE ENABLE_SYMVERS_GNU_NAMESPACE_FALSE ENABLE_SYMVERS_DARWIN_TRUE ENABLE_SYMVERS_DARWIN_FALSE ENABLE_VISIBILITY_TRUE ENABLE_VISIBILITY_FALSE GLIBCXX_LDBL_COMPAT_TRUE GLIBCXX_LDBL_COMPAT_FALSE baseline_dir ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR CPU_DEFINES_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
313 ac_subst_files=''
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
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'
353 ac_prev=
354 for ac_option
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
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
367 case $ac_option in
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 ac_prev=bindir ;;
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372 bindir=$ac_optarg ;;
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
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 ;;
386 --config-cache | -C)
387 cache_file=config.cache ;;
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 ;;
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" ;;
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'" ;;
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 ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
428 with_gas=yes ;;
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 ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
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 ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 ac_prev=infodir ;;
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
455 ac_prev=libdir ;;
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
457 libdir=$ac_optarg ;;
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 ;;
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 ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 ac_prev=mandir ;;
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478 mandir=$ac_optarg ;;
480 -nfp | --nfp | --nf)
481 # Obsolete; use --without-fp.
482 with_fp=no ;;
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
486 no_create=yes ;;
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 ;;
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 ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 ac_prev=prefix ;;
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504 prefix=$ac_optarg ;;
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 ;;
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 ;;
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 ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
539 silent=yes ;;
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 ;;
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 ;;
558 -site | --site | --sit)
559 ac_prev=site ;;
560 -site=* | --site=* | --sit=*)
561 site=$ac_optarg ;;
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 ac_prev=srcdir ;;
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566 srcdir=$ac_optarg ;;
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 ;;
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 ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
581 verbose=yes ;;
583 -version | --version | --versio | --versi | --vers | -V)
584 ac_init_version=: ;;
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'" ;;
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" ;;
608 --x)
609 # Obsolete; use --with-x.
610 with_x=yes ;;
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 ;;
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 ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
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 ;;
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}
649 esac
650 done
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; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
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
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
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
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
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
699 ac_tool_prefix=
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
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=..
725 else
726 ac_srcdir_defaulted=no
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; }; }
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_CPP_set=${CPP+set}
754 ac_env_CPP_value=$CPP
755 ac_cv_env_CPP_set=${CPP+set}
756 ac_cv_env_CPP_value=$CPP
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_CXXCPP_set=${CXXCPP+set}
762 ac_env_CXXCPP_value=$CXXCPP
763 ac_cv_env_CXXCPP_set=${CXXCPP+set}
764 ac_cv_env_CXXCPP_value=$CXXCPP
767 # Report the --help message.
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.
775 Usage: $0 [OPTION]... [VAR=VALUE]...
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.
780 Defaults for the options are specified in brackets.
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 \`..']
793 _ACEOF
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]
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'.
807 For better control, use the options below.
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
824 cat <<\_ACEOF
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
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
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
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-long-long enable template specializations for 'long long'
873 [default=yes]
874 --enable-wchar_t enable template specializations for 'wchar_t'
875 [default=yes]
876 --enable-c99 turns on ISO/IEC 9899:1999 support
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-tls Use thread-local storage [default=yes]
891 --disable-rpath do not hardcode runtime library paths
892 --enable-symvers=STYLE enables symbol versioning of the shared library
893 [default=yes]
894 --enable-visibility enables visibility safe usage [default=yes]
895 --enable-version-specific-runtime-libs
896 Specify that runtime libraries should be installed
897 in a compiler-specific directory
899 Optional Packages:
900 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
901 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
902 --with-target-subdir=SUBDIR
903 configuring in a subdirectory
904 --with-cross-host=HOST configuring with a cross compiler
905 --with-newlib assume newlib as a system C library
906 --with-gnu-ld assume the C compiler uses GNU ld default=no
907 --with-pic try to use only PIC/non-PIC objects default=use both
908 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
909 --without-libiconv-prefix don't search for libiconv in includedir and libdir
910 --with-gxx-include-dir=DIR
911 installation directory for include files
913 Some influential environment variables:
914 CC C compiler command
915 CFLAGS C compiler flags
916 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
917 nonstandard directory <lib dir>
918 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
919 headers in a nonstandard directory <include dir>
920 CXX C++ compiler command
921 CXXFLAGS C++ compiler flags
922 CPP C preprocessor
923 CXXCPP C++ preprocessor
925 Use these variables to override the choices made by `configure' or to help
926 it to find libraries and programs with nonstandard names/locations.
928 _ACEOF
931 if test "$ac_init_help" = "recursive"; then
932 # If there are subdirs, report their specific --help.
933 ac_popdir=`pwd`
934 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
935 test -d $ac_dir || continue
936 ac_builddir=.
938 if test "$ac_dir" != .; then
939 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
940 # A "../" for each directory in $ac_dir_suffix.
941 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
942 else
943 ac_dir_suffix= ac_top_builddir=
946 case $srcdir in
947 .) # No --srcdir option. We are building in place.
948 ac_srcdir=.
949 if test -z "$ac_top_builddir"; then
950 ac_top_srcdir=.
951 else
952 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
953 fi ;;
954 [\\/]* | ?:[\\/]* ) # Absolute path.
955 ac_srcdir=$srcdir$ac_dir_suffix;
956 ac_top_srcdir=$srcdir ;;
957 *) # Relative path.
958 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
959 ac_top_srcdir=$ac_top_builddir$srcdir ;;
960 esac
962 # Do not use `cd foo && pwd` to compute absolute paths, because
963 # the directories may not exist.
964 case `pwd` in
965 .) ac_abs_builddir="$ac_dir";;
967 case "$ac_dir" in
968 .) ac_abs_builddir=`pwd`;;
969 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
970 *) ac_abs_builddir=`pwd`/"$ac_dir";;
971 esac;;
972 esac
973 case $ac_abs_builddir in
974 .) ac_abs_top_builddir=${ac_top_builddir}.;;
976 case ${ac_top_builddir}. in
977 .) ac_abs_top_builddir=$ac_abs_builddir;;
978 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
979 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
980 esac;;
981 esac
982 case $ac_abs_builddir in
983 .) ac_abs_srcdir=$ac_srcdir;;
985 case $ac_srcdir in
986 .) ac_abs_srcdir=$ac_abs_builddir;;
987 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
988 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
989 esac;;
990 esac
991 case $ac_abs_builddir in
992 .) ac_abs_top_srcdir=$ac_top_srcdir;;
994 case $ac_top_srcdir in
995 .) ac_abs_top_srcdir=$ac_abs_builddir;;
996 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
997 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
998 esac;;
999 esac
1001 cd $ac_dir
1002 # Check for guested configure; otherwise get Cygnus style configure.
1003 if test -f $ac_srcdir/configure.gnu; then
1004 echo
1005 $SHELL $ac_srcdir/configure.gnu --help=recursive
1006 elif test -f $ac_srcdir/configure; then
1007 echo
1008 $SHELL $ac_srcdir/configure --help=recursive
1009 elif test -f $ac_srcdir/configure.ac ||
1010 test -f $ac_srcdir/configure.in; then
1011 echo
1012 $ac_configure --help
1013 else
1014 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1016 cd $ac_popdir
1017 done
1020 test -n "$ac_init_help" && exit 0
1021 if $ac_init_version; then
1022 cat <<\_ACEOF
1023 package-unused configure version-unused
1024 generated by GNU Autoconf 2.59
1026 Copyright (C) 2003 Free Software Foundation, Inc.
1027 This configure script is free software; the Free Software Foundation
1028 gives unlimited permission to copy, distribute and modify it.
1029 _ACEOF
1030 exit 0
1032 exec 5>config.log
1033 cat >&5 <<_ACEOF
1034 This file contains any messages produced by compilers while
1035 running configure, to aid debugging if configure makes a mistake.
1037 It was created by package-unused $as_me version-unused, which was
1038 generated by GNU Autoconf 2.59. Invocation command line was
1040 $ $0 $@
1042 _ACEOF
1044 cat <<_ASUNAME
1045 ## --------- ##
1046 ## Platform. ##
1047 ## --------- ##
1049 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1050 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1051 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1052 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1053 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1055 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1056 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1058 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1059 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1060 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1061 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1062 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1063 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1064 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1066 _ASUNAME
1068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1069 for as_dir in $PATH
1071 IFS=$as_save_IFS
1072 test -z "$as_dir" && as_dir=.
1073 echo "PATH: $as_dir"
1074 done
1076 } >&5
1078 cat >&5 <<_ACEOF
1081 ## ----------- ##
1082 ## Core tests. ##
1083 ## ----------- ##
1085 _ACEOF
1088 # Keep a trace of the command line.
1089 # Strip out --no-create and --no-recursion so they do not pile up.
1090 # Strip out --silent because we don't want to record it for future runs.
1091 # Also quote any args containing shell meta-characters.
1092 # Make two passes to allow for proper duplicate-argument suppression.
1093 ac_configure_args=
1094 ac_configure_args0=
1095 ac_configure_args1=
1096 ac_sep=
1097 ac_must_keep_next=false
1098 for ac_pass in 1 2
1100 for ac_arg
1102 case $ac_arg in
1103 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1104 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1105 | -silent | --silent | --silen | --sile | --sil)
1106 continue ;;
1107 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1108 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1109 esac
1110 case $ac_pass in
1111 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1113 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1114 if test $ac_must_keep_next = true; then
1115 ac_must_keep_next=false # Got value, back to normal.
1116 else
1117 case $ac_arg in
1118 *=* | --config-cache | -C | -disable-* | --disable-* \
1119 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1120 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1121 | -with-* | --with-* | -without-* | --without-* | --x)
1122 case "$ac_configure_args0 " in
1123 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1124 esac
1126 -* ) ac_must_keep_next=true ;;
1127 esac
1129 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1130 # Get rid of the leading space.
1131 ac_sep=" "
1133 esac
1134 done
1135 done
1136 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1137 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1139 # When interrupted or exit'd, cleanup temporary files, and complete
1140 # config.log. We remove comments because anyway the quotes in there
1141 # would cause problems or look ugly.
1142 # WARNING: Be sure not to use single quotes in there, as some shells,
1143 # such as our DU 5.0 friend, will then `close' the trap.
1144 trap 'exit_status=$?
1145 # Save into config.log some information that might help in debugging.
1147 echo
1149 cat <<\_ASBOX
1150 ## ---------------- ##
1151 ## Cache variables. ##
1152 ## ---------------- ##
1153 _ASBOX
1154 echo
1155 # The following way of writing the cache mishandles newlines in values,
1157 (set) 2>&1 |
1158 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1159 *ac_space=\ *)
1160 sed -n \
1161 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1162 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1165 sed -n \
1166 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1168 esac;
1170 echo
1172 cat <<\_ASBOX
1173 ## ----------------- ##
1174 ## Output variables. ##
1175 ## ----------------- ##
1176 _ASBOX
1177 echo
1178 for ac_var in $ac_subst_vars
1180 eval ac_val=$`echo $ac_var`
1181 echo "$ac_var='"'"'$ac_val'"'"'"
1182 done | sort
1183 echo
1185 if test -n "$ac_subst_files"; then
1186 cat <<\_ASBOX
1187 ## ------------- ##
1188 ## Output files. ##
1189 ## ------------- ##
1190 _ASBOX
1191 echo
1192 for ac_var in $ac_subst_files
1194 eval ac_val=$`echo $ac_var`
1195 echo "$ac_var='"'"'$ac_val'"'"'"
1196 done | sort
1197 echo
1200 if test -s confdefs.h; then
1201 cat <<\_ASBOX
1202 ## ----------- ##
1203 ## confdefs.h. ##
1204 ## ----------- ##
1205 _ASBOX
1206 echo
1207 sed "/^$/d" confdefs.h | sort
1208 echo
1210 test "$ac_signal" != 0 &&
1211 echo "$as_me: caught signal $ac_signal"
1212 echo "$as_me: exit $exit_status"
1213 } >&5
1214 rm -f core *.core &&
1215 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1216 exit $exit_status
1218 for ac_signal in 1 2 13 15; do
1219 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1220 done
1221 ac_signal=0
1223 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1224 rm -rf conftest* confdefs.h
1225 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1226 echo >confdefs.h
1228 # Predefined preprocessor variables.
1230 cat >>confdefs.h <<_ACEOF
1231 #define PACKAGE_NAME "$PACKAGE_NAME"
1232 _ACEOF
1235 cat >>confdefs.h <<_ACEOF
1236 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1237 _ACEOF
1240 cat >>confdefs.h <<_ACEOF
1241 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1242 _ACEOF
1245 cat >>confdefs.h <<_ACEOF
1246 #define PACKAGE_STRING "$PACKAGE_STRING"
1247 _ACEOF
1250 cat >>confdefs.h <<_ACEOF
1251 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1252 _ACEOF
1255 # Let the site file select an alternate cache file if it wants to.
1256 # Prefer explicitly selected file to automatically selected ones.
1257 if test -z "$CONFIG_SITE"; then
1258 if test "x$prefix" != xNONE; then
1259 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1260 else
1261 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1264 for ac_site_file in $CONFIG_SITE; do
1265 if test -r "$ac_site_file"; then
1266 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1267 echo "$as_me: loading site script $ac_site_file" >&6;}
1268 sed 's/^/| /' "$ac_site_file" >&5
1269 . "$ac_site_file"
1271 done
1273 if test -r "$cache_file"; then
1274 # Some versions of bash will fail to source /dev/null (special
1275 # files actually), so we avoid doing that.
1276 if test -f "$cache_file"; then
1277 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1278 echo "$as_me: loading cache $cache_file" >&6;}
1279 case $cache_file in
1280 [\\/]* | ?:[\\/]* ) . $cache_file;;
1281 *) . ./$cache_file;;
1282 esac
1284 else
1285 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1286 echo "$as_me: creating cache $cache_file" >&6;}
1287 >$cache_file
1290 # Check that the precious variables saved in the cache have kept the same
1291 # value.
1292 ac_cache_corrupted=false
1293 for ac_var in `(set) 2>&1 |
1294 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1295 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1296 eval ac_new_set=\$ac_env_${ac_var}_set
1297 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1298 eval ac_new_val="\$ac_env_${ac_var}_value"
1299 case $ac_old_set,$ac_new_set in
1300 set,)
1301 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1302 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1303 ac_cache_corrupted=: ;;
1304 ,set)
1305 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1306 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1307 ac_cache_corrupted=: ;;
1308 ,);;
1310 if test "x$ac_old_val" != "x$ac_new_val"; then
1311 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1312 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1313 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1314 echo "$as_me: former value: $ac_old_val" >&2;}
1315 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1316 echo "$as_me: current value: $ac_new_val" >&2;}
1317 ac_cache_corrupted=:
1318 fi;;
1319 esac
1320 # Pass precious variables to config.status.
1321 if test "$ac_new_set" = set; then
1322 case $ac_new_val in
1323 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1324 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1325 *) ac_arg=$ac_var=$ac_new_val ;;
1326 esac
1327 case " $ac_configure_args " in
1328 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1329 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1330 esac
1332 done
1333 if $ac_cache_corrupted; then
1334 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1335 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1336 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1337 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1338 { (exit 1); exit 1; }; }
1341 ac_ext=c
1342 ac_cpp='$CPP $CPPFLAGS'
1343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1374 ac_config_headers="$ac_config_headers config.h"
1377 # This works around the fact that libtool configuration may change LD
1378 # for this particular configuration, but some shells, instead of
1379 # keeping the changes in LD private, export them just because LD is
1380 # exported. Only used at the end of this file.
1381 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1383 # For libtool versioning info, format is CURRENT:REVISION:AGE
1384 libtool_VERSION=6:9:0
1387 # Find the rest of the source tree framework.
1388 # Default to --enable-multilib
1389 # Check whether --enable-multilib or --disable-multilib was given.
1390 if test "${enable_multilib+set}" = set; then
1391 enableval="$enable_multilib"
1392 case "$enableval" in
1393 yes) multilib=yes ;;
1394 no) multilib=no ;;
1395 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1396 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1397 { (exit 1); exit 1; }; } ;;
1398 esac
1399 else
1400 multilib=yes
1403 # We may get other options which we leave undocumented:
1404 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1405 # See config-ml.in if you want the gory details.
1407 if test "$srcdir" = "."; then
1408 if test "$with_target_subdir" != "."; then
1409 multi_basedir="$srcdir/$with_multisrctop../.."
1410 else
1411 multi_basedir="$srcdir/$with_multisrctop.."
1413 else
1414 multi_basedir="$srcdir/.."
1418 # Even if the default multilib is not a cross compilation,
1419 # it may be that some of the other multilibs are.
1420 if test $cross_compiling = no && test $multilib = yes \
1421 && test "x${with_multisubdir}" != x ; then
1422 cross_compiling=maybe
1425 ac_config_commands="$ac_config_commands default-1"
1428 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1430 # You will slowly go insane if you do not grok the following fact: when
1431 # building v3 as part of the compiler, the top-level /target/ becomes the
1432 # library's /host/. configure then causes --target to default to --host,
1433 # exactly like any other package using autoconf. Therefore, 'target' and
1434 # 'host' will always be the same. This makes sense both for native and
1435 # cross compilers, just think about it for a little while. :-)
1437 # Also, if v3 is being configured as part of a cross compiler, the top-level
1438 # configure script will pass the "real" host as $with_cross_host.
1440 # Do not delete or change the following two lines. For why, see
1441 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1442 ac_aux_dir=
1443 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1444 if test -f $ac_dir/install-sh; then
1445 ac_aux_dir=$ac_dir
1446 ac_install_sh="$ac_aux_dir/install-sh -c"
1447 break
1448 elif test -f $ac_dir/install.sh; then
1449 ac_aux_dir=$ac_dir
1450 ac_install_sh="$ac_aux_dir/install.sh -c"
1451 break
1452 elif test -f $ac_dir/shtool; then
1453 ac_aux_dir=$ac_dir
1454 ac_install_sh="$ac_aux_dir/shtool install -c"
1455 break
1457 done
1458 if test -z "$ac_aux_dir"; then
1459 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1460 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1461 { (exit 1); exit 1; }; }
1463 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1464 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1465 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1467 # Make sure we can run config.sub.
1468 $ac_config_sub sun4 >/dev/null 2>&1 ||
1469 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1470 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1471 { (exit 1); exit 1; }; }
1473 echo "$as_me:$LINENO: checking build system type" >&5
1474 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1475 if test "${ac_cv_build+set}" = set; then
1476 echo $ECHO_N "(cached) $ECHO_C" >&6
1477 else
1478 ac_cv_build_alias=$build_alias
1479 test -z "$ac_cv_build_alias" &&
1480 ac_cv_build_alias=`$ac_config_guess`
1481 test -z "$ac_cv_build_alias" &&
1482 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1483 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1484 { (exit 1); exit 1; }; }
1485 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1486 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1487 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1488 { (exit 1); exit 1; }; }
1491 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1492 echo "${ECHO_T}$ac_cv_build" >&6
1493 build=$ac_cv_build
1494 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1495 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1496 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1499 echo "$as_me:$LINENO: checking host system type" >&5
1500 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1501 if test "${ac_cv_host+set}" = set; then
1502 echo $ECHO_N "(cached) $ECHO_C" >&6
1503 else
1504 ac_cv_host_alias=$host_alias
1505 test -z "$ac_cv_host_alias" &&
1506 ac_cv_host_alias=$ac_cv_build_alias
1507 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1508 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1509 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1510 { (exit 1); exit 1; }; }
1513 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1514 echo "${ECHO_T}$ac_cv_host" >&6
1515 host=$ac_cv_host
1516 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1517 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1518 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1521 echo "$as_me:$LINENO: checking target system type" >&5
1522 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1523 if test "${ac_cv_target+set}" = set; then
1524 echo $ECHO_N "(cached) $ECHO_C" >&6
1525 else
1526 ac_cv_target_alias=$target_alias
1527 test "x$ac_cv_target_alias" = "x" &&
1528 ac_cv_target_alias=$ac_cv_host_alias
1529 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1530 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1531 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1532 { (exit 1); exit 1; }; }
1535 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1536 echo "${ECHO_T}$ac_cv_target" >&6
1537 target=$ac_cv_target
1538 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1539 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1540 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1543 # The aliases save the names the user supplied, while $host etc.
1544 # will get canonicalized.
1545 test -n "$target_alias" &&
1546 test "$program_prefix$program_suffix$program_transform_name" = \
1547 NONENONEs,x,x, &&
1548 program_prefix=${target_alias}-
1549 target_alias=${target_alias-$host_alias}
1551 # Handy for debugging:
1552 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1554 if test "$build" != "$host"; then
1555 # We are being configured with some form of cross compiler.
1556 GLIBCXX_IS_NATIVE=false
1557 case "$host","$target" in
1558 # Darwin crosses can use the host system's libraries and headers,
1559 # because of the fat library support. Of course, it must be the
1560 # same version of Darwin on both sides. Allow the user to
1561 # just say --target=foo-darwin without a version number to mean
1562 # "the version on this system".
1563 *-*-darwin*,*-*-darwin*)
1564 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1565 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1566 if test $hostos = $targetos -o $targetos = darwin ; then
1567 GLIBCXX_IS_NATIVE=true
1574 esac
1575 else
1576 GLIBCXX_IS_NATIVE=true
1579 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1580 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1581 # 1.x: minimum required version
1582 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1583 # of other PACKAGE_* variables will, however, and there's nothing
1584 # we can do about that; they come from AC_INIT).
1585 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1586 # file in the top srcdir, etc, etc), so stop complaining.
1587 # no-dependencies: turns off auto dependency generation (just for now)
1588 # -Wall: turns on all automake warnings...
1589 # -Wno-portability: ...except this one, since GNU make is now required.
1590 am__api_version="1.9"
1591 # Find a good install program. We prefer a C program (faster),
1592 # so one script is as good as another. But avoid the broken or
1593 # incompatible versions:
1594 # SysV /etc/install, /usr/sbin/install
1595 # SunOS /usr/etc/install
1596 # IRIX /sbin/install
1597 # AIX /bin/install
1598 # AmigaOS /C/install, which installs bootblocks on floppy discs
1599 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1600 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1601 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1602 # OS/2's system install, which has a completely different semantic
1603 # ./install, which can be erroneously created by make from ./install.sh.
1604 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1605 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1606 if test -z "$INSTALL"; then
1607 if test "${ac_cv_path_install+set}" = set; then
1608 echo $ECHO_N "(cached) $ECHO_C" >&6
1609 else
1610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1611 for as_dir in $PATH
1613 IFS=$as_save_IFS
1614 test -z "$as_dir" && as_dir=.
1615 # Account for people who put trailing slashes in PATH elements.
1616 case $as_dir/ in
1617 ./ | .// | /cC/* | \
1618 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1619 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1620 /usr/ucb/* ) ;;
1622 # OSF1 and SCO ODT 3.0 have their own names for install.
1623 # Don't use installbsd from OSF since it installs stuff as root
1624 # by default.
1625 for ac_prog in ginstall scoinst install; do
1626 for ac_exec_ext in '' $ac_executable_extensions; do
1627 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1628 if test $ac_prog = install &&
1629 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1630 # AIX install. It has an incompatible calling convention.
1632 elif test $ac_prog = install &&
1633 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1634 # program-specific install script used by HP pwplus--don't use.
1636 else
1637 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1638 break 3
1641 done
1642 done
1644 esac
1645 done
1649 if test "${ac_cv_path_install+set}" = set; then
1650 INSTALL=$ac_cv_path_install
1651 else
1652 # As a last resort, use the slow shell script. We don't cache a
1653 # path for INSTALL within a source directory, because that will
1654 # break other packages using the cache if that directory is
1655 # removed, or if the path is relative.
1656 INSTALL=$ac_install_sh
1659 echo "$as_me:$LINENO: result: $INSTALL" >&5
1660 echo "${ECHO_T}$INSTALL" >&6
1662 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1663 # It thinks the first close brace ends the variable substitution.
1664 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1666 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1668 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1670 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1671 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1672 # Just in case
1673 sleep 1
1674 echo timestamp > conftest.file
1675 # Do `set' in a subshell so we don't clobber the current shell's
1676 # arguments. Must try -L first in case configure is actually a
1677 # symlink; some systems play weird games with the mod time of symlinks
1678 # (eg FreeBSD returns the mod time of the symlink's containing
1679 # directory).
1680 if (
1681 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1682 if test "$*" = "X"; then
1683 # -L didn't work.
1684 set X `ls -t $srcdir/configure conftest.file`
1686 rm -f conftest.file
1687 if test "$*" != "X $srcdir/configure conftest.file" \
1688 && test "$*" != "X conftest.file $srcdir/configure"; then
1690 # If neither matched, then we have a broken ls. This can happen
1691 # if, for instance, CONFIG_SHELL is bash and it inherits a
1692 # broken ls alias from the environment. This has actually
1693 # happened. Such a system could not be considered "sane".
1694 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1695 alias in your environment" >&5
1696 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1697 alias in your environment" >&2;}
1698 { (exit 1); exit 1; }; }
1701 test "$2" = conftest.file
1703 then
1704 # Ok.
1706 else
1707 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1708 Check your system clock" >&5
1709 echo "$as_me: error: newly created file is older than distributed files!
1710 Check your system clock" >&2;}
1711 { (exit 1); exit 1; }; }
1713 echo "$as_me:$LINENO: result: yes" >&5
1714 echo "${ECHO_T}yes" >&6
1715 test "$program_prefix" != NONE &&
1716 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1717 # Use a double $ so make ignores it.
1718 test "$program_suffix" != NONE &&
1719 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1720 # Double any \ or $. echo might interpret backslashes.
1721 # By default was `s,x,x', remove it if useless.
1722 cat <<\_ACEOF >conftest.sed
1723 s/[\\$]/&&/g;s/;s,x,x,$//
1724 _ACEOF
1725 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1726 rm conftest.sed
1728 # expand $ac_aux_dir to an absolute path
1729 am_aux_dir=`cd $ac_aux_dir && pwd`
1731 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1732 # Use eval to expand $SHELL
1733 if eval "$MISSING --run true"; then
1734 am_missing_run="$MISSING --run "
1735 else
1736 am_missing_run=
1737 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1738 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1741 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1742 # We used to keeping the `.' as first argument, in order to
1743 # allow $(mkdir_p) to be used without argument. As in
1744 # $(mkdir_p) $(somedir)
1745 # where $(somedir) is conditionally defined. However this is wrong
1746 # for two reasons:
1747 # 1. if the package is installed by a user who cannot write `.'
1748 # make install will fail,
1749 # 2. the above comment should most certainly read
1750 # $(mkdir_p) $(DESTDIR)$(somedir)
1751 # so it does not work when $(somedir) is undefined and
1752 # $(DESTDIR) is not.
1753 # To support the latter case, we have to write
1754 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1755 # so the `.' trick is pointless.
1756 mkdir_p='mkdir -p --'
1757 else
1758 # On NextStep and OpenStep, the `mkdir' command does not
1759 # recognize any option. It will interpret all options as
1760 # directories to create, and then abort because `.' already
1761 # exists.
1762 for d in ./-p ./--version;
1764 test -d $d && rmdir $d
1765 done
1766 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1767 if test -f "$ac_aux_dir/mkinstalldirs"; then
1768 mkdir_p='$(mkinstalldirs)'
1769 else
1770 mkdir_p='$(install_sh) -d'
1774 for ac_prog in gawk mawk nawk awk
1776 # Extract the first word of "$ac_prog", so it can be a program name with args.
1777 set dummy $ac_prog; ac_word=$2
1778 echo "$as_me:$LINENO: checking for $ac_word" >&5
1779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1780 if test "${ac_cv_prog_AWK+set}" = set; then
1781 echo $ECHO_N "(cached) $ECHO_C" >&6
1782 else
1783 if test -n "$AWK"; then
1784 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1785 else
1786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1787 for as_dir in $PATH
1789 IFS=$as_save_IFS
1790 test -z "$as_dir" && as_dir=.
1791 for ac_exec_ext in '' $ac_executable_extensions; do
1792 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1793 ac_cv_prog_AWK="$ac_prog"
1794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1795 break 2
1797 done
1798 done
1802 AWK=$ac_cv_prog_AWK
1803 if test -n "$AWK"; then
1804 echo "$as_me:$LINENO: result: $AWK" >&5
1805 echo "${ECHO_T}$AWK" >&6
1806 else
1807 echo "$as_me:$LINENO: result: no" >&5
1808 echo "${ECHO_T}no" >&6
1811 test -n "$AWK" && break
1812 done
1814 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1815 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1816 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1817 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1818 echo $ECHO_N "(cached) $ECHO_C" >&6
1819 else
1820 cat >conftest.make <<\_ACEOF
1821 all:
1822 @echo 'ac_maketemp="$(MAKE)"'
1823 _ACEOF
1824 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1825 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1826 if test -n "$ac_maketemp"; then
1827 eval ac_cv_prog_make_${ac_make}_set=yes
1828 else
1829 eval ac_cv_prog_make_${ac_make}_set=no
1831 rm -f conftest.make
1833 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1834 echo "$as_me:$LINENO: result: yes" >&5
1835 echo "${ECHO_T}yes" >&6
1836 SET_MAKE=
1837 else
1838 echo "$as_me:$LINENO: result: no" >&5
1839 echo "${ECHO_T}no" >&6
1840 SET_MAKE="MAKE=${MAKE-make}"
1843 rm -rf .tst 2>/dev/null
1844 mkdir .tst 2>/dev/null
1845 if test -d .tst; then
1846 am__leading_dot=.
1847 else
1848 am__leading_dot=_
1850 rmdir .tst 2>/dev/null
1852 # test to see if srcdir already configured
1853 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1854 test -f $srcdir/config.status; then
1855 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1856 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1857 { (exit 1); exit 1; }; }
1860 # test whether we have cygpath
1861 if test -z "$CYGPATH_W"; then
1862 if (cygpath --version) >/dev/null 2>/dev/null; then
1863 CYGPATH_W='cygpath -w'
1864 else
1865 CYGPATH_W=echo
1870 # Define the identity of the package.
1871 PACKAGE='libstdc++'
1872 VERSION='version-unused'
1875 # Some tools Automake needs.
1877 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1880 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1883 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1886 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1889 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1891 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1893 # Installed binaries are usually stripped using `strip' when the user
1894 # run `make install-strip'. However `strip' might not be the right
1895 # tool to use in cross-compilation environments, therefore Automake
1896 # will honor the `STRIP' environment variable to overrule this program.
1897 if test "$cross_compiling" != no; then
1898 if test -n "$ac_tool_prefix"; then
1899 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1900 set dummy ${ac_tool_prefix}strip; ac_word=$2
1901 echo "$as_me:$LINENO: checking for $ac_word" >&5
1902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1903 if test "${ac_cv_prog_STRIP+set}" = set; then
1904 echo $ECHO_N "(cached) $ECHO_C" >&6
1905 else
1906 if test -n "$STRIP"; then
1907 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1908 else
1909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1910 for as_dir in $PATH
1912 IFS=$as_save_IFS
1913 test -z "$as_dir" && as_dir=.
1914 for ac_exec_ext in '' $ac_executable_extensions; do
1915 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1916 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1918 break 2
1920 done
1921 done
1925 STRIP=$ac_cv_prog_STRIP
1926 if test -n "$STRIP"; then
1927 echo "$as_me:$LINENO: result: $STRIP" >&5
1928 echo "${ECHO_T}$STRIP" >&6
1929 else
1930 echo "$as_me:$LINENO: result: no" >&5
1931 echo "${ECHO_T}no" >&6
1935 if test -z "$ac_cv_prog_STRIP"; then
1936 ac_ct_STRIP=$STRIP
1937 # Extract the first word of "strip", so it can be a program name with args.
1938 set dummy strip; ac_word=$2
1939 echo "$as_me:$LINENO: checking for $ac_word" >&5
1940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1941 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1942 echo $ECHO_N "(cached) $ECHO_C" >&6
1943 else
1944 if test -n "$ac_ct_STRIP"; then
1945 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1946 else
1947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1948 for as_dir in $PATH
1950 IFS=$as_save_IFS
1951 test -z "$as_dir" && as_dir=.
1952 for ac_exec_ext in '' $ac_executable_extensions; do
1953 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1954 ac_cv_prog_ac_ct_STRIP="strip"
1955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1956 break 2
1958 done
1959 done
1961 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1964 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1965 if test -n "$ac_ct_STRIP"; then
1966 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1967 echo "${ECHO_T}$ac_ct_STRIP" >&6
1968 else
1969 echo "$as_me:$LINENO: result: no" >&5
1970 echo "${ECHO_T}no" >&6
1973 STRIP=$ac_ct_STRIP
1974 else
1975 STRIP="$ac_cv_prog_STRIP"
1979 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1981 # We need awk for the "check" target. The system "awk" is bad on
1982 # some platforms.
1983 # Always define AMTAR for backward compatibility.
1985 AMTAR=${AMTAR-"${am_missing_run}tar"}
1987 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1998 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
1999 # up critical shell variables.
2001 ac_ext=c
2002 ac_cpp='$CPP $CPPFLAGS'
2003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2006 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2007 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2008 # On Suns, sometimes $CPP names a directory.
2009 if test -n "$CPP" && test -d "$CPP"; then
2010 CPP=
2012 if test -z "$CPP"; then
2013 if test "${ac_cv_prog_CPP+set}" = set; then
2014 echo $ECHO_N "(cached) $ECHO_C" >&6
2015 else
2016 # Double quotes because CPP needs to be expanded
2017 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2019 ac_preproc_ok=false
2020 for ac_c_preproc_warn_flag in '' yes
2022 # Use a header file that comes with gcc, so configuring glibc
2023 # with a fresh cross-compiler works.
2024 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2025 # <limits.h> exists even on freestanding compilers.
2026 # On the NeXT, cc -E runs the code through the compiler's parser,
2027 # not just through cpp. "Syntax error" is here to catch this case.
2028 cat >conftest.$ac_ext <<_ACEOF
2029 /* confdefs.h. */
2030 _ACEOF
2031 cat confdefs.h >>conftest.$ac_ext
2032 cat >>conftest.$ac_ext <<_ACEOF
2033 /* end confdefs.h. */
2034 #ifdef __STDC__
2035 # include <limits.h>
2036 #else
2037 # include <assert.h>
2038 #endif
2039 Syntax error
2040 _ACEOF
2041 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2042 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2043 ac_status=$?
2044 grep -v '^ *+' conftest.er1 >conftest.err
2045 rm -f conftest.er1
2046 cat conftest.err >&5
2047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2048 (exit $ac_status); } >/dev/null; then
2049 if test -s conftest.err; then
2050 ac_cpp_err=$ac_c_preproc_warn_flag
2051 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2052 else
2053 ac_cpp_err=
2055 else
2056 ac_cpp_err=yes
2058 if test -z "$ac_cpp_err"; then
2060 else
2061 echo "$as_me: failed program was:" >&5
2062 sed 's/^/| /' conftest.$ac_ext >&5
2064 # Broken: fails on valid input.
2065 continue
2067 rm -f conftest.err conftest.$ac_ext
2069 # OK, works on sane cases. Now check whether non-existent headers
2070 # can be detected and how.
2071 cat >conftest.$ac_ext <<_ACEOF
2072 /* confdefs.h. */
2073 _ACEOF
2074 cat confdefs.h >>conftest.$ac_ext
2075 cat >>conftest.$ac_ext <<_ACEOF
2076 /* end confdefs.h. */
2077 #include <ac_nonexistent.h>
2078 _ACEOF
2079 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2080 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2081 ac_status=$?
2082 grep -v '^ *+' conftest.er1 >conftest.err
2083 rm -f conftest.er1
2084 cat conftest.err >&5
2085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2086 (exit $ac_status); } >/dev/null; then
2087 if test -s conftest.err; then
2088 ac_cpp_err=$ac_c_preproc_warn_flag
2089 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2090 else
2091 ac_cpp_err=
2093 else
2094 ac_cpp_err=yes
2096 if test -z "$ac_cpp_err"; then
2097 # Broken: success on invalid input.
2098 continue
2099 else
2100 echo "$as_me: failed program was:" >&5
2101 sed 's/^/| /' conftest.$ac_ext >&5
2103 # Passes both tests.
2104 ac_preproc_ok=:
2105 break
2107 rm -f conftest.err conftest.$ac_ext
2109 done
2110 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2111 rm -f conftest.err conftest.$ac_ext
2112 if $ac_preproc_ok; then
2113 break
2116 done
2117 ac_cv_prog_CPP=$CPP
2120 CPP=$ac_cv_prog_CPP
2121 else
2122 ac_cv_prog_CPP=$CPP
2124 echo "$as_me:$LINENO: result: $CPP" >&5
2125 echo "${ECHO_T}$CPP" >&6
2126 ac_preproc_ok=false
2127 for ac_c_preproc_warn_flag in '' yes
2129 # Use a header file that comes with gcc, so configuring glibc
2130 # with a fresh cross-compiler works.
2131 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2132 # <limits.h> exists even on freestanding compilers.
2133 # On the NeXT, cc -E runs the code through the compiler's parser,
2134 # not just through cpp. "Syntax error" is here to catch this case.
2135 cat >conftest.$ac_ext <<_ACEOF
2136 /* confdefs.h. */
2137 _ACEOF
2138 cat confdefs.h >>conftest.$ac_ext
2139 cat >>conftest.$ac_ext <<_ACEOF
2140 /* end confdefs.h. */
2141 #ifdef __STDC__
2142 # include <limits.h>
2143 #else
2144 # include <assert.h>
2145 #endif
2146 Syntax error
2147 _ACEOF
2148 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2149 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2150 ac_status=$?
2151 grep -v '^ *+' conftest.er1 >conftest.err
2152 rm -f conftest.er1
2153 cat conftest.err >&5
2154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2155 (exit $ac_status); } >/dev/null; then
2156 if test -s conftest.err; then
2157 ac_cpp_err=$ac_c_preproc_warn_flag
2158 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2159 else
2160 ac_cpp_err=
2162 else
2163 ac_cpp_err=yes
2165 if test -z "$ac_cpp_err"; then
2167 else
2168 echo "$as_me: failed program was:" >&5
2169 sed 's/^/| /' conftest.$ac_ext >&5
2171 # Broken: fails on valid input.
2172 continue
2174 rm -f conftest.err conftest.$ac_ext
2176 # OK, works on sane cases. Now check whether non-existent headers
2177 # can be detected and how.
2178 cat >conftest.$ac_ext <<_ACEOF
2179 /* confdefs.h. */
2180 _ACEOF
2181 cat confdefs.h >>conftest.$ac_ext
2182 cat >>conftest.$ac_ext <<_ACEOF
2183 /* end confdefs.h. */
2184 #include <ac_nonexistent.h>
2185 _ACEOF
2186 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2187 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2188 ac_status=$?
2189 grep -v '^ *+' conftest.er1 >conftest.err
2190 rm -f conftest.er1
2191 cat conftest.err >&5
2192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2193 (exit $ac_status); } >/dev/null; then
2194 if test -s conftest.err; then
2195 ac_cpp_err=$ac_c_preproc_warn_flag
2196 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2197 else
2198 ac_cpp_err=
2200 else
2201 ac_cpp_err=yes
2203 if test -z "$ac_cpp_err"; then
2204 # Broken: success on invalid input.
2205 continue
2206 else
2207 echo "$as_me: failed program was:" >&5
2208 sed 's/^/| /' conftest.$ac_ext >&5
2210 # Passes both tests.
2211 ac_preproc_ok=:
2212 break
2214 rm -f conftest.err conftest.$ac_ext
2216 done
2217 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2218 rm -f conftest.err conftest.$ac_ext
2219 if $ac_preproc_ok; then
2221 else
2222 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2223 See \`config.log' for more details." >&5
2224 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2225 See \`config.log' for more details." >&2;}
2226 { (exit 1); exit 1; }; }
2229 ac_ext=c
2230 ac_cpp='$CPP $CPPFLAGS'
2231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2236 echo "$as_me:$LINENO: checking for egrep" >&5
2237 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2238 if test "${ac_cv_prog_egrep+set}" = set; then
2239 echo $ECHO_N "(cached) $ECHO_C" >&6
2240 else
2241 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2242 then ac_cv_prog_egrep='grep -E'
2243 else ac_cv_prog_egrep='egrep'
2246 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2247 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2248 EGREP=$ac_cv_prog_egrep
2252 # Keep these sync'd with the list in Makefile.am. The first provides an
2253 # expandable list at autoconf time; the second provides an expandable list
2254 # (i.e., shell variable) at configure time.
2256 SUBDIRS='include libmath libsupc++ src po testsuite'
2258 # These need to be absolute paths, yet at the same time need to
2259 # canonicalize only relative paths, because then amd will not unmount
2260 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2261 glibcxx_builddir=`${PWDCMD-pwd}`
2262 case $srcdir in
2263 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2264 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2265 esac
2266 toplevel_srcdir=${glibcxx_srcdir}/..
2271 # We use these options to decide which functions to include. They are
2272 # set from the top level.
2274 # Check whether --with-target-subdir or --without-target-subdir was given.
2275 if test "${with_target_subdir+set}" = set; then
2276 withval="$with_target_subdir"
2281 # Check whether --with-cross-host or --without-cross-host was given.
2282 if test "${with_cross_host+set}" = set; then
2283 withval="$with_cross_host"
2288 # Check whether --with-newlib or --without-newlib was given.
2289 if test "${with_newlib+set}" = set; then
2290 withval="$with_newlib"
2294 # We're almost certainly being configured before anything else which uses
2295 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2296 # we not cache the value of CXX that we "discover" here, because it's set
2297 # to something unique for us and libjava. Other target libraries need to
2298 # find CXX for themselves. We yank the rug out from under the normal AC_*
2299 # process by sneakily renaming the cache variable. This also lets us debug
2300 # the value of "our" CXX in postmortems.
2302 # We must also force CXX to /not/ be a precious variable, otherwise the
2303 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2304 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2305 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2306 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2308 # -fno-builtin must be present here so that a non-conflicting form of
2309 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2314 save_CXXFLAGS="$CXXFLAGS"
2315 CXXFLAGS="$CXXFLAGS -fno-builtin"
2316 ac_ext=c
2317 ac_cpp='$CPP $CPPFLAGS'
2318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2321 if test -n "$ac_tool_prefix"; then
2322 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2323 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2324 echo "$as_me:$LINENO: checking for $ac_word" >&5
2325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2326 if test "${ac_cv_prog_CC+set}" = set; then
2327 echo $ECHO_N "(cached) $ECHO_C" >&6
2328 else
2329 if test -n "$CC"; then
2330 ac_cv_prog_CC="$CC" # Let the user override the test.
2331 else
2332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2333 for as_dir in $PATH
2335 IFS=$as_save_IFS
2336 test -z "$as_dir" && as_dir=.
2337 for ac_exec_ext in '' $ac_executable_extensions; do
2338 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2339 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2341 break 2
2343 done
2344 done
2348 CC=$ac_cv_prog_CC
2349 if test -n "$CC"; then
2350 echo "$as_me:$LINENO: result: $CC" >&5
2351 echo "${ECHO_T}$CC" >&6
2352 else
2353 echo "$as_me:$LINENO: result: no" >&5
2354 echo "${ECHO_T}no" >&6
2358 if test -z "$ac_cv_prog_CC"; then
2359 ac_ct_CC=$CC
2360 # Extract the first word of "gcc", so it can be a program name with args.
2361 set dummy gcc; ac_word=$2
2362 echo "$as_me:$LINENO: checking for $ac_word" >&5
2363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2364 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2365 echo $ECHO_N "(cached) $ECHO_C" >&6
2366 else
2367 if test -n "$ac_ct_CC"; then
2368 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2369 else
2370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2371 for as_dir in $PATH
2373 IFS=$as_save_IFS
2374 test -z "$as_dir" && as_dir=.
2375 for ac_exec_ext in '' $ac_executable_extensions; do
2376 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2377 ac_cv_prog_ac_ct_CC="gcc"
2378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2379 break 2
2381 done
2382 done
2386 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2387 if test -n "$ac_ct_CC"; then
2388 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2389 echo "${ECHO_T}$ac_ct_CC" >&6
2390 else
2391 echo "$as_me:$LINENO: result: no" >&5
2392 echo "${ECHO_T}no" >&6
2395 CC=$ac_ct_CC
2396 else
2397 CC="$ac_cv_prog_CC"
2400 if test -z "$CC"; then
2401 if test -n "$ac_tool_prefix"; then
2402 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2403 set dummy ${ac_tool_prefix}cc; ac_word=$2
2404 echo "$as_me:$LINENO: checking for $ac_word" >&5
2405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2406 if test "${ac_cv_prog_CC+set}" = set; then
2407 echo $ECHO_N "(cached) $ECHO_C" >&6
2408 else
2409 if test -n "$CC"; then
2410 ac_cv_prog_CC="$CC" # Let the user override the test.
2411 else
2412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2413 for as_dir in $PATH
2415 IFS=$as_save_IFS
2416 test -z "$as_dir" && as_dir=.
2417 for ac_exec_ext in '' $ac_executable_extensions; do
2418 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2419 ac_cv_prog_CC="${ac_tool_prefix}cc"
2420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2421 break 2
2423 done
2424 done
2428 CC=$ac_cv_prog_CC
2429 if test -n "$CC"; then
2430 echo "$as_me:$LINENO: result: $CC" >&5
2431 echo "${ECHO_T}$CC" >&6
2432 else
2433 echo "$as_me:$LINENO: result: no" >&5
2434 echo "${ECHO_T}no" >&6
2438 if test -z "$ac_cv_prog_CC"; then
2439 ac_ct_CC=$CC
2440 # Extract the first word of "cc", so it can be a program name with args.
2441 set dummy cc; ac_word=$2
2442 echo "$as_me:$LINENO: checking for $ac_word" >&5
2443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2444 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2445 echo $ECHO_N "(cached) $ECHO_C" >&6
2446 else
2447 if test -n "$ac_ct_CC"; then
2448 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2449 else
2450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2451 for as_dir in $PATH
2453 IFS=$as_save_IFS
2454 test -z "$as_dir" && as_dir=.
2455 for ac_exec_ext in '' $ac_executable_extensions; do
2456 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2457 ac_cv_prog_ac_ct_CC="cc"
2458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2459 break 2
2461 done
2462 done
2466 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2467 if test -n "$ac_ct_CC"; then
2468 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2469 echo "${ECHO_T}$ac_ct_CC" >&6
2470 else
2471 echo "$as_me:$LINENO: result: no" >&5
2472 echo "${ECHO_T}no" >&6
2475 CC=$ac_ct_CC
2476 else
2477 CC="$ac_cv_prog_CC"
2481 if test -z "$CC"; then
2482 # Extract the first word of "cc", so it can be a program name with args.
2483 set dummy cc; ac_word=$2
2484 echo "$as_me:$LINENO: checking for $ac_word" >&5
2485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2486 if test "${ac_cv_prog_CC+set}" = set; then
2487 echo $ECHO_N "(cached) $ECHO_C" >&6
2488 else
2489 if test -n "$CC"; then
2490 ac_cv_prog_CC="$CC" # Let the user override the test.
2491 else
2492 ac_prog_rejected=no
2493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2494 for as_dir in $PATH
2496 IFS=$as_save_IFS
2497 test -z "$as_dir" && as_dir=.
2498 for ac_exec_ext in '' $ac_executable_extensions; do
2499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2500 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2501 ac_prog_rejected=yes
2502 continue
2504 ac_cv_prog_CC="cc"
2505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2506 break 2
2508 done
2509 done
2511 if test $ac_prog_rejected = yes; then
2512 # We found a bogon in the path, so make sure we never use it.
2513 set dummy $ac_cv_prog_CC
2514 shift
2515 if test $# != 0; then
2516 # We chose a different compiler from the bogus one.
2517 # However, it has the same basename, so the bogon will be chosen
2518 # first if we set CC to just the basename; use the full file name.
2519 shift
2520 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2525 CC=$ac_cv_prog_CC
2526 if test -n "$CC"; then
2527 echo "$as_me:$LINENO: result: $CC" >&5
2528 echo "${ECHO_T}$CC" >&6
2529 else
2530 echo "$as_me:$LINENO: result: no" >&5
2531 echo "${ECHO_T}no" >&6
2535 if test -z "$CC"; then
2536 if test -n "$ac_tool_prefix"; then
2537 for ac_prog in cl
2539 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2540 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2541 echo "$as_me:$LINENO: checking for $ac_word" >&5
2542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2543 if test "${ac_cv_prog_CC+set}" = set; then
2544 echo $ECHO_N "(cached) $ECHO_C" >&6
2545 else
2546 if test -n "$CC"; then
2547 ac_cv_prog_CC="$CC" # Let the user override the test.
2548 else
2549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2550 for as_dir in $PATH
2552 IFS=$as_save_IFS
2553 test -z "$as_dir" && as_dir=.
2554 for ac_exec_ext in '' $ac_executable_extensions; do
2555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2556 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2558 break 2
2560 done
2561 done
2565 CC=$ac_cv_prog_CC
2566 if test -n "$CC"; then
2567 echo "$as_me:$LINENO: result: $CC" >&5
2568 echo "${ECHO_T}$CC" >&6
2569 else
2570 echo "$as_me:$LINENO: result: no" >&5
2571 echo "${ECHO_T}no" >&6
2574 test -n "$CC" && break
2575 done
2577 if test -z "$CC"; then
2578 ac_ct_CC=$CC
2579 for ac_prog in cl
2581 # Extract the first word of "$ac_prog", so it can be a program name with args.
2582 set dummy $ac_prog; ac_word=$2
2583 echo "$as_me:$LINENO: checking for $ac_word" >&5
2584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2585 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2586 echo $ECHO_N "(cached) $ECHO_C" >&6
2587 else
2588 if test -n "$ac_ct_CC"; then
2589 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2590 else
2591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2592 for as_dir in $PATH
2594 IFS=$as_save_IFS
2595 test -z "$as_dir" && as_dir=.
2596 for ac_exec_ext in '' $ac_executable_extensions; do
2597 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2598 ac_cv_prog_ac_ct_CC="$ac_prog"
2599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2600 break 2
2602 done
2603 done
2607 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2608 if test -n "$ac_ct_CC"; then
2609 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2610 echo "${ECHO_T}$ac_ct_CC" >&6
2611 else
2612 echo "$as_me:$LINENO: result: no" >&5
2613 echo "${ECHO_T}no" >&6
2616 test -n "$ac_ct_CC" && break
2617 done
2619 CC=$ac_ct_CC
2625 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2626 See \`config.log' for more details." >&5
2627 echo "$as_me: error: no acceptable C compiler found in \$PATH
2628 See \`config.log' for more details." >&2;}
2629 { (exit 1); exit 1; }; }
2631 # Provide some information about the compiler.
2632 echo "$as_me:$LINENO:" \
2633 "checking for C compiler version" >&5
2634 ac_compiler=`set X $ac_compile; echo $2`
2635 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2636 (eval $ac_compiler --version </dev/null >&5) 2>&5
2637 ac_status=$?
2638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2639 (exit $ac_status); }
2640 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2641 (eval $ac_compiler -v </dev/null >&5) 2>&5
2642 ac_status=$?
2643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2644 (exit $ac_status); }
2645 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2646 (eval $ac_compiler -V </dev/null >&5) 2>&5
2647 ac_status=$?
2648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649 (exit $ac_status); }
2651 cat >conftest.$ac_ext <<_ACEOF
2652 /* confdefs.h. */
2653 _ACEOF
2654 cat confdefs.h >>conftest.$ac_ext
2655 cat >>conftest.$ac_ext <<_ACEOF
2656 /* end confdefs.h. */
2659 main ()
2663 return 0;
2665 _ACEOF
2666 # FIXME: Cleanup?
2667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2668 (eval $ac_link) 2>&5
2669 ac_status=$?
2670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671 (exit $ac_status); }; then
2672 gcc_no_link=no
2673 else
2674 gcc_no_link=yes
2677 if test x$gcc_no_link = xyes; then
2678 # Setting cross_compile will disable run tests; it will
2679 # also disable AC_CHECK_FILE but that's generally
2680 # correct if we can't link.
2681 cross_compiling=yes
2682 EXEEXT=
2683 else
2684 cat >conftest.$ac_ext <<_ACEOF
2685 /* confdefs.h. */
2686 _ACEOF
2687 cat confdefs.h >>conftest.$ac_ext
2688 cat >>conftest.$ac_ext <<_ACEOF
2689 /* end confdefs.h. */
2692 main ()
2696 return 0;
2698 _ACEOF
2699 ac_clean_files_save=$ac_clean_files
2700 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2701 # Try to create an executable without -o first, disregard a.out.
2702 # It will help us diagnose broken compilers, and finding out an intuition
2703 # of exeext.
2704 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2705 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2706 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2707 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2708 (eval $ac_link_default) 2>&5
2709 ac_status=$?
2710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2711 (exit $ac_status); }; then
2712 # Find the output, starting from the most likely. This scheme is
2713 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2714 # resort.
2716 # Be careful to initialize this variable, since it used to be cached.
2717 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2718 ac_cv_exeext=
2719 # b.out is created by i960 compilers.
2720 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2722 test -f "$ac_file" || continue
2723 case $ac_file in
2724 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2726 conftest.$ac_ext )
2727 # This is the source file.
2729 [ab].out )
2730 # We found the default executable, but exeext='' is most
2731 # certainly right.
2732 break;;
2733 *.* )
2734 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2735 # FIXME: I believe we export ac_cv_exeext for Libtool,
2736 # but it would be cool to find out if it's true. Does anybody
2737 # maintain Libtool? --akim.
2738 export ac_cv_exeext
2739 break;;
2741 break;;
2742 esac
2743 done
2744 else
2745 echo "$as_me: failed program was:" >&5
2746 sed 's/^/| /' conftest.$ac_ext >&5
2748 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2749 See \`config.log' for more details." >&5
2750 echo "$as_me: error: C compiler cannot create executables
2751 See \`config.log' for more details." >&2;}
2752 { (exit 77); exit 77; }; }
2755 ac_exeext=$ac_cv_exeext
2756 echo "$as_me:$LINENO: result: $ac_file" >&5
2757 echo "${ECHO_T}$ac_file" >&6
2759 # Check the compiler produces executables we can run. If not, either
2760 # the compiler is broken, or we cross compile.
2761 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2762 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2763 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2764 # If not cross compiling, check that we can run a simple program.
2765 if test "$cross_compiling" != yes; then
2766 if { ac_try='./$ac_file'
2767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2768 (eval $ac_try) 2>&5
2769 ac_status=$?
2770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); }; }; then
2772 cross_compiling=no
2773 else
2774 if test "$cross_compiling" = maybe; then
2775 cross_compiling=yes
2776 else
2777 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2778 If you meant to cross compile, use \`--host'.
2779 See \`config.log' for more details." >&5
2780 echo "$as_me: error: cannot run C compiled programs.
2781 If you meant to cross compile, use \`--host'.
2782 See \`config.log' for more details." >&2;}
2783 { (exit 1); exit 1; }; }
2787 echo "$as_me:$LINENO: result: yes" >&5
2788 echo "${ECHO_T}yes" >&6
2790 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2791 ac_clean_files=$ac_clean_files_save
2792 # Check the compiler produces executables we can run. If not, either
2793 # the compiler is broken, or we cross compile.
2794 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2795 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2796 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2797 echo "${ECHO_T}$cross_compiling" >&6
2799 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2800 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2802 (eval $ac_link) 2>&5
2803 ac_status=$?
2804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2805 (exit $ac_status); }; then
2806 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2807 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2808 # work properly (i.e., refer to `conftest.exe'), while it won't with
2809 # `rm'.
2810 for ac_file in conftest.exe conftest conftest.*; do
2811 test -f "$ac_file" || continue
2812 case $ac_file in
2813 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2814 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2815 export ac_cv_exeext
2816 break;;
2817 * ) break;;
2818 esac
2819 done
2820 else
2821 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2822 See \`config.log' for more details." >&5
2823 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2824 See \`config.log' for more details." >&2;}
2825 { (exit 1); exit 1; }; }
2828 rm -f conftest$ac_cv_exeext
2829 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2830 echo "${ECHO_T}$ac_cv_exeext" >&6
2832 rm -f conftest.$ac_ext
2833 EXEEXT=$ac_cv_exeext
2834 ac_exeext=$EXEEXT
2836 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2837 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2838 if test "${ac_cv_objext+set}" = set; then
2839 echo $ECHO_N "(cached) $ECHO_C" >&6
2840 else
2841 cat >conftest.$ac_ext <<_ACEOF
2842 /* confdefs.h. */
2843 _ACEOF
2844 cat confdefs.h >>conftest.$ac_ext
2845 cat >>conftest.$ac_ext <<_ACEOF
2846 /* end confdefs.h. */
2849 main ()
2853 return 0;
2855 _ACEOF
2856 rm -f conftest.o conftest.obj
2857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2858 (eval $ac_compile) 2>&5
2859 ac_status=$?
2860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2861 (exit $ac_status); }; then
2862 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2863 case $ac_file in
2864 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2865 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2866 break;;
2867 esac
2868 done
2869 else
2870 echo "$as_me: failed program was:" >&5
2871 sed 's/^/| /' conftest.$ac_ext >&5
2873 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2874 See \`config.log' for more details." >&5
2875 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2876 See \`config.log' for more details." >&2;}
2877 { (exit 1); exit 1; }; }
2880 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2882 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2883 echo "${ECHO_T}$ac_cv_objext" >&6
2884 OBJEXT=$ac_cv_objext
2885 ac_objext=$OBJEXT
2886 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2887 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2888 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2889 echo $ECHO_N "(cached) $ECHO_C" >&6
2890 else
2891 cat >conftest.$ac_ext <<_ACEOF
2892 /* confdefs.h. */
2893 _ACEOF
2894 cat confdefs.h >>conftest.$ac_ext
2895 cat >>conftest.$ac_ext <<_ACEOF
2896 /* end confdefs.h. */
2899 main ()
2901 #ifndef __GNUC__
2902 choke me
2903 #endif
2906 return 0;
2908 _ACEOF
2909 rm -f conftest.$ac_objext
2910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2911 (eval $ac_compile) 2>conftest.er1
2912 ac_status=$?
2913 grep -v '^ *+' conftest.er1 >conftest.err
2914 rm -f conftest.er1
2915 cat conftest.err >&5
2916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917 (exit $ac_status); } &&
2918 { ac_try='test -z "$ac_c_werror_flag"
2919 || test ! -s conftest.err'
2920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2921 (eval $ac_try) 2>&5
2922 ac_status=$?
2923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924 (exit $ac_status); }; } &&
2925 { ac_try='test -s conftest.$ac_objext'
2926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2927 (eval $ac_try) 2>&5
2928 ac_status=$?
2929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930 (exit $ac_status); }; }; then
2931 ac_compiler_gnu=yes
2932 else
2933 echo "$as_me: failed program was:" >&5
2934 sed 's/^/| /' conftest.$ac_ext >&5
2936 ac_compiler_gnu=no
2938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2939 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2942 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2943 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2944 GCC=`test $ac_compiler_gnu = yes && echo yes`
2945 ac_test_CFLAGS=${CFLAGS+set}
2946 ac_save_CFLAGS=$CFLAGS
2947 CFLAGS="-g"
2948 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2949 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2950 if test "${ac_cv_prog_cc_g+set}" = set; then
2951 echo $ECHO_N "(cached) $ECHO_C" >&6
2952 else
2953 cat >conftest.$ac_ext <<_ACEOF
2954 /* confdefs.h. */
2955 _ACEOF
2956 cat confdefs.h >>conftest.$ac_ext
2957 cat >>conftest.$ac_ext <<_ACEOF
2958 /* end confdefs.h. */
2961 main ()
2965 return 0;
2967 _ACEOF
2968 rm -f conftest.$ac_objext
2969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2970 (eval $ac_compile) 2>conftest.er1
2971 ac_status=$?
2972 grep -v '^ *+' conftest.er1 >conftest.err
2973 rm -f conftest.er1
2974 cat conftest.err >&5
2975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2976 (exit $ac_status); } &&
2977 { ac_try='test -z "$ac_c_werror_flag"
2978 || test ! -s conftest.err'
2979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2980 (eval $ac_try) 2>&5
2981 ac_status=$?
2982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2983 (exit $ac_status); }; } &&
2984 { ac_try='test -s conftest.$ac_objext'
2985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2986 (eval $ac_try) 2>&5
2987 ac_status=$?
2988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989 (exit $ac_status); }; }; then
2990 ac_cv_prog_cc_g=yes
2991 else
2992 echo "$as_me: failed program was:" >&5
2993 sed 's/^/| /' conftest.$ac_ext >&5
2995 ac_cv_prog_cc_g=no
2997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2999 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3000 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3001 if test "$ac_test_CFLAGS" = set; then
3002 CFLAGS=$ac_save_CFLAGS
3003 elif test $ac_cv_prog_cc_g = yes; then
3004 if test "$GCC" = yes; then
3005 CFLAGS="-g -O2"
3006 else
3007 CFLAGS="-g"
3009 else
3010 if test "$GCC" = yes; then
3011 CFLAGS="-O2"
3012 else
3013 CFLAGS=
3016 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3017 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3018 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3019 echo $ECHO_N "(cached) $ECHO_C" >&6
3020 else
3021 ac_cv_prog_cc_stdc=no
3022 ac_save_CC=$CC
3023 cat >conftest.$ac_ext <<_ACEOF
3024 /* confdefs.h. */
3025 _ACEOF
3026 cat confdefs.h >>conftest.$ac_ext
3027 cat >>conftest.$ac_ext <<_ACEOF
3028 /* end confdefs.h. */
3029 #include <stdarg.h>
3030 #include <stdio.h>
3031 #include <sys/types.h>
3032 #include <sys/stat.h>
3033 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3034 struct buf { int x; };
3035 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3036 static char *e (p, i)
3037 char **p;
3038 int i;
3040 return p[i];
3042 static char *f (char * (*g) (char **, int), char **p, ...)
3044 char *s;
3045 va_list v;
3046 va_start (v,p);
3047 s = g (p, va_arg (v,int));
3048 va_end (v);
3049 return s;
3052 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3053 function prototypes and stuff, but not '\xHH' hex character constants.
3054 These don't provoke an error unfortunately, instead are silently treated
3055 as 'x'. The following induces an error, until -std1 is added to get
3056 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3057 array size at least. It's necessary to write '\x00'==0 to get something
3058 that's true only with -std1. */
3059 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3061 int test (int i, double x);
3062 struct s1 {int (*f) (int a);};
3063 struct s2 {int (*f) (double a);};
3064 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3065 int argc;
3066 char **argv;
3068 main ()
3070 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3072 return 0;
3074 _ACEOF
3075 # Don't try gcc -ansi; that turns off useful extensions and
3076 # breaks some systems' header files.
3077 # AIX -qlanglvl=ansi
3078 # Ultrix and OSF/1 -std1
3079 # HP-UX 10.20 and later -Ae
3080 # HP-UX older versions -Aa -D_HPUX_SOURCE
3081 # SVR4 -Xc -D__EXTENSIONS__
3082 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3084 CC="$ac_save_CC $ac_arg"
3085 rm -f conftest.$ac_objext
3086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3087 (eval $ac_compile) 2>conftest.er1
3088 ac_status=$?
3089 grep -v '^ *+' conftest.er1 >conftest.err
3090 rm -f conftest.er1
3091 cat conftest.err >&5
3092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093 (exit $ac_status); } &&
3094 { ac_try='test -z "$ac_c_werror_flag"
3095 || test ! -s conftest.err'
3096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3097 (eval $ac_try) 2>&5
3098 ac_status=$?
3099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3100 (exit $ac_status); }; } &&
3101 { ac_try='test -s conftest.$ac_objext'
3102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3103 (eval $ac_try) 2>&5
3104 ac_status=$?
3105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106 (exit $ac_status); }; }; then
3107 ac_cv_prog_cc_stdc=$ac_arg
3108 break
3109 else
3110 echo "$as_me: failed program was:" >&5
3111 sed 's/^/| /' conftest.$ac_ext >&5
3114 rm -f conftest.err conftest.$ac_objext
3115 done
3116 rm -f conftest.$ac_ext conftest.$ac_objext
3117 CC=$ac_save_CC
3121 case "x$ac_cv_prog_cc_stdc" in
3122 x|xno)
3123 echo "$as_me:$LINENO: result: none needed" >&5
3124 echo "${ECHO_T}none needed" >&6 ;;
3126 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3127 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3128 CC="$CC $ac_cv_prog_cc_stdc" ;;
3129 esac
3131 # Some people use a C++ compiler to compile C. Since we use `exit',
3132 # in C++ we need to declare it. In case someone uses the same compiler
3133 # for both compiling C and C++ we need to have the C++ compiler decide
3134 # the declaration of exit, since it's the most demanding environment.
3135 cat >conftest.$ac_ext <<_ACEOF
3136 #ifndef __cplusplus
3137 choke me
3138 #endif
3139 _ACEOF
3140 rm -f conftest.$ac_objext
3141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3142 (eval $ac_compile) 2>conftest.er1
3143 ac_status=$?
3144 grep -v '^ *+' conftest.er1 >conftest.err
3145 rm -f conftest.er1
3146 cat conftest.err >&5
3147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148 (exit $ac_status); } &&
3149 { ac_try='test -z "$ac_c_werror_flag"
3150 || test ! -s conftest.err'
3151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3152 (eval $ac_try) 2>&5
3153 ac_status=$?
3154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3155 (exit $ac_status); }; } &&
3156 { ac_try='test -s conftest.$ac_objext'
3157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3158 (eval $ac_try) 2>&5
3159 ac_status=$?
3160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3161 (exit $ac_status); }; }; then
3162 for ac_declaration in \
3163 '' \
3164 'extern "C" void std::exit (int) throw (); using std::exit;' \
3165 'extern "C" void std::exit (int); using std::exit;' \
3166 'extern "C" void exit (int) throw ();' \
3167 'extern "C" void exit (int);' \
3168 'void exit (int);'
3170 cat >conftest.$ac_ext <<_ACEOF
3171 /* confdefs.h. */
3172 _ACEOF
3173 cat confdefs.h >>conftest.$ac_ext
3174 cat >>conftest.$ac_ext <<_ACEOF
3175 /* end confdefs.h. */
3176 $ac_declaration
3177 #include <stdlib.h>
3179 main ()
3181 exit (42);
3183 return 0;
3185 _ACEOF
3186 rm -f conftest.$ac_objext
3187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3188 (eval $ac_compile) 2>conftest.er1
3189 ac_status=$?
3190 grep -v '^ *+' conftest.er1 >conftest.err
3191 rm -f conftest.er1
3192 cat conftest.err >&5
3193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3194 (exit $ac_status); } &&
3195 { ac_try='test -z "$ac_c_werror_flag"
3196 || test ! -s conftest.err'
3197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3198 (eval $ac_try) 2>&5
3199 ac_status=$?
3200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201 (exit $ac_status); }; } &&
3202 { ac_try='test -s conftest.$ac_objext'
3203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3204 (eval $ac_try) 2>&5
3205 ac_status=$?
3206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207 (exit $ac_status); }; }; then
3209 else
3210 echo "$as_me: failed program was:" >&5
3211 sed 's/^/| /' conftest.$ac_ext >&5
3213 continue
3215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3216 cat >conftest.$ac_ext <<_ACEOF
3217 /* confdefs.h. */
3218 _ACEOF
3219 cat confdefs.h >>conftest.$ac_ext
3220 cat >>conftest.$ac_ext <<_ACEOF
3221 /* end confdefs.h. */
3222 $ac_declaration
3224 main ()
3226 exit (42);
3228 return 0;
3230 _ACEOF
3231 rm -f conftest.$ac_objext
3232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3233 (eval $ac_compile) 2>conftest.er1
3234 ac_status=$?
3235 grep -v '^ *+' conftest.er1 >conftest.err
3236 rm -f conftest.er1
3237 cat conftest.err >&5
3238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239 (exit $ac_status); } &&
3240 { ac_try='test -z "$ac_c_werror_flag"
3241 || test ! -s conftest.err'
3242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3243 (eval $ac_try) 2>&5
3244 ac_status=$?
3245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3246 (exit $ac_status); }; } &&
3247 { ac_try='test -s conftest.$ac_objext'
3248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3249 (eval $ac_try) 2>&5
3250 ac_status=$?
3251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3252 (exit $ac_status); }; }; then
3253 break
3254 else
3255 echo "$as_me: failed program was:" >&5
3256 sed 's/^/| /' conftest.$ac_ext >&5
3259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3260 done
3261 rm -f conftest*
3262 if test -n "$ac_declaration"; then
3263 echo '#ifdef __cplusplus' >>confdefs.h
3264 echo $ac_declaration >>confdefs.h
3265 echo '#endif' >>confdefs.h
3268 else
3269 echo "$as_me: failed program was:" >&5
3270 sed 's/^/| /' conftest.$ac_ext >&5
3273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3274 ac_ext=c
3275 ac_cpp='$CPP $CPPFLAGS'
3276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3280 ac_ext=cc
3281 ac_cpp='$CXXCPP $CPPFLAGS'
3282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3285 if test -n "$ac_tool_prefix"; then
3286 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3288 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3289 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3290 echo "$as_me:$LINENO: checking for $ac_word" >&5
3291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3292 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3293 echo $ECHO_N "(cached) $ECHO_C" >&6
3294 else
3295 if test -n "$CXX"; then
3296 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3297 else
3298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3299 for as_dir in $PATH
3301 IFS=$as_save_IFS
3302 test -z "$as_dir" && as_dir=.
3303 for ac_exec_ext in '' $ac_executable_extensions; do
3304 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3305 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3307 break 2
3309 done
3310 done
3314 CXX=$glibcxx_cv_prog_CXX
3315 if test -n "$CXX"; then
3316 echo "$as_me:$LINENO: result: $CXX" >&5
3317 echo "${ECHO_T}$CXX" >&6
3318 else
3319 echo "$as_me:$LINENO: result: no" >&5
3320 echo "${ECHO_T}no" >&6
3323 test -n "$CXX" && break
3324 done
3326 if test -z "$CXX"; then
3327 ac_ct_CXX=$CXX
3328 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3330 # Extract the first word of "$ac_prog", so it can be a program name with args.
3331 set dummy $ac_prog; ac_word=$2
3332 echo "$as_me:$LINENO: checking for $ac_word" >&5
3333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3334 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3335 echo $ECHO_N "(cached) $ECHO_C" >&6
3336 else
3337 if test -n "$ac_ct_CXX"; then
3338 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3339 else
3340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3341 for as_dir in $PATH
3343 IFS=$as_save_IFS
3344 test -z "$as_dir" && as_dir=.
3345 for ac_exec_ext in '' $ac_executable_extensions; do
3346 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3347 ac_cv_prog_ac_ct_CXX="$ac_prog"
3348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3349 break 2
3351 done
3352 done
3356 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3357 if test -n "$ac_ct_CXX"; then
3358 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3359 echo "${ECHO_T}$ac_ct_CXX" >&6
3360 else
3361 echo "$as_me:$LINENO: result: no" >&5
3362 echo "${ECHO_T}no" >&6
3365 test -n "$ac_ct_CXX" && break
3366 done
3367 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3369 CXX=$ac_ct_CXX
3373 # Provide some information about the compiler.
3374 echo "$as_me:$LINENO:" \
3375 "checking for C++ compiler version" >&5
3376 ac_compiler=`set X $ac_compile; echo $2`
3377 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3378 (eval $ac_compiler --version </dev/null >&5) 2>&5
3379 ac_status=$?
3380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3381 (exit $ac_status); }
3382 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3383 (eval $ac_compiler -v </dev/null >&5) 2>&5
3384 ac_status=$?
3385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3386 (exit $ac_status); }
3387 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3388 (eval $ac_compiler -V </dev/null >&5) 2>&5
3389 ac_status=$?
3390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3391 (exit $ac_status); }
3393 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3394 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3395 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3396 echo $ECHO_N "(cached) $ECHO_C" >&6
3397 else
3398 cat >conftest.$ac_ext <<_ACEOF
3399 /* confdefs.h. */
3400 _ACEOF
3401 cat confdefs.h >>conftest.$ac_ext
3402 cat >>conftest.$ac_ext <<_ACEOF
3403 /* end confdefs.h. */
3406 main ()
3408 #ifndef __GNUC__
3409 choke me
3410 #endif
3413 return 0;
3415 _ACEOF
3416 rm -f conftest.$ac_objext
3417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3418 (eval $ac_compile) 2>conftest.er1
3419 ac_status=$?
3420 grep -v '^ *+' conftest.er1 >conftest.err
3421 rm -f conftest.er1
3422 cat conftest.err >&5
3423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3424 (exit $ac_status); } &&
3425 { ac_try='test -z "$ac_cxx_werror_flag"
3426 || test ! -s conftest.err'
3427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3428 (eval $ac_try) 2>&5
3429 ac_status=$?
3430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3431 (exit $ac_status); }; } &&
3432 { ac_try='test -s conftest.$ac_objext'
3433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3434 (eval $ac_try) 2>&5
3435 ac_status=$?
3436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3437 (exit $ac_status); }; }; then
3438 ac_compiler_gnu=yes
3439 else
3440 echo "$as_me: failed program was:" >&5
3441 sed 's/^/| /' conftest.$ac_ext >&5
3443 ac_compiler_gnu=no
3445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3446 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3449 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3450 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3451 GXX=`test $ac_compiler_gnu = yes && echo yes`
3452 ac_test_CXXFLAGS=${CXXFLAGS+set}
3453 ac_save_CXXFLAGS=$CXXFLAGS
3454 CXXFLAGS="-g"
3455 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3456 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3457 if test "${ac_cv_prog_cxx_g+set}" = set; then
3458 echo $ECHO_N "(cached) $ECHO_C" >&6
3459 else
3460 cat >conftest.$ac_ext <<_ACEOF
3461 /* confdefs.h. */
3462 _ACEOF
3463 cat confdefs.h >>conftest.$ac_ext
3464 cat >>conftest.$ac_ext <<_ACEOF
3465 /* end confdefs.h. */
3468 main ()
3472 return 0;
3474 _ACEOF
3475 rm -f conftest.$ac_objext
3476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3477 (eval $ac_compile) 2>conftest.er1
3478 ac_status=$?
3479 grep -v '^ *+' conftest.er1 >conftest.err
3480 rm -f conftest.er1
3481 cat conftest.err >&5
3482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3483 (exit $ac_status); } &&
3484 { ac_try='test -z "$ac_cxx_werror_flag"
3485 || test ! -s conftest.err'
3486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3487 (eval $ac_try) 2>&5
3488 ac_status=$?
3489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3490 (exit $ac_status); }; } &&
3491 { ac_try='test -s conftest.$ac_objext'
3492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3493 (eval $ac_try) 2>&5
3494 ac_status=$?
3495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3496 (exit $ac_status); }; }; then
3497 ac_cv_prog_cxx_g=yes
3498 else
3499 echo "$as_me: failed program was:" >&5
3500 sed 's/^/| /' conftest.$ac_ext >&5
3502 ac_cv_prog_cxx_g=no
3504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3506 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3507 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3508 if test "$ac_test_CXXFLAGS" = set; then
3509 CXXFLAGS=$ac_save_CXXFLAGS
3510 elif test $ac_cv_prog_cxx_g = yes; then
3511 if test "$GXX" = yes; then
3512 CXXFLAGS="-g -O2"
3513 else
3514 CXXFLAGS="-g"
3516 else
3517 if test "$GXX" = yes; then
3518 CXXFLAGS="-O2"
3519 else
3520 CXXFLAGS=
3523 for ac_declaration in \
3524 '' \
3525 'extern "C" void std::exit (int) throw (); using std::exit;' \
3526 'extern "C" void std::exit (int); using std::exit;' \
3527 'extern "C" void exit (int) throw ();' \
3528 'extern "C" void exit (int);' \
3529 'void exit (int);'
3531 cat >conftest.$ac_ext <<_ACEOF
3532 /* confdefs.h. */
3533 _ACEOF
3534 cat confdefs.h >>conftest.$ac_ext
3535 cat >>conftest.$ac_ext <<_ACEOF
3536 /* end confdefs.h. */
3537 $ac_declaration
3538 #include <stdlib.h>
3540 main ()
3542 exit (42);
3544 return 0;
3546 _ACEOF
3547 rm -f conftest.$ac_objext
3548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3549 (eval $ac_compile) 2>conftest.er1
3550 ac_status=$?
3551 grep -v '^ *+' conftest.er1 >conftest.err
3552 rm -f conftest.er1
3553 cat conftest.err >&5
3554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3555 (exit $ac_status); } &&
3556 { ac_try='test -z "$ac_cxx_werror_flag"
3557 || test ! -s conftest.err'
3558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3559 (eval $ac_try) 2>&5
3560 ac_status=$?
3561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3562 (exit $ac_status); }; } &&
3563 { ac_try='test -s conftest.$ac_objext'
3564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3565 (eval $ac_try) 2>&5
3566 ac_status=$?
3567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3568 (exit $ac_status); }; }; then
3570 else
3571 echo "$as_me: failed program was:" >&5
3572 sed 's/^/| /' conftest.$ac_ext >&5
3574 continue
3576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3577 cat >conftest.$ac_ext <<_ACEOF
3578 /* confdefs.h. */
3579 _ACEOF
3580 cat confdefs.h >>conftest.$ac_ext
3581 cat >>conftest.$ac_ext <<_ACEOF
3582 /* end confdefs.h. */
3583 $ac_declaration
3585 main ()
3587 exit (42);
3589 return 0;
3591 _ACEOF
3592 rm -f conftest.$ac_objext
3593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3594 (eval $ac_compile) 2>conftest.er1
3595 ac_status=$?
3596 grep -v '^ *+' conftest.er1 >conftest.err
3597 rm -f conftest.er1
3598 cat conftest.err >&5
3599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3600 (exit $ac_status); } &&
3601 { ac_try='test -z "$ac_cxx_werror_flag"
3602 || test ! -s conftest.err'
3603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3604 (eval $ac_try) 2>&5
3605 ac_status=$?
3606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3607 (exit $ac_status); }; } &&
3608 { ac_try='test -s conftest.$ac_objext'
3609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3610 (eval $ac_try) 2>&5
3611 ac_status=$?
3612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613 (exit $ac_status); }; }; then
3614 break
3615 else
3616 echo "$as_me: failed program was:" >&5
3617 sed 's/^/| /' conftest.$ac_ext >&5
3620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3621 done
3622 rm -f conftest*
3623 if test -n "$ac_declaration"; then
3624 echo '#ifdef __cplusplus' >>confdefs.h
3625 echo $ac_declaration >>confdefs.h
3626 echo '#endif' >>confdefs.h
3629 ac_ext=c
3630 ac_cpp='$CPP $CPPFLAGS'
3631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3635 CXXFLAGS="$save_CXXFLAGS"
3640 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3641 # available). Uncomment the next line to force a particular method.
3642 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3643 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3644 LN_S=$as_ln_s
3645 if test "$LN_S" = "ln -s"; then
3646 echo "$as_me:$LINENO: result: yes" >&5
3647 echo "${ECHO_T}yes" >&6
3648 else
3649 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3650 echo "${ECHO_T}no, using $LN_S" >&6
3653 #LN_S='cp -p'
3655 if test -n "$ac_tool_prefix"; then
3656 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3657 set dummy ${ac_tool_prefix}as; ac_word=$2
3658 echo "$as_me:$LINENO: checking for $ac_word" >&5
3659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3660 if test "${ac_cv_prog_AS+set}" = set; then
3661 echo $ECHO_N "(cached) $ECHO_C" >&6
3662 else
3663 if test -n "$AS"; then
3664 ac_cv_prog_AS="$AS" # Let the user override the test.
3665 else
3666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3667 for as_dir in $PATH
3669 IFS=$as_save_IFS
3670 test -z "$as_dir" && as_dir=.
3671 for ac_exec_ext in '' $ac_executable_extensions; do
3672 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3673 ac_cv_prog_AS="${ac_tool_prefix}as"
3674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3675 break 2
3677 done
3678 done
3682 AS=$ac_cv_prog_AS
3683 if test -n "$AS"; then
3684 echo "$as_me:$LINENO: result: $AS" >&5
3685 echo "${ECHO_T}$AS" >&6
3686 else
3687 echo "$as_me:$LINENO: result: no" >&5
3688 echo "${ECHO_T}no" >&6
3692 if test -z "$ac_cv_prog_AS"; then
3693 ac_ct_AS=$AS
3694 # Extract the first word of "as", so it can be a program name with args.
3695 set dummy as; ac_word=$2
3696 echo "$as_me:$LINENO: checking for $ac_word" >&5
3697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3698 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3699 echo $ECHO_N "(cached) $ECHO_C" >&6
3700 else
3701 if test -n "$ac_ct_AS"; then
3702 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3703 else
3704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3705 for as_dir in $PATH
3707 IFS=$as_save_IFS
3708 test -z "$as_dir" && as_dir=.
3709 for ac_exec_ext in '' $ac_executable_extensions; do
3710 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3711 ac_cv_prog_ac_ct_AS="as"
3712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3713 break 2
3715 done
3716 done
3720 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3721 if test -n "$ac_ct_AS"; then
3722 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3723 echo "${ECHO_T}$ac_ct_AS" >&6
3724 else
3725 echo "$as_me:$LINENO: result: no" >&5
3726 echo "${ECHO_T}no" >&6
3729 AS=$ac_ct_AS
3730 else
3731 AS="$ac_cv_prog_AS"
3734 if test -n "$ac_tool_prefix"; then
3735 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3736 set dummy ${ac_tool_prefix}ar; ac_word=$2
3737 echo "$as_me:$LINENO: checking for $ac_word" >&5
3738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3739 if test "${ac_cv_prog_AR+set}" = set; then
3740 echo $ECHO_N "(cached) $ECHO_C" >&6
3741 else
3742 if test -n "$AR"; then
3743 ac_cv_prog_AR="$AR" # Let the user override the test.
3744 else
3745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3746 for as_dir in $PATH
3748 IFS=$as_save_IFS
3749 test -z "$as_dir" && as_dir=.
3750 for ac_exec_ext in '' $ac_executable_extensions; do
3751 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3752 ac_cv_prog_AR="${ac_tool_prefix}ar"
3753 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3754 break 2
3756 done
3757 done
3761 AR=$ac_cv_prog_AR
3762 if test -n "$AR"; then
3763 echo "$as_me:$LINENO: result: $AR" >&5
3764 echo "${ECHO_T}$AR" >&6
3765 else
3766 echo "$as_me:$LINENO: result: no" >&5
3767 echo "${ECHO_T}no" >&6
3771 if test -z "$ac_cv_prog_AR"; then
3772 ac_ct_AR=$AR
3773 # Extract the first word of "ar", so it can be a program name with args.
3774 set dummy ar; ac_word=$2
3775 echo "$as_me:$LINENO: checking for $ac_word" >&5
3776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3777 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3778 echo $ECHO_N "(cached) $ECHO_C" >&6
3779 else
3780 if test -n "$ac_ct_AR"; then
3781 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3782 else
3783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3784 for as_dir in $PATH
3786 IFS=$as_save_IFS
3787 test -z "$as_dir" && as_dir=.
3788 for ac_exec_ext in '' $ac_executable_extensions; do
3789 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3790 ac_cv_prog_ac_ct_AR="ar"
3791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3792 break 2
3794 done
3795 done
3799 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3800 if test -n "$ac_ct_AR"; then
3801 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3802 echo "${ECHO_T}$ac_ct_AR" >&6
3803 else
3804 echo "$as_me:$LINENO: result: no" >&5
3805 echo "${ECHO_T}no" >&6
3808 AR=$ac_ct_AR
3809 else
3810 AR="$ac_cv_prog_AR"
3813 if test -n "$ac_tool_prefix"; then
3814 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3815 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3816 echo "$as_me:$LINENO: checking for $ac_word" >&5
3817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3818 if test "${ac_cv_prog_RANLIB+set}" = set; then
3819 echo $ECHO_N "(cached) $ECHO_C" >&6
3820 else
3821 if test -n "$RANLIB"; then
3822 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3823 else
3824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3825 for as_dir in $PATH
3827 IFS=$as_save_IFS
3828 test -z "$as_dir" && as_dir=.
3829 for ac_exec_ext in '' $ac_executable_extensions; do
3830 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3831 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3833 break 2
3835 done
3836 done
3840 RANLIB=$ac_cv_prog_RANLIB
3841 if test -n "$RANLIB"; then
3842 echo "$as_me:$LINENO: result: $RANLIB" >&5
3843 echo "${ECHO_T}$RANLIB" >&6
3844 else
3845 echo "$as_me:$LINENO: result: no" >&5
3846 echo "${ECHO_T}no" >&6
3850 if test -z "$ac_cv_prog_RANLIB"; then
3851 ac_ct_RANLIB=$RANLIB
3852 # Extract the first word of "ranlib", so it can be a program name with args.
3853 set dummy ranlib; ac_word=$2
3854 echo "$as_me:$LINENO: checking for $ac_word" >&5
3855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3856 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3857 echo $ECHO_N "(cached) $ECHO_C" >&6
3858 else
3859 if test -n "$ac_ct_RANLIB"; then
3860 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3861 else
3862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3863 for as_dir in $PATH
3865 IFS=$as_save_IFS
3866 test -z "$as_dir" && as_dir=.
3867 for ac_exec_ext in '' $ac_executable_extensions; do
3868 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3869 ac_cv_prog_ac_ct_RANLIB="ranlib"
3870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3871 break 2
3873 done
3874 done
3876 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3879 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3880 if test -n "$ac_ct_RANLIB"; then
3881 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3882 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3883 else
3884 echo "$as_me:$LINENO: result: no" >&5
3885 echo "${ECHO_T}no" >&6
3888 RANLIB=$ac_ct_RANLIB
3889 else
3890 RANLIB="$ac_cv_prog_RANLIB"
3894 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3895 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3896 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3897 if test "${enable_maintainer_mode+set}" = set; then
3898 enableval="$enable_maintainer_mode"
3899 USE_MAINTAINER_MODE=$enableval
3900 else
3901 USE_MAINTAINER_MODE=no
3903 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3904 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3907 if test $USE_MAINTAINER_MODE = yes; then
3908 MAINTAINER_MODE_TRUE=
3909 MAINTAINER_MODE_FALSE='#'
3910 else
3911 MAINTAINER_MODE_TRUE='#'
3912 MAINTAINER_MODE_FALSE=
3915 MAINT=$MAINTAINER_MODE_TRUE
3919 # Set up safe default values for all subsequent AM_CONDITIONAL tests
3920 # which are themselves conditionally expanded.
3921 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3922 ## other macros from doing the same. This should be automated.) -pme
3923 need_libmath=no
3925 # Check for uClibc since Linux platforms use different configuration
3926 # directories depending on the C library in use.
3927 cat >conftest.$ac_ext <<_ACEOF
3928 /* confdefs.h. */
3929 _ACEOF
3930 cat confdefs.h >>conftest.$ac_ext
3931 cat >>conftest.$ac_ext <<_ACEOF
3932 /* end confdefs.h. */
3934 #include <stdio.h>
3935 #if __UCLIBC__
3936 _using_uclibc
3937 #endif
3939 _ACEOF
3940 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3941 $EGREP "_using_uclibc" >/dev/null 2>&1; then
3942 uclibc=yes
3943 else
3944 uclibc=no
3946 rm -f conftest*
3949 # Find platform-specific directories containing configuration info.
3950 # Also possibly modify flags used elsewhere, as needed by the platform.
3952 . $glibcxx_srcdir/configure.host
3953 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3954 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3955 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3956 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3961 # Check whether --enable-shared or --disable-shared was given.
3962 if test "${enable_shared+set}" = set; then
3963 enableval="$enable_shared"
3964 p=${PACKAGE-default}
3965 case $enableval in
3966 yes) enable_shared=yes ;;
3967 no) enable_shared=no ;;
3969 enable_shared=no
3970 # Look at the argument we got. We use all the common list separators.
3971 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3972 for pkg in $enableval; do
3973 if test "X$pkg" = "X$p"; then
3974 enable_shared=yes
3976 done
3977 IFS="$ac_save_ifs"
3979 esac
3980 else
3981 enable_shared=yes
3983 # Check whether --enable-static or --disable-static was given.
3984 if test "${enable_static+set}" = set; then
3985 enableval="$enable_static"
3986 p=${PACKAGE-default}
3987 case $enableval in
3988 yes) enable_static=yes ;;
3989 no) enable_static=no ;;
3991 enable_static=no
3992 # Look at the argument we got. We use all the common list separators.
3993 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3994 for pkg in $enableval; do
3995 if test "X$pkg" = "X$p"; then
3996 enable_static=yes
3998 done
3999 IFS="$ac_save_ifs"
4001 esac
4002 else
4003 enable_static=yes
4005 # Check whether --enable-fast-install or --disable-fast-install was given.
4006 if test "${enable_fast_install+set}" = set; then
4007 enableval="$enable_fast_install"
4008 p=${PACKAGE-default}
4009 case $enableval in
4010 yes) enable_fast_install=yes ;;
4011 no) enable_fast_install=no ;;
4013 enable_fast_install=no
4014 # Look at the argument we got. We use all the common list separators.
4015 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
4016 for pkg in $enableval; do
4017 if test "X$pkg" = "X$p"; then
4018 enable_fast_install=yes
4020 done
4021 IFS="$ac_save_ifs"
4023 esac
4024 else
4025 enable_fast_install=yes
4028 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4029 if test "${with_gnu_ld+set}" = set; then
4030 withval="$with_gnu_ld"
4031 test "$withval" = no || with_gnu_ld=yes
4032 else
4033 with_gnu_ld=no
4035 ac_prog=ld
4036 if test "$GCC" = yes; then
4037 # Check if gcc -print-prog-name=ld gives a path.
4038 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4039 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4040 case $host in
4041 *-*-mingw*)
4042 # gcc leaves a trailing carriage return which upsets mingw
4043 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4045 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4046 esac
4047 case $ac_prog in
4048 # Accept absolute paths.
4049 [\\/]* | [A-Za-z]:[\\/]*)
4050 re_direlt='/[^/][^/]*/\.\./'
4051 # Canonicalize the path of ld
4052 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4053 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4054 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4055 done
4056 test -z "$LD" && LD="$ac_prog"
4059 # If it fails, then pretend we aren't using GCC.
4060 ac_prog=ld
4063 # If it is relative, then search for the first ld in PATH.
4064 with_gnu_ld=unknown
4066 esac
4067 elif test "$with_gnu_ld" = yes; then
4068 echo "$as_me:$LINENO: checking for GNU ld" >&5
4069 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4070 else
4071 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4072 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4074 if test "${lt_cv_path_LD+set}" = set; then
4075 echo $ECHO_N "(cached) $ECHO_C" >&6
4076 else
4077 if test -z "$LD"; then
4078 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4079 for ac_dir in $PATH; do
4080 test -z "$ac_dir" && ac_dir=.
4081 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4082 lt_cv_path_LD="$ac_dir/$ac_prog"
4083 # Check to see if the program is GNU ld. I'd rather use --version,
4084 # but apparently some GNU ld's only accept -v.
4085 # Break only if it was the GNU/non-GNU ld that we prefer.
4086 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
4087 test "$with_gnu_ld" != no && break
4088 else
4089 test "$with_gnu_ld" != yes && break
4092 done
4093 IFS="$ac_save_ifs"
4094 else
4095 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4099 LD="$lt_cv_path_LD"
4100 if test -n "$LD"; then
4101 echo "$as_me:$LINENO: result: $LD" >&5
4102 echo "${ECHO_T}$LD" >&6
4103 else
4104 echo "$as_me:$LINENO: result: no" >&5
4105 echo "${ECHO_T}no" >&6
4107 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4108 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4109 { (exit 1); exit 1; }; }
4110 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4111 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4112 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4113 echo $ECHO_N "(cached) $ECHO_C" >&6
4114 else
4115 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4116 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4117 lt_cv_prog_gnu_ld=yes
4118 else
4119 lt_cv_prog_gnu_ld=no
4122 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4123 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4124 with_gnu_ld=$lt_cv_prog_gnu_ld
4127 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4128 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4129 if test "${lt_cv_ld_reload_flag+set}" = set; then
4130 echo $ECHO_N "(cached) $ECHO_C" >&6
4131 else
4132 lt_cv_ld_reload_flag='-r'
4134 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4135 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4136 reload_flag=$lt_cv_ld_reload_flag
4137 test -n "$reload_flag" && reload_flag=" $reload_flag"
4139 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4140 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4141 if test "${lt_cv_path_NM+set}" = set; then
4142 echo $ECHO_N "(cached) $ECHO_C" >&6
4143 else
4144 if test -n "$NM"; then
4145 # Let the user override the test.
4146 lt_cv_path_NM="$NM"
4147 else
4148 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4149 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4150 test -z "$ac_dir" && ac_dir=.
4151 tmp_nm=$ac_dir/${ac_tool_prefix}nm
4152 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
4153 # Check to see if the nm accepts a BSD-compat flag.
4154 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4155 # nm: unknown option "B" ignored
4156 # Tru64's nm complains that /dev/null is an invalid object file
4157 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
4158 lt_cv_path_NM="$tmp_nm -B"
4159 break
4160 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4161 lt_cv_path_NM="$tmp_nm -p"
4162 break
4163 else
4164 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4165 continue # so that we can try to find one that supports BSD flags
4168 done
4169 IFS="$ac_save_ifs"
4170 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4174 NM="$lt_cv_path_NM"
4175 echo "$as_me:$LINENO: result: $NM" >&5
4176 echo "${ECHO_T}$NM" >&6
4178 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4179 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4180 if test "${lt_cv_deplibs_check_method+set}" = set; then
4181 echo $ECHO_N "(cached) $ECHO_C" >&6
4182 else
4183 lt_cv_file_magic_cmd='$MAGIC_CMD'
4184 lt_cv_file_magic_test_file=
4185 lt_cv_deplibs_check_method='unknown'
4186 # Need to set the preceding variable on all platforms that support
4187 # interlibrary dependencies.
4188 # 'none' -- dependencies not supported.
4189 # `unknown' -- same as none, but documents that we really don't know.
4190 # 'pass_all' -- all dependencies passed with no checks.
4191 # 'test_compile' -- check by making test program.
4192 # 'file_magic [regex]' -- check by looking for files in library path
4193 # which responds to the $file_magic_cmd with a given egrep regex.
4194 # If you have `file' or equivalent on your system and you're not sure
4195 # whether `pass_all' will *always* work, you probably want this one.
4197 case $host_os in
4198 aix*)
4199 lt_cv_deplibs_check_method=pass_all
4202 beos*)
4203 lt_cv_deplibs_check_method=pass_all
4206 bsdi4*)
4207 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4208 lt_cv_file_magic_cmd='/usr/bin/file -L'
4209 lt_cv_file_magic_test_file=/shlib/libc.so
4212 cygwin* | mingw* |pw32*)
4213 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4214 lt_cv_file_magic_cmd='$OBJDUMP -f'
4217 darwin* | rhapsody*)
4218 # this will be overwritten by pass_all, but leave it in just in case
4219 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4220 lt_cv_file_magic_cmd='/usr/bin/file -L'
4221 case "$host_os" in
4222 rhapsody* | darwin1.012)
4223 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
4225 *) # Darwin 1.3 on
4226 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4228 esac
4229 lt_cv_deplibs_check_method=pass_all
4232 freebsd* | kfreebsd*-gnu)
4233 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4234 case $host_cpu in
4235 i*86 )
4236 # Not sure whether the presence of OpenBSD here was a mistake.
4237 # Let's accept both of them until this is cleared up.
4238 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4239 lt_cv_file_magic_cmd=/usr/bin/file
4240 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4242 esac
4243 else
4244 lt_cv_deplibs_check_method=pass_all
4248 gnu*)
4249 lt_cv_deplibs_check_method=pass_all
4252 hpux10.20*|hpux11*)
4253 case $host_cpu in
4254 hppa*)
4255 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4256 lt_cv_file_magic_cmd=/usr/bin/file
4257 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4259 ia64*)
4260 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4261 lt_cv_file_magic_cmd=/usr/bin/file
4262 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4264 esac
4267 irix5* | irix6*)
4268 case $host_os in
4269 irix5*)
4270 # this will be overridden with pass_all, but let us keep it just in case
4271 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4274 case $LD in
4275 *-32|*"-32 ") libmagic=32-bit;;
4276 *-n32|*"-n32 ") libmagic=N32;;
4277 *-64|*"-64 ") libmagic=64-bit;;
4278 *) libmagic=never-match;;
4279 esac
4280 # this will be overridden with pass_all, but let us keep it just in case
4281 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4283 esac
4284 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4285 lt_cv_deplibs_check_method=pass_all
4288 # This must be Linux ELF.
4289 linux-gnu*)
4290 lt_cv_deplibs_check_method=pass_all
4293 netbsd* | knetbsd*-gnu)
4294 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4295 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4296 else
4297 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4301 newsos6)
4302 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4303 lt_cv_file_magic_cmd=/usr/bin/file
4304 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4307 osf3* | osf4* | osf5*)
4308 # this will be overridden with pass_all, but let us keep it just in case
4309 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4310 lt_cv_file_magic_test_file=/shlib/libc.so
4311 lt_cv_deplibs_check_method=pass_all
4314 sco3.2v5*)
4315 lt_cv_deplibs_check_method=pass_all
4318 solaris*)
4319 lt_cv_deplibs_check_method=pass_all
4320 lt_cv_file_magic_test_file=/lib/libc.so
4323 sysv5uw[78]* | sysv4*uw2*)
4324 lt_cv_deplibs_check_method=pass_all
4327 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4328 case $host_vendor in
4329 ncr)
4330 lt_cv_deplibs_check_method=pass_all
4332 motorola)
4333 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]'
4334 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4336 esac
4338 esac
4341 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4342 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4343 file_magic_cmd=$lt_cv_file_magic_cmd
4344 deplibs_check_method=$lt_cv_deplibs_check_method
4349 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4351 # find the maximum length of command line arguments
4352 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4353 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4354 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4355 echo $ECHO_N "(cached) $ECHO_C" >&6
4356 else
4358 teststring="ABCD"
4360 case $build_os in
4361 msdosdjgpp*)
4362 # On DJGPP, this test can blow up pretty badly due to problems in libc
4363 # (any single argument exceeding 2000 bytes causes a buffer overrun
4364 # during glob expansion). Even if it were fixed, the result of this
4365 # check would be larger than it should be.
4366 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4369 cygwin* | mingw*)
4370 # On Win9x/ME, this test blows up -- it succeeds, but takes
4371 # about 5 minutes as the teststring grows exponentially.
4372 # Worse, since 9x/ME are not pre-emptively multitasking,
4373 # you end up with a "frozen" computer, even though with patience
4374 # the test eventually succeeds (with a max line length of 256k).
4375 # Instead, let's just punt: use the minimum linelength reported by
4376 # all of the supported platforms: 8192 (on NT/2K/XP).
4377 lt_cv_sys_max_cmd_len=8192;
4380 amigaos*)
4381 # On AmigaOS with pdksh, this test takes hours, literally.
4382 # So we just punt and use a minimum line length of 8192.
4383 lt_cv_sys_max_cmd_len=8192;
4386 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4387 # This has been around since 386BSD, at least. Likely further.
4388 if test -x /sbin/sysctl; then
4389 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4390 elif test -x /usr/sbin/sysctl; then
4391 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4392 else
4393 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
4395 # And add a safety zone
4396 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4397 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4399 esac
4403 if test -n "$lt_cv_sys_max_cmd_len" ; then
4404 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4405 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4406 else
4407 echo "$as_me:$LINENO: result: none" >&5
4408 echo "${ECHO_T}none" >&6
4412 # Only perform the check for file, if the check method requires it
4413 case $deplibs_check_method in
4414 file_magic*)
4415 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4416 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4417 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4418 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4419 echo $ECHO_N "(cached) $ECHO_C" >&6
4420 else
4421 case $MAGIC_CMD in
4423 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4425 ?:/*)
4426 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4429 ac_save_MAGIC_CMD="$MAGIC_CMD"
4430 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4431 ac_dummy="/usr/bin:$PATH"
4432 for ac_dir in $ac_dummy; do
4433 test -z "$ac_dir" && ac_dir=.
4434 if test -f $ac_dir/${ac_tool_prefix}file; then
4435 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4436 if test -n "$file_magic_test_file"; then
4437 case $deplibs_check_method in
4438 "file_magic "*)
4439 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4440 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4441 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4442 egrep "$file_magic_regex" > /dev/null; then
4444 else
4445 cat <<EOF 1>&2
4447 *** Warning: the command libtool uses to detect shared libraries,
4448 *** $file_magic_cmd, produces output that libtool cannot recognize.
4449 *** The result is that libtool may fail to recognize shared libraries
4450 *** as such. This will affect the creation of libtool libraries that
4451 *** depend on shared libraries, but programs linked with such libtool
4452 *** libraries will work regardless of this problem. Nevertheless, you
4453 *** may want to report the problem to your system manager and/or to
4454 *** bug-libtool@gnu.org
4457 fi ;;
4458 esac
4460 break
4462 done
4463 IFS="$ac_save_ifs"
4464 MAGIC_CMD="$ac_save_MAGIC_CMD"
4466 esac
4469 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4470 if test -n "$MAGIC_CMD"; then
4471 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4472 echo "${ECHO_T}$MAGIC_CMD" >&6
4473 else
4474 echo "$as_me:$LINENO: result: no" >&5
4475 echo "${ECHO_T}no" >&6
4478 if test -z "$lt_cv_path_MAGIC_CMD"; then
4479 if test -n "$ac_tool_prefix"; then
4480 echo "$as_me:$LINENO: checking for file" >&5
4481 echo $ECHO_N "checking for file... $ECHO_C" >&6
4482 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4483 echo $ECHO_N "(cached) $ECHO_C" >&6
4484 else
4485 case $MAGIC_CMD in
4487 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4489 ?:/*)
4490 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4493 ac_save_MAGIC_CMD="$MAGIC_CMD"
4494 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4495 ac_dummy="/usr/bin:$PATH"
4496 for ac_dir in $ac_dummy; do
4497 test -z "$ac_dir" && ac_dir=.
4498 if test -f $ac_dir/file; then
4499 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4500 if test -n "$file_magic_test_file"; then
4501 case $deplibs_check_method in
4502 "file_magic "*)
4503 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4504 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4505 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4506 egrep "$file_magic_regex" > /dev/null; then
4508 else
4509 cat <<EOF 1>&2
4511 *** Warning: the command libtool uses to detect shared libraries,
4512 *** $file_magic_cmd, produces output that libtool cannot recognize.
4513 *** The result is that libtool may fail to recognize shared libraries
4514 *** as such. This will affect the creation of libtool libraries that
4515 *** depend on shared libraries, but programs linked with such libtool
4516 *** libraries will work regardless of this problem. Nevertheless, you
4517 *** may want to report the problem to your system manager and/or to
4518 *** bug-libtool@gnu.org
4521 fi ;;
4522 esac
4524 break
4526 done
4527 IFS="$ac_save_ifs"
4528 MAGIC_CMD="$ac_save_MAGIC_CMD"
4530 esac
4533 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4534 if test -n "$MAGIC_CMD"; then
4535 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4536 echo "${ECHO_T}$MAGIC_CMD" >&6
4537 else
4538 echo "$as_me:$LINENO: result: no" >&5
4539 echo "${ECHO_T}no" >&6
4542 else
4543 MAGIC_CMD=:
4549 esac
4551 if test -n "$ac_tool_prefix"; then
4552 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4553 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4554 echo "$as_me:$LINENO: checking for $ac_word" >&5
4555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4556 if test "${ac_cv_prog_RANLIB+set}" = set; then
4557 echo $ECHO_N "(cached) $ECHO_C" >&6
4558 else
4559 if test -n "$RANLIB"; then
4560 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4561 else
4562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4563 for as_dir in $PATH
4565 IFS=$as_save_IFS
4566 test -z "$as_dir" && as_dir=.
4567 for ac_exec_ext in '' $ac_executable_extensions; do
4568 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4569 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4571 break 2
4573 done
4574 done
4578 RANLIB=$ac_cv_prog_RANLIB
4579 if test -n "$RANLIB"; then
4580 echo "$as_me:$LINENO: result: $RANLIB" >&5
4581 echo "${ECHO_T}$RANLIB" >&6
4582 else
4583 echo "$as_me:$LINENO: result: no" >&5
4584 echo "${ECHO_T}no" >&6
4588 if test -z "$ac_cv_prog_RANLIB"; then
4589 ac_ct_RANLIB=$RANLIB
4590 # Extract the first word of "ranlib", so it can be a program name with args.
4591 set dummy ranlib; ac_word=$2
4592 echo "$as_me:$LINENO: checking for $ac_word" >&5
4593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4594 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4595 echo $ECHO_N "(cached) $ECHO_C" >&6
4596 else
4597 if test -n "$ac_ct_RANLIB"; then
4598 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4599 else
4600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4601 for as_dir in $PATH
4603 IFS=$as_save_IFS
4604 test -z "$as_dir" && as_dir=.
4605 for ac_exec_ext in '' $ac_executable_extensions; do
4606 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4607 ac_cv_prog_ac_ct_RANLIB="ranlib"
4608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4609 break 2
4611 done
4612 done
4614 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4617 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4618 if test -n "$ac_ct_RANLIB"; then
4619 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4620 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4621 else
4622 echo "$as_me:$LINENO: result: no" >&5
4623 echo "${ECHO_T}no" >&6
4626 RANLIB=$ac_ct_RANLIB
4627 else
4628 RANLIB="$ac_cv_prog_RANLIB"
4631 if test -n "$ac_tool_prefix"; then
4632 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4633 set dummy ${ac_tool_prefix}strip; ac_word=$2
4634 echo "$as_me:$LINENO: checking for $ac_word" >&5
4635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4636 if test "${ac_cv_prog_STRIP+set}" = set; then
4637 echo $ECHO_N "(cached) $ECHO_C" >&6
4638 else
4639 if test -n "$STRIP"; then
4640 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4641 else
4642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4643 for as_dir in $PATH
4645 IFS=$as_save_IFS
4646 test -z "$as_dir" && as_dir=.
4647 for ac_exec_ext in '' $ac_executable_extensions; do
4648 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4649 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4651 break 2
4653 done
4654 done
4658 STRIP=$ac_cv_prog_STRIP
4659 if test -n "$STRIP"; then
4660 echo "$as_me:$LINENO: result: $STRIP" >&5
4661 echo "${ECHO_T}$STRIP" >&6
4662 else
4663 echo "$as_me:$LINENO: result: no" >&5
4664 echo "${ECHO_T}no" >&6
4668 if test -z "$ac_cv_prog_STRIP"; then
4669 ac_ct_STRIP=$STRIP
4670 # Extract the first word of "strip", so it can be a program name with args.
4671 set dummy strip; ac_word=$2
4672 echo "$as_me:$LINENO: checking for $ac_word" >&5
4673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4674 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4675 echo $ECHO_N "(cached) $ECHO_C" >&6
4676 else
4677 if test -n "$ac_ct_STRIP"; then
4678 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4679 else
4680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4681 for as_dir in $PATH
4683 IFS=$as_save_IFS
4684 test -z "$as_dir" && as_dir=.
4685 for ac_exec_ext in '' $ac_executable_extensions; do
4686 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4687 ac_cv_prog_ac_ct_STRIP="strip"
4688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4689 break 2
4691 done
4692 done
4694 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4697 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4698 if test -n "$ac_ct_STRIP"; then
4699 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4700 echo "${ECHO_T}$ac_ct_STRIP" >&6
4701 else
4702 echo "$as_me:$LINENO: result: no" >&5
4703 echo "${ECHO_T}no" >&6
4706 STRIP=$ac_ct_STRIP
4707 else
4708 STRIP="$ac_cv_prog_STRIP"
4712 # Check for any special flags to pass to ltconfig.
4713 libtool_flags="--cache-file=$cache_file"
4714 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4715 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4716 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4717 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4718 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4721 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4722 if test "${enable_libtool_lock+set}" = set; then
4723 enableval="$enable_libtool_lock"
4726 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4727 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4730 # Check whether --with-pic or --without-pic was given.
4731 if test "${with_pic+set}" = set; then
4732 withval="$with_pic"
4733 pic_mode="$withval"
4734 else
4735 pic_mode=default
4737 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4738 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4740 # Some flags need to be propagated to the compiler or linker for good
4741 # libtool support.
4742 case $host in
4743 *-*-irix6*)
4744 # Find out which ABI we are using.
4745 echo '#line 4745 "configure"' > conftest.$ac_ext
4746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4747 (eval $ac_compile) 2>&5
4748 ac_status=$?
4749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750 (exit $ac_status); }; then
4751 if test "$lt_cv_prog_gnu_ld" = yes; then
4752 case `/usr/bin/file conftest.$ac_objext` in
4753 *32-bit*)
4754 LD="${LD-ld} -melf32bsmip"
4756 *N32*)
4757 LD="${LD-ld} -melf32bmipn32"
4759 *64-bit*)
4760 LD="${LD-ld} -melf64bmip"
4762 esac
4763 else
4764 case `/usr/bin/file conftest.$ac_objext` in
4765 *32-bit*)
4766 LD="${LD-ld} -32"
4768 *N32*)
4769 LD="${LD-ld} -n32"
4771 *64-bit*)
4772 LD="${LD-ld} -64"
4774 esac
4777 rm -rf conftest*
4780 ia64-*-hpux*)
4781 # Find out which ABI we are using.
4782 echo 'int i;' > conftest.$ac_ext
4783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4784 (eval $ac_compile) 2>&5
4785 ac_status=$?
4786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4787 (exit $ac_status); }; then
4788 case "`/usr/bin/file conftest.o`" in
4789 *ELF-32*)
4790 HPUX_IA64_MODE="32"
4792 *ELF-64*)
4793 HPUX_IA64_MODE="64"
4795 esac
4797 rm -rf conftest*
4800 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4801 # Find out which ABI we are using.
4802 echo 'int i;' > conftest.$ac_ext
4803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4804 (eval $ac_compile) 2>&5
4805 ac_status=$?
4806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807 (exit $ac_status); }; then
4808 case "`/usr/bin/file conftest.o`" in
4809 *32-bit*)
4810 case $host in
4811 x86_64-*linux*)
4812 LD="${LD-ld} -m elf_i386"
4814 ppc64-*linux*|powerpc64-*linux*)
4815 LD="${LD-ld} -m elf32ppclinux"
4817 s390x-*linux*)
4818 LD="${LD-ld} -m elf_s390"
4820 sparc64-*linux*)
4821 LD="${LD-ld} -m elf32_sparc"
4823 esac
4825 *64-bit*)
4826 case $host in
4827 x86_64-*linux*)
4828 LD="${LD-ld} -m elf_x86_64"
4830 ppc*-*linux*|powerpc*-*linux*)
4831 LD="${LD-ld} -m elf64ppc"
4833 s390*-*linux*)
4834 LD="${LD-ld} -m elf64_s390"
4836 sparc*-*linux*)
4837 LD="${LD-ld} -m elf64_sparc"
4839 esac
4841 esac
4843 rm -rf conftest*
4846 *-*-sco3.2v5*)
4847 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4848 SAVE_CFLAGS="$CFLAGS"
4849 CFLAGS="$CFLAGS -belf"
4850 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4851 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4852 if test "${lt_cv_cc_needs_belf+set}" = set; then
4853 echo $ECHO_N "(cached) $ECHO_C" >&6
4854 else
4857 ac_ext=c
4858 ac_cpp='$CPP $CPPFLAGS'
4859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4863 if test x$gcc_no_link = xyes; then
4864 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4866 { (exit 1); exit 1; }; }
4868 cat >conftest.$ac_ext <<_ACEOF
4869 /* confdefs.h. */
4870 _ACEOF
4871 cat confdefs.h >>conftest.$ac_ext
4872 cat >>conftest.$ac_ext <<_ACEOF
4873 /* end confdefs.h. */
4876 main ()
4880 return 0;
4882 _ACEOF
4883 rm -f conftest.$ac_objext conftest$ac_exeext
4884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4885 (eval $ac_link) 2>conftest.er1
4886 ac_status=$?
4887 grep -v '^ *+' conftest.er1 >conftest.err
4888 rm -f conftest.er1
4889 cat conftest.err >&5
4890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4891 (exit $ac_status); } &&
4892 { ac_try='test -z "$ac_c_werror_flag"
4893 || test ! -s conftest.err'
4894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4895 (eval $ac_try) 2>&5
4896 ac_status=$?
4897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4898 (exit $ac_status); }; } &&
4899 { ac_try='test -s conftest$ac_exeext'
4900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4901 (eval $ac_try) 2>&5
4902 ac_status=$?
4903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4904 (exit $ac_status); }; }; then
4905 lt_cv_cc_needs_belf=yes
4906 else
4907 echo "$as_me: failed program was:" >&5
4908 sed 's/^/| /' conftest.$ac_ext >&5
4910 lt_cv_cc_needs_belf=no
4912 rm -f conftest.err conftest.$ac_objext \
4913 conftest$ac_exeext conftest.$ac_ext
4914 ac_ext=c
4915 ac_cpp='$CPP $CPPFLAGS'
4916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4921 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4922 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4923 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4924 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4925 CFLAGS="$SAVE_CFLAGS"
4930 esac
4933 # Save cache, so that ltconfig can load it
4934 cat >confcache <<\_ACEOF
4935 # This file is a shell script that caches the results of configure
4936 # tests run on this system so they can be shared between configure
4937 # scripts and configure runs, see configure's option --config-cache.
4938 # It is not useful on other systems. If it contains results you don't
4939 # want to keep, you may remove or edit it.
4941 # config.status only pays attention to the cache file if you give it
4942 # the --recheck option to rerun configure.
4944 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4945 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4946 # following values.
4948 _ACEOF
4950 # The following way of writing the cache mishandles newlines in values,
4951 # but we know of no workaround that is simple, portable, and efficient.
4952 # So, don't put newlines in cache variables' values.
4953 # Ultrix sh set writes to stderr and can't be redirected directly,
4954 # and sets the high bit in the cache file unless we assign to the vars.
4956 (set) 2>&1 |
4957 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4958 *ac_space=\ *)
4959 # `set' does not quote correctly, so add quotes (double-quote
4960 # substitution turns \\\\ into \\, and sed turns \\ into \).
4961 sed -n \
4962 "s/'/'\\\\''/g;
4963 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4966 # `set' quotes correctly as required by POSIX, so do not add quotes.
4967 sed -n \
4968 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4970 esac;
4972 sed '
4973 t clear
4974 : clear
4975 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4976 t end
4977 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4978 : end' >>confcache
4979 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4980 if test -w $cache_file; then
4981 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4982 cat confcache >$cache_file
4983 else
4984 echo "not updating unwritable cache $cache_file"
4987 rm -f confcache
4989 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4990 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4991 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4992 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4993 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4994 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4995 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4996 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4997 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4998 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4999 echo "$as_me: error: libtool configure failed" >&2;}
5000 { (exit 1); exit 1; }; }
5002 # Reload cache, that may have been modified by ltconfig
5003 if test -r "$cache_file"; then
5004 # Some versions of bash will fail to source /dev/null (special
5005 # files actually), so we avoid doing that.
5006 if test -f "$cache_file"; then
5007 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
5008 echo "$as_me: loading cache $cache_file" >&6;}
5009 case $cache_file in
5010 [\\/]* | ?:[\\/]* ) . $cache_file;;
5011 *) . ./$cache_file;;
5012 esac
5014 else
5015 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
5016 echo "$as_me: creating cache $cache_file" >&6;}
5017 >$cache_file
5021 # This can be used to rebuild libtool when needed
5022 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
5024 # Always use our own libtool.
5025 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
5027 # Redirect the config.log output again, so that the ltconfig log is not
5028 # clobbered by the next message.
5029 exec 5>>./config.log
5031 ac_ext=cc
5032 ac_cpp='$CXXCPP $CPPFLAGS'
5033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5036 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5037 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5038 if test -z "$CXXCPP"; then
5039 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5040 echo $ECHO_N "(cached) $ECHO_C" >&6
5041 else
5042 # Double quotes because CXXCPP needs to be expanded
5043 for CXXCPP in "$CXX -E" "/lib/cpp"
5045 ac_preproc_ok=false
5046 for ac_cxx_preproc_warn_flag in '' yes
5048 # Use a header file that comes with gcc, so configuring glibc
5049 # with a fresh cross-compiler works.
5050 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5051 # <limits.h> exists even on freestanding compilers.
5052 # On the NeXT, cc -E runs the code through the compiler's parser,
5053 # not just through cpp. "Syntax error" is here to catch this case.
5054 cat >conftest.$ac_ext <<_ACEOF
5055 /* confdefs.h. */
5056 _ACEOF
5057 cat confdefs.h >>conftest.$ac_ext
5058 cat >>conftest.$ac_ext <<_ACEOF
5059 /* end confdefs.h. */
5060 #ifdef __STDC__
5061 # include <limits.h>
5062 #else
5063 # include <assert.h>
5064 #endif
5065 Syntax error
5066 _ACEOF
5067 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5068 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5069 ac_status=$?
5070 grep -v '^ *+' conftest.er1 >conftest.err
5071 rm -f conftest.er1
5072 cat conftest.err >&5
5073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5074 (exit $ac_status); } >/dev/null; then
5075 if test -s conftest.err; then
5076 ac_cpp_err=$ac_cxx_preproc_warn_flag
5077 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5078 else
5079 ac_cpp_err=
5081 else
5082 ac_cpp_err=yes
5084 if test -z "$ac_cpp_err"; then
5086 else
5087 echo "$as_me: failed program was:" >&5
5088 sed 's/^/| /' conftest.$ac_ext >&5
5090 # Broken: fails on valid input.
5091 continue
5093 rm -f conftest.err conftest.$ac_ext
5095 # OK, works on sane cases. Now check whether non-existent headers
5096 # can be detected and how.
5097 cat >conftest.$ac_ext <<_ACEOF
5098 /* confdefs.h. */
5099 _ACEOF
5100 cat confdefs.h >>conftest.$ac_ext
5101 cat >>conftest.$ac_ext <<_ACEOF
5102 /* end confdefs.h. */
5103 #include <ac_nonexistent.h>
5104 _ACEOF
5105 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5106 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5107 ac_status=$?
5108 grep -v '^ *+' conftest.er1 >conftest.err
5109 rm -f conftest.er1
5110 cat conftest.err >&5
5111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5112 (exit $ac_status); } >/dev/null; then
5113 if test -s conftest.err; then
5114 ac_cpp_err=$ac_cxx_preproc_warn_flag
5115 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5116 else
5117 ac_cpp_err=
5119 else
5120 ac_cpp_err=yes
5122 if test -z "$ac_cpp_err"; then
5123 # Broken: success on invalid input.
5124 continue
5125 else
5126 echo "$as_me: failed program was:" >&5
5127 sed 's/^/| /' conftest.$ac_ext >&5
5129 # Passes both tests.
5130 ac_preproc_ok=:
5131 break
5133 rm -f conftest.err conftest.$ac_ext
5135 done
5136 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5137 rm -f conftest.err conftest.$ac_ext
5138 if $ac_preproc_ok; then
5139 break
5142 done
5143 ac_cv_prog_CXXCPP=$CXXCPP
5146 CXXCPP=$ac_cv_prog_CXXCPP
5147 else
5148 ac_cv_prog_CXXCPP=$CXXCPP
5150 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5151 echo "${ECHO_T}$CXXCPP" >&6
5152 ac_preproc_ok=false
5153 for ac_cxx_preproc_warn_flag in '' yes
5155 # Use a header file that comes with gcc, so configuring glibc
5156 # with a fresh cross-compiler works.
5157 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5158 # <limits.h> exists even on freestanding compilers.
5159 # On the NeXT, cc -E runs the code through the compiler's parser,
5160 # not just through cpp. "Syntax error" is here to catch this case.
5161 cat >conftest.$ac_ext <<_ACEOF
5162 /* confdefs.h. */
5163 _ACEOF
5164 cat confdefs.h >>conftest.$ac_ext
5165 cat >>conftest.$ac_ext <<_ACEOF
5166 /* end confdefs.h. */
5167 #ifdef __STDC__
5168 # include <limits.h>
5169 #else
5170 # include <assert.h>
5171 #endif
5172 Syntax error
5173 _ACEOF
5174 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5175 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5176 ac_status=$?
5177 grep -v '^ *+' conftest.er1 >conftest.err
5178 rm -f conftest.er1
5179 cat conftest.err >&5
5180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5181 (exit $ac_status); } >/dev/null; then
5182 if test -s conftest.err; then
5183 ac_cpp_err=$ac_cxx_preproc_warn_flag
5184 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5185 else
5186 ac_cpp_err=
5188 else
5189 ac_cpp_err=yes
5191 if test -z "$ac_cpp_err"; then
5193 else
5194 echo "$as_me: failed program was:" >&5
5195 sed 's/^/| /' conftest.$ac_ext >&5
5197 # Broken: fails on valid input.
5198 continue
5200 rm -f conftest.err conftest.$ac_ext
5202 # OK, works on sane cases. Now check whether non-existent headers
5203 # can be detected and how.
5204 cat >conftest.$ac_ext <<_ACEOF
5205 /* confdefs.h. */
5206 _ACEOF
5207 cat confdefs.h >>conftest.$ac_ext
5208 cat >>conftest.$ac_ext <<_ACEOF
5209 /* end confdefs.h. */
5210 #include <ac_nonexistent.h>
5211 _ACEOF
5212 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5213 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5214 ac_status=$?
5215 grep -v '^ *+' conftest.er1 >conftest.err
5216 rm -f conftest.er1
5217 cat conftest.err >&5
5218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219 (exit $ac_status); } >/dev/null; then
5220 if test -s conftest.err; then
5221 ac_cpp_err=$ac_cxx_preproc_warn_flag
5222 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5223 else
5224 ac_cpp_err=
5226 else
5227 ac_cpp_err=yes
5229 if test -z "$ac_cpp_err"; then
5230 # Broken: success on invalid input.
5231 continue
5232 else
5233 echo "$as_me: failed program was:" >&5
5234 sed 's/^/| /' conftest.$ac_ext >&5
5236 # Passes both tests.
5237 ac_preproc_ok=:
5238 break
5240 rm -f conftest.err conftest.$ac_ext
5242 done
5243 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5244 rm -f conftest.err conftest.$ac_ext
5245 if $ac_preproc_ok; then
5247 else
5248 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5249 See \`config.log' for more details." >&5
5250 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5251 See \`config.log' for more details." >&2;}
5252 { (exit 1); exit 1; }; }
5255 ac_ext=c
5256 ac_cpp='$CPP $CPPFLAGS'
5257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5263 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
5264 lt_save_CC="$CC"
5265 lt_save_CFLAGS="$CFLAGS"
5266 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
5267 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
5268 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
5269 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
5270 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
5271 deplibs_check_method="$deplibs_check_method" \
5272 file_magic_cmd="$file_magic_cmd" \
5273 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
5274 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
5275 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
5276 echo "$as_me: error: libtool tag configuration failed" >&2;}
5277 { (exit 1); exit 1; }; }
5278 CC="$lt_save_CC"
5279 CFLAGS="$lt_save_CFLAGS"
5281 # Redirect the config.log output again, so that the ltconfig log is not
5282 # clobbered by the next message.
5283 exec 5>>./config.log
5293 # Possibly disable most of the library.
5294 ## TODO: Consider skipping unncessary tests altogether in this case, rather
5295 ## than just ignoring the results. Faster /and/ more correct, win win.
5297 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
5298 if test "${enable_hosted_libstdcxx+set}" = set; then
5299 enableval="$enable_hosted_libstdcxx"
5301 else
5302 case "$host" in
5303 arm*-*-symbianelf*)
5304 enable_hosted_libstdcxx=no
5307 enable_hosted_libstdcxx=yes
5309 esac
5311 if test "$enable_hosted_libstdcxx" = no; then
5312 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
5313 echo "$as_me: Only freestanding libraries will be built" >&6;}
5314 is_hosted=no
5315 hosted_define=0
5316 enable_abi_check=no
5317 enable_libstdcxx_pch=no
5318 else
5319 is_hosted=yes
5320 hosted_define=1
5324 cat >>confdefs.h <<_ACEOF
5325 #define _GLIBCXX_HOSTED $hosted_define
5326 _ACEOF
5330 # Check for compiler support that doesn't require linking.
5332 echo "$as_me:$LINENO: checking for exception model to use" >&5
5333 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
5336 ac_ext=cc
5337 ac_cpp='$CXXCPP $CPPFLAGS'
5338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5342 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
5343 if test "${enable_sjlj_exceptions+set}" = set; then
5344 enableval="$enable_sjlj_exceptions"
5346 case "$enableval" in
5347 yes|no|auto) ;;
5348 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
5349 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
5350 { (exit 1); exit 1; }; } ;;
5351 esac
5353 else
5354 enable_sjlj_exceptions=auto
5358 if test $enable_sjlj_exceptions = auto; then
5359 # Botheration. Now we've got to detect the exception model. Link tests
5360 # against libgcc.a are problematic since we've not been given proper -L
5361 # bits for single-tree newlib and libgloss.
5363 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
5364 cat > conftest.$ac_ext << EOF
5365 #line 5365 "configure"
5366 struct S { ~S(); };
5367 void bar();
5368 void foo()
5370 S s;
5371 bar();
5374 old_CXXFLAGS="$CXXFLAGS"
5375 CXXFLAGS=-S
5376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5377 (eval $ac_compile) 2>&5
5378 ac_status=$?
5379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5380 (exit $ac_status); }; then
5381 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5382 enable_sjlj_exceptions=yes
5383 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5384 enable_sjlj_exceptions=no
5385 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
5386 enable_sjlj_exceptions=no
5389 CXXFLAGS="$old_CXXFLAGS"
5390 rm -f conftest*
5393 # This is a tad weird, for hysterical raisins. We have to map
5394 # enable/disable to two different models.
5395 case $enable_sjlj_exceptions in
5396 yes)
5398 cat >>confdefs.h <<\_ACEOF
5399 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5400 _ACEOF
5402 ac_exception_model_name=sjlj
5405 ac_exception_model_name="call frame"
5408 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5409 echo "$as_me: error: unable to detect exception model" >&2;}
5410 { (exit 1); exit 1; }; }
5412 esac
5413 ac_ext=c
5414 ac_cpp='$CPP $CPPFLAGS'
5415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5419 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5420 echo "${ECHO_T}$ac_exception_model_name" >&6
5423 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5424 if test "${enable_libstdcxx_pch+set}" = set; then
5425 enableval="$enable_libstdcxx_pch"
5427 case "$enableval" in
5428 yes|no) ;;
5429 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5430 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5431 { (exit 1); exit 1; }; } ;;
5432 esac
5434 else
5435 enable_libstdcxx_pch=$is_hosted
5438 if test $enable_libstdcxx_pch = yes; then
5439 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5440 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5441 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5442 echo $ECHO_N "(cached) $ECHO_C" >&6
5443 else
5444 ac_save_CXXFLAGS="$CXXFLAGS"
5445 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5448 ac_ext=cc
5449 ac_cpp='$CXXCPP $CPPFLAGS'
5450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5454 echo '#include <math.h>' > conftest.h
5455 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5456 -o conftest.h.gch 1>&5 2>&1 &&
5457 echo '#error "pch failed"' > conftest.h &&
5458 echo '#include "conftest.h"' > conftest.cc &&
5459 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5460 then
5461 glibcxx_cv_prog_CXX_pch=yes
5462 else
5463 glibcxx_cv_prog_CXX_pch=no
5465 rm -f conftest*
5466 CXXFLAGS=$ac_save_CXXFLAGS
5467 ac_ext=c
5468 ac_cpp='$CPP $CPPFLAGS'
5469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5475 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5476 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5477 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5480 echo "$as_me:$LINENO: checking for enabled PCH" >&5
5481 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5482 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5483 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5486 if test $enable_libstdcxx_pch = yes; then
5487 glibcxx_PCHFLAGS="-include bits/stdtr1c++.h"
5488 else
5489 glibcxx_PCHFLAGS=""
5494 # Enable all the variable C++ runtime options.
5496 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5497 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5498 # Check whether --enable-cstdio or --disable-cstdio was given.
5499 if test "${enable_cstdio+set}" = set; then
5500 enableval="$enable_cstdio"
5502 case "$enableval" in
5503 stdio) ;;
5504 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5505 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5506 { (exit 1); exit 1; }; } ;;
5507 esac
5509 else
5510 enable_cstdio=stdio
5514 # Now that libio has been removed, you can have any color you want as long
5515 # as it's black. This is one big no-op until other packages are added, but
5516 # showing the framework never hurts.
5517 case ${enable_cstdio} in
5518 stdio)
5519 CSTDIO_H=config/io/c_io_stdio.h
5520 BASIC_FILE_H=config/io/basic_file_stdio.h
5521 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5522 echo "$as_me:$LINENO: result: stdio" >&5
5523 echo "${ECHO_T}stdio" >&6
5525 esac
5531 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5532 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5533 if test "${ac_cv_header_stdc+set}" = set; then
5534 echo $ECHO_N "(cached) $ECHO_C" >&6
5535 else
5536 cat >conftest.$ac_ext <<_ACEOF
5537 /* confdefs.h. */
5538 _ACEOF
5539 cat confdefs.h >>conftest.$ac_ext
5540 cat >>conftest.$ac_ext <<_ACEOF
5541 /* end confdefs.h. */
5542 #include <stdlib.h>
5543 #include <stdarg.h>
5544 #include <string.h>
5545 #include <float.h>
5548 main ()
5552 return 0;
5554 _ACEOF
5555 rm -f conftest.$ac_objext
5556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5557 (eval $ac_compile) 2>conftest.er1
5558 ac_status=$?
5559 grep -v '^ *+' conftest.er1 >conftest.err
5560 rm -f conftest.er1
5561 cat conftest.err >&5
5562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5563 (exit $ac_status); } &&
5564 { ac_try='test -z "$ac_c_werror_flag"
5565 || test ! -s conftest.err'
5566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5567 (eval $ac_try) 2>&5
5568 ac_status=$?
5569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5570 (exit $ac_status); }; } &&
5571 { ac_try='test -s conftest.$ac_objext'
5572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5573 (eval $ac_try) 2>&5
5574 ac_status=$?
5575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5576 (exit $ac_status); }; }; then
5577 ac_cv_header_stdc=yes
5578 else
5579 echo "$as_me: failed program was:" >&5
5580 sed 's/^/| /' conftest.$ac_ext >&5
5582 ac_cv_header_stdc=no
5584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5586 if test $ac_cv_header_stdc = yes; then
5587 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5588 cat >conftest.$ac_ext <<_ACEOF
5589 /* confdefs.h. */
5590 _ACEOF
5591 cat confdefs.h >>conftest.$ac_ext
5592 cat >>conftest.$ac_ext <<_ACEOF
5593 /* end confdefs.h. */
5594 #include <string.h>
5596 _ACEOF
5597 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5598 $EGREP "memchr" >/dev/null 2>&1; then
5600 else
5601 ac_cv_header_stdc=no
5603 rm -f conftest*
5607 if test $ac_cv_header_stdc = yes; then
5608 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5609 cat >conftest.$ac_ext <<_ACEOF
5610 /* confdefs.h. */
5611 _ACEOF
5612 cat confdefs.h >>conftest.$ac_ext
5613 cat >>conftest.$ac_ext <<_ACEOF
5614 /* end confdefs.h. */
5615 #include <stdlib.h>
5617 _ACEOF
5618 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5619 $EGREP "free" >/dev/null 2>&1; then
5621 else
5622 ac_cv_header_stdc=no
5624 rm -f conftest*
5628 if test $ac_cv_header_stdc = yes; then
5629 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5630 if test "$cross_compiling" = yes; then
5632 else
5633 cat >conftest.$ac_ext <<_ACEOF
5634 /* confdefs.h. */
5635 _ACEOF
5636 cat confdefs.h >>conftest.$ac_ext
5637 cat >>conftest.$ac_ext <<_ACEOF
5638 /* end confdefs.h. */
5639 #include <ctype.h>
5640 #if ((' ' & 0x0FF) == 0x020)
5641 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5642 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5643 #else
5644 # define ISLOWER(c) \
5645 (('a' <= (c) && (c) <= 'i') \
5646 || ('j' <= (c) && (c) <= 'r') \
5647 || ('s' <= (c) && (c) <= 'z'))
5648 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5649 #endif
5651 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5653 main ()
5655 int i;
5656 for (i = 0; i < 256; i++)
5657 if (XOR (islower (i), ISLOWER (i))
5658 || toupper (i) != TOUPPER (i))
5659 exit(2);
5660 exit (0);
5662 _ACEOF
5663 rm -f conftest$ac_exeext
5664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5665 (eval $ac_link) 2>&5
5666 ac_status=$?
5667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5668 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5670 (eval $ac_try) 2>&5
5671 ac_status=$?
5672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5673 (exit $ac_status); }; }; then
5675 else
5676 echo "$as_me: program exited with status $ac_status" >&5
5677 echo "$as_me: failed program was:" >&5
5678 sed 's/^/| /' conftest.$ac_ext >&5
5680 ( exit $ac_status )
5681 ac_cv_header_stdc=no
5683 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5687 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5688 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5689 if test $ac_cv_header_stdc = yes; then
5691 cat >>confdefs.h <<\_ACEOF
5692 #define STDC_HEADERS 1
5693 _ACEOF
5697 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5707 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5708 inttypes.h stdint.h unistd.h
5710 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5711 echo "$as_me:$LINENO: checking for $ac_header" >&5
5712 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5713 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5714 echo $ECHO_N "(cached) $ECHO_C" >&6
5715 else
5716 cat >conftest.$ac_ext <<_ACEOF
5717 /* confdefs.h. */
5718 _ACEOF
5719 cat confdefs.h >>conftest.$ac_ext
5720 cat >>conftest.$ac_ext <<_ACEOF
5721 /* end confdefs.h. */
5722 $ac_includes_default
5724 #include <$ac_header>
5725 _ACEOF
5726 rm -f conftest.$ac_objext
5727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5728 (eval $ac_compile) 2>conftest.er1
5729 ac_status=$?
5730 grep -v '^ *+' conftest.er1 >conftest.err
5731 rm -f conftest.er1
5732 cat conftest.err >&5
5733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5734 (exit $ac_status); } &&
5735 { ac_try='test -z "$ac_c_werror_flag"
5736 || test ! -s conftest.err'
5737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5738 (eval $ac_try) 2>&5
5739 ac_status=$?
5740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5741 (exit $ac_status); }; } &&
5742 { ac_try='test -s conftest.$ac_objext'
5743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5744 (eval $ac_try) 2>&5
5745 ac_status=$?
5746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5747 (exit $ac_status); }; }; then
5748 eval "$as_ac_Header=yes"
5749 else
5750 echo "$as_me: failed program was:" >&5
5751 sed 's/^/| /' conftest.$ac_ext >&5
5753 eval "$as_ac_Header=no"
5755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5758 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5759 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5760 cat >>confdefs.h <<_ACEOF
5761 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5762 _ACEOF
5766 done
5770 echo "$as_me:$LINENO: checking for C locale to use" >&5
5771 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5772 # Check whether --enable-clocale or --disable-clocale was given.
5773 if test "${enable_clocale+set}" = set; then
5774 enableval="$enable_clocale"
5776 case "$enableval" in
5777 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5778 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5779 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5780 { (exit 1); exit 1; }; } ;;
5781 esac
5783 else
5784 enable_clocale=auto
5788 # If they didn't use this option switch, or if they specified --enable
5789 # with no specific model, we'll have to look for one. If they
5790 # specified --disable (???), do likewise.
5791 if test $enable_clocale = no || test $enable_clocale = yes; then
5792 enable_clocale=auto
5795 # Either a known package, or "auto"
5796 enable_clocale_flag=$enable_clocale
5798 # Probe for locale support if no specific model is specified.
5799 # Default to "generic".
5800 if test $enable_clocale_flag = auto; then
5801 case ${target_os} in
5802 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5803 cat >conftest.$ac_ext <<_ACEOF
5804 /* confdefs.h. */
5805 _ACEOF
5806 cat confdefs.h >>conftest.$ac_ext
5807 cat >>conftest.$ac_ext <<_ACEOF
5808 /* end confdefs.h. */
5810 #include <features.h>
5811 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5812 _GLIBCXX_ok
5813 #endif
5815 _ACEOF
5816 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5817 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5818 enable_clocale_flag=gnu
5819 else
5820 enable_clocale_flag=generic
5822 rm -f conftest*
5825 # Test for bugs early in glibc-2.2.x series
5826 if test $enable_clocale_flag = gnu; then
5827 if test "$cross_compiling" = yes; then
5828 enable_clocale_flag=generic
5829 else
5830 cat >conftest.$ac_ext <<_ACEOF
5831 /* confdefs.h. */
5832 _ACEOF
5833 cat confdefs.h >>conftest.$ac_ext
5834 cat >>conftest.$ac_ext <<_ACEOF
5835 /* end confdefs.h. */
5837 #define _GNU_SOURCE 1
5838 #include <locale.h>
5839 #include <string.h>
5840 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5841 extern __typeof(newlocale) __newlocale;
5842 extern __typeof(duplocale) __duplocale;
5843 extern __typeof(strcoll_l) __strcoll_l;
5844 #endif
5845 int main()
5847 const char __one[] = "Äuglein Augmen";
5848 const char __two[] = "Äuglein";
5849 int i;
5850 int j;
5851 __locale_t loc;
5852 __locale_t loc_dup;
5853 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5854 loc_dup = __duplocale(loc);
5855 i = __strcoll_l(__one, __two, loc);
5856 j = __strcoll_l(__one, __two, loc_dup);
5857 return 0;
5860 _ACEOF
5861 rm -f conftest$ac_exeext
5862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5863 (eval $ac_link) 2>&5
5864 ac_status=$?
5865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5866 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5868 (eval $ac_try) 2>&5
5869 ac_status=$?
5870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5871 (exit $ac_status); }; }; then
5872 enable_clocale_flag=gnu
5873 else
5874 echo "$as_me: program exited with status $ac_status" >&5
5875 echo "$as_me: failed program was:" >&5
5876 sed 's/^/| /' conftest.$ac_ext >&5
5878 ( exit $ac_status )
5879 enable_clocale_flag=generic
5881 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5885 # ... at some point put __strxfrm_l tests in as well.
5887 darwin* | freebsd*)
5888 enable_clocale_flag=darwin
5891 enable_clocale_flag=generic
5893 esac
5896 # Deal with gettext issues. Default to not using it (=no) until we detect
5897 # support for it later. Let the user turn it off via --e/d, but let that
5898 # default to on for easier handling.
5899 USE_NLS=no
5900 # Check whether --enable-nls or --disable-nls was given.
5901 if test "${enable_nls+set}" = set; then
5902 enableval="$enable_nls"
5904 else
5905 enable_nls=yes
5908 # Set configure bits for specified locale package
5909 case ${enable_clocale_flag} in
5910 generic)
5911 echo "$as_me:$LINENO: result: generic" >&5
5912 echo "${ECHO_T}generic" >&6
5914 CLOCALE_H=config/locale/generic/c_locale.h
5915 CLOCALE_CC=config/locale/generic/c_locale.cc
5916 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5917 CCOLLATE_CC=config/locale/generic/collate_members.cc
5918 CCTYPE_CC=config/locale/generic/ctype_members.cc
5919 CMESSAGES_H=config/locale/generic/messages_members.h
5920 CMESSAGES_CC=config/locale/generic/messages_members.cc
5921 CMONEY_CC=config/locale/generic/monetary_members.cc
5922 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5923 CTIME_H=config/locale/generic/time_members.h
5924 CTIME_CC=config/locale/generic/time_members.cc
5925 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5927 darwin)
5928 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
5929 echo "${ECHO_T}darwin or freebsd" >&6
5931 CLOCALE_H=config/locale/generic/c_locale.h
5932 CLOCALE_CC=config/locale/generic/c_locale.cc
5933 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5934 CCOLLATE_CC=config/locale/generic/collate_members.cc
5935 CCTYPE_CC=config/locale/darwin/ctype_members.cc
5936 CMESSAGES_H=config/locale/generic/messages_members.h
5937 CMESSAGES_CC=config/locale/generic/messages_members.cc
5938 CMONEY_CC=config/locale/generic/monetary_members.cc
5939 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5940 CTIME_H=config/locale/generic/time_members.h
5941 CTIME_CC=config/locale/generic/time_members.cc
5942 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5945 gnu)
5946 echo "$as_me:$LINENO: result: gnu" >&5
5947 echo "${ECHO_T}gnu" >&6
5949 # Declare intention to use gettext, and add support for specific
5950 # languages.
5951 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5952 ALL_LINGUAS="de fr"
5954 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5955 # Extract the first word of "msgfmt", so it can be a program name with args.
5956 set dummy msgfmt; ac_word=$2
5957 echo "$as_me:$LINENO: checking for $ac_word" >&5
5958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5959 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5960 echo $ECHO_N "(cached) $ECHO_C" >&6
5961 else
5962 if test -n "$check_msgfmt"; then
5963 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5964 else
5965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5966 for as_dir in $PATH
5968 IFS=$as_save_IFS
5969 test -z "$as_dir" && as_dir=.
5970 for ac_exec_ext in '' $ac_executable_extensions; do
5971 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5972 ac_cv_prog_check_msgfmt="yes"
5973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5974 break 2
5976 done
5977 done
5979 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5982 check_msgfmt=$ac_cv_prog_check_msgfmt
5983 if test -n "$check_msgfmt"; then
5984 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5985 echo "${ECHO_T}$check_msgfmt" >&6
5986 else
5987 echo "$as_me:$LINENO: result: no" >&5
5988 echo "${ECHO_T}no" >&6
5991 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5992 USE_NLS=yes
5994 # Export the build objects.
5995 for ling in $ALL_LINGUAS; do \
5996 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5997 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5998 done
6002 CLOCALE_H=config/locale/gnu/c_locale.h
6003 CLOCALE_CC=config/locale/gnu/c_locale.cc
6004 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
6005 CCOLLATE_CC=config/locale/gnu/collate_members.cc
6006 CCTYPE_CC=config/locale/gnu/ctype_members.cc
6007 CMESSAGES_H=config/locale/gnu/messages_members.h
6008 CMESSAGES_CC=config/locale/gnu/messages_members.cc
6009 CMONEY_CC=config/locale/gnu/monetary_members.cc
6010 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
6011 CTIME_H=config/locale/gnu/time_members.h
6012 CTIME_CC=config/locale/gnu/time_members.cc
6013 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
6015 ieee_1003.1-2001)
6016 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
6017 echo "${ECHO_T}IEEE 1003.1" >&6
6019 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
6020 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
6021 CCODECVT_CC=config/locale/generic/codecvt_members.cc
6022 CCOLLATE_CC=config/locale/generic/collate_members.cc
6023 CCTYPE_CC=config/locale/generic/ctype_members.cc
6024 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
6025 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
6026 CMONEY_CC=config/locale/generic/monetary_members.cc
6027 CNUMERIC_CC=config/locale/generic/numeric_members.cc
6028 CTIME_H=config/locale/generic/time_members.h
6029 CTIME_CC=config/locale/generic/time_members.cc
6030 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
6032 esac
6034 # This is where the testsuite looks for locale catalogs, using the
6035 # -DLOCALEDIR define during testsuite compilation.
6036 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
6039 # A standalone libintl (e.g., GNU libintl) may be in use.
6040 if test $USE_NLS = yes; then
6042 for ac_header in libintl.h
6044 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6046 echo "$as_me:$LINENO: checking for $ac_header" >&5
6047 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6049 echo $ECHO_N "(cached) $ECHO_C" >&6
6051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6052 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6053 else
6054 # Is the header compilable?
6055 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6056 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6057 cat >conftest.$ac_ext <<_ACEOF
6058 /* confdefs.h. */
6059 _ACEOF
6060 cat confdefs.h >>conftest.$ac_ext
6061 cat >>conftest.$ac_ext <<_ACEOF
6062 /* end confdefs.h. */
6063 $ac_includes_default
6064 #include <$ac_header>
6065 _ACEOF
6066 rm -f conftest.$ac_objext
6067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6068 (eval $ac_compile) 2>conftest.er1
6069 ac_status=$?
6070 grep -v '^ *+' conftest.er1 >conftest.err
6071 rm -f conftest.er1
6072 cat conftest.err >&5
6073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6074 (exit $ac_status); } &&
6075 { ac_try='test -z "$ac_c_werror_flag"
6076 || test ! -s conftest.err'
6077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6078 (eval $ac_try) 2>&5
6079 ac_status=$?
6080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6081 (exit $ac_status); }; } &&
6082 { ac_try='test -s conftest.$ac_objext'
6083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6084 (eval $ac_try) 2>&5
6085 ac_status=$?
6086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6087 (exit $ac_status); }; }; then
6088 ac_header_compiler=yes
6089 else
6090 echo "$as_me: failed program was:" >&5
6091 sed 's/^/| /' conftest.$ac_ext >&5
6093 ac_header_compiler=no
6095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6096 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6097 echo "${ECHO_T}$ac_header_compiler" >&6
6099 # Is the header present?
6100 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6101 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6102 cat >conftest.$ac_ext <<_ACEOF
6103 /* confdefs.h. */
6104 _ACEOF
6105 cat confdefs.h >>conftest.$ac_ext
6106 cat >>conftest.$ac_ext <<_ACEOF
6107 /* end confdefs.h. */
6108 #include <$ac_header>
6109 _ACEOF
6110 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6111 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6112 ac_status=$?
6113 grep -v '^ *+' conftest.er1 >conftest.err
6114 rm -f conftest.er1
6115 cat conftest.err >&5
6116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6117 (exit $ac_status); } >/dev/null; then
6118 if test -s conftest.err; then
6119 ac_cpp_err=$ac_c_preproc_warn_flag
6120 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6121 else
6122 ac_cpp_err=
6124 else
6125 ac_cpp_err=yes
6127 if test -z "$ac_cpp_err"; then
6128 ac_header_preproc=yes
6129 else
6130 echo "$as_me: failed program was:" >&5
6131 sed 's/^/| /' conftest.$ac_ext >&5
6133 ac_header_preproc=no
6135 rm -f conftest.err conftest.$ac_ext
6136 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6137 echo "${ECHO_T}$ac_header_preproc" >&6
6139 # So? What about this header?
6140 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6141 yes:no: )
6142 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6143 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6144 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6145 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6146 ac_header_preproc=yes
6148 no:yes:* )
6149 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6150 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6151 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6152 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6153 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6154 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6155 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6156 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6157 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6158 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6159 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6160 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6162 cat <<\_ASBOX
6163 ## ----------------------------------------- ##
6164 ## Report this to the package-unused lists. ##
6165 ## ----------------------------------------- ##
6166 _ASBOX
6168 sed "s/^/$as_me: WARNING: /" >&2
6170 esac
6171 echo "$as_me:$LINENO: checking for $ac_header" >&5
6172 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6173 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6174 echo $ECHO_N "(cached) $ECHO_C" >&6
6175 else
6176 eval "$as_ac_Header=\$ac_header_preproc"
6178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6179 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6182 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6183 cat >>confdefs.h <<_ACEOF
6184 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6185 _ACEOF
6187 else
6188 USE_NLS=no
6191 done
6193 echo "$as_me:$LINENO: checking for library containing gettext" >&5
6194 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6195 if test "${ac_cv_search_gettext+set}" = set; then
6196 echo $ECHO_N "(cached) $ECHO_C" >&6
6197 else
6198 ac_func_search_save_LIBS=$LIBS
6199 ac_cv_search_gettext=no
6200 if test x$gcc_no_link = xyes; then
6201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6203 { (exit 1); exit 1; }; }
6205 cat >conftest.$ac_ext <<_ACEOF
6206 /* confdefs.h. */
6207 _ACEOF
6208 cat confdefs.h >>conftest.$ac_ext
6209 cat >>conftest.$ac_ext <<_ACEOF
6210 /* end confdefs.h. */
6212 /* Override any gcc2 internal prototype to avoid an error. */
6213 #ifdef __cplusplus
6214 extern "C"
6215 #endif
6216 /* We use char because int might match the return type of a gcc2
6217 builtin and then its argument prototype would still apply. */
6218 char gettext ();
6220 main ()
6222 gettext ();
6224 return 0;
6226 _ACEOF
6227 rm -f conftest.$ac_objext conftest$ac_exeext
6228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6229 (eval $ac_link) 2>conftest.er1
6230 ac_status=$?
6231 grep -v '^ *+' conftest.er1 >conftest.err
6232 rm -f conftest.er1
6233 cat conftest.err >&5
6234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6235 (exit $ac_status); } &&
6236 { ac_try='test -z "$ac_c_werror_flag"
6237 || test ! -s conftest.err'
6238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6239 (eval $ac_try) 2>&5
6240 ac_status=$?
6241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6242 (exit $ac_status); }; } &&
6243 { ac_try='test -s conftest$ac_exeext'
6244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6245 (eval $ac_try) 2>&5
6246 ac_status=$?
6247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6248 (exit $ac_status); }; }; then
6249 ac_cv_search_gettext="none required"
6250 else
6251 echo "$as_me: failed program was:" >&5
6252 sed 's/^/| /' conftest.$ac_ext >&5
6255 rm -f conftest.err conftest.$ac_objext \
6256 conftest$ac_exeext conftest.$ac_ext
6257 if test "$ac_cv_search_gettext" = no; then
6258 for ac_lib in intl; do
6259 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6260 if test x$gcc_no_link = xyes; then
6261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6263 { (exit 1); exit 1; }; }
6265 cat >conftest.$ac_ext <<_ACEOF
6266 /* confdefs.h. */
6267 _ACEOF
6268 cat confdefs.h >>conftest.$ac_ext
6269 cat >>conftest.$ac_ext <<_ACEOF
6270 /* end confdefs.h. */
6272 /* Override any gcc2 internal prototype to avoid an error. */
6273 #ifdef __cplusplus
6274 extern "C"
6275 #endif
6276 /* We use char because int might match the return type of a gcc2
6277 builtin and then its argument prototype would still apply. */
6278 char gettext ();
6280 main ()
6282 gettext ();
6284 return 0;
6286 _ACEOF
6287 rm -f conftest.$ac_objext conftest$ac_exeext
6288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6289 (eval $ac_link) 2>conftest.er1
6290 ac_status=$?
6291 grep -v '^ *+' conftest.er1 >conftest.err
6292 rm -f conftest.er1
6293 cat conftest.err >&5
6294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6295 (exit $ac_status); } &&
6296 { ac_try='test -z "$ac_c_werror_flag"
6297 || test ! -s conftest.err'
6298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6299 (eval $ac_try) 2>&5
6300 ac_status=$?
6301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6302 (exit $ac_status); }; } &&
6303 { ac_try='test -s conftest$ac_exeext'
6304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6305 (eval $ac_try) 2>&5
6306 ac_status=$?
6307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6308 (exit $ac_status); }; }; then
6309 ac_cv_search_gettext="-l$ac_lib"
6310 break
6311 else
6312 echo "$as_me: failed program was:" >&5
6313 sed 's/^/| /' conftest.$ac_ext >&5
6316 rm -f conftest.err conftest.$ac_objext \
6317 conftest$ac_exeext conftest.$ac_ext
6318 done
6320 LIBS=$ac_func_search_save_LIBS
6322 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6323 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6324 if test "$ac_cv_search_gettext" != no; then
6325 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6327 else
6328 USE_NLS=no
6332 if test $USE_NLS = yes; then
6334 cat >>confdefs.h <<\_ACEOF
6335 #define _GLIBCXX_USE_NLS 1
6336 _ACEOF
6355 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
6356 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
6357 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6358 if test "${enable_libstdcxx_allocator+set}" = set; then
6359 enableval="$enable_libstdcxx_allocator"
6361 case "$enableval" in
6362 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6363 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6364 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6365 { (exit 1); exit 1; }; } ;;
6366 esac
6368 else
6369 enable_libstdcxx_allocator=auto
6373 # If they didn't use this option switch, or if they specified --enable
6374 # with no specific model, we'll have to look for one. If they
6375 # specified --disable (???), do likewise.
6376 if test $enable_libstdcxx_allocator = no ||
6377 test $enable_libstdcxx_allocator = yes;
6378 then
6379 enable_libstdcxx_allocator=auto
6382 # Either a known package, or "auto". Auto implies the default choice
6383 # for a particular platform.
6384 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6386 # Probe for host-specific support if no specific model is specified.
6387 # Default to "new".
6388 if test $enable_libstdcxx_allocator_flag = auto; then
6389 case ${target_os} in
6390 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6391 enable_libstdcxx_allocator_flag=new
6394 enable_libstdcxx_allocator_flag=new
6396 esac
6398 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6399 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6402 # Set configure bits for specified locale package
6403 case ${enable_libstdcxx_allocator_flag} in
6404 bitmap)
6405 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6406 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6408 malloc)
6409 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6410 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6413 ALLOCATOR_H=config/allocator/mt_allocator_base.h
6414 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6416 new)
6417 ALLOCATOR_H=config/allocator/new_allocator_base.h
6418 ALLOCATOR_NAME=__gnu_cxx::new_allocator
6420 pool)
6421 ALLOCATOR_H=config/allocator/pool_allocator_base.h
6422 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6424 esac
6430 # Check whether --enable-cheaders or --disable-cheaders was given.
6431 if test "${enable_cheaders+set}" = set; then
6432 enableval="$enable_cheaders"
6434 case "$enableval" in
6435 c|c_std) ;;
6436 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6437 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6438 { (exit 1); exit 1; }; } ;;
6439 esac
6441 else
6442 enable_cheaders=$c_model
6445 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6446 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6448 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6455 # Check whether --enable-long-long or --disable-long-long was given.
6456 if test "${enable_long_long+set}" = set; then
6457 enableval="$enable_long_long"
6459 case "$enableval" in
6460 yes|no) ;;
6461 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
6462 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
6463 { (exit 1); exit 1; }; } ;;
6464 esac
6466 else
6467 enable_long_long=yes
6470 if test $enable_long_long = yes; then
6472 cat >>confdefs.h <<\_ACEOF
6473 #define _GLIBCXX_USE_LONG_LONG 1
6474 _ACEOF
6477 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
6478 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
6479 echo "$as_me:$LINENO: result: $enable_long_long" >&5
6480 echo "${ECHO_T}$enable_long_long" >&6
6484 # Check whether --enable-wchar_t or --disable-wchar_t was given.
6485 if test "${enable_wchar_t+set}" = set; then
6486 enableval="$enable_wchar_t"
6488 case "$enableval" in
6489 yes|no) ;;
6490 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
6491 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
6492 { (exit 1); exit 1; }; } ;;
6493 esac
6495 else
6496 enable_wchar_t=yes
6500 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
6502 for ac_header in wchar.h
6504 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6505 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6506 echo "$as_me:$LINENO: checking for $ac_header" >&5
6507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6509 echo $ECHO_N "(cached) $ECHO_C" >&6
6511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6512 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6513 else
6514 # Is the header compilable?
6515 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6516 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6517 cat >conftest.$ac_ext <<_ACEOF
6518 /* confdefs.h. */
6519 _ACEOF
6520 cat confdefs.h >>conftest.$ac_ext
6521 cat >>conftest.$ac_ext <<_ACEOF
6522 /* end confdefs.h. */
6523 $ac_includes_default
6524 #include <$ac_header>
6525 _ACEOF
6526 rm -f conftest.$ac_objext
6527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6528 (eval $ac_compile) 2>conftest.er1
6529 ac_status=$?
6530 grep -v '^ *+' conftest.er1 >conftest.err
6531 rm -f conftest.er1
6532 cat conftest.err >&5
6533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6534 (exit $ac_status); } &&
6535 { ac_try='test -z "$ac_c_werror_flag"
6536 || test ! -s conftest.err'
6537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6538 (eval $ac_try) 2>&5
6539 ac_status=$?
6540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6541 (exit $ac_status); }; } &&
6542 { ac_try='test -s conftest.$ac_objext'
6543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6544 (eval $ac_try) 2>&5
6545 ac_status=$?
6546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6547 (exit $ac_status); }; }; then
6548 ac_header_compiler=yes
6549 else
6550 echo "$as_me: failed program was:" >&5
6551 sed 's/^/| /' conftest.$ac_ext >&5
6553 ac_header_compiler=no
6555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6556 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6557 echo "${ECHO_T}$ac_header_compiler" >&6
6559 # Is the header present?
6560 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6561 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6562 cat >conftest.$ac_ext <<_ACEOF
6563 /* confdefs.h. */
6564 _ACEOF
6565 cat confdefs.h >>conftest.$ac_ext
6566 cat >>conftest.$ac_ext <<_ACEOF
6567 /* end confdefs.h. */
6568 #include <$ac_header>
6569 _ACEOF
6570 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6571 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6572 ac_status=$?
6573 grep -v '^ *+' conftest.er1 >conftest.err
6574 rm -f conftest.er1
6575 cat conftest.err >&5
6576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6577 (exit $ac_status); } >/dev/null; then
6578 if test -s conftest.err; then
6579 ac_cpp_err=$ac_c_preproc_warn_flag
6580 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6581 else
6582 ac_cpp_err=
6584 else
6585 ac_cpp_err=yes
6587 if test -z "$ac_cpp_err"; then
6588 ac_header_preproc=yes
6589 else
6590 echo "$as_me: failed program was:" >&5
6591 sed 's/^/| /' conftest.$ac_ext >&5
6593 ac_header_preproc=no
6595 rm -f conftest.err conftest.$ac_ext
6596 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6597 echo "${ECHO_T}$ac_header_preproc" >&6
6599 # So? What about this header?
6600 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6601 yes:no: )
6602 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6603 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6604 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6605 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6606 ac_header_preproc=yes
6608 no:yes:* )
6609 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6610 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6611 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6612 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6613 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6614 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6615 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6616 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6617 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6618 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6619 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6620 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6622 cat <<\_ASBOX
6623 ## ----------------------------------------- ##
6624 ## Report this to the package-unused lists. ##
6625 ## ----------------------------------------- ##
6626 _ASBOX
6628 sed "s/^/$as_me: WARNING: /" >&2
6630 esac
6631 echo "$as_me:$LINENO: checking for $ac_header" >&5
6632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6634 echo $ECHO_N "(cached) $ECHO_C" >&6
6635 else
6636 eval "$as_ac_Header=\$ac_header_preproc"
6638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6639 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6642 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6643 cat >>confdefs.h <<_ACEOF
6644 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6645 _ACEOF
6646 ac_has_wchar_h=yes
6647 else
6648 ac_has_wchar_h=no
6651 done
6653 echo "$as_me:$LINENO: checking for mbstate_t" >&5
6654 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
6655 cat >conftest.$ac_ext <<_ACEOF
6656 /* confdefs.h. */
6657 _ACEOF
6658 cat confdefs.h >>conftest.$ac_ext
6659 cat >>conftest.$ac_ext <<_ACEOF
6660 /* end confdefs.h. */
6661 #include <wchar.h>
6663 main ()
6665 mbstate_t teststate;
6667 return 0;
6669 _ACEOF
6670 rm -f conftest.$ac_objext
6671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6672 (eval $ac_compile) 2>conftest.er1
6673 ac_status=$?
6674 grep -v '^ *+' conftest.er1 >conftest.err
6675 rm -f conftest.er1
6676 cat conftest.err >&5
6677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6678 (exit $ac_status); } &&
6679 { ac_try='test -z "$ac_c_werror_flag"
6680 || test ! -s conftest.err'
6681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6682 (eval $ac_try) 2>&5
6683 ac_status=$?
6684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6685 (exit $ac_status); }; } &&
6686 { ac_try='test -s conftest.$ac_objext'
6687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6688 (eval $ac_try) 2>&5
6689 ac_status=$?
6690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6691 (exit $ac_status); }; }; then
6692 have_mbstate_t=yes
6693 else
6694 echo "$as_me: failed program was:" >&5
6695 sed 's/^/| /' conftest.$ac_ext >&5
6697 have_mbstate_t=no
6699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6700 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
6701 echo "${ECHO_T}$have_mbstate_t" >&6
6702 if test x"$have_mbstate_t" = xyes; then
6704 cat >>confdefs.h <<\_ACEOF
6705 #define HAVE_MBSTATE_T 1
6706 _ACEOF
6710 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
6711 # ac_has_wchar_h.
6713 for ac_header in wctype.h
6715 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6716 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6717 echo "$as_me:$LINENO: checking for $ac_header" >&5
6718 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6719 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6720 echo $ECHO_N "(cached) $ECHO_C" >&6
6722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6723 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6724 else
6725 # Is the header compilable?
6726 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6727 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6728 cat >conftest.$ac_ext <<_ACEOF
6729 /* confdefs.h. */
6730 _ACEOF
6731 cat confdefs.h >>conftest.$ac_ext
6732 cat >>conftest.$ac_ext <<_ACEOF
6733 /* end confdefs.h. */
6734 $ac_includes_default
6735 #include <$ac_header>
6736 _ACEOF
6737 rm -f conftest.$ac_objext
6738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6739 (eval $ac_compile) 2>conftest.er1
6740 ac_status=$?
6741 grep -v '^ *+' conftest.er1 >conftest.err
6742 rm -f conftest.er1
6743 cat conftest.err >&5
6744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6745 (exit $ac_status); } &&
6746 { ac_try='test -z "$ac_c_werror_flag"
6747 || test ! -s conftest.err'
6748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6749 (eval $ac_try) 2>&5
6750 ac_status=$?
6751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6752 (exit $ac_status); }; } &&
6753 { ac_try='test -s conftest.$ac_objext'
6754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6755 (eval $ac_try) 2>&5
6756 ac_status=$?
6757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6758 (exit $ac_status); }; }; then
6759 ac_header_compiler=yes
6760 else
6761 echo "$as_me: failed program was:" >&5
6762 sed 's/^/| /' conftest.$ac_ext >&5
6764 ac_header_compiler=no
6766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6767 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6768 echo "${ECHO_T}$ac_header_compiler" >&6
6770 # Is the header present?
6771 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6772 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6773 cat >conftest.$ac_ext <<_ACEOF
6774 /* confdefs.h. */
6775 _ACEOF
6776 cat confdefs.h >>conftest.$ac_ext
6777 cat >>conftest.$ac_ext <<_ACEOF
6778 /* end confdefs.h. */
6779 #include <$ac_header>
6780 _ACEOF
6781 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6782 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6783 ac_status=$?
6784 grep -v '^ *+' conftest.er1 >conftest.err
6785 rm -f conftest.er1
6786 cat conftest.err >&5
6787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6788 (exit $ac_status); } >/dev/null; then
6789 if test -s conftest.err; then
6790 ac_cpp_err=$ac_c_preproc_warn_flag
6791 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6792 else
6793 ac_cpp_err=
6795 else
6796 ac_cpp_err=yes
6798 if test -z "$ac_cpp_err"; then
6799 ac_header_preproc=yes
6800 else
6801 echo "$as_me: failed program was:" >&5
6802 sed 's/^/| /' conftest.$ac_ext >&5
6804 ac_header_preproc=no
6806 rm -f conftest.err conftest.$ac_ext
6807 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6808 echo "${ECHO_T}$ac_header_preproc" >&6
6810 # So? What about this header?
6811 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6812 yes:no: )
6813 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6814 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6815 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6816 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6817 ac_header_preproc=yes
6819 no:yes:* )
6820 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6821 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6822 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6823 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6824 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6825 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6826 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6827 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6828 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6829 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6830 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6831 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6833 cat <<\_ASBOX
6834 ## ----------------------------------------- ##
6835 ## Report this to the package-unused lists. ##
6836 ## ----------------------------------------- ##
6837 _ASBOX
6839 sed "s/^/$as_me: WARNING: /" >&2
6841 esac
6842 echo "$as_me:$LINENO: checking for $ac_header" >&5
6843 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6844 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6845 echo $ECHO_N "(cached) $ECHO_C" >&6
6846 else
6847 eval "$as_ac_Header=\$ac_header_preproc"
6849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6850 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6853 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6854 cat >>confdefs.h <<_ACEOF
6855 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6856 _ACEOF
6857 ac_has_wctype_h=yes
6858 else
6859 ac_has_wctype_h=no
6862 done
6865 if test x"$enable_wchar_t" = x"yes"; then
6869 ac_ext=cc
6870 ac_cpp='$CXXCPP $CPPFLAGS'
6871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6876 if test x"$ac_has_wchar_h" = xyes &&
6877 test x"$ac_has_wctype_h" = xyes; then
6878 cat >conftest.$ac_ext <<_ACEOF
6879 /* confdefs.h. */
6880 _ACEOF
6881 cat confdefs.h >>conftest.$ac_ext
6882 cat >>conftest.$ac_ext <<_ACEOF
6883 /* end confdefs.h. */
6884 #include <wchar.h>
6885 #include <stddef.h>
6886 wint_t i;
6887 long l = WEOF;
6888 long j = WCHAR_MIN;
6889 long k = WCHAR_MAX;
6890 namespace test
6892 using ::btowc;
6893 using ::fgetwc;
6894 using ::fgetws;
6895 using ::fputwc;
6896 using ::fputws;
6897 using ::fwide;
6898 using ::fwprintf;
6899 using ::fwscanf;
6900 using ::getwc;
6901 using ::getwchar;
6902 using ::mbrlen;
6903 using ::mbrtowc;
6904 using ::mbsinit;
6905 using ::mbsrtowcs;
6906 using ::putwc;
6907 using ::putwchar;
6908 using ::swprintf;
6909 using ::swscanf;
6910 using ::ungetwc;
6911 using ::vfwprintf;
6912 using ::vswprintf;
6913 using ::vwprintf;
6914 using ::wcrtomb;
6915 using ::wcscat;
6916 using ::wcschr;
6917 using ::wcscmp;
6918 using ::wcscoll;
6919 using ::wcscpy;
6920 using ::wcscspn;
6921 using ::wcsftime;
6922 using ::wcslen;
6923 using ::wcsncat;
6924 using ::wcsncmp;
6925 using ::wcsncpy;
6926 using ::wcspbrk;
6927 using ::wcsrchr;
6928 using ::wcsrtombs;
6929 using ::wcsspn;
6930 using ::wcsstr;
6931 using ::wcstod;
6932 using ::wcstok;
6933 using ::wcstol;
6934 using ::wcstoul;
6935 using ::wcsxfrm;
6936 using ::wctob;
6937 using ::wmemchr;
6938 using ::wmemcmp;
6939 using ::wmemcpy;
6940 using ::wmemmove;
6941 using ::wmemset;
6942 using ::wprintf;
6943 using ::wscanf;
6947 main ()
6951 return 0;
6953 _ACEOF
6954 rm -f conftest.$ac_objext
6955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6956 (eval $ac_compile) 2>conftest.er1
6957 ac_status=$?
6958 grep -v '^ *+' conftest.er1 >conftest.err
6959 rm -f conftest.er1
6960 cat conftest.err >&5
6961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6962 (exit $ac_status); } &&
6963 { ac_try='test -z "$ac_cxx_werror_flag"
6964 || test ! -s conftest.err'
6965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6966 (eval $ac_try) 2>&5
6967 ac_status=$?
6968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6969 (exit $ac_status); }; } &&
6970 { ac_try='test -s conftest.$ac_objext'
6971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6972 (eval $ac_try) 2>&5
6973 ac_status=$?
6974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6975 (exit $ac_status); }; }; then
6977 else
6978 echo "$as_me: failed program was:" >&5
6979 sed 's/^/| /' conftest.$ac_ext >&5
6981 enable_wchar_t=no
6983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6984 else
6985 enable_wchar_t=no
6988 ac_ext=c
6989 ac_cpp='$CPP $CPPFLAGS'
6990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6996 if test x"$enable_wchar_t" = x"yes"; then
6998 cat >>confdefs.h <<\_ACEOF
6999 #define _GLIBCXX_USE_WCHAR_T 1
7000 _ACEOF
7004 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
7005 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
7006 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
7007 echo "${ECHO_T}$enable_wchar_t" >&6
7011 # Check whether --enable-c99 or --disable-c99 was given.
7012 if test "${enable_c99+set}" = set; then
7013 enableval="$enable_c99"
7015 case "$enableval" in
7016 yes|no) ;;
7017 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
7018 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
7019 { (exit 1); exit 1; }; } ;;
7020 esac
7022 else
7023 enable_c99=yes
7027 if test x"$enable_c99" = x"yes"; then
7031 ac_ext=cc
7032 ac_cpp='$CXXCPP $CPPFLAGS'
7033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7038 # Check for the existence of <math.h> functions used if C99 is enabled.
7039 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
7040 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
7041 if test "${ac_c99_math+set}" = set; then
7042 echo $ECHO_N "(cached) $ECHO_C" >&6
7043 else
7045 cat >conftest.$ac_ext <<_ACEOF
7046 /* confdefs.h. */
7047 _ACEOF
7048 cat confdefs.h >>conftest.$ac_ext
7049 cat >>conftest.$ac_ext <<_ACEOF
7050 /* end confdefs.h. */
7051 #include <math.h>
7053 main ()
7055 fpclassify(0.0);
7056 isfinite(0.0);
7057 isinf(0.0);
7058 isnan(0.0);
7059 isnormal(0.0);
7060 signbit(0.0);
7061 isgreater(0.0,0.0);
7062 isgreaterequal(0.0,0.0);
7063 isless(0.0,0.0);
7064 islessequal(0.0,0.0);
7065 islessgreater(0.0,0.0);
7066 islessgreater(0.0,0.0);
7067 isunordered(0.0,0.0);
7070 return 0;
7072 _ACEOF
7073 rm -f conftest.$ac_objext
7074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7075 (eval $ac_compile) 2>conftest.er1
7076 ac_status=$?
7077 grep -v '^ *+' conftest.er1 >conftest.err
7078 rm -f conftest.er1
7079 cat conftest.err >&5
7080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7081 (exit $ac_status); } &&
7082 { ac_try='test -z "$ac_cxx_werror_flag"
7083 || test ! -s conftest.err'
7084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7085 (eval $ac_try) 2>&5
7086 ac_status=$?
7087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7088 (exit $ac_status); }; } &&
7089 { ac_try='test -s conftest.$ac_objext'
7090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7091 (eval $ac_try) 2>&5
7092 ac_status=$?
7093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7094 (exit $ac_status); }; }; then
7095 ac_c99_math=yes
7096 else
7097 echo "$as_me: failed program was:" >&5
7098 sed 's/^/| /' conftest.$ac_ext >&5
7100 ac_c99_math=no
7102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7106 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
7107 echo "${ECHO_T}$ac_c99_math" >&6
7108 if test x"$ac_c99_math" = x"yes"; then
7110 cat >>confdefs.h <<\_ACEOF
7111 #define _GLIBCXX_USE_C99_MATH 1
7112 _ACEOF
7116 # Check for the existence of <complex.h> complex math functions.
7117 # This is necessary even though libstdc++ uses the builtin versions
7118 # of these functions, because if the builtin cannot be used, a reference
7119 # to the library function is emitted.
7121 for ac_header in complex.h
7123 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7125 echo "$as_me:$LINENO: checking for $ac_header" >&5
7126 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7127 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7128 echo $ECHO_N "(cached) $ECHO_C" >&6
7130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7131 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7132 else
7133 # Is the header compilable?
7134 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7135 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7136 cat >conftest.$ac_ext <<_ACEOF
7137 /* confdefs.h. */
7138 _ACEOF
7139 cat confdefs.h >>conftest.$ac_ext
7140 cat >>conftest.$ac_ext <<_ACEOF
7141 /* end confdefs.h. */
7142 $ac_includes_default
7143 #include <$ac_header>
7144 _ACEOF
7145 rm -f conftest.$ac_objext
7146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7147 (eval $ac_compile) 2>conftest.er1
7148 ac_status=$?
7149 grep -v '^ *+' conftest.er1 >conftest.err
7150 rm -f conftest.er1
7151 cat conftest.err >&5
7152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7153 (exit $ac_status); } &&
7154 { ac_try='test -z "$ac_cxx_werror_flag"
7155 || test ! -s conftest.err'
7156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7157 (eval $ac_try) 2>&5
7158 ac_status=$?
7159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7160 (exit $ac_status); }; } &&
7161 { ac_try='test -s conftest.$ac_objext'
7162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7163 (eval $ac_try) 2>&5
7164 ac_status=$?
7165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7166 (exit $ac_status); }; }; then
7167 ac_header_compiler=yes
7168 else
7169 echo "$as_me: failed program was:" >&5
7170 sed 's/^/| /' conftest.$ac_ext >&5
7172 ac_header_compiler=no
7174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7175 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7176 echo "${ECHO_T}$ac_header_compiler" >&6
7178 # Is the header present?
7179 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7180 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7181 cat >conftest.$ac_ext <<_ACEOF
7182 /* confdefs.h. */
7183 _ACEOF
7184 cat confdefs.h >>conftest.$ac_ext
7185 cat >>conftest.$ac_ext <<_ACEOF
7186 /* end confdefs.h. */
7187 #include <$ac_header>
7188 _ACEOF
7189 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7190 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7191 ac_status=$?
7192 grep -v '^ *+' conftest.er1 >conftest.err
7193 rm -f conftest.er1
7194 cat conftest.err >&5
7195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7196 (exit $ac_status); } >/dev/null; then
7197 if test -s conftest.err; then
7198 ac_cpp_err=$ac_cxx_preproc_warn_flag
7199 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7200 else
7201 ac_cpp_err=
7203 else
7204 ac_cpp_err=yes
7206 if test -z "$ac_cpp_err"; then
7207 ac_header_preproc=yes
7208 else
7209 echo "$as_me: failed program was:" >&5
7210 sed 's/^/| /' conftest.$ac_ext >&5
7212 ac_header_preproc=no
7214 rm -f conftest.err conftest.$ac_ext
7215 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7216 echo "${ECHO_T}$ac_header_preproc" >&6
7218 # So? What about this header?
7219 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7220 yes:no: )
7221 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7222 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7223 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7224 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7225 ac_header_preproc=yes
7227 no:yes:* )
7228 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7229 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7230 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7231 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7232 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7233 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7234 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7235 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7236 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7237 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7238 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7239 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7241 cat <<\_ASBOX
7242 ## ----------------------------------------- ##
7243 ## Report this to the package-unused lists. ##
7244 ## ----------------------------------------- ##
7245 _ASBOX
7247 sed "s/^/$as_me: WARNING: /" >&2
7249 esac
7250 echo "$as_me:$LINENO: checking for $ac_header" >&5
7251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7252 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7253 echo $ECHO_N "(cached) $ECHO_C" >&6
7254 else
7255 eval "$as_ac_Header=\$ac_header_preproc"
7257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7258 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7261 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7262 cat >>confdefs.h <<_ACEOF
7263 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7264 _ACEOF
7265 ac_has_complex_h=yes
7266 else
7267 ac_has_complex_h=no
7270 done
7272 ac_c99_complex=no;
7273 if test x"$ac_has_complex_h" = x"yes"; then
7274 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
7275 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
7276 cat >conftest.$ac_ext <<_ACEOF
7277 /* confdefs.h. */
7278 _ACEOF
7279 cat confdefs.h >>conftest.$ac_ext
7280 cat >>conftest.$ac_ext <<_ACEOF
7281 /* end confdefs.h. */
7282 #include <complex.h>
7284 main ()
7286 typedef __complex__ float float_type; float_type tmpf;
7287 cabsf(tmpf);
7288 cargf(tmpf);
7289 ccosf(tmpf);
7290 ccoshf(tmpf);
7291 cexpf(tmpf);
7292 clogf(tmpf);
7293 csinf(tmpf);
7294 csinhf(tmpf);
7295 csqrtf(tmpf);
7296 ctanf(tmpf);
7297 ctanhf(tmpf);
7298 cpowf(tmpf, tmpf);
7299 typedef __complex__ double double_type; double_type tmpd;
7300 cabs(tmpd);
7301 carg(tmpd);
7302 ccos(tmpd);
7303 ccosh(tmpd);
7304 cexp(tmpd);
7305 clog(tmpd);
7306 csin(tmpd);
7307 csinh(tmpd);
7308 csqrt(tmpd);
7309 ctan(tmpd);
7310 ctanh(tmpd);
7311 cpow(tmpd, tmpd);
7312 typedef __complex__ long double ld_type; ld_type tmpld;
7313 cabsl(tmpld);
7314 cargl(tmpld);
7315 ccosl(tmpld);
7316 ccoshl(tmpld);
7317 cexpl(tmpld);
7318 clogl(tmpld);
7319 csinl(tmpld);
7320 csinhl(tmpld);
7321 csqrtl(tmpld);
7322 ctanl(tmpld);
7323 ctanhl(tmpld);
7324 cpowl(tmpld, tmpld);
7327 return 0;
7329 _ACEOF
7330 rm -f conftest.$ac_objext
7331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7332 (eval $ac_compile) 2>conftest.er1
7333 ac_status=$?
7334 grep -v '^ *+' conftest.er1 >conftest.err
7335 rm -f conftest.er1
7336 cat conftest.err >&5
7337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7338 (exit $ac_status); } &&
7339 { ac_try='test -z "$ac_cxx_werror_flag"
7340 || test ! -s conftest.err'
7341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7342 (eval $ac_try) 2>&5
7343 ac_status=$?
7344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7345 (exit $ac_status); }; } &&
7346 { ac_try='test -s conftest.$ac_objext'
7347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7348 (eval $ac_try) 2>&5
7349 ac_status=$?
7350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7351 (exit $ac_status); }; }; then
7352 ac_c99_complex=yes
7353 else
7354 echo "$as_me: failed program was:" >&5
7355 sed 's/^/| /' conftest.$ac_ext >&5
7357 ac_c99_complex=no
7359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7361 echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
7362 echo "${ECHO_T}$ac_c99_complex" >&6
7363 if test x"$ac_c99_complex" = x"yes"; then
7365 cat >>confdefs.h <<\_ACEOF
7366 #define _GLIBCXX_USE_C99_COMPLEX 1
7367 _ACEOF
7371 # Check for the existence in <stdio.h> of vscanf, et. al.
7372 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
7373 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
7374 if test "${ac_c99_stdio+set}" = set; then
7375 echo $ECHO_N "(cached) $ECHO_C" >&6
7376 else
7378 cat >conftest.$ac_ext <<_ACEOF
7379 /* confdefs.h. */
7380 _ACEOF
7381 cat confdefs.h >>conftest.$ac_ext
7382 cat >>conftest.$ac_ext <<_ACEOF
7383 /* end confdefs.h. */
7384 #include <stdio.h>
7385 #include <stdarg.h>
7386 void foo(char* fmt, ...)
7388 va_list args; va_start(args, fmt);
7389 vfscanf(stderr, "%i", args);
7390 vscanf("%i", args);
7391 vsnprintf(fmt, 0, "%i", args);
7392 vsscanf(fmt, "%i", args);
7395 main ()
7397 snprintf("12", 0, "%i");
7399 return 0;
7401 _ACEOF
7402 rm -f conftest.$ac_objext
7403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7404 (eval $ac_compile) 2>conftest.er1
7405 ac_status=$?
7406 grep -v '^ *+' conftest.er1 >conftest.err
7407 rm -f conftest.er1
7408 cat conftest.err >&5
7409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7410 (exit $ac_status); } &&
7411 { ac_try='test -z "$ac_cxx_werror_flag"
7412 || test ! -s conftest.err'
7413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7414 (eval $ac_try) 2>&5
7415 ac_status=$?
7416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7417 (exit $ac_status); }; } &&
7418 { ac_try='test -s conftest.$ac_objext'
7419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7420 (eval $ac_try) 2>&5
7421 ac_status=$?
7422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7423 (exit $ac_status); }; }; then
7424 ac_c99_stdio=yes
7425 else
7426 echo "$as_me: failed program was:" >&5
7427 sed 's/^/| /' conftest.$ac_ext >&5
7429 ac_c99_stdio=no
7431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7435 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7436 echo "${ECHO_T}$ac_c99_stdio" >&6
7438 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7439 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7440 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7441 if test "${ac_c99_stdlib+set}" = set; then
7442 echo $ECHO_N "(cached) $ECHO_C" >&6
7443 else
7445 cat >conftest.$ac_ext <<_ACEOF
7446 /* confdefs.h. */
7447 _ACEOF
7448 cat confdefs.h >>conftest.$ac_ext
7449 cat >>conftest.$ac_ext <<_ACEOF
7450 /* end confdefs.h. */
7451 #include <stdlib.h>
7453 main ()
7455 char* tmp;
7456 strtof("gnu", &tmp);
7457 strtold("gnu", &tmp);
7458 strtoll("gnu", &tmp, 10);
7459 strtoull("gnu", &tmp, 10);
7460 llabs(10);
7461 lldiv(10,1);
7462 atoll("10");
7463 _Exit(0);
7464 lldiv_t mydivt;
7466 return 0;
7468 _ACEOF
7469 rm -f conftest.$ac_objext
7470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7471 (eval $ac_compile) 2>conftest.er1
7472 ac_status=$?
7473 grep -v '^ *+' conftest.er1 >conftest.err
7474 rm -f conftest.er1
7475 cat conftest.err >&5
7476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7477 (exit $ac_status); } &&
7478 { ac_try='test -z "$ac_cxx_werror_flag"
7479 || test ! -s conftest.err'
7480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7481 (eval $ac_try) 2>&5
7482 ac_status=$?
7483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7484 (exit $ac_status); }; } &&
7485 { ac_try='test -s conftest.$ac_objext'
7486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7487 (eval $ac_try) 2>&5
7488 ac_status=$?
7489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7490 (exit $ac_status); }; }; then
7491 ac_c99_stdlib=yes
7492 else
7493 echo "$as_me: failed program was:" >&5
7494 sed 's/^/| /' conftest.$ac_ext >&5
7496 ac_c99_stdlib=no
7498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7502 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7503 echo "${ECHO_T}$ac_c99_stdlib" >&6
7505 # Check for the existence in <wchar.h> of wcstold, etc.
7506 ac_c99_wchar=no;
7507 if test x"$ac_has_wchar_h" = xyes &&
7508 test x"$ac_has_wctype_h" = xyes; then
7509 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
7510 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
7511 cat >conftest.$ac_ext <<_ACEOF
7512 /* confdefs.h. */
7513 _ACEOF
7514 cat confdefs.h >>conftest.$ac_ext
7515 cat >>conftest.$ac_ext <<_ACEOF
7516 /* end confdefs.h. */
7517 #include <wchar.h>
7518 namespace test
7520 using ::wcstold;
7521 using ::wcstoll;
7522 using ::wcstoull;
7526 main ()
7530 return 0;
7532 _ACEOF
7533 rm -f conftest.$ac_objext
7534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7535 (eval $ac_compile) 2>conftest.er1
7536 ac_status=$?
7537 grep -v '^ *+' conftest.er1 >conftest.err
7538 rm -f conftest.er1
7539 cat conftest.err >&5
7540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7541 (exit $ac_status); } &&
7542 { ac_try='test -z "$ac_cxx_werror_flag"
7543 || test ! -s conftest.err'
7544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7545 (eval $ac_try) 2>&5
7546 ac_status=$?
7547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7548 (exit $ac_status); }; } &&
7549 { ac_try='test -s conftest.$ac_objext'
7550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7551 (eval $ac_try) 2>&5
7552 ac_status=$?
7553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7554 (exit $ac_status); }; }; then
7555 ac_c99_wchar=yes
7556 else
7557 echo "$as_me: failed program was:" >&5
7558 sed 's/^/| /' conftest.$ac_ext >&5
7560 ac_c99_wchar=no
7562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7564 # Checks for wide character functions that may not be present.
7565 # Injection of these is wrapped with guard macros.
7566 # NB: only put functions here, instead of immediately above, if
7567 # absolutely necessary.
7568 cat >conftest.$ac_ext <<_ACEOF
7569 /* confdefs.h. */
7570 _ACEOF
7571 cat confdefs.h >>conftest.$ac_ext
7572 cat >>conftest.$ac_ext <<_ACEOF
7573 /* end confdefs.h. */
7574 #include <wchar.h>
7575 namespace test { using ::vfwscanf; }
7577 main ()
7581 return 0;
7583 _ACEOF
7584 rm -f conftest.$ac_objext
7585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7586 (eval $ac_compile) 2>conftest.er1
7587 ac_status=$?
7588 grep -v '^ *+' conftest.er1 >conftest.err
7589 rm -f conftest.er1
7590 cat conftest.err >&5
7591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7592 (exit $ac_status); } &&
7593 { ac_try='test -z "$ac_cxx_werror_flag"
7594 || test ! -s conftest.err'
7595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7596 (eval $ac_try) 2>&5
7597 ac_status=$?
7598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7599 (exit $ac_status); }; } &&
7600 { ac_try='test -s conftest.$ac_objext'
7601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7602 (eval $ac_try) 2>&5
7603 ac_status=$?
7604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7605 (exit $ac_status); }; }; then
7607 cat >>confdefs.h <<\_ACEOF
7608 #define HAVE_VFWSCANF 1
7609 _ACEOF
7611 else
7612 echo "$as_me: failed program was:" >&5
7613 sed 's/^/| /' conftest.$ac_ext >&5
7616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7618 cat >conftest.$ac_ext <<_ACEOF
7619 /* confdefs.h. */
7620 _ACEOF
7621 cat confdefs.h >>conftest.$ac_ext
7622 cat >>conftest.$ac_ext <<_ACEOF
7623 /* end confdefs.h. */
7624 #include <wchar.h>
7625 namespace test { using ::vswscanf; }
7627 main ()
7631 return 0;
7633 _ACEOF
7634 rm -f conftest.$ac_objext
7635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7636 (eval $ac_compile) 2>conftest.er1
7637 ac_status=$?
7638 grep -v '^ *+' conftest.er1 >conftest.err
7639 rm -f conftest.er1
7640 cat conftest.err >&5
7641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7642 (exit $ac_status); } &&
7643 { ac_try='test -z "$ac_cxx_werror_flag"
7644 || test ! -s conftest.err'
7645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7646 (eval $ac_try) 2>&5
7647 ac_status=$?
7648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7649 (exit $ac_status); }; } &&
7650 { ac_try='test -s conftest.$ac_objext'
7651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7652 (eval $ac_try) 2>&5
7653 ac_status=$?
7654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7655 (exit $ac_status); }; }; then
7657 cat >>confdefs.h <<\_ACEOF
7658 #define HAVE_VSWSCANF 1
7659 _ACEOF
7661 else
7662 echo "$as_me: failed program was:" >&5
7663 sed 's/^/| /' conftest.$ac_ext >&5
7666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7668 cat >conftest.$ac_ext <<_ACEOF
7669 /* confdefs.h. */
7670 _ACEOF
7671 cat confdefs.h >>conftest.$ac_ext
7672 cat >>conftest.$ac_ext <<_ACEOF
7673 /* end confdefs.h. */
7674 #include <wchar.h>
7675 namespace test { using ::vwscanf; }
7677 main ()
7681 return 0;
7683 _ACEOF
7684 rm -f conftest.$ac_objext
7685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7686 (eval $ac_compile) 2>conftest.er1
7687 ac_status=$?
7688 grep -v '^ *+' conftest.er1 >conftest.err
7689 rm -f conftest.er1
7690 cat conftest.err >&5
7691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7692 (exit $ac_status); } &&
7693 { ac_try='test -z "$ac_cxx_werror_flag"
7694 || test ! -s conftest.err'
7695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7696 (eval $ac_try) 2>&5
7697 ac_status=$?
7698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7699 (exit $ac_status); }; } &&
7700 { ac_try='test -s conftest.$ac_objext'
7701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7702 (eval $ac_try) 2>&5
7703 ac_status=$?
7704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7705 (exit $ac_status); }; }; then
7707 cat >>confdefs.h <<\_ACEOF
7708 #define HAVE_VWSCANF 1
7709 _ACEOF
7711 else
7712 echo "$as_me: failed program was:" >&5
7713 sed 's/^/| /' conftest.$ac_ext >&5
7716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7718 cat >conftest.$ac_ext <<_ACEOF
7719 /* confdefs.h. */
7720 _ACEOF
7721 cat confdefs.h >>conftest.$ac_ext
7722 cat >>conftest.$ac_ext <<_ACEOF
7723 /* end confdefs.h. */
7724 #include <wchar.h>
7725 namespace test { using ::wcstof; }
7727 main ()
7731 return 0;
7733 _ACEOF
7734 rm -f conftest.$ac_objext
7735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7736 (eval $ac_compile) 2>conftest.er1
7737 ac_status=$?
7738 grep -v '^ *+' conftest.er1 >conftest.err
7739 rm -f conftest.er1
7740 cat conftest.err >&5
7741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7742 (exit $ac_status); } &&
7743 { ac_try='test -z "$ac_cxx_werror_flag"
7744 || test ! -s conftest.err'
7745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7746 (eval $ac_try) 2>&5
7747 ac_status=$?
7748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7749 (exit $ac_status); }; } &&
7750 { ac_try='test -s conftest.$ac_objext'
7751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7752 (eval $ac_try) 2>&5
7753 ac_status=$?
7754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7755 (exit $ac_status); }; }; then
7757 cat >>confdefs.h <<\_ACEOF
7758 #define HAVE_WCSTOF 1
7759 _ACEOF
7761 else
7762 echo "$as_me: failed program was:" >&5
7763 sed 's/^/| /' conftest.$ac_ext >&5
7766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7768 cat >conftest.$ac_ext <<_ACEOF
7769 /* confdefs.h. */
7770 _ACEOF
7771 cat confdefs.h >>conftest.$ac_ext
7772 cat >>conftest.$ac_ext <<_ACEOF
7773 /* end confdefs.h. */
7774 #include <wctype.h>
7776 main ()
7778 wint_t t; int i = iswblank(t);
7780 return 0;
7782 _ACEOF
7783 rm -f conftest.$ac_objext
7784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7785 (eval $ac_compile) 2>conftest.er1
7786 ac_status=$?
7787 grep -v '^ *+' conftest.er1 >conftest.err
7788 rm -f conftest.er1
7789 cat conftest.err >&5
7790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7791 (exit $ac_status); } &&
7792 { ac_try='test -z "$ac_cxx_werror_flag"
7793 || test ! -s conftest.err'
7794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7795 (eval $ac_try) 2>&5
7796 ac_status=$?
7797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7798 (exit $ac_status); }; } &&
7799 { ac_try='test -s conftest.$ac_objext'
7800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7801 (eval $ac_try) 2>&5
7802 ac_status=$?
7803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7804 (exit $ac_status); }; }; then
7806 cat >>confdefs.h <<\_ACEOF
7807 #define HAVE_ISWBLANK 1
7808 _ACEOF
7810 else
7811 echo "$as_me: failed program was:" >&5
7812 sed 's/^/| /' conftest.$ac_ext >&5
7815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7817 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7818 echo "${ECHO_T}$ac_c99_wchar" >&6
7821 # Option parsed, now set things appropriately.
7822 if test x"$ac_c99_math" = x"no" ||
7823 test x"$ac_c99_complex" = x"no" ||
7824 test x"$ac_c99_stdio" = x"no" ||
7825 test x"$ac_c99_stdlib" = x"no" ||
7826 test x"$ac_c99_wchar" = x"no"; then
7827 enable_c99=no;
7828 else
7830 cat >>confdefs.h <<\_ACEOF
7831 #define _GLIBCXX_USE_C99 1
7832 _ACEOF
7836 ac_ext=c
7837 ac_cpp='$CPP $CPPFLAGS'
7838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7844 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
7845 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
7846 echo "$as_me:$LINENO: result: $enable_c99" >&5
7847 echo "${ECHO_T}$enable_c99" >&6
7850 # Check whether --enable-concept-checks or --disable-concept-checks was given.
7851 if test "${enable_concept_checks+set}" = set; then
7852 enableval="$enable_concept_checks"
7854 case "$enableval" in
7855 yes|no) ;;
7856 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7857 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7858 { (exit 1); exit 1; }; } ;;
7859 esac
7861 else
7862 enable_concept_checks=no
7865 if test $enable_concept_checks = yes; then
7867 cat >>confdefs.h <<\_ACEOF
7868 #define _GLIBCXX_CONCEPT_CHECKS 1
7869 _ACEOF
7874 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7875 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7876 enableval="$enable_libstdcxx_debug_flags"
7877 case "x$enable_libstdcxx_debug_flags" in
7878 xno | x) enable_libstdcxx_debug_flags= ;;
7879 x-*) ;;
7880 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7881 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7882 { (exit 1); exit 1; }; } ;;
7883 esac
7884 else
7885 enable_libstdcxx_debug_flags="-g3 -O0"
7889 # Option parsed, now set things appropriately
7890 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7893 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7894 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7897 echo "$as_me:$LINENO: checking for additional debug build" >&5
7898 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7899 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7900 if test "${enable_libstdcxx_debug+set}" = set; then
7901 enableval="$enable_libstdcxx_debug"
7903 case "$enableval" in
7904 yes|no) ;;
7905 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7906 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7907 { (exit 1); exit 1; }; } ;;
7908 esac
7910 else
7911 enable_libstdcxx_debug=no
7914 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7915 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7918 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7919 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7920 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7921 if test "${enable_cxx_flags+set}" = set; then
7922 enableval="$enable_cxx_flags"
7923 case "x$enable_cxx_flags" in
7924 xno | x) enable_cxx_flags= ;;
7925 x-*) ;;
7926 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7927 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7928 { (exit 1); exit 1; }; } ;;
7929 esac
7930 else
7931 enable_cxx_flags=
7935 # Run through flags (either default or command-line) and set anything
7936 # extra (e.g., #defines) that must accompany particular g++ options.
7937 if test -n "$enable_cxx_flags"; then
7938 for f in $enable_cxx_flags; do
7939 case "$f" in
7940 -fhonor-std) ;;
7941 -*) ;;
7942 *) # and we're trying to pass /what/ exactly?
7943 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7944 echo "$as_me: error: compiler flags start with a -" >&2;}
7945 { (exit 1); exit 1; }; } ;;
7946 esac
7947 done
7950 EXTRA_CXX_FLAGS="$enable_cxx_flags"
7951 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7952 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7956 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
7957 if test "${enable_fully_dynamic_string+set}" = set; then
7958 enableval="$enable_fully_dynamic_string"
7960 case "$enableval" in
7961 yes|no) ;;
7962 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
7963 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
7964 { (exit 1); exit 1; }; } ;;
7965 esac
7967 else
7968 enable_fully_dynamic_string=no
7971 if test $enable_fully_dynamic_string = yes; then
7973 cat >>confdefs.h <<\_ACEOF
7974 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
7975 _ACEOF
7980 # No surprises, no surprises...
7982 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7983 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7984 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7985 echo "$as_me:$LINENO: result: $target_thread_file" >&5
7986 echo "${ECHO_T}$target_thread_file" >&6
7988 if test $target_thread_file != single; then
7990 cat >>confdefs.h <<\_ACEOF
7991 #define HAVE_GTHR_DEFAULT 1
7992 _ACEOF
7996 glibcxx_thread_h=gthr-$target_thread_file.h
7998 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
7999 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
8000 enable_thread=yes
8001 else
8002 enable_thread=no
8008 echo "$as_me:$LINENO: checking for atomic builtins" >&5
8009 echo $ECHO_N "checking for atomic builtins... $ECHO_C" >&6
8012 ac_ext=cc
8013 ac_cpp='$CXXCPP $CPPFLAGS'
8014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8019 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
8020 cat > conftest.$ac_ext << EOF
8021 #line 8021 "configure"
8022 int main()
8024 // NB: _Atomic_word not necessarily int.
8025 typedef int atomic_type;
8026 atomic_type c1;
8027 atomic_type c2;
8028 const atomic_type c3(0);
8029 if (__sync_fetch_and_add(&c1, c2) == c3)
8031 // Do something.
8033 return 0;
8036 old_CXXFLAGS="$CXXFLAGS"
8037 CXXFLAGS=-S
8038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8039 (eval $ac_compile) 2>&5
8040 ac_status=$?
8041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8042 (exit $ac_status); }; then
8043 if grep __sync_fetch_and_add conftest.s >/dev/null 2>&1 ; then
8044 enable_atomic_builtins=no
8045 else
8047 cat >>confdefs.h <<\_ACEOF
8048 #define _GLIBCXX_ATOMIC_BUILTINS 1
8049 _ACEOF
8051 enable_atomic_builtins=yes
8052 atomicity_dir=cpu/generic/atomicity_builtins
8055 CXXFLAGS="$old_CXXFLAGS"
8056 rm -f conftest*
8058 # Now, if still generic, set to mutex.
8059 if test $atomicity_dir = "cpu/generic" ; then
8060 atomicity_dir=cpu/generic/atomicity_mutex
8062 ac_ext=c
8063 ac_cpp='$CPP $CPPFLAGS'
8064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8068 echo "$as_me:$LINENO: result: $enable_atomic_builtins" >&5
8069 echo "${ECHO_T}$enable_atomic_builtins" >&6
8071 if test $atomicity_dir = cpu/generic/atomic_mutex ; then
8072 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
8073 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
8074 if test $target_thread_file = single; then
8075 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
8076 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
8077 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
8078 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
8079 else
8080 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
8081 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
8082 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
8083 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
8088 # All these tests are for C++; save the language and the compiler flags.
8089 # The CXXFLAGS thing is suspicious, but based on similar bits previously
8090 # found in GLIBCXX_CONFIGURE.
8093 ac_ext=cc
8094 ac_cpp='$CXXCPP $CPPFLAGS'
8095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8099 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8100 ac_save_CXXFLAGS="$CXXFLAGS"
8102 # Check for maintainer-mode bits.
8103 if test x"$USE_MAINTAINER_MODE" = xno; then
8104 WERROR=''
8105 else
8106 WERROR='-Werror'
8109 # Check for -ffunction-sections -fdata-sections
8110 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8111 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8112 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8113 cat >conftest.$ac_ext <<_ACEOF
8114 /* confdefs.h. */
8115 _ACEOF
8116 cat confdefs.h >>conftest.$ac_ext
8117 cat >>conftest.$ac_ext <<_ACEOF
8118 /* end confdefs.h. */
8121 main ()
8123 int foo;
8125 return 0;
8127 _ACEOF
8128 rm -f conftest.$ac_objext
8129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8130 (eval $ac_compile) 2>conftest.er1
8131 ac_status=$?
8132 grep -v '^ *+' conftest.er1 >conftest.err
8133 rm -f conftest.er1
8134 cat conftest.err >&5
8135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8136 (exit $ac_status); } &&
8137 { ac_try='test -z "$ac_cxx_werror_flag"
8138 || test ! -s conftest.err'
8139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8140 (eval $ac_try) 2>&5
8141 ac_status=$?
8142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8143 (exit $ac_status); }; } &&
8144 { ac_try='test -s conftest.$ac_objext'
8145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8146 (eval $ac_try) 2>&5
8147 ac_status=$?
8148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8149 (exit $ac_status); }; }; then
8150 ac_fdsections=yes
8151 else
8152 echo "$as_me: failed program was:" >&5
8153 sed 's/^/| /' conftest.$ac_ext >&5
8155 ac_fdsections=no
8157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8158 if test "$ac_test_CXXFLAGS" = set; then
8159 CXXFLAGS="$ac_save_CXXFLAGS"
8160 else
8161 # this is the suspicious part
8162 CXXFLAGS=''
8164 if test x"$ac_fdsections" = x"yes"; then
8165 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8167 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8168 echo "${ECHO_T}$ac_fdsections" >&6
8170 ac_ext=c
8171 ac_cpp='$CPP $CPPFLAGS'
8172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8180 if $GLIBCXX_IS_NATIVE; then
8182 # We can do more elaborate tests that assume a working linker.
8183 CANADIAN=no
8185 # Check for available headers.
8201 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
8202 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
8203 sys/types.h sys/ipc.h sys/sem.h
8205 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8206 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8207 echo "$as_me:$LINENO: checking for $ac_header" >&5
8208 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8209 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8210 echo $ECHO_N "(cached) $ECHO_C" >&6
8212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8213 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8214 else
8215 # Is the header compilable?
8216 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8217 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8218 cat >conftest.$ac_ext <<_ACEOF
8219 /* confdefs.h. */
8220 _ACEOF
8221 cat confdefs.h >>conftest.$ac_ext
8222 cat >>conftest.$ac_ext <<_ACEOF
8223 /* end confdefs.h. */
8224 $ac_includes_default
8225 #include <$ac_header>
8226 _ACEOF
8227 rm -f conftest.$ac_objext
8228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8229 (eval $ac_compile) 2>conftest.er1
8230 ac_status=$?
8231 grep -v '^ *+' conftest.er1 >conftest.err
8232 rm -f conftest.er1
8233 cat conftest.err >&5
8234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8235 (exit $ac_status); } &&
8236 { ac_try='test -z "$ac_c_werror_flag"
8237 || test ! -s conftest.err'
8238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8239 (eval $ac_try) 2>&5
8240 ac_status=$?
8241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8242 (exit $ac_status); }; } &&
8243 { ac_try='test -s conftest.$ac_objext'
8244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8245 (eval $ac_try) 2>&5
8246 ac_status=$?
8247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8248 (exit $ac_status); }; }; then
8249 ac_header_compiler=yes
8250 else
8251 echo "$as_me: failed program was:" >&5
8252 sed 's/^/| /' conftest.$ac_ext >&5
8254 ac_header_compiler=no
8256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8257 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8258 echo "${ECHO_T}$ac_header_compiler" >&6
8260 # Is the header present?
8261 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8262 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8263 cat >conftest.$ac_ext <<_ACEOF
8264 /* confdefs.h. */
8265 _ACEOF
8266 cat confdefs.h >>conftest.$ac_ext
8267 cat >>conftest.$ac_ext <<_ACEOF
8268 /* end confdefs.h. */
8269 #include <$ac_header>
8270 _ACEOF
8271 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8272 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8273 ac_status=$?
8274 grep -v '^ *+' conftest.er1 >conftest.err
8275 rm -f conftest.er1
8276 cat conftest.err >&5
8277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8278 (exit $ac_status); } >/dev/null; then
8279 if test -s conftest.err; then
8280 ac_cpp_err=$ac_c_preproc_warn_flag
8281 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8282 else
8283 ac_cpp_err=
8285 else
8286 ac_cpp_err=yes
8288 if test -z "$ac_cpp_err"; then
8289 ac_header_preproc=yes
8290 else
8291 echo "$as_me: failed program was:" >&5
8292 sed 's/^/| /' conftest.$ac_ext >&5
8294 ac_header_preproc=no
8296 rm -f conftest.err conftest.$ac_ext
8297 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8298 echo "${ECHO_T}$ac_header_preproc" >&6
8300 # So? What about this header?
8301 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8302 yes:no: )
8303 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8304 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8305 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8306 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8307 ac_header_preproc=yes
8309 no:yes:* )
8310 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8311 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8312 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8313 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8314 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8315 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8316 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8317 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8318 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8319 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8320 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8321 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8323 cat <<\_ASBOX
8324 ## ----------------------------------------- ##
8325 ## Report this to the package-unused lists. ##
8326 ## ----------------------------------------- ##
8327 _ASBOX
8329 sed "s/^/$as_me: WARNING: /" >&2
8331 esac
8332 echo "$as_me:$LINENO: checking for $ac_header" >&5
8333 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8334 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8335 echo $ECHO_N "(cached) $ECHO_C" >&6
8336 else
8337 eval "$as_ac_Header=\$ac_header_preproc"
8339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8340 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8343 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8344 cat >>confdefs.h <<_ACEOF
8345 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8346 _ACEOF
8350 done
8354 # If we're not using GNU ld, then there's no point in even trying these
8355 # tests. Check for that first. We should have already tested for gld
8356 # by now (in libtool), but require it now just to be safe...
8357 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8358 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8362 # The name set by libtool depends on the version of libtool. Shame on us
8363 # for depending on an impl detail, but c'est la vie. Older versions used
8364 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8365 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8366 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8367 # set (hence we're using an older libtool), then set it.
8368 if test x${with_gnu_ld+set} != xset; then
8369 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8370 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8371 with_gnu_ld=no
8372 else
8373 with_gnu_ld=$ac_cv_prog_gnu_ld
8377 # Start by getting the version number. I think the libtool test already
8378 # does some of this, but throws away the result.
8379 if test x"$with_gnu_ld" = x"yes"; then
8380 echo "$as_me:$LINENO: checking for ld version" >&5
8381 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
8383 ldver=`$LD --version 2>/dev/null | head -1 | \
8384 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
8386 glibcxx_gnu_ld_version=`echo $ldver | \
8387 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8388 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
8389 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
8392 # Set --gc-sections.
8393 glibcxx_gcsections_min_ld=21602
8394 if test x"$with_gnu_ld" = x"yes" &&
8395 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
8397 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
8398 # NB: This flag only works reliably after 2.16.1. Configure tests
8399 # for this are difficult, so hard wire a value that should work.
8401 # All these tests are for C++, but run with the "C" compiler driver.
8402 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
8403 ac_test_CFLAGS="${CFLAGS+set}"
8404 ac_save_CFLAGS="$CFLAGS"
8405 CFLAGS='-x c++ -Wl,--gc-sections'
8407 # Check for -Wl,--gc-sections
8408 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8409 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8410 if test x$gcc_no_link = xyes; then
8411 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8413 { (exit 1); exit 1; }; }
8415 cat >conftest.$ac_ext <<_ACEOF
8416 /* confdefs.h. */
8417 _ACEOF
8418 cat confdefs.h >>conftest.$ac_ext
8419 cat >>conftest.$ac_ext <<_ACEOF
8420 /* end confdefs.h. */
8421 int one(void) { return 1; }
8422 int two(void) { return 2; }
8425 main ()
8427 two();
8429 return 0;
8431 _ACEOF
8432 rm -f conftest.$ac_objext conftest$ac_exeext
8433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8434 (eval $ac_link) 2>conftest.er1
8435 ac_status=$?
8436 grep -v '^ *+' conftest.er1 >conftest.err
8437 rm -f conftest.er1
8438 cat conftest.err >&5
8439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8440 (exit $ac_status); } &&
8441 { ac_try='test -z "$ac_c_werror_flag"
8442 || test ! -s conftest.err'
8443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8444 (eval $ac_try) 2>&5
8445 ac_status=$?
8446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8447 (exit $ac_status); }; } &&
8448 { ac_try='test -s conftest$ac_exeext'
8449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8450 (eval $ac_try) 2>&5
8451 ac_status=$?
8452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8453 (exit $ac_status); }; }; then
8454 ac_gcsections=yes
8455 else
8456 echo "$as_me: failed program was:" >&5
8457 sed 's/^/| /' conftest.$ac_ext >&5
8459 ac_gcsections=no
8461 rm -f conftest.err conftest.$ac_objext \
8462 conftest$ac_exeext conftest.$ac_ext
8463 if test "$ac_gcsections" = "yes"; then
8464 rm -f conftest.c
8465 touch conftest.c
8466 if $CC -c conftest.c; then
8467 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
8468 grep "Warning: gc-sections option ignored" > /dev/null; then
8469 ac_gcsections=no
8472 rm -f conftest.c conftest.o conftest
8474 if test "$ac_gcsections" = "yes"; then
8475 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8477 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
8478 echo "${ECHO_T}$ac_gcsections" >&6
8480 if test "$ac_test_CFLAGS" = set; then
8481 CFLAGS="$ac_save_CFLAGS"
8482 else
8483 # this is the suspicious part
8484 CFLAGS=''
8488 # Set -z,relro.
8489 # Note this is only for shared objects.
8490 ac_ld_relro=no
8491 if test x"$with_gnu_ld" = x"yes"; then
8492 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
8493 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
8494 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
8495 if test -n "$cxx_z_relo"; then
8496 OPT_LDFLAGS="-Wl,-z,relro"
8497 ac_ld_relro=yes
8499 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
8500 echo "${ECHO_T}$ac_ld_relro" >&6
8503 # Set linker optimization flags.
8504 if test x"$with_gnu_ld" = x"yes"; then
8505 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8512 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8513 ac_save_CXXFLAGS="$CXXFLAGS"
8514 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8516 echo "$as_me:$LINENO: checking for sin in -lm" >&5
8517 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8518 if test "${ac_cv_lib_m_sin+set}" = set; then
8519 echo $ECHO_N "(cached) $ECHO_C" >&6
8520 else
8521 ac_check_lib_save_LIBS=$LIBS
8522 LIBS="-lm $LIBS"
8523 if test x$gcc_no_link = xyes; then
8524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8526 { (exit 1); exit 1; }; }
8528 cat >conftest.$ac_ext <<_ACEOF
8529 /* confdefs.h. */
8530 _ACEOF
8531 cat confdefs.h >>conftest.$ac_ext
8532 cat >>conftest.$ac_ext <<_ACEOF
8533 /* end confdefs.h. */
8535 /* Override any gcc2 internal prototype to avoid an error. */
8536 #ifdef __cplusplus
8537 extern "C"
8538 #endif
8539 /* We use char because int might match the return type of a gcc2
8540 builtin and then its argument prototype would still apply. */
8541 char sin ();
8543 main ()
8545 sin ();
8547 return 0;
8549 _ACEOF
8550 rm -f conftest.$ac_objext conftest$ac_exeext
8551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8552 (eval $ac_link) 2>conftest.er1
8553 ac_status=$?
8554 grep -v '^ *+' conftest.er1 >conftest.err
8555 rm -f conftest.er1
8556 cat conftest.err >&5
8557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8558 (exit $ac_status); } &&
8559 { ac_try='test -z "$ac_c_werror_flag"
8560 || test ! -s conftest.err'
8561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8562 (eval $ac_try) 2>&5
8563 ac_status=$?
8564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8565 (exit $ac_status); }; } &&
8566 { ac_try='test -s conftest$ac_exeext'
8567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8568 (eval $ac_try) 2>&5
8569 ac_status=$?
8570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8571 (exit $ac_status); }; }; then
8572 ac_cv_lib_m_sin=yes
8573 else
8574 echo "$as_me: failed program was:" >&5
8575 sed 's/^/| /' conftest.$ac_ext >&5
8577 ac_cv_lib_m_sin=no
8579 rm -f conftest.err conftest.$ac_objext \
8580 conftest$ac_exeext conftest.$ac_ext
8581 LIBS=$ac_check_lib_save_LIBS
8583 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8584 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8585 if test $ac_cv_lib_m_sin = yes; then
8586 libm="-lm"
8589 ac_save_LIBS="$LIBS"
8590 LIBS="$LIBS $libm"
8594 echo "$as_me:$LINENO: checking for isinf declaration" >&5
8595 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8596 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8597 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8598 echo $ECHO_N "(cached) $ECHO_C" >&6
8599 else
8603 ac_ext=cc
8604 ac_cpp='$CXXCPP $CPPFLAGS'
8605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8609 cat >conftest.$ac_ext <<_ACEOF
8610 /* confdefs.h. */
8611 _ACEOF
8612 cat confdefs.h >>conftest.$ac_ext
8613 cat >>conftest.$ac_ext <<_ACEOF
8614 /* end confdefs.h. */
8615 #include <math.h>
8616 #ifdef HAVE_IEEEFP_H
8617 #include <ieeefp.h>
8618 #endif
8621 main ()
8623 isinf(0);
8625 return 0;
8627 _ACEOF
8628 rm -f conftest.$ac_objext
8629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8630 (eval $ac_compile) 2>conftest.er1
8631 ac_status=$?
8632 grep -v '^ *+' conftest.er1 >conftest.err
8633 rm -f conftest.er1
8634 cat conftest.err >&5
8635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8636 (exit $ac_status); } &&
8637 { ac_try='test -z "$ac_cxx_werror_flag"
8638 || test ! -s conftest.err'
8639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8640 (eval $ac_try) 2>&5
8641 ac_status=$?
8642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8643 (exit $ac_status); }; } &&
8644 { ac_try='test -s conftest.$ac_objext'
8645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8646 (eval $ac_try) 2>&5
8647 ac_status=$?
8648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8649 (exit $ac_status); }; }; then
8650 glibcxx_cv_func_isinf_use=yes
8651 else
8652 echo "$as_me: failed program was:" >&5
8653 sed 's/^/| /' conftest.$ac_ext >&5
8655 glibcxx_cv_func_isinf_use=no
8657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8658 ac_ext=c
8659 ac_cpp='$CPP $CPPFLAGS'
8660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8668 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8669 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8671 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8673 for ac_func in isinf
8675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8676 echo "$as_me:$LINENO: checking for $ac_func" >&5
8677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8678 if eval "test \"\${$as_ac_var+set}\" = set"; then
8679 echo $ECHO_N "(cached) $ECHO_C" >&6
8680 else
8681 if test x$gcc_no_link = xyes; then
8682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8684 { (exit 1); exit 1; }; }
8686 cat >conftest.$ac_ext <<_ACEOF
8687 /* confdefs.h. */
8688 _ACEOF
8689 cat confdefs.h >>conftest.$ac_ext
8690 cat >>conftest.$ac_ext <<_ACEOF
8691 /* end confdefs.h. */
8692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8694 #define $ac_func innocuous_$ac_func
8696 /* System header to define __stub macros and hopefully few prototypes,
8697 which can conflict with char $ac_func (); below.
8698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8699 <limits.h> exists even on freestanding compilers. */
8701 #ifdef __STDC__
8702 # include <limits.h>
8703 #else
8704 # include <assert.h>
8705 #endif
8707 #undef $ac_func
8709 /* Override any gcc2 internal prototype to avoid an error. */
8710 #ifdef __cplusplus
8711 extern "C"
8713 #endif
8714 /* We use char because int might match the return type of a gcc2
8715 builtin and then its argument prototype would still apply. */
8716 char $ac_func ();
8717 /* The GNU C library defines this for functions which it implements
8718 to always fail with ENOSYS. Some functions are actually named
8719 something starting with __ and the normal name is an alias. */
8720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8721 choke me
8722 #else
8723 char (*f) () = $ac_func;
8724 #endif
8725 #ifdef __cplusplus
8727 #endif
8730 main ()
8732 return f != $ac_func;
8734 return 0;
8736 _ACEOF
8737 rm -f conftest.$ac_objext conftest$ac_exeext
8738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8739 (eval $ac_link) 2>conftest.er1
8740 ac_status=$?
8741 grep -v '^ *+' conftest.er1 >conftest.err
8742 rm -f conftest.er1
8743 cat conftest.err >&5
8744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8745 (exit $ac_status); } &&
8746 { ac_try='test -z "$ac_c_werror_flag"
8747 || test ! -s conftest.err'
8748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8749 (eval $ac_try) 2>&5
8750 ac_status=$?
8751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8752 (exit $ac_status); }; } &&
8753 { ac_try='test -s conftest$ac_exeext'
8754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8755 (eval $ac_try) 2>&5
8756 ac_status=$?
8757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8758 (exit $ac_status); }; }; then
8759 eval "$as_ac_var=yes"
8760 else
8761 echo "$as_me: failed program was:" >&5
8762 sed 's/^/| /' conftest.$ac_ext >&5
8764 eval "$as_ac_var=no"
8766 rm -f conftest.err conftest.$ac_objext \
8767 conftest$ac_exeext conftest.$ac_ext
8769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8771 if test `eval echo '${'$as_ac_var'}'` = yes; then
8772 cat >>confdefs.h <<_ACEOF
8773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8774 _ACEOF
8777 done
8779 else
8781 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8782 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8783 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8784 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8785 echo $ECHO_N "(cached) $ECHO_C" >&6
8786 else
8790 ac_ext=cc
8791 ac_cpp='$CXXCPP $CPPFLAGS'
8792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8796 cat >conftest.$ac_ext <<_ACEOF
8797 /* confdefs.h. */
8798 _ACEOF
8799 cat confdefs.h >>conftest.$ac_ext
8800 cat >>conftest.$ac_ext <<_ACEOF
8801 /* end confdefs.h. */
8802 #include <math.h>
8803 #ifdef HAVE_IEEEFP_H
8804 #include <ieeefp.h>
8805 #endif
8808 main ()
8810 _isinf(0);
8812 return 0;
8814 _ACEOF
8815 rm -f conftest.$ac_objext
8816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8817 (eval $ac_compile) 2>conftest.er1
8818 ac_status=$?
8819 grep -v '^ *+' conftest.er1 >conftest.err
8820 rm -f conftest.er1
8821 cat conftest.err >&5
8822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8823 (exit $ac_status); } &&
8824 { ac_try='test -z "$ac_cxx_werror_flag"
8825 || test ! -s conftest.err'
8826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8827 (eval $ac_try) 2>&5
8828 ac_status=$?
8829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8830 (exit $ac_status); }; } &&
8831 { ac_try='test -s conftest.$ac_objext'
8832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8833 (eval $ac_try) 2>&5
8834 ac_status=$?
8835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8836 (exit $ac_status); }; }; then
8837 glibcxx_cv_func__isinf_use=yes
8838 else
8839 echo "$as_me: failed program was:" >&5
8840 sed 's/^/| /' conftest.$ac_ext >&5
8842 glibcxx_cv_func__isinf_use=no
8844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8845 ac_ext=c
8846 ac_cpp='$CPP $CPPFLAGS'
8847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8855 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8856 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8858 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8860 for ac_func in _isinf
8862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8863 echo "$as_me:$LINENO: checking for $ac_func" >&5
8864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8865 if eval "test \"\${$as_ac_var+set}\" = set"; then
8866 echo $ECHO_N "(cached) $ECHO_C" >&6
8867 else
8868 if test x$gcc_no_link = xyes; then
8869 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8871 { (exit 1); exit 1; }; }
8873 cat >conftest.$ac_ext <<_ACEOF
8874 /* confdefs.h. */
8875 _ACEOF
8876 cat confdefs.h >>conftest.$ac_ext
8877 cat >>conftest.$ac_ext <<_ACEOF
8878 /* end confdefs.h. */
8879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8881 #define $ac_func innocuous_$ac_func
8883 /* System header to define __stub macros and hopefully few prototypes,
8884 which can conflict with char $ac_func (); below.
8885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8886 <limits.h> exists even on freestanding compilers. */
8888 #ifdef __STDC__
8889 # include <limits.h>
8890 #else
8891 # include <assert.h>
8892 #endif
8894 #undef $ac_func
8896 /* Override any gcc2 internal prototype to avoid an error. */
8897 #ifdef __cplusplus
8898 extern "C"
8900 #endif
8901 /* We use char because int might match the return type of a gcc2
8902 builtin and then its argument prototype would still apply. */
8903 char $ac_func ();
8904 /* The GNU C library defines this for functions which it implements
8905 to always fail with ENOSYS. Some functions are actually named
8906 something starting with __ and the normal name is an alias. */
8907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8908 choke me
8909 #else
8910 char (*f) () = $ac_func;
8911 #endif
8912 #ifdef __cplusplus
8914 #endif
8917 main ()
8919 return f != $ac_func;
8921 return 0;
8923 _ACEOF
8924 rm -f conftest.$ac_objext conftest$ac_exeext
8925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8926 (eval $ac_link) 2>conftest.er1
8927 ac_status=$?
8928 grep -v '^ *+' conftest.er1 >conftest.err
8929 rm -f conftest.er1
8930 cat conftest.err >&5
8931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8932 (exit $ac_status); } &&
8933 { ac_try='test -z "$ac_c_werror_flag"
8934 || test ! -s conftest.err'
8935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8936 (eval $ac_try) 2>&5
8937 ac_status=$?
8938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8939 (exit $ac_status); }; } &&
8940 { ac_try='test -s conftest$ac_exeext'
8941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8942 (eval $ac_try) 2>&5
8943 ac_status=$?
8944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8945 (exit $ac_status); }; }; then
8946 eval "$as_ac_var=yes"
8947 else
8948 echo "$as_me: failed program was:" >&5
8949 sed 's/^/| /' conftest.$ac_ext >&5
8951 eval "$as_ac_var=no"
8953 rm -f conftest.err conftest.$ac_objext \
8954 conftest$ac_exeext conftest.$ac_ext
8956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8958 if test `eval echo '${'$as_ac_var'}'` = yes; then
8959 cat >>confdefs.h <<_ACEOF
8960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8961 _ACEOF
8964 done
8974 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8975 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8976 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8977 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8978 echo $ECHO_N "(cached) $ECHO_C" >&6
8979 else
8983 ac_ext=cc
8984 ac_cpp='$CXXCPP $CPPFLAGS'
8985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8989 cat >conftest.$ac_ext <<_ACEOF
8990 /* confdefs.h. */
8991 _ACEOF
8992 cat confdefs.h >>conftest.$ac_ext
8993 cat >>conftest.$ac_ext <<_ACEOF
8994 /* end confdefs.h. */
8995 #include <math.h>
8996 #ifdef HAVE_IEEEFP_H
8997 #include <ieeefp.h>
8998 #endif
9001 main ()
9003 isnan(0);
9005 return 0;
9007 _ACEOF
9008 rm -f conftest.$ac_objext
9009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9010 (eval $ac_compile) 2>conftest.er1
9011 ac_status=$?
9012 grep -v '^ *+' conftest.er1 >conftest.err
9013 rm -f conftest.er1
9014 cat conftest.err >&5
9015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9016 (exit $ac_status); } &&
9017 { ac_try='test -z "$ac_cxx_werror_flag"
9018 || test ! -s conftest.err'
9019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9020 (eval $ac_try) 2>&5
9021 ac_status=$?
9022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9023 (exit $ac_status); }; } &&
9024 { ac_try='test -s conftest.$ac_objext'
9025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9026 (eval $ac_try) 2>&5
9027 ac_status=$?
9028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9029 (exit $ac_status); }; }; then
9030 glibcxx_cv_func_isnan_use=yes
9031 else
9032 echo "$as_me: failed program was:" >&5
9033 sed 's/^/| /' conftest.$ac_ext >&5
9035 glibcxx_cv_func_isnan_use=no
9037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9038 ac_ext=c
9039 ac_cpp='$CPP $CPPFLAGS'
9040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9048 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
9049 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
9051 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
9053 for ac_func in isnan
9055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9056 echo "$as_me:$LINENO: checking for $ac_func" >&5
9057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9058 if eval "test \"\${$as_ac_var+set}\" = set"; then
9059 echo $ECHO_N "(cached) $ECHO_C" >&6
9060 else
9061 if test x$gcc_no_link = xyes; then
9062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9064 { (exit 1); exit 1; }; }
9066 cat >conftest.$ac_ext <<_ACEOF
9067 /* confdefs.h. */
9068 _ACEOF
9069 cat confdefs.h >>conftest.$ac_ext
9070 cat >>conftest.$ac_ext <<_ACEOF
9071 /* end confdefs.h. */
9072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9074 #define $ac_func innocuous_$ac_func
9076 /* System header to define __stub macros and hopefully few prototypes,
9077 which can conflict with char $ac_func (); below.
9078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9079 <limits.h> exists even on freestanding compilers. */
9081 #ifdef __STDC__
9082 # include <limits.h>
9083 #else
9084 # include <assert.h>
9085 #endif
9087 #undef $ac_func
9089 /* Override any gcc2 internal prototype to avoid an error. */
9090 #ifdef __cplusplus
9091 extern "C"
9093 #endif
9094 /* We use char because int might match the return type of a gcc2
9095 builtin and then its argument prototype would still apply. */
9096 char $ac_func ();
9097 /* The GNU C library defines this for functions which it implements
9098 to always fail with ENOSYS. Some functions are actually named
9099 something starting with __ and the normal name is an alias. */
9100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9101 choke me
9102 #else
9103 char (*f) () = $ac_func;
9104 #endif
9105 #ifdef __cplusplus
9107 #endif
9110 main ()
9112 return f != $ac_func;
9114 return 0;
9116 _ACEOF
9117 rm -f conftest.$ac_objext conftest$ac_exeext
9118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9119 (eval $ac_link) 2>conftest.er1
9120 ac_status=$?
9121 grep -v '^ *+' conftest.er1 >conftest.err
9122 rm -f conftest.er1
9123 cat conftest.err >&5
9124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9125 (exit $ac_status); } &&
9126 { ac_try='test -z "$ac_c_werror_flag"
9127 || test ! -s conftest.err'
9128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9129 (eval $ac_try) 2>&5
9130 ac_status=$?
9131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9132 (exit $ac_status); }; } &&
9133 { ac_try='test -s conftest$ac_exeext'
9134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9135 (eval $ac_try) 2>&5
9136 ac_status=$?
9137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9138 (exit $ac_status); }; }; then
9139 eval "$as_ac_var=yes"
9140 else
9141 echo "$as_me: failed program was:" >&5
9142 sed 's/^/| /' conftest.$ac_ext >&5
9144 eval "$as_ac_var=no"
9146 rm -f conftest.err conftest.$ac_objext \
9147 conftest$ac_exeext conftest.$ac_ext
9149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9151 if test `eval echo '${'$as_ac_var'}'` = yes; then
9152 cat >>confdefs.h <<_ACEOF
9153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9154 _ACEOF
9157 done
9159 else
9161 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
9162 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
9163 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
9164 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
9165 echo $ECHO_N "(cached) $ECHO_C" >&6
9166 else
9170 ac_ext=cc
9171 ac_cpp='$CXXCPP $CPPFLAGS'
9172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9176 cat >conftest.$ac_ext <<_ACEOF
9177 /* confdefs.h. */
9178 _ACEOF
9179 cat confdefs.h >>conftest.$ac_ext
9180 cat >>conftest.$ac_ext <<_ACEOF
9181 /* end confdefs.h. */
9182 #include <math.h>
9183 #ifdef HAVE_IEEEFP_H
9184 #include <ieeefp.h>
9185 #endif
9188 main ()
9190 _isnan(0);
9192 return 0;
9194 _ACEOF
9195 rm -f conftest.$ac_objext
9196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9197 (eval $ac_compile) 2>conftest.er1
9198 ac_status=$?
9199 grep -v '^ *+' conftest.er1 >conftest.err
9200 rm -f conftest.er1
9201 cat conftest.err >&5
9202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9203 (exit $ac_status); } &&
9204 { ac_try='test -z "$ac_cxx_werror_flag"
9205 || test ! -s conftest.err'
9206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9207 (eval $ac_try) 2>&5
9208 ac_status=$?
9209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9210 (exit $ac_status); }; } &&
9211 { ac_try='test -s conftest.$ac_objext'
9212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9213 (eval $ac_try) 2>&5
9214 ac_status=$?
9215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9216 (exit $ac_status); }; }; then
9217 glibcxx_cv_func__isnan_use=yes
9218 else
9219 echo "$as_me: failed program was:" >&5
9220 sed 's/^/| /' conftest.$ac_ext >&5
9222 glibcxx_cv_func__isnan_use=no
9224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9225 ac_ext=c
9226 ac_cpp='$CPP $CPPFLAGS'
9227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9235 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
9236 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
9238 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
9240 for ac_func in _isnan
9242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9243 echo "$as_me:$LINENO: checking for $ac_func" >&5
9244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9245 if eval "test \"\${$as_ac_var+set}\" = set"; then
9246 echo $ECHO_N "(cached) $ECHO_C" >&6
9247 else
9248 if test x$gcc_no_link = xyes; then
9249 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9251 { (exit 1); exit 1; }; }
9253 cat >conftest.$ac_ext <<_ACEOF
9254 /* confdefs.h. */
9255 _ACEOF
9256 cat confdefs.h >>conftest.$ac_ext
9257 cat >>conftest.$ac_ext <<_ACEOF
9258 /* end confdefs.h. */
9259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9261 #define $ac_func innocuous_$ac_func
9263 /* System header to define __stub macros and hopefully few prototypes,
9264 which can conflict with char $ac_func (); below.
9265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9266 <limits.h> exists even on freestanding compilers. */
9268 #ifdef __STDC__
9269 # include <limits.h>
9270 #else
9271 # include <assert.h>
9272 #endif
9274 #undef $ac_func
9276 /* Override any gcc2 internal prototype to avoid an error. */
9277 #ifdef __cplusplus
9278 extern "C"
9280 #endif
9281 /* We use char because int might match the return type of a gcc2
9282 builtin and then its argument prototype would still apply. */
9283 char $ac_func ();
9284 /* The GNU C library defines this for functions which it implements
9285 to always fail with ENOSYS. Some functions are actually named
9286 something starting with __ and the normal name is an alias. */
9287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9288 choke me
9289 #else
9290 char (*f) () = $ac_func;
9291 #endif
9292 #ifdef __cplusplus
9294 #endif
9297 main ()
9299 return f != $ac_func;
9301 return 0;
9303 _ACEOF
9304 rm -f conftest.$ac_objext conftest$ac_exeext
9305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9306 (eval $ac_link) 2>conftest.er1
9307 ac_status=$?
9308 grep -v '^ *+' conftest.er1 >conftest.err
9309 rm -f conftest.er1
9310 cat conftest.err >&5
9311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9312 (exit $ac_status); } &&
9313 { ac_try='test -z "$ac_c_werror_flag"
9314 || test ! -s conftest.err'
9315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9316 (eval $ac_try) 2>&5
9317 ac_status=$?
9318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9319 (exit $ac_status); }; } &&
9320 { ac_try='test -s conftest$ac_exeext'
9321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9322 (eval $ac_try) 2>&5
9323 ac_status=$?
9324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9325 (exit $ac_status); }; }; then
9326 eval "$as_ac_var=yes"
9327 else
9328 echo "$as_me: failed program was:" >&5
9329 sed 's/^/| /' conftest.$ac_ext >&5
9331 eval "$as_ac_var=no"
9333 rm -f conftest.err conftest.$ac_objext \
9334 conftest$ac_exeext conftest.$ac_ext
9336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9338 if test `eval echo '${'$as_ac_var'}'` = yes; then
9339 cat >>confdefs.h <<_ACEOF
9340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9341 _ACEOF
9344 done
9354 echo "$as_me:$LINENO: checking for finite declaration" >&5
9355 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9356 if test x${glibcxx_cv_func_finite_use+set} != xset; then
9357 if test "${glibcxx_cv_func_finite_use+set}" = set; then
9358 echo $ECHO_N "(cached) $ECHO_C" >&6
9359 else
9363 ac_ext=cc
9364 ac_cpp='$CXXCPP $CPPFLAGS'
9365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9369 cat >conftest.$ac_ext <<_ACEOF
9370 /* confdefs.h. */
9371 _ACEOF
9372 cat confdefs.h >>conftest.$ac_ext
9373 cat >>conftest.$ac_ext <<_ACEOF
9374 /* end confdefs.h. */
9375 #include <math.h>
9376 #ifdef HAVE_IEEEFP_H
9377 #include <ieeefp.h>
9378 #endif
9381 main ()
9383 finite(0);
9385 return 0;
9387 _ACEOF
9388 rm -f conftest.$ac_objext
9389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9390 (eval $ac_compile) 2>conftest.er1
9391 ac_status=$?
9392 grep -v '^ *+' conftest.er1 >conftest.err
9393 rm -f conftest.er1
9394 cat conftest.err >&5
9395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9396 (exit $ac_status); } &&
9397 { ac_try='test -z "$ac_cxx_werror_flag"
9398 || test ! -s conftest.err'
9399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9400 (eval $ac_try) 2>&5
9401 ac_status=$?
9402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9403 (exit $ac_status); }; } &&
9404 { ac_try='test -s conftest.$ac_objext'
9405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9406 (eval $ac_try) 2>&5
9407 ac_status=$?
9408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9409 (exit $ac_status); }; }; then
9410 glibcxx_cv_func_finite_use=yes
9411 else
9412 echo "$as_me: failed program was:" >&5
9413 sed 's/^/| /' conftest.$ac_ext >&5
9415 glibcxx_cv_func_finite_use=no
9417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9418 ac_ext=c
9419 ac_cpp='$CPP $CPPFLAGS'
9420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9428 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9429 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9431 if test x$glibcxx_cv_func_finite_use = x"yes"; then
9433 for ac_func in finite
9435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9436 echo "$as_me:$LINENO: checking for $ac_func" >&5
9437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9438 if eval "test \"\${$as_ac_var+set}\" = set"; then
9439 echo $ECHO_N "(cached) $ECHO_C" >&6
9440 else
9441 if test x$gcc_no_link = xyes; then
9442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9444 { (exit 1); exit 1; }; }
9446 cat >conftest.$ac_ext <<_ACEOF
9447 /* confdefs.h. */
9448 _ACEOF
9449 cat confdefs.h >>conftest.$ac_ext
9450 cat >>conftest.$ac_ext <<_ACEOF
9451 /* end confdefs.h. */
9452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9454 #define $ac_func innocuous_$ac_func
9456 /* System header to define __stub macros and hopefully few prototypes,
9457 which can conflict with char $ac_func (); below.
9458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9459 <limits.h> exists even on freestanding compilers. */
9461 #ifdef __STDC__
9462 # include <limits.h>
9463 #else
9464 # include <assert.h>
9465 #endif
9467 #undef $ac_func
9469 /* Override any gcc2 internal prototype to avoid an error. */
9470 #ifdef __cplusplus
9471 extern "C"
9473 #endif
9474 /* We use char because int might match the return type of a gcc2
9475 builtin and then its argument prototype would still apply. */
9476 char $ac_func ();
9477 /* The GNU C library defines this for functions which it implements
9478 to always fail with ENOSYS. Some functions are actually named
9479 something starting with __ and the normal name is an alias. */
9480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9481 choke me
9482 #else
9483 char (*f) () = $ac_func;
9484 #endif
9485 #ifdef __cplusplus
9487 #endif
9490 main ()
9492 return f != $ac_func;
9494 return 0;
9496 _ACEOF
9497 rm -f conftest.$ac_objext conftest$ac_exeext
9498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9499 (eval $ac_link) 2>conftest.er1
9500 ac_status=$?
9501 grep -v '^ *+' conftest.er1 >conftest.err
9502 rm -f conftest.er1
9503 cat conftest.err >&5
9504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9505 (exit $ac_status); } &&
9506 { ac_try='test -z "$ac_c_werror_flag"
9507 || test ! -s conftest.err'
9508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9509 (eval $ac_try) 2>&5
9510 ac_status=$?
9511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9512 (exit $ac_status); }; } &&
9513 { ac_try='test -s conftest$ac_exeext'
9514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9515 (eval $ac_try) 2>&5
9516 ac_status=$?
9517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9518 (exit $ac_status); }; }; then
9519 eval "$as_ac_var=yes"
9520 else
9521 echo "$as_me: failed program was:" >&5
9522 sed 's/^/| /' conftest.$ac_ext >&5
9524 eval "$as_ac_var=no"
9526 rm -f conftest.err conftest.$ac_objext \
9527 conftest$ac_exeext conftest.$ac_ext
9529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9531 if test `eval echo '${'$as_ac_var'}'` = yes; then
9532 cat >>confdefs.h <<_ACEOF
9533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9534 _ACEOF
9537 done
9539 else
9541 echo "$as_me:$LINENO: checking for _finite declaration" >&5
9542 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9543 if test x${glibcxx_cv_func__finite_use+set} != xset; then
9544 if test "${glibcxx_cv_func__finite_use+set}" = set; then
9545 echo $ECHO_N "(cached) $ECHO_C" >&6
9546 else
9550 ac_ext=cc
9551 ac_cpp='$CXXCPP $CPPFLAGS'
9552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9556 cat >conftest.$ac_ext <<_ACEOF
9557 /* confdefs.h. */
9558 _ACEOF
9559 cat confdefs.h >>conftest.$ac_ext
9560 cat >>conftest.$ac_ext <<_ACEOF
9561 /* end confdefs.h. */
9562 #include <math.h>
9563 #ifdef HAVE_IEEEFP_H
9564 #include <ieeefp.h>
9565 #endif
9568 main ()
9570 _finite(0);
9572 return 0;
9574 _ACEOF
9575 rm -f conftest.$ac_objext
9576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9577 (eval $ac_compile) 2>conftest.er1
9578 ac_status=$?
9579 grep -v '^ *+' conftest.er1 >conftest.err
9580 rm -f conftest.er1
9581 cat conftest.err >&5
9582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9583 (exit $ac_status); } &&
9584 { ac_try='test -z "$ac_cxx_werror_flag"
9585 || test ! -s conftest.err'
9586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9587 (eval $ac_try) 2>&5
9588 ac_status=$?
9589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9590 (exit $ac_status); }; } &&
9591 { ac_try='test -s conftest.$ac_objext'
9592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9593 (eval $ac_try) 2>&5
9594 ac_status=$?
9595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9596 (exit $ac_status); }; }; then
9597 glibcxx_cv_func__finite_use=yes
9598 else
9599 echo "$as_me: failed program was:" >&5
9600 sed 's/^/| /' conftest.$ac_ext >&5
9602 glibcxx_cv_func__finite_use=no
9604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9605 ac_ext=c
9606 ac_cpp='$CPP $CPPFLAGS'
9607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9615 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9616 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9618 if test x$glibcxx_cv_func__finite_use = x"yes"; then
9620 for ac_func in _finite
9622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9623 echo "$as_me:$LINENO: checking for $ac_func" >&5
9624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9625 if eval "test \"\${$as_ac_var+set}\" = set"; then
9626 echo $ECHO_N "(cached) $ECHO_C" >&6
9627 else
9628 if test x$gcc_no_link = xyes; then
9629 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9631 { (exit 1); exit 1; }; }
9633 cat >conftest.$ac_ext <<_ACEOF
9634 /* confdefs.h. */
9635 _ACEOF
9636 cat confdefs.h >>conftest.$ac_ext
9637 cat >>conftest.$ac_ext <<_ACEOF
9638 /* end confdefs.h. */
9639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9641 #define $ac_func innocuous_$ac_func
9643 /* System header to define __stub macros and hopefully few prototypes,
9644 which can conflict with char $ac_func (); below.
9645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9646 <limits.h> exists even on freestanding compilers. */
9648 #ifdef __STDC__
9649 # include <limits.h>
9650 #else
9651 # include <assert.h>
9652 #endif
9654 #undef $ac_func
9656 /* Override any gcc2 internal prototype to avoid an error. */
9657 #ifdef __cplusplus
9658 extern "C"
9660 #endif
9661 /* We use char because int might match the return type of a gcc2
9662 builtin and then its argument prototype would still apply. */
9663 char $ac_func ();
9664 /* The GNU C library defines this for functions which it implements
9665 to always fail with ENOSYS. Some functions are actually named
9666 something starting with __ and the normal name is an alias. */
9667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9668 choke me
9669 #else
9670 char (*f) () = $ac_func;
9671 #endif
9672 #ifdef __cplusplus
9674 #endif
9677 main ()
9679 return f != $ac_func;
9681 return 0;
9683 _ACEOF
9684 rm -f conftest.$ac_objext conftest$ac_exeext
9685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9686 (eval $ac_link) 2>conftest.er1
9687 ac_status=$?
9688 grep -v '^ *+' conftest.er1 >conftest.err
9689 rm -f conftest.er1
9690 cat conftest.err >&5
9691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9692 (exit $ac_status); } &&
9693 { ac_try='test -z "$ac_c_werror_flag"
9694 || test ! -s conftest.err'
9695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9696 (eval $ac_try) 2>&5
9697 ac_status=$?
9698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9699 (exit $ac_status); }; } &&
9700 { ac_try='test -s conftest$ac_exeext'
9701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9702 (eval $ac_try) 2>&5
9703 ac_status=$?
9704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9705 (exit $ac_status); }; }; then
9706 eval "$as_ac_var=yes"
9707 else
9708 echo "$as_me: failed program was:" >&5
9709 sed 's/^/| /' conftest.$ac_ext >&5
9711 eval "$as_ac_var=no"
9713 rm -f conftest.err conftest.$ac_objext \
9714 conftest$ac_exeext conftest.$ac_ext
9716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9718 if test `eval echo '${'$as_ac_var'}'` = yes; then
9719 cat >>confdefs.h <<_ACEOF
9720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9721 _ACEOF
9724 done
9734 echo "$as_me:$LINENO: checking for copysign declaration" >&5
9735 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9736 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9737 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9738 echo $ECHO_N "(cached) $ECHO_C" >&6
9739 else
9743 ac_ext=cc
9744 ac_cpp='$CXXCPP $CPPFLAGS'
9745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9749 cat >conftest.$ac_ext <<_ACEOF
9750 /* confdefs.h. */
9751 _ACEOF
9752 cat confdefs.h >>conftest.$ac_ext
9753 cat >>conftest.$ac_ext <<_ACEOF
9754 /* end confdefs.h. */
9755 #include <math.h>
9757 main ()
9759 copysign(0, 0);
9761 return 0;
9763 _ACEOF
9764 rm -f conftest.$ac_objext
9765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9766 (eval $ac_compile) 2>conftest.er1
9767 ac_status=$?
9768 grep -v '^ *+' conftest.er1 >conftest.err
9769 rm -f conftest.er1
9770 cat conftest.err >&5
9771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9772 (exit $ac_status); } &&
9773 { ac_try='test -z "$ac_cxx_werror_flag"
9774 || test ! -s conftest.err'
9775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9776 (eval $ac_try) 2>&5
9777 ac_status=$?
9778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9779 (exit $ac_status); }; } &&
9780 { ac_try='test -s conftest.$ac_objext'
9781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9782 (eval $ac_try) 2>&5
9783 ac_status=$?
9784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9785 (exit $ac_status); }; }; then
9786 glibcxx_cv_func_copysign_use=yes
9787 else
9788 echo "$as_me: failed program was:" >&5
9789 sed 's/^/| /' conftest.$ac_ext >&5
9791 glibcxx_cv_func_copysign_use=no
9793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9794 ac_ext=c
9795 ac_cpp='$CPP $CPPFLAGS'
9796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9804 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9805 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9807 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9809 for ac_func in copysign
9811 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9812 echo "$as_me:$LINENO: checking for $ac_func" >&5
9813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9814 if eval "test \"\${$as_ac_var+set}\" = set"; then
9815 echo $ECHO_N "(cached) $ECHO_C" >&6
9816 else
9817 if test x$gcc_no_link = xyes; then
9818 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9819 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9820 { (exit 1); exit 1; }; }
9822 cat >conftest.$ac_ext <<_ACEOF
9823 /* confdefs.h. */
9824 _ACEOF
9825 cat confdefs.h >>conftest.$ac_ext
9826 cat >>conftest.$ac_ext <<_ACEOF
9827 /* end confdefs.h. */
9828 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9829 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9830 #define $ac_func innocuous_$ac_func
9832 /* System header to define __stub macros and hopefully few prototypes,
9833 which can conflict with char $ac_func (); below.
9834 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9835 <limits.h> exists even on freestanding compilers. */
9837 #ifdef __STDC__
9838 # include <limits.h>
9839 #else
9840 # include <assert.h>
9841 #endif
9843 #undef $ac_func
9845 /* Override any gcc2 internal prototype to avoid an error. */
9846 #ifdef __cplusplus
9847 extern "C"
9849 #endif
9850 /* We use char because int might match the return type of a gcc2
9851 builtin and then its argument prototype would still apply. */
9852 char $ac_func ();
9853 /* The GNU C library defines this for functions which it implements
9854 to always fail with ENOSYS. Some functions are actually named
9855 something starting with __ and the normal name is an alias. */
9856 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9857 choke me
9858 #else
9859 char (*f) () = $ac_func;
9860 #endif
9861 #ifdef __cplusplus
9863 #endif
9866 main ()
9868 return f != $ac_func;
9870 return 0;
9872 _ACEOF
9873 rm -f conftest.$ac_objext conftest$ac_exeext
9874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9875 (eval $ac_link) 2>conftest.er1
9876 ac_status=$?
9877 grep -v '^ *+' conftest.er1 >conftest.err
9878 rm -f conftest.er1
9879 cat conftest.err >&5
9880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9881 (exit $ac_status); } &&
9882 { ac_try='test -z "$ac_c_werror_flag"
9883 || test ! -s conftest.err'
9884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9885 (eval $ac_try) 2>&5
9886 ac_status=$?
9887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9888 (exit $ac_status); }; } &&
9889 { ac_try='test -s conftest$ac_exeext'
9890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9891 (eval $ac_try) 2>&5
9892 ac_status=$?
9893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9894 (exit $ac_status); }; }; then
9895 eval "$as_ac_var=yes"
9896 else
9897 echo "$as_me: failed program was:" >&5
9898 sed 's/^/| /' conftest.$ac_ext >&5
9900 eval "$as_ac_var=no"
9902 rm -f conftest.err conftest.$ac_objext \
9903 conftest$ac_exeext conftest.$ac_ext
9905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9906 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9907 if test `eval echo '${'$as_ac_var'}'` = yes; then
9908 cat >>confdefs.h <<_ACEOF
9909 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9910 _ACEOF
9913 done
9915 else
9917 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9918 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9919 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9920 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9921 echo $ECHO_N "(cached) $ECHO_C" >&6
9922 else
9926 ac_ext=cc
9927 ac_cpp='$CXXCPP $CPPFLAGS'
9928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9932 cat >conftest.$ac_ext <<_ACEOF
9933 /* confdefs.h. */
9934 _ACEOF
9935 cat confdefs.h >>conftest.$ac_ext
9936 cat >>conftest.$ac_ext <<_ACEOF
9937 /* end confdefs.h. */
9938 #include <math.h>
9940 main ()
9942 _copysign(0, 0);
9944 return 0;
9946 _ACEOF
9947 rm -f conftest.$ac_objext
9948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9949 (eval $ac_compile) 2>conftest.er1
9950 ac_status=$?
9951 grep -v '^ *+' conftest.er1 >conftest.err
9952 rm -f conftest.er1
9953 cat conftest.err >&5
9954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9955 (exit $ac_status); } &&
9956 { ac_try='test -z "$ac_cxx_werror_flag"
9957 || test ! -s conftest.err'
9958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9959 (eval $ac_try) 2>&5
9960 ac_status=$?
9961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9962 (exit $ac_status); }; } &&
9963 { ac_try='test -s conftest.$ac_objext'
9964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9965 (eval $ac_try) 2>&5
9966 ac_status=$?
9967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9968 (exit $ac_status); }; }; then
9969 glibcxx_cv_func__copysign_use=yes
9970 else
9971 echo "$as_me: failed program was:" >&5
9972 sed 's/^/| /' conftest.$ac_ext >&5
9974 glibcxx_cv_func__copysign_use=no
9976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9977 ac_ext=c
9978 ac_cpp='$CPP $CPPFLAGS'
9979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9987 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9988 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9990 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9992 for ac_func in _copysign
9994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9995 echo "$as_me:$LINENO: checking for $ac_func" >&5
9996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9997 if eval "test \"\${$as_ac_var+set}\" = set"; then
9998 echo $ECHO_N "(cached) $ECHO_C" >&6
9999 else
10000 if test x$gcc_no_link = xyes; then
10001 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10003 { (exit 1); exit 1; }; }
10005 cat >conftest.$ac_ext <<_ACEOF
10006 /* confdefs.h. */
10007 _ACEOF
10008 cat confdefs.h >>conftest.$ac_ext
10009 cat >>conftest.$ac_ext <<_ACEOF
10010 /* end confdefs.h. */
10011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10013 #define $ac_func innocuous_$ac_func
10015 /* System header to define __stub macros and hopefully few prototypes,
10016 which can conflict with char $ac_func (); below.
10017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10018 <limits.h> exists even on freestanding compilers. */
10020 #ifdef __STDC__
10021 # include <limits.h>
10022 #else
10023 # include <assert.h>
10024 #endif
10026 #undef $ac_func
10028 /* Override any gcc2 internal prototype to avoid an error. */
10029 #ifdef __cplusplus
10030 extern "C"
10032 #endif
10033 /* We use char because int might match the return type of a gcc2
10034 builtin and then its argument prototype would still apply. */
10035 char $ac_func ();
10036 /* The GNU C library defines this for functions which it implements
10037 to always fail with ENOSYS. Some functions are actually named
10038 something starting with __ and the normal name is an alias. */
10039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10040 choke me
10041 #else
10042 char (*f) () = $ac_func;
10043 #endif
10044 #ifdef __cplusplus
10046 #endif
10049 main ()
10051 return f != $ac_func;
10053 return 0;
10055 _ACEOF
10056 rm -f conftest.$ac_objext conftest$ac_exeext
10057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10058 (eval $ac_link) 2>conftest.er1
10059 ac_status=$?
10060 grep -v '^ *+' conftest.er1 >conftest.err
10061 rm -f conftest.er1
10062 cat conftest.err >&5
10063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10064 (exit $ac_status); } &&
10065 { ac_try='test -z "$ac_c_werror_flag"
10066 || test ! -s conftest.err'
10067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10068 (eval $ac_try) 2>&5
10069 ac_status=$?
10070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10071 (exit $ac_status); }; } &&
10072 { ac_try='test -s conftest$ac_exeext'
10073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10074 (eval $ac_try) 2>&5
10075 ac_status=$?
10076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10077 (exit $ac_status); }; }; then
10078 eval "$as_ac_var=yes"
10079 else
10080 echo "$as_me: failed program was:" >&5
10081 sed 's/^/| /' conftest.$ac_ext >&5
10083 eval "$as_ac_var=no"
10085 rm -f conftest.err conftest.$ac_objext \
10086 conftest$ac_exeext conftest.$ac_ext
10088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10090 if test `eval echo '${'$as_ac_var'}'` = yes; then
10091 cat >>confdefs.h <<_ACEOF
10092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10093 _ACEOF
10096 done
10106 echo "$as_me:$LINENO: checking for sincos declaration" >&5
10107 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
10108 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
10109 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
10110 echo $ECHO_N "(cached) $ECHO_C" >&6
10111 else
10115 ac_ext=cc
10116 ac_cpp='$CXXCPP $CPPFLAGS'
10117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10121 cat >conftest.$ac_ext <<_ACEOF
10122 /* confdefs.h. */
10123 _ACEOF
10124 cat confdefs.h >>conftest.$ac_ext
10125 cat >>conftest.$ac_ext <<_ACEOF
10126 /* end confdefs.h. */
10127 #include <math.h>
10129 main ()
10131 sincos(0, 0, 0);
10133 return 0;
10135 _ACEOF
10136 rm -f conftest.$ac_objext
10137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10138 (eval $ac_compile) 2>conftest.er1
10139 ac_status=$?
10140 grep -v '^ *+' conftest.er1 >conftest.err
10141 rm -f conftest.er1
10142 cat conftest.err >&5
10143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10144 (exit $ac_status); } &&
10145 { ac_try='test -z "$ac_cxx_werror_flag"
10146 || test ! -s conftest.err'
10147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10148 (eval $ac_try) 2>&5
10149 ac_status=$?
10150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10151 (exit $ac_status); }; } &&
10152 { ac_try='test -s conftest.$ac_objext'
10153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10154 (eval $ac_try) 2>&5
10155 ac_status=$?
10156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10157 (exit $ac_status); }; }; then
10158 glibcxx_cv_func_sincos_use=yes
10159 else
10160 echo "$as_me: failed program was:" >&5
10161 sed 's/^/| /' conftest.$ac_ext >&5
10163 glibcxx_cv_func_sincos_use=no
10165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10166 ac_ext=c
10167 ac_cpp='$CPP $CPPFLAGS'
10168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10176 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
10177 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
10179 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
10181 for ac_func in sincos
10183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10184 echo "$as_me:$LINENO: checking for $ac_func" >&5
10185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10186 if eval "test \"\${$as_ac_var+set}\" = set"; then
10187 echo $ECHO_N "(cached) $ECHO_C" >&6
10188 else
10189 if test x$gcc_no_link = xyes; then
10190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10192 { (exit 1); exit 1; }; }
10194 cat >conftest.$ac_ext <<_ACEOF
10195 /* confdefs.h. */
10196 _ACEOF
10197 cat confdefs.h >>conftest.$ac_ext
10198 cat >>conftest.$ac_ext <<_ACEOF
10199 /* end confdefs.h. */
10200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10202 #define $ac_func innocuous_$ac_func
10204 /* System header to define __stub macros and hopefully few prototypes,
10205 which can conflict with char $ac_func (); below.
10206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10207 <limits.h> exists even on freestanding compilers. */
10209 #ifdef __STDC__
10210 # include <limits.h>
10211 #else
10212 # include <assert.h>
10213 #endif
10215 #undef $ac_func
10217 /* Override any gcc2 internal prototype to avoid an error. */
10218 #ifdef __cplusplus
10219 extern "C"
10221 #endif
10222 /* We use char because int might match the return type of a gcc2
10223 builtin and then its argument prototype would still apply. */
10224 char $ac_func ();
10225 /* The GNU C library defines this for functions which it implements
10226 to always fail with ENOSYS. Some functions are actually named
10227 something starting with __ and the normal name is an alias. */
10228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10229 choke me
10230 #else
10231 char (*f) () = $ac_func;
10232 #endif
10233 #ifdef __cplusplus
10235 #endif
10238 main ()
10240 return f != $ac_func;
10242 return 0;
10244 _ACEOF
10245 rm -f conftest.$ac_objext conftest$ac_exeext
10246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10247 (eval $ac_link) 2>conftest.er1
10248 ac_status=$?
10249 grep -v '^ *+' conftest.er1 >conftest.err
10250 rm -f conftest.er1
10251 cat conftest.err >&5
10252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10253 (exit $ac_status); } &&
10254 { ac_try='test -z "$ac_c_werror_flag"
10255 || test ! -s conftest.err'
10256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10257 (eval $ac_try) 2>&5
10258 ac_status=$?
10259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10260 (exit $ac_status); }; } &&
10261 { ac_try='test -s conftest$ac_exeext'
10262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10263 (eval $ac_try) 2>&5
10264 ac_status=$?
10265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10266 (exit $ac_status); }; }; then
10267 eval "$as_ac_var=yes"
10268 else
10269 echo "$as_me: failed program was:" >&5
10270 sed 's/^/| /' conftest.$ac_ext >&5
10272 eval "$as_ac_var=no"
10274 rm -f conftest.err conftest.$ac_objext \
10275 conftest$ac_exeext conftest.$ac_ext
10277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10279 if test `eval echo '${'$as_ac_var'}'` = yes; then
10280 cat >>confdefs.h <<_ACEOF
10281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10282 _ACEOF
10285 done
10287 else
10289 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10290 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10291 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10292 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10293 echo $ECHO_N "(cached) $ECHO_C" >&6
10294 else
10298 ac_ext=cc
10299 ac_cpp='$CXXCPP $CPPFLAGS'
10300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10304 cat >conftest.$ac_ext <<_ACEOF
10305 /* confdefs.h. */
10306 _ACEOF
10307 cat confdefs.h >>conftest.$ac_ext
10308 cat >>conftest.$ac_ext <<_ACEOF
10309 /* end confdefs.h. */
10310 #include <math.h>
10312 main ()
10314 _sincos(0, 0, 0);
10316 return 0;
10318 _ACEOF
10319 rm -f conftest.$ac_objext
10320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10321 (eval $ac_compile) 2>conftest.er1
10322 ac_status=$?
10323 grep -v '^ *+' conftest.er1 >conftest.err
10324 rm -f conftest.er1
10325 cat conftest.err >&5
10326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10327 (exit $ac_status); } &&
10328 { ac_try='test -z "$ac_cxx_werror_flag"
10329 || test ! -s conftest.err'
10330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10331 (eval $ac_try) 2>&5
10332 ac_status=$?
10333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10334 (exit $ac_status); }; } &&
10335 { ac_try='test -s conftest.$ac_objext'
10336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10337 (eval $ac_try) 2>&5
10338 ac_status=$?
10339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10340 (exit $ac_status); }; }; then
10341 glibcxx_cv_func__sincos_use=yes
10342 else
10343 echo "$as_me: failed program was:" >&5
10344 sed 's/^/| /' conftest.$ac_ext >&5
10346 glibcxx_cv_func__sincos_use=no
10348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10349 ac_ext=c
10350 ac_cpp='$CPP $CPPFLAGS'
10351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10359 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10360 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10362 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10364 for ac_func in _sincos
10366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10367 echo "$as_me:$LINENO: checking for $ac_func" >&5
10368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10369 if eval "test \"\${$as_ac_var+set}\" = set"; then
10370 echo $ECHO_N "(cached) $ECHO_C" >&6
10371 else
10372 if test x$gcc_no_link = xyes; then
10373 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10375 { (exit 1); exit 1; }; }
10377 cat >conftest.$ac_ext <<_ACEOF
10378 /* confdefs.h. */
10379 _ACEOF
10380 cat confdefs.h >>conftest.$ac_ext
10381 cat >>conftest.$ac_ext <<_ACEOF
10382 /* end confdefs.h. */
10383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10385 #define $ac_func innocuous_$ac_func
10387 /* System header to define __stub macros and hopefully few prototypes,
10388 which can conflict with char $ac_func (); below.
10389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10390 <limits.h> exists even on freestanding compilers. */
10392 #ifdef __STDC__
10393 # include <limits.h>
10394 #else
10395 # include <assert.h>
10396 #endif
10398 #undef $ac_func
10400 /* Override any gcc2 internal prototype to avoid an error. */
10401 #ifdef __cplusplus
10402 extern "C"
10404 #endif
10405 /* We use char because int might match the return type of a gcc2
10406 builtin and then its argument prototype would still apply. */
10407 char $ac_func ();
10408 /* The GNU C library defines this for functions which it implements
10409 to always fail with ENOSYS. Some functions are actually named
10410 something starting with __ and the normal name is an alias. */
10411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10412 choke me
10413 #else
10414 char (*f) () = $ac_func;
10415 #endif
10416 #ifdef __cplusplus
10418 #endif
10421 main ()
10423 return f != $ac_func;
10425 return 0;
10427 _ACEOF
10428 rm -f conftest.$ac_objext conftest$ac_exeext
10429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10430 (eval $ac_link) 2>conftest.er1
10431 ac_status=$?
10432 grep -v '^ *+' conftest.er1 >conftest.err
10433 rm -f conftest.er1
10434 cat conftest.err >&5
10435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436 (exit $ac_status); } &&
10437 { ac_try='test -z "$ac_c_werror_flag"
10438 || test ! -s conftest.err'
10439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10440 (eval $ac_try) 2>&5
10441 ac_status=$?
10442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10443 (exit $ac_status); }; } &&
10444 { ac_try='test -s conftest$ac_exeext'
10445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10446 (eval $ac_try) 2>&5
10447 ac_status=$?
10448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10449 (exit $ac_status); }; }; then
10450 eval "$as_ac_var=yes"
10451 else
10452 echo "$as_me: failed program was:" >&5
10453 sed 's/^/| /' conftest.$ac_ext >&5
10455 eval "$as_ac_var=no"
10457 rm -f conftest.err conftest.$ac_objext \
10458 conftest$ac_exeext conftest.$ac_ext
10460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10462 if test `eval echo '${'$as_ac_var'}'` = yes; then
10463 cat >>confdefs.h <<_ACEOF
10464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10465 _ACEOF
10468 done
10478 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10479 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10480 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10481 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10482 echo $ECHO_N "(cached) $ECHO_C" >&6
10483 else
10487 ac_ext=cc
10488 ac_cpp='$CXXCPP $CPPFLAGS'
10489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10493 cat >conftest.$ac_ext <<_ACEOF
10494 /* confdefs.h. */
10495 _ACEOF
10496 cat confdefs.h >>conftest.$ac_ext
10497 cat >>conftest.$ac_ext <<_ACEOF
10498 /* end confdefs.h. */
10499 #include <math.h>
10500 #ifdef HAVE_IEEEFP_H
10501 #include <ieeefp.h>
10502 #endif
10505 main ()
10507 fpclass(0);
10509 return 0;
10511 _ACEOF
10512 rm -f conftest.$ac_objext
10513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10514 (eval $ac_compile) 2>conftest.er1
10515 ac_status=$?
10516 grep -v '^ *+' conftest.er1 >conftest.err
10517 rm -f conftest.er1
10518 cat conftest.err >&5
10519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10520 (exit $ac_status); } &&
10521 { ac_try='test -z "$ac_cxx_werror_flag"
10522 || test ! -s conftest.err'
10523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10524 (eval $ac_try) 2>&5
10525 ac_status=$?
10526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10527 (exit $ac_status); }; } &&
10528 { ac_try='test -s conftest.$ac_objext'
10529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10530 (eval $ac_try) 2>&5
10531 ac_status=$?
10532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10533 (exit $ac_status); }; }; then
10534 glibcxx_cv_func_fpclass_use=yes
10535 else
10536 echo "$as_me: failed program was:" >&5
10537 sed 's/^/| /' conftest.$ac_ext >&5
10539 glibcxx_cv_func_fpclass_use=no
10541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10542 ac_ext=c
10543 ac_cpp='$CPP $CPPFLAGS'
10544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10552 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10553 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10555 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10557 for ac_func in fpclass
10559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10560 echo "$as_me:$LINENO: checking for $ac_func" >&5
10561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10562 if eval "test \"\${$as_ac_var+set}\" = set"; then
10563 echo $ECHO_N "(cached) $ECHO_C" >&6
10564 else
10565 if test x$gcc_no_link = xyes; then
10566 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10568 { (exit 1); exit 1; }; }
10570 cat >conftest.$ac_ext <<_ACEOF
10571 /* confdefs.h. */
10572 _ACEOF
10573 cat confdefs.h >>conftest.$ac_ext
10574 cat >>conftest.$ac_ext <<_ACEOF
10575 /* end confdefs.h. */
10576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10578 #define $ac_func innocuous_$ac_func
10580 /* System header to define __stub macros and hopefully few prototypes,
10581 which can conflict with char $ac_func (); below.
10582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10583 <limits.h> exists even on freestanding compilers. */
10585 #ifdef __STDC__
10586 # include <limits.h>
10587 #else
10588 # include <assert.h>
10589 #endif
10591 #undef $ac_func
10593 /* Override any gcc2 internal prototype to avoid an error. */
10594 #ifdef __cplusplus
10595 extern "C"
10597 #endif
10598 /* We use char because int might match the return type of a gcc2
10599 builtin and then its argument prototype would still apply. */
10600 char $ac_func ();
10601 /* The GNU C library defines this for functions which it implements
10602 to always fail with ENOSYS. Some functions are actually named
10603 something starting with __ and the normal name is an alias. */
10604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10605 choke me
10606 #else
10607 char (*f) () = $ac_func;
10608 #endif
10609 #ifdef __cplusplus
10611 #endif
10614 main ()
10616 return f != $ac_func;
10618 return 0;
10620 _ACEOF
10621 rm -f conftest.$ac_objext conftest$ac_exeext
10622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10623 (eval $ac_link) 2>conftest.er1
10624 ac_status=$?
10625 grep -v '^ *+' conftest.er1 >conftest.err
10626 rm -f conftest.er1
10627 cat conftest.err >&5
10628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10629 (exit $ac_status); } &&
10630 { ac_try='test -z "$ac_c_werror_flag"
10631 || test ! -s conftest.err'
10632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10633 (eval $ac_try) 2>&5
10634 ac_status=$?
10635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10636 (exit $ac_status); }; } &&
10637 { ac_try='test -s conftest$ac_exeext'
10638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10639 (eval $ac_try) 2>&5
10640 ac_status=$?
10641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10642 (exit $ac_status); }; }; then
10643 eval "$as_ac_var=yes"
10644 else
10645 echo "$as_me: failed program was:" >&5
10646 sed 's/^/| /' conftest.$ac_ext >&5
10648 eval "$as_ac_var=no"
10650 rm -f conftest.err conftest.$ac_objext \
10651 conftest$ac_exeext conftest.$ac_ext
10653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10654 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10655 if test `eval echo '${'$as_ac_var'}'` = yes; then
10656 cat >>confdefs.h <<_ACEOF
10657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10658 _ACEOF
10661 done
10663 else
10665 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10666 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10667 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10668 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10669 echo $ECHO_N "(cached) $ECHO_C" >&6
10670 else
10674 ac_ext=cc
10675 ac_cpp='$CXXCPP $CPPFLAGS'
10676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10680 cat >conftest.$ac_ext <<_ACEOF
10681 /* confdefs.h. */
10682 _ACEOF
10683 cat confdefs.h >>conftest.$ac_ext
10684 cat >>conftest.$ac_ext <<_ACEOF
10685 /* end confdefs.h. */
10686 #include <math.h>
10687 #ifdef HAVE_IEEEFP_H
10688 #include <ieeefp.h>
10689 #endif
10692 main ()
10694 _fpclass(0);
10696 return 0;
10698 _ACEOF
10699 rm -f conftest.$ac_objext
10700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10701 (eval $ac_compile) 2>conftest.er1
10702 ac_status=$?
10703 grep -v '^ *+' conftest.er1 >conftest.err
10704 rm -f conftest.er1
10705 cat conftest.err >&5
10706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10707 (exit $ac_status); } &&
10708 { ac_try='test -z "$ac_cxx_werror_flag"
10709 || test ! -s conftest.err'
10710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10711 (eval $ac_try) 2>&5
10712 ac_status=$?
10713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10714 (exit $ac_status); }; } &&
10715 { ac_try='test -s conftest.$ac_objext'
10716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10717 (eval $ac_try) 2>&5
10718 ac_status=$?
10719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10720 (exit $ac_status); }; }; then
10721 glibcxx_cv_func__fpclass_use=yes
10722 else
10723 echo "$as_me: failed program was:" >&5
10724 sed 's/^/| /' conftest.$ac_ext >&5
10726 glibcxx_cv_func__fpclass_use=no
10728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10729 ac_ext=c
10730 ac_cpp='$CPP $CPPFLAGS'
10731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10739 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10740 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10742 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10744 for ac_func in _fpclass
10746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10747 echo "$as_me:$LINENO: checking for $ac_func" >&5
10748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10749 if eval "test \"\${$as_ac_var+set}\" = set"; then
10750 echo $ECHO_N "(cached) $ECHO_C" >&6
10751 else
10752 if test x$gcc_no_link = xyes; then
10753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10755 { (exit 1); exit 1; }; }
10757 cat >conftest.$ac_ext <<_ACEOF
10758 /* confdefs.h. */
10759 _ACEOF
10760 cat confdefs.h >>conftest.$ac_ext
10761 cat >>conftest.$ac_ext <<_ACEOF
10762 /* end confdefs.h. */
10763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10765 #define $ac_func innocuous_$ac_func
10767 /* System header to define __stub macros and hopefully few prototypes,
10768 which can conflict with char $ac_func (); below.
10769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10770 <limits.h> exists even on freestanding compilers. */
10772 #ifdef __STDC__
10773 # include <limits.h>
10774 #else
10775 # include <assert.h>
10776 #endif
10778 #undef $ac_func
10780 /* Override any gcc2 internal prototype to avoid an error. */
10781 #ifdef __cplusplus
10782 extern "C"
10784 #endif
10785 /* We use char because int might match the return type of a gcc2
10786 builtin and then its argument prototype would still apply. */
10787 char $ac_func ();
10788 /* The GNU C library defines this for functions which it implements
10789 to always fail with ENOSYS. Some functions are actually named
10790 something starting with __ and the normal name is an alias. */
10791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10792 choke me
10793 #else
10794 char (*f) () = $ac_func;
10795 #endif
10796 #ifdef __cplusplus
10798 #endif
10801 main ()
10803 return f != $ac_func;
10805 return 0;
10807 _ACEOF
10808 rm -f conftest.$ac_objext conftest$ac_exeext
10809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10810 (eval $ac_link) 2>conftest.er1
10811 ac_status=$?
10812 grep -v '^ *+' conftest.er1 >conftest.err
10813 rm -f conftest.er1
10814 cat conftest.err >&5
10815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10816 (exit $ac_status); } &&
10817 { ac_try='test -z "$ac_c_werror_flag"
10818 || test ! -s conftest.err'
10819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10820 (eval $ac_try) 2>&5
10821 ac_status=$?
10822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10823 (exit $ac_status); }; } &&
10824 { ac_try='test -s conftest$ac_exeext'
10825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10826 (eval $ac_try) 2>&5
10827 ac_status=$?
10828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10829 (exit $ac_status); }; }; then
10830 eval "$as_ac_var=yes"
10831 else
10832 echo "$as_me: failed program was:" >&5
10833 sed 's/^/| /' conftest.$ac_ext >&5
10835 eval "$as_ac_var=no"
10837 rm -f conftest.err conftest.$ac_objext \
10838 conftest$ac_exeext conftest.$ac_ext
10840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10842 if test `eval echo '${'$as_ac_var'}'` = yes; then
10843 cat >>confdefs.h <<_ACEOF
10844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10845 _ACEOF
10848 done
10858 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10859 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10860 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10861 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10862 echo $ECHO_N "(cached) $ECHO_C" >&6
10863 else
10867 ac_ext=cc
10868 ac_cpp='$CXXCPP $CPPFLAGS'
10869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10873 cat >conftest.$ac_ext <<_ACEOF
10874 /* confdefs.h. */
10875 _ACEOF
10876 cat confdefs.h >>conftest.$ac_ext
10877 cat >>conftest.$ac_ext <<_ACEOF
10878 /* end confdefs.h. */
10879 #include <math.h>
10880 #ifdef HAVE_IEEEFP_H
10881 #include <ieeefp.h>
10882 #endif
10885 main ()
10887 qfpclass(0);
10889 return 0;
10891 _ACEOF
10892 rm -f conftest.$ac_objext
10893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10894 (eval $ac_compile) 2>conftest.er1
10895 ac_status=$?
10896 grep -v '^ *+' conftest.er1 >conftest.err
10897 rm -f conftest.er1
10898 cat conftest.err >&5
10899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10900 (exit $ac_status); } &&
10901 { ac_try='test -z "$ac_cxx_werror_flag"
10902 || test ! -s conftest.err'
10903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10904 (eval $ac_try) 2>&5
10905 ac_status=$?
10906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10907 (exit $ac_status); }; } &&
10908 { ac_try='test -s conftest.$ac_objext'
10909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10910 (eval $ac_try) 2>&5
10911 ac_status=$?
10912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10913 (exit $ac_status); }; }; then
10914 glibcxx_cv_func_qfpclass_use=yes
10915 else
10916 echo "$as_me: failed program was:" >&5
10917 sed 's/^/| /' conftest.$ac_ext >&5
10919 glibcxx_cv_func_qfpclass_use=no
10921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10922 ac_ext=c
10923 ac_cpp='$CPP $CPPFLAGS'
10924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10932 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10933 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10935 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10937 for ac_func in qfpclass
10939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10940 echo "$as_me:$LINENO: checking for $ac_func" >&5
10941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10942 if eval "test \"\${$as_ac_var+set}\" = set"; then
10943 echo $ECHO_N "(cached) $ECHO_C" >&6
10944 else
10945 if test x$gcc_no_link = xyes; then
10946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10948 { (exit 1); exit 1; }; }
10950 cat >conftest.$ac_ext <<_ACEOF
10951 /* confdefs.h. */
10952 _ACEOF
10953 cat confdefs.h >>conftest.$ac_ext
10954 cat >>conftest.$ac_ext <<_ACEOF
10955 /* end confdefs.h. */
10956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10958 #define $ac_func innocuous_$ac_func
10960 /* System header to define __stub macros and hopefully few prototypes,
10961 which can conflict with char $ac_func (); below.
10962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10963 <limits.h> exists even on freestanding compilers. */
10965 #ifdef __STDC__
10966 # include <limits.h>
10967 #else
10968 # include <assert.h>
10969 #endif
10971 #undef $ac_func
10973 /* Override any gcc2 internal prototype to avoid an error. */
10974 #ifdef __cplusplus
10975 extern "C"
10977 #endif
10978 /* We use char because int might match the return type of a gcc2
10979 builtin and then its argument prototype would still apply. */
10980 char $ac_func ();
10981 /* The GNU C library defines this for functions which it implements
10982 to always fail with ENOSYS. Some functions are actually named
10983 something starting with __ and the normal name is an alias. */
10984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10985 choke me
10986 #else
10987 char (*f) () = $ac_func;
10988 #endif
10989 #ifdef __cplusplus
10991 #endif
10994 main ()
10996 return f != $ac_func;
10998 return 0;
11000 _ACEOF
11001 rm -f conftest.$ac_objext conftest$ac_exeext
11002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11003 (eval $ac_link) 2>conftest.er1
11004 ac_status=$?
11005 grep -v '^ *+' conftest.er1 >conftest.err
11006 rm -f conftest.er1
11007 cat conftest.err >&5
11008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11009 (exit $ac_status); } &&
11010 { ac_try='test -z "$ac_c_werror_flag"
11011 || test ! -s conftest.err'
11012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11013 (eval $ac_try) 2>&5
11014 ac_status=$?
11015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11016 (exit $ac_status); }; } &&
11017 { ac_try='test -s conftest$ac_exeext'
11018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11019 (eval $ac_try) 2>&5
11020 ac_status=$?
11021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11022 (exit $ac_status); }; }; then
11023 eval "$as_ac_var=yes"
11024 else
11025 echo "$as_me: failed program was:" >&5
11026 sed 's/^/| /' conftest.$ac_ext >&5
11028 eval "$as_ac_var=no"
11030 rm -f conftest.err conftest.$ac_objext \
11031 conftest$ac_exeext conftest.$ac_ext
11033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11035 if test `eval echo '${'$as_ac_var'}'` = yes; then
11036 cat >>confdefs.h <<_ACEOF
11037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11038 _ACEOF
11041 done
11043 else
11045 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
11046 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
11047 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
11048 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
11049 echo $ECHO_N "(cached) $ECHO_C" >&6
11050 else
11054 ac_ext=cc
11055 ac_cpp='$CXXCPP $CPPFLAGS'
11056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11060 cat >conftest.$ac_ext <<_ACEOF
11061 /* confdefs.h. */
11062 _ACEOF
11063 cat confdefs.h >>conftest.$ac_ext
11064 cat >>conftest.$ac_ext <<_ACEOF
11065 /* end confdefs.h. */
11066 #include <math.h>
11067 #ifdef HAVE_IEEEFP_H
11068 #include <ieeefp.h>
11069 #endif
11072 main ()
11074 _qfpclass(0);
11076 return 0;
11078 _ACEOF
11079 rm -f conftest.$ac_objext
11080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11081 (eval $ac_compile) 2>conftest.er1
11082 ac_status=$?
11083 grep -v '^ *+' conftest.er1 >conftest.err
11084 rm -f conftest.er1
11085 cat conftest.err >&5
11086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11087 (exit $ac_status); } &&
11088 { ac_try='test -z "$ac_cxx_werror_flag"
11089 || test ! -s conftest.err'
11090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11091 (eval $ac_try) 2>&5
11092 ac_status=$?
11093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11094 (exit $ac_status); }; } &&
11095 { ac_try='test -s conftest.$ac_objext'
11096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11097 (eval $ac_try) 2>&5
11098 ac_status=$?
11099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11100 (exit $ac_status); }; }; then
11101 glibcxx_cv_func__qfpclass_use=yes
11102 else
11103 echo "$as_me: failed program was:" >&5
11104 sed 's/^/| /' conftest.$ac_ext >&5
11106 glibcxx_cv_func__qfpclass_use=no
11108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11109 ac_ext=c
11110 ac_cpp='$CPP $CPPFLAGS'
11111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11119 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
11120 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
11122 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
11124 for ac_func in _qfpclass
11126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11127 echo "$as_me:$LINENO: checking for $ac_func" >&5
11128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11129 if eval "test \"\${$as_ac_var+set}\" = set"; then
11130 echo $ECHO_N "(cached) $ECHO_C" >&6
11131 else
11132 if test x$gcc_no_link = xyes; then
11133 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11135 { (exit 1); exit 1; }; }
11137 cat >conftest.$ac_ext <<_ACEOF
11138 /* confdefs.h. */
11139 _ACEOF
11140 cat confdefs.h >>conftest.$ac_ext
11141 cat >>conftest.$ac_ext <<_ACEOF
11142 /* end confdefs.h. */
11143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11145 #define $ac_func innocuous_$ac_func
11147 /* System header to define __stub macros and hopefully few prototypes,
11148 which can conflict with char $ac_func (); below.
11149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11150 <limits.h> exists even on freestanding compilers. */
11152 #ifdef __STDC__
11153 # include <limits.h>
11154 #else
11155 # include <assert.h>
11156 #endif
11158 #undef $ac_func
11160 /* Override any gcc2 internal prototype to avoid an error. */
11161 #ifdef __cplusplus
11162 extern "C"
11164 #endif
11165 /* We use char because int might match the return type of a gcc2
11166 builtin and then its argument prototype would still apply. */
11167 char $ac_func ();
11168 /* The GNU C library defines this for functions which it implements
11169 to always fail with ENOSYS. Some functions are actually named
11170 something starting with __ and the normal name is an alias. */
11171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11172 choke me
11173 #else
11174 char (*f) () = $ac_func;
11175 #endif
11176 #ifdef __cplusplus
11178 #endif
11181 main ()
11183 return f != $ac_func;
11185 return 0;
11187 _ACEOF
11188 rm -f conftest.$ac_objext conftest$ac_exeext
11189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11190 (eval $ac_link) 2>conftest.er1
11191 ac_status=$?
11192 grep -v '^ *+' conftest.er1 >conftest.err
11193 rm -f conftest.er1
11194 cat conftest.err >&5
11195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11196 (exit $ac_status); } &&
11197 { ac_try='test -z "$ac_c_werror_flag"
11198 || test ! -s conftest.err'
11199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11200 (eval $ac_try) 2>&5
11201 ac_status=$?
11202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11203 (exit $ac_status); }; } &&
11204 { ac_try='test -s conftest$ac_exeext'
11205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11206 (eval $ac_try) 2>&5
11207 ac_status=$?
11208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11209 (exit $ac_status); }; }; then
11210 eval "$as_ac_var=yes"
11211 else
11212 echo "$as_me: failed program was:" >&5
11213 sed 's/^/| /' conftest.$ac_ext >&5
11215 eval "$as_ac_var=no"
11217 rm -f conftest.err conftest.$ac_objext \
11218 conftest$ac_exeext conftest.$ac_ext
11220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11222 if test `eval echo '${'$as_ac_var'}'` = yes; then
11223 cat >>confdefs.h <<_ACEOF
11224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11225 _ACEOF
11228 done
11238 echo "$as_me:$LINENO: checking for hypot declaration" >&5
11239 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
11240 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
11241 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
11242 echo $ECHO_N "(cached) $ECHO_C" >&6
11243 else
11247 ac_ext=cc
11248 ac_cpp='$CXXCPP $CPPFLAGS'
11249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11253 cat >conftest.$ac_ext <<_ACEOF
11254 /* confdefs.h. */
11255 _ACEOF
11256 cat confdefs.h >>conftest.$ac_ext
11257 cat >>conftest.$ac_ext <<_ACEOF
11258 /* end confdefs.h. */
11259 #include <math.h>
11261 main ()
11263 hypot(0, 0);
11265 return 0;
11267 _ACEOF
11268 rm -f conftest.$ac_objext
11269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11270 (eval $ac_compile) 2>conftest.er1
11271 ac_status=$?
11272 grep -v '^ *+' conftest.er1 >conftest.err
11273 rm -f conftest.er1
11274 cat conftest.err >&5
11275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11276 (exit $ac_status); } &&
11277 { ac_try='test -z "$ac_cxx_werror_flag"
11278 || test ! -s conftest.err'
11279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11280 (eval $ac_try) 2>&5
11281 ac_status=$?
11282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11283 (exit $ac_status); }; } &&
11284 { ac_try='test -s conftest.$ac_objext'
11285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11286 (eval $ac_try) 2>&5
11287 ac_status=$?
11288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11289 (exit $ac_status); }; }; then
11290 glibcxx_cv_func_hypot_use=yes
11291 else
11292 echo "$as_me: failed program was:" >&5
11293 sed 's/^/| /' conftest.$ac_ext >&5
11295 glibcxx_cv_func_hypot_use=no
11297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11298 ac_ext=c
11299 ac_cpp='$CPP $CPPFLAGS'
11300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11308 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11309 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11311 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11313 for ac_func in hypot
11315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11316 echo "$as_me:$LINENO: checking for $ac_func" >&5
11317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11318 if eval "test \"\${$as_ac_var+set}\" = set"; then
11319 echo $ECHO_N "(cached) $ECHO_C" >&6
11320 else
11321 if test x$gcc_no_link = xyes; then
11322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11324 { (exit 1); exit 1; }; }
11326 cat >conftest.$ac_ext <<_ACEOF
11327 /* confdefs.h. */
11328 _ACEOF
11329 cat confdefs.h >>conftest.$ac_ext
11330 cat >>conftest.$ac_ext <<_ACEOF
11331 /* end confdefs.h. */
11332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11334 #define $ac_func innocuous_$ac_func
11336 /* System header to define __stub macros and hopefully few prototypes,
11337 which can conflict with char $ac_func (); below.
11338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11339 <limits.h> exists even on freestanding compilers. */
11341 #ifdef __STDC__
11342 # include <limits.h>
11343 #else
11344 # include <assert.h>
11345 #endif
11347 #undef $ac_func
11349 /* Override any gcc2 internal prototype to avoid an error. */
11350 #ifdef __cplusplus
11351 extern "C"
11353 #endif
11354 /* We use char because int might match the return type of a gcc2
11355 builtin and then its argument prototype would still apply. */
11356 char $ac_func ();
11357 /* The GNU C library defines this for functions which it implements
11358 to always fail with ENOSYS. Some functions are actually named
11359 something starting with __ and the normal name is an alias. */
11360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11361 choke me
11362 #else
11363 char (*f) () = $ac_func;
11364 #endif
11365 #ifdef __cplusplus
11367 #endif
11370 main ()
11372 return f != $ac_func;
11374 return 0;
11376 _ACEOF
11377 rm -f conftest.$ac_objext conftest$ac_exeext
11378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11379 (eval $ac_link) 2>conftest.er1
11380 ac_status=$?
11381 grep -v '^ *+' conftest.er1 >conftest.err
11382 rm -f conftest.er1
11383 cat conftest.err >&5
11384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11385 (exit $ac_status); } &&
11386 { ac_try='test -z "$ac_c_werror_flag"
11387 || test ! -s conftest.err'
11388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11389 (eval $ac_try) 2>&5
11390 ac_status=$?
11391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11392 (exit $ac_status); }; } &&
11393 { ac_try='test -s conftest$ac_exeext'
11394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11395 (eval $ac_try) 2>&5
11396 ac_status=$?
11397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11398 (exit $ac_status); }; }; then
11399 eval "$as_ac_var=yes"
11400 else
11401 echo "$as_me: failed program was:" >&5
11402 sed 's/^/| /' conftest.$ac_ext >&5
11404 eval "$as_ac_var=no"
11406 rm -f conftest.err conftest.$ac_objext \
11407 conftest$ac_exeext conftest.$ac_ext
11409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11411 if test `eval echo '${'$as_ac_var'}'` = yes; then
11412 cat >>confdefs.h <<_ACEOF
11413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11414 _ACEOF
11417 done
11419 else
11421 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11422 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11423 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11424 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11425 echo $ECHO_N "(cached) $ECHO_C" >&6
11426 else
11430 ac_ext=cc
11431 ac_cpp='$CXXCPP $CPPFLAGS'
11432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11436 cat >conftest.$ac_ext <<_ACEOF
11437 /* confdefs.h. */
11438 _ACEOF
11439 cat confdefs.h >>conftest.$ac_ext
11440 cat >>conftest.$ac_ext <<_ACEOF
11441 /* end confdefs.h. */
11442 #include <math.h>
11444 main ()
11446 _hypot(0, 0);
11448 return 0;
11450 _ACEOF
11451 rm -f conftest.$ac_objext
11452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11453 (eval $ac_compile) 2>conftest.er1
11454 ac_status=$?
11455 grep -v '^ *+' conftest.er1 >conftest.err
11456 rm -f conftest.er1
11457 cat conftest.err >&5
11458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11459 (exit $ac_status); } &&
11460 { ac_try='test -z "$ac_cxx_werror_flag"
11461 || test ! -s conftest.err'
11462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11463 (eval $ac_try) 2>&5
11464 ac_status=$?
11465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11466 (exit $ac_status); }; } &&
11467 { ac_try='test -s conftest.$ac_objext'
11468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11469 (eval $ac_try) 2>&5
11470 ac_status=$?
11471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11472 (exit $ac_status); }; }; then
11473 glibcxx_cv_func__hypot_use=yes
11474 else
11475 echo "$as_me: failed program was:" >&5
11476 sed 's/^/| /' conftest.$ac_ext >&5
11478 glibcxx_cv_func__hypot_use=no
11480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11481 ac_ext=c
11482 ac_cpp='$CPP $CPPFLAGS'
11483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11491 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11492 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11494 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11496 for ac_func in _hypot
11498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11499 echo "$as_me:$LINENO: checking for $ac_func" >&5
11500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11501 if eval "test \"\${$as_ac_var+set}\" = set"; then
11502 echo $ECHO_N "(cached) $ECHO_C" >&6
11503 else
11504 if test x$gcc_no_link = xyes; then
11505 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11507 { (exit 1); exit 1; }; }
11509 cat >conftest.$ac_ext <<_ACEOF
11510 /* confdefs.h. */
11511 _ACEOF
11512 cat confdefs.h >>conftest.$ac_ext
11513 cat >>conftest.$ac_ext <<_ACEOF
11514 /* end confdefs.h. */
11515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11517 #define $ac_func innocuous_$ac_func
11519 /* System header to define __stub macros and hopefully few prototypes,
11520 which can conflict with char $ac_func (); below.
11521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11522 <limits.h> exists even on freestanding compilers. */
11524 #ifdef __STDC__
11525 # include <limits.h>
11526 #else
11527 # include <assert.h>
11528 #endif
11530 #undef $ac_func
11532 /* Override any gcc2 internal prototype to avoid an error. */
11533 #ifdef __cplusplus
11534 extern "C"
11536 #endif
11537 /* We use char because int might match the return type of a gcc2
11538 builtin and then its argument prototype would still apply. */
11539 char $ac_func ();
11540 /* The GNU C library defines this for functions which it implements
11541 to always fail with ENOSYS. Some functions are actually named
11542 something starting with __ and the normal name is an alias. */
11543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11544 choke me
11545 #else
11546 char (*f) () = $ac_func;
11547 #endif
11548 #ifdef __cplusplus
11550 #endif
11553 main ()
11555 return f != $ac_func;
11557 return 0;
11559 _ACEOF
11560 rm -f conftest.$ac_objext conftest$ac_exeext
11561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11562 (eval $ac_link) 2>conftest.er1
11563 ac_status=$?
11564 grep -v '^ *+' conftest.er1 >conftest.err
11565 rm -f conftest.er1
11566 cat conftest.err >&5
11567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11568 (exit $ac_status); } &&
11569 { ac_try='test -z "$ac_c_werror_flag"
11570 || test ! -s conftest.err'
11571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11572 (eval $ac_try) 2>&5
11573 ac_status=$?
11574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11575 (exit $ac_status); }; } &&
11576 { ac_try='test -s conftest$ac_exeext'
11577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11578 (eval $ac_try) 2>&5
11579 ac_status=$?
11580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11581 (exit $ac_status); }; }; then
11582 eval "$as_ac_var=yes"
11583 else
11584 echo "$as_me: failed program was:" >&5
11585 sed 's/^/| /' conftest.$ac_ext >&5
11587 eval "$as_ac_var=no"
11589 rm -f conftest.err conftest.$ac_objext \
11590 conftest$ac_exeext conftest.$ac_ext
11592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11594 if test `eval echo '${'$as_ac_var'}'` = yes; then
11595 cat >>confdefs.h <<_ACEOF
11596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11597 _ACEOF
11600 done
11610 echo "$as_me:$LINENO: checking for float trig functions" >&5
11611 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11612 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11613 echo $ECHO_N "(cached) $ECHO_C" >&6
11614 else
11618 ac_ext=cc
11619 ac_cpp='$CXXCPP $CPPFLAGS'
11620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11624 cat >conftest.$ac_ext <<_ACEOF
11625 /* confdefs.h. */
11626 _ACEOF
11627 cat confdefs.h >>conftest.$ac_ext
11628 cat >>conftest.$ac_ext <<_ACEOF
11629 /* end confdefs.h. */
11630 #include <math.h>
11632 main ()
11634 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
11636 return 0;
11638 _ACEOF
11639 rm -f conftest.$ac_objext
11640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11641 (eval $ac_compile) 2>conftest.er1
11642 ac_status=$?
11643 grep -v '^ *+' conftest.er1 >conftest.err
11644 rm -f conftest.er1
11645 cat conftest.err >&5
11646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11647 (exit $ac_status); } &&
11648 { ac_try='test -z "$ac_cxx_werror_flag"
11649 || test ! -s conftest.err'
11650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11651 (eval $ac_try) 2>&5
11652 ac_status=$?
11653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11654 (exit $ac_status); }; } &&
11655 { ac_try='test -s conftest.$ac_objext'
11656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11657 (eval $ac_try) 2>&5
11658 ac_status=$?
11659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11660 (exit $ac_status); }; }; then
11661 glibcxx_cv_func_float_trig_use=yes
11662 else
11663 echo "$as_me: failed program was:" >&5
11664 sed 's/^/| /' conftest.$ac_ext >&5
11666 glibcxx_cv_func_float_trig_use=no
11668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11669 ac_ext=c
11670 ac_cpp='$CPP $CPPFLAGS'
11671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11677 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11678 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11679 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11689 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
11691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11692 echo "$as_me:$LINENO: checking for $ac_func" >&5
11693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11694 if eval "test \"\${$as_ac_var+set}\" = set"; then
11695 echo $ECHO_N "(cached) $ECHO_C" >&6
11696 else
11697 if test x$gcc_no_link = xyes; then
11698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11700 { (exit 1); exit 1; }; }
11702 cat >conftest.$ac_ext <<_ACEOF
11703 /* confdefs.h. */
11704 _ACEOF
11705 cat confdefs.h >>conftest.$ac_ext
11706 cat >>conftest.$ac_ext <<_ACEOF
11707 /* end confdefs.h. */
11708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11710 #define $ac_func innocuous_$ac_func
11712 /* System header to define __stub macros and hopefully few prototypes,
11713 which can conflict with char $ac_func (); below.
11714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11715 <limits.h> exists even on freestanding compilers. */
11717 #ifdef __STDC__
11718 # include <limits.h>
11719 #else
11720 # include <assert.h>
11721 #endif
11723 #undef $ac_func
11725 /* Override any gcc2 internal prototype to avoid an error. */
11726 #ifdef __cplusplus
11727 extern "C"
11729 #endif
11730 /* We use char because int might match the return type of a gcc2
11731 builtin and then its argument prototype would still apply. */
11732 char $ac_func ();
11733 /* The GNU C library defines this for functions which it implements
11734 to always fail with ENOSYS. Some functions are actually named
11735 something starting with __ and the normal name is an alias. */
11736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11737 choke me
11738 #else
11739 char (*f) () = $ac_func;
11740 #endif
11741 #ifdef __cplusplus
11743 #endif
11746 main ()
11748 return f != $ac_func;
11750 return 0;
11752 _ACEOF
11753 rm -f conftest.$ac_objext conftest$ac_exeext
11754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11755 (eval $ac_link) 2>conftest.er1
11756 ac_status=$?
11757 grep -v '^ *+' conftest.er1 >conftest.err
11758 rm -f conftest.er1
11759 cat conftest.err >&5
11760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11761 (exit $ac_status); } &&
11762 { ac_try='test -z "$ac_c_werror_flag"
11763 || test ! -s conftest.err'
11764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11765 (eval $ac_try) 2>&5
11766 ac_status=$?
11767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11768 (exit $ac_status); }; } &&
11769 { ac_try='test -s conftest$ac_exeext'
11770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11771 (eval $ac_try) 2>&5
11772 ac_status=$?
11773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11774 (exit $ac_status); }; }; then
11775 eval "$as_ac_var=yes"
11776 else
11777 echo "$as_me: failed program was:" >&5
11778 sed 's/^/| /' conftest.$ac_ext >&5
11780 eval "$as_ac_var=no"
11782 rm -f conftest.err conftest.$ac_objext \
11783 conftest$ac_exeext conftest.$ac_ext
11785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11787 if test `eval echo '${'$as_ac_var'}'` = yes; then
11788 cat >>confdefs.h <<_ACEOF
11789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11790 _ACEOF
11793 done
11795 else
11796 echo "$as_me:$LINENO: checking for _float trig functions" >&5
11797 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
11798 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
11799 echo $ECHO_N "(cached) $ECHO_C" >&6
11800 else
11804 ac_ext=cc
11805 ac_cpp='$CXXCPP $CPPFLAGS'
11806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11810 cat >conftest.$ac_ext <<_ACEOF
11811 /* confdefs.h. */
11812 _ACEOF
11813 cat confdefs.h >>conftest.$ac_ext
11814 cat >>conftest.$ac_ext <<_ACEOF
11815 /* end confdefs.h. */
11816 #include <math.h>
11818 main ()
11820 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
11822 return 0;
11824 _ACEOF
11825 rm -f conftest.$ac_objext
11826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11827 (eval $ac_compile) 2>conftest.er1
11828 ac_status=$?
11829 grep -v '^ *+' conftest.er1 >conftest.err
11830 rm -f conftest.er1
11831 cat conftest.err >&5
11832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11833 (exit $ac_status); } &&
11834 { ac_try='test -z "$ac_cxx_werror_flag"
11835 || test ! -s conftest.err'
11836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11837 (eval $ac_try) 2>&5
11838 ac_status=$?
11839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11840 (exit $ac_status); }; } &&
11841 { ac_try='test -s conftest.$ac_objext'
11842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11843 (eval $ac_try) 2>&5
11844 ac_status=$?
11845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11846 (exit $ac_status); }; }; then
11847 glibcxx_cv_func__float_trig_use=yes
11848 else
11849 echo "$as_me: failed program was:" >&5
11850 sed 's/^/| /' conftest.$ac_ext >&5
11852 glibcxx_cv_func__float_trig_use=no
11854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11855 ac_ext=c
11856 ac_cpp='$CPP $CPPFLAGS'
11857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11863 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
11864 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
11865 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
11875 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
11877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11878 echo "$as_me:$LINENO: checking for $ac_func" >&5
11879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11880 if eval "test \"\${$as_ac_var+set}\" = set"; then
11881 echo $ECHO_N "(cached) $ECHO_C" >&6
11882 else
11883 if test x$gcc_no_link = xyes; then
11884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11886 { (exit 1); exit 1; }; }
11888 cat >conftest.$ac_ext <<_ACEOF
11889 /* confdefs.h. */
11890 _ACEOF
11891 cat confdefs.h >>conftest.$ac_ext
11892 cat >>conftest.$ac_ext <<_ACEOF
11893 /* end confdefs.h. */
11894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11896 #define $ac_func innocuous_$ac_func
11898 /* System header to define __stub macros and hopefully few prototypes,
11899 which can conflict with char $ac_func (); below.
11900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11901 <limits.h> exists even on freestanding compilers. */
11903 #ifdef __STDC__
11904 # include <limits.h>
11905 #else
11906 # include <assert.h>
11907 #endif
11909 #undef $ac_func
11911 /* Override any gcc2 internal prototype to avoid an error. */
11912 #ifdef __cplusplus
11913 extern "C"
11915 #endif
11916 /* We use char because int might match the return type of a gcc2
11917 builtin and then its argument prototype would still apply. */
11918 char $ac_func ();
11919 /* The GNU C library defines this for functions which it implements
11920 to always fail with ENOSYS. Some functions are actually named
11921 something starting with __ and the normal name is an alias. */
11922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11923 choke me
11924 #else
11925 char (*f) () = $ac_func;
11926 #endif
11927 #ifdef __cplusplus
11929 #endif
11932 main ()
11934 return f != $ac_func;
11936 return 0;
11938 _ACEOF
11939 rm -f conftest.$ac_objext conftest$ac_exeext
11940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11941 (eval $ac_link) 2>conftest.er1
11942 ac_status=$?
11943 grep -v '^ *+' conftest.er1 >conftest.err
11944 rm -f conftest.er1
11945 cat conftest.err >&5
11946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11947 (exit $ac_status); } &&
11948 { ac_try='test -z "$ac_c_werror_flag"
11949 || test ! -s conftest.err'
11950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11951 (eval $ac_try) 2>&5
11952 ac_status=$?
11953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11954 (exit $ac_status); }; } &&
11955 { ac_try='test -s conftest$ac_exeext'
11956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11957 (eval $ac_try) 2>&5
11958 ac_status=$?
11959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11960 (exit $ac_status); }; }; then
11961 eval "$as_ac_var=yes"
11962 else
11963 echo "$as_me: failed program was:" >&5
11964 sed 's/^/| /' conftest.$ac_ext >&5
11966 eval "$as_ac_var=no"
11968 rm -f conftest.err conftest.$ac_objext \
11969 conftest$ac_exeext conftest.$ac_ext
11971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11973 if test `eval echo '${'$as_ac_var'}'` = yes; then
11974 cat >>confdefs.h <<_ACEOF
11975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11976 _ACEOF
11979 done
11997 echo "$as_me:$LINENO: checking for float round functions" >&5
11998 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11999 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
12000 echo $ECHO_N "(cached) $ECHO_C" >&6
12001 else
12005 ac_ext=cc
12006 ac_cpp='$CXXCPP $CPPFLAGS'
12007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12011 cat >conftest.$ac_ext <<_ACEOF
12012 /* confdefs.h. */
12013 _ACEOF
12014 cat confdefs.h >>conftest.$ac_ext
12015 cat >>conftest.$ac_ext <<_ACEOF
12016 /* end confdefs.h. */
12017 #include <math.h>
12019 main ()
12021 ceilf (0); floorf (0);
12023 return 0;
12025 _ACEOF
12026 rm -f conftest.$ac_objext
12027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12028 (eval $ac_compile) 2>conftest.er1
12029 ac_status=$?
12030 grep -v '^ *+' conftest.er1 >conftest.err
12031 rm -f conftest.er1
12032 cat conftest.err >&5
12033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12034 (exit $ac_status); } &&
12035 { ac_try='test -z "$ac_cxx_werror_flag"
12036 || test ! -s conftest.err'
12037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12038 (eval $ac_try) 2>&5
12039 ac_status=$?
12040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12041 (exit $ac_status); }; } &&
12042 { ac_try='test -s conftest.$ac_objext'
12043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12044 (eval $ac_try) 2>&5
12045 ac_status=$?
12046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12047 (exit $ac_status); }; }; then
12048 glibcxx_cv_func_float_round_use=yes
12049 else
12050 echo "$as_me: failed program was:" >&5
12051 sed 's/^/| /' conftest.$ac_ext >&5
12053 glibcxx_cv_func_float_round_use=no
12055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12056 ac_ext=c
12057 ac_cpp='$CPP $CPPFLAGS'
12058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12064 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
12065 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
12066 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
12069 for ac_func in ceilf floorf
12071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12072 echo "$as_me:$LINENO: checking for $ac_func" >&5
12073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12074 if eval "test \"\${$as_ac_var+set}\" = set"; then
12075 echo $ECHO_N "(cached) $ECHO_C" >&6
12076 else
12077 if test x$gcc_no_link = xyes; then
12078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12080 { (exit 1); exit 1; }; }
12082 cat >conftest.$ac_ext <<_ACEOF
12083 /* confdefs.h. */
12084 _ACEOF
12085 cat confdefs.h >>conftest.$ac_ext
12086 cat >>conftest.$ac_ext <<_ACEOF
12087 /* end confdefs.h. */
12088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12090 #define $ac_func innocuous_$ac_func
12092 /* System header to define __stub macros and hopefully few prototypes,
12093 which can conflict with char $ac_func (); below.
12094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12095 <limits.h> exists even on freestanding compilers. */
12097 #ifdef __STDC__
12098 # include <limits.h>
12099 #else
12100 # include <assert.h>
12101 #endif
12103 #undef $ac_func
12105 /* Override any gcc2 internal prototype to avoid an error. */
12106 #ifdef __cplusplus
12107 extern "C"
12109 #endif
12110 /* We use char because int might match the return type of a gcc2
12111 builtin and then its argument prototype would still apply. */
12112 char $ac_func ();
12113 /* The GNU C library defines this for functions which it implements
12114 to always fail with ENOSYS. Some functions are actually named
12115 something starting with __ and the normal name is an alias. */
12116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12117 choke me
12118 #else
12119 char (*f) () = $ac_func;
12120 #endif
12121 #ifdef __cplusplus
12123 #endif
12126 main ()
12128 return f != $ac_func;
12130 return 0;
12132 _ACEOF
12133 rm -f conftest.$ac_objext conftest$ac_exeext
12134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12135 (eval $ac_link) 2>conftest.er1
12136 ac_status=$?
12137 grep -v '^ *+' conftest.er1 >conftest.err
12138 rm -f conftest.er1
12139 cat conftest.err >&5
12140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12141 (exit $ac_status); } &&
12142 { ac_try='test -z "$ac_c_werror_flag"
12143 || test ! -s conftest.err'
12144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12145 (eval $ac_try) 2>&5
12146 ac_status=$?
12147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12148 (exit $ac_status); }; } &&
12149 { ac_try='test -s conftest$ac_exeext'
12150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12151 (eval $ac_try) 2>&5
12152 ac_status=$?
12153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12154 (exit $ac_status); }; }; then
12155 eval "$as_ac_var=yes"
12156 else
12157 echo "$as_me: failed program was:" >&5
12158 sed 's/^/| /' conftest.$ac_ext >&5
12160 eval "$as_ac_var=no"
12162 rm -f conftest.err conftest.$ac_objext \
12163 conftest$ac_exeext conftest.$ac_ext
12165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12167 if test `eval echo '${'$as_ac_var'}'` = yes; then
12168 cat >>confdefs.h <<_ACEOF
12169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12170 _ACEOF
12173 done
12175 else
12176 echo "$as_me:$LINENO: checking for _float round functions" >&5
12177 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
12178 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
12179 echo $ECHO_N "(cached) $ECHO_C" >&6
12180 else
12184 ac_ext=cc
12185 ac_cpp='$CXXCPP $CPPFLAGS'
12186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12190 cat >conftest.$ac_ext <<_ACEOF
12191 /* confdefs.h. */
12192 _ACEOF
12193 cat confdefs.h >>conftest.$ac_ext
12194 cat >>conftest.$ac_ext <<_ACEOF
12195 /* end confdefs.h. */
12196 #include <math.h>
12198 main ()
12200 _ceilf (0); _floorf (0);
12202 return 0;
12204 _ACEOF
12205 rm -f conftest.$ac_objext
12206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12207 (eval $ac_compile) 2>conftest.er1
12208 ac_status=$?
12209 grep -v '^ *+' conftest.er1 >conftest.err
12210 rm -f conftest.er1
12211 cat conftest.err >&5
12212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12213 (exit $ac_status); } &&
12214 { ac_try='test -z "$ac_cxx_werror_flag"
12215 || test ! -s conftest.err'
12216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12217 (eval $ac_try) 2>&5
12218 ac_status=$?
12219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12220 (exit $ac_status); }; } &&
12221 { ac_try='test -s conftest.$ac_objext'
12222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12223 (eval $ac_try) 2>&5
12224 ac_status=$?
12225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12226 (exit $ac_status); }; }; then
12227 glibcxx_cv_func__float_round_use=yes
12228 else
12229 echo "$as_me: failed program was:" >&5
12230 sed 's/^/| /' conftest.$ac_ext >&5
12232 glibcxx_cv_func__float_round_use=no
12234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12235 ac_ext=c
12236 ac_cpp='$CPP $CPPFLAGS'
12237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12243 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
12244 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
12245 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
12248 for ac_func in _ceilf _floorf
12250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12251 echo "$as_me:$LINENO: checking for $ac_func" >&5
12252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12253 if eval "test \"\${$as_ac_var+set}\" = set"; then
12254 echo $ECHO_N "(cached) $ECHO_C" >&6
12255 else
12256 if test x$gcc_no_link = xyes; then
12257 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12259 { (exit 1); exit 1; }; }
12261 cat >conftest.$ac_ext <<_ACEOF
12262 /* confdefs.h. */
12263 _ACEOF
12264 cat confdefs.h >>conftest.$ac_ext
12265 cat >>conftest.$ac_ext <<_ACEOF
12266 /* end confdefs.h. */
12267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12269 #define $ac_func innocuous_$ac_func
12271 /* System header to define __stub macros and hopefully few prototypes,
12272 which can conflict with char $ac_func (); below.
12273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12274 <limits.h> exists even on freestanding compilers. */
12276 #ifdef __STDC__
12277 # include <limits.h>
12278 #else
12279 # include <assert.h>
12280 #endif
12282 #undef $ac_func
12284 /* Override any gcc2 internal prototype to avoid an error. */
12285 #ifdef __cplusplus
12286 extern "C"
12288 #endif
12289 /* We use char because int might match the return type of a gcc2
12290 builtin and then its argument prototype would still apply. */
12291 char $ac_func ();
12292 /* The GNU C library defines this for functions which it implements
12293 to always fail with ENOSYS. Some functions are actually named
12294 something starting with __ and the normal name is an alias. */
12295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12296 choke me
12297 #else
12298 char (*f) () = $ac_func;
12299 #endif
12300 #ifdef __cplusplus
12302 #endif
12305 main ()
12307 return f != $ac_func;
12309 return 0;
12311 _ACEOF
12312 rm -f conftest.$ac_objext conftest$ac_exeext
12313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12314 (eval $ac_link) 2>conftest.er1
12315 ac_status=$?
12316 grep -v '^ *+' conftest.er1 >conftest.err
12317 rm -f conftest.er1
12318 cat conftest.err >&5
12319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12320 (exit $ac_status); } &&
12321 { ac_try='test -z "$ac_c_werror_flag"
12322 || test ! -s conftest.err'
12323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12324 (eval $ac_try) 2>&5
12325 ac_status=$?
12326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12327 (exit $ac_status); }; } &&
12328 { ac_try='test -s conftest$ac_exeext'
12329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12330 (eval $ac_try) 2>&5
12331 ac_status=$?
12332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12333 (exit $ac_status); }; }; then
12334 eval "$as_ac_var=yes"
12335 else
12336 echo "$as_me: failed program was:" >&5
12337 sed 's/^/| /' conftest.$ac_ext >&5
12339 eval "$as_ac_var=no"
12341 rm -f conftest.err conftest.$ac_objext \
12342 conftest$ac_exeext conftest.$ac_ext
12344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12346 if test `eval echo '${'$as_ac_var'}'` = yes; then
12347 cat >>confdefs.h <<_ACEOF
12348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12349 _ACEOF
12352 done
12364 echo "$as_me:$LINENO: checking for expf declaration" >&5
12365 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
12366 if test x${glibcxx_cv_func_expf_use+set} != xset; then
12367 if test "${glibcxx_cv_func_expf_use+set}" = set; then
12368 echo $ECHO_N "(cached) $ECHO_C" >&6
12369 else
12373 ac_ext=cc
12374 ac_cpp='$CXXCPP $CPPFLAGS'
12375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12379 cat >conftest.$ac_ext <<_ACEOF
12380 /* confdefs.h. */
12381 _ACEOF
12382 cat confdefs.h >>conftest.$ac_ext
12383 cat >>conftest.$ac_ext <<_ACEOF
12384 /* end confdefs.h. */
12385 #include <math.h>
12386 #ifdef HAVE_IEEEFP_H
12387 #include <ieeefp.h>
12388 #endif
12391 main ()
12393 expf(0);
12395 return 0;
12397 _ACEOF
12398 rm -f conftest.$ac_objext
12399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12400 (eval $ac_compile) 2>conftest.er1
12401 ac_status=$?
12402 grep -v '^ *+' conftest.er1 >conftest.err
12403 rm -f conftest.er1
12404 cat conftest.err >&5
12405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12406 (exit $ac_status); } &&
12407 { ac_try='test -z "$ac_cxx_werror_flag"
12408 || test ! -s conftest.err'
12409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12410 (eval $ac_try) 2>&5
12411 ac_status=$?
12412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12413 (exit $ac_status); }; } &&
12414 { ac_try='test -s conftest.$ac_objext'
12415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12416 (eval $ac_try) 2>&5
12417 ac_status=$?
12418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12419 (exit $ac_status); }; }; then
12420 glibcxx_cv_func_expf_use=yes
12421 else
12422 echo "$as_me: failed program was:" >&5
12423 sed 's/^/| /' conftest.$ac_ext >&5
12425 glibcxx_cv_func_expf_use=no
12427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12428 ac_ext=c
12429 ac_cpp='$CPP $CPPFLAGS'
12430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12438 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
12439 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
12441 if test x$glibcxx_cv_func_expf_use = x"yes"; then
12443 for ac_func in expf
12445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12446 echo "$as_me:$LINENO: checking for $ac_func" >&5
12447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12448 if eval "test \"\${$as_ac_var+set}\" = set"; then
12449 echo $ECHO_N "(cached) $ECHO_C" >&6
12450 else
12451 if test x$gcc_no_link = xyes; then
12452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12454 { (exit 1); exit 1; }; }
12456 cat >conftest.$ac_ext <<_ACEOF
12457 /* confdefs.h. */
12458 _ACEOF
12459 cat confdefs.h >>conftest.$ac_ext
12460 cat >>conftest.$ac_ext <<_ACEOF
12461 /* end confdefs.h. */
12462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12464 #define $ac_func innocuous_$ac_func
12466 /* System header to define __stub macros and hopefully few prototypes,
12467 which can conflict with char $ac_func (); below.
12468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12469 <limits.h> exists even on freestanding compilers. */
12471 #ifdef __STDC__
12472 # include <limits.h>
12473 #else
12474 # include <assert.h>
12475 #endif
12477 #undef $ac_func
12479 /* Override any gcc2 internal prototype to avoid an error. */
12480 #ifdef __cplusplus
12481 extern "C"
12483 #endif
12484 /* We use char because int might match the return type of a gcc2
12485 builtin and then its argument prototype would still apply. */
12486 char $ac_func ();
12487 /* The GNU C library defines this for functions which it implements
12488 to always fail with ENOSYS. Some functions are actually named
12489 something starting with __ and the normal name is an alias. */
12490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12491 choke me
12492 #else
12493 char (*f) () = $ac_func;
12494 #endif
12495 #ifdef __cplusplus
12497 #endif
12500 main ()
12502 return f != $ac_func;
12504 return 0;
12506 _ACEOF
12507 rm -f conftest.$ac_objext conftest$ac_exeext
12508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12509 (eval $ac_link) 2>conftest.er1
12510 ac_status=$?
12511 grep -v '^ *+' conftest.er1 >conftest.err
12512 rm -f conftest.er1
12513 cat conftest.err >&5
12514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12515 (exit $ac_status); } &&
12516 { ac_try='test -z "$ac_c_werror_flag"
12517 || test ! -s conftest.err'
12518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12519 (eval $ac_try) 2>&5
12520 ac_status=$?
12521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12522 (exit $ac_status); }; } &&
12523 { ac_try='test -s conftest$ac_exeext'
12524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12525 (eval $ac_try) 2>&5
12526 ac_status=$?
12527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12528 (exit $ac_status); }; }; then
12529 eval "$as_ac_var=yes"
12530 else
12531 echo "$as_me: failed program was:" >&5
12532 sed 's/^/| /' conftest.$ac_ext >&5
12534 eval "$as_ac_var=no"
12536 rm -f conftest.err conftest.$ac_objext \
12537 conftest$ac_exeext conftest.$ac_ext
12539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12541 if test `eval echo '${'$as_ac_var'}'` = yes; then
12542 cat >>confdefs.h <<_ACEOF
12543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12544 _ACEOF
12547 done
12549 else
12551 echo "$as_me:$LINENO: checking for _expf declaration" >&5
12552 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
12553 if test x${glibcxx_cv_func__expf_use+set} != xset; then
12554 if test "${glibcxx_cv_func__expf_use+set}" = set; then
12555 echo $ECHO_N "(cached) $ECHO_C" >&6
12556 else
12560 ac_ext=cc
12561 ac_cpp='$CXXCPP $CPPFLAGS'
12562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12566 cat >conftest.$ac_ext <<_ACEOF
12567 /* confdefs.h. */
12568 _ACEOF
12569 cat confdefs.h >>conftest.$ac_ext
12570 cat >>conftest.$ac_ext <<_ACEOF
12571 /* end confdefs.h. */
12572 #include <math.h>
12573 #ifdef HAVE_IEEEFP_H
12574 #include <ieeefp.h>
12575 #endif
12578 main ()
12580 _expf(0);
12582 return 0;
12584 _ACEOF
12585 rm -f conftest.$ac_objext
12586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12587 (eval $ac_compile) 2>conftest.er1
12588 ac_status=$?
12589 grep -v '^ *+' conftest.er1 >conftest.err
12590 rm -f conftest.er1
12591 cat conftest.err >&5
12592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12593 (exit $ac_status); } &&
12594 { ac_try='test -z "$ac_cxx_werror_flag"
12595 || test ! -s conftest.err'
12596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12597 (eval $ac_try) 2>&5
12598 ac_status=$?
12599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12600 (exit $ac_status); }; } &&
12601 { ac_try='test -s conftest.$ac_objext'
12602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12603 (eval $ac_try) 2>&5
12604 ac_status=$?
12605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12606 (exit $ac_status); }; }; then
12607 glibcxx_cv_func__expf_use=yes
12608 else
12609 echo "$as_me: failed program was:" >&5
12610 sed 's/^/| /' conftest.$ac_ext >&5
12612 glibcxx_cv_func__expf_use=no
12614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12615 ac_ext=c
12616 ac_cpp='$CPP $CPPFLAGS'
12617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12625 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
12626 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
12628 if test x$glibcxx_cv_func__expf_use = x"yes"; then
12630 for ac_func in _expf
12632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12633 echo "$as_me:$LINENO: checking for $ac_func" >&5
12634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12635 if eval "test \"\${$as_ac_var+set}\" = set"; then
12636 echo $ECHO_N "(cached) $ECHO_C" >&6
12637 else
12638 if test x$gcc_no_link = xyes; then
12639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12641 { (exit 1); exit 1; }; }
12643 cat >conftest.$ac_ext <<_ACEOF
12644 /* confdefs.h. */
12645 _ACEOF
12646 cat confdefs.h >>conftest.$ac_ext
12647 cat >>conftest.$ac_ext <<_ACEOF
12648 /* end confdefs.h. */
12649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12651 #define $ac_func innocuous_$ac_func
12653 /* System header to define __stub macros and hopefully few prototypes,
12654 which can conflict with char $ac_func (); below.
12655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12656 <limits.h> exists even on freestanding compilers. */
12658 #ifdef __STDC__
12659 # include <limits.h>
12660 #else
12661 # include <assert.h>
12662 #endif
12664 #undef $ac_func
12666 /* Override any gcc2 internal prototype to avoid an error. */
12667 #ifdef __cplusplus
12668 extern "C"
12670 #endif
12671 /* We use char because int might match the return type of a gcc2
12672 builtin and then its argument prototype would still apply. */
12673 char $ac_func ();
12674 /* The GNU C library defines this for functions which it implements
12675 to always fail with ENOSYS. Some functions are actually named
12676 something starting with __ and the normal name is an alias. */
12677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12678 choke me
12679 #else
12680 char (*f) () = $ac_func;
12681 #endif
12682 #ifdef __cplusplus
12684 #endif
12687 main ()
12689 return f != $ac_func;
12691 return 0;
12693 _ACEOF
12694 rm -f conftest.$ac_objext conftest$ac_exeext
12695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12696 (eval $ac_link) 2>conftest.er1
12697 ac_status=$?
12698 grep -v '^ *+' conftest.er1 >conftest.err
12699 rm -f conftest.er1
12700 cat conftest.err >&5
12701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12702 (exit $ac_status); } &&
12703 { ac_try='test -z "$ac_c_werror_flag"
12704 || test ! -s conftest.err'
12705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12706 (eval $ac_try) 2>&5
12707 ac_status=$?
12708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12709 (exit $ac_status); }; } &&
12710 { ac_try='test -s conftest$ac_exeext'
12711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12712 (eval $ac_try) 2>&5
12713 ac_status=$?
12714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12715 (exit $ac_status); }; }; then
12716 eval "$as_ac_var=yes"
12717 else
12718 echo "$as_me: failed program was:" >&5
12719 sed 's/^/| /' conftest.$ac_ext >&5
12721 eval "$as_ac_var=no"
12723 rm -f conftest.err conftest.$ac_objext \
12724 conftest$ac_exeext conftest.$ac_ext
12726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12728 if test `eval echo '${'$as_ac_var'}'` = yes; then
12729 cat >>confdefs.h <<_ACEOF
12730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12731 _ACEOF
12734 done
12744 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12745 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12746 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12747 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12748 echo $ECHO_N "(cached) $ECHO_C" >&6
12749 else
12753 ac_ext=cc
12754 ac_cpp='$CXXCPP $CPPFLAGS'
12755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12759 cat >conftest.$ac_ext <<_ACEOF
12760 /* confdefs.h. */
12761 _ACEOF
12762 cat confdefs.h >>conftest.$ac_ext
12763 cat >>conftest.$ac_ext <<_ACEOF
12764 /* end confdefs.h. */
12765 #include <math.h>
12766 #ifdef HAVE_IEEEFP_H
12767 #include <ieeefp.h>
12768 #endif
12771 main ()
12773 isnanf(0);
12775 return 0;
12777 _ACEOF
12778 rm -f conftest.$ac_objext
12779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12780 (eval $ac_compile) 2>conftest.er1
12781 ac_status=$?
12782 grep -v '^ *+' conftest.er1 >conftest.err
12783 rm -f conftest.er1
12784 cat conftest.err >&5
12785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12786 (exit $ac_status); } &&
12787 { ac_try='test -z "$ac_cxx_werror_flag"
12788 || test ! -s conftest.err'
12789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12790 (eval $ac_try) 2>&5
12791 ac_status=$?
12792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12793 (exit $ac_status); }; } &&
12794 { ac_try='test -s conftest.$ac_objext'
12795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12796 (eval $ac_try) 2>&5
12797 ac_status=$?
12798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12799 (exit $ac_status); }; }; then
12800 glibcxx_cv_func_isnanf_use=yes
12801 else
12802 echo "$as_me: failed program was:" >&5
12803 sed 's/^/| /' conftest.$ac_ext >&5
12805 glibcxx_cv_func_isnanf_use=no
12807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12808 ac_ext=c
12809 ac_cpp='$CPP $CPPFLAGS'
12810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12818 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12819 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12821 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12823 for ac_func in isnanf
12825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12826 echo "$as_me:$LINENO: checking for $ac_func" >&5
12827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12828 if eval "test \"\${$as_ac_var+set}\" = set"; then
12829 echo $ECHO_N "(cached) $ECHO_C" >&6
12830 else
12831 if test x$gcc_no_link = xyes; then
12832 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12834 { (exit 1); exit 1; }; }
12836 cat >conftest.$ac_ext <<_ACEOF
12837 /* confdefs.h. */
12838 _ACEOF
12839 cat confdefs.h >>conftest.$ac_ext
12840 cat >>conftest.$ac_ext <<_ACEOF
12841 /* end confdefs.h. */
12842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12844 #define $ac_func innocuous_$ac_func
12846 /* System header to define __stub macros and hopefully few prototypes,
12847 which can conflict with char $ac_func (); below.
12848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12849 <limits.h> exists even on freestanding compilers. */
12851 #ifdef __STDC__
12852 # include <limits.h>
12853 #else
12854 # include <assert.h>
12855 #endif
12857 #undef $ac_func
12859 /* Override any gcc2 internal prototype to avoid an error. */
12860 #ifdef __cplusplus
12861 extern "C"
12863 #endif
12864 /* We use char because int might match the return type of a gcc2
12865 builtin and then its argument prototype would still apply. */
12866 char $ac_func ();
12867 /* The GNU C library defines this for functions which it implements
12868 to always fail with ENOSYS. Some functions are actually named
12869 something starting with __ and the normal name is an alias. */
12870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12871 choke me
12872 #else
12873 char (*f) () = $ac_func;
12874 #endif
12875 #ifdef __cplusplus
12877 #endif
12880 main ()
12882 return f != $ac_func;
12884 return 0;
12886 _ACEOF
12887 rm -f conftest.$ac_objext conftest$ac_exeext
12888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12889 (eval $ac_link) 2>conftest.er1
12890 ac_status=$?
12891 grep -v '^ *+' conftest.er1 >conftest.err
12892 rm -f conftest.er1
12893 cat conftest.err >&5
12894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12895 (exit $ac_status); } &&
12896 { ac_try='test -z "$ac_c_werror_flag"
12897 || test ! -s conftest.err'
12898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12899 (eval $ac_try) 2>&5
12900 ac_status=$?
12901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12902 (exit $ac_status); }; } &&
12903 { ac_try='test -s conftest$ac_exeext'
12904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12905 (eval $ac_try) 2>&5
12906 ac_status=$?
12907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12908 (exit $ac_status); }; }; then
12909 eval "$as_ac_var=yes"
12910 else
12911 echo "$as_me: failed program was:" >&5
12912 sed 's/^/| /' conftest.$ac_ext >&5
12914 eval "$as_ac_var=no"
12916 rm -f conftest.err conftest.$ac_objext \
12917 conftest$ac_exeext conftest.$ac_ext
12919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12920 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12921 if test `eval echo '${'$as_ac_var'}'` = yes; then
12922 cat >>confdefs.h <<_ACEOF
12923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12924 _ACEOF
12927 done
12929 else
12931 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12932 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12933 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12934 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12935 echo $ECHO_N "(cached) $ECHO_C" >&6
12936 else
12940 ac_ext=cc
12941 ac_cpp='$CXXCPP $CPPFLAGS'
12942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12946 cat >conftest.$ac_ext <<_ACEOF
12947 /* confdefs.h. */
12948 _ACEOF
12949 cat confdefs.h >>conftest.$ac_ext
12950 cat >>conftest.$ac_ext <<_ACEOF
12951 /* end confdefs.h. */
12952 #include <math.h>
12953 #ifdef HAVE_IEEEFP_H
12954 #include <ieeefp.h>
12955 #endif
12958 main ()
12960 _isnanf(0);
12962 return 0;
12964 _ACEOF
12965 rm -f conftest.$ac_objext
12966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12967 (eval $ac_compile) 2>conftest.er1
12968 ac_status=$?
12969 grep -v '^ *+' conftest.er1 >conftest.err
12970 rm -f conftest.er1
12971 cat conftest.err >&5
12972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12973 (exit $ac_status); } &&
12974 { ac_try='test -z "$ac_cxx_werror_flag"
12975 || test ! -s conftest.err'
12976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12977 (eval $ac_try) 2>&5
12978 ac_status=$?
12979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12980 (exit $ac_status); }; } &&
12981 { ac_try='test -s conftest.$ac_objext'
12982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12983 (eval $ac_try) 2>&5
12984 ac_status=$?
12985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12986 (exit $ac_status); }; }; then
12987 glibcxx_cv_func__isnanf_use=yes
12988 else
12989 echo "$as_me: failed program was:" >&5
12990 sed 's/^/| /' conftest.$ac_ext >&5
12992 glibcxx_cv_func__isnanf_use=no
12994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12995 ac_ext=c
12996 ac_cpp='$CPP $CPPFLAGS'
12997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13005 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
13006 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
13008 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
13010 for ac_func in _isnanf
13012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13013 echo "$as_me:$LINENO: checking for $ac_func" >&5
13014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13015 if eval "test \"\${$as_ac_var+set}\" = set"; then
13016 echo $ECHO_N "(cached) $ECHO_C" >&6
13017 else
13018 if test x$gcc_no_link = xyes; then
13019 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13021 { (exit 1); exit 1; }; }
13023 cat >conftest.$ac_ext <<_ACEOF
13024 /* confdefs.h. */
13025 _ACEOF
13026 cat confdefs.h >>conftest.$ac_ext
13027 cat >>conftest.$ac_ext <<_ACEOF
13028 /* end confdefs.h. */
13029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13031 #define $ac_func innocuous_$ac_func
13033 /* System header to define __stub macros and hopefully few prototypes,
13034 which can conflict with char $ac_func (); below.
13035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13036 <limits.h> exists even on freestanding compilers. */
13038 #ifdef __STDC__
13039 # include <limits.h>
13040 #else
13041 # include <assert.h>
13042 #endif
13044 #undef $ac_func
13046 /* Override any gcc2 internal prototype to avoid an error. */
13047 #ifdef __cplusplus
13048 extern "C"
13050 #endif
13051 /* We use char because int might match the return type of a gcc2
13052 builtin and then its argument prototype would still apply. */
13053 char $ac_func ();
13054 /* The GNU C library defines this for functions which it implements
13055 to always fail with ENOSYS. Some functions are actually named
13056 something starting with __ and the normal name is an alias. */
13057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13058 choke me
13059 #else
13060 char (*f) () = $ac_func;
13061 #endif
13062 #ifdef __cplusplus
13064 #endif
13067 main ()
13069 return f != $ac_func;
13071 return 0;
13073 _ACEOF
13074 rm -f conftest.$ac_objext conftest$ac_exeext
13075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13076 (eval $ac_link) 2>conftest.er1
13077 ac_status=$?
13078 grep -v '^ *+' conftest.er1 >conftest.err
13079 rm -f conftest.er1
13080 cat conftest.err >&5
13081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13082 (exit $ac_status); } &&
13083 { ac_try='test -z "$ac_c_werror_flag"
13084 || test ! -s conftest.err'
13085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13086 (eval $ac_try) 2>&5
13087 ac_status=$?
13088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13089 (exit $ac_status); }; } &&
13090 { ac_try='test -s conftest$ac_exeext'
13091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13092 (eval $ac_try) 2>&5
13093 ac_status=$?
13094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13095 (exit $ac_status); }; }; then
13096 eval "$as_ac_var=yes"
13097 else
13098 echo "$as_me: failed program was:" >&5
13099 sed 's/^/| /' conftest.$ac_ext >&5
13101 eval "$as_ac_var=no"
13103 rm -f conftest.err conftest.$ac_objext \
13104 conftest$ac_exeext conftest.$ac_ext
13106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13108 if test `eval echo '${'$as_ac_var'}'` = yes; then
13109 cat >>confdefs.h <<_ACEOF
13110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13111 _ACEOF
13114 done
13124 echo "$as_me:$LINENO: checking for isinff declaration" >&5
13125 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
13126 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
13127 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
13128 echo $ECHO_N "(cached) $ECHO_C" >&6
13129 else
13133 ac_ext=cc
13134 ac_cpp='$CXXCPP $CPPFLAGS'
13135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13139 cat >conftest.$ac_ext <<_ACEOF
13140 /* confdefs.h. */
13141 _ACEOF
13142 cat confdefs.h >>conftest.$ac_ext
13143 cat >>conftest.$ac_ext <<_ACEOF
13144 /* end confdefs.h. */
13145 #include <math.h>
13146 #ifdef HAVE_IEEEFP_H
13147 #include <ieeefp.h>
13148 #endif
13151 main ()
13153 isinff(0);
13155 return 0;
13157 _ACEOF
13158 rm -f conftest.$ac_objext
13159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13160 (eval $ac_compile) 2>conftest.er1
13161 ac_status=$?
13162 grep -v '^ *+' conftest.er1 >conftest.err
13163 rm -f conftest.er1
13164 cat conftest.err >&5
13165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13166 (exit $ac_status); } &&
13167 { ac_try='test -z "$ac_cxx_werror_flag"
13168 || test ! -s conftest.err'
13169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13170 (eval $ac_try) 2>&5
13171 ac_status=$?
13172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13173 (exit $ac_status); }; } &&
13174 { ac_try='test -s conftest.$ac_objext'
13175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13176 (eval $ac_try) 2>&5
13177 ac_status=$?
13178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13179 (exit $ac_status); }; }; then
13180 glibcxx_cv_func_isinff_use=yes
13181 else
13182 echo "$as_me: failed program was:" >&5
13183 sed 's/^/| /' conftest.$ac_ext >&5
13185 glibcxx_cv_func_isinff_use=no
13187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13188 ac_ext=c
13189 ac_cpp='$CPP $CPPFLAGS'
13190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13198 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
13199 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
13201 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
13203 for ac_func in isinff
13205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13206 echo "$as_me:$LINENO: checking for $ac_func" >&5
13207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13208 if eval "test \"\${$as_ac_var+set}\" = set"; then
13209 echo $ECHO_N "(cached) $ECHO_C" >&6
13210 else
13211 if test x$gcc_no_link = xyes; then
13212 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13214 { (exit 1); exit 1; }; }
13216 cat >conftest.$ac_ext <<_ACEOF
13217 /* confdefs.h. */
13218 _ACEOF
13219 cat confdefs.h >>conftest.$ac_ext
13220 cat >>conftest.$ac_ext <<_ACEOF
13221 /* end confdefs.h. */
13222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13224 #define $ac_func innocuous_$ac_func
13226 /* System header to define __stub macros and hopefully few prototypes,
13227 which can conflict with char $ac_func (); below.
13228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13229 <limits.h> exists even on freestanding compilers. */
13231 #ifdef __STDC__
13232 # include <limits.h>
13233 #else
13234 # include <assert.h>
13235 #endif
13237 #undef $ac_func
13239 /* Override any gcc2 internal prototype to avoid an error. */
13240 #ifdef __cplusplus
13241 extern "C"
13243 #endif
13244 /* We use char because int might match the return type of a gcc2
13245 builtin and then its argument prototype would still apply. */
13246 char $ac_func ();
13247 /* The GNU C library defines this for functions which it implements
13248 to always fail with ENOSYS. Some functions are actually named
13249 something starting with __ and the normal name is an alias. */
13250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13251 choke me
13252 #else
13253 char (*f) () = $ac_func;
13254 #endif
13255 #ifdef __cplusplus
13257 #endif
13260 main ()
13262 return f != $ac_func;
13264 return 0;
13266 _ACEOF
13267 rm -f conftest.$ac_objext conftest$ac_exeext
13268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13269 (eval $ac_link) 2>conftest.er1
13270 ac_status=$?
13271 grep -v '^ *+' conftest.er1 >conftest.err
13272 rm -f conftest.er1
13273 cat conftest.err >&5
13274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13275 (exit $ac_status); } &&
13276 { ac_try='test -z "$ac_c_werror_flag"
13277 || test ! -s conftest.err'
13278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13279 (eval $ac_try) 2>&5
13280 ac_status=$?
13281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13282 (exit $ac_status); }; } &&
13283 { ac_try='test -s conftest$ac_exeext'
13284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13285 (eval $ac_try) 2>&5
13286 ac_status=$?
13287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13288 (exit $ac_status); }; }; then
13289 eval "$as_ac_var=yes"
13290 else
13291 echo "$as_me: failed program was:" >&5
13292 sed 's/^/| /' conftest.$ac_ext >&5
13294 eval "$as_ac_var=no"
13296 rm -f conftest.err conftest.$ac_objext \
13297 conftest$ac_exeext conftest.$ac_ext
13299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13301 if test `eval echo '${'$as_ac_var'}'` = yes; then
13302 cat >>confdefs.h <<_ACEOF
13303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13304 _ACEOF
13307 done
13309 else
13311 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
13312 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
13313 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
13314 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
13315 echo $ECHO_N "(cached) $ECHO_C" >&6
13316 else
13320 ac_ext=cc
13321 ac_cpp='$CXXCPP $CPPFLAGS'
13322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13326 cat >conftest.$ac_ext <<_ACEOF
13327 /* confdefs.h. */
13328 _ACEOF
13329 cat confdefs.h >>conftest.$ac_ext
13330 cat >>conftest.$ac_ext <<_ACEOF
13331 /* end confdefs.h. */
13332 #include <math.h>
13333 #ifdef HAVE_IEEEFP_H
13334 #include <ieeefp.h>
13335 #endif
13338 main ()
13340 _isinff(0);
13342 return 0;
13344 _ACEOF
13345 rm -f conftest.$ac_objext
13346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13347 (eval $ac_compile) 2>conftest.er1
13348 ac_status=$?
13349 grep -v '^ *+' conftest.er1 >conftest.err
13350 rm -f conftest.er1
13351 cat conftest.err >&5
13352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13353 (exit $ac_status); } &&
13354 { ac_try='test -z "$ac_cxx_werror_flag"
13355 || test ! -s conftest.err'
13356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13357 (eval $ac_try) 2>&5
13358 ac_status=$?
13359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13360 (exit $ac_status); }; } &&
13361 { ac_try='test -s conftest.$ac_objext'
13362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13363 (eval $ac_try) 2>&5
13364 ac_status=$?
13365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13366 (exit $ac_status); }; }; then
13367 glibcxx_cv_func__isinff_use=yes
13368 else
13369 echo "$as_me: failed program was:" >&5
13370 sed 's/^/| /' conftest.$ac_ext >&5
13372 glibcxx_cv_func__isinff_use=no
13374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13375 ac_ext=c
13376 ac_cpp='$CPP $CPPFLAGS'
13377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13385 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
13386 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
13388 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
13390 for ac_func in _isinff
13392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13393 echo "$as_me:$LINENO: checking for $ac_func" >&5
13394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13395 if eval "test \"\${$as_ac_var+set}\" = set"; then
13396 echo $ECHO_N "(cached) $ECHO_C" >&6
13397 else
13398 if test x$gcc_no_link = xyes; then
13399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13401 { (exit 1); exit 1; }; }
13403 cat >conftest.$ac_ext <<_ACEOF
13404 /* confdefs.h. */
13405 _ACEOF
13406 cat confdefs.h >>conftest.$ac_ext
13407 cat >>conftest.$ac_ext <<_ACEOF
13408 /* end confdefs.h. */
13409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13411 #define $ac_func innocuous_$ac_func
13413 /* System header to define __stub macros and hopefully few prototypes,
13414 which can conflict with char $ac_func (); below.
13415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13416 <limits.h> exists even on freestanding compilers. */
13418 #ifdef __STDC__
13419 # include <limits.h>
13420 #else
13421 # include <assert.h>
13422 #endif
13424 #undef $ac_func
13426 /* Override any gcc2 internal prototype to avoid an error. */
13427 #ifdef __cplusplus
13428 extern "C"
13430 #endif
13431 /* We use char because int might match the return type of a gcc2
13432 builtin and then its argument prototype would still apply. */
13433 char $ac_func ();
13434 /* The GNU C library defines this for functions which it implements
13435 to always fail with ENOSYS. Some functions are actually named
13436 something starting with __ and the normal name is an alias. */
13437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13438 choke me
13439 #else
13440 char (*f) () = $ac_func;
13441 #endif
13442 #ifdef __cplusplus
13444 #endif
13447 main ()
13449 return f != $ac_func;
13451 return 0;
13453 _ACEOF
13454 rm -f conftest.$ac_objext conftest$ac_exeext
13455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13456 (eval $ac_link) 2>conftest.er1
13457 ac_status=$?
13458 grep -v '^ *+' conftest.er1 >conftest.err
13459 rm -f conftest.er1
13460 cat conftest.err >&5
13461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13462 (exit $ac_status); } &&
13463 { ac_try='test -z "$ac_c_werror_flag"
13464 || test ! -s conftest.err'
13465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13466 (eval $ac_try) 2>&5
13467 ac_status=$?
13468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13469 (exit $ac_status); }; } &&
13470 { ac_try='test -s conftest$ac_exeext'
13471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13472 (eval $ac_try) 2>&5
13473 ac_status=$?
13474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13475 (exit $ac_status); }; }; then
13476 eval "$as_ac_var=yes"
13477 else
13478 echo "$as_me: failed program was:" >&5
13479 sed 's/^/| /' conftest.$ac_ext >&5
13481 eval "$as_ac_var=no"
13483 rm -f conftest.err conftest.$ac_objext \
13484 conftest$ac_exeext conftest.$ac_ext
13486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13488 if test `eval echo '${'$as_ac_var'}'` = yes; then
13489 cat >>confdefs.h <<_ACEOF
13490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13491 _ACEOF
13494 done
13504 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
13505 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
13506 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
13507 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
13508 echo $ECHO_N "(cached) $ECHO_C" >&6
13509 else
13513 ac_ext=cc
13514 ac_cpp='$CXXCPP $CPPFLAGS'
13515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13519 cat >conftest.$ac_ext <<_ACEOF
13520 /* confdefs.h. */
13521 _ACEOF
13522 cat confdefs.h >>conftest.$ac_ext
13523 cat >>conftest.$ac_ext <<_ACEOF
13524 /* end confdefs.h. */
13525 #include <math.h>
13527 main ()
13529 atan2f(0, 0);
13531 return 0;
13533 _ACEOF
13534 rm -f conftest.$ac_objext
13535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13536 (eval $ac_compile) 2>conftest.er1
13537 ac_status=$?
13538 grep -v '^ *+' conftest.er1 >conftest.err
13539 rm -f conftest.er1
13540 cat conftest.err >&5
13541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13542 (exit $ac_status); } &&
13543 { ac_try='test -z "$ac_cxx_werror_flag"
13544 || test ! -s conftest.err'
13545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13546 (eval $ac_try) 2>&5
13547 ac_status=$?
13548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13549 (exit $ac_status); }; } &&
13550 { ac_try='test -s conftest.$ac_objext'
13551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13552 (eval $ac_try) 2>&5
13553 ac_status=$?
13554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13555 (exit $ac_status); }; }; then
13556 glibcxx_cv_func_atan2f_use=yes
13557 else
13558 echo "$as_me: failed program was:" >&5
13559 sed 's/^/| /' conftest.$ac_ext >&5
13561 glibcxx_cv_func_atan2f_use=no
13563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13564 ac_ext=c
13565 ac_cpp='$CPP $CPPFLAGS'
13566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13574 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
13575 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
13577 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
13579 for ac_func in atan2f
13581 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13582 echo "$as_me:$LINENO: checking for $ac_func" >&5
13583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13584 if eval "test \"\${$as_ac_var+set}\" = set"; then
13585 echo $ECHO_N "(cached) $ECHO_C" >&6
13586 else
13587 if test x$gcc_no_link = xyes; then
13588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13590 { (exit 1); exit 1; }; }
13592 cat >conftest.$ac_ext <<_ACEOF
13593 /* confdefs.h. */
13594 _ACEOF
13595 cat confdefs.h >>conftest.$ac_ext
13596 cat >>conftest.$ac_ext <<_ACEOF
13597 /* end confdefs.h. */
13598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13600 #define $ac_func innocuous_$ac_func
13602 /* System header to define __stub macros and hopefully few prototypes,
13603 which can conflict with char $ac_func (); below.
13604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13605 <limits.h> exists even on freestanding compilers. */
13607 #ifdef __STDC__
13608 # include <limits.h>
13609 #else
13610 # include <assert.h>
13611 #endif
13613 #undef $ac_func
13615 /* Override any gcc2 internal prototype to avoid an error. */
13616 #ifdef __cplusplus
13617 extern "C"
13619 #endif
13620 /* We use char because int might match the return type of a gcc2
13621 builtin and then its argument prototype would still apply. */
13622 char $ac_func ();
13623 /* The GNU C library defines this for functions which it implements
13624 to always fail with ENOSYS. Some functions are actually named
13625 something starting with __ and the normal name is an alias. */
13626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13627 choke me
13628 #else
13629 char (*f) () = $ac_func;
13630 #endif
13631 #ifdef __cplusplus
13633 #endif
13636 main ()
13638 return f != $ac_func;
13640 return 0;
13642 _ACEOF
13643 rm -f conftest.$ac_objext conftest$ac_exeext
13644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13645 (eval $ac_link) 2>conftest.er1
13646 ac_status=$?
13647 grep -v '^ *+' conftest.er1 >conftest.err
13648 rm -f conftest.er1
13649 cat conftest.err >&5
13650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13651 (exit $ac_status); } &&
13652 { ac_try='test -z "$ac_c_werror_flag"
13653 || test ! -s conftest.err'
13654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13655 (eval $ac_try) 2>&5
13656 ac_status=$?
13657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13658 (exit $ac_status); }; } &&
13659 { ac_try='test -s conftest$ac_exeext'
13660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13661 (eval $ac_try) 2>&5
13662 ac_status=$?
13663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13664 (exit $ac_status); }; }; then
13665 eval "$as_ac_var=yes"
13666 else
13667 echo "$as_me: failed program was:" >&5
13668 sed 's/^/| /' conftest.$ac_ext >&5
13670 eval "$as_ac_var=no"
13672 rm -f conftest.err conftest.$ac_objext \
13673 conftest$ac_exeext conftest.$ac_ext
13675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13677 if test `eval echo '${'$as_ac_var'}'` = yes; then
13678 cat >>confdefs.h <<_ACEOF
13679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13680 _ACEOF
13683 done
13685 else
13687 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13688 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13689 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13690 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13691 echo $ECHO_N "(cached) $ECHO_C" >&6
13692 else
13696 ac_ext=cc
13697 ac_cpp='$CXXCPP $CPPFLAGS'
13698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13702 cat >conftest.$ac_ext <<_ACEOF
13703 /* confdefs.h. */
13704 _ACEOF
13705 cat confdefs.h >>conftest.$ac_ext
13706 cat >>conftest.$ac_ext <<_ACEOF
13707 /* end confdefs.h. */
13708 #include <math.h>
13710 main ()
13712 _atan2f(0, 0);
13714 return 0;
13716 _ACEOF
13717 rm -f conftest.$ac_objext
13718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13719 (eval $ac_compile) 2>conftest.er1
13720 ac_status=$?
13721 grep -v '^ *+' conftest.er1 >conftest.err
13722 rm -f conftest.er1
13723 cat conftest.err >&5
13724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13725 (exit $ac_status); } &&
13726 { ac_try='test -z "$ac_cxx_werror_flag"
13727 || test ! -s conftest.err'
13728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13729 (eval $ac_try) 2>&5
13730 ac_status=$?
13731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13732 (exit $ac_status); }; } &&
13733 { ac_try='test -s conftest.$ac_objext'
13734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13735 (eval $ac_try) 2>&5
13736 ac_status=$?
13737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13738 (exit $ac_status); }; }; then
13739 glibcxx_cv_func__atan2f_use=yes
13740 else
13741 echo "$as_me: failed program was:" >&5
13742 sed 's/^/| /' conftest.$ac_ext >&5
13744 glibcxx_cv_func__atan2f_use=no
13746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13747 ac_ext=c
13748 ac_cpp='$CPP $CPPFLAGS'
13749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13757 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13758 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13760 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13762 for ac_func in _atan2f
13764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13765 echo "$as_me:$LINENO: checking for $ac_func" >&5
13766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13767 if eval "test \"\${$as_ac_var+set}\" = set"; then
13768 echo $ECHO_N "(cached) $ECHO_C" >&6
13769 else
13770 if test x$gcc_no_link = xyes; then
13771 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13773 { (exit 1); exit 1; }; }
13775 cat >conftest.$ac_ext <<_ACEOF
13776 /* confdefs.h. */
13777 _ACEOF
13778 cat confdefs.h >>conftest.$ac_ext
13779 cat >>conftest.$ac_ext <<_ACEOF
13780 /* end confdefs.h. */
13781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13783 #define $ac_func innocuous_$ac_func
13785 /* System header to define __stub macros and hopefully few prototypes,
13786 which can conflict with char $ac_func (); below.
13787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13788 <limits.h> exists even on freestanding compilers. */
13790 #ifdef __STDC__
13791 # include <limits.h>
13792 #else
13793 # include <assert.h>
13794 #endif
13796 #undef $ac_func
13798 /* Override any gcc2 internal prototype to avoid an error. */
13799 #ifdef __cplusplus
13800 extern "C"
13802 #endif
13803 /* We use char because int might match the return type of a gcc2
13804 builtin and then its argument prototype would still apply. */
13805 char $ac_func ();
13806 /* The GNU C library defines this for functions which it implements
13807 to always fail with ENOSYS. Some functions are actually named
13808 something starting with __ and the normal name is an alias. */
13809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13810 choke me
13811 #else
13812 char (*f) () = $ac_func;
13813 #endif
13814 #ifdef __cplusplus
13816 #endif
13819 main ()
13821 return f != $ac_func;
13823 return 0;
13825 _ACEOF
13826 rm -f conftest.$ac_objext conftest$ac_exeext
13827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13828 (eval $ac_link) 2>conftest.er1
13829 ac_status=$?
13830 grep -v '^ *+' conftest.er1 >conftest.err
13831 rm -f conftest.er1
13832 cat conftest.err >&5
13833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13834 (exit $ac_status); } &&
13835 { ac_try='test -z "$ac_c_werror_flag"
13836 || test ! -s conftest.err'
13837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13838 (eval $ac_try) 2>&5
13839 ac_status=$?
13840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13841 (exit $ac_status); }; } &&
13842 { ac_try='test -s conftest$ac_exeext'
13843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13844 (eval $ac_try) 2>&5
13845 ac_status=$?
13846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13847 (exit $ac_status); }; }; then
13848 eval "$as_ac_var=yes"
13849 else
13850 echo "$as_me: failed program was:" >&5
13851 sed 's/^/| /' conftest.$ac_ext >&5
13853 eval "$as_ac_var=no"
13855 rm -f conftest.err conftest.$ac_objext \
13856 conftest$ac_exeext conftest.$ac_ext
13858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13860 if test `eval echo '${'$as_ac_var'}'` = yes; then
13861 cat >>confdefs.h <<_ACEOF
13862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13863 _ACEOF
13866 done
13876 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13877 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13878 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13879 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13880 echo $ECHO_N "(cached) $ECHO_C" >&6
13881 else
13885 ac_ext=cc
13886 ac_cpp='$CXXCPP $CPPFLAGS'
13887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13891 cat >conftest.$ac_ext <<_ACEOF
13892 /* confdefs.h. */
13893 _ACEOF
13894 cat confdefs.h >>conftest.$ac_ext
13895 cat >>conftest.$ac_ext <<_ACEOF
13896 /* end confdefs.h. */
13897 #include <math.h>
13898 #ifdef HAVE_IEEEFP_H
13899 #include <ieeefp.h>
13900 #endif
13903 main ()
13905 fabsf(0);
13907 return 0;
13909 _ACEOF
13910 rm -f conftest.$ac_objext
13911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13912 (eval $ac_compile) 2>conftest.er1
13913 ac_status=$?
13914 grep -v '^ *+' conftest.er1 >conftest.err
13915 rm -f conftest.er1
13916 cat conftest.err >&5
13917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13918 (exit $ac_status); } &&
13919 { ac_try='test -z "$ac_cxx_werror_flag"
13920 || test ! -s conftest.err'
13921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13922 (eval $ac_try) 2>&5
13923 ac_status=$?
13924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13925 (exit $ac_status); }; } &&
13926 { ac_try='test -s conftest.$ac_objext'
13927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13928 (eval $ac_try) 2>&5
13929 ac_status=$?
13930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13931 (exit $ac_status); }; }; then
13932 glibcxx_cv_func_fabsf_use=yes
13933 else
13934 echo "$as_me: failed program was:" >&5
13935 sed 's/^/| /' conftest.$ac_ext >&5
13937 glibcxx_cv_func_fabsf_use=no
13939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13940 ac_ext=c
13941 ac_cpp='$CPP $CPPFLAGS'
13942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13950 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13951 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13953 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13955 for ac_func in fabsf
13957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13958 echo "$as_me:$LINENO: checking for $ac_func" >&5
13959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13960 if eval "test \"\${$as_ac_var+set}\" = set"; then
13961 echo $ECHO_N "(cached) $ECHO_C" >&6
13962 else
13963 if test x$gcc_no_link = xyes; then
13964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13966 { (exit 1); exit 1; }; }
13968 cat >conftest.$ac_ext <<_ACEOF
13969 /* confdefs.h. */
13970 _ACEOF
13971 cat confdefs.h >>conftest.$ac_ext
13972 cat >>conftest.$ac_ext <<_ACEOF
13973 /* end confdefs.h. */
13974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13976 #define $ac_func innocuous_$ac_func
13978 /* System header to define __stub macros and hopefully few prototypes,
13979 which can conflict with char $ac_func (); below.
13980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13981 <limits.h> exists even on freestanding compilers. */
13983 #ifdef __STDC__
13984 # include <limits.h>
13985 #else
13986 # include <assert.h>
13987 #endif
13989 #undef $ac_func
13991 /* Override any gcc2 internal prototype to avoid an error. */
13992 #ifdef __cplusplus
13993 extern "C"
13995 #endif
13996 /* We use char because int might match the return type of a gcc2
13997 builtin and then its argument prototype would still apply. */
13998 char $ac_func ();
13999 /* The GNU C library defines this for functions which it implements
14000 to always fail with ENOSYS. Some functions are actually named
14001 something starting with __ and the normal name is an alias. */
14002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14003 choke me
14004 #else
14005 char (*f) () = $ac_func;
14006 #endif
14007 #ifdef __cplusplus
14009 #endif
14012 main ()
14014 return f != $ac_func;
14016 return 0;
14018 _ACEOF
14019 rm -f conftest.$ac_objext conftest$ac_exeext
14020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14021 (eval $ac_link) 2>conftest.er1
14022 ac_status=$?
14023 grep -v '^ *+' conftest.er1 >conftest.err
14024 rm -f conftest.er1
14025 cat conftest.err >&5
14026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14027 (exit $ac_status); } &&
14028 { ac_try='test -z "$ac_c_werror_flag"
14029 || test ! -s conftest.err'
14030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14031 (eval $ac_try) 2>&5
14032 ac_status=$?
14033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14034 (exit $ac_status); }; } &&
14035 { ac_try='test -s conftest$ac_exeext'
14036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14037 (eval $ac_try) 2>&5
14038 ac_status=$?
14039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14040 (exit $ac_status); }; }; then
14041 eval "$as_ac_var=yes"
14042 else
14043 echo "$as_me: failed program was:" >&5
14044 sed 's/^/| /' conftest.$ac_ext >&5
14046 eval "$as_ac_var=no"
14048 rm -f conftest.err conftest.$ac_objext \
14049 conftest$ac_exeext conftest.$ac_ext
14051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14053 if test `eval echo '${'$as_ac_var'}'` = yes; then
14054 cat >>confdefs.h <<_ACEOF
14055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14056 _ACEOF
14059 done
14061 else
14063 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
14064 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
14065 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
14066 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
14067 echo $ECHO_N "(cached) $ECHO_C" >&6
14068 else
14072 ac_ext=cc
14073 ac_cpp='$CXXCPP $CPPFLAGS'
14074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14078 cat >conftest.$ac_ext <<_ACEOF
14079 /* confdefs.h. */
14080 _ACEOF
14081 cat confdefs.h >>conftest.$ac_ext
14082 cat >>conftest.$ac_ext <<_ACEOF
14083 /* end confdefs.h. */
14084 #include <math.h>
14085 #ifdef HAVE_IEEEFP_H
14086 #include <ieeefp.h>
14087 #endif
14090 main ()
14092 _fabsf(0);
14094 return 0;
14096 _ACEOF
14097 rm -f conftest.$ac_objext
14098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14099 (eval $ac_compile) 2>conftest.er1
14100 ac_status=$?
14101 grep -v '^ *+' conftest.er1 >conftest.err
14102 rm -f conftest.er1
14103 cat conftest.err >&5
14104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14105 (exit $ac_status); } &&
14106 { ac_try='test -z "$ac_cxx_werror_flag"
14107 || test ! -s conftest.err'
14108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14109 (eval $ac_try) 2>&5
14110 ac_status=$?
14111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14112 (exit $ac_status); }; } &&
14113 { ac_try='test -s conftest.$ac_objext'
14114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14115 (eval $ac_try) 2>&5
14116 ac_status=$?
14117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14118 (exit $ac_status); }; }; then
14119 glibcxx_cv_func__fabsf_use=yes
14120 else
14121 echo "$as_me: failed program was:" >&5
14122 sed 's/^/| /' conftest.$ac_ext >&5
14124 glibcxx_cv_func__fabsf_use=no
14126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14127 ac_ext=c
14128 ac_cpp='$CPP $CPPFLAGS'
14129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14137 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
14138 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
14140 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
14142 for ac_func in _fabsf
14144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14145 echo "$as_me:$LINENO: checking for $ac_func" >&5
14146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14147 if eval "test \"\${$as_ac_var+set}\" = set"; then
14148 echo $ECHO_N "(cached) $ECHO_C" >&6
14149 else
14150 if test x$gcc_no_link = xyes; then
14151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14153 { (exit 1); exit 1; }; }
14155 cat >conftest.$ac_ext <<_ACEOF
14156 /* confdefs.h. */
14157 _ACEOF
14158 cat confdefs.h >>conftest.$ac_ext
14159 cat >>conftest.$ac_ext <<_ACEOF
14160 /* end confdefs.h. */
14161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14163 #define $ac_func innocuous_$ac_func
14165 /* System header to define __stub macros and hopefully few prototypes,
14166 which can conflict with char $ac_func (); below.
14167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14168 <limits.h> exists even on freestanding compilers. */
14170 #ifdef __STDC__
14171 # include <limits.h>
14172 #else
14173 # include <assert.h>
14174 #endif
14176 #undef $ac_func
14178 /* Override any gcc2 internal prototype to avoid an error. */
14179 #ifdef __cplusplus
14180 extern "C"
14182 #endif
14183 /* We use char because int might match the return type of a gcc2
14184 builtin and then its argument prototype would still apply. */
14185 char $ac_func ();
14186 /* The GNU C library defines this for functions which it implements
14187 to always fail with ENOSYS. Some functions are actually named
14188 something starting with __ and the normal name is an alias. */
14189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14190 choke me
14191 #else
14192 char (*f) () = $ac_func;
14193 #endif
14194 #ifdef __cplusplus
14196 #endif
14199 main ()
14201 return f != $ac_func;
14203 return 0;
14205 _ACEOF
14206 rm -f conftest.$ac_objext conftest$ac_exeext
14207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14208 (eval $ac_link) 2>conftest.er1
14209 ac_status=$?
14210 grep -v '^ *+' conftest.er1 >conftest.err
14211 rm -f conftest.er1
14212 cat conftest.err >&5
14213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14214 (exit $ac_status); } &&
14215 { ac_try='test -z "$ac_c_werror_flag"
14216 || test ! -s conftest.err'
14217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14218 (eval $ac_try) 2>&5
14219 ac_status=$?
14220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14221 (exit $ac_status); }; } &&
14222 { ac_try='test -s conftest$ac_exeext'
14223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14224 (eval $ac_try) 2>&5
14225 ac_status=$?
14226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14227 (exit $ac_status); }; }; then
14228 eval "$as_ac_var=yes"
14229 else
14230 echo "$as_me: failed program was:" >&5
14231 sed 's/^/| /' conftest.$ac_ext >&5
14233 eval "$as_ac_var=no"
14235 rm -f conftest.err conftest.$ac_objext \
14236 conftest$ac_exeext conftest.$ac_ext
14238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14240 if test `eval echo '${'$as_ac_var'}'` = yes; then
14241 cat >>confdefs.h <<_ACEOF
14242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14243 _ACEOF
14246 done
14256 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
14257 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
14258 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
14259 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
14260 echo $ECHO_N "(cached) $ECHO_C" >&6
14261 else
14265 ac_ext=cc
14266 ac_cpp='$CXXCPP $CPPFLAGS'
14267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14271 cat >conftest.$ac_ext <<_ACEOF
14272 /* confdefs.h. */
14273 _ACEOF
14274 cat confdefs.h >>conftest.$ac_ext
14275 cat >>conftest.$ac_ext <<_ACEOF
14276 /* end confdefs.h. */
14277 #include <math.h>
14279 main ()
14281 fmodf(0, 0);
14283 return 0;
14285 _ACEOF
14286 rm -f conftest.$ac_objext
14287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14288 (eval $ac_compile) 2>conftest.er1
14289 ac_status=$?
14290 grep -v '^ *+' conftest.er1 >conftest.err
14291 rm -f conftest.er1
14292 cat conftest.err >&5
14293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14294 (exit $ac_status); } &&
14295 { ac_try='test -z "$ac_cxx_werror_flag"
14296 || test ! -s conftest.err'
14297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14298 (eval $ac_try) 2>&5
14299 ac_status=$?
14300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14301 (exit $ac_status); }; } &&
14302 { ac_try='test -s conftest.$ac_objext'
14303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14304 (eval $ac_try) 2>&5
14305 ac_status=$?
14306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14307 (exit $ac_status); }; }; then
14308 glibcxx_cv_func_fmodf_use=yes
14309 else
14310 echo "$as_me: failed program was:" >&5
14311 sed 's/^/| /' conftest.$ac_ext >&5
14313 glibcxx_cv_func_fmodf_use=no
14315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14316 ac_ext=c
14317 ac_cpp='$CPP $CPPFLAGS'
14318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14326 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
14327 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
14329 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
14331 for ac_func in fmodf
14333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14334 echo "$as_me:$LINENO: checking for $ac_func" >&5
14335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14336 if eval "test \"\${$as_ac_var+set}\" = set"; then
14337 echo $ECHO_N "(cached) $ECHO_C" >&6
14338 else
14339 if test x$gcc_no_link = xyes; then
14340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14342 { (exit 1); exit 1; }; }
14344 cat >conftest.$ac_ext <<_ACEOF
14345 /* confdefs.h. */
14346 _ACEOF
14347 cat confdefs.h >>conftest.$ac_ext
14348 cat >>conftest.$ac_ext <<_ACEOF
14349 /* end confdefs.h. */
14350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14352 #define $ac_func innocuous_$ac_func
14354 /* System header to define __stub macros and hopefully few prototypes,
14355 which can conflict with char $ac_func (); below.
14356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14357 <limits.h> exists even on freestanding compilers. */
14359 #ifdef __STDC__
14360 # include <limits.h>
14361 #else
14362 # include <assert.h>
14363 #endif
14365 #undef $ac_func
14367 /* Override any gcc2 internal prototype to avoid an error. */
14368 #ifdef __cplusplus
14369 extern "C"
14371 #endif
14372 /* We use char because int might match the return type of a gcc2
14373 builtin and then its argument prototype would still apply. */
14374 char $ac_func ();
14375 /* The GNU C library defines this for functions which it implements
14376 to always fail with ENOSYS. Some functions are actually named
14377 something starting with __ and the normal name is an alias. */
14378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14379 choke me
14380 #else
14381 char (*f) () = $ac_func;
14382 #endif
14383 #ifdef __cplusplus
14385 #endif
14388 main ()
14390 return f != $ac_func;
14392 return 0;
14394 _ACEOF
14395 rm -f conftest.$ac_objext conftest$ac_exeext
14396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14397 (eval $ac_link) 2>conftest.er1
14398 ac_status=$?
14399 grep -v '^ *+' conftest.er1 >conftest.err
14400 rm -f conftest.er1
14401 cat conftest.err >&5
14402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14403 (exit $ac_status); } &&
14404 { ac_try='test -z "$ac_c_werror_flag"
14405 || test ! -s conftest.err'
14406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14407 (eval $ac_try) 2>&5
14408 ac_status=$?
14409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14410 (exit $ac_status); }; } &&
14411 { ac_try='test -s conftest$ac_exeext'
14412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14413 (eval $ac_try) 2>&5
14414 ac_status=$?
14415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14416 (exit $ac_status); }; }; then
14417 eval "$as_ac_var=yes"
14418 else
14419 echo "$as_me: failed program was:" >&5
14420 sed 's/^/| /' conftest.$ac_ext >&5
14422 eval "$as_ac_var=no"
14424 rm -f conftest.err conftest.$ac_objext \
14425 conftest$ac_exeext conftest.$ac_ext
14427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14429 if test `eval echo '${'$as_ac_var'}'` = yes; then
14430 cat >>confdefs.h <<_ACEOF
14431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14432 _ACEOF
14435 done
14437 else
14439 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
14440 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
14441 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
14442 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
14443 echo $ECHO_N "(cached) $ECHO_C" >&6
14444 else
14448 ac_ext=cc
14449 ac_cpp='$CXXCPP $CPPFLAGS'
14450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14454 cat >conftest.$ac_ext <<_ACEOF
14455 /* confdefs.h. */
14456 _ACEOF
14457 cat confdefs.h >>conftest.$ac_ext
14458 cat >>conftest.$ac_ext <<_ACEOF
14459 /* end confdefs.h. */
14460 #include <math.h>
14462 main ()
14464 _fmodf(0, 0);
14466 return 0;
14468 _ACEOF
14469 rm -f conftest.$ac_objext
14470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14471 (eval $ac_compile) 2>conftest.er1
14472 ac_status=$?
14473 grep -v '^ *+' conftest.er1 >conftest.err
14474 rm -f conftest.er1
14475 cat conftest.err >&5
14476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14477 (exit $ac_status); } &&
14478 { ac_try='test -z "$ac_cxx_werror_flag"
14479 || test ! -s conftest.err'
14480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14481 (eval $ac_try) 2>&5
14482 ac_status=$?
14483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14484 (exit $ac_status); }; } &&
14485 { ac_try='test -s conftest.$ac_objext'
14486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14487 (eval $ac_try) 2>&5
14488 ac_status=$?
14489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14490 (exit $ac_status); }; }; then
14491 glibcxx_cv_func__fmodf_use=yes
14492 else
14493 echo "$as_me: failed program was:" >&5
14494 sed 's/^/| /' conftest.$ac_ext >&5
14496 glibcxx_cv_func__fmodf_use=no
14498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14499 ac_ext=c
14500 ac_cpp='$CPP $CPPFLAGS'
14501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14509 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
14510 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
14512 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
14514 for ac_func in _fmodf
14516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14517 echo "$as_me:$LINENO: checking for $ac_func" >&5
14518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14519 if eval "test \"\${$as_ac_var+set}\" = set"; then
14520 echo $ECHO_N "(cached) $ECHO_C" >&6
14521 else
14522 if test x$gcc_no_link = xyes; then
14523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14525 { (exit 1); exit 1; }; }
14527 cat >conftest.$ac_ext <<_ACEOF
14528 /* confdefs.h. */
14529 _ACEOF
14530 cat confdefs.h >>conftest.$ac_ext
14531 cat >>conftest.$ac_ext <<_ACEOF
14532 /* end confdefs.h. */
14533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14535 #define $ac_func innocuous_$ac_func
14537 /* System header to define __stub macros and hopefully few prototypes,
14538 which can conflict with char $ac_func (); below.
14539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14540 <limits.h> exists even on freestanding compilers. */
14542 #ifdef __STDC__
14543 # include <limits.h>
14544 #else
14545 # include <assert.h>
14546 #endif
14548 #undef $ac_func
14550 /* Override any gcc2 internal prototype to avoid an error. */
14551 #ifdef __cplusplus
14552 extern "C"
14554 #endif
14555 /* We use char because int might match the return type of a gcc2
14556 builtin and then its argument prototype would still apply. */
14557 char $ac_func ();
14558 /* The GNU C library defines this for functions which it implements
14559 to always fail with ENOSYS. Some functions are actually named
14560 something starting with __ and the normal name is an alias. */
14561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14562 choke me
14563 #else
14564 char (*f) () = $ac_func;
14565 #endif
14566 #ifdef __cplusplus
14568 #endif
14571 main ()
14573 return f != $ac_func;
14575 return 0;
14577 _ACEOF
14578 rm -f conftest.$ac_objext conftest$ac_exeext
14579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14580 (eval $ac_link) 2>conftest.er1
14581 ac_status=$?
14582 grep -v '^ *+' conftest.er1 >conftest.err
14583 rm -f conftest.er1
14584 cat conftest.err >&5
14585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14586 (exit $ac_status); } &&
14587 { ac_try='test -z "$ac_c_werror_flag"
14588 || test ! -s conftest.err'
14589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14590 (eval $ac_try) 2>&5
14591 ac_status=$?
14592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14593 (exit $ac_status); }; } &&
14594 { ac_try='test -s conftest$ac_exeext'
14595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14596 (eval $ac_try) 2>&5
14597 ac_status=$?
14598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14599 (exit $ac_status); }; }; then
14600 eval "$as_ac_var=yes"
14601 else
14602 echo "$as_me: failed program was:" >&5
14603 sed 's/^/| /' conftest.$ac_ext >&5
14605 eval "$as_ac_var=no"
14607 rm -f conftest.err conftest.$ac_objext \
14608 conftest$ac_exeext conftest.$ac_ext
14610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14612 if test `eval echo '${'$as_ac_var'}'` = yes; then
14613 cat >>confdefs.h <<_ACEOF
14614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14615 _ACEOF
14618 done
14628 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
14629 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
14630 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
14631 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
14632 echo $ECHO_N "(cached) $ECHO_C" >&6
14633 else
14637 ac_ext=cc
14638 ac_cpp='$CXXCPP $CPPFLAGS'
14639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14643 cat >conftest.$ac_ext <<_ACEOF
14644 /* confdefs.h. */
14645 _ACEOF
14646 cat confdefs.h >>conftest.$ac_ext
14647 cat >>conftest.$ac_ext <<_ACEOF
14648 /* end confdefs.h. */
14649 #include <math.h>
14651 main ()
14653 frexpf(0, 0);
14655 return 0;
14657 _ACEOF
14658 rm -f conftest.$ac_objext
14659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14660 (eval $ac_compile) 2>conftest.er1
14661 ac_status=$?
14662 grep -v '^ *+' conftest.er1 >conftest.err
14663 rm -f conftest.er1
14664 cat conftest.err >&5
14665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14666 (exit $ac_status); } &&
14667 { ac_try='test -z "$ac_cxx_werror_flag"
14668 || test ! -s conftest.err'
14669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14670 (eval $ac_try) 2>&5
14671 ac_status=$?
14672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14673 (exit $ac_status); }; } &&
14674 { ac_try='test -s conftest.$ac_objext'
14675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14676 (eval $ac_try) 2>&5
14677 ac_status=$?
14678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14679 (exit $ac_status); }; }; then
14680 glibcxx_cv_func_frexpf_use=yes
14681 else
14682 echo "$as_me: failed program was:" >&5
14683 sed 's/^/| /' conftest.$ac_ext >&5
14685 glibcxx_cv_func_frexpf_use=no
14687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14688 ac_ext=c
14689 ac_cpp='$CPP $CPPFLAGS'
14690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14698 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14699 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14701 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14703 for ac_func in frexpf
14705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14706 echo "$as_me:$LINENO: checking for $ac_func" >&5
14707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14708 if eval "test \"\${$as_ac_var+set}\" = set"; then
14709 echo $ECHO_N "(cached) $ECHO_C" >&6
14710 else
14711 if test x$gcc_no_link = xyes; then
14712 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14714 { (exit 1); exit 1; }; }
14716 cat >conftest.$ac_ext <<_ACEOF
14717 /* confdefs.h. */
14718 _ACEOF
14719 cat confdefs.h >>conftest.$ac_ext
14720 cat >>conftest.$ac_ext <<_ACEOF
14721 /* end confdefs.h. */
14722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14724 #define $ac_func innocuous_$ac_func
14726 /* System header to define __stub macros and hopefully few prototypes,
14727 which can conflict with char $ac_func (); below.
14728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14729 <limits.h> exists even on freestanding compilers. */
14731 #ifdef __STDC__
14732 # include <limits.h>
14733 #else
14734 # include <assert.h>
14735 #endif
14737 #undef $ac_func
14739 /* Override any gcc2 internal prototype to avoid an error. */
14740 #ifdef __cplusplus
14741 extern "C"
14743 #endif
14744 /* We use char because int might match the return type of a gcc2
14745 builtin and then its argument prototype would still apply. */
14746 char $ac_func ();
14747 /* The GNU C library defines this for functions which it implements
14748 to always fail with ENOSYS. Some functions are actually named
14749 something starting with __ and the normal name is an alias. */
14750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14751 choke me
14752 #else
14753 char (*f) () = $ac_func;
14754 #endif
14755 #ifdef __cplusplus
14757 #endif
14760 main ()
14762 return f != $ac_func;
14764 return 0;
14766 _ACEOF
14767 rm -f conftest.$ac_objext conftest$ac_exeext
14768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14769 (eval $ac_link) 2>conftest.er1
14770 ac_status=$?
14771 grep -v '^ *+' conftest.er1 >conftest.err
14772 rm -f conftest.er1
14773 cat conftest.err >&5
14774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14775 (exit $ac_status); } &&
14776 { ac_try='test -z "$ac_c_werror_flag"
14777 || test ! -s conftest.err'
14778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14779 (eval $ac_try) 2>&5
14780 ac_status=$?
14781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14782 (exit $ac_status); }; } &&
14783 { ac_try='test -s conftest$ac_exeext'
14784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14785 (eval $ac_try) 2>&5
14786 ac_status=$?
14787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14788 (exit $ac_status); }; }; then
14789 eval "$as_ac_var=yes"
14790 else
14791 echo "$as_me: failed program was:" >&5
14792 sed 's/^/| /' conftest.$ac_ext >&5
14794 eval "$as_ac_var=no"
14796 rm -f conftest.err conftest.$ac_objext \
14797 conftest$ac_exeext conftest.$ac_ext
14799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14801 if test `eval echo '${'$as_ac_var'}'` = yes; then
14802 cat >>confdefs.h <<_ACEOF
14803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14804 _ACEOF
14807 done
14809 else
14811 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14812 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14813 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14814 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14815 echo $ECHO_N "(cached) $ECHO_C" >&6
14816 else
14820 ac_ext=cc
14821 ac_cpp='$CXXCPP $CPPFLAGS'
14822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14826 cat >conftest.$ac_ext <<_ACEOF
14827 /* confdefs.h. */
14828 _ACEOF
14829 cat confdefs.h >>conftest.$ac_ext
14830 cat >>conftest.$ac_ext <<_ACEOF
14831 /* end confdefs.h. */
14832 #include <math.h>
14834 main ()
14836 _frexpf(0, 0);
14838 return 0;
14840 _ACEOF
14841 rm -f conftest.$ac_objext
14842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14843 (eval $ac_compile) 2>conftest.er1
14844 ac_status=$?
14845 grep -v '^ *+' conftest.er1 >conftest.err
14846 rm -f conftest.er1
14847 cat conftest.err >&5
14848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14849 (exit $ac_status); } &&
14850 { ac_try='test -z "$ac_cxx_werror_flag"
14851 || test ! -s conftest.err'
14852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14853 (eval $ac_try) 2>&5
14854 ac_status=$?
14855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14856 (exit $ac_status); }; } &&
14857 { ac_try='test -s conftest.$ac_objext'
14858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14859 (eval $ac_try) 2>&5
14860 ac_status=$?
14861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14862 (exit $ac_status); }; }; then
14863 glibcxx_cv_func__frexpf_use=yes
14864 else
14865 echo "$as_me: failed program was:" >&5
14866 sed 's/^/| /' conftest.$ac_ext >&5
14868 glibcxx_cv_func__frexpf_use=no
14870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14871 ac_ext=c
14872 ac_cpp='$CPP $CPPFLAGS'
14873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14881 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14882 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14884 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14886 for ac_func in _frexpf
14888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14889 echo "$as_me:$LINENO: checking for $ac_func" >&5
14890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14891 if eval "test \"\${$as_ac_var+set}\" = set"; then
14892 echo $ECHO_N "(cached) $ECHO_C" >&6
14893 else
14894 if test x$gcc_no_link = xyes; then
14895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14897 { (exit 1); exit 1; }; }
14899 cat >conftest.$ac_ext <<_ACEOF
14900 /* confdefs.h. */
14901 _ACEOF
14902 cat confdefs.h >>conftest.$ac_ext
14903 cat >>conftest.$ac_ext <<_ACEOF
14904 /* end confdefs.h. */
14905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14907 #define $ac_func innocuous_$ac_func
14909 /* System header to define __stub macros and hopefully few prototypes,
14910 which can conflict with char $ac_func (); below.
14911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14912 <limits.h> exists even on freestanding compilers. */
14914 #ifdef __STDC__
14915 # include <limits.h>
14916 #else
14917 # include <assert.h>
14918 #endif
14920 #undef $ac_func
14922 /* Override any gcc2 internal prototype to avoid an error. */
14923 #ifdef __cplusplus
14924 extern "C"
14926 #endif
14927 /* We use char because int might match the return type of a gcc2
14928 builtin and then its argument prototype would still apply. */
14929 char $ac_func ();
14930 /* The GNU C library defines this for functions which it implements
14931 to always fail with ENOSYS. Some functions are actually named
14932 something starting with __ and the normal name is an alias. */
14933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14934 choke me
14935 #else
14936 char (*f) () = $ac_func;
14937 #endif
14938 #ifdef __cplusplus
14940 #endif
14943 main ()
14945 return f != $ac_func;
14947 return 0;
14949 _ACEOF
14950 rm -f conftest.$ac_objext conftest$ac_exeext
14951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14952 (eval $ac_link) 2>conftest.er1
14953 ac_status=$?
14954 grep -v '^ *+' conftest.er1 >conftest.err
14955 rm -f conftest.er1
14956 cat conftest.err >&5
14957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14958 (exit $ac_status); } &&
14959 { ac_try='test -z "$ac_c_werror_flag"
14960 || test ! -s conftest.err'
14961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14962 (eval $ac_try) 2>&5
14963 ac_status=$?
14964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14965 (exit $ac_status); }; } &&
14966 { ac_try='test -s conftest$ac_exeext'
14967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14968 (eval $ac_try) 2>&5
14969 ac_status=$?
14970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14971 (exit $ac_status); }; }; then
14972 eval "$as_ac_var=yes"
14973 else
14974 echo "$as_me: failed program was:" >&5
14975 sed 's/^/| /' conftest.$ac_ext >&5
14977 eval "$as_ac_var=no"
14979 rm -f conftest.err conftest.$ac_objext \
14980 conftest$ac_exeext conftest.$ac_ext
14982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14984 if test `eval echo '${'$as_ac_var'}'` = yes; then
14985 cat >>confdefs.h <<_ACEOF
14986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14987 _ACEOF
14990 done
15000 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
15001 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
15002 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
15003 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
15004 echo $ECHO_N "(cached) $ECHO_C" >&6
15005 else
15009 ac_ext=cc
15010 ac_cpp='$CXXCPP $CPPFLAGS'
15011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15015 cat >conftest.$ac_ext <<_ACEOF
15016 /* confdefs.h. */
15017 _ACEOF
15018 cat confdefs.h >>conftest.$ac_ext
15019 cat >>conftest.$ac_ext <<_ACEOF
15020 /* end confdefs.h. */
15021 #include <math.h>
15023 main ()
15025 hypotf(0, 0);
15027 return 0;
15029 _ACEOF
15030 rm -f conftest.$ac_objext
15031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15032 (eval $ac_compile) 2>conftest.er1
15033 ac_status=$?
15034 grep -v '^ *+' conftest.er1 >conftest.err
15035 rm -f conftest.er1
15036 cat conftest.err >&5
15037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15038 (exit $ac_status); } &&
15039 { ac_try='test -z "$ac_cxx_werror_flag"
15040 || test ! -s conftest.err'
15041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15042 (eval $ac_try) 2>&5
15043 ac_status=$?
15044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15045 (exit $ac_status); }; } &&
15046 { ac_try='test -s conftest.$ac_objext'
15047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15048 (eval $ac_try) 2>&5
15049 ac_status=$?
15050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15051 (exit $ac_status); }; }; then
15052 glibcxx_cv_func_hypotf_use=yes
15053 else
15054 echo "$as_me: failed program was:" >&5
15055 sed 's/^/| /' conftest.$ac_ext >&5
15057 glibcxx_cv_func_hypotf_use=no
15059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15060 ac_ext=c
15061 ac_cpp='$CPP $CPPFLAGS'
15062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15070 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
15071 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
15073 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
15075 for ac_func in hypotf
15077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15078 echo "$as_me:$LINENO: checking for $ac_func" >&5
15079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15080 if eval "test \"\${$as_ac_var+set}\" = set"; then
15081 echo $ECHO_N "(cached) $ECHO_C" >&6
15082 else
15083 if test x$gcc_no_link = xyes; then
15084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15086 { (exit 1); exit 1; }; }
15088 cat >conftest.$ac_ext <<_ACEOF
15089 /* confdefs.h. */
15090 _ACEOF
15091 cat confdefs.h >>conftest.$ac_ext
15092 cat >>conftest.$ac_ext <<_ACEOF
15093 /* end confdefs.h. */
15094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15096 #define $ac_func innocuous_$ac_func
15098 /* System header to define __stub macros and hopefully few prototypes,
15099 which can conflict with char $ac_func (); below.
15100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15101 <limits.h> exists even on freestanding compilers. */
15103 #ifdef __STDC__
15104 # include <limits.h>
15105 #else
15106 # include <assert.h>
15107 #endif
15109 #undef $ac_func
15111 /* Override any gcc2 internal prototype to avoid an error. */
15112 #ifdef __cplusplus
15113 extern "C"
15115 #endif
15116 /* We use char because int might match the return type of a gcc2
15117 builtin and then its argument prototype would still apply. */
15118 char $ac_func ();
15119 /* The GNU C library defines this for functions which it implements
15120 to always fail with ENOSYS. Some functions are actually named
15121 something starting with __ and the normal name is an alias. */
15122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15123 choke me
15124 #else
15125 char (*f) () = $ac_func;
15126 #endif
15127 #ifdef __cplusplus
15129 #endif
15132 main ()
15134 return f != $ac_func;
15136 return 0;
15138 _ACEOF
15139 rm -f conftest.$ac_objext conftest$ac_exeext
15140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15141 (eval $ac_link) 2>conftest.er1
15142 ac_status=$?
15143 grep -v '^ *+' conftest.er1 >conftest.err
15144 rm -f conftest.er1
15145 cat conftest.err >&5
15146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15147 (exit $ac_status); } &&
15148 { ac_try='test -z "$ac_c_werror_flag"
15149 || test ! -s conftest.err'
15150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15151 (eval $ac_try) 2>&5
15152 ac_status=$?
15153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15154 (exit $ac_status); }; } &&
15155 { ac_try='test -s conftest$ac_exeext'
15156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15157 (eval $ac_try) 2>&5
15158 ac_status=$?
15159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15160 (exit $ac_status); }; }; then
15161 eval "$as_ac_var=yes"
15162 else
15163 echo "$as_me: failed program was:" >&5
15164 sed 's/^/| /' conftest.$ac_ext >&5
15166 eval "$as_ac_var=no"
15168 rm -f conftest.err conftest.$ac_objext \
15169 conftest$ac_exeext conftest.$ac_ext
15171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15173 if test `eval echo '${'$as_ac_var'}'` = yes; then
15174 cat >>confdefs.h <<_ACEOF
15175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15176 _ACEOF
15179 done
15181 else
15183 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
15184 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
15185 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
15186 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
15187 echo $ECHO_N "(cached) $ECHO_C" >&6
15188 else
15192 ac_ext=cc
15193 ac_cpp='$CXXCPP $CPPFLAGS'
15194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15198 cat >conftest.$ac_ext <<_ACEOF
15199 /* confdefs.h. */
15200 _ACEOF
15201 cat confdefs.h >>conftest.$ac_ext
15202 cat >>conftest.$ac_ext <<_ACEOF
15203 /* end confdefs.h. */
15204 #include <math.h>
15206 main ()
15208 _hypotf(0, 0);
15210 return 0;
15212 _ACEOF
15213 rm -f conftest.$ac_objext
15214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15215 (eval $ac_compile) 2>conftest.er1
15216 ac_status=$?
15217 grep -v '^ *+' conftest.er1 >conftest.err
15218 rm -f conftest.er1
15219 cat conftest.err >&5
15220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15221 (exit $ac_status); } &&
15222 { ac_try='test -z "$ac_cxx_werror_flag"
15223 || test ! -s conftest.err'
15224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15225 (eval $ac_try) 2>&5
15226 ac_status=$?
15227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15228 (exit $ac_status); }; } &&
15229 { ac_try='test -s conftest.$ac_objext'
15230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15231 (eval $ac_try) 2>&5
15232 ac_status=$?
15233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15234 (exit $ac_status); }; }; then
15235 glibcxx_cv_func__hypotf_use=yes
15236 else
15237 echo "$as_me: failed program was:" >&5
15238 sed 's/^/| /' conftest.$ac_ext >&5
15240 glibcxx_cv_func__hypotf_use=no
15242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15243 ac_ext=c
15244 ac_cpp='$CPP $CPPFLAGS'
15245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15253 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
15254 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
15256 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
15258 for ac_func in _hypotf
15260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15261 echo "$as_me:$LINENO: checking for $ac_func" >&5
15262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15263 if eval "test \"\${$as_ac_var+set}\" = set"; then
15264 echo $ECHO_N "(cached) $ECHO_C" >&6
15265 else
15266 if test x$gcc_no_link = xyes; then
15267 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15269 { (exit 1); exit 1; }; }
15271 cat >conftest.$ac_ext <<_ACEOF
15272 /* confdefs.h. */
15273 _ACEOF
15274 cat confdefs.h >>conftest.$ac_ext
15275 cat >>conftest.$ac_ext <<_ACEOF
15276 /* end confdefs.h. */
15277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15279 #define $ac_func innocuous_$ac_func
15281 /* System header to define __stub macros and hopefully few prototypes,
15282 which can conflict with char $ac_func (); below.
15283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15284 <limits.h> exists even on freestanding compilers. */
15286 #ifdef __STDC__
15287 # include <limits.h>
15288 #else
15289 # include <assert.h>
15290 #endif
15292 #undef $ac_func
15294 /* Override any gcc2 internal prototype to avoid an error. */
15295 #ifdef __cplusplus
15296 extern "C"
15298 #endif
15299 /* We use char because int might match the return type of a gcc2
15300 builtin and then its argument prototype would still apply. */
15301 char $ac_func ();
15302 /* The GNU C library defines this for functions which it implements
15303 to always fail with ENOSYS. Some functions are actually named
15304 something starting with __ and the normal name is an alias. */
15305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15306 choke me
15307 #else
15308 char (*f) () = $ac_func;
15309 #endif
15310 #ifdef __cplusplus
15312 #endif
15315 main ()
15317 return f != $ac_func;
15319 return 0;
15321 _ACEOF
15322 rm -f conftest.$ac_objext conftest$ac_exeext
15323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15324 (eval $ac_link) 2>conftest.er1
15325 ac_status=$?
15326 grep -v '^ *+' conftest.er1 >conftest.err
15327 rm -f conftest.er1
15328 cat conftest.err >&5
15329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15330 (exit $ac_status); } &&
15331 { ac_try='test -z "$ac_c_werror_flag"
15332 || test ! -s conftest.err'
15333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15334 (eval $ac_try) 2>&5
15335 ac_status=$?
15336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15337 (exit $ac_status); }; } &&
15338 { ac_try='test -s conftest$ac_exeext'
15339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15340 (eval $ac_try) 2>&5
15341 ac_status=$?
15342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15343 (exit $ac_status); }; }; then
15344 eval "$as_ac_var=yes"
15345 else
15346 echo "$as_me: failed program was:" >&5
15347 sed 's/^/| /' conftest.$ac_ext >&5
15349 eval "$as_ac_var=no"
15351 rm -f conftest.err conftest.$ac_objext \
15352 conftest$ac_exeext conftest.$ac_ext
15354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15356 if test `eval echo '${'$as_ac_var'}'` = yes; then
15357 cat >>confdefs.h <<_ACEOF
15358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15359 _ACEOF
15362 done
15372 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
15373 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
15374 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
15375 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
15376 echo $ECHO_N "(cached) $ECHO_C" >&6
15377 else
15381 ac_ext=cc
15382 ac_cpp='$CXXCPP $CPPFLAGS'
15383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15387 cat >conftest.$ac_ext <<_ACEOF
15388 /* confdefs.h. */
15389 _ACEOF
15390 cat confdefs.h >>conftest.$ac_ext
15391 cat >>conftest.$ac_ext <<_ACEOF
15392 /* end confdefs.h. */
15393 #include <math.h>
15395 main ()
15397 ldexpf(0, 0);
15399 return 0;
15401 _ACEOF
15402 rm -f conftest.$ac_objext
15403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15404 (eval $ac_compile) 2>conftest.er1
15405 ac_status=$?
15406 grep -v '^ *+' conftest.er1 >conftest.err
15407 rm -f conftest.er1
15408 cat conftest.err >&5
15409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15410 (exit $ac_status); } &&
15411 { ac_try='test -z "$ac_cxx_werror_flag"
15412 || test ! -s conftest.err'
15413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15414 (eval $ac_try) 2>&5
15415 ac_status=$?
15416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15417 (exit $ac_status); }; } &&
15418 { ac_try='test -s conftest.$ac_objext'
15419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15420 (eval $ac_try) 2>&5
15421 ac_status=$?
15422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15423 (exit $ac_status); }; }; then
15424 glibcxx_cv_func_ldexpf_use=yes
15425 else
15426 echo "$as_me: failed program was:" >&5
15427 sed 's/^/| /' conftest.$ac_ext >&5
15429 glibcxx_cv_func_ldexpf_use=no
15431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15432 ac_ext=c
15433 ac_cpp='$CPP $CPPFLAGS'
15434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15442 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
15443 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
15445 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
15447 for ac_func in ldexpf
15449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15450 echo "$as_me:$LINENO: checking for $ac_func" >&5
15451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15452 if eval "test \"\${$as_ac_var+set}\" = set"; then
15453 echo $ECHO_N "(cached) $ECHO_C" >&6
15454 else
15455 if test x$gcc_no_link = xyes; then
15456 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15458 { (exit 1); exit 1; }; }
15460 cat >conftest.$ac_ext <<_ACEOF
15461 /* confdefs.h. */
15462 _ACEOF
15463 cat confdefs.h >>conftest.$ac_ext
15464 cat >>conftest.$ac_ext <<_ACEOF
15465 /* end confdefs.h. */
15466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15467 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15468 #define $ac_func innocuous_$ac_func
15470 /* System header to define __stub macros and hopefully few prototypes,
15471 which can conflict with char $ac_func (); below.
15472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15473 <limits.h> exists even on freestanding compilers. */
15475 #ifdef __STDC__
15476 # include <limits.h>
15477 #else
15478 # include <assert.h>
15479 #endif
15481 #undef $ac_func
15483 /* Override any gcc2 internal prototype to avoid an error. */
15484 #ifdef __cplusplus
15485 extern "C"
15487 #endif
15488 /* We use char because int might match the return type of a gcc2
15489 builtin and then its argument prototype would still apply. */
15490 char $ac_func ();
15491 /* The GNU C library defines this for functions which it implements
15492 to always fail with ENOSYS. Some functions are actually named
15493 something starting with __ and the normal name is an alias. */
15494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15495 choke me
15496 #else
15497 char (*f) () = $ac_func;
15498 #endif
15499 #ifdef __cplusplus
15501 #endif
15504 main ()
15506 return f != $ac_func;
15508 return 0;
15510 _ACEOF
15511 rm -f conftest.$ac_objext conftest$ac_exeext
15512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15513 (eval $ac_link) 2>conftest.er1
15514 ac_status=$?
15515 grep -v '^ *+' conftest.er1 >conftest.err
15516 rm -f conftest.er1
15517 cat conftest.err >&5
15518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15519 (exit $ac_status); } &&
15520 { ac_try='test -z "$ac_c_werror_flag"
15521 || test ! -s conftest.err'
15522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15523 (eval $ac_try) 2>&5
15524 ac_status=$?
15525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15526 (exit $ac_status); }; } &&
15527 { ac_try='test -s conftest$ac_exeext'
15528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15529 (eval $ac_try) 2>&5
15530 ac_status=$?
15531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15532 (exit $ac_status); }; }; then
15533 eval "$as_ac_var=yes"
15534 else
15535 echo "$as_me: failed program was:" >&5
15536 sed 's/^/| /' conftest.$ac_ext >&5
15538 eval "$as_ac_var=no"
15540 rm -f conftest.err conftest.$ac_objext \
15541 conftest$ac_exeext conftest.$ac_ext
15543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15545 if test `eval echo '${'$as_ac_var'}'` = yes; then
15546 cat >>confdefs.h <<_ACEOF
15547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15548 _ACEOF
15551 done
15553 else
15555 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
15556 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
15557 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
15558 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
15559 echo $ECHO_N "(cached) $ECHO_C" >&6
15560 else
15564 ac_ext=cc
15565 ac_cpp='$CXXCPP $CPPFLAGS'
15566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15570 cat >conftest.$ac_ext <<_ACEOF
15571 /* confdefs.h. */
15572 _ACEOF
15573 cat confdefs.h >>conftest.$ac_ext
15574 cat >>conftest.$ac_ext <<_ACEOF
15575 /* end confdefs.h. */
15576 #include <math.h>
15578 main ()
15580 _ldexpf(0, 0);
15582 return 0;
15584 _ACEOF
15585 rm -f conftest.$ac_objext
15586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15587 (eval $ac_compile) 2>conftest.er1
15588 ac_status=$?
15589 grep -v '^ *+' conftest.er1 >conftest.err
15590 rm -f conftest.er1
15591 cat conftest.err >&5
15592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15593 (exit $ac_status); } &&
15594 { ac_try='test -z "$ac_cxx_werror_flag"
15595 || test ! -s conftest.err'
15596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15597 (eval $ac_try) 2>&5
15598 ac_status=$?
15599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15600 (exit $ac_status); }; } &&
15601 { ac_try='test -s conftest.$ac_objext'
15602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15603 (eval $ac_try) 2>&5
15604 ac_status=$?
15605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15606 (exit $ac_status); }; }; then
15607 glibcxx_cv_func__ldexpf_use=yes
15608 else
15609 echo "$as_me: failed program was:" >&5
15610 sed 's/^/| /' conftest.$ac_ext >&5
15612 glibcxx_cv_func__ldexpf_use=no
15614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15615 ac_ext=c
15616 ac_cpp='$CPP $CPPFLAGS'
15617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15625 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
15626 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
15628 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
15630 for ac_func in _ldexpf
15632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15633 echo "$as_me:$LINENO: checking for $ac_func" >&5
15634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15635 if eval "test \"\${$as_ac_var+set}\" = set"; then
15636 echo $ECHO_N "(cached) $ECHO_C" >&6
15637 else
15638 if test x$gcc_no_link = xyes; then
15639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15641 { (exit 1); exit 1; }; }
15643 cat >conftest.$ac_ext <<_ACEOF
15644 /* confdefs.h. */
15645 _ACEOF
15646 cat confdefs.h >>conftest.$ac_ext
15647 cat >>conftest.$ac_ext <<_ACEOF
15648 /* end confdefs.h. */
15649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15651 #define $ac_func innocuous_$ac_func
15653 /* System header to define __stub macros and hopefully few prototypes,
15654 which can conflict with char $ac_func (); below.
15655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15656 <limits.h> exists even on freestanding compilers. */
15658 #ifdef __STDC__
15659 # include <limits.h>
15660 #else
15661 # include <assert.h>
15662 #endif
15664 #undef $ac_func
15666 /* Override any gcc2 internal prototype to avoid an error. */
15667 #ifdef __cplusplus
15668 extern "C"
15670 #endif
15671 /* We use char because int might match the return type of a gcc2
15672 builtin and then its argument prototype would still apply. */
15673 char $ac_func ();
15674 /* The GNU C library defines this for functions which it implements
15675 to always fail with ENOSYS. Some functions are actually named
15676 something starting with __ and the normal name is an alias. */
15677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15678 choke me
15679 #else
15680 char (*f) () = $ac_func;
15681 #endif
15682 #ifdef __cplusplus
15684 #endif
15687 main ()
15689 return f != $ac_func;
15691 return 0;
15693 _ACEOF
15694 rm -f conftest.$ac_objext conftest$ac_exeext
15695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15696 (eval $ac_link) 2>conftest.er1
15697 ac_status=$?
15698 grep -v '^ *+' conftest.er1 >conftest.err
15699 rm -f conftest.er1
15700 cat conftest.err >&5
15701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15702 (exit $ac_status); } &&
15703 { ac_try='test -z "$ac_c_werror_flag"
15704 || test ! -s conftest.err'
15705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15706 (eval $ac_try) 2>&5
15707 ac_status=$?
15708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15709 (exit $ac_status); }; } &&
15710 { ac_try='test -s conftest$ac_exeext'
15711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15712 (eval $ac_try) 2>&5
15713 ac_status=$?
15714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15715 (exit $ac_status); }; }; then
15716 eval "$as_ac_var=yes"
15717 else
15718 echo "$as_me: failed program was:" >&5
15719 sed 's/^/| /' conftest.$ac_ext >&5
15721 eval "$as_ac_var=no"
15723 rm -f conftest.err conftest.$ac_objext \
15724 conftest$ac_exeext conftest.$ac_ext
15726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15728 if test `eval echo '${'$as_ac_var'}'` = yes; then
15729 cat >>confdefs.h <<_ACEOF
15730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15731 _ACEOF
15734 done
15744 echo "$as_me:$LINENO: checking for logf declaration" >&5
15745 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15746 if test x${glibcxx_cv_func_logf_use+set} != xset; then
15747 if test "${glibcxx_cv_func_logf_use+set}" = set; then
15748 echo $ECHO_N "(cached) $ECHO_C" >&6
15749 else
15753 ac_ext=cc
15754 ac_cpp='$CXXCPP $CPPFLAGS'
15755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15759 cat >conftest.$ac_ext <<_ACEOF
15760 /* confdefs.h. */
15761 _ACEOF
15762 cat confdefs.h >>conftest.$ac_ext
15763 cat >>conftest.$ac_ext <<_ACEOF
15764 /* end confdefs.h. */
15765 #include <math.h>
15766 #ifdef HAVE_IEEEFP_H
15767 #include <ieeefp.h>
15768 #endif
15771 main ()
15773 logf(0);
15775 return 0;
15777 _ACEOF
15778 rm -f conftest.$ac_objext
15779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15780 (eval $ac_compile) 2>conftest.er1
15781 ac_status=$?
15782 grep -v '^ *+' conftest.er1 >conftest.err
15783 rm -f conftest.er1
15784 cat conftest.err >&5
15785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15786 (exit $ac_status); } &&
15787 { ac_try='test -z "$ac_cxx_werror_flag"
15788 || test ! -s conftest.err'
15789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15790 (eval $ac_try) 2>&5
15791 ac_status=$?
15792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15793 (exit $ac_status); }; } &&
15794 { ac_try='test -s conftest.$ac_objext'
15795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15796 (eval $ac_try) 2>&5
15797 ac_status=$?
15798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15799 (exit $ac_status); }; }; then
15800 glibcxx_cv_func_logf_use=yes
15801 else
15802 echo "$as_me: failed program was:" >&5
15803 sed 's/^/| /' conftest.$ac_ext >&5
15805 glibcxx_cv_func_logf_use=no
15807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15808 ac_ext=c
15809 ac_cpp='$CPP $CPPFLAGS'
15810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15818 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15819 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15821 if test x$glibcxx_cv_func_logf_use = x"yes"; then
15823 for ac_func in logf
15825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15826 echo "$as_me:$LINENO: checking for $ac_func" >&5
15827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15828 if eval "test \"\${$as_ac_var+set}\" = set"; then
15829 echo $ECHO_N "(cached) $ECHO_C" >&6
15830 else
15831 if test x$gcc_no_link = xyes; then
15832 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15834 { (exit 1); exit 1; }; }
15836 cat >conftest.$ac_ext <<_ACEOF
15837 /* confdefs.h. */
15838 _ACEOF
15839 cat confdefs.h >>conftest.$ac_ext
15840 cat >>conftest.$ac_ext <<_ACEOF
15841 /* end confdefs.h. */
15842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15844 #define $ac_func innocuous_$ac_func
15846 /* System header to define __stub macros and hopefully few prototypes,
15847 which can conflict with char $ac_func (); below.
15848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15849 <limits.h> exists even on freestanding compilers. */
15851 #ifdef __STDC__
15852 # include <limits.h>
15853 #else
15854 # include <assert.h>
15855 #endif
15857 #undef $ac_func
15859 /* Override any gcc2 internal prototype to avoid an error. */
15860 #ifdef __cplusplus
15861 extern "C"
15863 #endif
15864 /* We use char because int might match the return type of a gcc2
15865 builtin and then its argument prototype would still apply. */
15866 char $ac_func ();
15867 /* The GNU C library defines this for functions which it implements
15868 to always fail with ENOSYS. Some functions are actually named
15869 something starting with __ and the normal name is an alias. */
15870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15871 choke me
15872 #else
15873 char (*f) () = $ac_func;
15874 #endif
15875 #ifdef __cplusplus
15877 #endif
15880 main ()
15882 return f != $ac_func;
15884 return 0;
15886 _ACEOF
15887 rm -f conftest.$ac_objext conftest$ac_exeext
15888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15889 (eval $ac_link) 2>conftest.er1
15890 ac_status=$?
15891 grep -v '^ *+' conftest.er1 >conftest.err
15892 rm -f conftest.er1
15893 cat conftest.err >&5
15894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15895 (exit $ac_status); } &&
15896 { ac_try='test -z "$ac_c_werror_flag"
15897 || test ! -s conftest.err'
15898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15899 (eval $ac_try) 2>&5
15900 ac_status=$?
15901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15902 (exit $ac_status); }; } &&
15903 { ac_try='test -s conftest$ac_exeext'
15904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15905 (eval $ac_try) 2>&5
15906 ac_status=$?
15907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15908 (exit $ac_status); }; }; then
15909 eval "$as_ac_var=yes"
15910 else
15911 echo "$as_me: failed program was:" >&5
15912 sed 's/^/| /' conftest.$ac_ext >&5
15914 eval "$as_ac_var=no"
15916 rm -f conftest.err conftest.$ac_objext \
15917 conftest$ac_exeext conftest.$ac_ext
15919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15920 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15921 if test `eval echo '${'$as_ac_var'}'` = yes; then
15922 cat >>confdefs.h <<_ACEOF
15923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15924 _ACEOF
15927 done
15929 else
15931 echo "$as_me:$LINENO: checking for _logf declaration" >&5
15932 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15933 if test x${glibcxx_cv_func__logf_use+set} != xset; then
15934 if test "${glibcxx_cv_func__logf_use+set}" = set; then
15935 echo $ECHO_N "(cached) $ECHO_C" >&6
15936 else
15940 ac_ext=cc
15941 ac_cpp='$CXXCPP $CPPFLAGS'
15942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15946 cat >conftest.$ac_ext <<_ACEOF
15947 /* confdefs.h. */
15948 _ACEOF
15949 cat confdefs.h >>conftest.$ac_ext
15950 cat >>conftest.$ac_ext <<_ACEOF
15951 /* end confdefs.h. */
15952 #include <math.h>
15953 #ifdef HAVE_IEEEFP_H
15954 #include <ieeefp.h>
15955 #endif
15958 main ()
15960 _logf(0);
15962 return 0;
15964 _ACEOF
15965 rm -f conftest.$ac_objext
15966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15967 (eval $ac_compile) 2>conftest.er1
15968 ac_status=$?
15969 grep -v '^ *+' conftest.er1 >conftest.err
15970 rm -f conftest.er1
15971 cat conftest.err >&5
15972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15973 (exit $ac_status); } &&
15974 { ac_try='test -z "$ac_cxx_werror_flag"
15975 || test ! -s conftest.err'
15976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15977 (eval $ac_try) 2>&5
15978 ac_status=$?
15979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15980 (exit $ac_status); }; } &&
15981 { ac_try='test -s conftest.$ac_objext'
15982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15983 (eval $ac_try) 2>&5
15984 ac_status=$?
15985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15986 (exit $ac_status); }; }; then
15987 glibcxx_cv_func__logf_use=yes
15988 else
15989 echo "$as_me: failed program was:" >&5
15990 sed 's/^/| /' conftest.$ac_ext >&5
15992 glibcxx_cv_func__logf_use=no
15994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15995 ac_ext=c
15996 ac_cpp='$CPP $CPPFLAGS'
15997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16005 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
16006 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
16008 if test x$glibcxx_cv_func__logf_use = x"yes"; then
16010 for ac_func in _logf
16012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16013 echo "$as_me:$LINENO: checking for $ac_func" >&5
16014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16015 if eval "test \"\${$as_ac_var+set}\" = set"; then
16016 echo $ECHO_N "(cached) $ECHO_C" >&6
16017 else
16018 if test x$gcc_no_link = xyes; then
16019 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16021 { (exit 1); exit 1; }; }
16023 cat >conftest.$ac_ext <<_ACEOF
16024 /* confdefs.h. */
16025 _ACEOF
16026 cat confdefs.h >>conftest.$ac_ext
16027 cat >>conftest.$ac_ext <<_ACEOF
16028 /* end confdefs.h. */
16029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16031 #define $ac_func innocuous_$ac_func
16033 /* System header to define __stub macros and hopefully few prototypes,
16034 which can conflict with char $ac_func (); below.
16035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16036 <limits.h> exists even on freestanding compilers. */
16038 #ifdef __STDC__
16039 # include <limits.h>
16040 #else
16041 # include <assert.h>
16042 #endif
16044 #undef $ac_func
16046 /* Override any gcc2 internal prototype to avoid an error. */
16047 #ifdef __cplusplus
16048 extern "C"
16050 #endif
16051 /* We use char because int might match the return type of a gcc2
16052 builtin and then its argument prototype would still apply. */
16053 char $ac_func ();
16054 /* The GNU C library defines this for functions which it implements
16055 to always fail with ENOSYS. Some functions are actually named
16056 something starting with __ and the normal name is an alias. */
16057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16058 choke me
16059 #else
16060 char (*f) () = $ac_func;
16061 #endif
16062 #ifdef __cplusplus
16064 #endif
16067 main ()
16069 return f != $ac_func;
16071 return 0;
16073 _ACEOF
16074 rm -f conftest.$ac_objext conftest$ac_exeext
16075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16076 (eval $ac_link) 2>conftest.er1
16077 ac_status=$?
16078 grep -v '^ *+' conftest.er1 >conftest.err
16079 rm -f conftest.er1
16080 cat conftest.err >&5
16081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082 (exit $ac_status); } &&
16083 { ac_try='test -z "$ac_c_werror_flag"
16084 || test ! -s conftest.err'
16085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16086 (eval $ac_try) 2>&5
16087 ac_status=$?
16088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16089 (exit $ac_status); }; } &&
16090 { ac_try='test -s conftest$ac_exeext'
16091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16092 (eval $ac_try) 2>&5
16093 ac_status=$?
16094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16095 (exit $ac_status); }; }; then
16096 eval "$as_ac_var=yes"
16097 else
16098 echo "$as_me: failed program was:" >&5
16099 sed 's/^/| /' conftest.$ac_ext >&5
16101 eval "$as_ac_var=no"
16103 rm -f conftest.err conftest.$ac_objext \
16104 conftest$ac_exeext conftest.$ac_ext
16106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16108 if test `eval echo '${'$as_ac_var'}'` = yes; then
16109 cat >>confdefs.h <<_ACEOF
16110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16111 _ACEOF
16114 done
16124 echo "$as_me:$LINENO: checking for log10f declaration" >&5
16125 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
16126 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
16127 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
16128 echo $ECHO_N "(cached) $ECHO_C" >&6
16129 else
16133 ac_ext=cc
16134 ac_cpp='$CXXCPP $CPPFLAGS'
16135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16139 cat >conftest.$ac_ext <<_ACEOF
16140 /* confdefs.h. */
16141 _ACEOF
16142 cat confdefs.h >>conftest.$ac_ext
16143 cat >>conftest.$ac_ext <<_ACEOF
16144 /* end confdefs.h. */
16145 #include <math.h>
16146 #ifdef HAVE_IEEEFP_H
16147 #include <ieeefp.h>
16148 #endif
16151 main ()
16153 log10f(0);
16155 return 0;
16157 _ACEOF
16158 rm -f conftest.$ac_objext
16159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16160 (eval $ac_compile) 2>conftest.er1
16161 ac_status=$?
16162 grep -v '^ *+' conftest.er1 >conftest.err
16163 rm -f conftest.er1
16164 cat conftest.err >&5
16165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16166 (exit $ac_status); } &&
16167 { ac_try='test -z "$ac_cxx_werror_flag"
16168 || test ! -s conftest.err'
16169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16170 (eval $ac_try) 2>&5
16171 ac_status=$?
16172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16173 (exit $ac_status); }; } &&
16174 { ac_try='test -s conftest.$ac_objext'
16175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16176 (eval $ac_try) 2>&5
16177 ac_status=$?
16178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16179 (exit $ac_status); }; }; then
16180 glibcxx_cv_func_log10f_use=yes
16181 else
16182 echo "$as_me: failed program was:" >&5
16183 sed 's/^/| /' conftest.$ac_ext >&5
16185 glibcxx_cv_func_log10f_use=no
16187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16188 ac_ext=c
16189 ac_cpp='$CPP $CPPFLAGS'
16190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16198 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
16199 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
16201 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
16203 for ac_func in log10f
16205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16206 echo "$as_me:$LINENO: checking for $ac_func" >&5
16207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16208 if eval "test \"\${$as_ac_var+set}\" = set"; then
16209 echo $ECHO_N "(cached) $ECHO_C" >&6
16210 else
16211 if test x$gcc_no_link = xyes; then
16212 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16214 { (exit 1); exit 1; }; }
16216 cat >conftest.$ac_ext <<_ACEOF
16217 /* confdefs.h. */
16218 _ACEOF
16219 cat confdefs.h >>conftest.$ac_ext
16220 cat >>conftest.$ac_ext <<_ACEOF
16221 /* end confdefs.h. */
16222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16224 #define $ac_func innocuous_$ac_func
16226 /* System header to define __stub macros and hopefully few prototypes,
16227 which can conflict with char $ac_func (); below.
16228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16229 <limits.h> exists even on freestanding compilers. */
16231 #ifdef __STDC__
16232 # include <limits.h>
16233 #else
16234 # include <assert.h>
16235 #endif
16237 #undef $ac_func
16239 /* Override any gcc2 internal prototype to avoid an error. */
16240 #ifdef __cplusplus
16241 extern "C"
16243 #endif
16244 /* We use char because int might match the return type of a gcc2
16245 builtin and then its argument prototype would still apply. */
16246 char $ac_func ();
16247 /* The GNU C library defines this for functions which it implements
16248 to always fail with ENOSYS. Some functions are actually named
16249 something starting with __ and the normal name is an alias. */
16250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16251 choke me
16252 #else
16253 char (*f) () = $ac_func;
16254 #endif
16255 #ifdef __cplusplus
16257 #endif
16260 main ()
16262 return f != $ac_func;
16264 return 0;
16266 _ACEOF
16267 rm -f conftest.$ac_objext conftest$ac_exeext
16268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16269 (eval $ac_link) 2>conftest.er1
16270 ac_status=$?
16271 grep -v '^ *+' conftest.er1 >conftest.err
16272 rm -f conftest.er1
16273 cat conftest.err >&5
16274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16275 (exit $ac_status); } &&
16276 { ac_try='test -z "$ac_c_werror_flag"
16277 || test ! -s conftest.err'
16278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16279 (eval $ac_try) 2>&5
16280 ac_status=$?
16281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16282 (exit $ac_status); }; } &&
16283 { ac_try='test -s conftest$ac_exeext'
16284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16285 (eval $ac_try) 2>&5
16286 ac_status=$?
16287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16288 (exit $ac_status); }; }; then
16289 eval "$as_ac_var=yes"
16290 else
16291 echo "$as_me: failed program was:" >&5
16292 sed 's/^/| /' conftest.$ac_ext >&5
16294 eval "$as_ac_var=no"
16296 rm -f conftest.err conftest.$ac_objext \
16297 conftest$ac_exeext conftest.$ac_ext
16299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16301 if test `eval echo '${'$as_ac_var'}'` = yes; then
16302 cat >>confdefs.h <<_ACEOF
16303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16304 _ACEOF
16307 done
16309 else
16311 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
16312 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
16313 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
16314 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
16315 echo $ECHO_N "(cached) $ECHO_C" >&6
16316 else
16320 ac_ext=cc
16321 ac_cpp='$CXXCPP $CPPFLAGS'
16322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16326 cat >conftest.$ac_ext <<_ACEOF
16327 /* confdefs.h. */
16328 _ACEOF
16329 cat confdefs.h >>conftest.$ac_ext
16330 cat >>conftest.$ac_ext <<_ACEOF
16331 /* end confdefs.h. */
16332 #include <math.h>
16333 #ifdef HAVE_IEEEFP_H
16334 #include <ieeefp.h>
16335 #endif
16338 main ()
16340 _log10f(0);
16342 return 0;
16344 _ACEOF
16345 rm -f conftest.$ac_objext
16346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16347 (eval $ac_compile) 2>conftest.er1
16348 ac_status=$?
16349 grep -v '^ *+' conftest.er1 >conftest.err
16350 rm -f conftest.er1
16351 cat conftest.err >&5
16352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16353 (exit $ac_status); } &&
16354 { ac_try='test -z "$ac_cxx_werror_flag"
16355 || test ! -s conftest.err'
16356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16357 (eval $ac_try) 2>&5
16358 ac_status=$?
16359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16360 (exit $ac_status); }; } &&
16361 { ac_try='test -s conftest.$ac_objext'
16362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16363 (eval $ac_try) 2>&5
16364 ac_status=$?
16365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16366 (exit $ac_status); }; }; then
16367 glibcxx_cv_func__log10f_use=yes
16368 else
16369 echo "$as_me: failed program was:" >&5
16370 sed 's/^/| /' conftest.$ac_ext >&5
16372 glibcxx_cv_func__log10f_use=no
16374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16375 ac_ext=c
16376 ac_cpp='$CPP $CPPFLAGS'
16377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16385 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
16386 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
16388 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
16390 for ac_func in _log10f
16392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16393 echo "$as_me:$LINENO: checking for $ac_func" >&5
16394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16395 if eval "test \"\${$as_ac_var+set}\" = set"; then
16396 echo $ECHO_N "(cached) $ECHO_C" >&6
16397 else
16398 if test x$gcc_no_link = xyes; then
16399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16401 { (exit 1); exit 1; }; }
16403 cat >conftest.$ac_ext <<_ACEOF
16404 /* confdefs.h. */
16405 _ACEOF
16406 cat confdefs.h >>conftest.$ac_ext
16407 cat >>conftest.$ac_ext <<_ACEOF
16408 /* end confdefs.h. */
16409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16411 #define $ac_func innocuous_$ac_func
16413 /* System header to define __stub macros and hopefully few prototypes,
16414 which can conflict with char $ac_func (); below.
16415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16416 <limits.h> exists even on freestanding compilers. */
16418 #ifdef __STDC__
16419 # include <limits.h>
16420 #else
16421 # include <assert.h>
16422 #endif
16424 #undef $ac_func
16426 /* Override any gcc2 internal prototype to avoid an error. */
16427 #ifdef __cplusplus
16428 extern "C"
16430 #endif
16431 /* We use char because int might match the return type of a gcc2
16432 builtin and then its argument prototype would still apply. */
16433 char $ac_func ();
16434 /* The GNU C library defines this for functions which it implements
16435 to always fail with ENOSYS. Some functions are actually named
16436 something starting with __ and the normal name is an alias. */
16437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16438 choke me
16439 #else
16440 char (*f) () = $ac_func;
16441 #endif
16442 #ifdef __cplusplus
16444 #endif
16447 main ()
16449 return f != $ac_func;
16451 return 0;
16453 _ACEOF
16454 rm -f conftest.$ac_objext conftest$ac_exeext
16455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16456 (eval $ac_link) 2>conftest.er1
16457 ac_status=$?
16458 grep -v '^ *+' conftest.er1 >conftest.err
16459 rm -f conftest.er1
16460 cat conftest.err >&5
16461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16462 (exit $ac_status); } &&
16463 { ac_try='test -z "$ac_c_werror_flag"
16464 || test ! -s conftest.err'
16465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16466 (eval $ac_try) 2>&5
16467 ac_status=$?
16468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16469 (exit $ac_status); }; } &&
16470 { ac_try='test -s conftest$ac_exeext'
16471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16472 (eval $ac_try) 2>&5
16473 ac_status=$?
16474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16475 (exit $ac_status); }; }; then
16476 eval "$as_ac_var=yes"
16477 else
16478 echo "$as_me: failed program was:" >&5
16479 sed 's/^/| /' conftest.$ac_ext >&5
16481 eval "$as_ac_var=no"
16483 rm -f conftest.err conftest.$ac_objext \
16484 conftest$ac_exeext conftest.$ac_ext
16486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16488 if test `eval echo '${'$as_ac_var'}'` = yes; then
16489 cat >>confdefs.h <<_ACEOF
16490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16491 _ACEOF
16494 done
16504 echo "$as_me:$LINENO: checking for modff declaration" >&5
16505 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
16506 if test x${glibcxx_cv_func_modff_use+set} != xset; then
16507 if test "${glibcxx_cv_func_modff_use+set}" = set; then
16508 echo $ECHO_N "(cached) $ECHO_C" >&6
16509 else
16513 ac_ext=cc
16514 ac_cpp='$CXXCPP $CPPFLAGS'
16515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16519 cat >conftest.$ac_ext <<_ACEOF
16520 /* confdefs.h. */
16521 _ACEOF
16522 cat confdefs.h >>conftest.$ac_ext
16523 cat >>conftest.$ac_ext <<_ACEOF
16524 /* end confdefs.h. */
16525 #include <math.h>
16527 main ()
16529 modff(0, 0);
16531 return 0;
16533 _ACEOF
16534 rm -f conftest.$ac_objext
16535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16536 (eval $ac_compile) 2>conftest.er1
16537 ac_status=$?
16538 grep -v '^ *+' conftest.er1 >conftest.err
16539 rm -f conftest.er1
16540 cat conftest.err >&5
16541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16542 (exit $ac_status); } &&
16543 { ac_try='test -z "$ac_cxx_werror_flag"
16544 || test ! -s conftest.err'
16545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16546 (eval $ac_try) 2>&5
16547 ac_status=$?
16548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16549 (exit $ac_status); }; } &&
16550 { ac_try='test -s conftest.$ac_objext'
16551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16552 (eval $ac_try) 2>&5
16553 ac_status=$?
16554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16555 (exit $ac_status); }; }; then
16556 glibcxx_cv_func_modff_use=yes
16557 else
16558 echo "$as_me: failed program was:" >&5
16559 sed 's/^/| /' conftest.$ac_ext >&5
16561 glibcxx_cv_func_modff_use=no
16563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16564 ac_ext=c
16565 ac_cpp='$CPP $CPPFLAGS'
16566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16574 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
16575 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
16577 if test x$glibcxx_cv_func_modff_use = x"yes"; then
16579 for ac_func in modff
16581 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16582 echo "$as_me:$LINENO: checking for $ac_func" >&5
16583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16584 if eval "test \"\${$as_ac_var+set}\" = set"; then
16585 echo $ECHO_N "(cached) $ECHO_C" >&6
16586 else
16587 if test x$gcc_no_link = xyes; then
16588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16590 { (exit 1); exit 1; }; }
16592 cat >conftest.$ac_ext <<_ACEOF
16593 /* confdefs.h. */
16594 _ACEOF
16595 cat confdefs.h >>conftest.$ac_ext
16596 cat >>conftest.$ac_ext <<_ACEOF
16597 /* end confdefs.h. */
16598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16600 #define $ac_func innocuous_$ac_func
16602 /* System header to define __stub macros and hopefully few prototypes,
16603 which can conflict with char $ac_func (); below.
16604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16605 <limits.h> exists even on freestanding compilers. */
16607 #ifdef __STDC__
16608 # include <limits.h>
16609 #else
16610 # include <assert.h>
16611 #endif
16613 #undef $ac_func
16615 /* Override any gcc2 internal prototype to avoid an error. */
16616 #ifdef __cplusplus
16617 extern "C"
16619 #endif
16620 /* We use char because int might match the return type of a gcc2
16621 builtin and then its argument prototype would still apply. */
16622 char $ac_func ();
16623 /* The GNU C library defines this for functions which it implements
16624 to always fail with ENOSYS. Some functions are actually named
16625 something starting with __ and the normal name is an alias. */
16626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16627 choke me
16628 #else
16629 char (*f) () = $ac_func;
16630 #endif
16631 #ifdef __cplusplus
16633 #endif
16636 main ()
16638 return f != $ac_func;
16640 return 0;
16642 _ACEOF
16643 rm -f conftest.$ac_objext conftest$ac_exeext
16644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16645 (eval $ac_link) 2>conftest.er1
16646 ac_status=$?
16647 grep -v '^ *+' conftest.er1 >conftest.err
16648 rm -f conftest.er1
16649 cat conftest.err >&5
16650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16651 (exit $ac_status); } &&
16652 { ac_try='test -z "$ac_c_werror_flag"
16653 || test ! -s conftest.err'
16654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16655 (eval $ac_try) 2>&5
16656 ac_status=$?
16657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16658 (exit $ac_status); }; } &&
16659 { ac_try='test -s conftest$ac_exeext'
16660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16661 (eval $ac_try) 2>&5
16662 ac_status=$?
16663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16664 (exit $ac_status); }; }; then
16665 eval "$as_ac_var=yes"
16666 else
16667 echo "$as_me: failed program was:" >&5
16668 sed 's/^/| /' conftest.$ac_ext >&5
16670 eval "$as_ac_var=no"
16672 rm -f conftest.err conftest.$ac_objext \
16673 conftest$ac_exeext conftest.$ac_ext
16675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16677 if test `eval echo '${'$as_ac_var'}'` = yes; then
16678 cat >>confdefs.h <<_ACEOF
16679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16680 _ACEOF
16683 done
16685 else
16687 echo "$as_me:$LINENO: checking for _modff declaration" >&5
16688 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
16689 if test x${glibcxx_cv_func__modff_use+set} != xset; then
16690 if test "${glibcxx_cv_func__modff_use+set}" = set; then
16691 echo $ECHO_N "(cached) $ECHO_C" >&6
16692 else
16696 ac_ext=cc
16697 ac_cpp='$CXXCPP $CPPFLAGS'
16698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16702 cat >conftest.$ac_ext <<_ACEOF
16703 /* confdefs.h. */
16704 _ACEOF
16705 cat confdefs.h >>conftest.$ac_ext
16706 cat >>conftest.$ac_ext <<_ACEOF
16707 /* end confdefs.h. */
16708 #include <math.h>
16710 main ()
16712 _modff(0, 0);
16714 return 0;
16716 _ACEOF
16717 rm -f conftest.$ac_objext
16718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16719 (eval $ac_compile) 2>conftest.er1
16720 ac_status=$?
16721 grep -v '^ *+' conftest.er1 >conftest.err
16722 rm -f conftest.er1
16723 cat conftest.err >&5
16724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16725 (exit $ac_status); } &&
16726 { ac_try='test -z "$ac_cxx_werror_flag"
16727 || test ! -s conftest.err'
16728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16729 (eval $ac_try) 2>&5
16730 ac_status=$?
16731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16732 (exit $ac_status); }; } &&
16733 { ac_try='test -s conftest.$ac_objext'
16734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16735 (eval $ac_try) 2>&5
16736 ac_status=$?
16737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738 (exit $ac_status); }; }; then
16739 glibcxx_cv_func__modff_use=yes
16740 else
16741 echo "$as_me: failed program was:" >&5
16742 sed 's/^/| /' conftest.$ac_ext >&5
16744 glibcxx_cv_func__modff_use=no
16746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16747 ac_ext=c
16748 ac_cpp='$CPP $CPPFLAGS'
16749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16757 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16758 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16760 if test x$glibcxx_cv_func__modff_use = x"yes"; then
16762 for ac_func in _modff
16764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16765 echo "$as_me:$LINENO: checking for $ac_func" >&5
16766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16767 if eval "test \"\${$as_ac_var+set}\" = set"; then
16768 echo $ECHO_N "(cached) $ECHO_C" >&6
16769 else
16770 if test x$gcc_no_link = xyes; then
16771 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16773 { (exit 1); exit 1; }; }
16775 cat >conftest.$ac_ext <<_ACEOF
16776 /* confdefs.h. */
16777 _ACEOF
16778 cat confdefs.h >>conftest.$ac_ext
16779 cat >>conftest.$ac_ext <<_ACEOF
16780 /* end confdefs.h. */
16781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16783 #define $ac_func innocuous_$ac_func
16785 /* System header to define __stub macros and hopefully few prototypes,
16786 which can conflict with char $ac_func (); below.
16787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16788 <limits.h> exists even on freestanding compilers. */
16790 #ifdef __STDC__
16791 # include <limits.h>
16792 #else
16793 # include <assert.h>
16794 #endif
16796 #undef $ac_func
16798 /* Override any gcc2 internal prototype to avoid an error. */
16799 #ifdef __cplusplus
16800 extern "C"
16802 #endif
16803 /* We use char because int might match the return type of a gcc2
16804 builtin and then its argument prototype would still apply. */
16805 char $ac_func ();
16806 /* The GNU C library defines this for functions which it implements
16807 to always fail with ENOSYS. Some functions are actually named
16808 something starting with __ and the normal name is an alias. */
16809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16810 choke me
16811 #else
16812 char (*f) () = $ac_func;
16813 #endif
16814 #ifdef __cplusplus
16816 #endif
16819 main ()
16821 return f != $ac_func;
16823 return 0;
16825 _ACEOF
16826 rm -f conftest.$ac_objext conftest$ac_exeext
16827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16828 (eval $ac_link) 2>conftest.er1
16829 ac_status=$?
16830 grep -v '^ *+' conftest.er1 >conftest.err
16831 rm -f conftest.er1
16832 cat conftest.err >&5
16833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16834 (exit $ac_status); } &&
16835 { ac_try='test -z "$ac_c_werror_flag"
16836 || test ! -s conftest.err'
16837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16838 (eval $ac_try) 2>&5
16839 ac_status=$?
16840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16841 (exit $ac_status); }; } &&
16842 { ac_try='test -s conftest$ac_exeext'
16843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16844 (eval $ac_try) 2>&5
16845 ac_status=$?
16846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16847 (exit $ac_status); }; }; then
16848 eval "$as_ac_var=yes"
16849 else
16850 echo "$as_me: failed program was:" >&5
16851 sed 's/^/| /' conftest.$ac_ext >&5
16853 eval "$as_ac_var=no"
16855 rm -f conftest.err conftest.$ac_objext \
16856 conftest$ac_exeext conftest.$ac_ext
16858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16860 if test `eval echo '${'$as_ac_var'}'` = yes; then
16861 cat >>confdefs.h <<_ACEOF
16862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16863 _ACEOF
16866 done
16876 echo "$as_me:$LINENO: checking for modf declaration" >&5
16877 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
16878 if test x${glibcxx_cv_func_modf_use+set} != xset; then
16879 if test "${glibcxx_cv_func_modf_use+set}" = set; then
16880 echo $ECHO_N "(cached) $ECHO_C" >&6
16881 else
16885 ac_ext=cc
16886 ac_cpp='$CXXCPP $CPPFLAGS'
16887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16891 cat >conftest.$ac_ext <<_ACEOF
16892 /* confdefs.h. */
16893 _ACEOF
16894 cat confdefs.h >>conftest.$ac_ext
16895 cat >>conftest.$ac_ext <<_ACEOF
16896 /* end confdefs.h. */
16897 #include <math.h>
16899 main ()
16901 modf(0, 0);
16903 return 0;
16905 _ACEOF
16906 rm -f conftest.$ac_objext
16907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16908 (eval $ac_compile) 2>conftest.er1
16909 ac_status=$?
16910 grep -v '^ *+' conftest.er1 >conftest.err
16911 rm -f conftest.er1
16912 cat conftest.err >&5
16913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16914 (exit $ac_status); } &&
16915 { ac_try='test -z "$ac_cxx_werror_flag"
16916 || test ! -s conftest.err'
16917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16918 (eval $ac_try) 2>&5
16919 ac_status=$?
16920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921 (exit $ac_status); }; } &&
16922 { ac_try='test -s conftest.$ac_objext'
16923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16924 (eval $ac_try) 2>&5
16925 ac_status=$?
16926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16927 (exit $ac_status); }; }; then
16928 glibcxx_cv_func_modf_use=yes
16929 else
16930 echo "$as_me: failed program was:" >&5
16931 sed 's/^/| /' conftest.$ac_ext >&5
16933 glibcxx_cv_func_modf_use=no
16935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16936 ac_ext=c
16937 ac_cpp='$CPP $CPPFLAGS'
16938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16946 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
16947 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
16949 if test x$glibcxx_cv_func_modf_use = x"yes"; then
16951 for ac_func in modf
16953 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16954 echo "$as_me:$LINENO: checking for $ac_func" >&5
16955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16956 if eval "test \"\${$as_ac_var+set}\" = set"; then
16957 echo $ECHO_N "(cached) $ECHO_C" >&6
16958 else
16959 if test x$gcc_no_link = xyes; then
16960 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16962 { (exit 1); exit 1; }; }
16964 cat >conftest.$ac_ext <<_ACEOF
16965 /* confdefs.h. */
16966 _ACEOF
16967 cat confdefs.h >>conftest.$ac_ext
16968 cat >>conftest.$ac_ext <<_ACEOF
16969 /* end confdefs.h. */
16970 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16972 #define $ac_func innocuous_$ac_func
16974 /* System header to define __stub macros and hopefully few prototypes,
16975 which can conflict with char $ac_func (); below.
16976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16977 <limits.h> exists even on freestanding compilers. */
16979 #ifdef __STDC__
16980 # include <limits.h>
16981 #else
16982 # include <assert.h>
16983 #endif
16985 #undef $ac_func
16987 /* Override any gcc2 internal prototype to avoid an error. */
16988 #ifdef __cplusplus
16989 extern "C"
16991 #endif
16992 /* We use char because int might match the return type of a gcc2
16993 builtin and then its argument prototype would still apply. */
16994 char $ac_func ();
16995 /* The GNU C library defines this for functions which it implements
16996 to always fail with ENOSYS. Some functions are actually named
16997 something starting with __ and the normal name is an alias. */
16998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16999 choke me
17000 #else
17001 char (*f) () = $ac_func;
17002 #endif
17003 #ifdef __cplusplus
17005 #endif
17008 main ()
17010 return f != $ac_func;
17012 return 0;
17014 _ACEOF
17015 rm -f conftest.$ac_objext conftest$ac_exeext
17016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17017 (eval $ac_link) 2>conftest.er1
17018 ac_status=$?
17019 grep -v '^ *+' conftest.er1 >conftest.err
17020 rm -f conftest.er1
17021 cat conftest.err >&5
17022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17023 (exit $ac_status); } &&
17024 { ac_try='test -z "$ac_c_werror_flag"
17025 || test ! -s conftest.err'
17026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17027 (eval $ac_try) 2>&5
17028 ac_status=$?
17029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17030 (exit $ac_status); }; } &&
17031 { ac_try='test -s conftest$ac_exeext'
17032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17033 (eval $ac_try) 2>&5
17034 ac_status=$?
17035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17036 (exit $ac_status); }; }; then
17037 eval "$as_ac_var=yes"
17038 else
17039 echo "$as_me: failed program was:" >&5
17040 sed 's/^/| /' conftest.$ac_ext >&5
17042 eval "$as_ac_var=no"
17044 rm -f conftest.err conftest.$ac_objext \
17045 conftest$ac_exeext conftest.$ac_ext
17047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17048 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17049 if test `eval echo '${'$as_ac_var'}'` = yes; then
17050 cat >>confdefs.h <<_ACEOF
17051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17052 _ACEOF
17055 done
17057 else
17059 echo "$as_me:$LINENO: checking for _modf declaration" >&5
17060 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
17061 if test x${glibcxx_cv_func__modf_use+set} != xset; then
17062 if test "${glibcxx_cv_func__modf_use+set}" = set; then
17063 echo $ECHO_N "(cached) $ECHO_C" >&6
17064 else
17068 ac_ext=cc
17069 ac_cpp='$CXXCPP $CPPFLAGS'
17070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17074 cat >conftest.$ac_ext <<_ACEOF
17075 /* confdefs.h. */
17076 _ACEOF
17077 cat confdefs.h >>conftest.$ac_ext
17078 cat >>conftest.$ac_ext <<_ACEOF
17079 /* end confdefs.h. */
17080 #include <math.h>
17082 main ()
17084 _modf(0, 0);
17086 return 0;
17088 _ACEOF
17089 rm -f conftest.$ac_objext
17090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17091 (eval $ac_compile) 2>conftest.er1
17092 ac_status=$?
17093 grep -v '^ *+' conftest.er1 >conftest.err
17094 rm -f conftest.er1
17095 cat conftest.err >&5
17096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17097 (exit $ac_status); } &&
17098 { ac_try='test -z "$ac_cxx_werror_flag"
17099 || test ! -s conftest.err'
17100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17101 (eval $ac_try) 2>&5
17102 ac_status=$?
17103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104 (exit $ac_status); }; } &&
17105 { ac_try='test -s conftest.$ac_objext'
17106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17107 (eval $ac_try) 2>&5
17108 ac_status=$?
17109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17110 (exit $ac_status); }; }; then
17111 glibcxx_cv_func__modf_use=yes
17112 else
17113 echo "$as_me: failed program was:" >&5
17114 sed 's/^/| /' conftest.$ac_ext >&5
17116 glibcxx_cv_func__modf_use=no
17118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17119 ac_ext=c
17120 ac_cpp='$CPP $CPPFLAGS'
17121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17129 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
17130 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
17132 if test x$glibcxx_cv_func__modf_use = x"yes"; then
17134 for ac_func in _modf
17136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17137 echo "$as_me:$LINENO: checking for $ac_func" >&5
17138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17139 if eval "test \"\${$as_ac_var+set}\" = set"; then
17140 echo $ECHO_N "(cached) $ECHO_C" >&6
17141 else
17142 if test x$gcc_no_link = xyes; then
17143 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17145 { (exit 1); exit 1; }; }
17147 cat >conftest.$ac_ext <<_ACEOF
17148 /* confdefs.h. */
17149 _ACEOF
17150 cat confdefs.h >>conftest.$ac_ext
17151 cat >>conftest.$ac_ext <<_ACEOF
17152 /* end confdefs.h. */
17153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17155 #define $ac_func innocuous_$ac_func
17157 /* System header to define __stub macros and hopefully few prototypes,
17158 which can conflict with char $ac_func (); below.
17159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17160 <limits.h> exists even on freestanding compilers. */
17162 #ifdef __STDC__
17163 # include <limits.h>
17164 #else
17165 # include <assert.h>
17166 #endif
17168 #undef $ac_func
17170 /* Override any gcc2 internal prototype to avoid an error. */
17171 #ifdef __cplusplus
17172 extern "C"
17174 #endif
17175 /* We use char because int might match the return type of a gcc2
17176 builtin and then its argument prototype would still apply. */
17177 char $ac_func ();
17178 /* The GNU C library defines this for functions which it implements
17179 to always fail with ENOSYS. Some functions are actually named
17180 something starting with __ and the normal name is an alias. */
17181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17182 choke me
17183 #else
17184 char (*f) () = $ac_func;
17185 #endif
17186 #ifdef __cplusplus
17188 #endif
17191 main ()
17193 return f != $ac_func;
17195 return 0;
17197 _ACEOF
17198 rm -f conftest.$ac_objext conftest$ac_exeext
17199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17200 (eval $ac_link) 2>conftest.er1
17201 ac_status=$?
17202 grep -v '^ *+' conftest.er1 >conftest.err
17203 rm -f conftest.er1
17204 cat conftest.err >&5
17205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17206 (exit $ac_status); } &&
17207 { ac_try='test -z "$ac_c_werror_flag"
17208 || test ! -s conftest.err'
17209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17210 (eval $ac_try) 2>&5
17211 ac_status=$?
17212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17213 (exit $ac_status); }; } &&
17214 { ac_try='test -s conftest$ac_exeext'
17215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17216 (eval $ac_try) 2>&5
17217 ac_status=$?
17218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17219 (exit $ac_status); }; }; then
17220 eval "$as_ac_var=yes"
17221 else
17222 echo "$as_me: failed program was:" >&5
17223 sed 's/^/| /' conftest.$ac_ext >&5
17225 eval "$as_ac_var=no"
17227 rm -f conftest.err conftest.$ac_objext \
17228 conftest$ac_exeext conftest.$ac_ext
17230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17232 if test `eval echo '${'$as_ac_var'}'` = yes; then
17233 cat >>confdefs.h <<_ACEOF
17234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17235 _ACEOF
17238 done
17248 echo "$as_me:$LINENO: checking for powf declaration" >&5
17249 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
17250 if test x${glibcxx_cv_func_powf_use+set} != xset; then
17251 if test "${glibcxx_cv_func_powf_use+set}" = set; then
17252 echo $ECHO_N "(cached) $ECHO_C" >&6
17253 else
17257 ac_ext=cc
17258 ac_cpp='$CXXCPP $CPPFLAGS'
17259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17263 cat >conftest.$ac_ext <<_ACEOF
17264 /* confdefs.h. */
17265 _ACEOF
17266 cat confdefs.h >>conftest.$ac_ext
17267 cat >>conftest.$ac_ext <<_ACEOF
17268 /* end confdefs.h. */
17269 #include <math.h>
17271 main ()
17273 powf(0, 0);
17275 return 0;
17277 _ACEOF
17278 rm -f conftest.$ac_objext
17279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17280 (eval $ac_compile) 2>conftest.er1
17281 ac_status=$?
17282 grep -v '^ *+' conftest.er1 >conftest.err
17283 rm -f conftest.er1
17284 cat conftest.err >&5
17285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17286 (exit $ac_status); } &&
17287 { ac_try='test -z "$ac_cxx_werror_flag"
17288 || test ! -s conftest.err'
17289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17290 (eval $ac_try) 2>&5
17291 ac_status=$?
17292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17293 (exit $ac_status); }; } &&
17294 { ac_try='test -s conftest.$ac_objext'
17295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17296 (eval $ac_try) 2>&5
17297 ac_status=$?
17298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17299 (exit $ac_status); }; }; then
17300 glibcxx_cv_func_powf_use=yes
17301 else
17302 echo "$as_me: failed program was:" >&5
17303 sed 's/^/| /' conftest.$ac_ext >&5
17305 glibcxx_cv_func_powf_use=no
17307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17308 ac_ext=c
17309 ac_cpp='$CPP $CPPFLAGS'
17310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17318 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
17319 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
17321 if test x$glibcxx_cv_func_powf_use = x"yes"; then
17323 for ac_func in powf
17325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17326 echo "$as_me:$LINENO: checking for $ac_func" >&5
17327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17328 if eval "test \"\${$as_ac_var+set}\" = set"; then
17329 echo $ECHO_N "(cached) $ECHO_C" >&6
17330 else
17331 if test x$gcc_no_link = xyes; then
17332 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17334 { (exit 1); exit 1; }; }
17336 cat >conftest.$ac_ext <<_ACEOF
17337 /* confdefs.h. */
17338 _ACEOF
17339 cat confdefs.h >>conftest.$ac_ext
17340 cat >>conftest.$ac_ext <<_ACEOF
17341 /* end confdefs.h. */
17342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17344 #define $ac_func innocuous_$ac_func
17346 /* System header to define __stub macros and hopefully few prototypes,
17347 which can conflict with char $ac_func (); below.
17348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17349 <limits.h> exists even on freestanding compilers. */
17351 #ifdef __STDC__
17352 # include <limits.h>
17353 #else
17354 # include <assert.h>
17355 #endif
17357 #undef $ac_func
17359 /* Override any gcc2 internal prototype to avoid an error. */
17360 #ifdef __cplusplus
17361 extern "C"
17363 #endif
17364 /* We use char because int might match the return type of a gcc2
17365 builtin and then its argument prototype would still apply. */
17366 char $ac_func ();
17367 /* The GNU C library defines this for functions which it implements
17368 to always fail with ENOSYS. Some functions are actually named
17369 something starting with __ and the normal name is an alias. */
17370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17371 choke me
17372 #else
17373 char (*f) () = $ac_func;
17374 #endif
17375 #ifdef __cplusplus
17377 #endif
17380 main ()
17382 return f != $ac_func;
17384 return 0;
17386 _ACEOF
17387 rm -f conftest.$ac_objext conftest$ac_exeext
17388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17389 (eval $ac_link) 2>conftest.er1
17390 ac_status=$?
17391 grep -v '^ *+' conftest.er1 >conftest.err
17392 rm -f conftest.er1
17393 cat conftest.err >&5
17394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17395 (exit $ac_status); } &&
17396 { ac_try='test -z "$ac_c_werror_flag"
17397 || test ! -s conftest.err'
17398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17399 (eval $ac_try) 2>&5
17400 ac_status=$?
17401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17402 (exit $ac_status); }; } &&
17403 { ac_try='test -s conftest$ac_exeext'
17404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17405 (eval $ac_try) 2>&5
17406 ac_status=$?
17407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17408 (exit $ac_status); }; }; then
17409 eval "$as_ac_var=yes"
17410 else
17411 echo "$as_me: failed program was:" >&5
17412 sed 's/^/| /' conftest.$ac_ext >&5
17414 eval "$as_ac_var=no"
17416 rm -f conftest.err conftest.$ac_objext \
17417 conftest$ac_exeext conftest.$ac_ext
17419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17421 if test `eval echo '${'$as_ac_var'}'` = yes; then
17422 cat >>confdefs.h <<_ACEOF
17423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17424 _ACEOF
17427 done
17429 else
17431 echo "$as_me:$LINENO: checking for _powf declaration" >&5
17432 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
17433 if test x${glibcxx_cv_func__powf_use+set} != xset; then
17434 if test "${glibcxx_cv_func__powf_use+set}" = set; then
17435 echo $ECHO_N "(cached) $ECHO_C" >&6
17436 else
17440 ac_ext=cc
17441 ac_cpp='$CXXCPP $CPPFLAGS'
17442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17446 cat >conftest.$ac_ext <<_ACEOF
17447 /* confdefs.h. */
17448 _ACEOF
17449 cat confdefs.h >>conftest.$ac_ext
17450 cat >>conftest.$ac_ext <<_ACEOF
17451 /* end confdefs.h. */
17452 #include <math.h>
17454 main ()
17456 _powf(0, 0);
17458 return 0;
17460 _ACEOF
17461 rm -f conftest.$ac_objext
17462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17463 (eval $ac_compile) 2>conftest.er1
17464 ac_status=$?
17465 grep -v '^ *+' conftest.er1 >conftest.err
17466 rm -f conftest.er1
17467 cat conftest.err >&5
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); } &&
17470 { ac_try='test -z "$ac_cxx_werror_flag"
17471 || test ! -s conftest.err'
17472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17473 (eval $ac_try) 2>&5
17474 ac_status=$?
17475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17476 (exit $ac_status); }; } &&
17477 { ac_try='test -s conftest.$ac_objext'
17478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17479 (eval $ac_try) 2>&5
17480 ac_status=$?
17481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17482 (exit $ac_status); }; }; then
17483 glibcxx_cv_func__powf_use=yes
17484 else
17485 echo "$as_me: failed program was:" >&5
17486 sed 's/^/| /' conftest.$ac_ext >&5
17488 glibcxx_cv_func__powf_use=no
17490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17491 ac_ext=c
17492 ac_cpp='$CPP $CPPFLAGS'
17493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17501 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
17502 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
17504 if test x$glibcxx_cv_func__powf_use = x"yes"; then
17506 for ac_func in _powf
17508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17509 echo "$as_me:$LINENO: checking for $ac_func" >&5
17510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17511 if eval "test \"\${$as_ac_var+set}\" = set"; then
17512 echo $ECHO_N "(cached) $ECHO_C" >&6
17513 else
17514 if test x$gcc_no_link = xyes; then
17515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17517 { (exit 1); exit 1; }; }
17519 cat >conftest.$ac_ext <<_ACEOF
17520 /* confdefs.h. */
17521 _ACEOF
17522 cat confdefs.h >>conftest.$ac_ext
17523 cat >>conftest.$ac_ext <<_ACEOF
17524 /* end confdefs.h. */
17525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17527 #define $ac_func innocuous_$ac_func
17529 /* System header to define __stub macros and hopefully few prototypes,
17530 which can conflict with char $ac_func (); below.
17531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17532 <limits.h> exists even on freestanding compilers. */
17534 #ifdef __STDC__
17535 # include <limits.h>
17536 #else
17537 # include <assert.h>
17538 #endif
17540 #undef $ac_func
17542 /* Override any gcc2 internal prototype to avoid an error. */
17543 #ifdef __cplusplus
17544 extern "C"
17546 #endif
17547 /* We use char because int might match the return type of a gcc2
17548 builtin and then its argument prototype would still apply. */
17549 char $ac_func ();
17550 /* The GNU C library defines this for functions which it implements
17551 to always fail with ENOSYS. Some functions are actually named
17552 something starting with __ and the normal name is an alias. */
17553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17554 choke me
17555 #else
17556 char (*f) () = $ac_func;
17557 #endif
17558 #ifdef __cplusplus
17560 #endif
17563 main ()
17565 return f != $ac_func;
17567 return 0;
17569 _ACEOF
17570 rm -f conftest.$ac_objext conftest$ac_exeext
17571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17572 (eval $ac_link) 2>conftest.er1
17573 ac_status=$?
17574 grep -v '^ *+' conftest.er1 >conftest.err
17575 rm -f conftest.er1
17576 cat conftest.err >&5
17577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17578 (exit $ac_status); } &&
17579 { ac_try='test -z "$ac_c_werror_flag"
17580 || test ! -s conftest.err'
17581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17582 (eval $ac_try) 2>&5
17583 ac_status=$?
17584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17585 (exit $ac_status); }; } &&
17586 { ac_try='test -s conftest$ac_exeext'
17587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17588 (eval $ac_try) 2>&5
17589 ac_status=$?
17590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17591 (exit $ac_status); }; }; then
17592 eval "$as_ac_var=yes"
17593 else
17594 echo "$as_me: failed program was:" >&5
17595 sed 's/^/| /' conftest.$ac_ext >&5
17597 eval "$as_ac_var=no"
17599 rm -f conftest.err conftest.$ac_objext \
17600 conftest$ac_exeext conftest.$ac_ext
17602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17604 if test `eval echo '${'$as_ac_var'}'` = yes; then
17605 cat >>confdefs.h <<_ACEOF
17606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17607 _ACEOF
17610 done
17620 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
17621 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
17622 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
17623 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
17624 echo $ECHO_N "(cached) $ECHO_C" >&6
17625 else
17629 ac_ext=cc
17630 ac_cpp='$CXXCPP $CPPFLAGS'
17631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17635 cat >conftest.$ac_ext <<_ACEOF
17636 /* confdefs.h. */
17637 _ACEOF
17638 cat confdefs.h >>conftest.$ac_ext
17639 cat >>conftest.$ac_ext <<_ACEOF
17640 /* end confdefs.h. */
17641 #include <math.h>
17642 #ifdef HAVE_IEEEFP_H
17643 #include <ieeefp.h>
17644 #endif
17647 main ()
17649 sqrtf(0);
17651 return 0;
17653 _ACEOF
17654 rm -f conftest.$ac_objext
17655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17656 (eval $ac_compile) 2>conftest.er1
17657 ac_status=$?
17658 grep -v '^ *+' conftest.er1 >conftest.err
17659 rm -f conftest.er1
17660 cat conftest.err >&5
17661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17662 (exit $ac_status); } &&
17663 { ac_try='test -z "$ac_cxx_werror_flag"
17664 || test ! -s conftest.err'
17665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17666 (eval $ac_try) 2>&5
17667 ac_status=$?
17668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17669 (exit $ac_status); }; } &&
17670 { ac_try='test -s conftest.$ac_objext'
17671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17672 (eval $ac_try) 2>&5
17673 ac_status=$?
17674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17675 (exit $ac_status); }; }; then
17676 glibcxx_cv_func_sqrtf_use=yes
17677 else
17678 echo "$as_me: failed program was:" >&5
17679 sed 's/^/| /' conftest.$ac_ext >&5
17681 glibcxx_cv_func_sqrtf_use=no
17683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17684 ac_ext=c
17685 ac_cpp='$CPP $CPPFLAGS'
17686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17694 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
17695 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
17697 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
17699 for ac_func in sqrtf
17701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17702 echo "$as_me:$LINENO: checking for $ac_func" >&5
17703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17704 if eval "test \"\${$as_ac_var+set}\" = set"; then
17705 echo $ECHO_N "(cached) $ECHO_C" >&6
17706 else
17707 if test x$gcc_no_link = xyes; then
17708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17710 { (exit 1); exit 1; }; }
17712 cat >conftest.$ac_ext <<_ACEOF
17713 /* confdefs.h. */
17714 _ACEOF
17715 cat confdefs.h >>conftest.$ac_ext
17716 cat >>conftest.$ac_ext <<_ACEOF
17717 /* end confdefs.h. */
17718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17720 #define $ac_func innocuous_$ac_func
17722 /* System header to define __stub macros and hopefully few prototypes,
17723 which can conflict with char $ac_func (); below.
17724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17725 <limits.h> exists even on freestanding compilers. */
17727 #ifdef __STDC__
17728 # include <limits.h>
17729 #else
17730 # include <assert.h>
17731 #endif
17733 #undef $ac_func
17735 /* Override any gcc2 internal prototype to avoid an error. */
17736 #ifdef __cplusplus
17737 extern "C"
17739 #endif
17740 /* We use char because int might match the return type of a gcc2
17741 builtin and then its argument prototype would still apply. */
17742 char $ac_func ();
17743 /* The GNU C library defines this for functions which it implements
17744 to always fail with ENOSYS. Some functions are actually named
17745 something starting with __ and the normal name is an alias. */
17746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17747 choke me
17748 #else
17749 char (*f) () = $ac_func;
17750 #endif
17751 #ifdef __cplusplus
17753 #endif
17756 main ()
17758 return f != $ac_func;
17760 return 0;
17762 _ACEOF
17763 rm -f conftest.$ac_objext conftest$ac_exeext
17764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17765 (eval $ac_link) 2>conftest.er1
17766 ac_status=$?
17767 grep -v '^ *+' conftest.er1 >conftest.err
17768 rm -f conftest.er1
17769 cat conftest.err >&5
17770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17771 (exit $ac_status); } &&
17772 { ac_try='test -z "$ac_c_werror_flag"
17773 || test ! -s conftest.err'
17774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17775 (eval $ac_try) 2>&5
17776 ac_status=$?
17777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17778 (exit $ac_status); }; } &&
17779 { ac_try='test -s conftest$ac_exeext'
17780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17781 (eval $ac_try) 2>&5
17782 ac_status=$?
17783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17784 (exit $ac_status); }; }; then
17785 eval "$as_ac_var=yes"
17786 else
17787 echo "$as_me: failed program was:" >&5
17788 sed 's/^/| /' conftest.$ac_ext >&5
17790 eval "$as_ac_var=no"
17792 rm -f conftest.err conftest.$ac_objext \
17793 conftest$ac_exeext conftest.$ac_ext
17795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17797 if test `eval echo '${'$as_ac_var'}'` = yes; then
17798 cat >>confdefs.h <<_ACEOF
17799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17800 _ACEOF
17803 done
17805 else
17807 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
17808 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
17809 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
17810 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
17811 echo $ECHO_N "(cached) $ECHO_C" >&6
17812 else
17816 ac_ext=cc
17817 ac_cpp='$CXXCPP $CPPFLAGS'
17818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17822 cat >conftest.$ac_ext <<_ACEOF
17823 /* confdefs.h. */
17824 _ACEOF
17825 cat confdefs.h >>conftest.$ac_ext
17826 cat >>conftest.$ac_ext <<_ACEOF
17827 /* end confdefs.h. */
17828 #include <math.h>
17829 #ifdef HAVE_IEEEFP_H
17830 #include <ieeefp.h>
17831 #endif
17834 main ()
17836 _sqrtf(0);
17838 return 0;
17840 _ACEOF
17841 rm -f conftest.$ac_objext
17842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17843 (eval $ac_compile) 2>conftest.er1
17844 ac_status=$?
17845 grep -v '^ *+' conftest.er1 >conftest.err
17846 rm -f conftest.er1
17847 cat conftest.err >&5
17848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849 (exit $ac_status); } &&
17850 { ac_try='test -z "$ac_cxx_werror_flag"
17851 || test ! -s conftest.err'
17852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17853 (eval $ac_try) 2>&5
17854 ac_status=$?
17855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17856 (exit $ac_status); }; } &&
17857 { ac_try='test -s conftest.$ac_objext'
17858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17859 (eval $ac_try) 2>&5
17860 ac_status=$?
17861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17862 (exit $ac_status); }; }; then
17863 glibcxx_cv_func__sqrtf_use=yes
17864 else
17865 echo "$as_me: failed program was:" >&5
17866 sed 's/^/| /' conftest.$ac_ext >&5
17868 glibcxx_cv_func__sqrtf_use=no
17870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17871 ac_ext=c
17872 ac_cpp='$CPP $CPPFLAGS'
17873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17881 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
17882 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
17884 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
17886 for ac_func in _sqrtf
17888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17889 echo "$as_me:$LINENO: checking for $ac_func" >&5
17890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17891 if eval "test \"\${$as_ac_var+set}\" = set"; then
17892 echo $ECHO_N "(cached) $ECHO_C" >&6
17893 else
17894 if test x$gcc_no_link = xyes; then
17895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17897 { (exit 1); exit 1; }; }
17899 cat >conftest.$ac_ext <<_ACEOF
17900 /* confdefs.h. */
17901 _ACEOF
17902 cat confdefs.h >>conftest.$ac_ext
17903 cat >>conftest.$ac_ext <<_ACEOF
17904 /* end confdefs.h. */
17905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17907 #define $ac_func innocuous_$ac_func
17909 /* System header to define __stub macros and hopefully few prototypes,
17910 which can conflict with char $ac_func (); below.
17911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17912 <limits.h> exists even on freestanding compilers. */
17914 #ifdef __STDC__
17915 # include <limits.h>
17916 #else
17917 # include <assert.h>
17918 #endif
17920 #undef $ac_func
17922 /* Override any gcc2 internal prototype to avoid an error. */
17923 #ifdef __cplusplus
17924 extern "C"
17926 #endif
17927 /* We use char because int might match the return type of a gcc2
17928 builtin and then its argument prototype would still apply. */
17929 char $ac_func ();
17930 /* The GNU C library defines this for functions which it implements
17931 to always fail with ENOSYS. Some functions are actually named
17932 something starting with __ and the normal name is an alias. */
17933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17934 choke me
17935 #else
17936 char (*f) () = $ac_func;
17937 #endif
17938 #ifdef __cplusplus
17940 #endif
17943 main ()
17945 return f != $ac_func;
17947 return 0;
17949 _ACEOF
17950 rm -f conftest.$ac_objext conftest$ac_exeext
17951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17952 (eval $ac_link) 2>conftest.er1
17953 ac_status=$?
17954 grep -v '^ *+' conftest.er1 >conftest.err
17955 rm -f conftest.er1
17956 cat conftest.err >&5
17957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17958 (exit $ac_status); } &&
17959 { ac_try='test -z "$ac_c_werror_flag"
17960 || test ! -s conftest.err'
17961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17962 (eval $ac_try) 2>&5
17963 ac_status=$?
17964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17965 (exit $ac_status); }; } &&
17966 { ac_try='test -s conftest$ac_exeext'
17967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17968 (eval $ac_try) 2>&5
17969 ac_status=$?
17970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17971 (exit $ac_status); }; }; then
17972 eval "$as_ac_var=yes"
17973 else
17974 echo "$as_me: failed program was:" >&5
17975 sed 's/^/| /' conftest.$ac_ext >&5
17977 eval "$as_ac_var=no"
17979 rm -f conftest.err conftest.$ac_objext \
17980 conftest$ac_exeext conftest.$ac_ext
17982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17984 if test `eval echo '${'$as_ac_var'}'` = yes; then
17985 cat >>confdefs.h <<_ACEOF
17986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17987 _ACEOF
17990 done
18000 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
18001 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
18002 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
18003 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
18004 echo $ECHO_N "(cached) $ECHO_C" >&6
18005 else
18009 ac_ext=cc
18010 ac_cpp='$CXXCPP $CPPFLAGS'
18011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18015 cat >conftest.$ac_ext <<_ACEOF
18016 /* confdefs.h. */
18017 _ACEOF
18018 cat confdefs.h >>conftest.$ac_ext
18019 cat >>conftest.$ac_ext <<_ACEOF
18020 /* end confdefs.h. */
18021 #include <math.h>
18023 main ()
18025 sincosf(0, 0, 0);
18027 return 0;
18029 _ACEOF
18030 rm -f conftest.$ac_objext
18031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18032 (eval $ac_compile) 2>conftest.er1
18033 ac_status=$?
18034 grep -v '^ *+' conftest.er1 >conftest.err
18035 rm -f conftest.er1
18036 cat conftest.err >&5
18037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18038 (exit $ac_status); } &&
18039 { ac_try='test -z "$ac_cxx_werror_flag"
18040 || test ! -s conftest.err'
18041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18042 (eval $ac_try) 2>&5
18043 ac_status=$?
18044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18045 (exit $ac_status); }; } &&
18046 { ac_try='test -s conftest.$ac_objext'
18047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18048 (eval $ac_try) 2>&5
18049 ac_status=$?
18050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18051 (exit $ac_status); }; }; then
18052 glibcxx_cv_func_sincosf_use=yes
18053 else
18054 echo "$as_me: failed program was:" >&5
18055 sed 's/^/| /' conftest.$ac_ext >&5
18057 glibcxx_cv_func_sincosf_use=no
18059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18060 ac_ext=c
18061 ac_cpp='$CPP $CPPFLAGS'
18062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18070 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
18071 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
18073 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
18075 for ac_func in sincosf
18077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18078 echo "$as_me:$LINENO: checking for $ac_func" >&5
18079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18080 if eval "test \"\${$as_ac_var+set}\" = set"; then
18081 echo $ECHO_N "(cached) $ECHO_C" >&6
18082 else
18083 if test x$gcc_no_link = xyes; then
18084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18086 { (exit 1); exit 1; }; }
18088 cat >conftest.$ac_ext <<_ACEOF
18089 /* confdefs.h. */
18090 _ACEOF
18091 cat confdefs.h >>conftest.$ac_ext
18092 cat >>conftest.$ac_ext <<_ACEOF
18093 /* end confdefs.h. */
18094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18096 #define $ac_func innocuous_$ac_func
18098 /* System header to define __stub macros and hopefully few prototypes,
18099 which can conflict with char $ac_func (); below.
18100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18101 <limits.h> exists even on freestanding compilers. */
18103 #ifdef __STDC__
18104 # include <limits.h>
18105 #else
18106 # include <assert.h>
18107 #endif
18109 #undef $ac_func
18111 /* Override any gcc2 internal prototype to avoid an error. */
18112 #ifdef __cplusplus
18113 extern "C"
18115 #endif
18116 /* We use char because int might match the return type of a gcc2
18117 builtin and then its argument prototype would still apply. */
18118 char $ac_func ();
18119 /* The GNU C library defines this for functions which it implements
18120 to always fail with ENOSYS. Some functions are actually named
18121 something starting with __ and the normal name is an alias. */
18122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18123 choke me
18124 #else
18125 char (*f) () = $ac_func;
18126 #endif
18127 #ifdef __cplusplus
18129 #endif
18132 main ()
18134 return f != $ac_func;
18136 return 0;
18138 _ACEOF
18139 rm -f conftest.$ac_objext conftest$ac_exeext
18140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18141 (eval $ac_link) 2>conftest.er1
18142 ac_status=$?
18143 grep -v '^ *+' conftest.er1 >conftest.err
18144 rm -f conftest.er1
18145 cat conftest.err >&5
18146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18147 (exit $ac_status); } &&
18148 { ac_try='test -z "$ac_c_werror_flag"
18149 || test ! -s conftest.err'
18150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18151 (eval $ac_try) 2>&5
18152 ac_status=$?
18153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18154 (exit $ac_status); }; } &&
18155 { ac_try='test -s conftest$ac_exeext'
18156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18157 (eval $ac_try) 2>&5
18158 ac_status=$?
18159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18160 (exit $ac_status); }; }; then
18161 eval "$as_ac_var=yes"
18162 else
18163 echo "$as_me: failed program was:" >&5
18164 sed 's/^/| /' conftest.$ac_ext >&5
18166 eval "$as_ac_var=no"
18168 rm -f conftest.err conftest.$ac_objext \
18169 conftest$ac_exeext conftest.$ac_ext
18171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18173 if test `eval echo '${'$as_ac_var'}'` = yes; then
18174 cat >>confdefs.h <<_ACEOF
18175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18176 _ACEOF
18179 done
18181 else
18183 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
18184 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
18185 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
18186 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
18187 echo $ECHO_N "(cached) $ECHO_C" >&6
18188 else
18192 ac_ext=cc
18193 ac_cpp='$CXXCPP $CPPFLAGS'
18194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18198 cat >conftest.$ac_ext <<_ACEOF
18199 /* confdefs.h. */
18200 _ACEOF
18201 cat confdefs.h >>conftest.$ac_ext
18202 cat >>conftest.$ac_ext <<_ACEOF
18203 /* end confdefs.h. */
18204 #include <math.h>
18206 main ()
18208 _sincosf(0, 0, 0);
18210 return 0;
18212 _ACEOF
18213 rm -f conftest.$ac_objext
18214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18215 (eval $ac_compile) 2>conftest.er1
18216 ac_status=$?
18217 grep -v '^ *+' conftest.er1 >conftest.err
18218 rm -f conftest.er1
18219 cat conftest.err >&5
18220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18221 (exit $ac_status); } &&
18222 { ac_try='test -z "$ac_cxx_werror_flag"
18223 || test ! -s conftest.err'
18224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18225 (eval $ac_try) 2>&5
18226 ac_status=$?
18227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18228 (exit $ac_status); }; } &&
18229 { ac_try='test -s conftest.$ac_objext'
18230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18231 (eval $ac_try) 2>&5
18232 ac_status=$?
18233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18234 (exit $ac_status); }; }; then
18235 glibcxx_cv_func__sincosf_use=yes
18236 else
18237 echo "$as_me: failed program was:" >&5
18238 sed 's/^/| /' conftest.$ac_ext >&5
18240 glibcxx_cv_func__sincosf_use=no
18242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18243 ac_ext=c
18244 ac_cpp='$CPP $CPPFLAGS'
18245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18253 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
18254 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
18256 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
18258 for ac_func in _sincosf
18260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18261 echo "$as_me:$LINENO: checking for $ac_func" >&5
18262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18263 if eval "test \"\${$as_ac_var+set}\" = set"; then
18264 echo $ECHO_N "(cached) $ECHO_C" >&6
18265 else
18266 if test x$gcc_no_link = xyes; then
18267 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18269 { (exit 1); exit 1; }; }
18271 cat >conftest.$ac_ext <<_ACEOF
18272 /* confdefs.h. */
18273 _ACEOF
18274 cat confdefs.h >>conftest.$ac_ext
18275 cat >>conftest.$ac_ext <<_ACEOF
18276 /* end confdefs.h. */
18277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18279 #define $ac_func innocuous_$ac_func
18281 /* System header to define __stub macros and hopefully few prototypes,
18282 which can conflict with char $ac_func (); below.
18283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18284 <limits.h> exists even on freestanding compilers. */
18286 #ifdef __STDC__
18287 # include <limits.h>
18288 #else
18289 # include <assert.h>
18290 #endif
18292 #undef $ac_func
18294 /* Override any gcc2 internal prototype to avoid an error. */
18295 #ifdef __cplusplus
18296 extern "C"
18298 #endif
18299 /* We use char because int might match the return type of a gcc2
18300 builtin and then its argument prototype would still apply. */
18301 char $ac_func ();
18302 /* The GNU C library defines this for functions which it implements
18303 to always fail with ENOSYS. Some functions are actually named
18304 something starting with __ and the normal name is an alias. */
18305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18306 choke me
18307 #else
18308 char (*f) () = $ac_func;
18309 #endif
18310 #ifdef __cplusplus
18312 #endif
18315 main ()
18317 return f != $ac_func;
18319 return 0;
18321 _ACEOF
18322 rm -f conftest.$ac_objext conftest$ac_exeext
18323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18324 (eval $ac_link) 2>conftest.er1
18325 ac_status=$?
18326 grep -v '^ *+' conftest.er1 >conftest.err
18327 rm -f conftest.er1
18328 cat conftest.err >&5
18329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18330 (exit $ac_status); } &&
18331 { ac_try='test -z "$ac_c_werror_flag"
18332 || test ! -s conftest.err'
18333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18334 (eval $ac_try) 2>&5
18335 ac_status=$?
18336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18337 (exit $ac_status); }; } &&
18338 { ac_try='test -s conftest$ac_exeext'
18339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18340 (eval $ac_try) 2>&5
18341 ac_status=$?
18342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18343 (exit $ac_status); }; }; then
18344 eval "$as_ac_var=yes"
18345 else
18346 echo "$as_me: failed program was:" >&5
18347 sed 's/^/| /' conftest.$ac_ext >&5
18349 eval "$as_ac_var=no"
18351 rm -f conftest.err conftest.$ac_objext \
18352 conftest$ac_exeext conftest.$ac_ext
18354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18356 if test `eval echo '${'$as_ac_var'}'` = yes; then
18357 cat >>confdefs.h <<_ACEOF
18358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18359 _ACEOF
18362 done
18372 echo "$as_me:$LINENO: checking for finitef declaration" >&5
18373 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
18374 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
18375 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
18376 echo $ECHO_N "(cached) $ECHO_C" >&6
18377 else
18381 ac_ext=cc
18382 ac_cpp='$CXXCPP $CPPFLAGS'
18383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18387 cat >conftest.$ac_ext <<_ACEOF
18388 /* confdefs.h. */
18389 _ACEOF
18390 cat confdefs.h >>conftest.$ac_ext
18391 cat >>conftest.$ac_ext <<_ACEOF
18392 /* end confdefs.h. */
18393 #include <math.h>
18394 #ifdef HAVE_IEEEFP_H
18395 #include <ieeefp.h>
18396 #endif
18399 main ()
18401 finitef(0);
18403 return 0;
18405 _ACEOF
18406 rm -f conftest.$ac_objext
18407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18408 (eval $ac_compile) 2>conftest.er1
18409 ac_status=$?
18410 grep -v '^ *+' conftest.er1 >conftest.err
18411 rm -f conftest.er1
18412 cat conftest.err >&5
18413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18414 (exit $ac_status); } &&
18415 { ac_try='test -z "$ac_cxx_werror_flag"
18416 || test ! -s conftest.err'
18417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18418 (eval $ac_try) 2>&5
18419 ac_status=$?
18420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18421 (exit $ac_status); }; } &&
18422 { ac_try='test -s conftest.$ac_objext'
18423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18424 (eval $ac_try) 2>&5
18425 ac_status=$?
18426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18427 (exit $ac_status); }; }; then
18428 glibcxx_cv_func_finitef_use=yes
18429 else
18430 echo "$as_me: failed program was:" >&5
18431 sed 's/^/| /' conftest.$ac_ext >&5
18433 glibcxx_cv_func_finitef_use=no
18435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18436 ac_ext=c
18437 ac_cpp='$CPP $CPPFLAGS'
18438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18446 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
18447 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
18449 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
18451 for ac_func in finitef
18453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18454 echo "$as_me:$LINENO: checking for $ac_func" >&5
18455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18456 if eval "test \"\${$as_ac_var+set}\" = set"; then
18457 echo $ECHO_N "(cached) $ECHO_C" >&6
18458 else
18459 if test x$gcc_no_link = xyes; then
18460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18462 { (exit 1); exit 1; }; }
18464 cat >conftest.$ac_ext <<_ACEOF
18465 /* confdefs.h. */
18466 _ACEOF
18467 cat confdefs.h >>conftest.$ac_ext
18468 cat >>conftest.$ac_ext <<_ACEOF
18469 /* end confdefs.h. */
18470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18472 #define $ac_func innocuous_$ac_func
18474 /* System header to define __stub macros and hopefully few prototypes,
18475 which can conflict with char $ac_func (); below.
18476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18477 <limits.h> exists even on freestanding compilers. */
18479 #ifdef __STDC__
18480 # include <limits.h>
18481 #else
18482 # include <assert.h>
18483 #endif
18485 #undef $ac_func
18487 /* Override any gcc2 internal prototype to avoid an error. */
18488 #ifdef __cplusplus
18489 extern "C"
18491 #endif
18492 /* We use char because int might match the return type of a gcc2
18493 builtin and then its argument prototype would still apply. */
18494 char $ac_func ();
18495 /* The GNU C library defines this for functions which it implements
18496 to always fail with ENOSYS. Some functions are actually named
18497 something starting with __ and the normal name is an alias. */
18498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18499 choke me
18500 #else
18501 char (*f) () = $ac_func;
18502 #endif
18503 #ifdef __cplusplus
18505 #endif
18508 main ()
18510 return f != $ac_func;
18512 return 0;
18514 _ACEOF
18515 rm -f conftest.$ac_objext conftest$ac_exeext
18516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18517 (eval $ac_link) 2>conftest.er1
18518 ac_status=$?
18519 grep -v '^ *+' conftest.er1 >conftest.err
18520 rm -f conftest.er1
18521 cat conftest.err >&5
18522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18523 (exit $ac_status); } &&
18524 { ac_try='test -z "$ac_c_werror_flag"
18525 || test ! -s conftest.err'
18526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18527 (eval $ac_try) 2>&5
18528 ac_status=$?
18529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18530 (exit $ac_status); }; } &&
18531 { ac_try='test -s conftest$ac_exeext'
18532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18533 (eval $ac_try) 2>&5
18534 ac_status=$?
18535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18536 (exit $ac_status); }; }; then
18537 eval "$as_ac_var=yes"
18538 else
18539 echo "$as_me: failed program was:" >&5
18540 sed 's/^/| /' conftest.$ac_ext >&5
18542 eval "$as_ac_var=no"
18544 rm -f conftest.err conftest.$ac_objext \
18545 conftest$ac_exeext conftest.$ac_ext
18547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18549 if test `eval echo '${'$as_ac_var'}'` = yes; then
18550 cat >>confdefs.h <<_ACEOF
18551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18552 _ACEOF
18555 done
18557 else
18559 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
18560 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
18561 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
18562 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
18563 echo $ECHO_N "(cached) $ECHO_C" >&6
18564 else
18568 ac_ext=cc
18569 ac_cpp='$CXXCPP $CPPFLAGS'
18570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18574 cat >conftest.$ac_ext <<_ACEOF
18575 /* confdefs.h. */
18576 _ACEOF
18577 cat confdefs.h >>conftest.$ac_ext
18578 cat >>conftest.$ac_ext <<_ACEOF
18579 /* end confdefs.h. */
18580 #include <math.h>
18581 #ifdef HAVE_IEEEFP_H
18582 #include <ieeefp.h>
18583 #endif
18586 main ()
18588 _finitef(0);
18590 return 0;
18592 _ACEOF
18593 rm -f conftest.$ac_objext
18594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18595 (eval $ac_compile) 2>conftest.er1
18596 ac_status=$?
18597 grep -v '^ *+' conftest.er1 >conftest.err
18598 rm -f conftest.er1
18599 cat conftest.err >&5
18600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18601 (exit $ac_status); } &&
18602 { ac_try='test -z "$ac_cxx_werror_flag"
18603 || test ! -s conftest.err'
18604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18605 (eval $ac_try) 2>&5
18606 ac_status=$?
18607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18608 (exit $ac_status); }; } &&
18609 { ac_try='test -s conftest.$ac_objext'
18610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18611 (eval $ac_try) 2>&5
18612 ac_status=$?
18613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18614 (exit $ac_status); }; }; then
18615 glibcxx_cv_func__finitef_use=yes
18616 else
18617 echo "$as_me: failed program was:" >&5
18618 sed 's/^/| /' conftest.$ac_ext >&5
18620 glibcxx_cv_func__finitef_use=no
18622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18623 ac_ext=c
18624 ac_cpp='$CPP $CPPFLAGS'
18625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18633 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
18634 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
18636 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
18638 for ac_func in _finitef
18640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18641 echo "$as_me:$LINENO: checking for $ac_func" >&5
18642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18643 if eval "test \"\${$as_ac_var+set}\" = set"; then
18644 echo $ECHO_N "(cached) $ECHO_C" >&6
18645 else
18646 if test x$gcc_no_link = xyes; then
18647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18649 { (exit 1); exit 1; }; }
18651 cat >conftest.$ac_ext <<_ACEOF
18652 /* confdefs.h. */
18653 _ACEOF
18654 cat confdefs.h >>conftest.$ac_ext
18655 cat >>conftest.$ac_ext <<_ACEOF
18656 /* end confdefs.h. */
18657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18659 #define $ac_func innocuous_$ac_func
18661 /* System header to define __stub macros and hopefully few prototypes,
18662 which can conflict with char $ac_func (); below.
18663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18664 <limits.h> exists even on freestanding compilers. */
18666 #ifdef __STDC__
18667 # include <limits.h>
18668 #else
18669 # include <assert.h>
18670 #endif
18672 #undef $ac_func
18674 /* Override any gcc2 internal prototype to avoid an error. */
18675 #ifdef __cplusplus
18676 extern "C"
18678 #endif
18679 /* We use char because int might match the return type of a gcc2
18680 builtin and then its argument prototype would still apply. */
18681 char $ac_func ();
18682 /* The GNU C library defines this for functions which it implements
18683 to always fail with ENOSYS. Some functions are actually named
18684 something starting with __ and the normal name is an alias. */
18685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18686 choke me
18687 #else
18688 char (*f) () = $ac_func;
18689 #endif
18690 #ifdef __cplusplus
18692 #endif
18695 main ()
18697 return f != $ac_func;
18699 return 0;
18701 _ACEOF
18702 rm -f conftest.$ac_objext conftest$ac_exeext
18703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18704 (eval $ac_link) 2>conftest.er1
18705 ac_status=$?
18706 grep -v '^ *+' conftest.er1 >conftest.err
18707 rm -f conftest.er1
18708 cat conftest.err >&5
18709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18710 (exit $ac_status); } &&
18711 { ac_try='test -z "$ac_c_werror_flag"
18712 || test ! -s conftest.err'
18713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18714 (eval $ac_try) 2>&5
18715 ac_status=$?
18716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18717 (exit $ac_status); }; } &&
18718 { ac_try='test -s conftest$ac_exeext'
18719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18720 (eval $ac_try) 2>&5
18721 ac_status=$?
18722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18723 (exit $ac_status); }; }; then
18724 eval "$as_ac_var=yes"
18725 else
18726 echo "$as_me: failed program was:" >&5
18727 sed 's/^/| /' conftest.$ac_ext >&5
18729 eval "$as_ac_var=no"
18731 rm -f conftest.err conftest.$ac_objext \
18732 conftest$ac_exeext conftest.$ac_ext
18734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18736 if test `eval echo '${'$as_ac_var'}'` = yes; then
18737 cat >>confdefs.h <<_ACEOF
18738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18739 _ACEOF
18742 done
18752 echo "$as_me:$LINENO: checking for long double trig functions" >&5
18753 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
18754 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
18755 echo $ECHO_N "(cached) $ECHO_C" >&6
18756 else
18760 ac_ext=cc
18761 ac_cpp='$CXXCPP $CPPFLAGS'
18762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18766 cat >conftest.$ac_ext <<_ACEOF
18767 /* confdefs.h. */
18768 _ACEOF
18769 cat confdefs.h >>conftest.$ac_ext
18770 cat >>conftest.$ac_ext <<_ACEOF
18771 /* end confdefs.h. */
18772 #include <math.h>
18774 main ()
18776 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
18778 return 0;
18780 _ACEOF
18781 rm -f conftest.$ac_objext
18782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18783 (eval $ac_compile) 2>conftest.er1
18784 ac_status=$?
18785 grep -v '^ *+' conftest.er1 >conftest.err
18786 rm -f conftest.er1
18787 cat conftest.err >&5
18788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18789 (exit $ac_status); } &&
18790 { ac_try='test -z "$ac_cxx_werror_flag"
18791 || test ! -s conftest.err'
18792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18793 (eval $ac_try) 2>&5
18794 ac_status=$?
18795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18796 (exit $ac_status); }; } &&
18797 { ac_try='test -s conftest.$ac_objext'
18798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18799 (eval $ac_try) 2>&5
18800 ac_status=$?
18801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18802 (exit $ac_status); }; }; then
18803 glibcxx_cv_func_long_double_trig_use=yes
18804 else
18805 echo "$as_me: failed program was:" >&5
18806 sed 's/^/| /' conftest.$ac_ext >&5
18808 glibcxx_cv_func_long_double_trig_use=no
18810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18811 ac_ext=c
18812 ac_cpp='$CPP $CPPFLAGS'
18813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18819 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
18820 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
18821 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
18831 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
18833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18834 echo "$as_me:$LINENO: checking for $ac_func" >&5
18835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18836 if eval "test \"\${$as_ac_var+set}\" = set"; then
18837 echo $ECHO_N "(cached) $ECHO_C" >&6
18838 else
18839 if test x$gcc_no_link = xyes; then
18840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18842 { (exit 1); exit 1; }; }
18844 cat >conftest.$ac_ext <<_ACEOF
18845 /* confdefs.h. */
18846 _ACEOF
18847 cat confdefs.h >>conftest.$ac_ext
18848 cat >>conftest.$ac_ext <<_ACEOF
18849 /* end confdefs.h. */
18850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18852 #define $ac_func innocuous_$ac_func
18854 /* System header to define __stub macros and hopefully few prototypes,
18855 which can conflict with char $ac_func (); below.
18856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18857 <limits.h> exists even on freestanding compilers. */
18859 #ifdef __STDC__
18860 # include <limits.h>
18861 #else
18862 # include <assert.h>
18863 #endif
18865 #undef $ac_func
18867 /* Override any gcc2 internal prototype to avoid an error. */
18868 #ifdef __cplusplus
18869 extern "C"
18871 #endif
18872 /* We use char because int might match the return type of a gcc2
18873 builtin and then its argument prototype would still apply. */
18874 char $ac_func ();
18875 /* The GNU C library defines this for functions which it implements
18876 to always fail with ENOSYS. Some functions are actually named
18877 something starting with __ and the normal name is an alias. */
18878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18879 choke me
18880 #else
18881 char (*f) () = $ac_func;
18882 #endif
18883 #ifdef __cplusplus
18885 #endif
18888 main ()
18890 return f != $ac_func;
18892 return 0;
18894 _ACEOF
18895 rm -f conftest.$ac_objext conftest$ac_exeext
18896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18897 (eval $ac_link) 2>conftest.er1
18898 ac_status=$?
18899 grep -v '^ *+' conftest.er1 >conftest.err
18900 rm -f conftest.er1
18901 cat conftest.err >&5
18902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18903 (exit $ac_status); } &&
18904 { ac_try='test -z "$ac_c_werror_flag"
18905 || test ! -s conftest.err'
18906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18907 (eval $ac_try) 2>&5
18908 ac_status=$?
18909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18910 (exit $ac_status); }; } &&
18911 { ac_try='test -s conftest$ac_exeext'
18912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18913 (eval $ac_try) 2>&5
18914 ac_status=$?
18915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18916 (exit $ac_status); }; }; then
18917 eval "$as_ac_var=yes"
18918 else
18919 echo "$as_me: failed program was:" >&5
18920 sed 's/^/| /' conftest.$ac_ext >&5
18922 eval "$as_ac_var=no"
18924 rm -f conftest.err conftest.$ac_objext \
18925 conftest$ac_exeext conftest.$ac_ext
18927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18929 if test `eval echo '${'$as_ac_var'}'` = yes; then
18930 cat >>confdefs.h <<_ACEOF
18931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18932 _ACEOF
18935 done
18937 else
18938 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
18939 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
18940 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
18941 echo $ECHO_N "(cached) $ECHO_C" >&6
18942 else
18946 ac_ext=cc
18947 ac_cpp='$CXXCPP $CPPFLAGS'
18948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18952 cat >conftest.$ac_ext <<_ACEOF
18953 /* confdefs.h. */
18954 _ACEOF
18955 cat confdefs.h >>conftest.$ac_ext
18956 cat >>conftest.$ac_ext <<_ACEOF
18957 /* end confdefs.h. */
18958 #include <math.h>
18960 main ()
18962 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
18964 return 0;
18966 _ACEOF
18967 rm -f conftest.$ac_objext
18968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18969 (eval $ac_compile) 2>conftest.er1
18970 ac_status=$?
18971 grep -v '^ *+' conftest.er1 >conftest.err
18972 rm -f conftest.er1
18973 cat conftest.err >&5
18974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18975 (exit $ac_status); } &&
18976 { ac_try='test -z "$ac_cxx_werror_flag"
18977 || test ! -s conftest.err'
18978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18979 (eval $ac_try) 2>&5
18980 ac_status=$?
18981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18982 (exit $ac_status); }; } &&
18983 { ac_try='test -s conftest.$ac_objext'
18984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18985 (eval $ac_try) 2>&5
18986 ac_status=$?
18987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18988 (exit $ac_status); }; }; then
18989 glibcxx_cv_func__long_double_trig_use=yes
18990 else
18991 echo "$as_me: failed program was:" >&5
18992 sed 's/^/| /' conftest.$ac_ext >&5
18994 glibcxx_cv_func__long_double_trig_use=no
18996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18997 ac_ext=c
18998 ac_cpp='$CPP $CPPFLAGS'
18999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19005 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
19006 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
19007 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
19017 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
19019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19020 echo "$as_me:$LINENO: checking for $ac_func" >&5
19021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19022 if eval "test \"\${$as_ac_var+set}\" = set"; then
19023 echo $ECHO_N "(cached) $ECHO_C" >&6
19024 else
19025 if test x$gcc_no_link = xyes; then
19026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19028 { (exit 1); exit 1; }; }
19030 cat >conftest.$ac_ext <<_ACEOF
19031 /* confdefs.h. */
19032 _ACEOF
19033 cat confdefs.h >>conftest.$ac_ext
19034 cat >>conftest.$ac_ext <<_ACEOF
19035 /* end confdefs.h. */
19036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19038 #define $ac_func innocuous_$ac_func
19040 /* System header to define __stub macros and hopefully few prototypes,
19041 which can conflict with char $ac_func (); below.
19042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19043 <limits.h> exists even on freestanding compilers. */
19045 #ifdef __STDC__
19046 # include <limits.h>
19047 #else
19048 # include <assert.h>
19049 #endif
19051 #undef $ac_func
19053 /* Override any gcc2 internal prototype to avoid an error. */
19054 #ifdef __cplusplus
19055 extern "C"
19057 #endif
19058 /* We use char because int might match the return type of a gcc2
19059 builtin and then its argument prototype would still apply. */
19060 char $ac_func ();
19061 /* The GNU C library defines this for functions which it implements
19062 to always fail with ENOSYS. Some functions are actually named
19063 something starting with __ and the normal name is an alias. */
19064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19065 choke me
19066 #else
19067 char (*f) () = $ac_func;
19068 #endif
19069 #ifdef __cplusplus
19071 #endif
19074 main ()
19076 return f != $ac_func;
19078 return 0;
19080 _ACEOF
19081 rm -f conftest.$ac_objext conftest$ac_exeext
19082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19083 (eval $ac_link) 2>conftest.er1
19084 ac_status=$?
19085 grep -v '^ *+' conftest.er1 >conftest.err
19086 rm -f conftest.er1
19087 cat conftest.err >&5
19088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19089 (exit $ac_status); } &&
19090 { ac_try='test -z "$ac_c_werror_flag"
19091 || test ! -s conftest.err'
19092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19093 (eval $ac_try) 2>&5
19094 ac_status=$?
19095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19096 (exit $ac_status); }; } &&
19097 { ac_try='test -s conftest$ac_exeext'
19098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19099 (eval $ac_try) 2>&5
19100 ac_status=$?
19101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19102 (exit $ac_status); }; }; then
19103 eval "$as_ac_var=yes"
19104 else
19105 echo "$as_me: failed program was:" >&5
19106 sed 's/^/| /' conftest.$ac_ext >&5
19108 eval "$as_ac_var=no"
19110 rm -f conftest.err conftest.$ac_objext \
19111 conftest$ac_exeext conftest.$ac_ext
19113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19115 if test `eval echo '${'$as_ac_var'}'` = yes; then
19116 cat >>confdefs.h <<_ACEOF
19117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19118 _ACEOF
19121 done
19139 echo "$as_me:$LINENO: checking for long double round functions" >&5
19140 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
19141 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
19142 echo $ECHO_N "(cached) $ECHO_C" >&6
19143 else
19147 ac_ext=cc
19148 ac_cpp='$CXXCPP $CPPFLAGS'
19149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19153 cat >conftest.$ac_ext <<_ACEOF
19154 /* confdefs.h. */
19155 _ACEOF
19156 cat confdefs.h >>conftest.$ac_ext
19157 cat >>conftest.$ac_ext <<_ACEOF
19158 /* end confdefs.h. */
19159 #include <math.h>
19161 main ()
19163 ceill (0); floorl (0);
19165 return 0;
19167 _ACEOF
19168 rm -f conftest.$ac_objext
19169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19170 (eval $ac_compile) 2>conftest.er1
19171 ac_status=$?
19172 grep -v '^ *+' conftest.er1 >conftest.err
19173 rm -f conftest.er1
19174 cat conftest.err >&5
19175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19176 (exit $ac_status); } &&
19177 { ac_try='test -z "$ac_cxx_werror_flag"
19178 || test ! -s conftest.err'
19179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19180 (eval $ac_try) 2>&5
19181 ac_status=$?
19182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19183 (exit $ac_status); }; } &&
19184 { ac_try='test -s conftest.$ac_objext'
19185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19186 (eval $ac_try) 2>&5
19187 ac_status=$?
19188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19189 (exit $ac_status); }; }; then
19190 glibcxx_cv_func_long_double_round_use=yes
19191 else
19192 echo "$as_me: failed program was:" >&5
19193 sed 's/^/| /' conftest.$ac_ext >&5
19195 glibcxx_cv_func_long_double_round_use=no
19197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19198 ac_ext=c
19199 ac_cpp='$CPP $CPPFLAGS'
19200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19206 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
19207 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
19208 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
19211 for ac_func in ceill floorl
19213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19214 echo "$as_me:$LINENO: checking for $ac_func" >&5
19215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19216 if eval "test \"\${$as_ac_var+set}\" = set"; then
19217 echo $ECHO_N "(cached) $ECHO_C" >&6
19218 else
19219 if test x$gcc_no_link = xyes; then
19220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19222 { (exit 1); exit 1; }; }
19224 cat >conftest.$ac_ext <<_ACEOF
19225 /* confdefs.h. */
19226 _ACEOF
19227 cat confdefs.h >>conftest.$ac_ext
19228 cat >>conftest.$ac_ext <<_ACEOF
19229 /* end confdefs.h. */
19230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19232 #define $ac_func innocuous_$ac_func
19234 /* System header to define __stub macros and hopefully few prototypes,
19235 which can conflict with char $ac_func (); below.
19236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19237 <limits.h> exists even on freestanding compilers. */
19239 #ifdef __STDC__
19240 # include <limits.h>
19241 #else
19242 # include <assert.h>
19243 #endif
19245 #undef $ac_func
19247 /* Override any gcc2 internal prototype to avoid an error. */
19248 #ifdef __cplusplus
19249 extern "C"
19251 #endif
19252 /* We use char because int might match the return type of a gcc2
19253 builtin and then its argument prototype would still apply. */
19254 char $ac_func ();
19255 /* The GNU C library defines this for functions which it implements
19256 to always fail with ENOSYS. Some functions are actually named
19257 something starting with __ and the normal name is an alias. */
19258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19259 choke me
19260 #else
19261 char (*f) () = $ac_func;
19262 #endif
19263 #ifdef __cplusplus
19265 #endif
19268 main ()
19270 return f != $ac_func;
19272 return 0;
19274 _ACEOF
19275 rm -f conftest.$ac_objext conftest$ac_exeext
19276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19277 (eval $ac_link) 2>conftest.er1
19278 ac_status=$?
19279 grep -v '^ *+' conftest.er1 >conftest.err
19280 rm -f conftest.er1
19281 cat conftest.err >&5
19282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19283 (exit $ac_status); } &&
19284 { ac_try='test -z "$ac_c_werror_flag"
19285 || test ! -s conftest.err'
19286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19287 (eval $ac_try) 2>&5
19288 ac_status=$?
19289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19290 (exit $ac_status); }; } &&
19291 { ac_try='test -s conftest$ac_exeext'
19292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19293 (eval $ac_try) 2>&5
19294 ac_status=$?
19295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19296 (exit $ac_status); }; }; then
19297 eval "$as_ac_var=yes"
19298 else
19299 echo "$as_me: failed program was:" >&5
19300 sed 's/^/| /' conftest.$ac_ext >&5
19302 eval "$as_ac_var=no"
19304 rm -f conftest.err conftest.$ac_objext \
19305 conftest$ac_exeext conftest.$ac_ext
19307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19309 if test `eval echo '${'$as_ac_var'}'` = yes; then
19310 cat >>confdefs.h <<_ACEOF
19311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19312 _ACEOF
19315 done
19317 else
19318 echo "$as_me:$LINENO: checking for _long double round functions" >&5
19319 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
19320 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
19321 echo $ECHO_N "(cached) $ECHO_C" >&6
19322 else
19326 ac_ext=cc
19327 ac_cpp='$CXXCPP $CPPFLAGS'
19328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19332 cat >conftest.$ac_ext <<_ACEOF
19333 /* confdefs.h. */
19334 _ACEOF
19335 cat confdefs.h >>conftest.$ac_ext
19336 cat >>conftest.$ac_ext <<_ACEOF
19337 /* end confdefs.h. */
19338 #include <math.h>
19340 main ()
19342 _ceill (0); _floorl (0);
19344 return 0;
19346 _ACEOF
19347 rm -f conftest.$ac_objext
19348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19349 (eval $ac_compile) 2>conftest.er1
19350 ac_status=$?
19351 grep -v '^ *+' conftest.er1 >conftest.err
19352 rm -f conftest.er1
19353 cat conftest.err >&5
19354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19355 (exit $ac_status); } &&
19356 { ac_try='test -z "$ac_cxx_werror_flag"
19357 || test ! -s conftest.err'
19358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19359 (eval $ac_try) 2>&5
19360 ac_status=$?
19361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19362 (exit $ac_status); }; } &&
19363 { ac_try='test -s conftest.$ac_objext'
19364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19365 (eval $ac_try) 2>&5
19366 ac_status=$?
19367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19368 (exit $ac_status); }; }; then
19369 glibcxx_cv_func__long_double_round_use=yes
19370 else
19371 echo "$as_me: failed program was:" >&5
19372 sed 's/^/| /' conftest.$ac_ext >&5
19374 glibcxx_cv_func__long_double_round_use=no
19376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19377 ac_ext=c
19378 ac_cpp='$CPP $CPPFLAGS'
19379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19385 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
19386 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
19387 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
19390 for ac_func in _ceill _floorl
19392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19393 echo "$as_me:$LINENO: checking for $ac_func" >&5
19394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19395 if eval "test \"\${$as_ac_var+set}\" = set"; then
19396 echo $ECHO_N "(cached) $ECHO_C" >&6
19397 else
19398 if test x$gcc_no_link = xyes; then
19399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19401 { (exit 1); exit 1; }; }
19403 cat >conftest.$ac_ext <<_ACEOF
19404 /* confdefs.h. */
19405 _ACEOF
19406 cat confdefs.h >>conftest.$ac_ext
19407 cat >>conftest.$ac_ext <<_ACEOF
19408 /* end confdefs.h. */
19409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19411 #define $ac_func innocuous_$ac_func
19413 /* System header to define __stub macros and hopefully few prototypes,
19414 which can conflict with char $ac_func (); below.
19415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19416 <limits.h> exists even on freestanding compilers. */
19418 #ifdef __STDC__
19419 # include <limits.h>
19420 #else
19421 # include <assert.h>
19422 #endif
19424 #undef $ac_func
19426 /* Override any gcc2 internal prototype to avoid an error. */
19427 #ifdef __cplusplus
19428 extern "C"
19430 #endif
19431 /* We use char because int might match the return type of a gcc2
19432 builtin and then its argument prototype would still apply. */
19433 char $ac_func ();
19434 /* The GNU C library defines this for functions which it implements
19435 to always fail with ENOSYS. Some functions are actually named
19436 something starting with __ and the normal name is an alias. */
19437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19438 choke me
19439 #else
19440 char (*f) () = $ac_func;
19441 #endif
19442 #ifdef __cplusplus
19444 #endif
19447 main ()
19449 return f != $ac_func;
19451 return 0;
19453 _ACEOF
19454 rm -f conftest.$ac_objext conftest$ac_exeext
19455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19456 (eval $ac_link) 2>conftest.er1
19457 ac_status=$?
19458 grep -v '^ *+' conftest.er1 >conftest.err
19459 rm -f conftest.er1
19460 cat conftest.err >&5
19461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19462 (exit $ac_status); } &&
19463 { ac_try='test -z "$ac_c_werror_flag"
19464 || test ! -s conftest.err'
19465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19466 (eval $ac_try) 2>&5
19467 ac_status=$?
19468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19469 (exit $ac_status); }; } &&
19470 { ac_try='test -s conftest$ac_exeext'
19471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19472 (eval $ac_try) 2>&5
19473 ac_status=$?
19474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 (exit $ac_status); }; }; then
19476 eval "$as_ac_var=yes"
19477 else
19478 echo "$as_me: failed program was:" >&5
19479 sed 's/^/| /' conftest.$ac_ext >&5
19481 eval "$as_ac_var=no"
19483 rm -f conftest.err conftest.$ac_objext \
19484 conftest$ac_exeext conftest.$ac_ext
19486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19488 if test `eval echo '${'$as_ac_var'}'` = yes; then
19489 cat >>confdefs.h <<_ACEOF
19490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19491 _ACEOF
19494 done
19506 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
19507 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
19508 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
19509 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
19510 echo $ECHO_N "(cached) $ECHO_C" >&6
19511 else
19515 ac_ext=cc
19516 ac_cpp='$CXXCPP $CPPFLAGS'
19517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19521 cat >conftest.$ac_ext <<_ACEOF
19522 /* confdefs.h. */
19523 _ACEOF
19524 cat confdefs.h >>conftest.$ac_ext
19525 cat >>conftest.$ac_ext <<_ACEOF
19526 /* end confdefs.h. */
19527 #include <math.h>
19528 #ifdef HAVE_IEEEFP_H
19529 #include <ieeefp.h>
19530 #endif
19533 main ()
19535 isnanl(0);
19537 return 0;
19539 _ACEOF
19540 rm -f conftest.$ac_objext
19541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19542 (eval $ac_compile) 2>conftest.er1
19543 ac_status=$?
19544 grep -v '^ *+' conftest.er1 >conftest.err
19545 rm -f conftest.er1
19546 cat conftest.err >&5
19547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19548 (exit $ac_status); } &&
19549 { ac_try='test -z "$ac_cxx_werror_flag"
19550 || test ! -s conftest.err'
19551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19552 (eval $ac_try) 2>&5
19553 ac_status=$?
19554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19555 (exit $ac_status); }; } &&
19556 { ac_try='test -s conftest.$ac_objext'
19557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19558 (eval $ac_try) 2>&5
19559 ac_status=$?
19560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19561 (exit $ac_status); }; }; then
19562 glibcxx_cv_func_isnanl_use=yes
19563 else
19564 echo "$as_me: failed program was:" >&5
19565 sed 's/^/| /' conftest.$ac_ext >&5
19567 glibcxx_cv_func_isnanl_use=no
19569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19570 ac_ext=c
19571 ac_cpp='$CPP $CPPFLAGS'
19572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19580 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
19581 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
19583 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
19585 for ac_func in isnanl
19587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19588 echo "$as_me:$LINENO: checking for $ac_func" >&5
19589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19590 if eval "test \"\${$as_ac_var+set}\" = set"; then
19591 echo $ECHO_N "(cached) $ECHO_C" >&6
19592 else
19593 if test x$gcc_no_link = xyes; then
19594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19596 { (exit 1); exit 1; }; }
19598 cat >conftest.$ac_ext <<_ACEOF
19599 /* confdefs.h. */
19600 _ACEOF
19601 cat confdefs.h >>conftest.$ac_ext
19602 cat >>conftest.$ac_ext <<_ACEOF
19603 /* end confdefs.h. */
19604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19606 #define $ac_func innocuous_$ac_func
19608 /* System header to define __stub macros and hopefully few prototypes,
19609 which can conflict with char $ac_func (); below.
19610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19611 <limits.h> exists even on freestanding compilers. */
19613 #ifdef __STDC__
19614 # include <limits.h>
19615 #else
19616 # include <assert.h>
19617 #endif
19619 #undef $ac_func
19621 /* Override any gcc2 internal prototype to avoid an error. */
19622 #ifdef __cplusplus
19623 extern "C"
19625 #endif
19626 /* We use char because int might match the return type of a gcc2
19627 builtin and then its argument prototype would still apply. */
19628 char $ac_func ();
19629 /* The GNU C library defines this for functions which it implements
19630 to always fail with ENOSYS. Some functions are actually named
19631 something starting with __ and the normal name is an alias. */
19632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19633 choke me
19634 #else
19635 char (*f) () = $ac_func;
19636 #endif
19637 #ifdef __cplusplus
19639 #endif
19642 main ()
19644 return f != $ac_func;
19646 return 0;
19648 _ACEOF
19649 rm -f conftest.$ac_objext conftest$ac_exeext
19650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19651 (eval $ac_link) 2>conftest.er1
19652 ac_status=$?
19653 grep -v '^ *+' conftest.er1 >conftest.err
19654 rm -f conftest.er1
19655 cat conftest.err >&5
19656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19657 (exit $ac_status); } &&
19658 { ac_try='test -z "$ac_c_werror_flag"
19659 || test ! -s conftest.err'
19660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19661 (eval $ac_try) 2>&5
19662 ac_status=$?
19663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19664 (exit $ac_status); }; } &&
19665 { ac_try='test -s conftest$ac_exeext'
19666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19667 (eval $ac_try) 2>&5
19668 ac_status=$?
19669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19670 (exit $ac_status); }; }; then
19671 eval "$as_ac_var=yes"
19672 else
19673 echo "$as_me: failed program was:" >&5
19674 sed 's/^/| /' conftest.$ac_ext >&5
19676 eval "$as_ac_var=no"
19678 rm -f conftest.err conftest.$ac_objext \
19679 conftest$ac_exeext conftest.$ac_ext
19681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19683 if test `eval echo '${'$as_ac_var'}'` = yes; then
19684 cat >>confdefs.h <<_ACEOF
19685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19686 _ACEOF
19689 done
19691 else
19693 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
19694 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
19695 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
19696 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
19697 echo $ECHO_N "(cached) $ECHO_C" >&6
19698 else
19702 ac_ext=cc
19703 ac_cpp='$CXXCPP $CPPFLAGS'
19704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19708 cat >conftest.$ac_ext <<_ACEOF
19709 /* confdefs.h. */
19710 _ACEOF
19711 cat confdefs.h >>conftest.$ac_ext
19712 cat >>conftest.$ac_ext <<_ACEOF
19713 /* end confdefs.h. */
19714 #include <math.h>
19715 #ifdef HAVE_IEEEFP_H
19716 #include <ieeefp.h>
19717 #endif
19720 main ()
19722 _isnanl(0);
19724 return 0;
19726 _ACEOF
19727 rm -f conftest.$ac_objext
19728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19729 (eval $ac_compile) 2>conftest.er1
19730 ac_status=$?
19731 grep -v '^ *+' conftest.er1 >conftest.err
19732 rm -f conftest.er1
19733 cat conftest.err >&5
19734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19735 (exit $ac_status); } &&
19736 { ac_try='test -z "$ac_cxx_werror_flag"
19737 || test ! -s conftest.err'
19738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19739 (eval $ac_try) 2>&5
19740 ac_status=$?
19741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19742 (exit $ac_status); }; } &&
19743 { ac_try='test -s conftest.$ac_objext'
19744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19745 (eval $ac_try) 2>&5
19746 ac_status=$?
19747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19748 (exit $ac_status); }; }; then
19749 glibcxx_cv_func__isnanl_use=yes
19750 else
19751 echo "$as_me: failed program was:" >&5
19752 sed 's/^/| /' conftest.$ac_ext >&5
19754 glibcxx_cv_func__isnanl_use=no
19756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19757 ac_ext=c
19758 ac_cpp='$CPP $CPPFLAGS'
19759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19767 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
19768 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
19770 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
19772 for ac_func in _isnanl
19774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19775 echo "$as_me:$LINENO: checking for $ac_func" >&5
19776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19777 if eval "test \"\${$as_ac_var+set}\" = set"; then
19778 echo $ECHO_N "(cached) $ECHO_C" >&6
19779 else
19780 if test x$gcc_no_link = xyes; then
19781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19783 { (exit 1); exit 1; }; }
19785 cat >conftest.$ac_ext <<_ACEOF
19786 /* confdefs.h. */
19787 _ACEOF
19788 cat confdefs.h >>conftest.$ac_ext
19789 cat >>conftest.$ac_ext <<_ACEOF
19790 /* end confdefs.h. */
19791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19793 #define $ac_func innocuous_$ac_func
19795 /* System header to define __stub macros and hopefully few prototypes,
19796 which can conflict with char $ac_func (); below.
19797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19798 <limits.h> exists even on freestanding compilers. */
19800 #ifdef __STDC__
19801 # include <limits.h>
19802 #else
19803 # include <assert.h>
19804 #endif
19806 #undef $ac_func
19808 /* Override any gcc2 internal prototype to avoid an error. */
19809 #ifdef __cplusplus
19810 extern "C"
19812 #endif
19813 /* We use char because int might match the return type of a gcc2
19814 builtin and then its argument prototype would still apply. */
19815 char $ac_func ();
19816 /* The GNU C library defines this for functions which it implements
19817 to always fail with ENOSYS. Some functions are actually named
19818 something starting with __ and the normal name is an alias. */
19819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19820 choke me
19821 #else
19822 char (*f) () = $ac_func;
19823 #endif
19824 #ifdef __cplusplus
19826 #endif
19829 main ()
19831 return f != $ac_func;
19833 return 0;
19835 _ACEOF
19836 rm -f conftest.$ac_objext conftest$ac_exeext
19837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19838 (eval $ac_link) 2>conftest.er1
19839 ac_status=$?
19840 grep -v '^ *+' conftest.er1 >conftest.err
19841 rm -f conftest.er1
19842 cat conftest.err >&5
19843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19844 (exit $ac_status); } &&
19845 { ac_try='test -z "$ac_c_werror_flag"
19846 || test ! -s conftest.err'
19847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19848 (eval $ac_try) 2>&5
19849 ac_status=$?
19850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19851 (exit $ac_status); }; } &&
19852 { ac_try='test -s conftest$ac_exeext'
19853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19854 (eval $ac_try) 2>&5
19855 ac_status=$?
19856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19857 (exit $ac_status); }; }; then
19858 eval "$as_ac_var=yes"
19859 else
19860 echo "$as_me: failed program was:" >&5
19861 sed 's/^/| /' conftest.$ac_ext >&5
19863 eval "$as_ac_var=no"
19865 rm -f conftest.err conftest.$ac_objext \
19866 conftest$ac_exeext conftest.$ac_ext
19868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19870 if test `eval echo '${'$as_ac_var'}'` = yes; then
19871 cat >>confdefs.h <<_ACEOF
19872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19873 _ACEOF
19876 done
19886 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
19887 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
19888 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
19889 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
19890 echo $ECHO_N "(cached) $ECHO_C" >&6
19891 else
19895 ac_ext=cc
19896 ac_cpp='$CXXCPP $CPPFLAGS'
19897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19901 cat >conftest.$ac_ext <<_ACEOF
19902 /* confdefs.h. */
19903 _ACEOF
19904 cat confdefs.h >>conftest.$ac_ext
19905 cat >>conftest.$ac_ext <<_ACEOF
19906 /* end confdefs.h. */
19907 #include <math.h>
19908 #ifdef HAVE_IEEEFP_H
19909 #include <ieeefp.h>
19910 #endif
19913 main ()
19915 isinfl(0);
19917 return 0;
19919 _ACEOF
19920 rm -f conftest.$ac_objext
19921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19922 (eval $ac_compile) 2>conftest.er1
19923 ac_status=$?
19924 grep -v '^ *+' conftest.er1 >conftest.err
19925 rm -f conftest.er1
19926 cat conftest.err >&5
19927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19928 (exit $ac_status); } &&
19929 { ac_try='test -z "$ac_cxx_werror_flag"
19930 || test ! -s conftest.err'
19931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19932 (eval $ac_try) 2>&5
19933 ac_status=$?
19934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19935 (exit $ac_status); }; } &&
19936 { ac_try='test -s conftest.$ac_objext'
19937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19938 (eval $ac_try) 2>&5
19939 ac_status=$?
19940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19941 (exit $ac_status); }; }; then
19942 glibcxx_cv_func_isinfl_use=yes
19943 else
19944 echo "$as_me: failed program was:" >&5
19945 sed 's/^/| /' conftest.$ac_ext >&5
19947 glibcxx_cv_func_isinfl_use=no
19949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19950 ac_ext=c
19951 ac_cpp='$CPP $CPPFLAGS'
19952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19960 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
19961 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
19963 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
19965 for ac_func in isinfl
19967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19968 echo "$as_me:$LINENO: checking for $ac_func" >&5
19969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19970 if eval "test \"\${$as_ac_var+set}\" = set"; then
19971 echo $ECHO_N "(cached) $ECHO_C" >&6
19972 else
19973 if test x$gcc_no_link = xyes; then
19974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19976 { (exit 1); exit 1; }; }
19978 cat >conftest.$ac_ext <<_ACEOF
19979 /* confdefs.h. */
19980 _ACEOF
19981 cat confdefs.h >>conftest.$ac_ext
19982 cat >>conftest.$ac_ext <<_ACEOF
19983 /* end confdefs.h. */
19984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19986 #define $ac_func innocuous_$ac_func
19988 /* System header to define __stub macros and hopefully few prototypes,
19989 which can conflict with char $ac_func (); below.
19990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19991 <limits.h> exists even on freestanding compilers. */
19993 #ifdef __STDC__
19994 # include <limits.h>
19995 #else
19996 # include <assert.h>
19997 #endif
19999 #undef $ac_func
20001 /* Override any gcc2 internal prototype to avoid an error. */
20002 #ifdef __cplusplus
20003 extern "C"
20005 #endif
20006 /* We use char because int might match the return type of a gcc2
20007 builtin and then its argument prototype would still apply. */
20008 char $ac_func ();
20009 /* The GNU C library defines this for functions which it implements
20010 to always fail with ENOSYS. Some functions are actually named
20011 something starting with __ and the normal name is an alias. */
20012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20013 choke me
20014 #else
20015 char (*f) () = $ac_func;
20016 #endif
20017 #ifdef __cplusplus
20019 #endif
20022 main ()
20024 return f != $ac_func;
20026 return 0;
20028 _ACEOF
20029 rm -f conftest.$ac_objext conftest$ac_exeext
20030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20031 (eval $ac_link) 2>conftest.er1
20032 ac_status=$?
20033 grep -v '^ *+' conftest.er1 >conftest.err
20034 rm -f conftest.er1
20035 cat conftest.err >&5
20036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20037 (exit $ac_status); } &&
20038 { ac_try='test -z "$ac_c_werror_flag"
20039 || test ! -s conftest.err'
20040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20041 (eval $ac_try) 2>&5
20042 ac_status=$?
20043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20044 (exit $ac_status); }; } &&
20045 { ac_try='test -s conftest$ac_exeext'
20046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20047 (eval $ac_try) 2>&5
20048 ac_status=$?
20049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20050 (exit $ac_status); }; }; then
20051 eval "$as_ac_var=yes"
20052 else
20053 echo "$as_me: failed program was:" >&5
20054 sed 's/^/| /' conftest.$ac_ext >&5
20056 eval "$as_ac_var=no"
20058 rm -f conftest.err conftest.$ac_objext \
20059 conftest$ac_exeext conftest.$ac_ext
20061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20063 if test `eval echo '${'$as_ac_var'}'` = yes; then
20064 cat >>confdefs.h <<_ACEOF
20065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20066 _ACEOF
20069 done
20071 else
20073 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
20074 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
20075 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
20076 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
20077 echo $ECHO_N "(cached) $ECHO_C" >&6
20078 else
20082 ac_ext=cc
20083 ac_cpp='$CXXCPP $CPPFLAGS'
20084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20088 cat >conftest.$ac_ext <<_ACEOF
20089 /* confdefs.h. */
20090 _ACEOF
20091 cat confdefs.h >>conftest.$ac_ext
20092 cat >>conftest.$ac_ext <<_ACEOF
20093 /* end confdefs.h. */
20094 #include <math.h>
20095 #ifdef HAVE_IEEEFP_H
20096 #include <ieeefp.h>
20097 #endif
20100 main ()
20102 _isinfl(0);
20104 return 0;
20106 _ACEOF
20107 rm -f conftest.$ac_objext
20108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20109 (eval $ac_compile) 2>conftest.er1
20110 ac_status=$?
20111 grep -v '^ *+' conftest.er1 >conftest.err
20112 rm -f conftest.er1
20113 cat conftest.err >&5
20114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20115 (exit $ac_status); } &&
20116 { ac_try='test -z "$ac_cxx_werror_flag"
20117 || test ! -s conftest.err'
20118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20119 (eval $ac_try) 2>&5
20120 ac_status=$?
20121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20122 (exit $ac_status); }; } &&
20123 { ac_try='test -s conftest.$ac_objext'
20124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20125 (eval $ac_try) 2>&5
20126 ac_status=$?
20127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20128 (exit $ac_status); }; }; then
20129 glibcxx_cv_func__isinfl_use=yes
20130 else
20131 echo "$as_me: failed program was:" >&5
20132 sed 's/^/| /' conftest.$ac_ext >&5
20134 glibcxx_cv_func__isinfl_use=no
20136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20137 ac_ext=c
20138 ac_cpp='$CPP $CPPFLAGS'
20139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20147 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
20148 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
20150 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
20152 for ac_func in _isinfl
20154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20155 echo "$as_me:$LINENO: checking for $ac_func" >&5
20156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20157 if eval "test \"\${$as_ac_var+set}\" = set"; then
20158 echo $ECHO_N "(cached) $ECHO_C" >&6
20159 else
20160 if test x$gcc_no_link = xyes; then
20161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20163 { (exit 1); exit 1; }; }
20165 cat >conftest.$ac_ext <<_ACEOF
20166 /* confdefs.h. */
20167 _ACEOF
20168 cat confdefs.h >>conftest.$ac_ext
20169 cat >>conftest.$ac_ext <<_ACEOF
20170 /* end confdefs.h. */
20171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20173 #define $ac_func innocuous_$ac_func
20175 /* System header to define __stub macros and hopefully few prototypes,
20176 which can conflict with char $ac_func (); below.
20177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20178 <limits.h> exists even on freestanding compilers. */
20180 #ifdef __STDC__
20181 # include <limits.h>
20182 #else
20183 # include <assert.h>
20184 #endif
20186 #undef $ac_func
20188 /* Override any gcc2 internal prototype to avoid an error. */
20189 #ifdef __cplusplus
20190 extern "C"
20192 #endif
20193 /* We use char because int might match the return type of a gcc2
20194 builtin and then its argument prototype would still apply. */
20195 char $ac_func ();
20196 /* The GNU C library defines this for functions which it implements
20197 to always fail with ENOSYS. Some functions are actually named
20198 something starting with __ and the normal name is an alias. */
20199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20200 choke me
20201 #else
20202 char (*f) () = $ac_func;
20203 #endif
20204 #ifdef __cplusplus
20206 #endif
20209 main ()
20211 return f != $ac_func;
20213 return 0;
20215 _ACEOF
20216 rm -f conftest.$ac_objext conftest$ac_exeext
20217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20218 (eval $ac_link) 2>conftest.er1
20219 ac_status=$?
20220 grep -v '^ *+' conftest.er1 >conftest.err
20221 rm -f conftest.er1
20222 cat conftest.err >&5
20223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20224 (exit $ac_status); } &&
20225 { ac_try='test -z "$ac_c_werror_flag"
20226 || test ! -s conftest.err'
20227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20228 (eval $ac_try) 2>&5
20229 ac_status=$?
20230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20231 (exit $ac_status); }; } &&
20232 { ac_try='test -s conftest$ac_exeext'
20233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20234 (eval $ac_try) 2>&5
20235 ac_status=$?
20236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20237 (exit $ac_status); }; }; then
20238 eval "$as_ac_var=yes"
20239 else
20240 echo "$as_me: failed program was:" >&5
20241 sed 's/^/| /' conftest.$ac_ext >&5
20243 eval "$as_ac_var=no"
20245 rm -f conftest.err conftest.$ac_objext \
20246 conftest$ac_exeext conftest.$ac_ext
20248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20250 if test `eval echo '${'$as_ac_var'}'` = yes; then
20251 cat >>confdefs.h <<_ACEOF
20252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20253 _ACEOF
20256 done
20266 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
20267 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
20268 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
20269 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
20270 echo $ECHO_N "(cached) $ECHO_C" >&6
20271 else
20275 ac_ext=cc
20276 ac_cpp='$CXXCPP $CPPFLAGS'
20277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20281 cat >conftest.$ac_ext <<_ACEOF
20282 /* confdefs.h. */
20283 _ACEOF
20284 cat confdefs.h >>conftest.$ac_ext
20285 cat >>conftest.$ac_ext <<_ACEOF
20286 /* end confdefs.h. */
20287 #include <math.h>
20289 main ()
20291 copysignl(0, 0);
20293 return 0;
20295 _ACEOF
20296 rm -f conftest.$ac_objext
20297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20298 (eval $ac_compile) 2>conftest.er1
20299 ac_status=$?
20300 grep -v '^ *+' conftest.er1 >conftest.err
20301 rm -f conftest.er1
20302 cat conftest.err >&5
20303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20304 (exit $ac_status); } &&
20305 { ac_try='test -z "$ac_cxx_werror_flag"
20306 || test ! -s conftest.err'
20307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20308 (eval $ac_try) 2>&5
20309 ac_status=$?
20310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20311 (exit $ac_status); }; } &&
20312 { ac_try='test -s conftest.$ac_objext'
20313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20314 (eval $ac_try) 2>&5
20315 ac_status=$?
20316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20317 (exit $ac_status); }; }; then
20318 glibcxx_cv_func_copysignl_use=yes
20319 else
20320 echo "$as_me: failed program was:" >&5
20321 sed 's/^/| /' conftest.$ac_ext >&5
20323 glibcxx_cv_func_copysignl_use=no
20325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20326 ac_ext=c
20327 ac_cpp='$CPP $CPPFLAGS'
20328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20336 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
20337 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
20339 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
20341 for ac_func in copysignl
20343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20344 echo "$as_me:$LINENO: checking for $ac_func" >&5
20345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20346 if eval "test \"\${$as_ac_var+set}\" = set"; then
20347 echo $ECHO_N "(cached) $ECHO_C" >&6
20348 else
20349 if test x$gcc_no_link = xyes; then
20350 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20352 { (exit 1); exit 1; }; }
20354 cat >conftest.$ac_ext <<_ACEOF
20355 /* confdefs.h. */
20356 _ACEOF
20357 cat confdefs.h >>conftest.$ac_ext
20358 cat >>conftest.$ac_ext <<_ACEOF
20359 /* end confdefs.h. */
20360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20361 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20362 #define $ac_func innocuous_$ac_func
20364 /* System header to define __stub macros and hopefully few prototypes,
20365 which can conflict with char $ac_func (); below.
20366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20367 <limits.h> exists even on freestanding compilers. */
20369 #ifdef __STDC__
20370 # include <limits.h>
20371 #else
20372 # include <assert.h>
20373 #endif
20375 #undef $ac_func
20377 /* Override any gcc2 internal prototype to avoid an error. */
20378 #ifdef __cplusplus
20379 extern "C"
20381 #endif
20382 /* We use char because int might match the return type of a gcc2
20383 builtin and then its argument prototype would still apply. */
20384 char $ac_func ();
20385 /* The GNU C library defines this for functions which it implements
20386 to always fail with ENOSYS. Some functions are actually named
20387 something starting with __ and the normal name is an alias. */
20388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20389 choke me
20390 #else
20391 char (*f) () = $ac_func;
20392 #endif
20393 #ifdef __cplusplus
20395 #endif
20398 main ()
20400 return f != $ac_func;
20402 return 0;
20404 _ACEOF
20405 rm -f conftest.$ac_objext conftest$ac_exeext
20406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20407 (eval $ac_link) 2>conftest.er1
20408 ac_status=$?
20409 grep -v '^ *+' conftest.er1 >conftest.err
20410 rm -f conftest.er1
20411 cat conftest.err >&5
20412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20413 (exit $ac_status); } &&
20414 { ac_try='test -z "$ac_c_werror_flag"
20415 || test ! -s conftest.err'
20416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20417 (eval $ac_try) 2>&5
20418 ac_status=$?
20419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20420 (exit $ac_status); }; } &&
20421 { ac_try='test -s conftest$ac_exeext'
20422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20423 (eval $ac_try) 2>&5
20424 ac_status=$?
20425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20426 (exit $ac_status); }; }; then
20427 eval "$as_ac_var=yes"
20428 else
20429 echo "$as_me: failed program was:" >&5
20430 sed 's/^/| /' conftest.$ac_ext >&5
20432 eval "$as_ac_var=no"
20434 rm -f conftest.err conftest.$ac_objext \
20435 conftest$ac_exeext conftest.$ac_ext
20437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20438 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20439 if test `eval echo '${'$as_ac_var'}'` = yes; then
20440 cat >>confdefs.h <<_ACEOF
20441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20442 _ACEOF
20445 done
20447 else
20449 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
20450 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
20451 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
20452 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
20453 echo $ECHO_N "(cached) $ECHO_C" >&6
20454 else
20458 ac_ext=cc
20459 ac_cpp='$CXXCPP $CPPFLAGS'
20460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20464 cat >conftest.$ac_ext <<_ACEOF
20465 /* confdefs.h. */
20466 _ACEOF
20467 cat confdefs.h >>conftest.$ac_ext
20468 cat >>conftest.$ac_ext <<_ACEOF
20469 /* end confdefs.h. */
20470 #include <math.h>
20472 main ()
20474 _copysignl(0, 0);
20476 return 0;
20478 _ACEOF
20479 rm -f conftest.$ac_objext
20480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20481 (eval $ac_compile) 2>conftest.er1
20482 ac_status=$?
20483 grep -v '^ *+' conftest.er1 >conftest.err
20484 rm -f conftest.er1
20485 cat conftest.err >&5
20486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20487 (exit $ac_status); } &&
20488 { ac_try='test -z "$ac_cxx_werror_flag"
20489 || test ! -s conftest.err'
20490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20491 (eval $ac_try) 2>&5
20492 ac_status=$?
20493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20494 (exit $ac_status); }; } &&
20495 { ac_try='test -s conftest.$ac_objext'
20496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20497 (eval $ac_try) 2>&5
20498 ac_status=$?
20499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20500 (exit $ac_status); }; }; then
20501 glibcxx_cv_func__copysignl_use=yes
20502 else
20503 echo "$as_me: failed program was:" >&5
20504 sed 's/^/| /' conftest.$ac_ext >&5
20506 glibcxx_cv_func__copysignl_use=no
20508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20509 ac_ext=c
20510 ac_cpp='$CPP $CPPFLAGS'
20511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20519 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
20520 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
20522 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
20524 for ac_func in _copysignl
20526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20527 echo "$as_me:$LINENO: checking for $ac_func" >&5
20528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20529 if eval "test \"\${$as_ac_var+set}\" = set"; then
20530 echo $ECHO_N "(cached) $ECHO_C" >&6
20531 else
20532 if test x$gcc_no_link = xyes; then
20533 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20535 { (exit 1); exit 1; }; }
20537 cat >conftest.$ac_ext <<_ACEOF
20538 /* confdefs.h. */
20539 _ACEOF
20540 cat confdefs.h >>conftest.$ac_ext
20541 cat >>conftest.$ac_ext <<_ACEOF
20542 /* end confdefs.h. */
20543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20545 #define $ac_func innocuous_$ac_func
20547 /* System header to define __stub macros and hopefully few prototypes,
20548 which can conflict with char $ac_func (); below.
20549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20550 <limits.h> exists even on freestanding compilers. */
20552 #ifdef __STDC__
20553 # include <limits.h>
20554 #else
20555 # include <assert.h>
20556 #endif
20558 #undef $ac_func
20560 /* Override any gcc2 internal prototype to avoid an error. */
20561 #ifdef __cplusplus
20562 extern "C"
20564 #endif
20565 /* We use char because int might match the return type of a gcc2
20566 builtin and then its argument prototype would still apply. */
20567 char $ac_func ();
20568 /* The GNU C library defines this for functions which it implements
20569 to always fail with ENOSYS. Some functions are actually named
20570 something starting with __ and the normal name is an alias. */
20571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20572 choke me
20573 #else
20574 char (*f) () = $ac_func;
20575 #endif
20576 #ifdef __cplusplus
20578 #endif
20581 main ()
20583 return f != $ac_func;
20585 return 0;
20587 _ACEOF
20588 rm -f conftest.$ac_objext conftest$ac_exeext
20589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20590 (eval $ac_link) 2>conftest.er1
20591 ac_status=$?
20592 grep -v '^ *+' conftest.er1 >conftest.err
20593 rm -f conftest.er1
20594 cat conftest.err >&5
20595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20596 (exit $ac_status); } &&
20597 { ac_try='test -z "$ac_c_werror_flag"
20598 || test ! -s conftest.err'
20599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20600 (eval $ac_try) 2>&5
20601 ac_status=$?
20602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20603 (exit $ac_status); }; } &&
20604 { ac_try='test -s conftest$ac_exeext'
20605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20606 (eval $ac_try) 2>&5
20607 ac_status=$?
20608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20609 (exit $ac_status); }; }; then
20610 eval "$as_ac_var=yes"
20611 else
20612 echo "$as_me: failed program was:" >&5
20613 sed 's/^/| /' conftest.$ac_ext >&5
20615 eval "$as_ac_var=no"
20617 rm -f conftest.err conftest.$ac_objext \
20618 conftest$ac_exeext conftest.$ac_ext
20620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20622 if test `eval echo '${'$as_ac_var'}'` = yes; then
20623 cat >>confdefs.h <<_ACEOF
20624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20625 _ACEOF
20628 done
20638 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
20639 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
20640 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
20641 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
20642 echo $ECHO_N "(cached) $ECHO_C" >&6
20643 else
20647 ac_ext=cc
20648 ac_cpp='$CXXCPP $CPPFLAGS'
20649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20653 cat >conftest.$ac_ext <<_ACEOF
20654 /* confdefs.h. */
20655 _ACEOF
20656 cat confdefs.h >>conftest.$ac_ext
20657 cat >>conftest.$ac_ext <<_ACEOF
20658 /* end confdefs.h. */
20659 #include <math.h>
20661 main ()
20663 atan2l(0, 0);
20665 return 0;
20667 _ACEOF
20668 rm -f conftest.$ac_objext
20669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20670 (eval $ac_compile) 2>conftest.er1
20671 ac_status=$?
20672 grep -v '^ *+' conftest.er1 >conftest.err
20673 rm -f conftest.er1
20674 cat conftest.err >&5
20675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20676 (exit $ac_status); } &&
20677 { ac_try='test -z "$ac_cxx_werror_flag"
20678 || test ! -s conftest.err'
20679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20680 (eval $ac_try) 2>&5
20681 ac_status=$?
20682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20683 (exit $ac_status); }; } &&
20684 { ac_try='test -s conftest.$ac_objext'
20685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20686 (eval $ac_try) 2>&5
20687 ac_status=$?
20688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20689 (exit $ac_status); }; }; then
20690 glibcxx_cv_func_atan2l_use=yes
20691 else
20692 echo "$as_me: failed program was:" >&5
20693 sed 's/^/| /' conftest.$ac_ext >&5
20695 glibcxx_cv_func_atan2l_use=no
20697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20698 ac_ext=c
20699 ac_cpp='$CPP $CPPFLAGS'
20700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20708 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
20709 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
20711 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
20713 for ac_func in atan2l
20715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20716 echo "$as_me:$LINENO: checking for $ac_func" >&5
20717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20718 if eval "test \"\${$as_ac_var+set}\" = set"; then
20719 echo $ECHO_N "(cached) $ECHO_C" >&6
20720 else
20721 if test x$gcc_no_link = xyes; then
20722 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20724 { (exit 1); exit 1; }; }
20726 cat >conftest.$ac_ext <<_ACEOF
20727 /* confdefs.h. */
20728 _ACEOF
20729 cat confdefs.h >>conftest.$ac_ext
20730 cat >>conftest.$ac_ext <<_ACEOF
20731 /* end confdefs.h. */
20732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20734 #define $ac_func innocuous_$ac_func
20736 /* System header to define __stub macros and hopefully few prototypes,
20737 which can conflict with char $ac_func (); below.
20738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20739 <limits.h> exists even on freestanding compilers. */
20741 #ifdef __STDC__
20742 # include <limits.h>
20743 #else
20744 # include <assert.h>
20745 #endif
20747 #undef $ac_func
20749 /* Override any gcc2 internal prototype to avoid an error. */
20750 #ifdef __cplusplus
20751 extern "C"
20753 #endif
20754 /* We use char because int might match the return type of a gcc2
20755 builtin and then its argument prototype would still apply. */
20756 char $ac_func ();
20757 /* The GNU C library defines this for functions which it implements
20758 to always fail with ENOSYS. Some functions are actually named
20759 something starting with __ and the normal name is an alias. */
20760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20761 choke me
20762 #else
20763 char (*f) () = $ac_func;
20764 #endif
20765 #ifdef __cplusplus
20767 #endif
20770 main ()
20772 return f != $ac_func;
20774 return 0;
20776 _ACEOF
20777 rm -f conftest.$ac_objext conftest$ac_exeext
20778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20779 (eval $ac_link) 2>conftest.er1
20780 ac_status=$?
20781 grep -v '^ *+' conftest.er1 >conftest.err
20782 rm -f conftest.er1
20783 cat conftest.err >&5
20784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20785 (exit $ac_status); } &&
20786 { ac_try='test -z "$ac_c_werror_flag"
20787 || test ! -s conftest.err'
20788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20789 (eval $ac_try) 2>&5
20790 ac_status=$?
20791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20792 (exit $ac_status); }; } &&
20793 { ac_try='test -s conftest$ac_exeext'
20794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20795 (eval $ac_try) 2>&5
20796 ac_status=$?
20797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20798 (exit $ac_status); }; }; then
20799 eval "$as_ac_var=yes"
20800 else
20801 echo "$as_me: failed program was:" >&5
20802 sed 's/^/| /' conftest.$ac_ext >&5
20804 eval "$as_ac_var=no"
20806 rm -f conftest.err conftest.$ac_objext \
20807 conftest$ac_exeext conftest.$ac_ext
20809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20811 if test `eval echo '${'$as_ac_var'}'` = yes; then
20812 cat >>confdefs.h <<_ACEOF
20813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20814 _ACEOF
20817 done
20819 else
20821 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
20822 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
20823 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
20824 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
20825 echo $ECHO_N "(cached) $ECHO_C" >&6
20826 else
20830 ac_ext=cc
20831 ac_cpp='$CXXCPP $CPPFLAGS'
20832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20836 cat >conftest.$ac_ext <<_ACEOF
20837 /* confdefs.h. */
20838 _ACEOF
20839 cat confdefs.h >>conftest.$ac_ext
20840 cat >>conftest.$ac_ext <<_ACEOF
20841 /* end confdefs.h. */
20842 #include <math.h>
20844 main ()
20846 _atan2l(0, 0);
20848 return 0;
20850 _ACEOF
20851 rm -f conftest.$ac_objext
20852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20853 (eval $ac_compile) 2>conftest.er1
20854 ac_status=$?
20855 grep -v '^ *+' conftest.er1 >conftest.err
20856 rm -f conftest.er1
20857 cat conftest.err >&5
20858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20859 (exit $ac_status); } &&
20860 { ac_try='test -z "$ac_cxx_werror_flag"
20861 || test ! -s conftest.err'
20862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20863 (eval $ac_try) 2>&5
20864 ac_status=$?
20865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20866 (exit $ac_status); }; } &&
20867 { ac_try='test -s conftest.$ac_objext'
20868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20869 (eval $ac_try) 2>&5
20870 ac_status=$?
20871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20872 (exit $ac_status); }; }; then
20873 glibcxx_cv_func__atan2l_use=yes
20874 else
20875 echo "$as_me: failed program was:" >&5
20876 sed 's/^/| /' conftest.$ac_ext >&5
20878 glibcxx_cv_func__atan2l_use=no
20880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20881 ac_ext=c
20882 ac_cpp='$CPP $CPPFLAGS'
20883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20891 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
20892 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
20894 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
20896 for ac_func in _atan2l
20898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20899 echo "$as_me:$LINENO: checking for $ac_func" >&5
20900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20901 if eval "test \"\${$as_ac_var+set}\" = set"; then
20902 echo $ECHO_N "(cached) $ECHO_C" >&6
20903 else
20904 if test x$gcc_no_link = xyes; then
20905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20907 { (exit 1); exit 1; }; }
20909 cat >conftest.$ac_ext <<_ACEOF
20910 /* confdefs.h. */
20911 _ACEOF
20912 cat confdefs.h >>conftest.$ac_ext
20913 cat >>conftest.$ac_ext <<_ACEOF
20914 /* end confdefs.h. */
20915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20917 #define $ac_func innocuous_$ac_func
20919 /* System header to define __stub macros and hopefully few prototypes,
20920 which can conflict with char $ac_func (); below.
20921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20922 <limits.h> exists even on freestanding compilers. */
20924 #ifdef __STDC__
20925 # include <limits.h>
20926 #else
20927 # include <assert.h>
20928 #endif
20930 #undef $ac_func
20932 /* Override any gcc2 internal prototype to avoid an error. */
20933 #ifdef __cplusplus
20934 extern "C"
20936 #endif
20937 /* We use char because int might match the return type of a gcc2
20938 builtin and then its argument prototype would still apply. */
20939 char $ac_func ();
20940 /* The GNU C library defines this for functions which it implements
20941 to always fail with ENOSYS. Some functions are actually named
20942 something starting with __ and the normal name is an alias. */
20943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20944 choke me
20945 #else
20946 char (*f) () = $ac_func;
20947 #endif
20948 #ifdef __cplusplus
20950 #endif
20953 main ()
20955 return f != $ac_func;
20957 return 0;
20959 _ACEOF
20960 rm -f conftest.$ac_objext conftest$ac_exeext
20961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20962 (eval $ac_link) 2>conftest.er1
20963 ac_status=$?
20964 grep -v '^ *+' conftest.er1 >conftest.err
20965 rm -f conftest.er1
20966 cat conftest.err >&5
20967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20968 (exit $ac_status); } &&
20969 { ac_try='test -z "$ac_c_werror_flag"
20970 || test ! -s conftest.err'
20971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20972 (eval $ac_try) 2>&5
20973 ac_status=$?
20974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20975 (exit $ac_status); }; } &&
20976 { ac_try='test -s conftest$ac_exeext'
20977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20978 (eval $ac_try) 2>&5
20979 ac_status=$?
20980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20981 (exit $ac_status); }; }; then
20982 eval "$as_ac_var=yes"
20983 else
20984 echo "$as_me: failed program was:" >&5
20985 sed 's/^/| /' conftest.$ac_ext >&5
20987 eval "$as_ac_var=no"
20989 rm -f conftest.err conftest.$ac_objext \
20990 conftest$ac_exeext conftest.$ac_ext
20992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20994 if test `eval echo '${'$as_ac_var'}'` = yes; then
20995 cat >>confdefs.h <<_ACEOF
20996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20997 _ACEOF
21000 done
21010 echo "$as_me:$LINENO: checking for expl declaration" >&5
21011 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
21012 if test x${glibcxx_cv_func_expl_use+set} != xset; then
21013 if test "${glibcxx_cv_func_expl_use+set}" = set; then
21014 echo $ECHO_N "(cached) $ECHO_C" >&6
21015 else
21019 ac_ext=cc
21020 ac_cpp='$CXXCPP $CPPFLAGS'
21021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21025 cat >conftest.$ac_ext <<_ACEOF
21026 /* confdefs.h. */
21027 _ACEOF
21028 cat confdefs.h >>conftest.$ac_ext
21029 cat >>conftest.$ac_ext <<_ACEOF
21030 /* end confdefs.h. */
21031 #include <math.h>
21032 #ifdef HAVE_IEEEFP_H
21033 #include <ieeefp.h>
21034 #endif
21037 main ()
21039 expl(0);
21041 return 0;
21043 _ACEOF
21044 rm -f conftest.$ac_objext
21045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21046 (eval $ac_compile) 2>conftest.er1
21047 ac_status=$?
21048 grep -v '^ *+' conftest.er1 >conftest.err
21049 rm -f conftest.er1
21050 cat conftest.err >&5
21051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21052 (exit $ac_status); } &&
21053 { ac_try='test -z "$ac_cxx_werror_flag"
21054 || test ! -s conftest.err'
21055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21056 (eval $ac_try) 2>&5
21057 ac_status=$?
21058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21059 (exit $ac_status); }; } &&
21060 { ac_try='test -s conftest.$ac_objext'
21061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21062 (eval $ac_try) 2>&5
21063 ac_status=$?
21064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21065 (exit $ac_status); }; }; then
21066 glibcxx_cv_func_expl_use=yes
21067 else
21068 echo "$as_me: failed program was:" >&5
21069 sed 's/^/| /' conftest.$ac_ext >&5
21071 glibcxx_cv_func_expl_use=no
21073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21074 ac_ext=c
21075 ac_cpp='$CPP $CPPFLAGS'
21076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21084 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
21085 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
21087 if test x$glibcxx_cv_func_expl_use = x"yes"; then
21089 for ac_func in expl
21091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21092 echo "$as_me:$LINENO: checking for $ac_func" >&5
21093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21094 if eval "test \"\${$as_ac_var+set}\" = set"; then
21095 echo $ECHO_N "(cached) $ECHO_C" >&6
21096 else
21097 if test x$gcc_no_link = xyes; then
21098 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21100 { (exit 1); exit 1; }; }
21102 cat >conftest.$ac_ext <<_ACEOF
21103 /* confdefs.h. */
21104 _ACEOF
21105 cat confdefs.h >>conftest.$ac_ext
21106 cat >>conftest.$ac_ext <<_ACEOF
21107 /* end confdefs.h. */
21108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21110 #define $ac_func innocuous_$ac_func
21112 /* System header to define __stub macros and hopefully few prototypes,
21113 which can conflict with char $ac_func (); below.
21114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21115 <limits.h> exists even on freestanding compilers. */
21117 #ifdef __STDC__
21118 # include <limits.h>
21119 #else
21120 # include <assert.h>
21121 #endif
21123 #undef $ac_func
21125 /* Override any gcc2 internal prototype to avoid an error. */
21126 #ifdef __cplusplus
21127 extern "C"
21129 #endif
21130 /* We use char because int might match the return type of a gcc2
21131 builtin and then its argument prototype would still apply. */
21132 char $ac_func ();
21133 /* The GNU C library defines this for functions which it implements
21134 to always fail with ENOSYS. Some functions are actually named
21135 something starting with __ and the normal name is an alias. */
21136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21137 choke me
21138 #else
21139 char (*f) () = $ac_func;
21140 #endif
21141 #ifdef __cplusplus
21143 #endif
21146 main ()
21148 return f != $ac_func;
21150 return 0;
21152 _ACEOF
21153 rm -f conftest.$ac_objext conftest$ac_exeext
21154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21155 (eval $ac_link) 2>conftest.er1
21156 ac_status=$?
21157 grep -v '^ *+' conftest.er1 >conftest.err
21158 rm -f conftest.er1
21159 cat conftest.err >&5
21160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21161 (exit $ac_status); } &&
21162 { ac_try='test -z "$ac_c_werror_flag"
21163 || test ! -s conftest.err'
21164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21165 (eval $ac_try) 2>&5
21166 ac_status=$?
21167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21168 (exit $ac_status); }; } &&
21169 { ac_try='test -s conftest$ac_exeext'
21170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21171 (eval $ac_try) 2>&5
21172 ac_status=$?
21173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21174 (exit $ac_status); }; }; then
21175 eval "$as_ac_var=yes"
21176 else
21177 echo "$as_me: failed program was:" >&5
21178 sed 's/^/| /' conftest.$ac_ext >&5
21180 eval "$as_ac_var=no"
21182 rm -f conftest.err conftest.$ac_objext \
21183 conftest$ac_exeext conftest.$ac_ext
21185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21187 if test `eval echo '${'$as_ac_var'}'` = yes; then
21188 cat >>confdefs.h <<_ACEOF
21189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21190 _ACEOF
21193 done
21195 else
21197 echo "$as_me:$LINENO: checking for _expl declaration" >&5
21198 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
21199 if test x${glibcxx_cv_func__expl_use+set} != xset; then
21200 if test "${glibcxx_cv_func__expl_use+set}" = set; then
21201 echo $ECHO_N "(cached) $ECHO_C" >&6
21202 else
21206 ac_ext=cc
21207 ac_cpp='$CXXCPP $CPPFLAGS'
21208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21212 cat >conftest.$ac_ext <<_ACEOF
21213 /* confdefs.h. */
21214 _ACEOF
21215 cat confdefs.h >>conftest.$ac_ext
21216 cat >>conftest.$ac_ext <<_ACEOF
21217 /* end confdefs.h. */
21218 #include <math.h>
21219 #ifdef HAVE_IEEEFP_H
21220 #include <ieeefp.h>
21221 #endif
21224 main ()
21226 _expl(0);
21228 return 0;
21230 _ACEOF
21231 rm -f conftest.$ac_objext
21232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21233 (eval $ac_compile) 2>conftest.er1
21234 ac_status=$?
21235 grep -v '^ *+' conftest.er1 >conftest.err
21236 rm -f conftest.er1
21237 cat conftest.err >&5
21238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21239 (exit $ac_status); } &&
21240 { ac_try='test -z "$ac_cxx_werror_flag"
21241 || test ! -s conftest.err'
21242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21243 (eval $ac_try) 2>&5
21244 ac_status=$?
21245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21246 (exit $ac_status); }; } &&
21247 { ac_try='test -s conftest.$ac_objext'
21248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21249 (eval $ac_try) 2>&5
21250 ac_status=$?
21251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21252 (exit $ac_status); }; }; then
21253 glibcxx_cv_func__expl_use=yes
21254 else
21255 echo "$as_me: failed program was:" >&5
21256 sed 's/^/| /' conftest.$ac_ext >&5
21258 glibcxx_cv_func__expl_use=no
21260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21261 ac_ext=c
21262 ac_cpp='$CPP $CPPFLAGS'
21263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21271 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
21272 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
21274 if test x$glibcxx_cv_func__expl_use = x"yes"; then
21276 for ac_func in _expl
21278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21279 echo "$as_me:$LINENO: checking for $ac_func" >&5
21280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21281 if eval "test \"\${$as_ac_var+set}\" = set"; then
21282 echo $ECHO_N "(cached) $ECHO_C" >&6
21283 else
21284 if test x$gcc_no_link = xyes; then
21285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21287 { (exit 1); exit 1; }; }
21289 cat >conftest.$ac_ext <<_ACEOF
21290 /* confdefs.h. */
21291 _ACEOF
21292 cat confdefs.h >>conftest.$ac_ext
21293 cat >>conftest.$ac_ext <<_ACEOF
21294 /* end confdefs.h. */
21295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21297 #define $ac_func innocuous_$ac_func
21299 /* System header to define __stub macros and hopefully few prototypes,
21300 which can conflict with char $ac_func (); below.
21301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21302 <limits.h> exists even on freestanding compilers. */
21304 #ifdef __STDC__
21305 # include <limits.h>
21306 #else
21307 # include <assert.h>
21308 #endif
21310 #undef $ac_func
21312 /* Override any gcc2 internal prototype to avoid an error. */
21313 #ifdef __cplusplus
21314 extern "C"
21316 #endif
21317 /* We use char because int might match the return type of a gcc2
21318 builtin and then its argument prototype would still apply. */
21319 char $ac_func ();
21320 /* The GNU C library defines this for functions which it implements
21321 to always fail with ENOSYS. Some functions are actually named
21322 something starting with __ and the normal name is an alias. */
21323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21324 choke me
21325 #else
21326 char (*f) () = $ac_func;
21327 #endif
21328 #ifdef __cplusplus
21330 #endif
21333 main ()
21335 return f != $ac_func;
21337 return 0;
21339 _ACEOF
21340 rm -f conftest.$ac_objext conftest$ac_exeext
21341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21342 (eval $ac_link) 2>conftest.er1
21343 ac_status=$?
21344 grep -v '^ *+' conftest.er1 >conftest.err
21345 rm -f conftest.er1
21346 cat conftest.err >&5
21347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21348 (exit $ac_status); } &&
21349 { ac_try='test -z "$ac_c_werror_flag"
21350 || test ! -s conftest.err'
21351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21352 (eval $ac_try) 2>&5
21353 ac_status=$?
21354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21355 (exit $ac_status); }; } &&
21356 { ac_try='test -s conftest$ac_exeext'
21357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21358 (eval $ac_try) 2>&5
21359 ac_status=$?
21360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21361 (exit $ac_status); }; }; then
21362 eval "$as_ac_var=yes"
21363 else
21364 echo "$as_me: failed program was:" >&5
21365 sed 's/^/| /' conftest.$ac_ext >&5
21367 eval "$as_ac_var=no"
21369 rm -f conftest.err conftest.$ac_objext \
21370 conftest$ac_exeext conftest.$ac_ext
21372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21374 if test `eval echo '${'$as_ac_var'}'` = yes; then
21375 cat >>confdefs.h <<_ACEOF
21376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21377 _ACEOF
21380 done
21390 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
21391 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
21392 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
21393 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
21394 echo $ECHO_N "(cached) $ECHO_C" >&6
21395 else
21399 ac_ext=cc
21400 ac_cpp='$CXXCPP $CPPFLAGS'
21401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21405 cat >conftest.$ac_ext <<_ACEOF
21406 /* confdefs.h. */
21407 _ACEOF
21408 cat confdefs.h >>conftest.$ac_ext
21409 cat >>conftest.$ac_ext <<_ACEOF
21410 /* end confdefs.h. */
21411 #include <math.h>
21412 #ifdef HAVE_IEEEFP_H
21413 #include <ieeefp.h>
21414 #endif
21417 main ()
21419 fabsl(0);
21421 return 0;
21423 _ACEOF
21424 rm -f conftest.$ac_objext
21425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21426 (eval $ac_compile) 2>conftest.er1
21427 ac_status=$?
21428 grep -v '^ *+' conftest.er1 >conftest.err
21429 rm -f conftest.er1
21430 cat conftest.err >&5
21431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21432 (exit $ac_status); } &&
21433 { ac_try='test -z "$ac_cxx_werror_flag"
21434 || test ! -s conftest.err'
21435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21436 (eval $ac_try) 2>&5
21437 ac_status=$?
21438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21439 (exit $ac_status); }; } &&
21440 { ac_try='test -s conftest.$ac_objext'
21441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21442 (eval $ac_try) 2>&5
21443 ac_status=$?
21444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21445 (exit $ac_status); }; }; then
21446 glibcxx_cv_func_fabsl_use=yes
21447 else
21448 echo "$as_me: failed program was:" >&5
21449 sed 's/^/| /' conftest.$ac_ext >&5
21451 glibcxx_cv_func_fabsl_use=no
21453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21454 ac_ext=c
21455 ac_cpp='$CPP $CPPFLAGS'
21456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21464 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
21465 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
21467 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
21469 for ac_func in fabsl
21471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21472 echo "$as_me:$LINENO: checking for $ac_func" >&5
21473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21474 if eval "test \"\${$as_ac_var+set}\" = set"; then
21475 echo $ECHO_N "(cached) $ECHO_C" >&6
21476 else
21477 if test x$gcc_no_link = xyes; then
21478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21480 { (exit 1); exit 1; }; }
21482 cat >conftest.$ac_ext <<_ACEOF
21483 /* confdefs.h. */
21484 _ACEOF
21485 cat confdefs.h >>conftest.$ac_ext
21486 cat >>conftest.$ac_ext <<_ACEOF
21487 /* end confdefs.h. */
21488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21490 #define $ac_func innocuous_$ac_func
21492 /* System header to define __stub macros and hopefully few prototypes,
21493 which can conflict with char $ac_func (); below.
21494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21495 <limits.h> exists even on freestanding compilers. */
21497 #ifdef __STDC__
21498 # include <limits.h>
21499 #else
21500 # include <assert.h>
21501 #endif
21503 #undef $ac_func
21505 /* Override any gcc2 internal prototype to avoid an error. */
21506 #ifdef __cplusplus
21507 extern "C"
21509 #endif
21510 /* We use char because int might match the return type of a gcc2
21511 builtin and then its argument prototype would still apply. */
21512 char $ac_func ();
21513 /* The GNU C library defines this for functions which it implements
21514 to always fail with ENOSYS. Some functions are actually named
21515 something starting with __ and the normal name is an alias. */
21516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21517 choke me
21518 #else
21519 char (*f) () = $ac_func;
21520 #endif
21521 #ifdef __cplusplus
21523 #endif
21526 main ()
21528 return f != $ac_func;
21530 return 0;
21532 _ACEOF
21533 rm -f conftest.$ac_objext conftest$ac_exeext
21534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21535 (eval $ac_link) 2>conftest.er1
21536 ac_status=$?
21537 grep -v '^ *+' conftest.er1 >conftest.err
21538 rm -f conftest.er1
21539 cat conftest.err >&5
21540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21541 (exit $ac_status); } &&
21542 { ac_try='test -z "$ac_c_werror_flag"
21543 || test ! -s conftest.err'
21544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21545 (eval $ac_try) 2>&5
21546 ac_status=$?
21547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21548 (exit $ac_status); }; } &&
21549 { ac_try='test -s conftest$ac_exeext'
21550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21551 (eval $ac_try) 2>&5
21552 ac_status=$?
21553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21554 (exit $ac_status); }; }; then
21555 eval "$as_ac_var=yes"
21556 else
21557 echo "$as_me: failed program was:" >&5
21558 sed 's/^/| /' conftest.$ac_ext >&5
21560 eval "$as_ac_var=no"
21562 rm -f conftest.err conftest.$ac_objext \
21563 conftest$ac_exeext conftest.$ac_ext
21565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21567 if test `eval echo '${'$as_ac_var'}'` = yes; then
21568 cat >>confdefs.h <<_ACEOF
21569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21570 _ACEOF
21573 done
21575 else
21577 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
21578 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
21579 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
21580 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
21581 echo $ECHO_N "(cached) $ECHO_C" >&6
21582 else
21586 ac_ext=cc
21587 ac_cpp='$CXXCPP $CPPFLAGS'
21588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21592 cat >conftest.$ac_ext <<_ACEOF
21593 /* confdefs.h. */
21594 _ACEOF
21595 cat confdefs.h >>conftest.$ac_ext
21596 cat >>conftest.$ac_ext <<_ACEOF
21597 /* end confdefs.h. */
21598 #include <math.h>
21599 #ifdef HAVE_IEEEFP_H
21600 #include <ieeefp.h>
21601 #endif
21604 main ()
21606 _fabsl(0);
21608 return 0;
21610 _ACEOF
21611 rm -f conftest.$ac_objext
21612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21613 (eval $ac_compile) 2>conftest.er1
21614 ac_status=$?
21615 grep -v '^ *+' conftest.er1 >conftest.err
21616 rm -f conftest.er1
21617 cat conftest.err >&5
21618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21619 (exit $ac_status); } &&
21620 { ac_try='test -z "$ac_cxx_werror_flag"
21621 || test ! -s conftest.err'
21622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21623 (eval $ac_try) 2>&5
21624 ac_status=$?
21625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21626 (exit $ac_status); }; } &&
21627 { ac_try='test -s conftest.$ac_objext'
21628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21629 (eval $ac_try) 2>&5
21630 ac_status=$?
21631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21632 (exit $ac_status); }; }; then
21633 glibcxx_cv_func__fabsl_use=yes
21634 else
21635 echo "$as_me: failed program was:" >&5
21636 sed 's/^/| /' conftest.$ac_ext >&5
21638 glibcxx_cv_func__fabsl_use=no
21640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21641 ac_ext=c
21642 ac_cpp='$CPP $CPPFLAGS'
21643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21651 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
21652 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
21654 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
21656 for ac_func in _fabsl
21658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21659 echo "$as_me:$LINENO: checking for $ac_func" >&5
21660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21661 if eval "test \"\${$as_ac_var+set}\" = set"; then
21662 echo $ECHO_N "(cached) $ECHO_C" >&6
21663 else
21664 if test x$gcc_no_link = xyes; then
21665 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21667 { (exit 1); exit 1; }; }
21669 cat >conftest.$ac_ext <<_ACEOF
21670 /* confdefs.h. */
21671 _ACEOF
21672 cat confdefs.h >>conftest.$ac_ext
21673 cat >>conftest.$ac_ext <<_ACEOF
21674 /* end confdefs.h. */
21675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21677 #define $ac_func innocuous_$ac_func
21679 /* System header to define __stub macros and hopefully few prototypes,
21680 which can conflict with char $ac_func (); below.
21681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21682 <limits.h> exists even on freestanding compilers. */
21684 #ifdef __STDC__
21685 # include <limits.h>
21686 #else
21687 # include <assert.h>
21688 #endif
21690 #undef $ac_func
21692 /* Override any gcc2 internal prototype to avoid an error. */
21693 #ifdef __cplusplus
21694 extern "C"
21696 #endif
21697 /* We use char because int might match the return type of a gcc2
21698 builtin and then its argument prototype would still apply. */
21699 char $ac_func ();
21700 /* The GNU C library defines this for functions which it implements
21701 to always fail with ENOSYS. Some functions are actually named
21702 something starting with __ and the normal name is an alias. */
21703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21704 choke me
21705 #else
21706 char (*f) () = $ac_func;
21707 #endif
21708 #ifdef __cplusplus
21710 #endif
21713 main ()
21715 return f != $ac_func;
21717 return 0;
21719 _ACEOF
21720 rm -f conftest.$ac_objext conftest$ac_exeext
21721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21722 (eval $ac_link) 2>conftest.er1
21723 ac_status=$?
21724 grep -v '^ *+' conftest.er1 >conftest.err
21725 rm -f conftest.er1
21726 cat conftest.err >&5
21727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21728 (exit $ac_status); } &&
21729 { ac_try='test -z "$ac_c_werror_flag"
21730 || test ! -s conftest.err'
21731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21732 (eval $ac_try) 2>&5
21733 ac_status=$?
21734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21735 (exit $ac_status); }; } &&
21736 { ac_try='test -s conftest$ac_exeext'
21737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21738 (eval $ac_try) 2>&5
21739 ac_status=$?
21740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21741 (exit $ac_status); }; }; then
21742 eval "$as_ac_var=yes"
21743 else
21744 echo "$as_me: failed program was:" >&5
21745 sed 's/^/| /' conftest.$ac_ext >&5
21747 eval "$as_ac_var=no"
21749 rm -f conftest.err conftest.$ac_objext \
21750 conftest$ac_exeext conftest.$ac_ext
21752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21754 if test `eval echo '${'$as_ac_var'}'` = yes; then
21755 cat >>confdefs.h <<_ACEOF
21756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21757 _ACEOF
21760 done
21770 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
21771 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
21772 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
21773 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
21774 echo $ECHO_N "(cached) $ECHO_C" >&6
21775 else
21779 ac_ext=cc
21780 ac_cpp='$CXXCPP $CPPFLAGS'
21781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21785 cat >conftest.$ac_ext <<_ACEOF
21786 /* confdefs.h. */
21787 _ACEOF
21788 cat confdefs.h >>conftest.$ac_ext
21789 cat >>conftest.$ac_ext <<_ACEOF
21790 /* end confdefs.h. */
21791 #include <math.h>
21793 main ()
21795 fmodl(0, 0);
21797 return 0;
21799 _ACEOF
21800 rm -f conftest.$ac_objext
21801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21802 (eval $ac_compile) 2>conftest.er1
21803 ac_status=$?
21804 grep -v '^ *+' conftest.er1 >conftest.err
21805 rm -f conftest.er1
21806 cat conftest.err >&5
21807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21808 (exit $ac_status); } &&
21809 { ac_try='test -z "$ac_cxx_werror_flag"
21810 || test ! -s conftest.err'
21811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21812 (eval $ac_try) 2>&5
21813 ac_status=$?
21814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21815 (exit $ac_status); }; } &&
21816 { ac_try='test -s conftest.$ac_objext'
21817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21818 (eval $ac_try) 2>&5
21819 ac_status=$?
21820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21821 (exit $ac_status); }; }; then
21822 glibcxx_cv_func_fmodl_use=yes
21823 else
21824 echo "$as_me: failed program was:" >&5
21825 sed 's/^/| /' conftest.$ac_ext >&5
21827 glibcxx_cv_func_fmodl_use=no
21829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21830 ac_ext=c
21831 ac_cpp='$CPP $CPPFLAGS'
21832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21840 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
21841 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
21843 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
21845 for ac_func in fmodl
21847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21848 echo "$as_me:$LINENO: checking for $ac_func" >&5
21849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21850 if eval "test \"\${$as_ac_var+set}\" = set"; then
21851 echo $ECHO_N "(cached) $ECHO_C" >&6
21852 else
21853 if test x$gcc_no_link = xyes; then
21854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21856 { (exit 1); exit 1; }; }
21858 cat >conftest.$ac_ext <<_ACEOF
21859 /* confdefs.h. */
21860 _ACEOF
21861 cat confdefs.h >>conftest.$ac_ext
21862 cat >>conftest.$ac_ext <<_ACEOF
21863 /* end confdefs.h. */
21864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21866 #define $ac_func innocuous_$ac_func
21868 /* System header to define __stub macros and hopefully few prototypes,
21869 which can conflict with char $ac_func (); below.
21870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21871 <limits.h> exists even on freestanding compilers. */
21873 #ifdef __STDC__
21874 # include <limits.h>
21875 #else
21876 # include <assert.h>
21877 #endif
21879 #undef $ac_func
21881 /* Override any gcc2 internal prototype to avoid an error. */
21882 #ifdef __cplusplus
21883 extern "C"
21885 #endif
21886 /* We use char because int might match the return type of a gcc2
21887 builtin and then its argument prototype would still apply. */
21888 char $ac_func ();
21889 /* The GNU C library defines this for functions which it implements
21890 to always fail with ENOSYS. Some functions are actually named
21891 something starting with __ and the normal name is an alias. */
21892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21893 choke me
21894 #else
21895 char (*f) () = $ac_func;
21896 #endif
21897 #ifdef __cplusplus
21899 #endif
21902 main ()
21904 return f != $ac_func;
21906 return 0;
21908 _ACEOF
21909 rm -f conftest.$ac_objext conftest$ac_exeext
21910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21911 (eval $ac_link) 2>conftest.er1
21912 ac_status=$?
21913 grep -v '^ *+' conftest.er1 >conftest.err
21914 rm -f conftest.er1
21915 cat conftest.err >&5
21916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21917 (exit $ac_status); } &&
21918 { ac_try='test -z "$ac_c_werror_flag"
21919 || test ! -s conftest.err'
21920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21921 (eval $ac_try) 2>&5
21922 ac_status=$?
21923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21924 (exit $ac_status); }; } &&
21925 { ac_try='test -s conftest$ac_exeext'
21926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21927 (eval $ac_try) 2>&5
21928 ac_status=$?
21929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21930 (exit $ac_status); }; }; then
21931 eval "$as_ac_var=yes"
21932 else
21933 echo "$as_me: failed program was:" >&5
21934 sed 's/^/| /' conftest.$ac_ext >&5
21936 eval "$as_ac_var=no"
21938 rm -f conftest.err conftest.$ac_objext \
21939 conftest$ac_exeext conftest.$ac_ext
21941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21943 if test `eval echo '${'$as_ac_var'}'` = yes; then
21944 cat >>confdefs.h <<_ACEOF
21945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21946 _ACEOF
21949 done
21951 else
21953 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
21954 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
21955 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
21956 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
21957 echo $ECHO_N "(cached) $ECHO_C" >&6
21958 else
21962 ac_ext=cc
21963 ac_cpp='$CXXCPP $CPPFLAGS'
21964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21968 cat >conftest.$ac_ext <<_ACEOF
21969 /* confdefs.h. */
21970 _ACEOF
21971 cat confdefs.h >>conftest.$ac_ext
21972 cat >>conftest.$ac_ext <<_ACEOF
21973 /* end confdefs.h. */
21974 #include <math.h>
21976 main ()
21978 _fmodl(0, 0);
21980 return 0;
21982 _ACEOF
21983 rm -f conftest.$ac_objext
21984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21985 (eval $ac_compile) 2>conftest.er1
21986 ac_status=$?
21987 grep -v '^ *+' conftest.er1 >conftest.err
21988 rm -f conftest.er1
21989 cat conftest.err >&5
21990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21991 (exit $ac_status); } &&
21992 { ac_try='test -z "$ac_cxx_werror_flag"
21993 || test ! -s conftest.err'
21994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21995 (eval $ac_try) 2>&5
21996 ac_status=$?
21997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21998 (exit $ac_status); }; } &&
21999 { ac_try='test -s conftest.$ac_objext'
22000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22001 (eval $ac_try) 2>&5
22002 ac_status=$?
22003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22004 (exit $ac_status); }; }; then
22005 glibcxx_cv_func__fmodl_use=yes
22006 else
22007 echo "$as_me: failed program was:" >&5
22008 sed 's/^/| /' conftest.$ac_ext >&5
22010 glibcxx_cv_func__fmodl_use=no
22012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22013 ac_ext=c
22014 ac_cpp='$CPP $CPPFLAGS'
22015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22023 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
22024 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
22026 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
22028 for ac_func in _fmodl
22030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22031 echo "$as_me:$LINENO: checking for $ac_func" >&5
22032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22033 if eval "test \"\${$as_ac_var+set}\" = set"; then
22034 echo $ECHO_N "(cached) $ECHO_C" >&6
22035 else
22036 if test x$gcc_no_link = xyes; then
22037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22039 { (exit 1); exit 1; }; }
22041 cat >conftest.$ac_ext <<_ACEOF
22042 /* confdefs.h. */
22043 _ACEOF
22044 cat confdefs.h >>conftest.$ac_ext
22045 cat >>conftest.$ac_ext <<_ACEOF
22046 /* end confdefs.h. */
22047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22049 #define $ac_func innocuous_$ac_func
22051 /* System header to define __stub macros and hopefully few prototypes,
22052 which can conflict with char $ac_func (); below.
22053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22054 <limits.h> exists even on freestanding compilers. */
22056 #ifdef __STDC__
22057 # include <limits.h>
22058 #else
22059 # include <assert.h>
22060 #endif
22062 #undef $ac_func
22064 /* Override any gcc2 internal prototype to avoid an error. */
22065 #ifdef __cplusplus
22066 extern "C"
22068 #endif
22069 /* We use char because int might match the return type of a gcc2
22070 builtin and then its argument prototype would still apply. */
22071 char $ac_func ();
22072 /* The GNU C library defines this for functions which it implements
22073 to always fail with ENOSYS. Some functions are actually named
22074 something starting with __ and the normal name is an alias. */
22075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22076 choke me
22077 #else
22078 char (*f) () = $ac_func;
22079 #endif
22080 #ifdef __cplusplus
22082 #endif
22085 main ()
22087 return f != $ac_func;
22089 return 0;
22091 _ACEOF
22092 rm -f conftest.$ac_objext conftest$ac_exeext
22093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22094 (eval $ac_link) 2>conftest.er1
22095 ac_status=$?
22096 grep -v '^ *+' conftest.er1 >conftest.err
22097 rm -f conftest.er1
22098 cat conftest.err >&5
22099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22100 (exit $ac_status); } &&
22101 { ac_try='test -z "$ac_c_werror_flag"
22102 || test ! -s conftest.err'
22103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22104 (eval $ac_try) 2>&5
22105 ac_status=$?
22106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22107 (exit $ac_status); }; } &&
22108 { ac_try='test -s conftest$ac_exeext'
22109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22110 (eval $ac_try) 2>&5
22111 ac_status=$?
22112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22113 (exit $ac_status); }; }; then
22114 eval "$as_ac_var=yes"
22115 else
22116 echo "$as_me: failed program was:" >&5
22117 sed 's/^/| /' conftest.$ac_ext >&5
22119 eval "$as_ac_var=no"
22121 rm -f conftest.err conftest.$ac_objext \
22122 conftest$ac_exeext conftest.$ac_ext
22124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22126 if test `eval echo '${'$as_ac_var'}'` = yes; then
22127 cat >>confdefs.h <<_ACEOF
22128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22129 _ACEOF
22132 done
22142 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
22143 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
22144 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
22145 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
22146 echo $ECHO_N "(cached) $ECHO_C" >&6
22147 else
22151 ac_ext=cc
22152 ac_cpp='$CXXCPP $CPPFLAGS'
22153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22157 cat >conftest.$ac_ext <<_ACEOF
22158 /* confdefs.h. */
22159 _ACEOF
22160 cat confdefs.h >>conftest.$ac_ext
22161 cat >>conftest.$ac_ext <<_ACEOF
22162 /* end confdefs.h. */
22163 #include <math.h>
22165 main ()
22167 frexpl(0, 0);
22169 return 0;
22171 _ACEOF
22172 rm -f conftest.$ac_objext
22173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22174 (eval $ac_compile) 2>conftest.er1
22175 ac_status=$?
22176 grep -v '^ *+' conftest.er1 >conftest.err
22177 rm -f conftest.er1
22178 cat conftest.err >&5
22179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22180 (exit $ac_status); } &&
22181 { ac_try='test -z "$ac_cxx_werror_flag"
22182 || test ! -s conftest.err'
22183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22184 (eval $ac_try) 2>&5
22185 ac_status=$?
22186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22187 (exit $ac_status); }; } &&
22188 { ac_try='test -s conftest.$ac_objext'
22189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22190 (eval $ac_try) 2>&5
22191 ac_status=$?
22192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22193 (exit $ac_status); }; }; then
22194 glibcxx_cv_func_frexpl_use=yes
22195 else
22196 echo "$as_me: failed program was:" >&5
22197 sed 's/^/| /' conftest.$ac_ext >&5
22199 glibcxx_cv_func_frexpl_use=no
22201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22202 ac_ext=c
22203 ac_cpp='$CPP $CPPFLAGS'
22204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22212 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
22213 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
22215 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
22217 for ac_func in frexpl
22219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22220 echo "$as_me:$LINENO: checking for $ac_func" >&5
22221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22222 if eval "test \"\${$as_ac_var+set}\" = set"; then
22223 echo $ECHO_N "(cached) $ECHO_C" >&6
22224 else
22225 if test x$gcc_no_link = xyes; then
22226 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22228 { (exit 1); exit 1; }; }
22230 cat >conftest.$ac_ext <<_ACEOF
22231 /* confdefs.h. */
22232 _ACEOF
22233 cat confdefs.h >>conftest.$ac_ext
22234 cat >>conftest.$ac_ext <<_ACEOF
22235 /* end confdefs.h. */
22236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22238 #define $ac_func innocuous_$ac_func
22240 /* System header to define __stub macros and hopefully few prototypes,
22241 which can conflict with char $ac_func (); below.
22242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22243 <limits.h> exists even on freestanding compilers. */
22245 #ifdef __STDC__
22246 # include <limits.h>
22247 #else
22248 # include <assert.h>
22249 #endif
22251 #undef $ac_func
22253 /* Override any gcc2 internal prototype to avoid an error. */
22254 #ifdef __cplusplus
22255 extern "C"
22257 #endif
22258 /* We use char because int might match the return type of a gcc2
22259 builtin and then its argument prototype would still apply. */
22260 char $ac_func ();
22261 /* The GNU C library defines this for functions which it implements
22262 to always fail with ENOSYS. Some functions are actually named
22263 something starting with __ and the normal name is an alias. */
22264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22265 choke me
22266 #else
22267 char (*f) () = $ac_func;
22268 #endif
22269 #ifdef __cplusplus
22271 #endif
22274 main ()
22276 return f != $ac_func;
22278 return 0;
22280 _ACEOF
22281 rm -f conftest.$ac_objext conftest$ac_exeext
22282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22283 (eval $ac_link) 2>conftest.er1
22284 ac_status=$?
22285 grep -v '^ *+' conftest.er1 >conftest.err
22286 rm -f conftest.er1
22287 cat conftest.err >&5
22288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22289 (exit $ac_status); } &&
22290 { ac_try='test -z "$ac_c_werror_flag"
22291 || test ! -s conftest.err'
22292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22293 (eval $ac_try) 2>&5
22294 ac_status=$?
22295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22296 (exit $ac_status); }; } &&
22297 { ac_try='test -s conftest$ac_exeext'
22298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22299 (eval $ac_try) 2>&5
22300 ac_status=$?
22301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22302 (exit $ac_status); }; }; then
22303 eval "$as_ac_var=yes"
22304 else
22305 echo "$as_me: failed program was:" >&5
22306 sed 's/^/| /' conftest.$ac_ext >&5
22308 eval "$as_ac_var=no"
22310 rm -f conftest.err conftest.$ac_objext \
22311 conftest$ac_exeext conftest.$ac_ext
22313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22315 if test `eval echo '${'$as_ac_var'}'` = yes; then
22316 cat >>confdefs.h <<_ACEOF
22317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22318 _ACEOF
22321 done
22323 else
22325 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
22326 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
22327 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
22328 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
22329 echo $ECHO_N "(cached) $ECHO_C" >&6
22330 else
22334 ac_ext=cc
22335 ac_cpp='$CXXCPP $CPPFLAGS'
22336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22340 cat >conftest.$ac_ext <<_ACEOF
22341 /* confdefs.h. */
22342 _ACEOF
22343 cat confdefs.h >>conftest.$ac_ext
22344 cat >>conftest.$ac_ext <<_ACEOF
22345 /* end confdefs.h. */
22346 #include <math.h>
22348 main ()
22350 _frexpl(0, 0);
22352 return 0;
22354 _ACEOF
22355 rm -f conftest.$ac_objext
22356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22357 (eval $ac_compile) 2>conftest.er1
22358 ac_status=$?
22359 grep -v '^ *+' conftest.er1 >conftest.err
22360 rm -f conftest.er1
22361 cat conftest.err >&5
22362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22363 (exit $ac_status); } &&
22364 { ac_try='test -z "$ac_cxx_werror_flag"
22365 || test ! -s conftest.err'
22366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22367 (eval $ac_try) 2>&5
22368 ac_status=$?
22369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22370 (exit $ac_status); }; } &&
22371 { ac_try='test -s conftest.$ac_objext'
22372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22373 (eval $ac_try) 2>&5
22374 ac_status=$?
22375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22376 (exit $ac_status); }; }; then
22377 glibcxx_cv_func__frexpl_use=yes
22378 else
22379 echo "$as_me: failed program was:" >&5
22380 sed 's/^/| /' conftest.$ac_ext >&5
22382 glibcxx_cv_func__frexpl_use=no
22384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22385 ac_ext=c
22386 ac_cpp='$CPP $CPPFLAGS'
22387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22395 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
22396 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
22398 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
22400 for ac_func in _frexpl
22402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22403 echo "$as_me:$LINENO: checking for $ac_func" >&5
22404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22405 if eval "test \"\${$as_ac_var+set}\" = set"; then
22406 echo $ECHO_N "(cached) $ECHO_C" >&6
22407 else
22408 if test x$gcc_no_link = xyes; then
22409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22411 { (exit 1); exit 1; }; }
22413 cat >conftest.$ac_ext <<_ACEOF
22414 /* confdefs.h. */
22415 _ACEOF
22416 cat confdefs.h >>conftest.$ac_ext
22417 cat >>conftest.$ac_ext <<_ACEOF
22418 /* end confdefs.h. */
22419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22421 #define $ac_func innocuous_$ac_func
22423 /* System header to define __stub macros and hopefully few prototypes,
22424 which can conflict with char $ac_func (); below.
22425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22426 <limits.h> exists even on freestanding compilers. */
22428 #ifdef __STDC__
22429 # include <limits.h>
22430 #else
22431 # include <assert.h>
22432 #endif
22434 #undef $ac_func
22436 /* Override any gcc2 internal prototype to avoid an error. */
22437 #ifdef __cplusplus
22438 extern "C"
22440 #endif
22441 /* We use char because int might match the return type of a gcc2
22442 builtin and then its argument prototype would still apply. */
22443 char $ac_func ();
22444 /* The GNU C library defines this for functions which it implements
22445 to always fail with ENOSYS. Some functions are actually named
22446 something starting with __ and the normal name is an alias. */
22447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22448 choke me
22449 #else
22450 char (*f) () = $ac_func;
22451 #endif
22452 #ifdef __cplusplus
22454 #endif
22457 main ()
22459 return f != $ac_func;
22461 return 0;
22463 _ACEOF
22464 rm -f conftest.$ac_objext conftest$ac_exeext
22465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22466 (eval $ac_link) 2>conftest.er1
22467 ac_status=$?
22468 grep -v '^ *+' conftest.er1 >conftest.err
22469 rm -f conftest.er1
22470 cat conftest.err >&5
22471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22472 (exit $ac_status); } &&
22473 { ac_try='test -z "$ac_c_werror_flag"
22474 || test ! -s conftest.err'
22475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22476 (eval $ac_try) 2>&5
22477 ac_status=$?
22478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22479 (exit $ac_status); }; } &&
22480 { ac_try='test -s conftest$ac_exeext'
22481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22482 (eval $ac_try) 2>&5
22483 ac_status=$?
22484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22485 (exit $ac_status); }; }; then
22486 eval "$as_ac_var=yes"
22487 else
22488 echo "$as_me: failed program was:" >&5
22489 sed 's/^/| /' conftest.$ac_ext >&5
22491 eval "$as_ac_var=no"
22493 rm -f conftest.err conftest.$ac_objext \
22494 conftest$ac_exeext conftest.$ac_ext
22496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22498 if test `eval echo '${'$as_ac_var'}'` = yes; then
22499 cat >>confdefs.h <<_ACEOF
22500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22501 _ACEOF
22504 done
22514 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
22515 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
22516 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
22517 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
22518 echo $ECHO_N "(cached) $ECHO_C" >&6
22519 else
22523 ac_ext=cc
22524 ac_cpp='$CXXCPP $CPPFLAGS'
22525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22529 cat >conftest.$ac_ext <<_ACEOF
22530 /* confdefs.h. */
22531 _ACEOF
22532 cat confdefs.h >>conftest.$ac_ext
22533 cat >>conftest.$ac_ext <<_ACEOF
22534 /* end confdefs.h. */
22535 #include <math.h>
22537 main ()
22539 hypotl(0, 0);
22541 return 0;
22543 _ACEOF
22544 rm -f conftest.$ac_objext
22545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22546 (eval $ac_compile) 2>conftest.er1
22547 ac_status=$?
22548 grep -v '^ *+' conftest.er1 >conftest.err
22549 rm -f conftest.er1
22550 cat conftest.err >&5
22551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22552 (exit $ac_status); } &&
22553 { ac_try='test -z "$ac_cxx_werror_flag"
22554 || test ! -s conftest.err'
22555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22556 (eval $ac_try) 2>&5
22557 ac_status=$?
22558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22559 (exit $ac_status); }; } &&
22560 { ac_try='test -s conftest.$ac_objext'
22561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22562 (eval $ac_try) 2>&5
22563 ac_status=$?
22564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22565 (exit $ac_status); }; }; then
22566 glibcxx_cv_func_hypotl_use=yes
22567 else
22568 echo "$as_me: failed program was:" >&5
22569 sed 's/^/| /' conftest.$ac_ext >&5
22571 glibcxx_cv_func_hypotl_use=no
22573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22574 ac_ext=c
22575 ac_cpp='$CPP $CPPFLAGS'
22576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22584 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
22585 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
22587 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
22589 for ac_func in hypotl
22591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22592 echo "$as_me:$LINENO: checking for $ac_func" >&5
22593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22594 if eval "test \"\${$as_ac_var+set}\" = set"; then
22595 echo $ECHO_N "(cached) $ECHO_C" >&6
22596 else
22597 if test x$gcc_no_link = xyes; then
22598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22600 { (exit 1); exit 1; }; }
22602 cat >conftest.$ac_ext <<_ACEOF
22603 /* confdefs.h. */
22604 _ACEOF
22605 cat confdefs.h >>conftest.$ac_ext
22606 cat >>conftest.$ac_ext <<_ACEOF
22607 /* end confdefs.h. */
22608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22610 #define $ac_func innocuous_$ac_func
22612 /* System header to define __stub macros and hopefully few prototypes,
22613 which can conflict with char $ac_func (); below.
22614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22615 <limits.h> exists even on freestanding compilers. */
22617 #ifdef __STDC__
22618 # include <limits.h>
22619 #else
22620 # include <assert.h>
22621 #endif
22623 #undef $ac_func
22625 /* Override any gcc2 internal prototype to avoid an error. */
22626 #ifdef __cplusplus
22627 extern "C"
22629 #endif
22630 /* We use char because int might match the return type of a gcc2
22631 builtin and then its argument prototype would still apply. */
22632 char $ac_func ();
22633 /* The GNU C library defines this for functions which it implements
22634 to always fail with ENOSYS. Some functions are actually named
22635 something starting with __ and the normal name is an alias. */
22636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22637 choke me
22638 #else
22639 char (*f) () = $ac_func;
22640 #endif
22641 #ifdef __cplusplus
22643 #endif
22646 main ()
22648 return f != $ac_func;
22650 return 0;
22652 _ACEOF
22653 rm -f conftest.$ac_objext conftest$ac_exeext
22654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22655 (eval $ac_link) 2>conftest.er1
22656 ac_status=$?
22657 grep -v '^ *+' conftest.er1 >conftest.err
22658 rm -f conftest.er1
22659 cat conftest.err >&5
22660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22661 (exit $ac_status); } &&
22662 { ac_try='test -z "$ac_c_werror_flag"
22663 || test ! -s conftest.err'
22664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22665 (eval $ac_try) 2>&5
22666 ac_status=$?
22667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22668 (exit $ac_status); }; } &&
22669 { ac_try='test -s conftest$ac_exeext'
22670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22671 (eval $ac_try) 2>&5
22672 ac_status=$?
22673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22674 (exit $ac_status); }; }; then
22675 eval "$as_ac_var=yes"
22676 else
22677 echo "$as_me: failed program was:" >&5
22678 sed 's/^/| /' conftest.$ac_ext >&5
22680 eval "$as_ac_var=no"
22682 rm -f conftest.err conftest.$ac_objext \
22683 conftest$ac_exeext conftest.$ac_ext
22685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22687 if test `eval echo '${'$as_ac_var'}'` = yes; then
22688 cat >>confdefs.h <<_ACEOF
22689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22690 _ACEOF
22693 done
22695 else
22697 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
22698 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
22699 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
22700 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
22701 echo $ECHO_N "(cached) $ECHO_C" >&6
22702 else
22706 ac_ext=cc
22707 ac_cpp='$CXXCPP $CPPFLAGS'
22708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22712 cat >conftest.$ac_ext <<_ACEOF
22713 /* confdefs.h. */
22714 _ACEOF
22715 cat confdefs.h >>conftest.$ac_ext
22716 cat >>conftest.$ac_ext <<_ACEOF
22717 /* end confdefs.h. */
22718 #include <math.h>
22720 main ()
22722 _hypotl(0, 0);
22724 return 0;
22726 _ACEOF
22727 rm -f conftest.$ac_objext
22728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22729 (eval $ac_compile) 2>conftest.er1
22730 ac_status=$?
22731 grep -v '^ *+' conftest.er1 >conftest.err
22732 rm -f conftest.er1
22733 cat conftest.err >&5
22734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22735 (exit $ac_status); } &&
22736 { ac_try='test -z "$ac_cxx_werror_flag"
22737 || test ! -s conftest.err'
22738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22739 (eval $ac_try) 2>&5
22740 ac_status=$?
22741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22742 (exit $ac_status); }; } &&
22743 { ac_try='test -s conftest.$ac_objext'
22744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22745 (eval $ac_try) 2>&5
22746 ac_status=$?
22747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22748 (exit $ac_status); }; }; then
22749 glibcxx_cv_func__hypotl_use=yes
22750 else
22751 echo "$as_me: failed program was:" >&5
22752 sed 's/^/| /' conftest.$ac_ext >&5
22754 glibcxx_cv_func__hypotl_use=no
22756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22757 ac_ext=c
22758 ac_cpp='$CPP $CPPFLAGS'
22759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22767 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
22768 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
22770 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
22772 for ac_func in _hypotl
22774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22775 echo "$as_me:$LINENO: checking for $ac_func" >&5
22776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22777 if eval "test \"\${$as_ac_var+set}\" = set"; then
22778 echo $ECHO_N "(cached) $ECHO_C" >&6
22779 else
22780 if test x$gcc_no_link = xyes; then
22781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22783 { (exit 1); exit 1; }; }
22785 cat >conftest.$ac_ext <<_ACEOF
22786 /* confdefs.h. */
22787 _ACEOF
22788 cat confdefs.h >>conftest.$ac_ext
22789 cat >>conftest.$ac_ext <<_ACEOF
22790 /* end confdefs.h. */
22791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22793 #define $ac_func innocuous_$ac_func
22795 /* System header to define __stub macros and hopefully few prototypes,
22796 which can conflict with char $ac_func (); below.
22797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22798 <limits.h> exists even on freestanding compilers. */
22800 #ifdef __STDC__
22801 # include <limits.h>
22802 #else
22803 # include <assert.h>
22804 #endif
22806 #undef $ac_func
22808 /* Override any gcc2 internal prototype to avoid an error. */
22809 #ifdef __cplusplus
22810 extern "C"
22812 #endif
22813 /* We use char because int might match the return type of a gcc2
22814 builtin and then its argument prototype would still apply. */
22815 char $ac_func ();
22816 /* The GNU C library defines this for functions which it implements
22817 to always fail with ENOSYS. Some functions are actually named
22818 something starting with __ and the normal name is an alias. */
22819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22820 choke me
22821 #else
22822 char (*f) () = $ac_func;
22823 #endif
22824 #ifdef __cplusplus
22826 #endif
22829 main ()
22831 return f != $ac_func;
22833 return 0;
22835 _ACEOF
22836 rm -f conftest.$ac_objext conftest$ac_exeext
22837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22838 (eval $ac_link) 2>conftest.er1
22839 ac_status=$?
22840 grep -v '^ *+' conftest.er1 >conftest.err
22841 rm -f conftest.er1
22842 cat conftest.err >&5
22843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22844 (exit $ac_status); } &&
22845 { ac_try='test -z "$ac_c_werror_flag"
22846 || test ! -s conftest.err'
22847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22848 (eval $ac_try) 2>&5
22849 ac_status=$?
22850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22851 (exit $ac_status); }; } &&
22852 { ac_try='test -s conftest$ac_exeext'
22853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22854 (eval $ac_try) 2>&5
22855 ac_status=$?
22856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22857 (exit $ac_status); }; }; then
22858 eval "$as_ac_var=yes"
22859 else
22860 echo "$as_me: failed program was:" >&5
22861 sed 's/^/| /' conftest.$ac_ext >&5
22863 eval "$as_ac_var=no"
22865 rm -f conftest.err conftest.$ac_objext \
22866 conftest$ac_exeext conftest.$ac_ext
22868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22870 if test `eval echo '${'$as_ac_var'}'` = yes; then
22871 cat >>confdefs.h <<_ACEOF
22872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22873 _ACEOF
22876 done
22886 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
22887 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
22888 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
22889 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
22890 echo $ECHO_N "(cached) $ECHO_C" >&6
22891 else
22895 ac_ext=cc
22896 ac_cpp='$CXXCPP $CPPFLAGS'
22897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22901 cat >conftest.$ac_ext <<_ACEOF
22902 /* confdefs.h. */
22903 _ACEOF
22904 cat confdefs.h >>conftest.$ac_ext
22905 cat >>conftest.$ac_ext <<_ACEOF
22906 /* end confdefs.h. */
22907 #include <math.h>
22909 main ()
22911 ldexpl(0, 0);
22913 return 0;
22915 _ACEOF
22916 rm -f conftest.$ac_objext
22917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22918 (eval $ac_compile) 2>conftest.er1
22919 ac_status=$?
22920 grep -v '^ *+' conftest.er1 >conftest.err
22921 rm -f conftest.er1
22922 cat conftest.err >&5
22923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22924 (exit $ac_status); } &&
22925 { ac_try='test -z "$ac_cxx_werror_flag"
22926 || test ! -s conftest.err'
22927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22928 (eval $ac_try) 2>&5
22929 ac_status=$?
22930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22931 (exit $ac_status); }; } &&
22932 { ac_try='test -s conftest.$ac_objext'
22933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22934 (eval $ac_try) 2>&5
22935 ac_status=$?
22936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22937 (exit $ac_status); }; }; then
22938 glibcxx_cv_func_ldexpl_use=yes
22939 else
22940 echo "$as_me: failed program was:" >&5
22941 sed 's/^/| /' conftest.$ac_ext >&5
22943 glibcxx_cv_func_ldexpl_use=no
22945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22946 ac_ext=c
22947 ac_cpp='$CPP $CPPFLAGS'
22948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22956 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
22957 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
22959 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
22961 for ac_func in ldexpl
22963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22964 echo "$as_me:$LINENO: checking for $ac_func" >&5
22965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22966 if eval "test \"\${$as_ac_var+set}\" = set"; then
22967 echo $ECHO_N "(cached) $ECHO_C" >&6
22968 else
22969 if test x$gcc_no_link = xyes; then
22970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22972 { (exit 1); exit 1; }; }
22974 cat >conftest.$ac_ext <<_ACEOF
22975 /* confdefs.h. */
22976 _ACEOF
22977 cat confdefs.h >>conftest.$ac_ext
22978 cat >>conftest.$ac_ext <<_ACEOF
22979 /* end confdefs.h. */
22980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22982 #define $ac_func innocuous_$ac_func
22984 /* System header to define __stub macros and hopefully few prototypes,
22985 which can conflict with char $ac_func (); below.
22986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22987 <limits.h> exists even on freestanding compilers. */
22989 #ifdef __STDC__
22990 # include <limits.h>
22991 #else
22992 # include <assert.h>
22993 #endif
22995 #undef $ac_func
22997 /* Override any gcc2 internal prototype to avoid an error. */
22998 #ifdef __cplusplus
22999 extern "C"
23001 #endif
23002 /* We use char because int might match the return type of a gcc2
23003 builtin and then its argument prototype would still apply. */
23004 char $ac_func ();
23005 /* The GNU C library defines this for functions which it implements
23006 to always fail with ENOSYS. Some functions are actually named
23007 something starting with __ and the normal name is an alias. */
23008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23009 choke me
23010 #else
23011 char (*f) () = $ac_func;
23012 #endif
23013 #ifdef __cplusplus
23015 #endif
23018 main ()
23020 return f != $ac_func;
23022 return 0;
23024 _ACEOF
23025 rm -f conftest.$ac_objext conftest$ac_exeext
23026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23027 (eval $ac_link) 2>conftest.er1
23028 ac_status=$?
23029 grep -v '^ *+' conftest.er1 >conftest.err
23030 rm -f conftest.er1
23031 cat conftest.err >&5
23032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23033 (exit $ac_status); } &&
23034 { ac_try='test -z "$ac_c_werror_flag"
23035 || test ! -s conftest.err'
23036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23037 (eval $ac_try) 2>&5
23038 ac_status=$?
23039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23040 (exit $ac_status); }; } &&
23041 { ac_try='test -s conftest$ac_exeext'
23042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23043 (eval $ac_try) 2>&5
23044 ac_status=$?
23045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23046 (exit $ac_status); }; }; then
23047 eval "$as_ac_var=yes"
23048 else
23049 echo "$as_me: failed program was:" >&5
23050 sed 's/^/| /' conftest.$ac_ext >&5
23052 eval "$as_ac_var=no"
23054 rm -f conftest.err conftest.$ac_objext \
23055 conftest$ac_exeext conftest.$ac_ext
23057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23059 if test `eval echo '${'$as_ac_var'}'` = yes; then
23060 cat >>confdefs.h <<_ACEOF
23061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23062 _ACEOF
23065 done
23067 else
23069 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
23070 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
23071 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
23072 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
23073 echo $ECHO_N "(cached) $ECHO_C" >&6
23074 else
23078 ac_ext=cc
23079 ac_cpp='$CXXCPP $CPPFLAGS'
23080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23084 cat >conftest.$ac_ext <<_ACEOF
23085 /* confdefs.h. */
23086 _ACEOF
23087 cat confdefs.h >>conftest.$ac_ext
23088 cat >>conftest.$ac_ext <<_ACEOF
23089 /* end confdefs.h. */
23090 #include <math.h>
23092 main ()
23094 _ldexpl(0, 0);
23096 return 0;
23098 _ACEOF
23099 rm -f conftest.$ac_objext
23100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23101 (eval $ac_compile) 2>conftest.er1
23102 ac_status=$?
23103 grep -v '^ *+' conftest.er1 >conftest.err
23104 rm -f conftest.er1
23105 cat conftest.err >&5
23106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23107 (exit $ac_status); } &&
23108 { ac_try='test -z "$ac_cxx_werror_flag"
23109 || test ! -s conftest.err'
23110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23111 (eval $ac_try) 2>&5
23112 ac_status=$?
23113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23114 (exit $ac_status); }; } &&
23115 { ac_try='test -s conftest.$ac_objext'
23116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23117 (eval $ac_try) 2>&5
23118 ac_status=$?
23119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23120 (exit $ac_status); }; }; then
23121 glibcxx_cv_func__ldexpl_use=yes
23122 else
23123 echo "$as_me: failed program was:" >&5
23124 sed 's/^/| /' conftest.$ac_ext >&5
23126 glibcxx_cv_func__ldexpl_use=no
23128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23129 ac_ext=c
23130 ac_cpp='$CPP $CPPFLAGS'
23131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23139 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
23140 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
23142 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
23144 for ac_func in _ldexpl
23146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23147 echo "$as_me:$LINENO: checking for $ac_func" >&5
23148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23149 if eval "test \"\${$as_ac_var+set}\" = set"; then
23150 echo $ECHO_N "(cached) $ECHO_C" >&6
23151 else
23152 if test x$gcc_no_link = xyes; then
23153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23155 { (exit 1); exit 1; }; }
23157 cat >conftest.$ac_ext <<_ACEOF
23158 /* confdefs.h. */
23159 _ACEOF
23160 cat confdefs.h >>conftest.$ac_ext
23161 cat >>conftest.$ac_ext <<_ACEOF
23162 /* end confdefs.h. */
23163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23165 #define $ac_func innocuous_$ac_func
23167 /* System header to define __stub macros and hopefully few prototypes,
23168 which can conflict with char $ac_func (); below.
23169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23170 <limits.h> exists even on freestanding compilers. */
23172 #ifdef __STDC__
23173 # include <limits.h>
23174 #else
23175 # include <assert.h>
23176 #endif
23178 #undef $ac_func
23180 /* Override any gcc2 internal prototype to avoid an error. */
23181 #ifdef __cplusplus
23182 extern "C"
23184 #endif
23185 /* We use char because int might match the return type of a gcc2
23186 builtin and then its argument prototype would still apply. */
23187 char $ac_func ();
23188 /* The GNU C library defines this for functions which it implements
23189 to always fail with ENOSYS. Some functions are actually named
23190 something starting with __ and the normal name is an alias. */
23191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23192 choke me
23193 #else
23194 char (*f) () = $ac_func;
23195 #endif
23196 #ifdef __cplusplus
23198 #endif
23201 main ()
23203 return f != $ac_func;
23205 return 0;
23207 _ACEOF
23208 rm -f conftest.$ac_objext conftest$ac_exeext
23209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23210 (eval $ac_link) 2>conftest.er1
23211 ac_status=$?
23212 grep -v '^ *+' conftest.er1 >conftest.err
23213 rm -f conftest.er1
23214 cat conftest.err >&5
23215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23216 (exit $ac_status); } &&
23217 { ac_try='test -z "$ac_c_werror_flag"
23218 || test ! -s conftest.err'
23219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23220 (eval $ac_try) 2>&5
23221 ac_status=$?
23222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223 (exit $ac_status); }; } &&
23224 { ac_try='test -s conftest$ac_exeext'
23225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23226 (eval $ac_try) 2>&5
23227 ac_status=$?
23228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23229 (exit $ac_status); }; }; then
23230 eval "$as_ac_var=yes"
23231 else
23232 echo "$as_me: failed program was:" >&5
23233 sed 's/^/| /' conftest.$ac_ext >&5
23235 eval "$as_ac_var=no"
23237 rm -f conftest.err conftest.$ac_objext \
23238 conftest$ac_exeext conftest.$ac_ext
23240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23242 if test `eval echo '${'$as_ac_var'}'` = yes; then
23243 cat >>confdefs.h <<_ACEOF
23244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23245 _ACEOF
23248 done
23258 echo "$as_me:$LINENO: checking for logl declaration" >&5
23259 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
23260 if test x${glibcxx_cv_func_logl_use+set} != xset; then
23261 if test "${glibcxx_cv_func_logl_use+set}" = set; then
23262 echo $ECHO_N "(cached) $ECHO_C" >&6
23263 else
23267 ac_ext=cc
23268 ac_cpp='$CXXCPP $CPPFLAGS'
23269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23273 cat >conftest.$ac_ext <<_ACEOF
23274 /* confdefs.h. */
23275 _ACEOF
23276 cat confdefs.h >>conftest.$ac_ext
23277 cat >>conftest.$ac_ext <<_ACEOF
23278 /* end confdefs.h. */
23279 #include <math.h>
23280 #ifdef HAVE_IEEEFP_H
23281 #include <ieeefp.h>
23282 #endif
23285 main ()
23287 logl(0);
23289 return 0;
23291 _ACEOF
23292 rm -f conftest.$ac_objext
23293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23294 (eval $ac_compile) 2>conftest.er1
23295 ac_status=$?
23296 grep -v '^ *+' conftest.er1 >conftest.err
23297 rm -f conftest.er1
23298 cat conftest.err >&5
23299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23300 (exit $ac_status); } &&
23301 { ac_try='test -z "$ac_cxx_werror_flag"
23302 || test ! -s conftest.err'
23303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23304 (eval $ac_try) 2>&5
23305 ac_status=$?
23306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23307 (exit $ac_status); }; } &&
23308 { ac_try='test -s conftest.$ac_objext'
23309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23310 (eval $ac_try) 2>&5
23311 ac_status=$?
23312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23313 (exit $ac_status); }; }; then
23314 glibcxx_cv_func_logl_use=yes
23315 else
23316 echo "$as_me: failed program was:" >&5
23317 sed 's/^/| /' conftest.$ac_ext >&5
23319 glibcxx_cv_func_logl_use=no
23321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23322 ac_ext=c
23323 ac_cpp='$CPP $CPPFLAGS'
23324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23332 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
23333 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
23335 if test x$glibcxx_cv_func_logl_use = x"yes"; then
23337 for ac_func in logl
23339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23340 echo "$as_me:$LINENO: checking for $ac_func" >&5
23341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23342 if eval "test \"\${$as_ac_var+set}\" = set"; then
23343 echo $ECHO_N "(cached) $ECHO_C" >&6
23344 else
23345 if test x$gcc_no_link = xyes; then
23346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23348 { (exit 1); exit 1; }; }
23350 cat >conftest.$ac_ext <<_ACEOF
23351 /* confdefs.h. */
23352 _ACEOF
23353 cat confdefs.h >>conftest.$ac_ext
23354 cat >>conftest.$ac_ext <<_ACEOF
23355 /* end confdefs.h. */
23356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23358 #define $ac_func innocuous_$ac_func
23360 /* System header to define __stub macros and hopefully few prototypes,
23361 which can conflict with char $ac_func (); below.
23362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23363 <limits.h> exists even on freestanding compilers. */
23365 #ifdef __STDC__
23366 # include <limits.h>
23367 #else
23368 # include <assert.h>
23369 #endif
23371 #undef $ac_func
23373 /* Override any gcc2 internal prototype to avoid an error. */
23374 #ifdef __cplusplus
23375 extern "C"
23377 #endif
23378 /* We use char because int might match the return type of a gcc2
23379 builtin and then its argument prototype would still apply. */
23380 char $ac_func ();
23381 /* The GNU C library defines this for functions which it implements
23382 to always fail with ENOSYS. Some functions are actually named
23383 something starting with __ and the normal name is an alias. */
23384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23385 choke me
23386 #else
23387 char (*f) () = $ac_func;
23388 #endif
23389 #ifdef __cplusplus
23391 #endif
23394 main ()
23396 return f != $ac_func;
23398 return 0;
23400 _ACEOF
23401 rm -f conftest.$ac_objext conftest$ac_exeext
23402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23403 (eval $ac_link) 2>conftest.er1
23404 ac_status=$?
23405 grep -v '^ *+' conftest.er1 >conftest.err
23406 rm -f conftest.er1
23407 cat conftest.err >&5
23408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23409 (exit $ac_status); } &&
23410 { ac_try='test -z "$ac_c_werror_flag"
23411 || test ! -s conftest.err'
23412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23413 (eval $ac_try) 2>&5
23414 ac_status=$?
23415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23416 (exit $ac_status); }; } &&
23417 { ac_try='test -s conftest$ac_exeext'
23418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23419 (eval $ac_try) 2>&5
23420 ac_status=$?
23421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23422 (exit $ac_status); }; }; then
23423 eval "$as_ac_var=yes"
23424 else
23425 echo "$as_me: failed program was:" >&5
23426 sed 's/^/| /' conftest.$ac_ext >&5
23428 eval "$as_ac_var=no"
23430 rm -f conftest.err conftest.$ac_objext \
23431 conftest$ac_exeext conftest.$ac_ext
23433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23435 if test `eval echo '${'$as_ac_var'}'` = yes; then
23436 cat >>confdefs.h <<_ACEOF
23437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23438 _ACEOF
23441 done
23443 else
23445 echo "$as_me:$LINENO: checking for _logl declaration" >&5
23446 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
23447 if test x${glibcxx_cv_func__logl_use+set} != xset; then
23448 if test "${glibcxx_cv_func__logl_use+set}" = set; then
23449 echo $ECHO_N "(cached) $ECHO_C" >&6
23450 else
23454 ac_ext=cc
23455 ac_cpp='$CXXCPP $CPPFLAGS'
23456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23460 cat >conftest.$ac_ext <<_ACEOF
23461 /* confdefs.h. */
23462 _ACEOF
23463 cat confdefs.h >>conftest.$ac_ext
23464 cat >>conftest.$ac_ext <<_ACEOF
23465 /* end confdefs.h. */
23466 #include <math.h>
23467 #ifdef HAVE_IEEEFP_H
23468 #include <ieeefp.h>
23469 #endif
23472 main ()
23474 _logl(0);
23476 return 0;
23478 _ACEOF
23479 rm -f conftest.$ac_objext
23480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23481 (eval $ac_compile) 2>conftest.er1
23482 ac_status=$?
23483 grep -v '^ *+' conftest.er1 >conftest.err
23484 rm -f conftest.er1
23485 cat conftest.err >&5
23486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23487 (exit $ac_status); } &&
23488 { ac_try='test -z "$ac_cxx_werror_flag"
23489 || test ! -s conftest.err'
23490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23491 (eval $ac_try) 2>&5
23492 ac_status=$?
23493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23494 (exit $ac_status); }; } &&
23495 { ac_try='test -s conftest.$ac_objext'
23496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23497 (eval $ac_try) 2>&5
23498 ac_status=$?
23499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23500 (exit $ac_status); }; }; then
23501 glibcxx_cv_func__logl_use=yes
23502 else
23503 echo "$as_me: failed program was:" >&5
23504 sed 's/^/| /' conftest.$ac_ext >&5
23506 glibcxx_cv_func__logl_use=no
23508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23509 ac_ext=c
23510 ac_cpp='$CPP $CPPFLAGS'
23511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23519 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
23520 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
23522 if test x$glibcxx_cv_func__logl_use = x"yes"; then
23524 for ac_func in _logl
23526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23527 echo "$as_me:$LINENO: checking for $ac_func" >&5
23528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23529 if eval "test \"\${$as_ac_var+set}\" = set"; then
23530 echo $ECHO_N "(cached) $ECHO_C" >&6
23531 else
23532 if test x$gcc_no_link = xyes; then
23533 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23535 { (exit 1); exit 1; }; }
23537 cat >conftest.$ac_ext <<_ACEOF
23538 /* confdefs.h. */
23539 _ACEOF
23540 cat confdefs.h >>conftest.$ac_ext
23541 cat >>conftest.$ac_ext <<_ACEOF
23542 /* end confdefs.h. */
23543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23545 #define $ac_func innocuous_$ac_func
23547 /* System header to define __stub macros and hopefully few prototypes,
23548 which can conflict with char $ac_func (); below.
23549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23550 <limits.h> exists even on freestanding compilers. */
23552 #ifdef __STDC__
23553 # include <limits.h>
23554 #else
23555 # include <assert.h>
23556 #endif
23558 #undef $ac_func
23560 /* Override any gcc2 internal prototype to avoid an error. */
23561 #ifdef __cplusplus
23562 extern "C"
23564 #endif
23565 /* We use char because int might match the return type of a gcc2
23566 builtin and then its argument prototype would still apply. */
23567 char $ac_func ();
23568 /* The GNU C library defines this for functions which it implements
23569 to always fail with ENOSYS. Some functions are actually named
23570 something starting with __ and the normal name is an alias. */
23571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23572 choke me
23573 #else
23574 char (*f) () = $ac_func;
23575 #endif
23576 #ifdef __cplusplus
23578 #endif
23581 main ()
23583 return f != $ac_func;
23585 return 0;
23587 _ACEOF
23588 rm -f conftest.$ac_objext conftest$ac_exeext
23589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23590 (eval $ac_link) 2>conftest.er1
23591 ac_status=$?
23592 grep -v '^ *+' conftest.er1 >conftest.err
23593 rm -f conftest.er1
23594 cat conftest.err >&5
23595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23596 (exit $ac_status); } &&
23597 { ac_try='test -z "$ac_c_werror_flag"
23598 || test ! -s conftest.err'
23599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23600 (eval $ac_try) 2>&5
23601 ac_status=$?
23602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23603 (exit $ac_status); }; } &&
23604 { ac_try='test -s conftest$ac_exeext'
23605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23606 (eval $ac_try) 2>&5
23607 ac_status=$?
23608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23609 (exit $ac_status); }; }; then
23610 eval "$as_ac_var=yes"
23611 else
23612 echo "$as_me: failed program was:" >&5
23613 sed 's/^/| /' conftest.$ac_ext >&5
23615 eval "$as_ac_var=no"
23617 rm -f conftest.err conftest.$ac_objext \
23618 conftest$ac_exeext conftest.$ac_ext
23620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23622 if test `eval echo '${'$as_ac_var'}'` = yes; then
23623 cat >>confdefs.h <<_ACEOF
23624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23625 _ACEOF
23628 done
23638 echo "$as_me:$LINENO: checking for log10l declaration" >&5
23639 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
23640 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
23641 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
23642 echo $ECHO_N "(cached) $ECHO_C" >&6
23643 else
23647 ac_ext=cc
23648 ac_cpp='$CXXCPP $CPPFLAGS'
23649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23653 cat >conftest.$ac_ext <<_ACEOF
23654 /* confdefs.h. */
23655 _ACEOF
23656 cat confdefs.h >>conftest.$ac_ext
23657 cat >>conftest.$ac_ext <<_ACEOF
23658 /* end confdefs.h. */
23659 #include <math.h>
23660 #ifdef HAVE_IEEEFP_H
23661 #include <ieeefp.h>
23662 #endif
23665 main ()
23667 log10l(0);
23669 return 0;
23671 _ACEOF
23672 rm -f conftest.$ac_objext
23673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23674 (eval $ac_compile) 2>conftest.er1
23675 ac_status=$?
23676 grep -v '^ *+' conftest.er1 >conftest.err
23677 rm -f conftest.er1
23678 cat conftest.err >&5
23679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23680 (exit $ac_status); } &&
23681 { ac_try='test -z "$ac_cxx_werror_flag"
23682 || test ! -s conftest.err'
23683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23684 (eval $ac_try) 2>&5
23685 ac_status=$?
23686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23687 (exit $ac_status); }; } &&
23688 { ac_try='test -s conftest.$ac_objext'
23689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23690 (eval $ac_try) 2>&5
23691 ac_status=$?
23692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23693 (exit $ac_status); }; }; then
23694 glibcxx_cv_func_log10l_use=yes
23695 else
23696 echo "$as_me: failed program was:" >&5
23697 sed 's/^/| /' conftest.$ac_ext >&5
23699 glibcxx_cv_func_log10l_use=no
23701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23702 ac_ext=c
23703 ac_cpp='$CPP $CPPFLAGS'
23704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23712 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
23713 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
23715 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
23717 for ac_func in log10l
23719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23720 echo "$as_me:$LINENO: checking for $ac_func" >&5
23721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23722 if eval "test \"\${$as_ac_var+set}\" = set"; then
23723 echo $ECHO_N "(cached) $ECHO_C" >&6
23724 else
23725 if test x$gcc_no_link = xyes; then
23726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23728 { (exit 1); exit 1; }; }
23730 cat >conftest.$ac_ext <<_ACEOF
23731 /* confdefs.h. */
23732 _ACEOF
23733 cat confdefs.h >>conftest.$ac_ext
23734 cat >>conftest.$ac_ext <<_ACEOF
23735 /* end confdefs.h. */
23736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23738 #define $ac_func innocuous_$ac_func
23740 /* System header to define __stub macros and hopefully few prototypes,
23741 which can conflict with char $ac_func (); below.
23742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23743 <limits.h> exists even on freestanding compilers. */
23745 #ifdef __STDC__
23746 # include <limits.h>
23747 #else
23748 # include <assert.h>
23749 #endif
23751 #undef $ac_func
23753 /* Override any gcc2 internal prototype to avoid an error. */
23754 #ifdef __cplusplus
23755 extern "C"
23757 #endif
23758 /* We use char because int might match the return type of a gcc2
23759 builtin and then its argument prototype would still apply. */
23760 char $ac_func ();
23761 /* The GNU C library defines this for functions which it implements
23762 to always fail with ENOSYS. Some functions are actually named
23763 something starting with __ and the normal name is an alias. */
23764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23765 choke me
23766 #else
23767 char (*f) () = $ac_func;
23768 #endif
23769 #ifdef __cplusplus
23771 #endif
23774 main ()
23776 return f != $ac_func;
23778 return 0;
23780 _ACEOF
23781 rm -f conftest.$ac_objext conftest$ac_exeext
23782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23783 (eval $ac_link) 2>conftest.er1
23784 ac_status=$?
23785 grep -v '^ *+' conftest.er1 >conftest.err
23786 rm -f conftest.er1
23787 cat conftest.err >&5
23788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23789 (exit $ac_status); } &&
23790 { ac_try='test -z "$ac_c_werror_flag"
23791 || test ! -s conftest.err'
23792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23793 (eval $ac_try) 2>&5
23794 ac_status=$?
23795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23796 (exit $ac_status); }; } &&
23797 { ac_try='test -s conftest$ac_exeext'
23798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23799 (eval $ac_try) 2>&5
23800 ac_status=$?
23801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23802 (exit $ac_status); }; }; then
23803 eval "$as_ac_var=yes"
23804 else
23805 echo "$as_me: failed program was:" >&5
23806 sed 's/^/| /' conftest.$ac_ext >&5
23808 eval "$as_ac_var=no"
23810 rm -f conftest.err conftest.$ac_objext \
23811 conftest$ac_exeext conftest.$ac_ext
23813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23815 if test `eval echo '${'$as_ac_var'}'` = yes; then
23816 cat >>confdefs.h <<_ACEOF
23817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23818 _ACEOF
23821 done
23823 else
23825 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
23826 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
23827 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
23828 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
23829 echo $ECHO_N "(cached) $ECHO_C" >&6
23830 else
23834 ac_ext=cc
23835 ac_cpp='$CXXCPP $CPPFLAGS'
23836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23840 cat >conftest.$ac_ext <<_ACEOF
23841 /* confdefs.h. */
23842 _ACEOF
23843 cat confdefs.h >>conftest.$ac_ext
23844 cat >>conftest.$ac_ext <<_ACEOF
23845 /* end confdefs.h. */
23846 #include <math.h>
23847 #ifdef HAVE_IEEEFP_H
23848 #include <ieeefp.h>
23849 #endif
23852 main ()
23854 _log10l(0);
23856 return 0;
23858 _ACEOF
23859 rm -f conftest.$ac_objext
23860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23861 (eval $ac_compile) 2>conftest.er1
23862 ac_status=$?
23863 grep -v '^ *+' conftest.er1 >conftest.err
23864 rm -f conftest.er1
23865 cat conftest.err >&5
23866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23867 (exit $ac_status); } &&
23868 { ac_try='test -z "$ac_cxx_werror_flag"
23869 || test ! -s conftest.err'
23870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23871 (eval $ac_try) 2>&5
23872 ac_status=$?
23873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23874 (exit $ac_status); }; } &&
23875 { ac_try='test -s conftest.$ac_objext'
23876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23877 (eval $ac_try) 2>&5
23878 ac_status=$?
23879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23880 (exit $ac_status); }; }; then
23881 glibcxx_cv_func__log10l_use=yes
23882 else
23883 echo "$as_me: failed program was:" >&5
23884 sed 's/^/| /' conftest.$ac_ext >&5
23886 glibcxx_cv_func__log10l_use=no
23888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23889 ac_ext=c
23890 ac_cpp='$CPP $CPPFLAGS'
23891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23899 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
23900 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
23902 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
23904 for ac_func in _log10l
23906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23907 echo "$as_me:$LINENO: checking for $ac_func" >&5
23908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23909 if eval "test \"\${$as_ac_var+set}\" = set"; then
23910 echo $ECHO_N "(cached) $ECHO_C" >&6
23911 else
23912 if test x$gcc_no_link = xyes; then
23913 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23915 { (exit 1); exit 1; }; }
23917 cat >conftest.$ac_ext <<_ACEOF
23918 /* confdefs.h. */
23919 _ACEOF
23920 cat confdefs.h >>conftest.$ac_ext
23921 cat >>conftest.$ac_ext <<_ACEOF
23922 /* end confdefs.h. */
23923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23925 #define $ac_func innocuous_$ac_func
23927 /* System header to define __stub macros and hopefully few prototypes,
23928 which can conflict with char $ac_func (); below.
23929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23930 <limits.h> exists even on freestanding compilers. */
23932 #ifdef __STDC__
23933 # include <limits.h>
23934 #else
23935 # include <assert.h>
23936 #endif
23938 #undef $ac_func
23940 /* Override any gcc2 internal prototype to avoid an error. */
23941 #ifdef __cplusplus
23942 extern "C"
23944 #endif
23945 /* We use char because int might match the return type of a gcc2
23946 builtin and then its argument prototype would still apply. */
23947 char $ac_func ();
23948 /* The GNU C library defines this for functions which it implements
23949 to always fail with ENOSYS. Some functions are actually named
23950 something starting with __ and the normal name is an alias. */
23951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23952 choke me
23953 #else
23954 char (*f) () = $ac_func;
23955 #endif
23956 #ifdef __cplusplus
23958 #endif
23961 main ()
23963 return f != $ac_func;
23965 return 0;
23967 _ACEOF
23968 rm -f conftest.$ac_objext conftest$ac_exeext
23969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23970 (eval $ac_link) 2>conftest.er1
23971 ac_status=$?
23972 grep -v '^ *+' conftest.er1 >conftest.err
23973 rm -f conftest.er1
23974 cat conftest.err >&5
23975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23976 (exit $ac_status); } &&
23977 { ac_try='test -z "$ac_c_werror_flag"
23978 || test ! -s conftest.err'
23979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23980 (eval $ac_try) 2>&5
23981 ac_status=$?
23982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23983 (exit $ac_status); }; } &&
23984 { ac_try='test -s conftest$ac_exeext'
23985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23986 (eval $ac_try) 2>&5
23987 ac_status=$?
23988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23989 (exit $ac_status); }; }; then
23990 eval "$as_ac_var=yes"
23991 else
23992 echo "$as_me: failed program was:" >&5
23993 sed 's/^/| /' conftest.$ac_ext >&5
23995 eval "$as_ac_var=no"
23997 rm -f conftest.err conftest.$ac_objext \
23998 conftest$ac_exeext conftest.$ac_ext
24000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24002 if test `eval echo '${'$as_ac_var'}'` = yes; then
24003 cat >>confdefs.h <<_ACEOF
24004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24005 _ACEOF
24008 done
24018 echo "$as_me:$LINENO: checking for modfl declaration" >&5
24019 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
24020 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24021 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
24022 echo $ECHO_N "(cached) $ECHO_C" >&6
24023 else
24027 ac_ext=cc
24028 ac_cpp='$CXXCPP $CPPFLAGS'
24029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24033 cat >conftest.$ac_ext <<_ACEOF
24034 /* confdefs.h. */
24035 _ACEOF
24036 cat confdefs.h >>conftest.$ac_ext
24037 cat >>conftest.$ac_ext <<_ACEOF
24038 /* end confdefs.h. */
24039 #include <math.h>
24041 main ()
24043 modfl(0, 0);
24045 return 0;
24047 _ACEOF
24048 rm -f conftest.$ac_objext
24049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24050 (eval $ac_compile) 2>conftest.er1
24051 ac_status=$?
24052 grep -v '^ *+' conftest.er1 >conftest.err
24053 rm -f conftest.er1
24054 cat conftest.err >&5
24055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24056 (exit $ac_status); } &&
24057 { ac_try='test -z "$ac_cxx_werror_flag"
24058 || test ! -s conftest.err'
24059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24060 (eval $ac_try) 2>&5
24061 ac_status=$?
24062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24063 (exit $ac_status); }; } &&
24064 { ac_try='test -s conftest.$ac_objext'
24065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24066 (eval $ac_try) 2>&5
24067 ac_status=$?
24068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24069 (exit $ac_status); }; }; then
24070 glibcxx_cv_func_modfl_use=yes
24071 else
24072 echo "$as_me: failed program was:" >&5
24073 sed 's/^/| /' conftest.$ac_ext >&5
24075 glibcxx_cv_func_modfl_use=no
24077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24078 ac_ext=c
24079 ac_cpp='$CPP $CPPFLAGS'
24080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24088 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
24089 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
24091 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24093 for ac_func in modfl
24095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24096 echo "$as_me:$LINENO: checking for $ac_func" >&5
24097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24098 if eval "test \"\${$as_ac_var+set}\" = set"; then
24099 echo $ECHO_N "(cached) $ECHO_C" >&6
24100 else
24101 if test x$gcc_no_link = xyes; then
24102 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24104 { (exit 1); exit 1; }; }
24106 cat >conftest.$ac_ext <<_ACEOF
24107 /* confdefs.h. */
24108 _ACEOF
24109 cat confdefs.h >>conftest.$ac_ext
24110 cat >>conftest.$ac_ext <<_ACEOF
24111 /* end confdefs.h. */
24112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24114 #define $ac_func innocuous_$ac_func
24116 /* System header to define __stub macros and hopefully few prototypes,
24117 which can conflict with char $ac_func (); below.
24118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24119 <limits.h> exists even on freestanding compilers. */
24121 #ifdef __STDC__
24122 # include <limits.h>
24123 #else
24124 # include <assert.h>
24125 #endif
24127 #undef $ac_func
24129 /* Override any gcc2 internal prototype to avoid an error. */
24130 #ifdef __cplusplus
24131 extern "C"
24133 #endif
24134 /* We use char because int might match the return type of a gcc2
24135 builtin and then its argument prototype would still apply. */
24136 char $ac_func ();
24137 /* The GNU C library defines this for functions which it implements
24138 to always fail with ENOSYS. Some functions are actually named
24139 something starting with __ and the normal name is an alias. */
24140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24141 choke me
24142 #else
24143 char (*f) () = $ac_func;
24144 #endif
24145 #ifdef __cplusplus
24147 #endif
24150 main ()
24152 return f != $ac_func;
24154 return 0;
24156 _ACEOF
24157 rm -f conftest.$ac_objext conftest$ac_exeext
24158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24159 (eval $ac_link) 2>conftest.er1
24160 ac_status=$?
24161 grep -v '^ *+' conftest.er1 >conftest.err
24162 rm -f conftest.er1
24163 cat conftest.err >&5
24164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24165 (exit $ac_status); } &&
24166 { ac_try='test -z "$ac_c_werror_flag"
24167 || test ! -s conftest.err'
24168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24169 (eval $ac_try) 2>&5
24170 ac_status=$?
24171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24172 (exit $ac_status); }; } &&
24173 { ac_try='test -s conftest$ac_exeext'
24174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24175 (eval $ac_try) 2>&5
24176 ac_status=$?
24177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24178 (exit $ac_status); }; }; then
24179 eval "$as_ac_var=yes"
24180 else
24181 echo "$as_me: failed program was:" >&5
24182 sed 's/^/| /' conftest.$ac_ext >&5
24184 eval "$as_ac_var=no"
24186 rm -f conftest.err conftest.$ac_objext \
24187 conftest$ac_exeext conftest.$ac_ext
24189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24191 if test `eval echo '${'$as_ac_var'}'` = yes; then
24192 cat >>confdefs.h <<_ACEOF
24193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24194 _ACEOF
24197 done
24199 else
24201 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
24202 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
24203 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24204 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
24205 echo $ECHO_N "(cached) $ECHO_C" >&6
24206 else
24210 ac_ext=cc
24211 ac_cpp='$CXXCPP $CPPFLAGS'
24212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24216 cat >conftest.$ac_ext <<_ACEOF
24217 /* confdefs.h. */
24218 _ACEOF
24219 cat confdefs.h >>conftest.$ac_ext
24220 cat >>conftest.$ac_ext <<_ACEOF
24221 /* end confdefs.h. */
24222 #include <math.h>
24224 main ()
24226 _modfl(0, 0);
24228 return 0;
24230 _ACEOF
24231 rm -f conftest.$ac_objext
24232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24233 (eval $ac_compile) 2>conftest.er1
24234 ac_status=$?
24235 grep -v '^ *+' conftest.er1 >conftest.err
24236 rm -f conftest.er1
24237 cat conftest.err >&5
24238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24239 (exit $ac_status); } &&
24240 { ac_try='test -z "$ac_cxx_werror_flag"
24241 || test ! -s conftest.err'
24242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24243 (eval $ac_try) 2>&5
24244 ac_status=$?
24245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24246 (exit $ac_status); }; } &&
24247 { ac_try='test -s conftest.$ac_objext'
24248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24249 (eval $ac_try) 2>&5
24250 ac_status=$?
24251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24252 (exit $ac_status); }; }; then
24253 glibcxx_cv_func__modfl_use=yes
24254 else
24255 echo "$as_me: failed program was:" >&5
24256 sed 's/^/| /' conftest.$ac_ext >&5
24258 glibcxx_cv_func__modfl_use=no
24260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24261 ac_ext=c
24262 ac_cpp='$CPP $CPPFLAGS'
24263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24271 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
24272 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
24274 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24276 for ac_func in _modfl
24278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24279 echo "$as_me:$LINENO: checking for $ac_func" >&5
24280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24281 if eval "test \"\${$as_ac_var+set}\" = set"; then
24282 echo $ECHO_N "(cached) $ECHO_C" >&6
24283 else
24284 if test x$gcc_no_link = xyes; then
24285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24287 { (exit 1); exit 1; }; }
24289 cat >conftest.$ac_ext <<_ACEOF
24290 /* confdefs.h. */
24291 _ACEOF
24292 cat confdefs.h >>conftest.$ac_ext
24293 cat >>conftest.$ac_ext <<_ACEOF
24294 /* end confdefs.h. */
24295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24297 #define $ac_func innocuous_$ac_func
24299 /* System header to define __stub macros and hopefully few prototypes,
24300 which can conflict with char $ac_func (); below.
24301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24302 <limits.h> exists even on freestanding compilers. */
24304 #ifdef __STDC__
24305 # include <limits.h>
24306 #else
24307 # include <assert.h>
24308 #endif
24310 #undef $ac_func
24312 /* Override any gcc2 internal prototype to avoid an error. */
24313 #ifdef __cplusplus
24314 extern "C"
24316 #endif
24317 /* We use char because int might match the return type of a gcc2
24318 builtin and then its argument prototype would still apply. */
24319 char $ac_func ();
24320 /* The GNU C library defines this for functions which it implements
24321 to always fail with ENOSYS. Some functions are actually named
24322 something starting with __ and the normal name is an alias. */
24323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24324 choke me
24325 #else
24326 char (*f) () = $ac_func;
24327 #endif
24328 #ifdef __cplusplus
24330 #endif
24333 main ()
24335 return f != $ac_func;
24337 return 0;
24339 _ACEOF
24340 rm -f conftest.$ac_objext conftest$ac_exeext
24341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24342 (eval $ac_link) 2>conftest.er1
24343 ac_status=$?
24344 grep -v '^ *+' conftest.er1 >conftest.err
24345 rm -f conftest.er1
24346 cat conftest.err >&5
24347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24348 (exit $ac_status); } &&
24349 { ac_try='test -z "$ac_c_werror_flag"
24350 || test ! -s conftest.err'
24351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24352 (eval $ac_try) 2>&5
24353 ac_status=$?
24354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24355 (exit $ac_status); }; } &&
24356 { ac_try='test -s conftest$ac_exeext'
24357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24358 (eval $ac_try) 2>&5
24359 ac_status=$?
24360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24361 (exit $ac_status); }; }; then
24362 eval "$as_ac_var=yes"
24363 else
24364 echo "$as_me: failed program was:" >&5
24365 sed 's/^/| /' conftest.$ac_ext >&5
24367 eval "$as_ac_var=no"
24369 rm -f conftest.err conftest.$ac_objext \
24370 conftest$ac_exeext conftest.$ac_ext
24372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24374 if test `eval echo '${'$as_ac_var'}'` = yes; then
24375 cat >>confdefs.h <<_ACEOF
24376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24377 _ACEOF
24380 done
24390 echo "$as_me:$LINENO: checking for powl declaration" >&5
24391 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
24392 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24393 if test "${glibcxx_cv_func_powl_use+set}" = set; then
24394 echo $ECHO_N "(cached) $ECHO_C" >&6
24395 else
24399 ac_ext=cc
24400 ac_cpp='$CXXCPP $CPPFLAGS'
24401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24405 cat >conftest.$ac_ext <<_ACEOF
24406 /* confdefs.h. */
24407 _ACEOF
24408 cat confdefs.h >>conftest.$ac_ext
24409 cat >>conftest.$ac_ext <<_ACEOF
24410 /* end confdefs.h. */
24411 #include <math.h>
24413 main ()
24415 powl(0, 0);
24417 return 0;
24419 _ACEOF
24420 rm -f conftest.$ac_objext
24421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24422 (eval $ac_compile) 2>conftest.er1
24423 ac_status=$?
24424 grep -v '^ *+' conftest.er1 >conftest.err
24425 rm -f conftest.er1
24426 cat conftest.err >&5
24427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24428 (exit $ac_status); } &&
24429 { ac_try='test -z "$ac_cxx_werror_flag"
24430 || test ! -s conftest.err'
24431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24432 (eval $ac_try) 2>&5
24433 ac_status=$?
24434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24435 (exit $ac_status); }; } &&
24436 { ac_try='test -s conftest.$ac_objext'
24437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24438 (eval $ac_try) 2>&5
24439 ac_status=$?
24440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24441 (exit $ac_status); }; }; then
24442 glibcxx_cv_func_powl_use=yes
24443 else
24444 echo "$as_me: failed program was:" >&5
24445 sed 's/^/| /' conftest.$ac_ext >&5
24447 glibcxx_cv_func_powl_use=no
24449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24450 ac_ext=c
24451 ac_cpp='$CPP $CPPFLAGS'
24452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24460 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
24461 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
24463 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24465 for ac_func in powl
24467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24468 echo "$as_me:$LINENO: checking for $ac_func" >&5
24469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24470 if eval "test \"\${$as_ac_var+set}\" = set"; then
24471 echo $ECHO_N "(cached) $ECHO_C" >&6
24472 else
24473 if test x$gcc_no_link = xyes; then
24474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24476 { (exit 1); exit 1; }; }
24478 cat >conftest.$ac_ext <<_ACEOF
24479 /* confdefs.h. */
24480 _ACEOF
24481 cat confdefs.h >>conftest.$ac_ext
24482 cat >>conftest.$ac_ext <<_ACEOF
24483 /* end confdefs.h. */
24484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24486 #define $ac_func innocuous_$ac_func
24488 /* System header to define __stub macros and hopefully few prototypes,
24489 which can conflict with char $ac_func (); below.
24490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24491 <limits.h> exists even on freestanding compilers. */
24493 #ifdef __STDC__
24494 # include <limits.h>
24495 #else
24496 # include <assert.h>
24497 #endif
24499 #undef $ac_func
24501 /* Override any gcc2 internal prototype to avoid an error. */
24502 #ifdef __cplusplus
24503 extern "C"
24505 #endif
24506 /* We use char because int might match the return type of a gcc2
24507 builtin and then its argument prototype would still apply. */
24508 char $ac_func ();
24509 /* The GNU C library defines this for functions which it implements
24510 to always fail with ENOSYS. Some functions are actually named
24511 something starting with __ and the normal name is an alias. */
24512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24513 choke me
24514 #else
24515 char (*f) () = $ac_func;
24516 #endif
24517 #ifdef __cplusplus
24519 #endif
24522 main ()
24524 return f != $ac_func;
24526 return 0;
24528 _ACEOF
24529 rm -f conftest.$ac_objext conftest$ac_exeext
24530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24531 (eval $ac_link) 2>conftest.er1
24532 ac_status=$?
24533 grep -v '^ *+' conftest.er1 >conftest.err
24534 rm -f conftest.er1
24535 cat conftest.err >&5
24536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24537 (exit $ac_status); } &&
24538 { ac_try='test -z "$ac_c_werror_flag"
24539 || test ! -s conftest.err'
24540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24541 (eval $ac_try) 2>&5
24542 ac_status=$?
24543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24544 (exit $ac_status); }; } &&
24545 { ac_try='test -s conftest$ac_exeext'
24546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24547 (eval $ac_try) 2>&5
24548 ac_status=$?
24549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24550 (exit $ac_status); }; }; then
24551 eval "$as_ac_var=yes"
24552 else
24553 echo "$as_me: failed program was:" >&5
24554 sed 's/^/| /' conftest.$ac_ext >&5
24556 eval "$as_ac_var=no"
24558 rm -f conftest.err conftest.$ac_objext \
24559 conftest$ac_exeext conftest.$ac_ext
24561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24563 if test `eval echo '${'$as_ac_var'}'` = yes; then
24564 cat >>confdefs.h <<_ACEOF
24565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24566 _ACEOF
24569 done
24571 else
24573 echo "$as_me:$LINENO: checking for _powl declaration" >&5
24574 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
24575 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24576 if test "${glibcxx_cv_func__powl_use+set}" = set; then
24577 echo $ECHO_N "(cached) $ECHO_C" >&6
24578 else
24582 ac_ext=cc
24583 ac_cpp='$CXXCPP $CPPFLAGS'
24584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24588 cat >conftest.$ac_ext <<_ACEOF
24589 /* confdefs.h. */
24590 _ACEOF
24591 cat confdefs.h >>conftest.$ac_ext
24592 cat >>conftest.$ac_ext <<_ACEOF
24593 /* end confdefs.h. */
24594 #include <math.h>
24596 main ()
24598 _powl(0, 0);
24600 return 0;
24602 _ACEOF
24603 rm -f conftest.$ac_objext
24604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24605 (eval $ac_compile) 2>conftest.er1
24606 ac_status=$?
24607 grep -v '^ *+' conftest.er1 >conftest.err
24608 rm -f conftest.er1
24609 cat conftest.err >&5
24610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24611 (exit $ac_status); } &&
24612 { ac_try='test -z "$ac_cxx_werror_flag"
24613 || test ! -s conftest.err'
24614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24615 (eval $ac_try) 2>&5
24616 ac_status=$?
24617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24618 (exit $ac_status); }; } &&
24619 { ac_try='test -s conftest.$ac_objext'
24620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24621 (eval $ac_try) 2>&5
24622 ac_status=$?
24623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24624 (exit $ac_status); }; }; then
24625 glibcxx_cv_func__powl_use=yes
24626 else
24627 echo "$as_me: failed program was:" >&5
24628 sed 's/^/| /' conftest.$ac_ext >&5
24630 glibcxx_cv_func__powl_use=no
24632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24633 ac_ext=c
24634 ac_cpp='$CPP $CPPFLAGS'
24635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24643 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
24644 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
24646 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24648 for ac_func in _powl
24650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24651 echo "$as_me:$LINENO: checking for $ac_func" >&5
24652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24653 if eval "test \"\${$as_ac_var+set}\" = set"; then
24654 echo $ECHO_N "(cached) $ECHO_C" >&6
24655 else
24656 if test x$gcc_no_link = xyes; then
24657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24659 { (exit 1); exit 1; }; }
24661 cat >conftest.$ac_ext <<_ACEOF
24662 /* confdefs.h. */
24663 _ACEOF
24664 cat confdefs.h >>conftest.$ac_ext
24665 cat >>conftest.$ac_ext <<_ACEOF
24666 /* end confdefs.h. */
24667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24669 #define $ac_func innocuous_$ac_func
24671 /* System header to define __stub macros and hopefully few prototypes,
24672 which can conflict with char $ac_func (); below.
24673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24674 <limits.h> exists even on freestanding compilers. */
24676 #ifdef __STDC__
24677 # include <limits.h>
24678 #else
24679 # include <assert.h>
24680 #endif
24682 #undef $ac_func
24684 /* Override any gcc2 internal prototype to avoid an error. */
24685 #ifdef __cplusplus
24686 extern "C"
24688 #endif
24689 /* We use char because int might match the return type of a gcc2
24690 builtin and then its argument prototype would still apply. */
24691 char $ac_func ();
24692 /* The GNU C library defines this for functions which it implements
24693 to always fail with ENOSYS. Some functions are actually named
24694 something starting with __ and the normal name is an alias. */
24695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24696 choke me
24697 #else
24698 char (*f) () = $ac_func;
24699 #endif
24700 #ifdef __cplusplus
24702 #endif
24705 main ()
24707 return f != $ac_func;
24709 return 0;
24711 _ACEOF
24712 rm -f conftest.$ac_objext conftest$ac_exeext
24713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24714 (eval $ac_link) 2>conftest.er1
24715 ac_status=$?
24716 grep -v '^ *+' conftest.er1 >conftest.err
24717 rm -f conftest.er1
24718 cat conftest.err >&5
24719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24720 (exit $ac_status); } &&
24721 { ac_try='test -z "$ac_c_werror_flag"
24722 || test ! -s conftest.err'
24723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24724 (eval $ac_try) 2>&5
24725 ac_status=$?
24726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24727 (exit $ac_status); }; } &&
24728 { ac_try='test -s conftest$ac_exeext'
24729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24730 (eval $ac_try) 2>&5
24731 ac_status=$?
24732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24733 (exit $ac_status); }; }; then
24734 eval "$as_ac_var=yes"
24735 else
24736 echo "$as_me: failed program was:" >&5
24737 sed 's/^/| /' conftest.$ac_ext >&5
24739 eval "$as_ac_var=no"
24741 rm -f conftest.err conftest.$ac_objext \
24742 conftest$ac_exeext conftest.$ac_ext
24744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24746 if test `eval echo '${'$as_ac_var'}'` = yes; then
24747 cat >>confdefs.h <<_ACEOF
24748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24749 _ACEOF
24752 done
24762 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
24763 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
24764 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24765 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
24766 echo $ECHO_N "(cached) $ECHO_C" >&6
24767 else
24771 ac_ext=cc
24772 ac_cpp='$CXXCPP $CPPFLAGS'
24773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24777 cat >conftest.$ac_ext <<_ACEOF
24778 /* confdefs.h. */
24779 _ACEOF
24780 cat confdefs.h >>conftest.$ac_ext
24781 cat >>conftest.$ac_ext <<_ACEOF
24782 /* end confdefs.h. */
24783 #include <math.h>
24784 #ifdef HAVE_IEEEFP_H
24785 #include <ieeefp.h>
24786 #endif
24789 main ()
24791 sqrtl(0);
24793 return 0;
24795 _ACEOF
24796 rm -f conftest.$ac_objext
24797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24798 (eval $ac_compile) 2>conftest.er1
24799 ac_status=$?
24800 grep -v '^ *+' conftest.er1 >conftest.err
24801 rm -f conftest.er1
24802 cat conftest.err >&5
24803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24804 (exit $ac_status); } &&
24805 { ac_try='test -z "$ac_cxx_werror_flag"
24806 || test ! -s conftest.err'
24807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24808 (eval $ac_try) 2>&5
24809 ac_status=$?
24810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24811 (exit $ac_status); }; } &&
24812 { ac_try='test -s conftest.$ac_objext'
24813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24814 (eval $ac_try) 2>&5
24815 ac_status=$?
24816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24817 (exit $ac_status); }; }; then
24818 glibcxx_cv_func_sqrtl_use=yes
24819 else
24820 echo "$as_me: failed program was:" >&5
24821 sed 's/^/| /' conftest.$ac_ext >&5
24823 glibcxx_cv_func_sqrtl_use=no
24825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24826 ac_ext=c
24827 ac_cpp='$CPP $CPPFLAGS'
24828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24836 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
24837 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
24839 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24841 for ac_func in sqrtl
24843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24844 echo "$as_me:$LINENO: checking for $ac_func" >&5
24845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24846 if eval "test \"\${$as_ac_var+set}\" = set"; then
24847 echo $ECHO_N "(cached) $ECHO_C" >&6
24848 else
24849 if test x$gcc_no_link = xyes; then
24850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24852 { (exit 1); exit 1; }; }
24854 cat >conftest.$ac_ext <<_ACEOF
24855 /* confdefs.h. */
24856 _ACEOF
24857 cat confdefs.h >>conftest.$ac_ext
24858 cat >>conftest.$ac_ext <<_ACEOF
24859 /* end confdefs.h. */
24860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24862 #define $ac_func innocuous_$ac_func
24864 /* System header to define __stub macros and hopefully few prototypes,
24865 which can conflict with char $ac_func (); below.
24866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24867 <limits.h> exists even on freestanding compilers. */
24869 #ifdef __STDC__
24870 # include <limits.h>
24871 #else
24872 # include <assert.h>
24873 #endif
24875 #undef $ac_func
24877 /* Override any gcc2 internal prototype to avoid an error. */
24878 #ifdef __cplusplus
24879 extern "C"
24881 #endif
24882 /* We use char because int might match the return type of a gcc2
24883 builtin and then its argument prototype would still apply. */
24884 char $ac_func ();
24885 /* The GNU C library defines this for functions which it implements
24886 to always fail with ENOSYS. Some functions are actually named
24887 something starting with __ and the normal name is an alias. */
24888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24889 choke me
24890 #else
24891 char (*f) () = $ac_func;
24892 #endif
24893 #ifdef __cplusplus
24895 #endif
24898 main ()
24900 return f != $ac_func;
24902 return 0;
24904 _ACEOF
24905 rm -f conftest.$ac_objext conftest$ac_exeext
24906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24907 (eval $ac_link) 2>conftest.er1
24908 ac_status=$?
24909 grep -v '^ *+' conftest.er1 >conftest.err
24910 rm -f conftest.er1
24911 cat conftest.err >&5
24912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24913 (exit $ac_status); } &&
24914 { ac_try='test -z "$ac_c_werror_flag"
24915 || test ! -s conftest.err'
24916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24917 (eval $ac_try) 2>&5
24918 ac_status=$?
24919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24920 (exit $ac_status); }; } &&
24921 { ac_try='test -s conftest$ac_exeext'
24922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24923 (eval $ac_try) 2>&5
24924 ac_status=$?
24925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24926 (exit $ac_status); }; }; then
24927 eval "$as_ac_var=yes"
24928 else
24929 echo "$as_me: failed program was:" >&5
24930 sed 's/^/| /' conftest.$ac_ext >&5
24932 eval "$as_ac_var=no"
24934 rm -f conftest.err conftest.$ac_objext \
24935 conftest$ac_exeext conftest.$ac_ext
24937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24939 if test `eval echo '${'$as_ac_var'}'` = yes; then
24940 cat >>confdefs.h <<_ACEOF
24941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24942 _ACEOF
24945 done
24947 else
24949 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
24950 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
24951 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24952 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
24953 echo $ECHO_N "(cached) $ECHO_C" >&6
24954 else
24958 ac_ext=cc
24959 ac_cpp='$CXXCPP $CPPFLAGS'
24960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24964 cat >conftest.$ac_ext <<_ACEOF
24965 /* confdefs.h. */
24966 _ACEOF
24967 cat confdefs.h >>conftest.$ac_ext
24968 cat >>conftest.$ac_ext <<_ACEOF
24969 /* end confdefs.h. */
24970 #include <math.h>
24971 #ifdef HAVE_IEEEFP_H
24972 #include <ieeefp.h>
24973 #endif
24976 main ()
24978 _sqrtl(0);
24980 return 0;
24982 _ACEOF
24983 rm -f conftest.$ac_objext
24984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24985 (eval $ac_compile) 2>conftest.er1
24986 ac_status=$?
24987 grep -v '^ *+' conftest.er1 >conftest.err
24988 rm -f conftest.er1
24989 cat conftest.err >&5
24990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24991 (exit $ac_status); } &&
24992 { ac_try='test -z "$ac_cxx_werror_flag"
24993 || test ! -s conftest.err'
24994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24995 (eval $ac_try) 2>&5
24996 ac_status=$?
24997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24998 (exit $ac_status); }; } &&
24999 { ac_try='test -s conftest.$ac_objext'
25000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25001 (eval $ac_try) 2>&5
25002 ac_status=$?
25003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25004 (exit $ac_status); }; }; then
25005 glibcxx_cv_func__sqrtl_use=yes
25006 else
25007 echo "$as_me: failed program was:" >&5
25008 sed 's/^/| /' conftest.$ac_ext >&5
25010 glibcxx_cv_func__sqrtl_use=no
25012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25013 ac_ext=c
25014 ac_cpp='$CPP $CPPFLAGS'
25015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25023 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
25024 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
25026 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25028 for ac_func in _sqrtl
25030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25031 echo "$as_me:$LINENO: checking for $ac_func" >&5
25032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25033 if eval "test \"\${$as_ac_var+set}\" = set"; then
25034 echo $ECHO_N "(cached) $ECHO_C" >&6
25035 else
25036 if test x$gcc_no_link = xyes; then
25037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25039 { (exit 1); exit 1; }; }
25041 cat >conftest.$ac_ext <<_ACEOF
25042 /* confdefs.h. */
25043 _ACEOF
25044 cat confdefs.h >>conftest.$ac_ext
25045 cat >>conftest.$ac_ext <<_ACEOF
25046 /* end confdefs.h. */
25047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25049 #define $ac_func innocuous_$ac_func
25051 /* System header to define __stub macros and hopefully few prototypes,
25052 which can conflict with char $ac_func (); below.
25053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25054 <limits.h> exists even on freestanding compilers. */
25056 #ifdef __STDC__
25057 # include <limits.h>
25058 #else
25059 # include <assert.h>
25060 #endif
25062 #undef $ac_func
25064 /* Override any gcc2 internal prototype to avoid an error. */
25065 #ifdef __cplusplus
25066 extern "C"
25068 #endif
25069 /* We use char because int might match the return type of a gcc2
25070 builtin and then its argument prototype would still apply. */
25071 char $ac_func ();
25072 /* The GNU C library defines this for functions which it implements
25073 to always fail with ENOSYS. Some functions are actually named
25074 something starting with __ and the normal name is an alias. */
25075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25076 choke me
25077 #else
25078 char (*f) () = $ac_func;
25079 #endif
25080 #ifdef __cplusplus
25082 #endif
25085 main ()
25087 return f != $ac_func;
25089 return 0;
25091 _ACEOF
25092 rm -f conftest.$ac_objext conftest$ac_exeext
25093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25094 (eval $ac_link) 2>conftest.er1
25095 ac_status=$?
25096 grep -v '^ *+' conftest.er1 >conftest.err
25097 rm -f conftest.er1
25098 cat conftest.err >&5
25099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25100 (exit $ac_status); } &&
25101 { ac_try='test -z "$ac_c_werror_flag"
25102 || test ! -s conftest.err'
25103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25104 (eval $ac_try) 2>&5
25105 ac_status=$?
25106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25107 (exit $ac_status); }; } &&
25108 { ac_try='test -s conftest$ac_exeext'
25109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25110 (eval $ac_try) 2>&5
25111 ac_status=$?
25112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25113 (exit $ac_status); }; }; then
25114 eval "$as_ac_var=yes"
25115 else
25116 echo "$as_me: failed program was:" >&5
25117 sed 's/^/| /' conftest.$ac_ext >&5
25119 eval "$as_ac_var=no"
25121 rm -f conftest.err conftest.$ac_objext \
25122 conftest$ac_exeext conftest.$ac_ext
25124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25126 if test `eval echo '${'$as_ac_var'}'` = yes; then
25127 cat >>confdefs.h <<_ACEOF
25128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25129 _ACEOF
25132 done
25142 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
25143 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
25144 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25145 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
25146 echo $ECHO_N "(cached) $ECHO_C" >&6
25147 else
25151 ac_ext=cc
25152 ac_cpp='$CXXCPP $CPPFLAGS'
25153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25157 cat >conftest.$ac_ext <<_ACEOF
25158 /* confdefs.h. */
25159 _ACEOF
25160 cat confdefs.h >>conftest.$ac_ext
25161 cat >>conftest.$ac_ext <<_ACEOF
25162 /* end confdefs.h. */
25163 #include <math.h>
25165 main ()
25167 sincosl(0, 0, 0);
25169 return 0;
25171 _ACEOF
25172 rm -f conftest.$ac_objext
25173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25174 (eval $ac_compile) 2>conftest.er1
25175 ac_status=$?
25176 grep -v '^ *+' conftest.er1 >conftest.err
25177 rm -f conftest.er1
25178 cat conftest.err >&5
25179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25180 (exit $ac_status); } &&
25181 { ac_try='test -z "$ac_cxx_werror_flag"
25182 || test ! -s conftest.err'
25183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25184 (eval $ac_try) 2>&5
25185 ac_status=$?
25186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25187 (exit $ac_status); }; } &&
25188 { ac_try='test -s conftest.$ac_objext'
25189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25190 (eval $ac_try) 2>&5
25191 ac_status=$?
25192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25193 (exit $ac_status); }; }; then
25194 glibcxx_cv_func_sincosl_use=yes
25195 else
25196 echo "$as_me: failed program was:" >&5
25197 sed 's/^/| /' conftest.$ac_ext >&5
25199 glibcxx_cv_func_sincosl_use=no
25201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25202 ac_ext=c
25203 ac_cpp='$CPP $CPPFLAGS'
25204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25212 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
25213 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
25215 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25217 for ac_func in sincosl
25219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25220 echo "$as_me:$LINENO: checking for $ac_func" >&5
25221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25222 if eval "test \"\${$as_ac_var+set}\" = set"; then
25223 echo $ECHO_N "(cached) $ECHO_C" >&6
25224 else
25225 if test x$gcc_no_link = xyes; then
25226 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25228 { (exit 1); exit 1; }; }
25230 cat >conftest.$ac_ext <<_ACEOF
25231 /* confdefs.h. */
25232 _ACEOF
25233 cat confdefs.h >>conftest.$ac_ext
25234 cat >>conftest.$ac_ext <<_ACEOF
25235 /* end confdefs.h. */
25236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25238 #define $ac_func innocuous_$ac_func
25240 /* System header to define __stub macros and hopefully few prototypes,
25241 which can conflict with char $ac_func (); below.
25242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25243 <limits.h> exists even on freestanding compilers. */
25245 #ifdef __STDC__
25246 # include <limits.h>
25247 #else
25248 # include <assert.h>
25249 #endif
25251 #undef $ac_func
25253 /* Override any gcc2 internal prototype to avoid an error. */
25254 #ifdef __cplusplus
25255 extern "C"
25257 #endif
25258 /* We use char because int might match the return type of a gcc2
25259 builtin and then its argument prototype would still apply. */
25260 char $ac_func ();
25261 /* The GNU C library defines this for functions which it implements
25262 to always fail with ENOSYS. Some functions are actually named
25263 something starting with __ and the normal name is an alias. */
25264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25265 choke me
25266 #else
25267 char (*f) () = $ac_func;
25268 #endif
25269 #ifdef __cplusplus
25271 #endif
25274 main ()
25276 return f != $ac_func;
25278 return 0;
25280 _ACEOF
25281 rm -f conftest.$ac_objext conftest$ac_exeext
25282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25283 (eval $ac_link) 2>conftest.er1
25284 ac_status=$?
25285 grep -v '^ *+' conftest.er1 >conftest.err
25286 rm -f conftest.er1
25287 cat conftest.err >&5
25288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25289 (exit $ac_status); } &&
25290 { ac_try='test -z "$ac_c_werror_flag"
25291 || test ! -s conftest.err'
25292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25293 (eval $ac_try) 2>&5
25294 ac_status=$?
25295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25296 (exit $ac_status); }; } &&
25297 { ac_try='test -s conftest$ac_exeext'
25298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25299 (eval $ac_try) 2>&5
25300 ac_status=$?
25301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25302 (exit $ac_status); }; }; then
25303 eval "$as_ac_var=yes"
25304 else
25305 echo "$as_me: failed program was:" >&5
25306 sed 's/^/| /' conftest.$ac_ext >&5
25308 eval "$as_ac_var=no"
25310 rm -f conftest.err conftest.$ac_objext \
25311 conftest$ac_exeext conftest.$ac_ext
25313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25315 if test `eval echo '${'$as_ac_var'}'` = yes; then
25316 cat >>confdefs.h <<_ACEOF
25317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25318 _ACEOF
25321 done
25323 else
25325 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
25326 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
25327 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25328 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
25329 echo $ECHO_N "(cached) $ECHO_C" >&6
25330 else
25334 ac_ext=cc
25335 ac_cpp='$CXXCPP $CPPFLAGS'
25336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25340 cat >conftest.$ac_ext <<_ACEOF
25341 /* confdefs.h. */
25342 _ACEOF
25343 cat confdefs.h >>conftest.$ac_ext
25344 cat >>conftest.$ac_ext <<_ACEOF
25345 /* end confdefs.h. */
25346 #include <math.h>
25348 main ()
25350 _sincosl(0, 0, 0);
25352 return 0;
25354 _ACEOF
25355 rm -f conftest.$ac_objext
25356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25357 (eval $ac_compile) 2>conftest.er1
25358 ac_status=$?
25359 grep -v '^ *+' conftest.er1 >conftest.err
25360 rm -f conftest.er1
25361 cat conftest.err >&5
25362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25363 (exit $ac_status); } &&
25364 { ac_try='test -z "$ac_cxx_werror_flag"
25365 || test ! -s conftest.err'
25366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25367 (eval $ac_try) 2>&5
25368 ac_status=$?
25369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25370 (exit $ac_status); }; } &&
25371 { ac_try='test -s conftest.$ac_objext'
25372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25373 (eval $ac_try) 2>&5
25374 ac_status=$?
25375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25376 (exit $ac_status); }; }; then
25377 glibcxx_cv_func__sincosl_use=yes
25378 else
25379 echo "$as_me: failed program was:" >&5
25380 sed 's/^/| /' conftest.$ac_ext >&5
25382 glibcxx_cv_func__sincosl_use=no
25384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25385 ac_ext=c
25386 ac_cpp='$CPP $CPPFLAGS'
25387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25395 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
25396 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
25398 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25400 for ac_func in _sincosl
25402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25403 echo "$as_me:$LINENO: checking for $ac_func" >&5
25404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25405 if eval "test \"\${$as_ac_var+set}\" = set"; then
25406 echo $ECHO_N "(cached) $ECHO_C" >&6
25407 else
25408 if test x$gcc_no_link = xyes; then
25409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25411 { (exit 1); exit 1; }; }
25413 cat >conftest.$ac_ext <<_ACEOF
25414 /* confdefs.h. */
25415 _ACEOF
25416 cat confdefs.h >>conftest.$ac_ext
25417 cat >>conftest.$ac_ext <<_ACEOF
25418 /* end confdefs.h. */
25419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25421 #define $ac_func innocuous_$ac_func
25423 /* System header to define __stub macros and hopefully few prototypes,
25424 which can conflict with char $ac_func (); below.
25425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25426 <limits.h> exists even on freestanding compilers. */
25428 #ifdef __STDC__
25429 # include <limits.h>
25430 #else
25431 # include <assert.h>
25432 #endif
25434 #undef $ac_func
25436 /* Override any gcc2 internal prototype to avoid an error. */
25437 #ifdef __cplusplus
25438 extern "C"
25440 #endif
25441 /* We use char because int might match the return type of a gcc2
25442 builtin and then its argument prototype would still apply. */
25443 char $ac_func ();
25444 /* The GNU C library defines this for functions which it implements
25445 to always fail with ENOSYS. Some functions are actually named
25446 something starting with __ and the normal name is an alias. */
25447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25448 choke me
25449 #else
25450 char (*f) () = $ac_func;
25451 #endif
25452 #ifdef __cplusplus
25454 #endif
25457 main ()
25459 return f != $ac_func;
25461 return 0;
25463 _ACEOF
25464 rm -f conftest.$ac_objext conftest$ac_exeext
25465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25466 (eval $ac_link) 2>conftest.er1
25467 ac_status=$?
25468 grep -v '^ *+' conftest.er1 >conftest.err
25469 rm -f conftest.er1
25470 cat conftest.err >&5
25471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25472 (exit $ac_status); } &&
25473 { ac_try='test -z "$ac_c_werror_flag"
25474 || test ! -s conftest.err'
25475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25476 (eval $ac_try) 2>&5
25477 ac_status=$?
25478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25479 (exit $ac_status); }; } &&
25480 { ac_try='test -s conftest$ac_exeext'
25481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25482 (eval $ac_try) 2>&5
25483 ac_status=$?
25484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25485 (exit $ac_status); }; }; then
25486 eval "$as_ac_var=yes"
25487 else
25488 echo "$as_me: failed program was:" >&5
25489 sed 's/^/| /' conftest.$ac_ext >&5
25491 eval "$as_ac_var=no"
25493 rm -f conftest.err conftest.$ac_objext \
25494 conftest$ac_exeext conftest.$ac_ext
25496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25498 if test `eval echo '${'$as_ac_var'}'` = yes; then
25499 cat >>confdefs.h <<_ACEOF
25500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25501 _ACEOF
25504 done
25514 echo "$as_me:$LINENO: checking for finitel declaration" >&5
25515 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
25516 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25517 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
25518 echo $ECHO_N "(cached) $ECHO_C" >&6
25519 else
25523 ac_ext=cc
25524 ac_cpp='$CXXCPP $CPPFLAGS'
25525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25529 cat >conftest.$ac_ext <<_ACEOF
25530 /* confdefs.h. */
25531 _ACEOF
25532 cat confdefs.h >>conftest.$ac_ext
25533 cat >>conftest.$ac_ext <<_ACEOF
25534 /* end confdefs.h. */
25535 #include <math.h>
25536 #ifdef HAVE_IEEEFP_H
25537 #include <ieeefp.h>
25538 #endif
25541 main ()
25543 finitel(0);
25545 return 0;
25547 _ACEOF
25548 rm -f conftest.$ac_objext
25549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25550 (eval $ac_compile) 2>conftest.er1
25551 ac_status=$?
25552 grep -v '^ *+' conftest.er1 >conftest.err
25553 rm -f conftest.er1
25554 cat conftest.err >&5
25555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25556 (exit $ac_status); } &&
25557 { ac_try='test -z "$ac_cxx_werror_flag"
25558 || test ! -s conftest.err'
25559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25560 (eval $ac_try) 2>&5
25561 ac_status=$?
25562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25563 (exit $ac_status); }; } &&
25564 { ac_try='test -s conftest.$ac_objext'
25565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25566 (eval $ac_try) 2>&5
25567 ac_status=$?
25568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25569 (exit $ac_status); }; }; then
25570 glibcxx_cv_func_finitel_use=yes
25571 else
25572 echo "$as_me: failed program was:" >&5
25573 sed 's/^/| /' conftest.$ac_ext >&5
25575 glibcxx_cv_func_finitel_use=no
25577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25578 ac_ext=c
25579 ac_cpp='$CPP $CPPFLAGS'
25580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25588 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
25589 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
25591 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25593 for ac_func in finitel
25595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25596 echo "$as_me:$LINENO: checking for $ac_func" >&5
25597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25598 if eval "test \"\${$as_ac_var+set}\" = set"; then
25599 echo $ECHO_N "(cached) $ECHO_C" >&6
25600 else
25601 if test x$gcc_no_link = xyes; then
25602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25604 { (exit 1); exit 1; }; }
25606 cat >conftest.$ac_ext <<_ACEOF
25607 /* confdefs.h. */
25608 _ACEOF
25609 cat confdefs.h >>conftest.$ac_ext
25610 cat >>conftest.$ac_ext <<_ACEOF
25611 /* end confdefs.h. */
25612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25614 #define $ac_func innocuous_$ac_func
25616 /* System header to define __stub macros and hopefully few prototypes,
25617 which can conflict with char $ac_func (); below.
25618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25619 <limits.h> exists even on freestanding compilers. */
25621 #ifdef __STDC__
25622 # include <limits.h>
25623 #else
25624 # include <assert.h>
25625 #endif
25627 #undef $ac_func
25629 /* Override any gcc2 internal prototype to avoid an error. */
25630 #ifdef __cplusplus
25631 extern "C"
25633 #endif
25634 /* We use char because int might match the return type of a gcc2
25635 builtin and then its argument prototype would still apply. */
25636 char $ac_func ();
25637 /* The GNU C library defines this for functions which it implements
25638 to always fail with ENOSYS. Some functions are actually named
25639 something starting with __ and the normal name is an alias. */
25640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25641 choke me
25642 #else
25643 char (*f) () = $ac_func;
25644 #endif
25645 #ifdef __cplusplus
25647 #endif
25650 main ()
25652 return f != $ac_func;
25654 return 0;
25656 _ACEOF
25657 rm -f conftest.$ac_objext conftest$ac_exeext
25658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25659 (eval $ac_link) 2>conftest.er1
25660 ac_status=$?
25661 grep -v '^ *+' conftest.er1 >conftest.err
25662 rm -f conftest.er1
25663 cat conftest.err >&5
25664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25665 (exit $ac_status); } &&
25666 { ac_try='test -z "$ac_c_werror_flag"
25667 || test ! -s conftest.err'
25668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25669 (eval $ac_try) 2>&5
25670 ac_status=$?
25671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25672 (exit $ac_status); }; } &&
25673 { ac_try='test -s conftest$ac_exeext'
25674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25675 (eval $ac_try) 2>&5
25676 ac_status=$?
25677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25678 (exit $ac_status); }; }; then
25679 eval "$as_ac_var=yes"
25680 else
25681 echo "$as_me: failed program was:" >&5
25682 sed 's/^/| /' conftest.$ac_ext >&5
25684 eval "$as_ac_var=no"
25686 rm -f conftest.err conftest.$ac_objext \
25687 conftest$ac_exeext conftest.$ac_ext
25689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25691 if test `eval echo '${'$as_ac_var'}'` = yes; then
25692 cat >>confdefs.h <<_ACEOF
25693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25694 _ACEOF
25697 done
25699 else
25701 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
25702 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
25703 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25704 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
25705 echo $ECHO_N "(cached) $ECHO_C" >&6
25706 else
25710 ac_ext=cc
25711 ac_cpp='$CXXCPP $CPPFLAGS'
25712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25716 cat >conftest.$ac_ext <<_ACEOF
25717 /* confdefs.h. */
25718 _ACEOF
25719 cat confdefs.h >>conftest.$ac_ext
25720 cat >>conftest.$ac_ext <<_ACEOF
25721 /* end confdefs.h. */
25722 #include <math.h>
25723 #ifdef HAVE_IEEEFP_H
25724 #include <ieeefp.h>
25725 #endif
25728 main ()
25730 _finitel(0);
25732 return 0;
25734 _ACEOF
25735 rm -f conftest.$ac_objext
25736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25737 (eval $ac_compile) 2>conftest.er1
25738 ac_status=$?
25739 grep -v '^ *+' conftest.er1 >conftest.err
25740 rm -f conftest.er1
25741 cat conftest.err >&5
25742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25743 (exit $ac_status); } &&
25744 { ac_try='test -z "$ac_cxx_werror_flag"
25745 || test ! -s conftest.err'
25746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25747 (eval $ac_try) 2>&5
25748 ac_status=$?
25749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25750 (exit $ac_status); }; } &&
25751 { ac_try='test -s conftest.$ac_objext'
25752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25753 (eval $ac_try) 2>&5
25754 ac_status=$?
25755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25756 (exit $ac_status); }; }; then
25757 glibcxx_cv_func__finitel_use=yes
25758 else
25759 echo "$as_me: failed program was:" >&5
25760 sed 's/^/| /' conftest.$ac_ext >&5
25762 glibcxx_cv_func__finitel_use=no
25764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25765 ac_ext=c
25766 ac_cpp='$CPP $CPPFLAGS'
25767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25775 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
25776 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
25778 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25780 for ac_func in _finitel
25782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25783 echo "$as_me:$LINENO: checking for $ac_func" >&5
25784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25785 if eval "test \"\${$as_ac_var+set}\" = set"; then
25786 echo $ECHO_N "(cached) $ECHO_C" >&6
25787 else
25788 if test x$gcc_no_link = xyes; then
25789 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25791 { (exit 1); exit 1; }; }
25793 cat >conftest.$ac_ext <<_ACEOF
25794 /* confdefs.h. */
25795 _ACEOF
25796 cat confdefs.h >>conftest.$ac_ext
25797 cat >>conftest.$ac_ext <<_ACEOF
25798 /* end confdefs.h. */
25799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25801 #define $ac_func innocuous_$ac_func
25803 /* System header to define __stub macros and hopefully few prototypes,
25804 which can conflict with char $ac_func (); below.
25805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25806 <limits.h> exists even on freestanding compilers. */
25808 #ifdef __STDC__
25809 # include <limits.h>
25810 #else
25811 # include <assert.h>
25812 #endif
25814 #undef $ac_func
25816 /* Override any gcc2 internal prototype to avoid an error. */
25817 #ifdef __cplusplus
25818 extern "C"
25820 #endif
25821 /* We use char because int might match the return type of a gcc2
25822 builtin and then its argument prototype would still apply. */
25823 char $ac_func ();
25824 /* The GNU C library defines this for functions which it implements
25825 to always fail with ENOSYS. Some functions are actually named
25826 something starting with __ and the normal name is an alias. */
25827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25828 choke me
25829 #else
25830 char (*f) () = $ac_func;
25831 #endif
25832 #ifdef __cplusplus
25834 #endif
25837 main ()
25839 return f != $ac_func;
25841 return 0;
25843 _ACEOF
25844 rm -f conftest.$ac_objext conftest$ac_exeext
25845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25846 (eval $ac_link) 2>conftest.er1
25847 ac_status=$?
25848 grep -v '^ *+' conftest.er1 >conftest.err
25849 rm -f conftest.er1
25850 cat conftest.err >&5
25851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25852 (exit $ac_status); } &&
25853 { ac_try='test -z "$ac_c_werror_flag"
25854 || test ! -s conftest.err'
25855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25856 (eval $ac_try) 2>&5
25857 ac_status=$?
25858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25859 (exit $ac_status); }; } &&
25860 { ac_try='test -s conftest$ac_exeext'
25861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25862 (eval $ac_try) 2>&5
25863 ac_status=$?
25864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25865 (exit $ac_status); }; }; then
25866 eval "$as_ac_var=yes"
25867 else
25868 echo "$as_me: failed program was:" >&5
25869 sed 's/^/| /' conftest.$ac_ext >&5
25871 eval "$as_ac_var=no"
25873 rm -f conftest.err conftest.$ac_objext \
25874 conftest$ac_exeext conftest.$ac_ext
25876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25878 if test `eval echo '${'$as_ac_var'}'` = yes; then
25879 cat >>confdefs.h <<_ACEOF
25880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25881 _ACEOF
25884 done
25893 LIBS="$ac_save_LIBS"
25894 CXXFLAGS="$ac_save_CXXFLAGS"
25898 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25899 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25900 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25901 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25902 echo $ECHO_N "(cached) $ECHO_C" >&6
25903 else
25907 ac_ext=cc
25908 ac_cpp='$CXXCPP $CPPFLAGS'
25909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25913 cat >conftest.$ac_ext <<_ACEOF
25914 /* confdefs.h. */
25915 _ACEOF
25916 cat confdefs.h >>conftest.$ac_ext
25917 cat >>conftest.$ac_ext <<_ACEOF
25918 /* end confdefs.h. */
25919 #include <math.h>
25921 main ()
25923 __builtin_abs(0);
25925 return 0;
25927 _ACEOF
25928 rm -f conftest.$ac_objext
25929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25930 (eval $ac_compile) 2>conftest.er1
25931 ac_status=$?
25932 grep -v '^ *+' conftest.er1 >conftest.err
25933 rm -f conftest.er1
25934 cat conftest.err >&5
25935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25936 (exit $ac_status); } &&
25937 { ac_try='test -z "$ac_cxx_werror_flag"
25938 || test ! -s conftest.err'
25939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25940 (eval $ac_try) 2>&5
25941 ac_status=$?
25942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25943 (exit $ac_status); }; } &&
25944 { ac_try='test -s conftest.$ac_objext'
25945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25946 (eval $ac_try) 2>&5
25947 ac_status=$?
25948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25949 (exit $ac_status); }; }; then
25950 glibcxx_cv_func___builtin_abs_use=yes
25951 else
25952 echo "$as_me: failed program was:" >&5
25953 sed 's/^/| /' conftest.$ac_ext >&5
25955 glibcxx_cv_func___builtin_abs_use=no
25957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25958 ac_ext=c
25959 ac_cpp='$CPP $CPPFLAGS'
25960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25968 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25969 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25970 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25971 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25972 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25973 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25974 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25975 echo $ECHO_N "(cached) $ECHO_C" >&6
25976 else
25978 if test x$gcc_no_link = xyes; then
25979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25981 { (exit 1); exit 1; }; }
25983 cat >conftest.$ac_ext <<_ACEOF
25984 /* confdefs.h. */
25985 _ACEOF
25986 cat confdefs.h >>conftest.$ac_ext
25987 cat >>conftest.$ac_ext <<_ACEOF
25988 /* end confdefs.h. */
25989 #include <math.h>
25991 main ()
25993 __builtin_abs(0);
25995 return 0;
25997 _ACEOF
25998 rm -f conftest.$ac_objext conftest$ac_exeext
25999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26000 (eval $ac_link) 2>conftest.er1
26001 ac_status=$?
26002 grep -v '^ *+' conftest.er1 >conftest.err
26003 rm -f conftest.er1
26004 cat conftest.err >&5
26005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26006 (exit $ac_status); } &&
26007 { ac_try='test -z "$ac_c_werror_flag"
26008 || test ! -s conftest.err'
26009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26010 (eval $ac_try) 2>&5
26011 ac_status=$?
26012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26013 (exit $ac_status); }; } &&
26014 { ac_try='test -s conftest$ac_exeext'
26015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26016 (eval $ac_try) 2>&5
26017 ac_status=$?
26018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26019 (exit $ac_status); }; }; then
26020 glibcxx_cv_func___builtin_abs_link=yes
26021 else
26022 echo "$as_me: failed program was:" >&5
26023 sed 's/^/| /' conftest.$ac_ext >&5
26025 glibcxx_cv_func___builtin_abs_link=no
26027 rm -f conftest.err conftest.$ac_objext \
26028 conftest$ac_exeext conftest.$ac_ext
26033 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
26034 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
26036 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
26038 cat >>confdefs.h <<\_ACEOF
26039 #define HAVE___BUILTIN_ABS 1
26040 _ACEOF
26047 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
26048 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
26049 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
26050 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
26051 echo $ECHO_N "(cached) $ECHO_C" >&6
26052 else
26056 ac_ext=cc
26057 ac_cpp='$CXXCPP $CPPFLAGS'
26058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26062 cat >conftest.$ac_ext <<_ACEOF
26063 /* confdefs.h. */
26064 _ACEOF
26065 cat confdefs.h >>conftest.$ac_ext
26066 cat >>conftest.$ac_ext <<_ACEOF
26067 /* end confdefs.h. */
26068 #include <math.h>
26070 main ()
26072 __builtin_fabsf(0);
26074 return 0;
26076 _ACEOF
26077 rm -f conftest.$ac_objext
26078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26079 (eval $ac_compile) 2>conftest.er1
26080 ac_status=$?
26081 grep -v '^ *+' conftest.er1 >conftest.err
26082 rm -f conftest.er1
26083 cat conftest.err >&5
26084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26085 (exit $ac_status); } &&
26086 { ac_try='test -z "$ac_cxx_werror_flag"
26087 || test ! -s conftest.err'
26088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26089 (eval $ac_try) 2>&5
26090 ac_status=$?
26091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26092 (exit $ac_status); }; } &&
26093 { ac_try='test -s conftest.$ac_objext'
26094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26095 (eval $ac_try) 2>&5
26096 ac_status=$?
26097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26098 (exit $ac_status); }; }; then
26099 glibcxx_cv_func___builtin_fabsf_use=yes
26100 else
26101 echo "$as_me: failed program was:" >&5
26102 sed 's/^/| /' conftest.$ac_ext >&5
26104 glibcxx_cv_func___builtin_fabsf_use=no
26106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26107 ac_ext=c
26108 ac_cpp='$CPP $CPPFLAGS'
26109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26117 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
26118 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
26119 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
26120 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
26121 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
26122 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
26123 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
26124 echo $ECHO_N "(cached) $ECHO_C" >&6
26125 else
26127 if test x$gcc_no_link = xyes; then
26128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26130 { (exit 1); exit 1; }; }
26132 cat >conftest.$ac_ext <<_ACEOF
26133 /* confdefs.h. */
26134 _ACEOF
26135 cat confdefs.h >>conftest.$ac_ext
26136 cat >>conftest.$ac_ext <<_ACEOF
26137 /* end confdefs.h. */
26138 #include <math.h>
26140 main ()
26142 __builtin_fabsf(0);
26144 return 0;
26146 _ACEOF
26147 rm -f conftest.$ac_objext conftest$ac_exeext
26148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26149 (eval $ac_link) 2>conftest.er1
26150 ac_status=$?
26151 grep -v '^ *+' conftest.er1 >conftest.err
26152 rm -f conftest.er1
26153 cat conftest.err >&5
26154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26155 (exit $ac_status); } &&
26156 { ac_try='test -z "$ac_c_werror_flag"
26157 || test ! -s conftest.err'
26158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26159 (eval $ac_try) 2>&5
26160 ac_status=$?
26161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26162 (exit $ac_status); }; } &&
26163 { ac_try='test -s conftest$ac_exeext'
26164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26165 (eval $ac_try) 2>&5
26166 ac_status=$?
26167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26168 (exit $ac_status); }; }; then
26169 glibcxx_cv_func___builtin_fabsf_link=yes
26170 else
26171 echo "$as_me: failed program was:" >&5
26172 sed 's/^/| /' conftest.$ac_ext >&5
26174 glibcxx_cv_func___builtin_fabsf_link=no
26176 rm -f conftest.err conftest.$ac_objext \
26177 conftest$ac_exeext conftest.$ac_ext
26182 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
26183 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
26185 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
26187 cat >>confdefs.h <<\_ACEOF
26188 #define HAVE___BUILTIN_FABSF 1
26189 _ACEOF
26196 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
26197 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
26198 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
26199 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
26200 echo $ECHO_N "(cached) $ECHO_C" >&6
26201 else
26205 ac_ext=cc
26206 ac_cpp='$CXXCPP $CPPFLAGS'
26207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26211 cat >conftest.$ac_ext <<_ACEOF
26212 /* confdefs.h. */
26213 _ACEOF
26214 cat confdefs.h >>conftest.$ac_ext
26215 cat >>conftest.$ac_ext <<_ACEOF
26216 /* end confdefs.h. */
26217 #include <math.h>
26219 main ()
26221 __builtin_fabs(0);
26223 return 0;
26225 _ACEOF
26226 rm -f conftest.$ac_objext
26227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26228 (eval $ac_compile) 2>conftest.er1
26229 ac_status=$?
26230 grep -v '^ *+' conftest.er1 >conftest.err
26231 rm -f conftest.er1
26232 cat conftest.err >&5
26233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26234 (exit $ac_status); } &&
26235 { ac_try='test -z "$ac_cxx_werror_flag"
26236 || test ! -s conftest.err'
26237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26238 (eval $ac_try) 2>&5
26239 ac_status=$?
26240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26241 (exit $ac_status); }; } &&
26242 { ac_try='test -s conftest.$ac_objext'
26243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26244 (eval $ac_try) 2>&5
26245 ac_status=$?
26246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26247 (exit $ac_status); }; }; then
26248 glibcxx_cv_func___builtin_fabs_use=yes
26249 else
26250 echo "$as_me: failed program was:" >&5
26251 sed 's/^/| /' conftest.$ac_ext >&5
26253 glibcxx_cv_func___builtin_fabs_use=no
26255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26256 ac_ext=c
26257 ac_cpp='$CPP $CPPFLAGS'
26258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26266 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
26267 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
26268 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
26269 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
26270 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
26271 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
26272 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
26273 echo $ECHO_N "(cached) $ECHO_C" >&6
26274 else
26276 if test x$gcc_no_link = xyes; then
26277 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26279 { (exit 1); exit 1; }; }
26281 cat >conftest.$ac_ext <<_ACEOF
26282 /* confdefs.h. */
26283 _ACEOF
26284 cat confdefs.h >>conftest.$ac_ext
26285 cat >>conftest.$ac_ext <<_ACEOF
26286 /* end confdefs.h. */
26287 #include <math.h>
26289 main ()
26291 __builtin_fabs(0);
26293 return 0;
26295 _ACEOF
26296 rm -f conftest.$ac_objext conftest$ac_exeext
26297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26298 (eval $ac_link) 2>conftest.er1
26299 ac_status=$?
26300 grep -v '^ *+' conftest.er1 >conftest.err
26301 rm -f conftest.er1
26302 cat conftest.err >&5
26303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26304 (exit $ac_status); } &&
26305 { ac_try='test -z "$ac_c_werror_flag"
26306 || test ! -s conftest.err'
26307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26308 (eval $ac_try) 2>&5
26309 ac_status=$?
26310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26311 (exit $ac_status); }; } &&
26312 { ac_try='test -s conftest$ac_exeext'
26313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26314 (eval $ac_try) 2>&5
26315 ac_status=$?
26316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26317 (exit $ac_status); }; }; then
26318 glibcxx_cv_func___builtin_fabs_link=yes
26319 else
26320 echo "$as_me: failed program was:" >&5
26321 sed 's/^/| /' conftest.$ac_ext >&5
26323 glibcxx_cv_func___builtin_fabs_link=no
26325 rm -f conftest.err conftest.$ac_objext \
26326 conftest$ac_exeext conftest.$ac_ext
26331 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
26332 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
26334 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
26336 cat >>confdefs.h <<\_ACEOF
26337 #define HAVE___BUILTIN_FABS 1
26338 _ACEOF
26345 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
26346 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
26347 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
26348 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
26349 echo $ECHO_N "(cached) $ECHO_C" >&6
26350 else
26354 ac_ext=cc
26355 ac_cpp='$CXXCPP $CPPFLAGS'
26356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26360 cat >conftest.$ac_ext <<_ACEOF
26361 /* confdefs.h. */
26362 _ACEOF
26363 cat confdefs.h >>conftest.$ac_ext
26364 cat >>conftest.$ac_ext <<_ACEOF
26365 /* end confdefs.h. */
26366 #include <math.h>
26368 main ()
26370 __builtin_fabsl(0);
26372 return 0;
26374 _ACEOF
26375 rm -f conftest.$ac_objext
26376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26377 (eval $ac_compile) 2>conftest.er1
26378 ac_status=$?
26379 grep -v '^ *+' conftest.er1 >conftest.err
26380 rm -f conftest.er1
26381 cat conftest.err >&5
26382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26383 (exit $ac_status); } &&
26384 { ac_try='test -z "$ac_cxx_werror_flag"
26385 || test ! -s conftest.err'
26386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26387 (eval $ac_try) 2>&5
26388 ac_status=$?
26389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26390 (exit $ac_status); }; } &&
26391 { ac_try='test -s conftest.$ac_objext'
26392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26393 (eval $ac_try) 2>&5
26394 ac_status=$?
26395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26396 (exit $ac_status); }; }; then
26397 glibcxx_cv_func___builtin_fabsl_use=yes
26398 else
26399 echo "$as_me: failed program was:" >&5
26400 sed 's/^/| /' conftest.$ac_ext >&5
26402 glibcxx_cv_func___builtin_fabsl_use=no
26404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26405 ac_ext=c
26406 ac_cpp='$CPP $CPPFLAGS'
26407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26415 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
26416 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
26417 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
26418 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
26419 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
26420 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
26421 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
26422 echo $ECHO_N "(cached) $ECHO_C" >&6
26423 else
26425 if test x$gcc_no_link = xyes; then
26426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26428 { (exit 1); exit 1; }; }
26430 cat >conftest.$ac_ext <<_ACEOF
26431 /* confdefs.h. */
26432 _ACEOF
26433 cat confdefs.h >>conftest.$ac_ext
26434 cat >>conftest.$ac_ext <<_ACEOF
26435 /* end confdefs.h. */
26436 #include <math.h>
26438 main ()
26440 __builtin_fabsl(0);
26442 return 0;
26444 _ACEOF
26445 rm -f conftest.$ac_objext conftest$ac_exeext
26446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26447 (eval $ac_link) 2>conftest.er1
26448 ac_status=$?
26449 grep -v '^ *+' conftest.er1 >conftest.err
26450 rm -f conftest.er1
26451 cat conftest.err >&5
26452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26453 (exit $ac_status); } &&
26454 { ac_try='test -z "$ac_c_werror_flag"
26455 || test ! -s conftest.err'
26456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26457 (eval $ac_try) 2>&5
26458 ac_status=$?
26459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26460 (exit $ac_status); }; } &&
26461 { ac_try='test -s conftest$ac_exeext'
26462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26463 (eval $ac_try) 2>&5
26464 ac_status=$?
26465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26466 (exit $ac_status); }; }; then
26467 glibcxx_cv_func___builtin_fabsl_link=yes
26468 else
26469 echo "$as_me: failed program was:" >&5
26470 sed 's/^/| /' conftest.$ac_ext >&5
26472 glibcxx_cv_func___builtin_fabsl_link=no
26474 rm -f conftest.err conftest.$ac_objext \
26475 conftest$ac_exeext conftest.$ac_ext
26480 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
26481 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
26483 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
26485 cat >>confdefs.h <<\_ACEOF
26486 #define HAVE___BUILTIN_FABSL 1
26487 _ACEOF
26494 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
26495 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
26496 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
26497 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
26498 echo $ECHO_N "(cached) $ECHO_C" >&6
26499 else
26503 ac_ext=cc
26504 ac_cpp='$CXXCPP $CPPFLAGS'
26505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26509 cat >conftest.$ac_ext <<_ACEOF
26510 /* confdefs.h. */
26511 _ACEOF
26512 cat confdefs.h >>conftest.$ac_ext
26513 cat >>conftest.$ac_ext <<_ACEOF
26514 /* end confdefs.h. */
26515 #include <math.h>
26517 main ()
26519 __builtin_labs(0);
26521 return 0;
26523 _ACEOF
26524 rm -f conftest.$ac_objext
26525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26526 (eval $ac_compile) 2>conftest.er1
26527 ac_status=$?
26528 grep -v '^ *+' conftest.er1 >conftest.err
26529 rm -f conftest.er1
26530 cat conftest.err >&5
26531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26532 (exit $ac_status); } &&
26533 { ac_try='test -z "$ac_cxx_werror_flag"
26534 || test ! -s conftest.err'
26535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26536 (eval $ac_try) 2>&5
26537 ac_status=$?
26538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26539 (exit $ac_status); }; } &&
26540 { ac_try='test -s conftest.$ac_objext'
26541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26542 (eval $ac_try) 2>&5
26543 ac_status=$?
26544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26545 (exit $ac_status); }; }; then
26546 glibcxx_cv_func___builtin_labs_use=yes
26547 else
26548 echo "$as_me: failed program was:" >&5
26549 sed 's/^/| /' conftest.$ac_ext >&5
26551 glibcxx_cv_func___builtin_labs_use=no
26553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26554 ac_ext=c
26555 ac_cpp='$CPP $CPPFLAGS'
26556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26564 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
26565 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
26566 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
26567 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
26568 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
26569 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
26570 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
26571 echo $ECHO_N "(cached) $ECHO_C" >&6
26572 else
26574 if test x$gcc_no_link = xyes; then
26575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26577 { (exit 1); exit 1; }; }
26579 cat >conftest.$ac_ext <<_ACEOF
26580 /* confdefs.h. */
26581 _ACEOF
26582 cat confdefs.h >>conftest.$ac_ext
26583 cat >>conftest.$ac_ext <<_ACEOF
26584 /* end confdefs.h. */
26585 #include <math.h>
26587 main ()
26589 __builtin_labs(0);
26591 return 0;
26593 _ACEOF
26594 rm -f conftest.$ac_objext conftest$ac_exeext
26595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26596 (eval $ac_link) 2>conftest.er1
26597 ac_status=$?
26598 grep -v '^ *+' conftest.er1 >conftest.err
26599 rm -f conftest.er1
26600 cat conftest.err >&5
26601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26602 (exit $ac_status); } &&
26603 { ac_try='test -z "$ac_c_werror_flag"
26604 || test ! -s conftest.err'
26605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26606 (eval $ac_try) 2>&5
26607 ac_status=$?
26608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26609 (exit $ac_status); }; } &&
26610 { ac_try='test -s conftest$ac_exeext'
26611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26612 (eval $ac_try) 2>&5
26613 ac_status=$?
26614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26615 (exit $ac_status); }; }; then
26616 glibcxx_cv_func___builtin_labs_link=yes
26617 else
26618 echo "$as_me: failed program was:" >&5
26619 sed 's/^/| /' conftest.$ac_ext >&5
26621 glibcxx_cv_func___builtin_labs_link=no
26623 rm -f conftest.err conftest.$ac_objext \
26624 conftest$ac_exeext conftest.$ac_ext
26629 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
26630 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
26632 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
26634 cat >>confdefs.h <<\_ACEOF
26635 #define HAVE___BUILTIN_LABS 1
26636 _ACEOF
26644 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
26645 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
26646 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
26647 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
26648 echo $ECHO_N "(cached) $ECHO_C" >&6
26649 else
26653 ac_ext=cc
26654 ac_cpp='$CXXCPP $CPPFLAGS'
26655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26659 cat >conftest.$ac_ext <<_ACEOF
26660 /* confdefs.h. */
26661 _ACEOF
26662 cat confdefs.h >>conftest.$ac_ext
26663 cat >>conftest.$ac_ext <<_ACEOF
26664 /* end confdefs.h. */
26665 #include <math.h>
26667 main ()
26669 __builtin_sqrtf(0);
26671 return 0;
26673 _ACEOF
26674 rm -f conftest.$ac_objext
26675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26676 (eval $ac_compile) 2>conftest.er1
26677 ac_status=$?
26678 grep -v '^ *+' conftest.er1 >conftest.err
26679 rm -f conftest.er1
26680 cat conftest.err >&5
26681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26682 (exit $ac_status); } &&
26683 { ac_try='test -z "$ac_cxx_werror_flag"
26684 || test ! -s conftest.err'
26685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26686 (eval $ac_try) 2>&5
26687 ac_status=$?
26688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26689 (exit $ac_status); }; } &&
26690 { ac_try='test -s conftest.$ac_objext'
26691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26692 (eval $ac_try) 2>&5
26693 ac_status=$?
26694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26695 (exit $ac_status); }; }; then
26696 glibcxx_cv_func___builtin_sqrtf_use=yes
26697 else
26698 echo "$as_me: failed program was:" >&5
26699 sed 's/^/| /' conftest.$ac_ext >&5
26701 glibcxx_cv_func___builtin_sqrtf_use=no
26703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26704 ac_ext=c
26705 ac_cpp='$CPP $CPPFLAGS'
26706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26714 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
26715 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
26716 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
26717 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
26718 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
26719 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
26720 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
26721 echo $ECHO_N "(cached) $ECHO_C" >&6
26722 else
26724 if test x$gcc_no_link = xyes; then
26725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26727 { (exit 1); exit 1; }; }
26729 cat >conftest.$ac_ext <<_ACEOF
26730 /* confdefs.h. */
26731 _ACEOF
26732 cat confdefs.h >>conftest.$ac_ext
26733 cat >>conftest.$ac_ext <<_ACEOF
26734 /* end confdefs.h. */
26735 #include <math.h>
26737 main ()
26739 __builtin_sqrtf(0);
26741 return 0;
26743 _ACEOF
26744 rm -f conftest.$ac_objext conftest$ac_exeext
26745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26746 (eval $ac_link) 2>conftest.er1
26747 ac_status=$?
26748 grep -v '^ *+' conftest.er1 >conftest.err
26749 rm -f conftest.er1
26750 cat conftest.err >&5
26751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26752 (exit $ac_status); } &&
26753 { ac_try='test -z "$ac_c_werror_flag"
26754 || test ! -s conftest.err'
26755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26756 (eval $ac_try) 2>&5
26757 ac_status=$?
26758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26759 (exit $ac_status); }; } &&
26760 { ac_try='test -s conftest$ac_exeext'
26761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26762 (eval $ac_try) 2>&5
26763 ac_status=$?
26764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26765 (exit $ac_status); }; }; then
26766 glibcxx_cv_func___builtin_sqrtf_link=yes
26767 else
26768 echo "$as_me: failed program was:" >&5
26769 sed 's/^/| /' conftest.$ac_ext >&5
26771 glibcxx_cv_func___builtin_sqrtf_link=no
26773 rm -f conftest.err conftest.$ac_objext \
26774 conftest$ac_exeext conftest.$ac_ext
26779 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26780 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26782 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26784 cat >>confdefs.h <<\_ACEOF
26785 #define HAVE___BUILTIN_SQRTF 1
26786 _ACEOF
26793 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26794 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26795 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26796 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26797 echo $ECHO_N "(cached) $ECHO_C" >&6
26798 else
26802 ac_ext=cc
26803 ac_cpp='$CXXCPP $CPPFLAGS'
26804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26808 cat >conftest.$ac_ext <<_ACEOF
26809 /* confdefs.h. */
26810 _ACEOF
26811 cat confdefs.h >>conftest.$ac_ext
26812 cat >>conftest.$ac_ext <<_ACEOF
26813 /* end confdefs.h. */
26814 #include <math.h>
26816 main ()
26818 __builtin_sqrt(0);
26820 return 0;
26822 _ACEOF
26823 rm -f conftest.$ac_objext
26824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26825 (eval $ac_compile) 2>conftest.er1
26826 ac_status=$?
26827 grep -v '^ *+' conftest.er1 >conftest.err
26828 rm -f conftest.er1
26829 cat conftest.err >&5
26830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26831 (exit $ac_status); } &&
26832 { ac_try='test -z "$ac_cxx_werror_flag"
26833 || test ! -s conftest.err'
26834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26835 (eval $ac_try) 2>&5
26836 ac_status=$?
26837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26838 (exit $ac_status); }; } &&
26839 { ac_try='test -s conftest.$ac_objext'
26840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26841 (eval $ac_try) 2>&5
26842 ac_status=$?
26843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26844 (exit $ac_status); }; }; then
26845 glibcxx_cv_func___builtin_sqrt_use=yes
26846 else
26847 echo "$as_me: failed program was:" >&5
26848 sed 's/^/| /' conftest.$ac_ext >&5
26850 glibcxx_cv_func___builtin_sqrt_use=no
26852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26853 ac_ext=c
26854 ac_cpp='$CPP $CPPFLAGS'
26855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26863 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26864 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26865 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26866 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26867 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26868 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26869 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26870 echo $ECHO_N "(cached) $ECHO_C" >&6
26871 else
26873 if test x$gcc_no_link = xyes; then
26874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26876 { (exit 1); exit 1; }; }
26878 cat >conftest.$ac_ext <<_ACEOF
26879 /* confdefs.h. */
26880 _ACEOF
26881 cat confdefs.h >>conftest.$ac_ext
26882 cat >>conftest.$ac_ext <<_ACEOF
26883 /* end confdefs.h. */
26884 #include <math.h>
26886 main ()
26888 __builtin_sqrt(0);
26890 return 0;
26892 _ACEOF
26893 rm -f conftest.$ac_objext conftest$ac_exeext
26894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26895 (eval $ac_link) 2>conftest.er1
26896 ac_status=$?
26897 grep -v '^ *+' conftest.er1 >conftest.err
26898 rm -f conftest.er1
26899 cat conftest.err >&5
26900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26901 (exit $ac_status); } &&
26902 { ac_try='test -z "$ac_c_werror_flag"
26903 || test ! -s conftest.err'
26904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26905 (eval $ac_try) 2>&5
26906 ac_status=$?
26907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26908 (exit $ac_status); }; } &&
26909 { ac_try='test -s conftest$ac_exeext'
26910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26911 (eval $ac_try) 2>&5
26912 ac_status=$?
26913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26914 (exit $ac_status); }; }; then
26915 glibcxx_cv_func___builtin_sqrt_link=yes
26916 else
26917 echo "$as_me: failed program was:" >&5
26918 sed 's/^/| /' conftest.$ac_ext >&5
26920 glibcxx_cv_func___builtin_sqrt_link=no
26922 rm -f conftest.err conftest.$ac_objext \
26923 conftest$ac_exeext conftest.$ac_ext
26928 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26929 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26931 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26933 cat >>confdefs.h <<\_ACEOF
26934 #define HAVE___BUILTIN_SQRT 1
26935 _ACEOF
26942 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26943 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26944 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26945 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26946 echo $ECHO_N "(cached) $ECHO_C" >&6
26947 else
26951 ac_ext=cc
26952 ac_cpp='$CXXCPP $CPPFLAGS'
26953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26957 cat >conftest.$ac_ext <<_ACEOF
26958 /* confdefs.h. */
26959 _ACEOF
26960 cat confdefs.h >>conftest.$ac_ext
26961 cat >>conftest.$ac_ext <<_ACEOF
26962 /* end confdefs.h. */
26963 #include <math.h>
26965 main ()
26967 __builtin_sqrtl(0);
26969 return 0;
26971 _ACEOF
26972 rm -f conftest.$ac_objext
26973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26974 (eval $ac_compile) 2>conftest.er1
26975 ac_status=$?
26976 grep -v '^ *+' conftest.er1 >conftest.err
26977 rm -f conftest.er1
26978 cat conftest.err >&5
26979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26980 (exit $ac_status); } &&
26981 { ac_try='test -z "$ac_cxx_werror_flag"
26982 || test ! -s conftest.err'
26983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26984 (eval $ac_try) 2>&5
26985 ac_status=$?
26986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26987 (exit $ac_status); }; } &&
26988 { ac_try='test -s conftest.$ac_objext'
26989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26990 (eval $ac_try) 2>&5
26991 ac_status=$?
26992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26993 (exit $ac_status); }; }; then
26994 glibcxx_cv_func___builtin_sqrtl_use=yes
26995 else
26996 echo "$as_me: failed program was:" >&5
26997 sed 's/^/| /' conftest.$ac_ext >&5
26999 glibcxx_cv_func___builtin_sqrtl_use=no
27001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27002 ac_ext=c
27003 ac_cpp='$CPP $CPPFLAGS'
27004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27012 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
27013 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
27014 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
27015 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
27016 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
27017 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
27018 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
27019 echo $ECHO_N "(cached) $ECHO_C" >&6
27020 else
27022 if test x$gcc_no_link = xyes; then
27023 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27025 { (exit 1); exit 1; }; }
27027 cat >conftest.$ac_ext <<_ACEOF
27028 /* confdefs.h. */
27029 _ACEOF
27030 cat confdefs.h >>conftest.$ac_ext
27031 cat >>conftest.$ac_ext <<_ACEOF
27032 /* end confdefs.h. */
27033 #include <math.h>
27035 main ()
27037 __builtin_sqrtl(0);
27039 return 0;
27041 _ACEOF
27042 rm -f conftest.$ac_objext conftest$ac_exeext
27043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27044 (eval $ac_link) 2>conftest.er1
27045 ac_status=$?
27046 grep -v '^ *+' conftest.er1 >conftest.err
27047 rm -f conftest.er1
27048 cat conftest.err >&5
27049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27050 (exit $ac_status); } &&
27051 { ac_try='test -z "$ac_c_werror_flag"
27052 || test ! -s conftest.err'
27053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27054 (eval $ac_try) 2>&5
27055 ac_status=$?
27056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27057 (exit $ac_status); }; } &&
27058 { ac_try='test -s conftest$ac_exeext'
27059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27060 (eval $ac_try) 2>&5
27061 ac_status=$?
27062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27063 (exit $ac_status); }; }; then
27064 glibcxx_cv_func___builtin_sqrtl_link=yes
27065 else
27066 echo "$as_me: failed program was:" >&5
27067 sed 's/^/| /' conftest.$ac_ext >&5
27069 glibcxx_cv_func___builtin_sqrtl_link=no
27071 rm -f conftest.err conftest.$ac_objext \
27072 conftest$ac_exeext conftest.$ac_ext
27077 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
27078 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
27080 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
27082 cat >>confdefs.h <<\_ACEOF
27083 #define HAVE___BUILTIN_SQRTL 1
27084 _ACEOF
27092 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
27093 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
27094 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
27095 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
27096 echo $ECHO_N "(cached) $ECHO_C" >&6
27097 else
27101 ac_ext=cc
27102 ac_cpp='$CXXCPP $CPPFLAGS'
27103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27107 cat >conftest.$ac_ext <<_ACEOF
27108 /* confdefs.h. */
27109 _ACEOF
27110 cat confdefs.h >>conftest.$ac_ext
27111 cat >>conftest.$ac_ext <<_ACEOF
27112 /* end confdefs.h. */
27113 #include <math.h>
27115 main ()
27117 __builtin_sinf(0);
27119 return 0;
27121 _ACEOF
27122 rm -f conftest.$ac_objext
27123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27124 (eval $ac_compile) 2>conftest.er1
27125 ac_status=$?
27126 grep -v '^ *+' conftest.er1 >conftest.err
27127 rm -f conftest.er1
27128 cat conftest.err >&5
27129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27130 (exit $ac_status); } &&
27131 { ac_try='test -z "$ac_cxx_werror_flag"
27132 || test ! -s conftest.err'
27133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27134 (eval $ac_try) 2>&5
27135 ac_status=$?
27136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27137 (exit $ac_status); }; } &&
27138 { ac_try='test -s conftest.$ac_objext'
27139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27140 (eval $ac_try) 2>&5
27141 ac_status=$?
27142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27143 (exit $ac_status); }; }; then
27144 glibcxx_cv_func___builtin_sinf_use=yes
27145 else
27146 echo "$as_me: failed program was:" >&5
27147 sed 's/^/| /' conftest.$ac_ext >&5
27149 glibcxx_cv_func___builtin_sinf_use=no
27151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27152 ac_ext=c
27153 ac_cpp='$CPP $CPPFLAGS'
27154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27162 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
27163 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
27164 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
27165 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
27166 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
27167 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
27168 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
27169 echo $ECHO_N "(cached) $ECHO_C" >&6
27170 else
27172 if test x$gcc_no_link = xyes; then
27173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27175 { (exit 1); exit 1; }; }
27177 cat >conftest.$ac_ext <<_ACEOF
27178 /* confdefs.h. */
27179 _ACEOF
27180 cat confdefs.h >>conftest.$ac_ext
27181 cat >>conftest.$ac_ext <<_ACEOF
27182 /* end confdefs.h. */
27183 #include <math.h>
27185 main ()
27187 __builtin_sinf(0);
27189 return 0;
27191 _ACEOF
27192 rm -f conftest.$ac_objext conftest$ac_exeext
27193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27194 (eval $ac_link) 2>conftest.er1
27195 ac_status=$?
27196 grep -v '^ *+' conftest.er1 >conftest.err
27197 rm -f conftest.er1
27198 cat conftest.err >&5
27199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27200 (exit $ac_status); } &&
27201 { ac_try='test -z "$ac_c_werror_flag"
27202 || test ! -s conftest.err'
27203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27204 (eval $ac_try) 2>&5
27205 ac_status=$?
27206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27207 (exit $ac_status); }; } &&
27208 { ac_try='test -s conftest$ac_exeext'
27209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27210 (eval $ac_try) 2>&5
27211 ac_status=$?
27212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27213 (exit $ac_status); }; }; then
27214 glibcxx_cv_func___builtin_sinf_link=yes
27215 else
27216 echo "$as_me: failed program was:" >&5
27217 sed 's/^/| /' conftest.$ac_ext >&5
27219 glibcxx_cv_func___builtin_sinf_link=no
27221 rm -f conftest.err conftest.$ac_objext \
27222 conftest$ac_exeext conftest.$ac_ext
27227 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
27228 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
27230 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
27232 cat >>confdefs.h <<\_ACEOF
27233 #define HAVE___BUILTIN_SINF 1
27234 _ACEOF
27241 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
27242 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
27243 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
27244 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
27245 echo $ECHO_N "(cached) $ECHO_C" >&6
27246 else
27250 ac_ext=cc
27251 ac_cpp='$CXXCPP $CPPFLAGS'
27252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27256 cat >conftest.$ac_ext <<_ACEOF
27257 /* confdefs.h. */
27258 _ACEOF
27259 cat confdefs.h >>conftest.$ac_ext
27260 cat >>conftest.$ac_ext <<_ACEOF
27261 /* end confdefs.h. */
27262 #include <math.h>
27264 main ()
27266 __builtin_sin(0);
27268 return 0;
27270 _ACEOF
27271 rm -f conftest.$ac_objext
27272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27273 (eval $ac_compile) 2>conftest.er1
27274 ac_status=$?
27275 grep -v '^ *+' conftest.er1 >conftest.err
27276 rm -f conftest.er1
27277 cat conftest.err >&5
27278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27279 (exit $ac_status); } &&
27280 { ac_try='test -z "$ac_cxx_werror_flag"
27281 || test ! -s conftest.err'
27282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27283 (eval $ac_try) 2>&5
27284 ac_status=$?
27285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27286 (exit $ac_status); }; } &&
27287 { ac_try='test -s conftest.$ac_objext'
27288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27289 (eval $ac_try) 2>&5
27290 ac_status=$?
27291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27292 (exit $ac_status); }; }; then
27293 glibcxx_cv_func___builtin_sin_use=yes
27294 else
27295 echo "$as_me: failed program was:" >&5
27296 sed 's/^/| /' conftest.$ac_ext >&5
27298 glibcxx_cv_func___builtin_sin_use=no
27300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27301 ac_ext=c
27302 ac_cpp='$CPP $CPPFLAGS'
27303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27311 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
27312 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
27313 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
27314 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
27315 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
27316 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
27317 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
27318 echo $ECHO_N "(cached) $ECHO_C" >&6
27319 else
27321 if test x$gcc_no_link = xyes; then
27322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27324 { (exit 1); exit 1; }; }
27326 cat >conftest.$ac_ext <<_ACEOF
27327 /* confdefs.h. */
27328 _ACEOF
27329 cat confdefs.h >>conftest.$ac_ext
27330 cat >>conftest.$ac_ext <<_ACEOF
27331 /* end confdefs.h. */
27332 #include <math.h>
27334 main ()
27336 __builtin_sin(0);
27338 return 0;
27340 _ACEOF
27341 rm -f conftest.$ac_objext conftest$ac_exeext
27342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27343 (eval $ac_link) 2>conftest.er1
27344 ac_status=$?
27345 grep -v '^ *+' conftest.er1 >conftest.err
27346 rm -f conftest.er1
27347 cat conftest.err >&5
27348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27349 (exit $ac_status); } &&
27350 { ac_try='test -z "$ac_c_werror_flag"
27351 || test ! -s conftest.err'
27352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27353 (eval $ac_try) 2>&5
27354 ac_status=$?
27355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27356 (exit $ac_status); }; } &&
27357 { ac_try='test -s conftest$ac_exeext'
27358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27359 (eval $ac_try) 2>&5
27360 ac_status=$?
27361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27362 (exit $ac_status); }; }; then
27363 glibcxx_cv_func___builtin_sin_link=yes
27364 else
27365 echo "$as_me: failed program was:" >&5
27366 sed 's/^/| /' conftest.$ac_ext >&5
27368 glibcxx_cv_func___builtin_sin_link=no
27370 rm -f conftest.err conftest.$ac_objext \
27371 conftest$ac_exeext conftest.$ac_ext
27376 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
27377 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
27379 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
27381 cat >>confdefs.h <<\_ACEOF
27382 #define HAVE___BUILTIN_SIN 1
27383 _ACEOF
27390 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
27391 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
27392 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
27393 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
27394 echo $ECHO_N "(cached) $ECHO_C" >&6
27395 else
27399 ac_ext=cc
27400 ac_cpp='$CXXCPP $CPPFLAGS'
27401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27405 cat >conftest.$ac_ext <<_ACEOF
27406 /* confdefs.h. */
27407 _ACEOF
27408 cat confdefs.h >>conftest.$ac_ext
27409 cat >>conftest.$ac_ext <<_ACEOF
27410 /* end confdefs.h. */
27411 #include <math.h>
27413 main ()
27415 __builtin_sinl(0);
27417 return 0;
27419 _ACEOF
27420 rm -f conftest.$ac_objext
27421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27422 (eval $ac_compile) 2>conftest.er1
27423 ac_status=$?
27424 grep -v '^ *+' conftest.er1 >conftest.err
27425 rm -f conftest.er1
27426 cat conftest.err >&5
27427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27428 (exit $ac_status); } &&
27429 { ac_try='test -z "$ac_cxx_werror_flag"
27430 || test ! -s conftest.err'
27431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27432 (eval $ac_try) 2>&5
27433 ac_status=$?
27434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27435 (exit $ac_status); }; } &&
27436 { ac_try='test -s conftest.$ac_objext'
27437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27438 (eval $ac_try) 2>&5
27439 ac_status=$?
27440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27441 (exit $ac_status); }; }; then
27442 glibcxx_cv_func___builtin_sinl_use=yes
27443 else
27444 echo "$as_me: failed program was:" >&5
27445 sed 's/^/| /' conftest.$ac_ext >&5
27447 glibcxx_cv_func___builtin_sinl_use=no
27449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27450 ac_ext=c
27451 ac_cpp='$CPP $CPPFLAGS'
27452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27460 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
27461 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
27462 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
27463 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
27464 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
27465 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
27466 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
27467 echo $ECHO_N "(cached) $ECHO_C" >&6
27468 else
27470 if test x$gcc_no_link = xyes; then
27471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27473 { (exit 1); exit 1; }; }
27475 cat >conftest.$ac_ext <<_ACEOF
27476 /* confdefs.h. */
27477 _ACEOF
27478 cat confdefs.h >>conftest.$ac_ext
27479 cat >>conftest.$ac_ext <<_ACEOF
27480 /* end confdefs.h. */
27481 #include <math.h>
27483 main ()
27485 __builtin_sinl(0);
27487 return 0;
27489 _ACEOF
27490 rm -f conftest.$ac_objext conftest$ac_exeext
27491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27492 (eval $ac_link) 2>conftest.er1
27493 ac_status=$?
27494 grep -v '^ *+' conftest.er1 >conftest.err
27495 rm -f conftest.er1
27496 cat conftest.err >&5
27497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27498 (exit $ac_status); } &&
27499 { ac_try='test -z "$ac_c_werror_flag"
27500 || test ! -s conftest.err'
27501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27502 (eval $ac_try) 2>&5
27503 ac_status=$?
27504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27505 (exit $ac_status); }; } &&
27506 { ac_try='test -s conftest$ac_exeext'
27507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27508 (eval $ac_try) 2>&5
27509 ac_status=$?
27510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27511 (exit $ac_status); }; }; then
27512 glibcxx_cv_func___builtin_sinl_link=yes
27513 else
27514 echo "$as_me: failed program was:" >&5
27515 sed 's/^/| /' conftest.$ac_ext >&5
27517 glibcxx_cv_func___builtin_sinl_link=no
27519 rm -f conftest.err conftest.$ac_objext \
27520 conftest$ac_exeext conftest.$ac_ext
27525 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
27526 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
27528 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
27530 cat >>confdefs.h <<\_ACEOF
27531 #define HAVE___BUILTIN_SINL 1
27532 _ACEOF
27540 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
27541 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
27542 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
27543 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
27544 echo $ECHO_N "(cached) $ECHO_C" >&6
27545 else
27549 ac_ext=cc
27550 ac_cpp='$CXXCPP $CPPFLAGS'
27551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27555 cat >conftest.$ac_ext <<_ACEOF
27556 /* confdefs.h. */
27557 _ACEOF
27558 cat confdefs.h >>conftest.$ac_ext
27559 cat >>conftest.$ac_ext <<_ACEOF
27560 /* end confdefs.h. */
27561 #include <math.h>
27563 main ()
27565 __builtin_cosf(0);
27567 return 0;
27569 _ACEOF
27570 rm -f conftest.$ac_objext
27571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27572 (eval $ac_compile) 2>conftest.er1
27573 ac_status=$?
27574 grep -v '^ *+' conftest.er1 >conftest.err
27575 rm -f conftest.er1
27576 cat conftest.err >&5
27577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27578 (exit $ac_status); } &&
27579 { ac_try='test -z "$ac_cxx_werror_flag"
27580 || test ! -s conftest.err'
27581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27582 (eval $ac_try) 2>&5
27583 ac_status=$?
27584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27585 (exit $ac_status); }; } &&
27586 { ac_try='test -s conftest.$ac_objext'
27587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27588 (eval $ac_try) 2>&5
27589 ac_status=$?
27590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27591 (exit $ac_status); }; }; then
27592 glibcxx_cv_func___builtin_cosf_use=yes
27593 else
27594 echo "$as_me: failed program was:" >&5
27595 sed 's/^/| /' conftest.$ac_ext >&5
27597 glibcxx_cv_func___builtin_cosf_use=no
27599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27600 ac_ext=c
27601 ac_cpp='$CPP $CPPFLAGS'
27602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27610 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
27611 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
27612 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
27613 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
27614 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
27615 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
27616 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
27617 echo $ECHO_N "(cached) $ECHO_C" >&6
27618 else
27620 if test x$gcc_no_link = xyes; then
27621 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27623 { (exit 1); exit 1; }; }
27625 cat >conftest.$ac_ext <<_ACEOF
27626 /* confdefs.h. */
27627 _ACEOF
27628 cat confdefs.h >>conftest.$ac_ext
27629 cat >>conftest.$ac_ext <<_ACEOF
27630 /* end confdefs.h. */
27631 #include <math.h>
27633 main ()
27635 __builtin_cosf(0);
27637 return 0;
27639 _ACEOF
27640 rm -f conftest.$ac_objext conftest$ac_exeext
27641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27642 (eval $ac_link) 2>conftest.er1
27643 ac_status=$?
27644 grep -v '^ *+' conftest.er1 >conftest.err
27645 rm -f conftest.er1
27646 cat conftest.err >&5
27647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27648 (exit $ac_status); } &&
27649 { ac_try='test -z "$ac_c_werror_flag"
27650 || test ! -s conftest.err'
27651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27652 (eval $ac_try) 2>&5
27653 ac_status=$?
27654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27655 (exit $ac_status); }; } &&
27656 { ac_try='test -s conftest$ac_exeext'
27657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27658 (eval $ac_try) 2>&5
27659 ac_status=$?
27660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27661 (exit $ac_status); }; }; then
27662 glibcxx_cv_func___builtin_cosf_link=yes
27663 else
27664 echo "$as_me: failed program was:" >&5
27665 sed 's/^/| /' conftest.$ac_ext >&5
27667 glibcxx_cv_func___builtin_cosf_link=no
27669 rm -f conftest.err conftest.$ac_objext \
27670 conftest$ac_exeext conftest.$ac_ext
27675 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
27676 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
27678 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
27680 cat >>confdefs.h <<\_ACEOF
27681 #define HAVE___BUILTIN_COSF 1
27682 _ACEOF
27689 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
27690 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
27691 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
27692 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
27693 echo $ECHO_N "(cached) $ECHO_C" >&6
27694 else
27698 ac_ext=cc
27699 ac_cpp='$CXXCPP $CPPFLAGS'
27700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27704 cat >conftest.$ac_ext <<_ACEOF
27705 /* confdefs.h. */
27706 _ACEOF
27707 cat confdefs.h >>conftest.$ac_ext
27708 cat >>conftest.$ac_ext <<_ACEOF
27709 /* end confdefs.h. */
27710 #include <math.h>
27712 main ()
27714 __builtin_cos(0);
27716 return 0;
27718 _ACEOF
27719 rm -f conftest.$ac_objext
27720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27721 (eval $ac_compile) 2>conftest.er1
27722 ac_status=$?
27723 grep -v '^ *+' conftest.er1 >conftest.err
27724 rm -f conftest.er1
27725 cat conftest.err >&5
27726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27727 (exit $ac_status); } &&
27728 { ac_try='test -z "$ac_cxx_werror_flag"
27729 || test ! -s conftest.err'
27730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27731 (eval $ac_try) 2>&5
27732 ac_status=$?
27733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27734 (exit $ac_status); }; } &&
27735 { ac_try='test -s conftest.$ac_objext'
27736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27737 (eval $ac_try) 2>&5
27738 ac_status=$?
27739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27740 (exit $ac_status); }; }; then
27741 glibcxx_cv_func___builtin_cos_use=yes
27742 else
27743 echo "$as_me: failed program was:" >&5
27744 sed 's/^/| /' conftest.$ac_ext >&5
27746 glibcxx_cv_func___builtin_cos_use=no
27748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27749 ac_ext=c
27750 ac_cpp='$CPP $CPPFLAGS'
27751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27759 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
27760 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
27761 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
27762 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
27763 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
27764 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27765 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27766 echo $ECHO_N "(cached) $ECHO_C" >&6
27767 else
27769 if test x$gcc_no_link = xyes; then
27770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27772 { (exit 1); exit 1; }; }
27774 cat >conftest.$ac_ext <<_ACEOF
27775 /* confdefs.h. */
27776 _ACEOF
27777 cat confdefs.h >>conftest.$ac_ext
27778 cat >>conftest.$ac_ext <<_ACEOF
27779 /* end confdefs.h. */
27780 #include <math.h>
27782 main ()
27784 __builtin_cos(0);
27786 return 0;
27788 _ACEOF
27789 rm -f conftest.$ac_objext conftest$ac_exeext
27790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27791 (eval $ac_link) 2>conftest.er1
27792 ac_status=$?
27793 grep -v '^ *+' conftest.er1 >conftest.err
27794 rm -f conftest.er1
27795 cat conftest.err >&5
27796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27797 (exit $ac_status); } &&
27798 { ac_try='test -z "$ac_c_werror_flag"
27799 || test ! -s conftest.err'
27800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27801 (eval $ac_try) 2>&5
27802 ac_status=$?
27803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27804 (exit $ac_status); }; } &&
27805 { ac_try='test -s conftest$ac_exeext'
27806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27807 (eval $ac_try) 2>&5
27808 ac_status=$?
27809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27810 (exit $ac_status); }; }; then
27811 glibcxx_cv_func___builtin_cos_link=yes
27812 else
27813 echo "$as_me: failed program was:" >&5
27814 sed 's/^/| /' conftest.$ac_ext >&5
27816 glibcxx_cv_func___builtin_cos_link=no
27818 rm -f conftest.err conftest.$ac_objext \
27819 conftest$ac_exeext conftest.$ac_ext
27824 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27825 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27827 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27829 cat >>confdefs.h <<\_ACEOF
27830 #define HAVE___BUILTIN_COS 1
27831 _ACEOF
27838 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27839 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27840 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27841 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27842 echo $ECHO_N "(cached) $ECHO_C" >&6
27843 else
27847 ac_ext=cc
27848 ac_cpp='$CXXCPP $CPPFLAGS'
27849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27853 cat >conftest.$ac_ext <<_ACEOF
27854 /* confdefs.h. */
27855 _ACEOF
27856 cat confdefs.h >>conftest.$ac_ext
27857 cat >>conftest.$ac_ext <<_ACEOF
27858 /* end confdefs.h. */
27859 #include <math.h>
27861 main ()
27863 __builtin_cosl(0);
27865 return 0;
27867 _ACEOF
27868 rm -f conftest.$ac_objext
27869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27870 (eval $ac_compile) 2>conftest.er1
27871 ac_status=$?
27872 grep -v '^ *+' conftest.er1 >conftest.err
27873 rm -f conftest.er1
27874 cat conftest.err >&5
27875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27876 (exit $ac_status); } &&
27877 { ac_try='test -z "$ac_cxx_werror_flag"
27878 || test ! -s conftest.err'
27879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27880 (eval $ac_try) 2>&5
27881 ac_status=$?
27882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27883 (exit $ac_status); }; } &&
27884 { ac_try='test -s conftest.$ac_objext'
27885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27886 (eval $ac_try) 2>&5
27887 ac_status=$?
27888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27889 (exit $ac_status); }; }; then
27890 glibcxx_cv_func___builtin_cosl_use=yes
27891 else
27892 echo "$as_me: failed program was:" >&5
27893 sed 's/^/| /' conftest.$ac_ext >&5
27895 glibcxx_cv_func___builtin_cosl_use=no
27897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27898 ac_ext=c
27899 ac_cpp='$CPP $CPPFLAGS'
27900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27908 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27909 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27910 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27911 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27912 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27913 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27914 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27915 echo $ECHO_N "(cached) $ECHO_C" >&6
27916 else
27918 if test x$gcc_no_link = xyes; then
27919 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27921 { (exit 1); exit 1; }; }
27923 cat >conftest.$ac_ext <<_ACEOF
27924 /* confdefs.h. */
27925 _ACEOF
27926 cat confdefs.h >>conftest.$ac_ext
27927 cat >>conftest.$ac_ext <<_ACEOF
27928 /* end confdefs.h. */
27929 #include <math.h>
27931 main ()
27933 __builtin_cosl(0);
27935 return 0;
27937 _ACEOF
27938 rm -f conftest.$ac_objext conftest$ac_exeext
27939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27940 (eval $ac_link) 2>conftest.er1
27941 ac_status=$?
27942 grep -v '^ *+' conftest.er1 >conftest.err
27943 rm -f conftest.er1
27944 cat conftest.err >&5
27945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27946 (exit $ac_status); } &&
27947 { ac_try='test -z "$ac_c_werror_flag"
27948 || test ! -s conftest.err'
27949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27950 (eval $ac_try) 2>&5
27951 ac_status=$?
27952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27953 (exit $ac_status); }; } &&
27954 { ac_try='test -s conftest$ac_exeext'
27955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27956 (eval $ac_try) 2>&5
27957 ac_status=$?
27958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27959 (exit $ac_status); }; }; then
27960 glibcxx_cv_func___builtin_cosl_link=yes
27961 else
27962 echo "$as_me: failed program was:" >&5
27963 sed 's/^/| /' conftest.$ac_ext >&5
27965 glibcxx_cv_func___builtin_cosl_link=no
27967 rm -f conftest.err conftest.$ac_objext \
27968 conftest$ac_exeext conftest.$ac_ext
27973 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27974 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27976 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27978 cat >>confdefs.h <<\_ACEOF
27979 #define HAVE___BUILTIN_COSL 1
27980 _ACEOF
27989 echo "$as_me:$LINENO: checking for main in -lm" >&5
27990 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27991 if test "${ac_cv_lib_m_main+set}" = set; then
27992 echo $ECHO_N "(cached) $ECHO_C" >&6
27993 else
27994 ac_check_lib_save_LIBS=$LIBS
27995 LIBS="-lm $LIBS"
27996 if test x$gcc_no_link = xyes; then
27997 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27999 { (exit 1); exit 1; }; }
28001 cat >conftest.$ac_ext <<_ACEOF
28002 /* confdefs.h. */
28003 _ACEOF
28004 cat confdefs.h >>conftest.$ac_ext
28005 cat >>conftest.$ac_ext <<_ACEOF
28006 /* end confdefs.h. */
28010 main ()
28012 main ();
28014 return 0;
28016 _ACEOF
28017 rm -f conftest.$ac_objext conftest$ac_exeext
28018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28019 (eval $ac_link) 2>conftest.er1
28020 ac_status=$?
28021 grep -v '^ *+' conftest.er1 >conftest.err
28022 rm -f conftest.er1
28023 cat conftest.err >&5
28024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28025 (exit $ac_status); } &&
28026 { ac_try='test -z "$ac_c_werror_flag"
28027 || test ! -s conftest.err'
28028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28029 (eval $ac_try) 2>&5
28030 ac_status=$?
28031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28032 (exit $ac_status); }; } &&
28033 { ac_try='test -s conftest$ac_exeext'
28034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28035 (eval $ac_try) 2>&5
28036 ac_status=$?
28037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28038 (exit $ac_status); }; }; then
28039 ac_cv_lib_m_main=yes
28040 else
28041 echo "$as_me: failed program was:" >&5
28042 sed 's/^/| /' conftest.$ac_ext >&5
28044 ac_cv_lib_m_main=no
28046 rm -f conftest.err conftest.$ac_objext \
28047 conftest$ac_exeext conftest.$ac_ext
28048 LIBS=$ac_check_lib_save_LIBS
28050 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
28051 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
28052 if test $ac_cv_lib_m_main = yes; then
28053 cat >>confdefs.h <<_ACEOF
28054 #define HAVE_LIBM 1
28055 _ACEOF
28057 LIBS="-lm $LIBS"
28062 for ac_func in copysignf
28064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28065 echo "$as_me:$LINENO: checking for $ac_func" >&5
28066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28067 if eval "test \"\${$as_ac_var+set}\" = set"; then
28068 echo $ECHO_N "(cached) $ECHO_C" >&6
28069 else
28070 if test x$gcc_no_link = xyes; then
28071 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28073 { (exit 1); exit 1; }; }
28075 cat >conftest.$ac_ext <<_ACEOF
28076 /* confdefs.h. */
28077 _ACEOF
28078 cat confdefs.h >>conftest.$ac_ext
28079 cat >>conftest.$ac_ext <<_ACEOF
28080 /* end confdefs.h. */
28081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28083 #define $ac_func innocuous_$ac_func
28085 /* System header to define __stub macros and hopefully few prototypes,
28086 which can conflict with char $ac_func (); below.
28087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28088 <limits.h> exists even on freestanding compilers. */
28090 #ifdef __STDC__
28091 # include <limits.h>
28092 #else
28093 # include <assert.h>
28094 #endif
28096 #undef $ac_func
28098 /* Override any gcc2 internal prototype to avoid an error. */
28099 #ifdef __cplusplus
28100 extern "C"
28102 #endif
28103 /* We use char because int might match the return type of a gcc2
28104 builtin and then its argument prototype would still apply. */
28105 char $ac_func ();
28106 /* The GNU C library defines this for functions which it implements
28107 to always fail with ENOSYS. Some functions are actually named
28108 something starting with __ and the normal name is an alias. */
28109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28110 choke me
28111 #else
28112 char (*f) () = $ac_func;
28113 #endif
28114 #ifdef __cplusplus
28116 #endif
28119 main ()
28121 return f != $ac_func;
28123 return 0;
28125 _ACEOF
28126 rm -f conftest.$ac_objext conftest$ac_exeext
28127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28128 (eval $ac_link) 2>conftest.er1
28129 ac_status=$?
28130 grep -v '^ *+' conftest.er1 >conftest.err
28131 rm -f conftest.er1
28132 cat conftest.err >&5
28133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28134 (exit $ac_status); } &&
28135 { ac_try='test -z "$ac_c_werror_flag"
28136 || test ! -s conftest.err'
28137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28138 (eval $ac_try) 2>&5
28139 ac_status=$?
28140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28141 (exit $ac_status); }; } &&
28142 { ac_try='test -s conftest$ac_exeext'
28143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28144 (eval $ac_try) 2>&5
28145 ac_status=$?
28146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28147 (exit $ac_status); }; }; then
28148 eval "$as_ac_var=yes"
28149 else
28150 echo "$as_me: failed program was:" >&5
28151 sed 's/^/| /' conftest.$ac_ext >&5
28153 eval "$as_ac_var=no"
28155 rm -f conftest.err conftest.$ac_objext \
28156 conftest$ac_exeext conftest.$ac_ext
28158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28160 if test `eval echo '${'$as_ac_var'}'` = yes; then
28161 cat >>confdefs.h <<_ACEOF
28162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28163 _ACEOF
28165 else
28166 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
28168 done
28172 for ac_func in __signbit
28174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28175 echo "$as_me:$LINENO: checking for $ac_func" >&5
28176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28177 if eval "test \"\${$as_ac_var+set}\" = set"; then
28178 echo $ECHO_N "(cached) $ECHO_C" >&6
28179 else
28180 if test x$gcc_no_link = xyes; then
28181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28183 { (exit 1); exit 1; }; }
28185 cat >conftest.$ac_ext <<_ACEOF
28186 /* confdefs.h. */
28187 _ACEOF
28188 cat confdefs.h >>conftest.$ac_ext
28189 cat >>conftest.$ac_ext <<_ACEOF
28190 /* end confdefs.h. */
28191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28193 #define $ac_func innocuous_$ac_func
28195 /* System header to define __stub macros and hopefully few prototypes,
28196 which can conflict with char $ac_func (); below.
28197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28198 <limits.h> exists even on freestanding compilers. */
28200 #ifdef __STDC__
28201 # include <limits.h>
28202 #else
28203 # include <assert.h>
28204 #endif
28206 #undef $ac_func
28208 /* Override any gcc2 internal prototype to avoid an error. */
28209 #ifdef __cplusplus
28210 extern "C"
28212 #endif
28213 /* We use char because int might match the return type of a gcc2
28214 builtin and then its argument prototype would still apply. */
28215 char $ac_func ();
28216 /* The GNU C library defines this for functions which it implements
28217 to always fail with ENOSYS. Some functions are actually named
28218 something starting with __ and the normal name is an alias. */
28219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28220 choke me
28221 #else
28222 char (*f) () = $ac_func;
28223 #endif
28224 #ifdef __cplusplus
28226 #endif
28229 main ()
28231 return f != $ac_func;
28233 return 0;
28235 _ACEOF
28236 rm -f conftest.$ac_objext conftest$ac_exeext
28237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28238 (eval $ac_link) 2>conftest.er1
28239 ac_status=$?
28240 grep -v '^ *+' conftest.er1 >conftest.err
28241 rm -f conftest.er1
28242 cat conftest.err >&5
28243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28244 (exit $ac_status); } &&
28245 { ac_try='test -z "$ac_c_werror_flag"
28246 || test ! -s conftest.err'
28247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28248 (eval $ac_try) 2>&5
28249 ac_status=$?
28250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28251 (exit $ac_status); }; } &&
28252 { ac_try='test -s conftest$ac_exeext'
28253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28254 (eval $ac_try) 2>&5
28255 ac_status=$?
28256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28257 (exit $ac_status); }; }; then
28258 eval "$as_ac_var=yes"
28259 else
28260 echo "$as_me: failed program was:" >&5
28261 sed 's/^/| /' conftest.$ac_ext >&5
28263 eval "$as_ac_var=no"
28265 rm -f conftest.err conftest.$ac_objext \
28266 conftest$ac_exeext conftest.$ac_ext
28268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28270 if test `eval echo '${'$as_ac_var'}'` = yes; then
28271 cat >>confdefs.h <<_ACEOF
28272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28273 _ACEOF
28275 else
28276 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
28278 done
28282 for ac_func in __signbitf
28284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28285 echo "$as_me:$LINENO: checking for $ac_func" >&5
28286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28287 if eval "test \"\${$as_ac_var+set}\" = set"; then
28288 echo $ECHO_N "(cached) $ECHO_C" >&6
28289 else
28290 if test x$gcc_no_link = xyes; then
28291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28293 { (exit 1); exit 1; }; }
28295 cat >conftest.$ac_ext <<_ACEOF
28296 /* confdefs.h. */
28297 _ACEOF
28298 cat confdefs.h >>conftest.$ac_ext
28299 cat >>conftest.$ac_ext <<_ACEOF
28300 /* end confdefs.h. */
28301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28303 #define $ac_func innocuous_$ac_func
28305 /* System header to define __stub macros and hopefully few prototypes,
28306 which can conflict with char $ac_func (); below.
28307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28308 <limits.h> exists even on freestanding compilers. */
28310 #ifdef __STDC__
28311 # include <limits.h>
28312 #else
28313 # include <assert.h>
28314 #endif
28316 #undef $ac_func
28318 /* Override any gcc2 internal prototype to avoid an error. */
28319 #ifdef __cplusplus
28320 extern "C"
28322 #endif
28323 /* We use char because int might match the return type of a gcc2
28324 builtin and then its argument prototype would still apply. */
28325 char $ac_func ();
28326 /* The GNU C library defines this for functions which it implements
28327 to always fail with ENOSYS. Some functions are actually named
28328 something starting with __ and the normal name is an alias. */
28329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28330 choke me
28331 #else
28332 char (*f) () = $ac_func;
28333 #endif
28334 #ifdef __cplusplus
28336 #endif
28339 main ()
28341 return f != $ac_func;
28343 return 0;
28345 _ACEOF
28346 rm -f conftest.$ac_objext conftest$ac_exeext
28347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28348 (eval $ac_link) 2>conftest.er1
28349 ac_status=$?
28350 grep -v '^ *+' conftest.er1 >conftest.err
28351 rm -f conftest.er1
28352 cat conftest.err >&5
28353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28354 (exit $ac_status); } &&
28355 { ac_try='test -z "$ac_c_werror_flag"
28356 || test ! -s conftest.err'
28357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28358 (eval $ac_try) 2>&5
28359 ac_status=$?
28360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28361 (exit $ac_status); }; } &&
28362 { ac_try='test -s conftest$ac_exeext'
28363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28364 (eval $ac_try) 2>&5
28365 ac_status=$?
28366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28367 (exit $ac_status); }; }; then
28368 eval "$as_ac_var=yes"
28369 else
28370 echo "$as_me: failed program was:" >&5
28371 sed 's/^/| /' conftest.$ac_ext >&5
28373 eval "$as_ac_var=no"
28375 rm -f conftest.err conftest.$ac_objext \
28376 conftest$ac_exeext conftest.$ac_ext
28378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28380 if test `eval echo '${'$as_ac_var'}'` = yes; then
28381 cat >>confdefs.h <<_ACEOF
28382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28383 _ACEOF
28385 else
28386 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
28388 done
28391 if test x$ac_cv_func_copysignl = x"yes"; then
28393 for ac_func in __signbitl
28395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28396 echo "$as_me:$LINENO: checking for $ac_func" >&5
28397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28398 if eval "test \"\${$as_ac_var+set}\" = set"; then
28399 echo $ECHO_N "(cached) $ECHO_C" >&6
28400 else
28401 if test x$gcc_no_link = xyes; then
28402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28404 { (exit 1); exit 1; }; }
28406 cat >conftest.$ac_ext <<_ACEOF
28407 /* confdefs.h. */
28408 _ACEOF
28409 cat confdefs.h >>conftest.$ac_ext
28410 cat >>conftest.$ac_ext <<_ACEOF
28411 /* end confdefs.h. */
28412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28414 #define $ac_func innocuous_$ac_func
28416 /* System header to define __stub macros and hopefully few prototypes,
28417 which can conflict with char $ac_func (); below.
28418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28419 <limits.h> exists even on freestanding compilers. */
28421 #ifdef __STDC__
28422 # include <limits.h>
28423 #else
28424 # include <assert.h>
28425 #endif
28427 #undef $ac_func
28429 /* Override any gcc2 internal prototype to avoid an error. */
28430 #ifdef __cplusplus
28431 extern "C"
28433 #endif
28434 /* We use char because int might match the return type of a gcc2
28435 builtin and then its argument prototype would still apply. */
28436 char $ac_func ();
28437 /* The GNU C library defines this for functions which it implements
28438 to always fail with ENOSYS. Some functions are actually named
28439 something starting with __ and the normal name is an alias. */
28440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28441 choke me
28442 #else
28443 char (*f) () = $ac_func;
28444 #endif
28445 #ifdef __cplusplus
28447 #endif
28450 main ()
28452 return f != $ac_func;
28454 return 0;
28456 _ACEOF
28457 rm -f conftest.$ac_objext conftest$ac_exeext
28458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28459 (eval $ac_link) 2>conftest.er1
28460 ac_status=$?
28461 grep -v '^ *+' conftest.er1 >conftest.err
28462 rm -f conftest.er1
28463 cat conftest.err >&5
28464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28465 (exit $ac_status); } &&
28466 { ac_try='test -z "$ac_c_werror_flag"
28467 || test ! -s conftest.err'
28468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28469 (eval $ac_try) 2>&5
28470 ac_status=$?
28471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28472 (exit $ac_status); }; } &&
28473 { ac_try='test -s conftest$ac_exeext'
28474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28475 (eval $ac_try) 2>&5
28476 ac_status=$?
28477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28478 (exit $ac_status); }; }; then
28479 eval "$as_ac_var=yes"
28480 else
28481 echo "$as_me: failed program was:" >&5
28482 sed 's/^/| /' conftest.$ac_ext >&5
28484 eval "$as_ac_var=no"
28486 rm -f conftest.err conftest.$ac_objext \
28487 conftest$ac_exeext conftest.$ac_ext
28489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28491 if test `eval echo '${'$as_ac_var'}'` = yes; then
28492 cat >>confdefs.h <<_ACEOF
28493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28494 _ACEOF
28496 else
28497 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
28499 done
28503 # Used in libmath/Makefile.am.
28504 if test -n "$LIBMATHOBJS"; then
28505 need_libmath=yes
28510 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28511 ac_save_CXXFLAGS="$CXXFLAGS"
28512 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28515 echo "$as_me:$LINENO: checking for strtold declaration" >&5
28516 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
28517 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28518 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
28519 echo $ECHO_N "(cached) $ECHO_C" >&6
28520 else
28524 ac_ext=cc
28525 ac_cpp='$CXXCPP $CPPFLAGS'
28526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28530 cat >conftest.$ac_ext <<_ACEOF
28531 /* confdefs.h. */
28532 _ACEOF
28533 cat confdefs.h >>conftest.$ac_ext
28534 cat >>conftest.$ac_ext <<_ACEOF
28535 /* end confdefs.h. */
28536 #include <stdlib.h>
28538 main ()
28540 strtold(0, 0);
28542 return 0;
28544 _ACEOF
28545 rm -f conftest.$ac_objext
28546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28547 (eval $ac_compile) 2>conftest.er1
28548 ac_status=$?
28549 grep -v '^ *+' conftest.er1 >conftest.err
28550 rm -f conftest.er1
28551 cat conftest.err >&5
28552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28553 (exit $ac_status); } &&
28554 { ac_try='test -z "$ac_cxx_werror_flag"
28555 || test ! -s conftest.err'
28556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28557 (eval $ac_try) 2>&5
28558 ac_status=$?
28559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28560 (exit $ac_status); }; } &&
28561 { ac_try='test -s conftest.$ac_objext'
28562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28563 (eval $ac_try) 2>&5
28564 ac_status=$?
28565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28566 (exit $ac_status); }; }; then
28567 glibcxx_cv_func_strtold_use=yes
28568 else
28569 echo "$as_me: failed program was:" >&5
28570 sed 's/^/| /' conftest.$ac_ext >&5
28572 glibcxx_cv_func_strtold_use=no
28574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28575 ac_ext=c
28576 ac_cpp='$CPP $CPPFLAGS'
28577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28585 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
28586 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
28587 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28589 for ac_func in strtold
28591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28592 echo "$as_me:$LINENO: checking for $ac_func" >&5
28593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28594 if eval "test \"\${$as_ac_var+set}\" = set"; then
28595 echo $ECHO_N "(cached) $ECHO_C" >&6
28596 else
28597 if test x$gcc_no_link = xyes; then
28598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28600 { (exit 1); exit 1; }; }
28602 cat >conftest.$ac_ext <<_ACEOF
28603 /* confdefs.h. */
28604 _ACEOF
28605 cat confdefs.h >>conftest.$ac_ext
28606 cat >>conftest.$ac_ext <<_ACEOF
28607 /* end confdefs.h. */
28608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28610 #define $ac_func innocuous_$ac_func
28612 /* System header to define __stub macros and hopefully few prototypes,
28613 which can conflict with char $ac_func (); below.
28614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28615 <limits.h> exists even on freestanding compilers. */
28617 #ifdef __STDC__
28618 # include <limits.h>
28619 #else
28620 # include <assert.h>
28621 #endif
28623 #undef $ac_func
28625 /* Override any gcc2 internal prototype to avoid an error. */
28626 #ifdef __cplusplus
28627 extern "C"
28629 #endif
28630 /* We use char because int might match the return type of a gcc2
28631 builtin and then its argument prototype would still apply. */
28632 char $ac_func ();
28633 /* The GNU C library defines this for functions which it implements
28634 to always fail with ENOSYS. Some functions are actually named
28635 something starting with __ and the normal name is an alias. */
28636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28637 choke me
28638 #else
28639 char (*f) () = $ac_func;
28640 #endif
28641 #ifdef __cplusplus
28643 #endif
28646 main ()
28648 return f != $ac_func;
28650 return 0;
28652 _ACEOF
28653 rm -f conftest.$ac_objext conftest$ac_exeext
28654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28655 (eval $ac_link) 2>conftest.er1
28656 ac_status=$?
28657 grep -v '^ *+' conftest.er1 >conftest.err
28658 rm -f conftest.er1
28659 cat conftest.err >&5
28660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28661 (exit $ac_status); } &&
28662 { ac_try='test -z "$ac_c_werror_flag"
28663 || test ! -s conftest.err'
28664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28665 (eval $ac_try) 2>&5
28666 ac_status=$?
28667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28668 (exit $ac_status); }; } &&
28669 { ac_try='test -s conftest$ac_exeext'
28670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28671 (eval $ac_try) 2>&5
28672 ac_status=$?
28673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28674 (exit $ac_status); }; }; then
28675 eval "$as_ac_var=yes"
28676 else
28677 echo "$as_me: failed program was:" >&5
28678 sed 's/^/| /' conftest.$ac_ext >&5
28680 eval "$as_ac_var=no"
28682 rm -f conftest.err conftest.$ac_objext \
28683 conftest$ac_exeext conftest.$ac_ext
28685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28687 if test `eval echo '${'$as_ac_var'}'` = yes; then
28688 cat >>confdefs.h <<_ACEOF
28689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28690 _ACEOF
28693 done
28701 echo "$as_me:$LINENO: checking for strtof declaration" >&5
28702 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
28703 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28704 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
28705 echo $ECHO_N "(cached) $ECHO_C" >&6
28706 else
28710 ac_ext=cc
28711 ac_cpp='$CXXCPP $CPPFLAGS'
28712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28716 cat >conftest.$ac_ext <<_ACEOF
28717 /* confdefs.h. */
28718 _ACEOF
28719 cat confdefs.h >>conftest.$ac_ext
28720 cat >>conftest.$ac_ext <<_ACEOF
28721 /* end confdefs.h. */
28722 #include <stdlib.h>
28724 main ()
28726 strtof(0, 0);
28728 return 0;
28730 _ACEOF
28731 rm -f conftest.$ac_objext
28732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28733 (eval $ac_compile) 2>conftest.er1
28734 ac_status=$?
28735 grep -v '^ *+' conftest.er1 >conftest.err
28736 rm -f conftest.er1
28737 cat conftest.err >&5
28738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28739 (exit $ac_status); } &&
28740 { ac_try='test -z "$ac_cxx_werror_flag"
28741 || test ! -s conftest.err'
28742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28743 (eval $ac_try) 2>&5
28744 ac_status=$?
28745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28746 (exit $ac_status); }; } &&
28747 { ac_try='test -s conftest.$ac_objext'
28748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28749 (eval $ac_try) 2>&5
28750 ac_status=$?
28751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28752 (exit $ac_status); }; }; then
28753 glibcxx_cv_func_strtof_use=yes
28754 else
28755 echo "$as_me: failed program was:" >&5
28756 sed 's/^/| /' conftest.$ac_ext >&5
28758 glibcxx_cv_func_strtof_use=no
28760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28761 ac_ext=c
28762 ac_cpp='$CPP $CPPFLAGS'
28763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28771 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
28772 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
28773 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28775 for ac_func in strtof
28777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28778 echo "$as_me:$LINENO: checking for $ac_func" >&5
28779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28780 if eval "test \"\${$as_ac_var+set}\" = set"; then
28781 echo $ECHO_N "(cached) $ECHO_C" >&6
28782 else
28783 if test x$gcc_no_link = xyes; then
28784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28786 { (exit 1); exit 1; }; }
28788 cat >conftest.$ac_ext <<_ACEOF
28789 /* confdefs.h. */
28790 _ACEOF
28791 cat confdefs.h >>conftest.$ac_ext
28792 cat >>conftest.$ac_ext <<_ACEOF
28793 /* end confdefs.h. */
28794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28796 #define $ac_func innocuous_$ac_func
28798 /* System header to define __stub macros and hopefully few prototypes,
28799 which can conflict with char $ac_func (); below.
28800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28801 <limits.h> exists even on freestanding compilers. */
28803 #ifdef __STDC__
28804 # include <limits.h>
28805 #else
28806 # include <assert.h>
28807 #endif
28809 #undef $ac_func
28811 /* Override any gcc2 internal prototype to avoid an error. */
28812 #ifdef __cplusplus
28813 extern "C"
28815 #endif
28816 /* We use char because int might match the return type of a gcc2
28817 builtin and then its argument prototype would still apply. */
28818 char $ac_func ();
28819 /* The GNU C library defines this for functions which it implements
28820 to always fail with ENOSYS. Some functions are actually named
28821 something starting with __ and the normal name is an alias. */
28822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28823 choke me
28824 #else
28825 char (*f) () = $ac_func;
28826 #endif
28827 #ifdef __cplusplus
28829 #endif
28832 main ()
28834 return f != $ac_func;
28836 return 0;
28838 _ACEOF
28839 rm -f conftest.$ac_objext conftest$ac_exeext
28840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28841 (eval $ac_link) 2>conftest.er1
28842 ac_status=$?
28843 grep -v '^ *+' conftest.er1 >conftest.err
28844 rm -f conftest.er1
28845 cat conftest.err >&5
28846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28847 (exit $ac_status); } &&
28848 { ac_try='test -z "$ac_c_werror_flag"
28849 || test ! -s conftest.err'
28850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28851 (eval $ac_try) 2>&5
28852 ac_status=$?
28853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28854 (exit $ac_status); }; } &&
28855 { ac_try='test -s conftest$ac_exeext'
28856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28857 (eval $ac_try) 2>&5
28858 ac_status=$?
28859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28860 (exit $ac_status); }; }; then
28861 eval "$as_ac_var=yes"
28862 else
28863 echo "$as_me: failed program was:" >&5
28864 sed 's/^/| /' conftest.$ac_ext >&5
28866 eval "$as_ac_var=no"
28868 rm -f conftest.err conftest.$ac_objext \
28869 conftest$ac_exeext conftest.$ac_ext
28871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28873 if test `eval echo '${'$as_ac_var'}'` = yes; then
28874 cat >>confdefs.h <<_ACEOF
28875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28876 _ACEOF
28879 done
28887 CXXFLAGS="$ac_save_CXXFLAGS"
28890 # For showmanyc_helper().
28893 for ac_header in sys/ioctl.h sys/filio.h
28895 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28897 echo "$as_me:$LINENO: checking for $ac_header" >&5
28898 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28899 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28900 echo $ECHO_N "(cached) $ECHO_C" >&6
28902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28903 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28904 else
28905 # Is the header compilable?
28906 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28907 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28908 cat >conftest.$ac_ext <<_ACEOF
28909 /* confdefs.h. */
28910 _ACEOF
28911 cat confdefs.h >>conftest.$ac_ext
28912 cat >>conftest.$ac_ext <<_ACEOF
28913 /* end confdefs.h. */
28914 $ac_includes_default
28915 #include <$ac_header>
28916 _ACEOF
28917 rm -f conftest.$ac_objext
28918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28919 (eval $ac_compile) 2>conftest.er1
28920 ac_status=$?
28921 grep -v '^ *+' conftest.er1 >conftest.err
28922 rm -f conftest.er1
28923 cat conftest.err >&5
28924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28925 (exit $ac_status); } &&
28926 { ac_try='test -z "$ac_c_werror_flag"
28927 || test ! -s conftest.err'
28928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28929 (eval $ac_try) 2>&5
28930 ac_status=$?
28931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28932 (exit $ac_status); }; } &&
28933 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
28939 ac_header_compiler=yes
28940 else
28941 echo "$as_me: failed program was:" >&5
28942 sed 's/^/| /' conftest.$ac_ext >&5
28944 ac_header_compiler=no
28946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28947 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28948 echo "${ECHO_T}$ac_header_compiler" >&6
28950 # Is the header present?
28951 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28952 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28953 cat >conftest.$ac_ext <<_ACEOF
28954 /* confdefs.h. */
28955 _ACEOF
28956 cat confdefs.h >>conftest.$ac_ext
28957 cat >>conftest.$ac_ext <<_ACEOF
28958 /* end confdefs.h. */
28959 #include <$ac_header>
28960 _ACEOF
28961 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28962 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28963 ac_status=$?
28964 grep -v '^ *+' conftest.er1 >conftest.err
28965 rm -f conftest.er1
28966 cat conftest.err >&5
28967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28968 (exit $ac_status); } >/dev/null; then
28969 if test -s conftest.err; then
28970 ac_cpp_err=$ac_c_preproc_warn_flag
28971 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28972 else
28973 ac_cpp_err=
28975 else
28976 ac_cpp_err=yes
28978 if test -z "$ac_cpp_err"; then
28979 ac_header_preproc=yes
28980 else
28981 echo "$as_me: failed program was:" >&5
28982 sed 's/^/| /' conftest.$ac_ext >&5
28984 ac_header_preproc=no
28986 rm -f conftest.err conftest.$ac_ext
28987 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28988 echo "${ECHO_T}$ac_header_preproc" >&6
28990 # So? What about this header?
28991 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28992 yes:no: )
28993 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28994 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28995 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28996 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28997 ac_header_preproc=yes
28999 no:yes:* )
29000 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29001 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29002 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29003 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29004 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29005 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29006 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29007 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29008 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29009 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29010 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29011 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29013 cat <<\_ASBOX
29014 ## ----------------------------------------- ##
29015 ## Report this to the package-unused lists. ##
29016 ## ----------------------------------------- ##
29017 _ASBOX
29019 sed "s/^/$as_me: WARNING: /" >&2
29021 esac
29022 echo "$as_me:$LINENO: checking for $ac_header" >&5
29023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29025 echo $ECHO_N "(cached) $ECHO_C" >&6
29026 else
29027 eval "$as_ac_Header=\$ac_header_preproc"
29029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29030 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29033 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29034 cat >>confdefs.h <<_ACEOF
29035 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29036 _ACEOF
29040 done
29043 echo "$as_me:$LINENO: checking for poll" >&5
29044 echo $ECHO_N "checking for poll... $ECHO_C" >&6
29045 if test "${glibcxx_cv_POLL+set}" = set; then
29046 echo $ECHO_N "(cached) $ECHO_C" >&6
29047 else
29049 if test x$gcc_no_link = xyes; then
29050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29052 { (exit 1); exit 1; }; }
29054 cat >conftest.$ac_ext <<_ACEOF
29055 /* confdefs.h. */
29056 _ACEOF
29057 cat confdefs.h >>conftest.$ac_ext
29058 cat >>conftest.$ac_ext <<_ACEOF
29059 /* end confdefs.h. */
29060 #include <poll.h>
29062 main ()
29064 struct pollfd pfd[1];
29065 pfd[0].events = POLLIN;
29066 poll(pfd, 1, 0);
29068 return 0;
29070 _ACEOF
29071 rm -f conftest.$ac_objext conftest$ac_exeext
29072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29073 (eval $ac_link) 2>conftest.er1
29074 ac_status=$?
29075 grep -v '^ *+' conftest.er1 >conftest.err
29076 rm -f conftest.er1
29077 cat conftest.err >&5
29078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29079 (exit $ac_status); } &&
29080 { ac_try='test -z "$ac_c_werror_flag"
29081 || test ! -s conftest.err'
29082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29083 (eval $ac_try) 2>&5
29084 ac_status=$?
29085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29086 (exit $ac_status); }; } &&
29087 { ac_try='test -s conftest$ac_exeext'
29088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29089 (eval $ac_try) 2>&5
29090 ac_status=$?
29091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29092 (exit $ac_status); }; }; then
29093 glibcxx_cv_POLL=yes
29094 else
29095 echo "$as_me: failed program was:" >&5
29096 sed 's/^/| /' conftest.$ac_ext >&5
29098 glibcxx_cv_POLL=no
29100 rm -f conftest.err conftest.$ac_objext \
29101 conftest$ac_exeext conftest.$ac_ext
29105 if test $glibcxx_cv_POLL = yes; then
29107 cat >>confdefs.h <<\_ACEOF
29108 #define HAVE_POLL 1
29109 _ACEOF
29112 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
29113 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
29116 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
29117 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
29118 if test "${glibcxx_cv_S_ISREG+set}" = set; then
29119 echo $ECHO_N "(cached) $ECHO_C" >&6
29120 else
29122 if test x$gcc_no_link = xyes; then
29123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29125 { (exit 1); exit 1; }; }
29127 cat >conftest.$ac_ext <<_ACEOF
29128 /* confdefs.h. */
29129 _ACEOF
29130 cat confdefs.h >>conftest.$ac_ext
29131 cat >>conftest.$ac_ext <<_ACEOF
29132 /* end confdefs.h. */
29133 #include <sys/stat.h>
29135 main ()
29137 struct stat buffer;
29138 fstat(0, &buffer);
29139 S_ISREG(buffer.st_mode);
29141 return 0;
29143 _ACEOF
29144 rm -f conftest.$ac_objext conftest$ac_exeext
29145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29146 (eval $ac_link) 2>conftest.er1
29147 ac_status=$?
29148 grep -v '^ *+' conftest.er1 >conftest.err
29149 rm -f conftest.er1
29150 cat conftest.err >&5
29151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29152 (exit $ac_status); } &&
29153 { ac_try='test -z "$ac_c_werror_flag"
29154 || test ! -s conftest.err'
29155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29156 (eval $ac_try) 2>&5
29157 ac_status=$?
29158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29159 (exit $ac_status); }; } &&
29160 { ac_try='test -s conftest$ac_exeext'
29161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29162 (eval $ac_try) 2>&5
29163 ac_status=$?
29164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29165 (exit $ac_status); }; }; then
29166 glibcxx_cv_S_ISREG=yes
29167 else
29168 echo "$as_me: failed program was:" >&5
29169 sed 's/^/| /' conftest.$ac_ext >&5
29171 glibcxx_cv_S_ISREG=no
29173 rm -f conftest.err conftest.$ac_objext \
29174 conftest$ac_exeext conftest.$ac_ext
29178 if test "${glibcxx_cv_S_IFREG+set}" = set; then
29179 echo $ECHO_N "(cached) $ECHO_C" >&6
29180 else
29182 if test x$gcc_no_link = xyes; then
29183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29185 { (exit 1); exit 1; }; }
29187 cat >conftest.$ac_ext <<_ACEOF
29188 /* confdefs.h. */
29189 _ACEOF
29190 cat confdefs.h >>conftest.$ac_ext
29191 cat >>conftest.$ac_ext <<_ACEOF
29192 /* end confdefs.h. */
29193 #include <sys/stat.h>
29195 main ()
29197 struct stat buffer;
29198 fstat(0, &buffer);
29199 S_IFREG & buffer.st_mode;
29201 return 0;
29203 _ACEOF
29204 rm -f conftest.$ac_objext conftest$ac_exeext
29205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29206 (eval $ac_link) 2>conftest.er1
29207 ac_status=$?
29208 grep -v '^ *+' conftest.er1 >conftest.err
29209 rm -f conftest.er1
29210 cat conftest.err >&5
29211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29212 (exit $ac_status); } &&
29213 { ac_try='test -z "$ac_c_werror_flag"
29214 || test ! -s conftest.err'
29215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29216 (eval $ac_try) 2>&5
29217 ac_status=$?
29218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29219 (exit $ac_status); }; } &&
29220 { ac_try='test -s conftest$ac_exeext'
29221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29222 (eval $ac_try) 2>&5
29223 ac_status=$?
29224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29225 (exit $ac_status); }; }; then
29226 glibcxx_cv_S_IFREG=yes
29227 else
29228 echo "$as_me: failed program was:" >&5
29229 sed 's/^/| /' conftest.$ac_ext >&5
29231 glibcxx_cv_S_IFREG=no
29233 rm -f conftest.err conftest.$ac_objext \
29234 conftest$ac_exeext conftest.$ac_ext
29238 res=no
29239 if test $glibcxx_cv_S_ISREG = yes; then
29241 cat >>confdefs.h <<\_ACEOF
29242 #define HAVE_S_ISREG 1
29243 _ACEOF
29245 res=S_ISREG
29246 elif test $glibcxx_cv_S_IFREG = yes; then
29248 cat >>confdefs.h <<\_ACEOF
29249 #define HAVE_S_IFREG 1
29250 _ACEOF
29252 res=S_IFREG
29254 echo "$as_me:$LINENO: result: $res" >&5
29255 echo "${ECHO_T}$res" >&6
29258 # For xsputn_2().
29260 for ac_header in sys/uio.h
29262 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29263 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29264 echo "$as_me:$LINENO: checking for $ac_header" >&5
29265 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29266 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29267 echo $ECHO_N "(cached) $ECHO_C" >&6
29269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29270 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29271 else
29272 # Is the header compilable?
29273 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29274 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29275 cat >conftest.$ac_ext <<_ACEOF
29276 /* confdefs.h. */
29277 _ACEOF
29278 cat confdefs.h >>conftest.$ac_ext
29279 cat >>conftest.$ac_ext <<_ACEOF
29280 /* end confdefs.h. */
29281 $ac_includes_default
29282 #include <$ac_header>
29283 _ACEOF
29284 rm -f conftest.$ac_objext
29285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29286 (eval $ac_compile) 2>conftest.er1
29287 ac_status=$?
29288 grep -v '^ *+' conftest.er1 >conftest.err
29289 rm -f conftest.er1
29290 cat conftest.err >&5
29291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29292 (exit $ac_status); } &&
29293 { ac_try='test -z "$ac_c_werror_flag"
29294 || test ! -s conftest.err'
29295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29296 (eval $ac_try) 2>&5
29297 ac_status=$?
29298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29299 (exit $ac_status); }; } &&
29300 { ac_try='test -s conftest.$ac_objext'
29301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29302 (eval $ac_try) 2>&5
29303 ac_status=$?
29304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29305 (exit $ac_status); }; }; then
29306 ac_header_compiler=yes
29307 else
29308 echo "$as_me: failed program was:" >&5
29309 sed 's/^/| /' conftest.$ac_ext >&5
29311 ac_header_compiler=no
29313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29314 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29315 echo "${ECHO_T}$ac_header_compiler" >&6
29317 # Is the header present?
29318 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29319 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29320 cat >conftest.$ac_ext <<_ACEOF
29321 /* confdefs.h. */
29322 _ACEOF
29323 cat confdefs.h >>conftest.$ac_ext
29324 cat >>conftest.$ac_ext <<_ACEOF
29325 /* end confdefs.h. */
29326 #include <$ac_header>
29327 _ACEOF
29328 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29329 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29330 ac_status=$?
29331 grep -v '^ *+' conftest.er1 >conftest.err
29332 rm -f conftest.er1
29333 cat conftest.err >&5
29334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29335 (exit $ac_status); } >/dev/null; then
29336 if test -s conftest.err; then
29337 ac_cpp_err=$ac_c_preproc_warn_flag
29338 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29339 else
29340 ac_cpp_err=
29342 else
29343 ac_cpp_err=yes
29345 if test -z "$ac_cpp_err"; then
29346 ac_header_preproc=yes
29347 else
29348 echo "$as_me: failed program was:" >&5
29349 sed 's/^/| /' conftest.$ac_ext >&5
29351 ac_header_preproc=no
29353 rm -f conftest.err conftest.$ac_ext
29354 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29355 echo "${ECHO_T}$ac_header_preproc" >&6
29357 # So? What about this header?
29358 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29359 yes:no: )
29360 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29361 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29362 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29363 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29364 ac_header_preproc=yes
29366 no:yes:* )
29367 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29368 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29369 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29370 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29371 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29372 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29373 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29374 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29375 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29376 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29377 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29378 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29380 cat <<\_ASBOX
29381 ## ----------------------------------------- ##
29382 ## Report this to the package-unused lists. ##
29383 ## ----------------------------------------- ##
29384 _ASBOX
29386 sed "s/^/$as_me: WARNING: /" >&2
29388 esac
29389 echo "$as_me:$LINENO: checking for $ac_header" >&5
29390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29392 echo $ECHO_N "(cached) $ECHO_C" >&6
29393 else
29394 eval "$as_ac_Header=\$ac_header_preproc"
29396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29397 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29400 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29401 cat >>confdefs.h <<_ACEOF
29402 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29403 _ACEOF
29407 done
29410 echo "$as_me:$LINENO: checking for writev" >&5
29411 echo $ECHO_N "checking for writev... $ECHO_C" >&6
29412 if test "${glibcxx_cv_WRITEV+set}" = set; then
29413 echo $ECHO_N "(cached) $ECHO_C" >&6
29414 else
29416 if test x$gcc_no_link = xyes; then
29417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29419 { (exit 1); exit 1; }; }
29421 cat >conftest.$ac_ext <<_ACEOF
29422 /* confdefs.h. */
29423 _ACEOF
29424 cat confdefs.h >>conftest.$ac_ext
29425 cat >>conftest.$ac_ext <<_ACEOF
29426 /* end confdefs.h. */
29427 #include <sys/uio.h>
29429 main ()
29431 struct iovec iov[2];
29432 writev(0, iov, 0);
29434 return 0;
29436 _ACEOF
29437 rm -f conftest.$ac_objext conftest$ac_exeext
29438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29439 (eval $ac_link) 2>conftest.er1
29440 ac_status=$?
29441 grep -v '^ *+' conftest.er1 >conftest.err
29442 rm -f conftest.er1
29443 cat conftest.err >&5
29444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29445 (exit $ac_status); } &&
29446 { ac_try='test -z "$ac_c_werror_flag"
29447 || test ! -s conftest.err'
29448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29449 (eval $ac_try) 2>&5
29450 ac_status=$?
29451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29452 (exit $ac_status); }; } &&
29453 { ac_try='test -s conftest$ac_exeext'
29454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29455 (eval $ac_try) 2>&5
29456 ac_status=$?
29457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29458 (exit $ac_status); }; }; then
29459 glibcxx_cv_WRITEV=yes
29460 else
29461 echo "$as_me: failed program was:" >&5
29462 sed 's/^/| /' conftest.$ac_ext >&5
29464 glibcxx_cv_WRITEV=no
29466 rm -f conftest.err conftest.$ac_objext \
29467 conftest$ac_exeext conftest.$ac_ext
29471 if test $glibcxx_cv_WRITEV = yes; then
29473 cat >>confdefs.h <<\_ACEOF
29474 #define HAVE_WRITEV 1
29475 _ACEOF
29478 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
29479 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
29482 # For the __streamoff_base_type typedef.
29484 echo "$as_me:$LINENO: checking for int64_t" >&5
29485 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
29486 if test "${glibcxx_cv_INT64_T+set}" = set; then
29487 echo $ECHO_N "(cached) $ECHO_C" >&6
29488 else
29490 cat >conftest.$ac_ext <<_ACEOF
29491 /* confdefs.h. */
29492 _ACEOF
29493 cat confdefs.h >>conftest.$ac_ext
29494 cat >>conftest.$ac_ext <<_ACEOF
29495 /* end confdefs.h. */
29496 #include <stdint.h>
29498 main ()
29500 int64_t var;
29502 return 0;
29504 _ACEOF
29505 rm -f conftest.$ac_objext
29506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29507 (eval $ac_compile) 2>conftest.er1
29508 ac_status=$?
29509 grep -v '^ *+' conftest.er1 >conftest.err
29510 rm -f conftest.er1
29511 cat conftest.err >&5
29512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29513 (exit $ac_status); } &&
29514 { ac_try='test -z "$ac_c_werror_flag"
29515 || test ! -s conftest.err'
29516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29517 (eval $ac_try) 2>&5
29518 ac_status=$?
29519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29520 (exit $ac_status); }; } &&
29521 { ac_try='test -s conftest.$ac_objext'
29522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29523 (eval $ac_try) 2>&5
29524 ac_status=$?
29525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29526 (exit $ac_status); }; }; then
29527 glibcxx_cv_INT64_T=yes
29528 else
29529 echo "$as_me: failed program was:" >&5
29530 sed 's/^/| /' conftest.$ac_ext >&5
29532 glibcxx_cv_INT64_T=no
29534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29538 if test $glibcxx_cv_INT64_T = yes; then
29540 cat >>confdefs.h <<\_ACEOF
29541 #define HAVE_INT64_T 1
29542 _ACEOF
29545 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
29546 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
29549 # For LFS support.
29553 ac_ext=cc
29554 ac_cpp='$CXXCPP $CPPFLAGS'
29555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29559 ac_save_CXXFLAGS="$CXXFLAGS"
29560 CXXFLAGS="$CXXFLAGS -fno-exceptions"
29561 echo "$as_me:$LINENO: checking for LFS support" >&5
29562 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
29563 if test "${glibcxx_cv_LFS+set}" = set; then
29564 echo $ECHO_N "(cached) $ECHO_C" >&6
29565 else
29567 if test x$gcc_no_link = xyes; then
29568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29570 { (exit 1); exit 1; }; }
29572 cat >conftest.$ac_ext <<_ACEOF
29573 /* confdefs.h. */
29574 _ACEOF
29575 cat confdefs.h >>conftest.$ac_ext
29576 cat >>conftest.$ac_ext <<_ACEOF
29577 /* end confdefs.h. */
29578 #include <unistd.h>
29579 #include <stdio.h>
29580 #include <sys/stat.h>
29583 main ()
29585 FILE* fp;
29586 fopen64("t", "w");
29587 fseeko64(fp, 0, SEEK_CUR);
29588 ftello64(fp);
29589 lseek64(1, 0, SEEK_CUR);
29590 struct stat64 buf;
29591 fstat64(1, &buf);
29593 return 0;
29595 _ACEOF
29596 rm -f conftest.$ac_objext conftest$ac_exeext
29597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29598 (eval $ac_link) 2>conftest.er1
29599 ac_status=$?
29600 grep -v '^ *+' conftest.er1 >conftest.err
29601 rm -f conftest.er1
29602 cat conftest.err >&5
29603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29604 (exit $ac_status); } &&
29605 { ac_try='test -z "$ac_cxx_werror_flag"
29606 || test ! -s conftest.err'
29607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29608 (eval $ac_try) 2>&5
29609 ac_status=$?
29610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29611 (exit $ac_status); }; } &&
29612 { ac_try='test -s conftest$ac_exeext'
29613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29614 (eval $ac_try) 2>&5
29615 ac_status=$?
29616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29617 (exit $ac_status); }; }; then
29618 glibcxx_cv_LFS=yes
29619 else
29620 echo "$as_me: failed program was:" >&5
29621 sed 's/^/| /' conftest.$ac_ext >&5
29623 glibcxx_cv_LFS=no
29625 rm -f conftest.err conftest.$ac_objext \
29626 conftest$ac_exeext conftest.$ac_ext
29630 if test $glibcxx_cv_LFS = yes; then
29632 cat >>confdefs.h <<\_ACEOF
29633 #define _GLIBCXX_USE_LFS 1
29634 _ACEOF
29637 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
29638 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
29639 CXXFLAGS="$ac_save_CXXFLAGS"
29640 ac_ext=c
29641 ac_cpp='$CPP $CPPFLAGS'
29642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29648 # For C99 support to TR1.
29653 ac_ext=cc
29654 ac_cpp='$CXXCPP $CPPFLAGS'
29655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29660 # Check for the existence of <complex.h> complex math functions used
29661 # by tr1/complex.
29663 for ac_header in complex.h
29665 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29666 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29667 echo "$as_me:$LINENO: checking for $ac_header" >&5
29668 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29669 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29670 echo $ECHO_N "(cached) $ECHO_C" >&6
29672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29673 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29674 else
29675 # Is the header compilable?
29676 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29677 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
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 $ac_includes_default
29685 #include <$ac_header>
29686 _ACEOF
29687 rm -f conftest.$ac_objext
29688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29689 (eval $ac_compile) 2>conftest.er1
29690 ac_status=$?
29691 grep -v '^ *+' conftest.er1 >conftest.err
29692 rm -f conftest.er1
29693 cat conftest.err >&5
29694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29695 (exit $ac_status); } &&
29696 { ac_try='test -z "$ac_cxx_werror_flag"
29697 || test ! -s conftest.err'
29698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29699 (eval $ac_try) 2>&5
29700 ac_status=$?
29701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29702 (exit $ac_status); }; } &&
29703 { ac_try='test -s conftest.$ac_objext'
29704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29705 (eval $ac_try) 2>&5
29706 ac_status=$?
29707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29708 (exit $ac_status); }; }; then
29709 ac_header_compiler=yes
29710 else
29711 echo "$as_me: failed program was:" >&5
29712 sed 's/^/| /' conftest.$ac_ext >&5
29714 ac_header_compiler=no
29716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29717 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29718 echo "${ECHO_T}$ac_header_compiler" >&6
29720 # Is the header present?
29721 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29722 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29723 cat >conftest.$ac_ext <<_ACEOF
29724 /* confdefs.h. */
29725 _ACEOF
29726 cat confdefs.h >>conftest.$ac_ext
29727 cat >>conftest.$ac_ext <<_ACEOF
29728 /* end confdefs.h. */
29729 #include <$ac_header>
29730 _ACEOF
29731 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29732 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29733 ac_status=$?
29734 grep -v '^ *+' conftest.er1 >conftest.err
29735 rm -f conftest.er1
29736 cat conftest.err >&5
29737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29738 (exit $ac_status); } >/dev/null; then
29739 if test -s conftest.err; then
29740 ac_cpp_err=$ac_cxx_preproc_warn_flag
29741 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
29742 else
29743 ac_cpp_err=
29745 else
29746 ac_cpp_err=yes
29748 if test -z "$ac_cpp_err"; then
29749 ac_header_preproc=yes
29750 else
29751 echo "$as_me: failed program was:" >&5
29752 sed 's/^/| /' conftest.$ac_ext >&5
29754 ac_header_preproc=no
29756 rm -f conftest.err conftest.$ac_ext
29757 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29758 echo "${ECHO_T}$ac_header_preproc" >&6
29760 # So? What about this header?
29761 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
29762 yes:no: )
29763 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29764 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29765 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29766 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29767 ac_header_preproc=yes
29769 no:yes:* )
29770 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29771 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29772 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29773 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29774 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29775 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29776 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29777 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29778 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29779 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29780 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29781 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29783 cat <<\_ASBOX
29784 ## ----------------------------------------- ##
29785 ## Report this to the package-unused lists. ##
29786 ## ----------------------------------------- ##
29787 _ASBOX
29789 sed "s/^/$as_me: WARNING: /" >&2
29791 esac
29792 echo "$as_me:$LINENO: checking for $ac_header" >&5
29793 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29794 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29795 echo $ECHO_N "(cached) $ECHO_C" >&6
29796 else
29797 eval "$as_ac_Header=\$ac_header_preproc"
29799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29800 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29803 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29804 cat >>confdefs.h <<_ACEOF
29805 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29806 _ACEOF
29807 ac_has_complex_h=yes
29808 else
29809 ac_has_complex_h=no
29812 done
29814 ac_c99_complex_tr1=no;
29815 if test x"$ac_has_complex_h" = x"yes"; then
29816 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
29817 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
29818 cat >conftest.$ac_ext <<_ACEOF
29819 /* confdefs.h. */
29820 _ACEOF
29821 cat confdefs.h >>conftest.$ac_ext
29822 cat >>conftest.$ac_ext <<_ACEOF
29823 /* end confdefs.h. */
29824 #include <complex.h>
29826 main ()
29828 typedef __complex__ float float_type; float_type tmpf;
29829 cacosf(tmpf);
29830 casinf(tmpf);
29831 catanf(tmpf);
29832 cacoshf(tmpf);
29833 casinhf(tmpf);
29834 catanhf(tmpf);
29835 typedef __complex__ double double_type; double_type tmpd;
29836 cacos(tmpd);
29837 casin(tmpd);
29838 catan(tmpd);
29839 cacosh(tmpd);
29840 casinh(tmpd);
29841 catanh(tmpd);
29842 typedef __complex__ long double ld_type; ld_type tmpld;
29843 cacosl(tmpld);
29844 casinl(tmpld);
29845 catanl(tmpld);
29846 cacoshl(tmpld);
29847 casinhl(tmpld);
29848 catanhl(tmpld);
29851 return 0;
29853 _ACEOF
29854 rm -f conftest.$ac_objext
29855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29856 (eval $ac_compile) 2>conftest.er1
29857 ac_status=$?
29858 grep -v '^ *+' conftest.er1 >conftest.err
29859 rm -f conftest.er1
29860 cat conftest.err >&5
29861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29862 (exit $ac_status); } &&
29863 { ac_try='test -z "$ac_cxx_werror_flag"
29864 || test ! -s conftest.err'
29865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29866 (eval $ac_try) 2>&5
29867 ac_status=$?
29868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29869 (exit $ac_status); }; } &&
29870 { ac_try='test -s conftest.$ac_objext'
29871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29872 (eval $ac_try) 2>&5
29873 ac_status=$?
29874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29875 (exit $ac_status); }; }; then
29876 ac_c99_complex_tr1=yes
29877 else
29878 echo "$as_me: failed program was:" >&5
29879 sed 's/^/| /' conftest.$ac_ext >&5
29881 ac_c99_complex_tr1=no
29883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29885 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
29886 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
29887 if test x"$ac_c99_complex_tr1" = x"yes"; then
29889 cat >>confdefs.h <<\_ACEOF
29890 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
29891 _ACEOF
29895 # Check for the existence of <ctype.h> functions.
29896 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
29897 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
29898 if test "${ac_c99_ctype_tr1+set}" = set; then
29899 echo $ECHO_N "(cached) $ECHO_C" >&6
29900 else
29902 cat >conftest.$ac_ext <<_ACEOF
29903 /* confdefs.h. */
29904 _ACEOF
29905 cat confdefs.h >>conftest.$ac_ext
29906 cat >>conftest.$ac_ext <<_ACEOF
29907 /* end confdefs.h. */
29908 #include <ctype.h>
29910 main ()
29912 int ch;
29913 int ret;
29914 ret = isblank(ch);
29917 return 0;
29919 _ACEOF
29920 rm -f conftest.$ac_objext
29921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29922 (eval $ac_compile) 2>conftest.er1
29923 ac_status=$?
29924 grep -v '^ *+' conftest.er1 >conftest.err
29925 rm -f conftest.er1
29926 cat conftest.err >&5
29927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29928 (exit $ac_status); } &&
29929 { ac_try='test -z "$ac_cxx_werror_flag"
29930 || test ! -s conftest.err'
29931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29932 (eval $ac_try) 2>&5
29933 ac_status=$?
29934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29935 (exit $ac_status); }; } &&
29936 { ac_try='test -s conftest.$ac_objext'
29937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29938 (eval $ac_try) 2>&5
29939 ac_status=$?
29940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29941 (exit $ac_status); }; }; then
29942 ac_c99_ctype_tr1=yes
29943 else
29944 echo "$as_me: failed program was:" >&5
29945 sed 's/^/| /' conftest.$ac_ext >&5
29947 ac_c99_ctype_tr1=no
29949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29953 echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
29954 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
29955 if test x"$ac_c99_ctype_tr1" = x"yes"; then
29957 cat >>confdefs.h <<\_ACEOF
29958 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
29959 _ACEOF
29963 # Check for the existence of <fenv.h> functions.
29965 for ac_header in fenv.h
29967 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29968 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29969 echo "$as_me:$LINENO: checking for $ac_header" >&5
29970 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29972 echo $ECHO_N "(cached) $ECHO_C" >&6
29974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29975 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29976 else
29977 # Is the header compilable?
29978 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29979 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29980 cat >conftest.$ac_ext <<_ACEOF
29981 /* confdefs.h. */
29982 _ACEOF
29983 cat confdefs.h >>conftest.$ac_ext
29984 cat >>conftest.$ac_ext <<_ACEOF
29985 /* end confdefs.h. */
29986 $ac_includes_default
29987 #include <$ac_header>
29988 _ACEOF
29989 rm -f conftest.$ac_objext
29990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29991 (eval $ac_compile) 2>conftest.er1
29992 ac_status=$?
29993 grep -v '^ *+' conftest.er1 >conftest.err
29994 rm -f conftest.er1
29995 cat conftest.err >&5
29996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29997 (exit $ac_status); } &&
29998 { ac_try='test -z "$ac_cxx_werror_flag"
29999 || test ! -s conftest.err'
30000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30001 (eval $ac_try) 2>&5
30002 ac_status=$?
30003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30004 (exit $ac_status); }; } &&
30005 { ac_try='test -s conftest.$ac_objext'
30006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30007 (eval $ac_try) 2>&5
30008 ac_status=$?
30009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30010 (exit $ac_status); }; }; then
30011 ac_header_compiler=yes
30012 else
30013 echo "$as_me: failed program was:" >&5
30014 sed 's/^/| /' conftest.$ac_ext >&5
30016 ac_header_compiler=no
30018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30019 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30020 echo "${ECHO_T}$ac_header_compiler" >&6
30022 # Is the header present?
30023 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30024 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30025 cat >conftest.$ac_ext <<_ACEOF
30026 /* confdefs.h. */
30027 _ACEOF
30028 cat confdefs.h >>conftest.$ac_ext
30029 cat >>conftest.$ac_ext <<_ACEOF
30030 /* end confdefs.h. */
30031 #include <$ac_header>
30032 _ACEOF
30033 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30034 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30035 ac_status=$?
30036 grep -v '^ *+' conftest.er1 >conftest.err
30037 rm -f conftest.er1
30038 cat conftest.err >&5
30039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30040 (exit $ac_status); } >/dev/null; then
30041 if test -s conftest.err; then
30042 ac_cpp_err=$ac_cxx_preproc_warn_flag
30043 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
30044 else
30045 ac_cpp_err=
30047 else
30048 ac_cpp_err=yes
30050 if test -z "$ac_cpp_err"; then
30051 ac_header_preproc=yes
30052 else
30053 echo "$as_me: failed program was:" >&5
30054 sed 's/^/| /' conftest.$ac_ext >&5
30056 ac_header_preproc=no
30058 rm -f conftest.err conftest.$ac_ext
30059 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30060 echo "${ECHO_T}$ac_header_preproc" >&6
30062 # So? What about this header?
30063 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
30064 yes:no: )
30065 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30066 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30067 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30068 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30069 ac_header_preproc=yes
30071 no:yes:* )
30072 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30073 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30074 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30075 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30076 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30077 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30078 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30079 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30080 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30081 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30082 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30083 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30085 cat <<\_ASBOX
30086 ## ----------------------------------------- ##
30087 ## Report this to the package-unused lists. ##
30088 ## ----------------------------------------- ##
30089 _ASBOX
30091 sed "s/^/$as_me: WARNING: /" >&2
30093 esac
30094 echo "$as_me:$LINENO: checking for $ac_header" >&5
30095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30097 echo $ECHO_N "(cached) $ECHO_C" >&6
30098 else
30099 eval "$as_ac_Header=\$ac_header_preproc"
30101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30102 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30105 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30106 cat >>confdefs.h <<_ACEOF
30107 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30108 _ACEOF
30109 ac_has_fenv_h=yes
30110 else
30111 ac_has_fenv_h=no
30114 done
30116 ac_c99_fenv_tr1=no;
30117 if test x"$ac_has_fenv_h" = x"yes"; then
30118 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
30119 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
30120 cat >conftest.$ac_ext <<_ACEOF
30121 /* confdefs.h. */
30122 _ACEOF
30123 cat confdefs.h >>conftest.$ac_ext
30124 cat >>conftest.$ac_ext <<_ACEOF
30125 /* end confdefs.h. */
30126 #include <fenv.h>
30128 main ()
30130 int except, mode;
30131 fexcept_t* pflag;
30132 fenv_t* penv;
30133 int ret;
30134 ret = feclearexcept(except);
30135 ret = fegetexceptflag(pflag, except);
30136 ret = feraiseexcept(except);
30137 ret = fesetexceptflag(pflag, except);
30138 ret = fetestexcept(except);
30139 ret = fegetround();
30140 ret = fesetround(mode);
30141 ret = fegetenv(penv);
30142 ret = feholdexcept(penv);
30143 ret = fesetenv(penv);
30144 ret = feupdateenv(penv);
30147 return 0;
30149 _ACEOF
30150 rm -f conftest.$ac_objext
30151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30152 (eval $ac_compile) 2>conftest.er1
30153 ac_status=$?
30154 grep -v '^ *+' conftest.er1 >conftest.err
30155 rm -f conftest.er1
30156 cat conftest.err >&5
30157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30158 (exit $ac_status); } &&
30159 { ac_try='test -z "$ac_cxx_werror_flag"
30160 || test ! -s conftest.err'
30161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30162 (eval $ac_try) 2>&5
30163 ac_status=$?
30164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30165 (exit $ac_status); }; } &&
30166 { ac_try='test -s conftest.$ac_objext'
30167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30168 (eval $ac_try) 2>&5
30169 ac_status=$?
30170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30171 (exit $ac_status); }; }; then
30172 ac_c99_fenv_tr1=yes
30173 else
30174 echo "$as_me: failed program was:" >&5
30175 sed 's/^/| /' conftest.$ac_ext >&5
30177 ac_c99_fenv_tr1=no
30179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30181 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
30182 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
30183 if test x"$ac_c99_fenv_tr1" = x"yes"; then
30185 cat >>confdefs.h <<\_ACEOF
30186 #define _GLIBCXX_USE_C99_FENV_TR1 1
30187 _ACEOF
30191 # Check for the existence of <stdint.h> types.
30192 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
30193 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
30194 if test "${ac_c99_stdint_tr1+set}" = set; then
30195 echo $ECHO_N "(cached) $ECHO_C" >&6
30196 else
30198 cat >conftest.$ac_ext <<_ACEOF
30199 /* confdefs.h. */
30200 _ACEOF
30201 cat confdefs.h >>conftest.$ac_ext
30202 cat >>conftest.$ac_ext <<_ACEOF
30203 /* end confdefs.h. */
30204 #include <stdint.h>
30206 main ()
30208 typedef int8_t my_int8_t;
30209 typedef int16_t my_int16_t;
30210 typedef int32_t my_int32_t;
30211 typedef int64_t my_int64_t;
30212 typedef int_fast8_t my_int_fast8_t;
30213 typedef int_fast16_t my_int_fast16_t;
30214 typedef int_fast32_t my_int_fast32_t;
30215 typedef int_fast64_t my_int_fast64_t;
30216 typedef int_least8_t my_int_least8_t;
30217 typedef int_least16_t my_int_least16_t;
30218 typedef int_least32_t my_int_least32_t;
30219 typedef int_least64_t my_int_least64_t;
30220 typedef intmax_t my_intmax_t;
30221 typedef intptr_t my_intptr_t;
30222 typedef uint8_t my_uint8_t;
30223 typedef uint16_t my_uint16_t;
30224 typedef uint32_t my_uint32_t;
30225 typedef uint64_t my_uint64_t;
30226 typedef uint_fast8_t my_uint_fast8_t;
30227 typedef uint_fast16_t my_uint_fast16_t;
30228 typedef uint_fast32_t my_uint_fast32_t;
30229 typedef uint_fast64_t my_uint_fast64_t;
30230 typedef uint_least8_t my_uint_least8_t;
30231 typedef uint_least16_t my_uint_least16_t;
30232 typedef uint_least32_t my_uint_least32_t;
30233 typedef uint_least64_t my_uint_least64_t;
30234 typedef uintmax_t my_uintmax_t;
30235 typedef uintptr_t my_uintptr_t;
30238 return 0;
30240 _ACEOF
30241 rm -f conftest.$ac_objext
30242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30243 (eval $ac_compile) 2>conftest.er1
30244 ac_status=$?
30245 grep -v '^ *+' conftest.er1 >conftest.err
30246 rm -f conftest.er1
30247 cat conftest.err >&5
30248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30249 (exit $ac_status); } &&
30250 { ac_try='test -z "$ac_cxx_werror_flag"
30251 || test ! -s conftest.err'
30252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30253 (eval $ac_try) 2>&5
30254 ac_status=$?
30255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30256 (exit $ac_status); }; } &&
30257 { ac_try='test -s conftest.$ac_objext'
30258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30259 (eval $ac_try) 2>&5
30260 ac_status=$?
30261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30262 (exit $ac_status); }; }; then
30263 ac_c99_stdint_tr1=yes
30264 else
30265 echo "$as_me: failed program was:" >&5
30266 sed 's/^/| /' conftest.$ac_ext >&5
30268 ac_c99_stdint_tr1=no
30270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30274 echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
30275 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
30276 if test x"$ac_c99_stdint_tr1" = x"yes"; then
30278 cat >>confdefs.h <<\_ACEOF
30279 #define _GLIBCXX_USE_C99_STDINT_TR1 1
30280 _ACEOF
30284 # Check for the existence of <math.h> functions.
30285 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
30286 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
30287 if test "${ac_c99_math_tr1+set}" = set; then
30288 echo $ECHO_N "(cached) $ECHO_C" >&6
30289 else
30291 cat >conftest.$ac_ext <<_ACEOF
30292 /* confdefs.h. */
30293 _ACEOF
30294 cat confdefs.h >>conftest.$ac_ext
30295 cat >>conftest.$ac_ext <<_ACEOF
30296 /* end confdefs.h. */
30297 #include <math.h>
30299 main ()
30301 typedef double_t my_double_t;
30302 typedef float_t my_float_t;
30303 acosh(0.0);
30304 acoshf(0.0f);
30305 acoshl(0.0l);
30306 asinh(0.0);
30307 asinhf(0.0f);
30308 asinhl(0.0l);
30309 atanh(0.0);
30310 atanhf(0.0f);
30311 atanhl(0.0l);
30312 cbrt(0.0);
30313 cbrtf(0.0f);
30314 cbrtl(0.0l);
30315 copysign(0.0, 0.0);
30316 copysignf(0.0f, 0.0f);
30317 copysignl(0.0l, 0.0l);
30318 erf(0.0);
30319 erff(0.0f);
30320 erfl(0.0l);
30321 erfc(0.0);
30322 erfcf(0.0f);
30323 erfcl(0.0l);
30324 exp2(0.0);
30325 exp2f(0.0f);
30326 exp2l(0.0l);
30327 expm1(0.0);
30328 expm1f(0.0f);
30329 expm1l(0.0l);
30330 fdim(0.0, 0.0);
30331 fdimf(0.0f, 0.0f);
30332 fdiml(0.0l, 0.0l);
30333 fma(0.0, 0.0, 0.0);
30334 fmaf(0.0f, 0.0f, 0.0f);
30335 fmal(0.0l, 0.0l, 0.0l);
30336 fmax(0.0, 0.0);
30337 fmaxf(0.0f, 0.0f);
30338 fmaxl(0.0l, 0.0l);
30339 fmin(0.0, 0.0);
30340 fminf(0.0f, 0.0f);
30341 fminl(0.0l, 0.0l);
30342 hypot(0.0, 0.0);
30343 hypotf(0.0f, 0.0f);
30344 hypotl(0.0l, 0.0l);
30345 ilogb(0.0);
30346 ilogbf(0.0f);
30347 ilogbl(0.0l);
30348 lgamma(0.0);
30349 lgammaf(0.0f);
30350 lgammal(0.0l);
30351 llrint(0.0);
30352 llrintf(0.0f);
30353 llrintl(0.0l);
30354 llround(0.0);
30355 llroundf(0.0f);
30356 llroundl(0.0l);
30357 log1p(0.0);
30358 log1pf(0.0f);
30359 log1pl(0.0l);
30360 log2(0.0);
30361 log2f(0.0f);
30362 log2l(0.0l);
30363 logb(0.0);
30364 logbf(0.0f);
30365 logbl(0.0l);
30366 lrint(0.0);
30367 lrintf(0.0f);
30368 lrintl(0.0l);
30369 lround(0.0);
30370 lroundf(0.0f);
30371 lroundl(0.0l);
30372 nan(0);
30373 nanf(0);
30374 nanl(0);
30375 nearbyint(0.0);
30376 nearbyintf(0.0f);
30377 nearbyintl(0.0l);
30378 nextafter(0.0, 0.0);
30379 nextafterf(0.0f, 0.0f);
30380 nextafterl(0.0l, 0.0l);
30381 nexttoward(0.0, 0.0);
30382 nexttowardf(0.0f, 0.0f);
30383 nexttowardl(0.0l, 0.0l);
30384 remainder(0.0, 0.0);
30385 remainderf(0.0f, 0.0f);
30386 remainderl(0.0l, 0.0l);
30387 remquo(0.0, 0.0, 0);
30388 remquo(0.0f, 0.0f, 0);
30389 remquo(0.0l, 0.0l, 0);
30390 rint(0.0);
30391 rintf(0.0f);
30392 rintl(0.0l);
30393 round(0.0);
30394 roundf(0.0f);
30395 roundl(0.0l);
30396 scalbln(0.0, 0l);
30397 scalblnf(0.0f, 0l);
30398 scalblnl(0.0l, 0l);
30399 scalbn(0.0, 0);
30400 scalbnf(0.0f, 0);
30401 scalbnl(0.0l, 0);
30402 tgamma(0.0);
30403 tgammaf(0.0f);
30404 tgammal(0.0l);
30405 trunc(0.0);
30406 truncf(0.0f);
30407 truncl(0.0l);
30410 return 0;
30412 _ACEOF
30413 rm -f conftest.$ac_objext
30414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30415 (eval $ac_compile) 2>conftest.er1
30416 ac_status=$?
30417 grep -v '^ *+' conftest.er1 >conftest.err
30418 rm -f conftest.er1
30419 cat conftest.err >&5
30420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30421 (exit $ac_status); } &&
30422 { ac_try='test -z "$ac_cxx_werror_flag"
30423 || test ! -s conftest.err'
30424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30425 (eval $ac_try) 2>&5
30426 ac_status=$?
30427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30428 (exit $ac_status); }; } &&
30429 { ac_try='test -s conftest.$ac_objext'
30430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30431 (eval $ac_try) 2>&5
30432 ac_status=$?
30433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30434 (exit $ac_status); }; }; then
30435 ac_c99_math_tr1=yes
30436 else
30437 echo "$as_me: failed program was:" >&5
30438 sed 's/^/| /' conftest.$ac_ext >&5
30440 ac_c99_math_tr1=no
30442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30446 echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
30447 echo "${ECHO_T}$ac_c99_math_tr1" >&6
30448 if test x"$ac_c99_math_tr1" = x"yes"; then
30450 cat >>confdefs.h <<\_ACEOF
30451 #define _GLIBCXX_USE_C99_MATH_TR1 1
30452 _ACEOF
30456 # Check for the existence of <inttypes.h> functions (NB: doesn't make
30457 # sense if the previous check fails, per C99, 7.8/1).
30458 ac_c99_inttypes_tr1=no;
30459 if test x"$ac_c99_stdint_tr1" = x"yes"; then
30460 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
30461 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
30462 cat >conftest.$ac_ext <<_ACEOF
30463 /* confdefs.h. */
30464 _ACEOF
30465 cat confdefs.h >>conftest.$ac_ext
30466 cat >>conftest.$ac_ext <<_ACEOF
30467 /* end confdefs.h. */
30468 #include <inttypes.h>
30470 main ()
30472 intmax_t i, numer, denom, base;
30473 const char* s;
30474 char** endptr;
30475 intmax_t ret = imaxabs(i);
30476 imaxdiv_t dret = imaxdiv(numer, denom);
30477 ret = strtoimax(s, endptr, base);
30478 uintmax_t uret = strtoumax(s, endptr, base);
30481 return 0;
30483 _ACEOF
30484 rm -f conftest.$ac_objext
30485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30486 (eval $ac_compile) 2>conftest.er1
30487 ac_status=$?
30488 grep -v '^ *+' conftest.er1 >conftest.err
30489 rm -f conftest.er1
30490 cat conftest.err >&5
30491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30492 (exit $ac_status); } &&
30493 { ac_try='test -z "$ac_cxx_werror_flag"
30494 || test ! -s conftest.err'
30495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30496 (eval $ac_try) 2>&5
30497 ac_status=$?
30498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30499 (exit $ac_status); }; } &&
30500 { ac_try='test -s conftest.$ac_objext'
30501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30502 (eval $ac_try) 2>&5
30503 ac_status=$?
30504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30505 (exit $ac_status); }; }; then
30506 ac_c99_inttypes_tr1=yes
30507 else
30508 echo "$as_me: failed program was:" >&5
30509 sed 's/^/| /' conftest.$ac_ext >&5
30511 ac_c99_inttypes_tr1=no
30513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30515 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
30516 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
30517 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
30519 cat >>confdefs.h <<\_ACEOF
30520 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
30521 _ACEOF
30525 # Check for the existence of the <stdbool.h> header.
30527 for ac_header in stdbool.h
30529 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30530 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30531 echo "$as_me:$LINENO: checking for $ac_header" >&5
30532 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30533 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30534 echo $ECHO_N "(cached) $ECHO_C" >&6
30536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30537 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30538 else
30539 # Is the header compilable?
30540 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30541 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30542 cat >conftest.$ac_ext <<_ACEOF
30543 /* confdefs.h. */
30544 _ACEOF
30545 cat confdefs.h >>conftest.$ac_ext
30546 cat >>conftest.$ac_ext <<_ACEOF
30547 /* end confdefs.h. */
30548 $ac_includes_default
30549 #include <$ac_header>
30550 _ACEOF
30551 rm -f conftest.$ac_objext
30552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30553 (eval $ac_compile) 2>conftest.er1
30554 ac_status=$?
30555 grep -v '^ *+' conftest.er1 >conftest.err
30556 rm -f conftest.er1
30557 cat conftest.err >&5
30558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30559 (exit $ac_status); } &&
30560 { ac_try='test -z "$ac_cxx_werror_flag"
30561 || test ! -s conftest.err'
30562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30563 (eval $ac_try) 2>&5
30564 ac_status=$?
30565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30566 (exit $ac_status); }; } &&
30567 { ac_try='test -s conftest.$ac_objext'
30568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30569 (eval $ac_try) 2>&5
30570 ac_status=$?
30571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30572 (exit $ac_status); }; }; then
30573 ac_header_compiler=yes
30574 else
30575 echo "$as_me: failed program was:" >&5
30576 sed 's/^/| /' conftest.$ac_ext >&5
30578 ac_header_compiler=no
30580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30581 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30582 echo "${ECHO_T}$ac_header_compiler" >&6
30584 # Is the header present?
30585 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30586 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30587 cat >conftest.$ac_ext <<_ACEOF
30588 /* confdefs.h. */
30589 _ACEOF
30590 cat confdefs.h >>conftest.$ac_ext
30591 cat >>conftest.$ac_ext <<_ACEOF
30592 /* end confdefs.h. */
30593 #include <$ac_header>
30594 _ACEOF
30595 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30596 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30597 ac_status=$?
30598 grep -v '^ *+' conftest.er1 >conftest.err
30599 rm -f conftest.er1
30600 cat conftest.err >&5
30601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30602 (exit $ac_status); } >/dev/null; then
30603 if test -s conftest.err; then
30604 ac_cpp_err=$ac_cxx_preproc_warn_flag
30605 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
30606 else
30607 ac_cpp_err=
30609 else
30610 ac_cpp_err=yes
30612 if test -z "$ac_cpp_err"; then
30613 ac_header_preproc=yes
30614 else
30615 echo "$as_me: failed program was:" >&5
30616 sed 's/^/| /' conftest.$ac_ext >&5
30618 ac_header_preproc=no
30620 rm -f conftest.err conftest.$ac_ext
30621 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30622 echo "${ECHO_T}$ac_header_preproc" >&6
30624 # So? What about this header?
30625 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
30626 yes:no: )
30627 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30628 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30629 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30630 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30631 ac_header_preproc=yes
30633 no:yes:* )
30634 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30635 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30636 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30637 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30638 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30639 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30640 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30641 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30642 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30643 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30644 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30645 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30647 cat <<\_ASBOX
30648 ## ----------------------------------------- ##
30649 ## Report this to the package-unused lists. ##
30650 ## ----------------------------------------- ##
30651 _ASBOX
30653 sed "s/^/$as_me: WARNING: /" >&2
30655 esac
30656 echo "$as_me:$LINENO: checking for $ac_header" >&5
30657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30659 echo $ECHO_N "(cached) $ECHO_C" >&6
30660 else
30661 eval "$as_ac_Header=\$ac_header_preproc"
30663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30664 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30667 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30668 cat >>confdefs.h <<_ACEOF
30669 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30670 _ACEOF
30674 done
30677 ac_ext=c
30678 ac_cpp='$CPP $CPPFLAGS'
30679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30685 # For dev/random and dev/urandom for TR1.
30688 echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
30689 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
30690 if test "${ac_random_tr1+set}" = set; then
30691 echo $ECHO_N "(cached) $ECHO_C" >&6
30692 else
30694 if test "$cross_compiling" = yes; then
30695 ac_random_tr1=no
30696 else
30697 cat >conftest.$ac_ext <<_ACEOF
30698 /* confdefs.h. */
30699 _ACEOF
30700 cat confdefs.h >>conftest.$ac_ext
30701 cat >>conftest.$ac_ext <<_ACEOF
30702 /* end confdefs.h. */
30703 #include <stdio.h>
30704 int main()
30706 return !(fopen("/dev/random", "r")
30707 && fopen("/dev/urandom", "r"));
30710 _ACEOF
30711 rm -f conftest$ac_exeext
30712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30713 (eval $ac_link) 2>&5
30714 ac_status=$?
30715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30716 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30718 (eval $ac_try) 2>&5
30719 ac_status=$?
30720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30721 (exit $ac_status); }; }; then
30722 ac_random_tr1=yes
30723 else
30724 echo "$as_me: program exited with status $ac_status" >&5
30725 echo "$as_me: failed program was:" >&5
30726 sed 's/^/| /' conftest.$ac_ext >&5
30728 ( exit $ac_status )
30729 ac_random_tr1=no
30731 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30736 echo "$as_me:$LINENO: result: $ac_random_tr1" >&5
30737 echo "${ECHO_T}$ac_random_tr1" >&6
30738 if test x"$ac_random_tr1" = x"yes"; then
30740 cat >>confdefs.h <<\_ACEOF
30741 #define _GLIBCXX_USE_RANDOM_TR1 1
30742 _ACEOF
30748 # For TLS support.
30750 # Check whether --enable-tls or --disable-tls was given.
30751 if test "${enable_tls+set}" = set; then
30752 enableval="$enable_tls"
30754 case "$enableval" in
30755 yes|no) ;;
30756 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
30757 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
30758 { (exit 1); exit 1; }; } ;;
30759 esac
30761 else
30762 enable_tls=yes
30765 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
30766 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
30767 if test "${have_tls+set}" = set; then
30768 echo $ECHO_N "(cached) $ECHO_C" >&6
30769 else
30771 if test "$cross_compiling" = yes; then
30772 if test x$gcc_no_link = xyes; then
30773 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30774 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30775 { (exit 1); exit 1; }; }
30777 cat >conftest.$ac_ext <<_ACEOF
30778 __thread int a; int b; int main() { return a = b; }
30779 _ACEOF
30780 rm -f conftest.$ac_objext conftest$ac_exeext
30781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30782 (eval $ac_link) 2>conftest.er1
30783 ac_status=$?
30784 grep -v '^ *+' conftest.er1 >conftest.err
30785 rm -f conftest.er1
30786 cat conftest.err >&5
30787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30788 (exit $ac_status); } &&
30789 { ac_try='test -z "$ac_c_werror_flag"
30790 || test ! -s conftest.err'
30791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30792 (eval $ac_try) 2>&5
30793 ac_status=$?
30794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30795 (exit $ac_status); }; } &&
30796 { ac_try='test -s conftest$ac_exeext'
30797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30798 (eval $ac_try) 2>&5
30799 ac_status=$?
30800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30801 (exit $ac_status); }; }; then
30802 have_tls=yes
30803 else
30804 echo "$as_me: failed program was:" >&5
30805 sed 's/^/| /' conftest.$ac_ext >&5
30807 have_tls=no
30809 rm -f conftest.err conftest.$ac_objext \
30810 conftest$ac_exeext conftest.$ac_ext
30813 else
30814 cat >conftest.$ac_ext <<_ACEOF
30815 __thread int a; int b; int main() { return a = b; }
30816 _ACEOF
30817 rm -f conftest$ac_exeext
30818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30819 (eval $ac_link) 2>&5
30820 ac_status=$?
30821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30822 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30824 (eval $ac_try) 2>&5
30825 ac_status=$?
30826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30827 (exit $ac_status); }; }; then
30828 chktls_save_LDFLAGS="$LDFLAGS"
30829 LDFLAGS="-static $LDFLAGS"
30830 if test x$gcc_no_link = xyes; then
30831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30833 { (exit 1); exit 1; }; }
30835 cat >conftest.$ac_ext <<_ACEOF
30836 int main() { return 0; }
30837 _ACEOF
30838 rm -f conftest.$ac_objext conftest$ac_exeext
30839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30840 (eval $ac_link) 2>conftest.er1
30841 ac_status=$?
30842 grep -v '^ *+' conftest.er1 >conftest.err
30843 rm -f conftest.er1
30844 cat conftest.err >&5
30845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30846 (exit $ac_status); } &&
30847 { ac_try='test -z "$ac_c_werror_flag"
30848 || test ! -s conftest.err'
30849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30850 (eval $ac_try) 2>&5
30851 ac_status=$?
30852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30853 (exit $ac_status); }; } &&
30854 { ac_try='test -s conftest$ac_exeext'
30855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30856 (eval $ac_try) 2>&5
30857 ac_status=$?
30858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30859 (exit $ac_status); }; }; then
30860 if test "$cross_compiling" = yes; then
30861 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
30862 See \`config.log' for more details." >&5
30863 echo "$as_me: error: cannot run test program while cross compiling
30864 See \`config.log' for more details." >&2;}
30865 { (exit 1); exit 1; }; }
30866 else
30867 cat >conftest.$ac_ext <<_ACEOF
30868 __thread int a; int b; int main() { return a = b; }
30869 _ACEOF
30870 rm -f conftest$ac_exeext
30871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30872 (eval $ac_link) 2>&5
30873 ac_status=$?
30874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30875 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30877 (eval $ac_try) 2>&5
30878 ac_status=$?
30879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30880 (exit $ac_status); }; }; then
30881 have_tls=yes
30882 else
30883 echo "$as_me: program exited with status $ac_status" >&5
30884 echo "$as_me: failed program was:" >&5
30885 sed 's/^/| /' conftest.$ac_ext >&5
30887 ( exit $ac_status )
30888 have_tls=no
30890 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30892 else
30893 echo "$as_me: failed program was:" >&5
30894 sed 's/^/| /' conftest.$ac_ext >&5
30896 have_tls=yes
30898 rm -f conftest.err conftest.$ac_objext \
30899 conftest$ac_exeext conftest.$ac_ext
30900 LDFLAGS="$chktls_save_LDFLAGS"
30901 if test $have_tls = yes; then
30902 chktls_save_CFLAGS="$CFLAGS"
30903 thread_CFLAGS=failed
30904 for flag in '' '-pthread' '-lpthread'; do
30905 CFLAGS="$flag $chktls_save_CFLAGS"
30906 if test x$gcc_no_link = xyes; then
30907 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30909 { (exit 1); exit 1; }; }
30911 cat >conftest.$ac_ext <<_ACEOF
30912 /* confdefs.h. */
30913 _ACEOF
30914 cat confdefs.h >>conftest.$ac_ext
30915 cat >>conftest.$ac_ext <<_ACEOF
30916 /* end confdefs.h. */
30917 #include <pthread.h>
30918 void *g(void *d) { return NULL; }
30920 main ()
30922 pthread_t t; pthread_create(&t,NULL,g,NULL);
30924 return 0;
30926 _ACEOF
30927 rm -f conftest.$ac_objext conftest$ac_exeext
30928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30929 (eval $ac_link) 2>conftest.er1
30930 ac_status=$?
30931 grep -v '^ *+' conftest.er1 >conftest.err
30932 rm -f conftest.er1
30933 cat conftest.err >&5
30934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30935 (exit $ac_status); } &&
30936 { ac_try='test -z "$ac_c_werror_flag"
30937 || test ! -s conftest.err'
30938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30939 (eval $ac_try) 2>&5
30940 ac_status=$?
30941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30942 (exit $ac_status); }; } &&
30943 { ac_try='test -s conftest$ac_exeext'
30944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30945 (eval $ac_try) 2>&5
30946 ac_status=$?
30947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30948 (exit $ac_status); }; }; then
30949 thread_CFLAGS="$flag"
30950 else
30951 echo "$as_me: failed program was:" >&5
30952 sed 's/^/| /' conftest.$ac_ext >&5
30955 rm -f conftest.err conftest.$ac_objext \
30956 conftest$ac_exeext conftest.$ac_ext
30957 if test "X$thread_CFLAGS" != Xfailed; then
30958 break
30960 done
30961 CFLAGS="$chktls_save_CFLAGS"
30962 if test "X$thread_CFLAGS" != Xfailed; then
30963 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
30964 if test "$cross_compiling" = yes; then
30965 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
30966 See \`config.log' for more details." >&5
30967 echo "$as_me: error: cannot run test program while cross compiling
30968 See \`config.log' for more details." >&2;}
30969 { (exit 1); exit 1; }; }
30970 else
30971 cat >conftest.$ac_ext <<_ACEOF
30972 /* confdefs.h. */
30973 _ACEOF
30974 cat confdefs.h >>conftest.$ac_ext
30975 cat >>conftest.$ac_ext <<_ACEOF
30976 /* end confdefs.h. */
30977 #include <pthread.h>
30978 __thread int a;
30979 static int *a_in_other_thread;
30980 static void *
30981 thread_func (void *arg)
30983 a_in_other_thread = &a;
30984 return (void *)0;
30987 main ()
30989 pthread_t thread;
30990 void *thread_retval;
30991 int *a_in_main_thread;
30992 if (pthread_create (&thread, (pthread_attr_t *)0,
30993 thread_func, (void *)0))
30994 return 0;
30995 a_in_main_thread = &a;
30996 if (pthread_join (thread, &thread_retval))
30997 return 0;
30998 return (a_in_other_thread == a_in_main_thread);
31000 return 0;
31002 _ACEOF
31003 rm -f conftest$ac_exeext
31004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31005 (eval $ac_link) 2>&5
31006 ac_status=$?
31007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31008 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31010 (eval $ac_try) 2>&5
31011 ac_status=$?
31012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31013 (exit $ac_status); }; }; then
31014 have_tls=yes
31015 else
31016 echo "$as_me: program exited with status $ac_status" >&5
31017 echo "$as_me: failed program was:" >&5
31018 sed 's/^/| /' conftest.$ac_ext >&5
31020 ( exit $ac_status )
31021 have_tls=no
31023 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31025 CFLAGS="$chktls_save_CFLAGS"
31028 else
31029 echo "$as_me: program exited with status $ac_status" >&5
31030 echo "$as_me: failed program was:" >&5
31031 sed 's/^/| /' conftest.$ac_ext >&5
31033 ( exit $ac_status )
31034 have_tls=no
31036 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31039 echo "$as_me:$LINENO: result: $have_tls" >&5
31040 echo "${ECHO_T}$have_tls" >&6
31041 if test "$enable_tls $have_tls" = "yes yes"; then
31043 cat >>confdefs.h <<\_ACEOF
31044 #define HAVE_TLS 1
31045 _ACEOF
31049 # For _Unwind_GetIPInfo.
31053 ac_ext=cc
31054 ac_cpp='$CXXCPP $CPPFLAGS'
31055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31059 ac_save_CXXFLAGS="$CXXFLAGS"
31060 CXXFLAGS="$CXXFLAGS -fno-exceptions"
31061 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
31062 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
31063 if test "${gcc_cv_getipinfo+set}" = set; then
31064 echo $ECHO_N "(cached) $ECHO_C" >&6
31065 else
31067 if test x$gcc_no_link = xyes; then
31068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31070 { (exit 1); exit 1; }; }
31072 cat >conftest.$ac_ext <<_ACEOF
31073 /* confdefs.h. */
31074 _ACEOF
31075 cat confdefs.h >>conftest.$ac_ext
31076 cat >>conftest.$ac_ext <<_ACEOF
31077 /* end confdefs.h. */
31078 extern "C" { extern void _Unwind_GetIPInfo(); }
31080 main ()
31082 _Unwind_GetIPInfo();
31084 return 0;
31086 _ACEOF
31087 rm -f conftest.$ac_objext conftest$ac_exeext
31088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31089 (eval $ac_link) 2>conftest.er1
31090 ac_status=$?
31091 grep -v '^ *+' conftest.er1 >conftest.err
31092 rm -f conftest.er1
31093 cat conftest.err >&5
31094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31095 (exit $ac_status); } &&
31096 { ac_try='test -z "$ac_cxx_werror_flag"
31097 || test ! -s conftest.err'
31098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31099 (eval $ac_try) 2>&5
31100 ac_status=$?
31101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31102 (exit $ac_status); }; } &&
31103 { ac_try='test -s conftest$ac_exeext'
31104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31105 (eval $ac_try) 2>&5
31106 ac_status=$?
31107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31108 (exit $ac_status); }; }; then
31109 gcc_cv_getipinfo=yes
31110 else
31111 echo "$as_me: failed program was:" >&5
31112 sed 's/^/| /' conftest.$ac_ext >&5
31114 gcc_cv_getipinfo=no
31116 rm -f conftest.err conftest.$ac_objext \
31117 conftest$ac_exeext conftest.$ac_ext
31121 if test $gcc_cv_getipinfo = yes; then
31123 cat >>confdefs.h <<\_ACEOF
31124 #define HAVE_GETIPINFO 1
31125 _ACEOF
31128 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
31129 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
31130 CXXFLAGS="$ac_save_CXXFLAGS"
31131 ac_ext=c
31132 ac_cpp='$CPP $CPPFLAGS'
31133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31140 if test "${ac_cv_header_locale_h+set}" = set; then
31141 echo "$as_me:$LINENO: checking for locale.h" >&5
31142 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
31143 if test "${ac_cv_header_locale_h+set}" = set; then
31144 echo $ECHO_N "(cached) $ECHO_C" >&6
31146 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
31147 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
31148 else
31149 # Is the header compilable?
31150 echo "$as_me:$LINENO: checking locale.h usability" >&5
31151 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
31152 cat >conftest.$ac_ext <<_ACEOF
31153 /* confdefs.h. */
31154 _ACEOF
31155 cat confdefs.h >>conftest.$ac_ext
31156 cat >>conftest.$ac_ext <<_ACEOF
31157 /* end confdefs.h. */
31158 $ac_includes_default
31159 #include <locale.h>
31160 _ACEOF
31161 rm -f conftest.$ac_objext
31162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31163 (eval $ac_compile) 2>conftest.er1
31164 ac_status=$?
31165 grep -v '^ *+' conftest.er1 >conftest.err
31166 rm -f conftest.er1
31167 cat conftest.err >&5
31168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31169 (exit $ac_status); } &&
31170 { ac_try='test -z "$ac_c_werror_flag"
31171 || test ! -s conftest.err'
31172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31173 (eval $ac_try) 2>&5
31174 ac_status=$?
31175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31176 (exit $ac_status); }; } &&
31177 { ac_try='test -s conftest.$ac_objext'
31178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31179 (eval $ac_try) 2>&5
31180 ac_status=$?
31181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31182 (exit $ac_status); }; }; then
31183 ac_header_compiler=yes
31184 else
31185 echo "$as_me: failed program was:" >&5
31186 sed 's/^/| /' conftest.$ac_ext >&5
31188 ac_header_compiler=no
31190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31191 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31192 echo "${ECHO_T}$ac_header_compiler" >&6
31194 # Is the header present?
31195 echo "$as_me:$LINENO: checking locale.h presence" >&5
31196 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
31197 cat >conftest.$ac_ext <<_ACEOF
31198 /* confdefs.h. */
31199 _ACEOF
31200 cat confdefs.h >>conftest.$ac_ext
31201 cat >>conftest.$ac_ext <<_ACEOF
31202 /* end confdefs.h. */
31203 #include <locale.h>
31204 _ACEOF
31205 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31206 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31207 ac_status=$?
31208 grep -v '^ *+' conftest.er1 >conftest.err
31209 rm -f conftest.er1
31210 cat conftest.err >&5
31211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31212 (exit $ac_status); } >/dev/null; then
31213 if test -s conftest.err; then
31214 ac_cpp_err=$ac_c_preproc_warn_flag
31215 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31216 else
31217 ac_cpp_err=
31219 else
31220 ac_cpp_err=yes
31222 if test -z "$ac_cpp_err"; then
31223 ac_header_preproc=yes
31224 else
31225 echo "$as_me: failed program was:" >&5
31226 sed 's/^/| /' conftest.$ac_ext >&5
31228 ac_header_preproc=no
31230 rm -f conftest.err conftest.$ac_ext
31231 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31232 echo "${ECHO_T}$ac_header_preproc" >&6
31234 # So? What about this header?
31235 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31236 yes:no: )
31237 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
31238 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31239 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
31240 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
31241 ac_header_preproc=yes
31243 no:yes:* )
31244 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
31245 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
31246 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
31247 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
31248 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
31249 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
31250 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
31251 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
31252 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
31253 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
31254 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
31255 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
31257 cat <<\_ASBOX
31258 ## ----------------------------------------- ##
31259 ## Report this to the package-unused lists. ##
31260 ## ----------------------------------------- ##
31261 _ASBOX
31263 sed "s/^/$as_me: WARNING: /" >&2
31265 esac
31266 echo "$as_me:$LINENO: checking for locale.h" >&5
31267 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
31268 if test "${ac_cv_header_locale_h+set}" = set; then
31269 echo $ECHO_N "(cached) $ECHO_C" >&6
31270 else
31271 ac_cv_header_locale_h=$ac_header_preproc
31273 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
31274 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
31277 if test $ac_cv_header_locale_h = yes; then
31279 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
31280 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
31281 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
31282 echo $ECHO_N "(cached) $ECHO_C" >&6
31283 else
31284 if test x$gcc_no_link = xyes; then
31285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31287 { (exit 1); exit 1; }; }
31289 cat >conftest.$ac_ext <<_ACEOF
31290 /* confdefs.h. */
31291 _ACEOF
31292 cat confdefs.h >>conftest.$ac_ext
31293 cat >>conftest.$ac_ext <<_ACEOF
31294 /* end confdefs.h. */
31295 #include <locale.h>
31297 main ()
31299 return LC_MESSAGES
31301 return 0;
31303 _ACEOF
31304 rm -f conftest.$ac_objext conftest$ac_exeext
31305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31306 (eval $ac_link) 2>conftest.er1
31307 ac_status=$?
31308 grep -v '^ *+' conftest.er1 >conftest.err
31309 rm -f conftest.er1
31310 cat conftest.err >&5
31311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31312 (exit $ac_status); } &&
31313 { ac_try='test -z "$ac_c_werror_flag"
31314 || test ! -s conftest.err'
31315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31316 (eval $ac_try) 2>&5
31317 ac_status=$?
31318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31319 (exit $ac_status); }; } &&
31320 { ac_try='test -s conftest$ac_exeext'
31321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31322 (eval $ac_try) 2>&5
31323 ac_status=$?
31324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31325 (exit $ac_status); }; }; then
31326 ac_cv_val_LC_MESSAGES=yes
31327 else
31328 echo "$as_me: failed program was:" >&5
31329 sed 's/^/| /' conftest.$ac_ext >&5
31331 ac_cv_val_LC_MESSAGES=no
31333 rm -f conftest.err conftest.$ac_objext \
31334 conftest$ac_exeext conftest.$ac_ext
31336 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
31337 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
31338 if test $ac_cv_val_LC_MESSAGES = yes; then
31340 cat >>confdefs.h <<\_ACEOF
31341 #define HAVE_LC_MESSAGES 1
31342 _ACEOF
31351 cat >conftest.$ac_ext <<_ACEOF
31352 /* confdefs.h. */
31353 _ACEOF
31354 cat confdefs.h >>conftest.$ac_ext
31355 cat >>conftest.$ac_ext <<_ACEOF
31356 /* end confdefs.h. */
31357 #include <setjmp.h>
31359 main ()
31361 sigjmp_buf env;
31362 while (! sigsetjmp (env, 1))
31363 siglongjmp (env, 1);
31366 return 0;
31368 _ACEOF
31369 rm -f conftest.$ac_objext
31370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31371 (eval $ac_compile) 2>conftest.er1
31372 ac_status=$?
31373 grep -v '^ *+' conftest.er1 >conftest.err
31374 rm -f conftest.er1
31375 cat conftest.err >&5
31376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31377 (exit $ac_status); } &&
31378 { ac_try='test -z "$ac_c_werror_flag"
31379 || test ! -s conftest.err'
31380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31381 (eval $ac_try) 2>&5
31382 ac_status=$?
31383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31384 (exit $ac_status); }; } &&
31385 { ac_try='test -s conftest.$ac_objext'
31386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31387 (eval $ac_try) 2>&5
31388 ac_status=$?
31389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31390 (exit $ac_status); }; }; then
31392 cat >>confdefs.h <<\_ACEOF
31393 #define HAVE_SIGSETJMP 1
31394 _ACEOF
31396 else
31397 echo "$as_me: failed program was:" >&5
31398 sed 's/^/| /' conftest.$ac_ext >&5
31401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31403 if test x$gcc_no_link = xyes; then
31404 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
31405 ac_cv_func_mmap_fixed_mapped=no
31408 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
31411 for ac_header in stdlib.h unistd.h
31413 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31414 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31415 echo "$as_me:$LINENO: checking for $ac_header" >&5
31416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31418 echo $ECHO_N "(cached) $ECHO_C" >&6
31420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31421 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31422 else
31423 # Is the header compilable?
31424 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31425 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31426 cat >conftest.$ac_ext <<_ACEOF
31427 /* confdefs.h. */
31428 _ACEOF
31429 cat confdefs.h >>conftest.$ac_ext
31430 cat >>conftest.$ac_ext <<_ACEOF
31431 /* end confdefs.h. */
31432 $ac_includes_default
31433 #include <$ac_header>
31434 _ACEOF
31435 rm -f conftest.$ac_objext
31436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31437 (eval $ac_compile) 2>conftest.er1
31438 ac_status=$?
31439 grep -v '^ *+' conftest.er1 >conftest.err
31440 rm -f conftest.er1
31441 cat conftest.err >&5
31442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31443 (exit $ac_status); } &&
31444 { ac_try='test -z "$ac_c_werror_flag"
31445 || test ! -s conftest.err'
31446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31447 (eval $ac_try) 2>&5
31448 ac_status=$?
31449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31450 (exit $ac_status); }; } &&
31451 { ac_try='test -s conftest.$ac_objext'
31452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31453 (eval $ac_try) 2>&5
31454 ac_status=$?
31455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31456 (exit $ac_status); }; }; then
31457 ac_header_compiler=yes
31458 else
31459 echo "$as_me: failed program was:" >&5
31460 sed 's/^/| /' conftest.$ac_ext >&5
31462 ac_header_compiler=no
31464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31465 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31466 echo "${ECHO_T}$ac_header_compiler" >&6
31468 # Is the header present?
31469 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31470 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31471 cat >conftest.$ac_ext <<_ACEOF
31472 /* confdefs.h. */
31473 _ACEOF
31474 cat confdefs.h >>conftest.$ac_ext
31475 cat >>conftest.$ac_ext <<_ACEOF
31476 /* end confdefs.h. */
31477 #include <$ac_header>
31478 _ACEOF
31479 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31480 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31481 ac_status=$?
31482 grep -v '^ *+' conftest.er1 >conftest.err
31483 rm -f conftest.er1
31484 cat conftest.err >&5
31485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31486 (exit $ac_status); } >/dev/null; then
31487 if test -s conftest.err; then
31488 ac_cpp_err=$ac_c_preproc_warn_flag
31489 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31490 else
31491 ac_cpp_err=
31493 else
31494 ac_cpp_err=yes
31496 if test -z "$ac_cpp_err"; then
31497 ac_header_preproc=yes
31498 else
31499 echo "$as_me: failed program was:" >&5
31500 sed 's/^/| /' conftest.$ac_ext >&5
31502 ac_header_preproc=no
31504 rm -f conftest.err conftest.$ac_ext
31505 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31506 echo "${ECHO_T}$ac_header_preproc" >&6
31508 # So? What about this header?
31509 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31510 yes:no: )
31511 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31512 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31513 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31514 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31515 ac_header_preproc=yes
31517 no:yes:* )
31518 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31519 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31520 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31521 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31522 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31523 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31524 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31525 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31526 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31527 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31528 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31529 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31531 cat <<\_ASBOX
31532 ## ----------------------------------------- ##
31533 ## Report this to the package-unused lists. ##
31534 ## ----------------------------------------- ##
31535 _ASBOX
31537 sed "s/^/$as_me: WARNING: /" >&2
31539 esac
31540 echo "$as_me:$LINENO: checking for $ac_header" >&5
31541 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31542 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31543 echo $ECHO_N "(cached) $ECHO_C" >&6
31544 else
31545 eval "$as_ac_Header=\$ac_header_preproc"
31547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31548 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31551 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31552 cat >>confdefs.h <<_ACEOF
31553 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31554 _ACEOF
31558 done
31561 for ac_func in getpagesize
31563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31564 echo "$as_me:$LINENO: checking for $ac_func" >&5
31565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31566 if eval "test \"\${$as_ac_var+set}\" = set"; then
31567 echo $ECHO_N "(cached) $ECHO_C" >&6
31568 else
31569 if test x$gcc_no_link = xyes; then
31570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31572 { (exit 1); exit 1; }; }
31574 cat >conftest.$ac_ext <<_ACEOF
31575 /* confdefs.h. */
31576 _ACEOF
31577 cat confdefs.h >>conftest.$ac_ext
31578 cat >>conftest.$ac_ext <<_ACEOF
31579 /* end confdefs.h. */
31580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31582 #define $ac_func innocuous_$ac_func
31584 /* System header to define __stub macros and hopefully few prototypes,
31585 which can conflict with char $ac_func (); below.
31586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31587 <limits.h> exists even on freestanding compilers. */
31589 #ifdef __STDC__
31590 # include <limits.h>
31591 #else
31592 # include <assert.h>
31593 #endif
31595 #undef $ac_func
31597 /* Override any gcc2 internal prototype to avoid an error. */
31598 #ifdef __cplusplus
31599 extern "C"
31601 #endif
31602 /* We use char because int might match the return type of a gcc2
31603 builtin and then its argument prototype would still apply. */
31604 char $ac_func ();
31605 /* The GNU C library defines this for functions which it implements
31606 to always fail with ENOSYS. Some functions are actually named
31607 something starting with __ and the normal name is an alias. */
31608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31609 choke me
31610 #else
31611 char (*f) () = $ac_func;
31612 #endif
31613 #ifdef __cplusplus
31615 #endif
31618 main ()
31620 return f != $ac_func;
31622 return 0;
31624 _ACEOF
31625 rm -f conftest.$ac_objext conftest$ac_exeext
31626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31627 (eval $ac_link) 2>conftest.er1
31628 ac_status=$?
31629 grep -v '^ *+' conftest.er1 >conftest.err
31630 rm -f conftest.er1
31631 cat conftest.err >&5
31632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31633 (exit $ac_status); } &&
31634 { ac_try='test -z "$ac_c_werror_flag"
31635 || test ! -s conftest.err'
31636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31637 (eval $ac_try) 2>&5
31638 ac_status=$?
31639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31640 (exit $ac_status); }; } &&
31641 { ac_try='test -s conftest$ac_exeext'
31642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31643 (eval $ac_try) 2>&5
31644 ac_status=$?
31645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31646 (exit $ac_status); }; }; then
31647 eval "$as_ac_var=yes"
31648 else
31649 echo "$as_me: failed program was:" >&5
31650 sed 's/^/| /' conftest.$ac_ext >&5
31652 eval "$as_ac_var=no"
31654 rm -f conftest.err conftest.$ac_objext \
31655 conftest$ac_exeext conftest.$ac_ext
31657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31659 if test `eval echo '${'$as_ac_var'}'` = yes; then
31660 cat >>confdefs.h <<_ACEOF
31661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31662 _ACEOF
31665 done
31667 echo "$as_me:$LINENO: checking for working mmap" >&5
31668 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
31669 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
31670 echo $ECHO_N "(cached) $ECHO_C" >&6
31671 else
31672 if test "$cross_compiling" = yes; then
31673 ac_cv_func_mmap_fixed_mapped=no
31674 else
31675 cat >conftest.$ac_ext <<_ACEOF
31676 /* confdefs.h. */
31677 _ACEOF
31678 cat confdefs.h >>conftest.$ac_ext
31679 cat >>conftest.$ac_ext <<_ACEOF
31680 /* end confdefs.h. */
31681 $ac_includes_default
31682 /* malloc might have been renamed as rpl_malloc. */
31683 #undef malloc
31685 /* Thanks to Mike Haertel and Jim Avera for this test.
31686 Here is a matrix of mmap possibilities:
31687 mmap private not fixed
31688 mmap private fixed at somewhere currently unmapped
31689 mmap private fixed at somewhere already mapped
31690 mmap shared not fixed
31691 mmap shared fixed at somewhere currently unmapped
31692 mmap shared fixed at somewhere already mapped
31693 For private mappings, we should verify that changes cannot be read()
31694 back from the file, nor mmap's back from the file at a different
31695 address. (There have been systems where private was not correctly
31696 implemented like the infamous i386 svr4.0, and systems where the
31697 VM page cache was not coherent with the file system buffer cache
31698 like early versions of FreeBSD and possibly contemporary NetBSD.)
31699 For shared mappings, we should conversely verify that changes get
31700 propagated back to all the places they're supposed to be.
31702 Grep wants private fixed already mapped.
31703 The main things grep needs to know about mmap are:
31704 * does it exist and is it safe to write into the mmap'd area
31705 * how to use it (BSD variants) */
31707 #include <fcntl.h>
31708 #include <sys/mman.h>
31710 #if !STDC_HEADERS && !HAVE_STDLIB_H
31711 char *malloc ();
31712 #endif
31714 /* This mess was copied from the GNU getpagesize.h. */
31715 #if !HAVE_GETPAGESIZE
31716 /* Assume that all systems that can run configure have sys/param.h. */
31717 # if !HAVE_SYS_PARAM_H
31718 # define HAVE_SYS_PARAM_H 1
31719 # endif
31721 # ifdef _SC_PAGESIZE
31722 # define getpagesize() sysconf(_SC_PAGESIZE)
31723 # else /* no _SC_PAGESIZE */
31724 # if HAVE_SYS_PARAM_H
31725 # include <sys/param.h>
31726 # ifdef EXEC_PAGESIZE
31727 # define getpagesize() EXEC_PAGESIZE
31728 # else /* no EXEC_PAGESIZE */
31729 # ifdef NBPG
31730 # define getpagesize() NBPG * CLSIZE
31731 # ifndef CLSIZE
31732 # define CLSIZE 1
31733 # endif /* no CLSIZE */
31734 # else /* no NBPG */
31735 # ifdef NBPC
31736 # define getpagesize() NBPC
31737 # else /* no NBPC */
31738 # ifdef PAGESIZE
31739 # define getpagesize() PAGESIZE
31740 # endif /* PAGESIZE */
31741 # endif /* no NBPC */
31742 # endif /* no NBPG */
31743 # endif /* no EXEC_PAGESIZE */
31744 # else /* no HAVE_SYS_PARAM_H */
31745 # define getpagesize() 8192 /* punt totally */
31746 # endif /* no HAVE_SYS_PARAM_H */
31747 # endif /* no _SC_PAGESIZE */
31749 #endif /* no HAVE_GETPAGESIZE */
31752 main ()
31754 char *data, *data2, *data3;
31755 int i, pagesize;
31756 int fd;
31758 pagesize = getpagesize ();
31760 /* First, make a file with some known garbage in it. */
31761 data = (char *) malloc (pagesize);
31762 if (!data)
31763 exit (1);
31764 for (i = 0; i < pagesize; ++i)
31765 *(data + i) = rand ();
31766 umask (0);
31767 fd = creat ("conftest.mmap", 0600);
31768 if (fd < 0)
31769 exit (1);
31770 if (write (fd, data, pagesize) != pagesize)
31771 exit (1);
31772 close (fd);
31774 /* Next, try to mmap the file at a fixed address which already has
31775 something else allocated at it. If we can, also make sure that
31776 we see the same garbage. */
31777 fd = open ("conftest.mmap", O_RDWR);
31778 if (fd < 0)
31779 exit (1);
31780 data2 = (char *) malloc (2 * pagesize);
31781 if (!data2)
31782 exit (1);
31783 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
31784 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
31785 MAP_PRIVATE | MAP_FIXED, fd, 0L))
31786 exit (1);
31787 for (i = 0; i < pagesize; ++i)
31788 if (*(data + i) != *(data2 + i))
31789 exit (1);
31791 /* Finally, make sure that changes to the mapped area do not
31792 percolate back to the file as seen by read(). (This is a bug on
31793 some variants of i386 svr4.0.) */
31794 for (i = 0; i < pagesize; ++i)
31795 *(data2 + i) = *(data2 + i) + 1;
31796 data3 = (char *) malloc (pagesize);
31797 if (!data3)
31798 exit (1);
31799 if (read (fd, data3, pagesize) != pagesize)
31800 exit (1);
31801 for (i = 0; i < pagesize; ++i)
31802 if (*(data + i) != *(data3 + i))
31803 exit (1);
31804 close (fd);
31805 exit (0);
31807 _ACEOF
31808 rm -f conftest$ac_exeext
31809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31810 (eval $ac_link) 2>&5
31811 ac_status=$?
31812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31813 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31815 (eval $ac_try) 2>&5
31816 ac_status=$?
31817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31818 (exit $ac_status); }; }; then
31819 ac_cv_func_mmap_fixed_mapped=yes
31820 else
31821 echo "$as_me: program exited with status $ac_status" >&5
31822 echo "$as_me: failed program was:" >&5
31823 sed 's/^/| /' conftest.$ac_ext >&5
31825 ( exit $ac_status )
31826 ac_cv_func_mmap_fixed_mapped=no
31828 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31831 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
31832 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
31833 if test $ac_cv_func_mmap_fixed_mapped = yes; then
31835 cat >>confdefs.h <<\_ACEOF
31836 #define HAVE_MMAP 1
31837 _ACEOF
31840 rm -f conftest.mmap
31844 # For iconv support.
31846 if test "X$prefix" = "XNONE"; then
31847 acl_final_prefix="$ac_default_prefix"
31848 else
31849 acl_final_prefix="$prefix"
31851 if test "X$exec_prefix" = "XNONE"; then
31852 acl_final_exec_prefix='${prefix}'
31853 else
31854 acl_final_exec_prefix="$exec_prefix"
31856 acl_save_prefix="$prefix"
31857 prefix="$acl_final_prefix"
31858 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
31859 prefix="$acl_save_prefix"
31862 # Check whether --with-gnu-ld or --without-gnu-ld was given.
31863 if test "${with_gnu_ld+set}" = set; then
31864 withval="$with_gnu_ld"
31865 test "$withval" = no || with_gnu_ld=yes
31866 else
31867 with_gnu_ld=no
31869 # Prepare PATH_SEPARATOR.
31870 # The user is always right.
31871 if test "${PATH_SEPARATOR+set}" != set; then
31872 echo "#! /bin/sh" >conf$$.sh
31873 echo "exit 0" >>conf$$.sh
31874 chmod +x conf$$.sh
31875 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
31876 PATH_SEPARATOR=';'
31877 else
31878 PATH_SEPARATOR=:
31880 rm -f conf$$.sh
31882 ac_prog=ld
31883 if test "$GCC" = yes; then
31884 # Check if gcc -print-prog-name=ld gives a path.
31885 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
31886 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
31887 case $host in
31888 *-*-mingw*)
31889 # gcc leaves a trailing carriage return which upsets mingw
31890 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
31892 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
31893 esac
31894 case $ac_prog in
31895 # Accept absolute paths.
31896 [\\/]* | [A-Za-z]:[\\/]*)
31897 re_direlt='/[^/][^/]*/\.\./'
31898 # Canonicalize the path of ld
31899 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
31900 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
31901 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
31902 done
31903 test -z "$LD" && LD="$ac_prog"
31906 # If it fails, then pretend we aren't using GCC.
31907 ac_prog=ld
31910 # If it is relative, then search for the first ld in PATH.
31911 with_gnu_ld=unknown
31913 esac
31914 elif test "$with_gnu_ld" = yes; then
31915 echo "$as_me:$LINENO: checking for GNU ld" >&5
31916 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
31917 else
31918 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
31919 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
31921 if test "${acl_cv_path_LD+set}" = set; then
31922 echo $ECHO_N "(cached) $ECHO_C" >&6
31923 else
31924 if test -z "$LD"; then
31925 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
31926 for ac_dir in $PATH; do
31927 test -z "$ac_dir" && ac_dir=.
31928 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
31929 acl_cv_path_LD="$ac_dir/$ac_prog"
31930 # Check to see if the program is GNU ld. I'd rather use --version,
31931 # but apparently some GNU ld's only accept -v.
31932 # Break only if it was the GNU/non-GNU ld that we prefer.
31933 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
31934 test "$with_gnu_ld" != no && break
31935 else
31936 test "$with_gnu_ld" != yes && break
31939 done
31940 IFS="$ac_save_ifs"
31941 else
31942 acl_cv_path_LD="$LD" # Let the user override the test with a path.
31946 LD="$acl_cv_path_LD"
31947 if test -n "$LD"; then
31948 echo "$as_me:$LINENO: result: $LD" >&5
31949 echo "${ECHO_T}$LD" >&6
31950 else
31951 echo "$as_me:$LINENO: result: no" >&5
31952 echo "${ECHO_T}no" >&6
31954 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
31955 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
31956 { (exit 1); exit 1; }; }
31957 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
31958 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
31959 if test "${acl_cv_prog_gnu_ld+set}" = set; then
31960 echo $ECHO_N "(cached) $ECHO_C" >&6
31961 else
31962 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
31963 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
31964 acl_cv_prog_gnu_ld=yes
31965 else
31966 acl_cv_prog_gnu_ld=no
31969 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
31970 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
31971 with_gnu_ld=$acl_cv_prog_gnu_ld
31975 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
31976 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
31977 if test "${acl_cv_rpath+set}" = set; then
31978 echo $ECHO_N "(cached) $ECHO_C" >&6
31979 else
31981 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
31982 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
31983 . ./conftest.sh
31984 rm -f ./conftest.sh
31985 acl_cv_rpath=done
31988 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
31989 echo "${ECHO_T}$acl_cv_rpath" >&6
31990 wl="$acl_cv_wl"
31991 libext="$acl_cv_libext"
31992 shlibext="$acl_cv_shlibext"
31993 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
31994 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
31995 hardcode_direct="$acl_cv_hardcode_direct"
31996 hardcode_minus_L="$acl_cv_hardcode_minus_L"
31997 # Check whether --enable-rpath or --disable-rpath was given.
31998 if test "${enable_rpath+set}" = set; then
31999 enableval="$enable_rpath"
32001 else
32002 enable_rpath=yes
32011 use_additional=yes
32013 acl_save_prefix="$prefix"
32014 prefix="$acl_final_prefix"
32015 acl_save_exec_prefix="$exec_prefix"
32016 exec_prefix="$acl_final_exec_prefix"
32018 eval additional_includedir=\"$includedir\"
32019 eval additional_libdir=\"$libdir\"
32021 exec_prefix="$acl_save_exec_prefix"
32022 prefix="$acl_save_prefix"
32025 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
32026 if test "${with_libiconv_prefix+set}" = set; then
32027 withval="$with_libiconv_prefix"
32029 if test "X$withval" = "Xno"; then
32030 use_additional=no
32031 else
32032 if test "X$withval" = "X"; then
32034 acl_save_prefix="$prefix"
32035 prefix="$acl_final_prefix"
32036 acl_save_exec_prefix="$exec_prefix"
32037 exec_prefix="$acl_final_exec_prefix"
32039 eval additional_includedir=\"$includedir\"
32040 eval additional_libdir=\"$libdir\"
32042 exec_prefix="$acl_save_exec_prefix"
32043 prefix="$acl_save_prefix"
32045 else
32046 additional_includedir="$withval/include"
32047 additional_libdir="$withval/lib"
32052 LIBICONV=
32053 LTLIBICONV=
32054 INCICONV=
32055 rpathdirs=
32056 ltrpathdirs=
32057 names_already_handled=
32058 names_next_round='iconv '
32059 while test -n "$names_next_round"; do
32060 names_this_round="$names_next_round"
32061 names_next_round=
32062 for name in $names_this_round; do
32063 already_handled=
32064 for n in $names_already_handled; do
32065 if test "$n" = "$name"; then
32066 already_handled=yes
32067 break
32069 done
32070 if test -z "$already_handled"; then
32071 names_already_handled="$names_already_handled $name"
32072 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
32073 eval value=\"\$HAVE_LIB$uppername\"
32074 if test -n "$value"; then
32075 if test "$value" = yes; then
32076 eval value=\"\$LIB$uppername\"
32077 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
32078 eval value=\"\$LTLIB$uppername\"
32079 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
32080 else
32083 else
32084 found_dir=
32085 found_la=
32086 found_so=
32087 found_a=
32088 if test $use_additional = yes; then
32089 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
32090 found_dir="$additional_libdir"
32091 found_so="$additional_libdir/lib$name.$shlibext"
32092 if test -f "$additional_libdir/lib$name.la"; then
32093 found_la="$additional_libdir/lib$name.la"
32095 else
32096 if test -f "$additional_libdir/lib$name.$libext"; then
32097 found_dir="$additional_libdir"
32098 found_a="$additional_libdir/lib$name.$libext"
32099 if test -f "$additional_libdir/lib$name.la"; then
32100 found_la="$additional_libdir/lib$name.la"
32105 if test "X$found_dir" = "X"; then
32106 for x in $LDFLAGS $LTLIBICONV; do
32108 acl_save_prefix="$prefix"
32109 prefix="$acl_final_prefix"
32110 acl_save_exec_prefix="$exec_prefix"
32111 exec_prefix="$acl_final_exec_prefix"
32112 eval x=\"$x\"
32113 exec_prefix="$acl_save_exec_prefix"
32114 prefix="$acl_save_prefix"
32116 case "$x" in
32117 -L*)
32118 dir=`echo "X$x" | sed -e 's/^X-L//'`
32119 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
32120 found_dir="$dir"
32121 found_so="$dir/lib$name.$shlibext"
32122 if test -f "$dir/lib$name.la"; then
32123 found_la="$dir/lib$name.la"
32125 else
32126 if test -f "$dir/lib$name.$libext"; then
32127 found_dir="$dir"
32128 found_a="$dir/lib$name.$libext"
32129 if test -f "$dir/lib$name.la"; then
32130 found_la="$dir/lib$name.la"
32135 esac
32136 if test "X$found_dir" != "X"; then
32137 break
32139 done
32141 if test "X$found_dir" != "X"; then
32142 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
32143 if test "X$found_so" != "X"; then
32144 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
32145 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
32146 else
32147 haveit=
32148 for x in $ltrpathdirs; do
32149 if test "X$x" = "X$found_dir"; then
32150 haveit=yes
32151 break
32153 done
32154 if test -z "$haveit"; then
32155 ltrpathdirs="$ltrpathdirs $found_dir"
32157 if test "$hardcode_direct" = yes; then
32158 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
32159 else
32160 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
32161 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
32162 haveit=
32163 for x in $rpathdirs; do
32164 if test "X$x" = "X$found_dir"; then
32165 haveit=yes
32166 break
32168 done
32169 if test -z "$haveit"; then
32170 rpathdirs="$rpathdirs $found_dir"
32172 else
32173 haveit=
32174 for x in $LDFLAGS $LIBICONV; do
32176 acl_save_prefix="$prefix"
32177 prefix="$acl_final_prefix"
32178 acl_save_exec_prefix="$exec_prefix"
32179 exec_prefix="$acl_final_exec_prefix"
32180 eval x=\"$x\"
32181 exec_prefix="$acl_save_exec_prefix"
32182 prefix="$acl_save_prefix"
32184 if test "X$x" = "X-L$found_dir"; then
32185 haveit=yes
32186 break
32188 done
32189 if test -z "$haveit"; then
32190 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
32192 if test "$hardcode_minus_L" != no; then
32193 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
32194 else
32195 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
32200 else
32201 if test "X$found_a" != "X"; then
32202 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
32203 else
32204 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
32207 additional_includedir=
32208 case "$found_dir" in
32209 */lib | */lib/)
32210 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
32211 additional_includedir="$basedir/include"
32213 esac
32214 if test "X$additional_includedir" != "X"; then
32215 if test "X$additional_includedir" != "X/usr/include"; then
32216 haveit=
32217 if test "X$additional_includedir" = "X/usr/local/include"; then
32218 if test -n "$GCC"; then
32219 case $host_os in
32220 linux*) haveit=yes;;
32221 esac
32224 if test -z "$haveit"; then
32225 for x in $CPPFLAGS $INCICONV; do
32227 acl_save_prefix="$prefix"
32228 prefix="$acl_final_prefix"
32229 acl_save_exec_prefix="$exec_prefix"
32230 exec_prefix="$acl_final_exec_prefix"
32231 eval x=\"$x\"
32232 exec_prefix="$acl_save_exec_prefix"
32233 prefix="$acl_save_prefix"
32235 if test "X$x" = "X-I$additional_includedir"; then
32236 haveit=yes
32237 break
32239 done
32240 if test -z "$haveit"; then
32241 if test -d "$additional_includedir"; then
32242 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
32248 if test -n "$found_la"; then
32249 save_libdir="$libdir"
32250 case "$found_la" in
32251 */* | *\\*) . "$found_la" ;;
32252 *) . "./$found_la" ;;
32253 esac
32254 libdir="$save_libdir"
32255 for dep in $dependency_libs; do
32256 case "$dep" in
32257 -L*)
32258 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
32259 if test "X$additional_libdir" != "X/usr/lib"; then
32260 haveit=
32261 if test "X$additional_libdir" = "X/usr/local/lib"; then
32262 if test -n "$GCC"; then
32263 case $host_os in
32264 linux*) haveit=yes;;
32265 esac
32268 if test -z "$haveit"; then
32269 haveit=
32270 for x in $LDFLAGS $LIBICONV; do
32272 acl_save_prefix="$prefix"
32273 prefix="$acl_final_prefix"
32274 acl_save_exec_prefix="$exec_prefix"
32275 exec_prefix="$acl_final_exec_prefix"
32276 eval x=\"$x\"
32277 exec_prefix="$acl_save_exec_prefix"
32278 prefix="$acl_save_prefix"
32280 if test "X$x" = "X-L$additional_libdir"; then
32281 haveit=yes
32282 break
32284 done
32285 if test -z "$haveit"; then
32286 if test -d "$additional_libdir"; then
32287 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
32290 haveit=
32291 for x in $LDFLAGS $LTLIBICONV; do
32293 acl_save_prefix="$prefix"
32294 prefix="$acl_final_prefix"
32295 acl_save_exec_prefix="$exec_prefix"
32296 exec_prefix="$acl_final_exec_prefix"
32297 eval x=\"$x\"
32298 exec_prefix="$acl_save_exec_prefix"
32299 prefix="$acl_save_prefix"
32301 if test "X$x" = "X-L$additional_libdir"; then
32302 haveit=yes
32303 break
32305 done
32306 if test -z "$haveit"; then
32307 if test -d "$additional_libdir"; then
32308 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
32314 -R*)
32315 dir=`echo "X$dep" | sed -e 's/^X-R//'`
32316 if test "$enable_rpath" != no; then
32317 haveit=
32318 for x in $rpathdirs; do
32319 if test "X$x" = "X$dir"; then
32320 haveit=yes
32321 break
32323 done
32324 if test -z "$haveit"; then
32325 rpathdirs="$rpathdirs $dir"
32327 haveit=
32328 for x in $ltrpathdirs; do
32329 if test "X$x" = "X$dir"; then
32330 haveit=yes
32331 break
32333 done
32334 if test -z "$haveit"; then
32335 ltrpathdirs="$ltrpathdirs $dir"
32339 -l*)
32340 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
32342 *.la)
32343 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
32346 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
32347 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
32349 esac
32350 done
32352 else
32353 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
32354 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
32358 done
32359 done
32360 if test "X$rpathdirs" != "X"; then
32361 if test -n "$hardcode_libdir_separator"; then
32362 alldirs=
32363 for found_dir in $rpathdirs; do
32364 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
32365 done
32366 acl_save_libdir="$libdir"
32367 libdir="$alldirs"
32368 eval flag=\"$hardcode_libdir_flag_spec\"
32369 libdir="$acl_save_libdir"
32370 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
32371 else
32372 for found_dir in $rpathdirs; do
32373 acl_save_libdir="$libdir"
32374 libdir="$found_dir"
32375 eval flag=\"$hardcode_libdir_flag_spec\"
32376 libdir="$acl_save_libdir"
32377 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
32378 done
32381 if test "X$ltrpathdirs" != "X"; then
32382 for found_dir in $ltrpathdirs; do
32383 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
32384 done
32393 am_save_CPPFLAGS="$CPPFLAGS"
32395 for element in $INCICONV; do
32396 haveit=
32397 for x in $CPPFLAGS; do
32399 acl_save_prefix="$prefix"
32400 prefix="$acl_final_prefix"
32401 acl_save_exec_prefix="$exec_prefix"
32402 exec_prefix="$acl_final_exec_prefix"
32403 eval x=\"$x\"
32404 exec_prefix="$acl_save_exec_prefix"
32405 prefix="$acl_save_prefix"
32407 if test "X$x" = "X$element"; then
32408 haveit=yes
32409 break
32411 done
32412 if test -z "$haveit"; then
32413 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
32415 done
32418 echo "$as_me:$LINENO: checking for iconv" >&5
32419 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
32420 if test "${am_cv_func_iconv+set}" = set; then
32421 echo $ECHO_N "(cached) $ECHO_C" >&6
32422 else
32424 am_cv_func_iconv="no, consider installing GNU libiconv"
32425 am_cv_lib_iconv=no
32426 if test x$gcc_no_link = xyes; then
32427 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32429 { (exit 1); exit 1; }; }
32431 cat >conftest.$ac_ext <<_ACEOF
32432 /* confdefs.h. */
32433 _ACEOF
32434 cat confdefs.h >>conftest.$ac_ext
32435 cat >>conftest.$ac_ext <<_ACEOF
32436 /* end confdefs.h. */
32437 #include <stdlib.h>
32438 #include <iconv.h>
32440 main ()
32442 iconv_t cd = iconv_open("","");
32443 iconv(cd,NULL,NULL,NULL,NULL);
32444 iconv_close(cd);
32446 return 0;
32448 _ACEOF
32449 rm -f conftest.$ac_objext conftest$ac_exeext
32450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32451 (eval $ac_link) 2>conftest.er1
32452 ac_status=$?
32453 grep -v '^ *+' conftest.er1 >conftest.err
32454 rm -f conftest.er1
32455 cat conftest.err >&5
32456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32457 (exit $ac_status); } &&
32458 { ac_try='test -z "$ac_c_werror_flag"
32459 || test ! -s conftest.err'
32460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32461 (eval $ac_try) 2>&5
32462 ac_status=$?
32463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32464 (exit $ac_status); }; } &&
32465 { ac_try='test -s conftest$ac_exeext'
32466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32467 (eval $ac_try) 2>&5
32468 ac_status=$?
32469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32470 (exit $ac_status); }; }; then
32471 am_cv_func_iconv=yes
32472 else
32473 echo "$as_me: failed program was:" >&5
32474 sed 's/^/| /' conftest.$ac_ext >&5
32477 rm -f conftest.err conftest.$ac_objext \
32478 conftest$ac_exeext conftest.$ac_ext
32479 if test "$am_cv_func_iconv" != yes; then
32480 am_save_LIBS="$LIBS"
32481 LIBS="$LIBS $LIBICONV"
32482 if test x$gcc_no_link = xyes; then
32483 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32485 { (exit 1); exit 1; }; }
32487 cat >conftest.$ac_ext <<_ACEOF
32488 /* confdefs.h. */
32489 _ACEOF
32490 cat confdefs.h >>conftest.$ac_ext
32491 cat >>conftest.$ac_ext <<_ACEOF
32492 /* end confdefs.h. */
32493 #include <stdlib.h>
32494 #include <iconv.h>
32496 main ()
32498 iconv_t cd = iconv_open("","");
32499 iconv(cd,NULL,NULL,NULL,NULL);
32500 iconv_close(cd);
32502 return 0;
32504 _ACEOF
32505 rm -f conftest.$ac_objext conftest$ac_exeext
32506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32507 (eval $ac_link) 2>conftest.er1
32508 ac_status=$?
32509 grep -v '^ *+' conftest.er1 >conftest.err
32510 rm -f conftest.er1
32511 cat conftest.err >&5
32512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32513 (exit $ac_status); } &&
32514 { ac_try='test -z "$ac_c_werror_flag"
32515 || test ! -s conftest.err'
32516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32517 (eval $ac_try) 2>&5
32518 ac_status=$?
32519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32520 (exit $ac_status); }; } &&
32521 { ac_try='test -s conftest$ac_exeext'
32522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32523 (eval $ac_try) 2>&5
32524 ac_status=$?
32525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32526 (exit $ac_status); }; }; then
32527 am_cv_lib_iconv=yes
32528 am_cv_func_iconv=yes
32529 else
32530 echo "$as_me: failed program was:" >&5
32531 sed 's/^/| /' conftest.$ac_ext >&5
32534 rm -f conftest.err conftest.$ac_objext \
32535 conftest$ac_exeext conftest.$ac_ext
32536 LIBS="$am_save_LIBS"
32540 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
32541 echo "${ECHO_T}$am_cv_func_iconv" >&6
32542 if test "$am_cv_func_iconv" = yes; then
32544 cat >>confdefs.h <<\_ACEOF
32545 #define HAVE_ICONV 1
32546 _ACEOF
32549 if test "$am_cv_lib_iconv" = yes; then
32550 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
32551 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
32552 echo "$as_me:$LINENO: result: $LIBICONV" >&5
32553 echo "${ECHO_T}$LIBICONV" >&6
32554 else
32555 CPPFLAGS="$am_save_CPPFLAGS"
32556 LIBICONV=
32557 LTLIBICONV=
32562 if test "$am_cv_func_iconv" = yes; then
32563 echo "$as_me:$LINENO: checking for iconv declaration" >&5
32564 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
32565 if test "${am_cv_proto_iconv+set}" = set; then
32566 echo $ECHO_N "(cached) $ECHO_C" >&6
32567 else
32569 cat >conftest.$ac_ext <<_ACEOF
32570 /* confdefs.h. */
32571 _ACEOF
32572 cat confdefs.h >>conftest.$ac_ext
32573 cat >>conftest.$ac_ext <<_ACEOF
32574 /* end confdefs.h. */
32576 #include <stdlib.h>
32577 #include <iconv.h>
32578 extern
32579 #ifdef __cplusplus
32581 #endif
32582 #if defined(__STDC__) || defined(__cplusplus)
32583 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
32584 #else
32585 size_t iconv();
32586 #endif
32589 main ()
32593 return 0;
32595 _ACEOF
32596 rm -f conftest.$ac_objext
32597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32598 (eval $ac_compile) 2>conftest.er1
32599 ac_status=$?
32600 grep -v '^ *+' conftest.er1 >conftest.err
32601 rm -f conftest.er1
32602 cat conftest.err >&5
32603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32604 (exit $ac_status); } &&
32605 { ac_try='test -z "$ac_c_werror_flag"
32606 || test ! -s conftest.err'
32607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32608 (eval $ac_try) 2>&5
32609 ac_status=$?
32610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32611 (exit $ac_status); }; } &&
32612 { ac_try='test -s conftest.$ac_objext'
32613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32614 (eval $ac_try) 2>&5
32615 ac_status=$?
32616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32617 (exit $ac_status); }; }; then
32618 am_cv_proto_iconv_arg1=""
32619 else
32620 echo "$as_me: failed program was:" >&5
32621 sed 's/^/| /' conftest.$ac_ext >&5
32623 am_cv_proto_iconv_arg1="const"
32625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32626 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
32629 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
32630 echo "$as_me:$LINENO: result: ${ac_t:-
32631 }$am_cv_proto_iconv" >&5
32632 echo "${ECHO_T}${ac_t:-
32633 }$am_cv_proto_iconv" >&6
32635 cat >>confdefs.h <<_ACEOF
32636 #define ICONV_CONST $am_cv_proto_iconv_arg1
32637 _ACEOF
32642 else
32644 # This lets us hard-code the functionality we know we'll have in the cross
32645 # target environment. "Let" is a sugar-coated word placed on an especially
32646 # dull and tedious hack, actually.
32648 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
32649 # that involve linking, can't be used:
32650 # "cannot open sim-crt0.o"
32651 # "cannot open crt0.o"
32652 # etc. All this is because there currently exists no unified, consistent
32653 # way for top level CC information to be passed down to target directories:
32654 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
32655 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
32656 # crosses can be removed.
32658 # If Canadian cross, then don't pick up tools from the build directory.
32659 # Used only in GLIBCXX_EXPORT_INCLUDES.
32660 if test -n "$with_cross_host" &&
32661 test x"$build_alias" != x"$with_cross_host" &&
32662 test x"$build" != x"$target";
32663 then
32664 CANADIAN=yes
32665 else
32666 CANADIAN=no
32669 # Construct crosses by hand, eliminating bits that need ld...
32670 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
32671 # GLIBCXX_CHECK_MATH_SUPPORT
32673 # First, test for "known" system libraries. We may be using newlib even
32674 # on a hosted environment.
32675 if test "x${with_newlib}" = "xyes"; then
32676 os_include_dir="os/newlib"
32677 cat >>confdefs.h <<\_ACEOF
32678 #define HAVE_HYPOT 1
32679 _ACEOF
32682 # GLIBCXX_CHECK_STDLIB_SUPPORT
32683 cat >>confdefs.h <<\_ACEOF
32684 #define HAVE_STRTOF 1
32685 _ACEOF
32687 # AC_FUNC_MMAP
32688 cat >>confdefs.h <<\_ACEOF
32689 #define HAVE_MMAP 1
32690 _ACEOF
32693 cat >>confdefs.h <<\_ACEOF
32694 #define HAVE_ACOSF 1
32695 _ACEOF
32697 cat >>confdefs.h <<\_ACEOF
32698 #define HAVE_ASINF 1
32699 _ACEOF
32701 cat >>confdefs.h <<\_ACEOF
32702 #define HAVE_ATAN2F 1
32703 _ACEOF
32705 cat >>confdefs.h <<\_ACEOF
32706 #define HAVE_ATANF 1
32707 _ACEOF
32709 cat >>confdefs.h <<\_ACEOF
32710 #define HAVE_CEILF 1
32711 _ACEOF
32713 cat >>confdefs.h <<\_ACEOF
32714 #define HAVE_COPYSIGN 1
32715 _ACEOF
32717 cat >>confdefs.h <<\_ACEOF
32718 #define HAVE_COPYSIGNF 1
32719 _ACEOF
32721 cat >>confdefs.h <<\_ACEOF
32722 #define HAVE_COSF 1
32723 _ACEOF
32725 cat >>confdefs.h <<\_ACEOF
32726 #define HAVE_COSHF 1
32727 _ACEOF
32729 cat >>confdefs.h <<\_ACEOF
32730 #define HAVE_EXPF 1
32731 _ACEOF
32733 cat >>confdefs.h <<\_ACEOF
32734 #define HAVE_FABSF 1
32735 _ACEOF
32737 cat >>confdefs.h <<\_ACEOF
32738 #define HAVE_FLOORF 1
32739 _ACEOF
32741 cat >>confdefs.h <<\_ACEOF
32742 #define HAVE_FMODF 1
32743 _ACEOF
32745 cat >>confdefs.h <<\_ACEOF
32746 #define HAVE_FREXPF 1
32747 _ACEOF
32749 cat >>confdefs.h <<\_ACEOF
32750 #define HAVE_LDEXPF 1
32751 _ACEOF
32753 cat >>confdefs.h <<\_ACEOF
32754 #define HAVE_LOG10F 1
32755 _ACEOF
32757 cat >>confdefs.h <<\_ACEOF
32758 #define HAVE_LOGF 1
32759 _ACEOF
32761 cat >>confdefs.h <<\_ACEOF
32762 #define HAVE_MODFF 1
32763 _ACEOF
32765 cat >>confdefs.h <<\_ACEOF
32766 #define HAVE_POWF 1
32767 _ACEOF
32769 cat >>confdefs.h <<\_ACEOF
32770 #define HAVE_SINF 1
32771 _ACEOF
32773 cat >>confdefs.h <<\_ACEOF
32774 #define HAVE_SINHF 1
32775 _ACEOF
32777 cat >>confdefs.h <<\_ACEOF
32778 #define HAVE_SQRTF 1
32779 _ACEOF
32781 cat >>confdefs.h <<\_ACEOF
32782 #define HAVE_TANF 1
32783 _ACEOF
32785 cat >>confdefs.h <<\_ACEOF
32786 #define HAVE_TANHF 1
32787 _ACEOF
32790 cat >>confdefs.h <<\_ACEOF
32791 #define HAVE_S_ISREG 1
32792 _ACEOF
32794 cat >>confdefs.h <<\_ACEOF
32795 #define HAVE_S_IFREG 1
32796 _ACEOF
32799 cat >>confdefs.h <<\_ACEOF
32800 #define HAVE_ICONV 1
32801 _ACEOF
32803 else
32805 # Base decisions on target environment.
32806 case "${host}" in
32807 arm*-*-symbianelf*)
32808 # This is a freestanding configuration; there is nothing to do here.
32811 *-darwin*)
32812 # Darwin versions vary, but the linker should work in a cross environment,
32813 # so we just check for all the features here.
32814 # Check for available headers.
32828 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
32829 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
32830 sys/types.h
32832 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32833 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32834 echo "$as_me:$LINENO: checking for $ac_header" >&5
32835 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32836 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32837 echo $ECHO_N "(cached) $ECHO_C" >&6
32839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32840 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32841 else
32842 # Is the header compilable?
32843 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32844 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32845 cat >conftest.$ac_ext <<_ACEOF
32846 /* confdefs.h. */
32847 _ACEOF
32848 cat confdefs.h >>conftest.$ac_ext
32849 cat >>conftest.$ac_ext <<_ACEOF
32850 /* end confdefs.h. */
32851 $ac_includes_default
32852 #include <$ac_header>
32853 _ACEOF
32854 rm -f conftest.$ac_objext
32855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32856 (eval $ac_compile) 2>conftest.er1
32857 ac_status=$?
32858 grep -v '^ *+' conftest.er1 >conftest.err
32859 rm -f conftest.er1
32860 cat conftest.err >&5
32861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32862 (exit $ac_status); } &&
32863 { ac_try='test -z "$ac_c_werror_flag"
32864 || test ! -s conftest.err'
32865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32866 (eval $ac_try) 2>&5
32867 ac_status=$?
32868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32869 (exit $ac_status); }; } &&
32870 { ac_try='test -s conftest.$ac_objext'
32871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32872 (eval $ac_try) 2>&5
32873 ac_status=$?
32874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32875 (exit $ac_status); }; }; then
32876 ac_header_compiler=yes
32877 else
32878 echo "$as_me: failed program was:" >&5
32879 sed 's/^/| /' conftest.$ac_ext >&5
32881 ac_header_compiler=no
32883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32884 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32885 echo "${ECHO_T}$ac_header_compiler" >&6
32887 # Is the header present?
32888 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32889 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32890 cat >conftest.$ac_ext <<_ACEOF
32891 /* confdefs.h. */
32892 _ACEOF
32893 cat confdefs.h >>conftest.$ac_ext
32894 cat >>conftest.$ac_ext <<_ACEOF
32895 /* end confdefs.h. */
32896 #include <$ac_header>
32897 _ACEOF
32898 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32899 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32900 ac_status=$?
32901 grep -v '^ *+' conftest.er1 >conftest.err
32902 rm -f conftest.er1
32903 cat conftest.err >&5
32904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32905 (exit $ac_status); } >/dev/null; then
32906 if test -s conftest.err; then
32907 ac_cpp_err=$ac_c_preproc_warn_flag
32908 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32909 else
32910 ac_cpp_err=
32912 else
32913 ac_cpp_err=yes
32915 if test -z "$ac_cpp_err"; then
32916 ac_header_preproc=yes
32917 else
32918 echo "$as_me: failed program was:" >&5
32919 sed 's/^/| /' conftest.$ac_ext >&5
32921 ac_header_preproc=no
32923 rm -f conftest.err conftest.$ac_ext
32924 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32925 echo "${ECHO_T}$ac_header_preproc" >&6
32927 # So? What about this header?
32928 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32929 yes:no: )
32930 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32931 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32932 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32933 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32934 ac_header_preproc=yes
32936 no:yes:* )
32937 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32938 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32939 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32940 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32941 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32942 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32943 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32944 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32945 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32946 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32947 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32948 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32950 cat <<\_ASBOX
32951 ## ----------------------------------------- ##
32952 ## Report this to the package-unused lists. ##
32953 ## ----------------------------------------- ##
32954 _ASBOX
32956 sed "s/^/$as_me: WARNING: /" >&2
32958 esac
32959 echo "$as_me:$LINENO: checking for $ac_header" >&5
32960 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32961 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32962 echo $ECHO_N "(cached) $ECHO_C" >&6
32963 else
32964 eval "$as_ac_Header=\$ac_header_preproc"
32966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32967 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32970 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32971 cat >>confdefs.h <<_ACEOF
32972 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32973 _ACEOF
32977 done
32980 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
32982 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32983 ac_save_CXXFLAGS="$CXXFLAGS"
32984 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32986 echo "$as_me:$LINENO: checking for sin in -lm" >&5
32987 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
32988 if test "${ac_cv_lib_m_sin+set}" = set; then
32989 echo $ECHO_N "(cached) $ECHO_C" >&6
32990 else
32991 ac_check_lib_save_LIBS=$LIBS
32992 LIBS="-lm $LIBS"
32993 if test x$gcc_no_link = xyes; then
32994 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32996 { (exit 1); exit 1; }; }
32998 cat >conftest.$ac_ext <<_ACEOF
32999 /* confdefs.h. */
33000 _ACEOF
33001 cat confdefs.h >>conftest.$ac_ext
33002 cat >>conftest.$ac_ext <<_ACEOF
33003 /* end confdefs.h. */
33005 /* Override any gcc2 internal prototype to avoid an error. */
33006 #ifdef __cplusplus
33007 extern "C"
33008 #endif
33009 /* We use char because int might match the return type of a gcc2
33010 builtin and then its argument prototype would still apply. */
33011 char sin ();
33013 main ()
33015 sin ();
33017 return 0;
33019 _ACEOF
33020 rm -f conftest.$ac_objext conftest$ac_exeext
33021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33022 (eval $ac_link) 2>conftest.er1
33023 ac_status=$?
33024 grep -v '^ *+' conftest.er1 >conftest.err
33025 rm -f conftest.er1
33026 cat conftest.err >&5
33027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33028 (exit $ac_status); } &&
33029 { ac_try='test -z "$ac_c_werror_flag"
33030 || test ! -s conftest.err'
33031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33032 (eval $ac_try) 2>&5
33033 ac_status=$?
33034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33035 (exit $ac_status); }; } &&
33036 { ac_try='test -s conftest$ac_exeext'
33037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33038 (eval $ac_try) 2>&5
33039 ac_status=$?
33040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33041 (exit $ac_status); }; }; then
33042 ac_cv_lib_m_sin=yes
33043 else
33044 echo "$as_me: failed program was:" >&5
33045 sed 's/^/| /' conftest.$ac_ext >&5
33047 ac_cv_lib_m_sin=no
33049 rm -f conftest.err conftest.$ac_objext \
33050 conftest$ac_exeext conftest.$ac_ext
33051 LIBS=$ac_check_lib_save_LIBS
33053 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
33054 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
33055 if test $ac_cv_lib_m_sin = yes; then
33056 libm="-lm"
33059 ac_save_LIBS="$LIBS"
33060 LIBS="$LIBS $libm"
33064 echo "$as_me:$LINENO: checking for isinf declaration" >&5
33065 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
33066 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33067 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
33068 echo $ECHO_N "(cached) $ECHO_C" >&6
33069 else
33073 ac_ext=cc
33074 ac_cpp='$CXXCPP $CPPFLAGS'
33075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33079 cat >conftest.$ac_ext <<_ACEOF
33080 /* confdefs.h. */
33081 _ACEOF
33082 cat confdefs.h >>conftest.$ac_ext
33083 cat >>conftest.$ac_ext <<_ACEOF
33084 /* end confdefs.h. */
33085 #include <math.h>
33086 #ifdef HAVE_IEEEFP_H
33087 #include <ieeefp.h>
33088 #endif
33091 main ()
33093 isinf(0);
33095 return 0;
33097 _ACEOF
33098 rm -f conftest.$ac_objext
33099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33100 (eval $ac_compile) 2>conftest.er1
33101 ac_status=$?
33102 grep -v '^ *+' conftest.er1 >conftest.err
33103 rm -f conftest.er1
33104 cat conftest.err >&5
33105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33106 (exit $ac_status); } &&
33107 { ac_try='test -z "$ac_cxx_werror_flag"
33108 || test ! -s conftest.err'
33109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33110 (eval $ac_try) 2>&5
33111 ac_status=$?
33112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33113 (exit $ac_status); }; } &&
33114 { ac_try='test -s conftest.$ac_objext'
33115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33116 (eval $ac_try) 2>&5
33117 ac_status=$?
33118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33119 (exit $ac_status); }; }; then
33120 glibcxx_cv_func_isinf_use=yes
33121 else
33122 echo "$as_me: failed program was:" >&5
33123 sed 's/^/| /' conftest.$ac_ext >&5
33125 glibcxx_cv_func_isinf_use=no
33127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33128 ac_ext=c
33129 ac_cpp='$CPP $CPPFLAGS'
33130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33138 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
33139 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
33141 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33143 for ac_func in isinf
33145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33146 echo "$as_me:$LINENO: checking for $ac_func" >&5
33147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33148 if eval "test \"\${$as_ac_var+set}\" = set"; then
33149 echo $ECHO_N "(cached) $ECHO_C" >&6
33150 else
33151 if test x$gcc_no_link = xyes; then
33152 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33154 { (exit 1); exit 1; }; }
33156 cat >conftest.$ac_ext <<_ACEOF
33157 /* confdefs.h. */
33158 _ACEOF
33159 cat confdefs.h >>conftest.$ac_ext
33160 cat >>conftest.$ac_ext <<_ACEOF
33161 /* end confdefs.h. */
33162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33164 #define $ac_func innocuous_$ac_func
33166 /* System header to define __stub macros and hopefully few prototypes,
33167 which can conflict with char $ac_func (); below.
33168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33169 <limits.h> exists even on freestanding compilers. */
33171 #ifdef __STDC__
33172 # include <limits.h>
33173 #else
33174 # include <assert.h>
33175 #endif
33177 #undef $ac_func
33179 /* Override any gcc2 internal prototype to avoid an error. */
33180 #ifdef __cplusplus
33181 extern "C"
33183 #endif
33184 /* We use char because int might match the return type of a gcc2
33185 builtin and then its argument prototype would still apply. */
33186 char $ac_func ();
33187 /* The GNU C library defines this for functions which it implements
33188 to always fail with ENOSYS. Some functions are actually named
33189 something starting with __ and the normal name is an alias. */
33190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33191 choke me
33192 #else
33193 char (*f) () = $ac_func;
33194 #endif
33195 #ifdef __cplusplus
33197 #endif
33200 main ()
33202 return f != $ac_func;
33204 return 0;
33206 _ACEOF
33207 rm -f conftest.$ac_objext conftest$ac_exeext
33208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33209 (eval $ac_link) 2>conftest.er1
33210 ac_status=$?
33211 grep -v '^ *+' conftest.er1 >conftest.err
33212 rm -f conftest.er1
33213 cat conftest.err >&5
33214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33215 (exit $ac_status); } &&
33216 { ac_try='test -z "$ac_c_werror_flag"
33217 || test ! -s conftest.err'
33218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33219 (eval $ac_try) 2>&5
33220 ac_status=$?
33221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33222 (exit $ac_status); }; } &&
33223 { ac_try='test -s conftest$ac_exeext'
33224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33225 (eval $ac_try) 2>&5
33226 ac_status=$?
33227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33228 (exit $ac_status); }; }; then
33229 eval "$as_ac_var=yes"
33230 else
33231 echo "$as_me: failed program was:" >&5
33232 sed 's/^/| /' conftest.$ac_ext >&5
33234 eval "$as_ac_var=no"
33236 rm -f conftest.err conftest.$ac_objext \
33237 conftest$ac_exeext conftest.$ac_ext
33239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33241 if test `eval echo '${'$as_ac_var'}'` = yes; then
33242 cat >>confdefs.h <<_ACEOF
33243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33244 _ACEOF
33247 done
33249 else
33251 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
33252 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
33253 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33254 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
33255 echo $ECHO_N "(cached) $ECHO_C" >&6
33256 else
33260 ac_ext=cc
33261 ac_cpp='$CXXCPP $CPPFLAGS'
33262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33266 cat >conftest.$ac_ext <<_ACEOF
33267 /* confdefs.h. */
33268 _ACEOF
33269 cat confdefs.h >>conftest.$ac_ext
33270 cat >>conftest.$ac_ext <<_ACEOF
33271 /* end confdefs.h. */
33272 #include <math.h>
33273 #ifdef HAVE_IEEEFP_H
33274 #include <ieeefp.h>
33275 #endif
33278 main ()
33280 _isinf(0);
33282 return 0;
33284 _ACEOF
33285 rm -f conftest.$ac_objext
33286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33287 (eval $ac_compile) 2>conftest.er1
33288 ac_status=$?
33289 grep -v '^ *+' conftest.er1 >conftest.err
33290 rm -f conftest.er1
33291 cat conftest.err >&5
33292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33293 (exit $ac_status); } &&
33294 { ac_try='test -z "$ac_cxx_werror_flag"
33295 || test ! -s conftest.err'
33296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33297 (eval $ac_try) 2>&5
33298 ac_status=$?
33299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33300 (exit $ac_status); }; } &&
33301 { ac_try='test -s conftest.$ac_objext'
33302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33303 (eval $ac_try) 2>&5
33304 ac_status=$?
33305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33306 (exit $ac_status); }; }; then
33307 glibcxx_cv_func__isinf_use=yes
33308 else
33309 echo "$as_me: failed program was:" >&5
33310 sed 's/^/| /' conftest.$ac_ext >&5
33312 glibcxx_cv_func__isinf_use=no
33314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33315 ac_ext=c
33316 ac_cpp='$CPP $CPPFLAGS'
33317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33325 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
33326 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
33328 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33330 for ac_func in _isinf
33332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33333 echo "$as_me:$LINENO: checking for $ac_func" >&5
33334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33335 if eval "test \"\${$as_ac_var+set}\" = set"; then
33336 echo $ECHO_N "(cached) $ECHO_C" >&6
33337 else
33338 if test x$gcc_no_link = xyes; then
33339 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33341 { (exit 1); exit 1; }; }
33343 cat >conftest.$ac_ext <<_ACEOF
33344 /* confdefs.h. */
33345 _ACEOF
33346 cat confdefs.h >>conftest.$ac_ext
33347 cat >>conftest.$ac_ext <<_ACEOF
33348 /* end confdefs.h. */
33349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33351 #define $ac_func innocuous_$ac_func
33353 /* System header to define __stub macros and hopefully few prototypes,
33354 which can conflict with char $ac_func (); below.
33355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33356 <limits.h> exists even on freestanding compilers. */
33358 #ifdef __STDC__
33359 # include <limits.h>
33360 #else
33361 # include <assert.h>
33362 #endif
33364 #undef $ac_func
33366 /* Override any gcc2 internal prototype to avoid an error. */
33367 #ifdef __cplusplus
33368 extern "C"
33370 #endif
33371 /* We use char because int might match the return type of a gcc2
33372 builtin and then its argument prototype would still apply. */
33373 char $ac_func ();
33374 /* The GNU C library defines this for functions which it implements
33375 to always fail with ENOSYS. Some functions are actually named
33376 something starting with __ and the normal name is an alias. */
33377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33378 choke me
33379 #else
33380 char (*f) () = $ac_func;
33381 #endif
33382 #ifdef __cplusplus
33384 #endif
33387 main ()
33389 return f != $ac_func;
33391 return 0;
33393 _ACEOF
33394 rm -f conftest.$ac_objext conftest$ac_exeext
33395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33396 (eval $ac_link) 2>conftest.er1
33397 ac_status=$?
33398 grep -v '^ *+' conftest.er1 >conftest.err
33399 rm -f conftest.er1
33400 cat conftest.err >&5
33401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33402 (exit $ac_status); } &&
33403 { ac_try='test -z "$ac_c_werror_flag"
33404 || test ! -s conftest.err'
33405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33406 (eval $ac_try) 2>&5
33407 ac_status=$?
33408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33409 (exit $ac_status); }; } &&
33410 { ac_try='test -s conftest$ac_exeext'
33411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33412 (eval $ac_try) 2>&5
33413 ac_status=$?
33414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33415 (exit $ac_status); }; }; then
33416 eval "$as_ac_var=yes"
33417 else
33418 echo "$as_me: failed program was:" >&5
33419 sed 's/^/| /' conftest.$ac_ext >&5
33421 eval "$as_ac_var=no"
33423 rm -f conftest.err conftest.$ac_objext \
33424 conftest$ac_exeext conftest.$ac_ext
33426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33428 if test `eval echo '${'$as_ac_var'}'` = yes; then
33429 cat >>confdefs.h <<_ACEOF
33430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33431 _ACEOF
33434 done
33444 echo "$as_me:$LINENO: checking for isnan declaration" >&5
33445 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
33446 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33447 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
33448 echo $ECHO_N "(cached) $ECHO_C" >&6
33449 else
33453 ac_ext=cc
33454 ac_cpp='$CXXCPP $CPPFLAGS'
33455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33459 cat >conftest.$ac_ext <<_ACEOF
33460 /* confdefs.h. */
33461 _ACEOF
33462 cat confdefs.h >>conftest.$ac_ext
33463 cat >>conftest.$ac_ext <<_ACEOF
33464 /* end confdefs.h. */
33465 #include <math.h>
33466 #ifdef HAVE_IEEEFP_H
33467 #include <ieeefp.h>
33468 #endif
33471 main ()
33473 isnan(0);
33475 return 0;
33477 _ACEOF
33478 rm -f conftest.$ac_objext
33479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33480 (eval $ac_compile) 2>conftest.er1
33481 ac_status=$?
33482 grep -v '^ *+' conftest.er1 >conftest.err
33483 rm -f conftest.er1
33484 cat conftest.err >&5
33485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33486 (exit $ac_status); } &&
33487 { ac_try='test -z "$ac_cxx_werror_flag"
33488 || test ! -s conftest.err'
33489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33490 (eval $ac_try) 2>&5
33491 ac_status=$?
33492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33493 (exit $ac_status); }; } &&
33494 { ac_try='test -s conftest.$ac_objext'
33495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33496 (eval $ac_try) 2>&5
33497 ac_status=$?
33498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33499 (exit $ac_status); }; }; then
33500 glibcxx_cv_func_isnan_use=yes
33501 else
33502 echo "$as_me: failed program was:" >&5
33503 sed 's/^/| /' conftest.$ac_ext >&5
33505 glibcxx_cv_func_isnan_use=no
33507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33508 ac_ext=c
33509 ac_cpp='$CPP $CPPFLAGS'
33510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33518 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
33519 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
33521 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33523 for ac_func in isnan
33525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33526 echo "$as_me:$LINENO: checking for $ac_func" >&5
33527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33528 if eval "test \"\${$as_ac_var+set}\" = set"; then
33529 echo $ECHO_N "(cached) $ECHO_C" >&6
33530 else
33531 if test x$gcc_no_link = xyes; then
33532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33534 { (exit 1); exit 1; }; }
33536 cat >conftest.$ac_ext <<_ACEOF
33537 /* confdefs.h. */
33538 _ACEOF
33539 cat confdefs.h >>conftest.$ac_ext
33540 cat >>conftest.$ac_ext <<_ACEOF
33541 /* end confdefs.h. */
33542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33544 #define $ac_func innocuous_$ac_func
33546 /* System header to define __stub macros and hopefully few prototypes,
33547 which can conflict with char $ac_func (); below.
33548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33549 <limits.h> exists even on freestanding compilers. */
33551 #ifdef __STDC__
33552 # include <limits.h>
33553 #else
33554 # include <assert.h>
33555 #endif
33557 #undef $ac_func
33559 /* Override any gcc2 internal prototype to avoid an error. */
33560 #ifdef __cplusplus
33561 extern "C"
33563 #endif
33564 /* We use char because int might match the return type of a gcc2
33565 builtin and then its argument prototype would still apply. */
33566 char $ac_func ();
33567 /* The GNU C library defines this for functions which it implements
33568 to always fail with ENOSYS. Some functions are actually named
33569 something starting with __ and the normal name is an alias. */
33570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33571 choke me
33572 #else
33573 char (*f) () = $ac_func;
33574 #endif
33575 #ifdef __cplusplus
33577 #endif
33580 main ()
33582 return f != $ac_func;
33584 return 0;
33586 _ACEOF
33587 rm -f conftest.$ac_objext conftest$ac_exeext
33588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33589 (eval $ac_link) 2>conftest.er1
33590 ac_status=$?
33591 grep -v '^ *+' conftest.er1 >conftest.err
33592 rm -f conftest.er1
33593 cat conftest.err >&5
33594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33595 (exit $ac_status); } &&
33596 { ac_try='test -z "$ac_c_werror_flag"
33597 || test ! -s conftest.err'
33598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33599 (eval $ac_try) 2>&5
33600 ac_status=$?
33601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33602 (exit $ac_status); }; } &&
33603 { ac_try='test -s conftest$ac_exeext'
33604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33605 (eval $ac_try) 2>&5
33606 ac_status=$?
33607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33608 (exit $ac_status); }; }; then
33609 eval "$as_ac_var=yes"
33610 else
33611 echo "$as_me: failed program was:" >&5
33612 sed 's/^/| /' conftest.$ac_ext >&5
33614 eval "$as_ac_var=no"
33616 rm -f conftest.err conftest.$ac_objext \
33617 conftest$ac_exeext conftest.$ac_ext
33619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33621 if test `eval echo '${'$as_ac_var'}'` = yes; then
33622 cat >>confdefs.h <<_ACEOF
33623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33624 _ACEOF
33627 done
33629 else
33631 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
33632 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
33633 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33634 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
33635 echo $ECHO_N "(cached) $ECHO_C" >&6
33636 else
33640 ac_ext=cc
33641 ac_cpp='$CXXCPP $CPPFLAGS'
33642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33646 cat >conftest.$ac_ext <<_ACEOF
33647 /* confdefs.h. */
33648 _ACEOF
33649 cat confdefs.h >>conftest.$ac_ext
33650 cat >>conftest.$ac_ext <<_ACEOF
33651 /* end confdefs.h. */
33652 #include <math.h>
33653 #ifdef HAVE_IEEEFP_H
33654 #include <ieeefp.h>
33655 #endif
33658 main ()
33660 _isnan(0);
33662 return 0;
33664 _ACEOF
33665 rm -f conftest.$ac_objext
33666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33667 (eval $ac_compile) 2>conftest.er1
33668 ac_status=$?
33669 grep -v '^ *+' conftest.er1 >conftest.err
33670 rm -f conftest.er1
33671 cat conftest.err >&5
33672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33673 (exit $ac_status); } &&
33674 { ac_try='test -z "$ac_cxx_werror_flag"
33675 || test ! -s conftest.err'
33676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33677 (eval $ac_try) 2>&5
33678 ac_status=$?
33679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33680 (exit $ac_status); }; } &&
33681 { ac_try='test -s conftest.$ac_objext'
33682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33683 (eval $ac_try) 2>&5
33684 ac_status=$?
33685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33686 (exit $ac_status); }; }; then
33687 glibcxx_cv_func__isnan_use=yes
33688 else
33689 echo "$as_me: failed program was:" >&5
33690 sed 's/^/| /' conftest.$ac_ext >&5
33692 glibcxx_cv_func__isnan_use=no
33694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33695 ac_ext=c
33696 ac_cpp='$CPP $CPPFLAGS'
33697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33705 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
33706 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
33708 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33710 for ac_func in _isnan
33712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33713 echo "$as_me:$LINENO: checking for $ac_func" >&5
33714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33715 if eval "test \"\${$as_ac_var+set}\" = set"; then
33716 echo $ECHO_N "(cached) $ECHO_C" >&6
33717 else
33718 if test x$gcc_no_link = xyes; then
33719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33721 { (exit 1); exit 1; }; }
33723 cat >conftest.$ac_ext <<_ACEOF
33724 /* confdefs.h. */
33725 _ACEOF
33726 cat confdefs.h >>conftest.$ac_ext
33727 cat >>conftest.$ac_ext <<_ACEOF
33728 /* end confdefs.h. */
33729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33731 #define $ac_func innocuous_$ac_func
33733 /* System header to define __stub macros and hopefully few prototypes,
33734 which can conflict with char $ac_func (); below.
33735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33736 <limits.h> exists even on freestanding compilers. */
33738 #ifdef __STDC__
33739 # include <limits.h>
33740 #else
33741 # include <assert.h>
33742 #endif
33744 #undef $ac_func
33746 /* Override any gcc2 internal prototype to avoid an error. */
33747 #ifdef __cplusplus
33748 extern "C"
33750 #endif
33751 /* We use char because int might match the return type of a gcc2
33752 builtin and then its argument prototype would still apply. */
33753 char $ac_func ();
33754 /* The GNU C library defines this for functions which it implements
33755 to always fail with ENOSYS. Some functions are actually named
33756 something starting with __ and the normal name is an alias. */
33757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33758 choke me
33759 #else
33760 char (*f) () = $ac_func;
33761 #endif
33762 #ifdef __cplusplus
33764 #endif
33767 main ()
33769 return f != $ac_func;
33771 return 0;
33773 _ACEOF
33774 rm -f conftest.$ac_objext conftest$ac_exeext
33775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33776 (eval $ac_link) 2>conftest.er1
33777 ac_status=$?
33778 grep -v '^ *+' conftest.er1 >conftest.err
33779 rm -f conftest.er1
33780 cat conftest.err >&5
33781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33782 (exit $ac_status); } &&
33783 { ac_try='test -z "$ac_c_werror_flag"
33784 || test ! -s conftest.err'
33785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33786 (eval $ac_try) 2>&5
33787 ac_status=$?
33788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33789 (exit $ac_status); }; } &&
33790 { ac_try='test -s conftest$ac_exeext'
33791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33792 (eval $ac_try) 2>&5
33793 ac_status=$?
33794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33795 (exit $ac_status); }; }; then
33796 eval "$as_ac_var=yes"
33797 else
33798 echo "$as_me: failed program was:" >&5
33799 sed 's/^/| /' conftest.$ac_ext >&5
33801 eval "$as_ac_var=no"
33803 rm -f conftest.err conftest.$ac_objext \
33804 conftest$ac_exeext conftest.$ac_ext
33806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33808 if test `eval echo '${'$as_ac_var'}'` = yes; then
33809 cat >>confdefs.h <<_ACEOF
33810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33811 _ACEOF
33814 done
33824 echo "$as_me:$LINENO: checking for finite declaration" >&5
33825 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
33826 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33827 if test "${glibcxx_cv_func_finite_use+set}" = set; then
33828 echo $ECHO_N "(cached) $ECHO_C" >&6
33829 else
33833 ac_ext=cc
33834 ac_cpp='$CXXCPP $CPPFLAGS'
33835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33839 cat >conftest.$ac_ext <<_ACEOF
33840 /* confdefs.h. */
33841 _ACEOF
33842 cat confdefs.h >>conftest.$ac_ext
33843 cat >>conftest.$ac_ext <<_ACEOF
33844 /* end confdefs.h. */
33845 #include <math.h>
33846 #ifdef HAVE_IEEEFP_H
33847 #include <ieeefp.h>
33848 #endif
33851 main ()
33853 finite(0);
33855 return 0;
33857 _ACEOF
33858 rm -f conftest.$ac_objext
33859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33860 (eval $ac_compile) 2>conftest.er1
33861 ac_status=$?
33862 grep -v '^ *+' conftest.er1 >conftest.err
33863 rm -f conftest.er1
33864 cat conftest.err >&5
33865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33866 (exit $ac_status); } &&
33867 { ac_try='test -z "$ac_cxx_werror_flag"
33868 || test ! -s conftest.err'
33869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33870 (eval $ac_try) 2>&5
33871 ac_status=$?
33872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33873 (exit $ac_status); }; } &&
33874 { ac_try='test -s conftest.$ac_objext'
33875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33876 (eval $ac_try) 2>&5
33877 ac_status=$?
33878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33879 (exit $ac_status); }; }; then
33880 glibcxx_cv_func_finite_use=yes
33881 else
33882 echo "$as_me: failed program was:" >&5
33883 sed 's/^/| /' conftest.$ac_ext >&5
33885 glibcxx_cv_func_finite_use=no
33887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33888 ac_ext=c
33889 ac_cpp='$CPP $CPPFLAGS'
33890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33898 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
33899 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
33901 if test x$glibcxx_cv_func_finite_use = x"yes"; then
33903 for ac_func in finite
33905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33906 echo "$as_me:$LINENO: checking for $ac_func" >&5
33907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33908 if eval "test \"\${$as_ac_var+set}\" = set"; then
33909 echo $ECHO_N "(cached) $ECHO_C" >&6
33910 else
33911 if test x$gcc_no_link = xyes; then
33912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33914 { (exit 1); exit 1; }; }
33916 cat >conftest.$ac_ext <<_ACEOF
33917 /* confdefs.h. */
33918 _ACEOF
33919 cat confdefs.h >>conftest.$ac_ext
33920 cat >>conftest.$ac_ext <<_ACEOF
33921 /* end confdefs.h. */
33922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33924 #define $ac_func innocuous_$ac_func
33926 /* System header to define __stub macros and hopefully few prototypes,
33927 which can conflict with char $ac_func (); below.
33928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33929 <limits.h> exists even on freestanding compilers. */
33931 #ifdef __STDC__
33932 # include <limits.h>
33933 #else
33934 # include <assert.h>
33935 #endif
33937 #undef $ac_func
33939 /* Override any gcc2 internal prototype to avoid an error. */
33940 #ifdef __cplusplus
33941 extern "C"
33943 #endif
33944 /* We use char because int might match the return type of a gcc2
33945 builtin and then its argument prototype would still apply. */
33946 char $ac_func ();
33947 /* The GNU C library defines this for functions which it implements
33948 to always fail with ENOSYS. Some functions are actually named
33949 something starting with __ and the normal name is an alias. */
33950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33951 choke me
33952 #else
33953 char (*f) () = $ac_func;
33954 #endif
33955 #ifdef __cplusplus
33957 #endif
33960 main ()
33962 return f != $ac_func;
33964 return 0;
33966 _ACEOF
33967 rm -f conftest.$ac_objext conftest$ac_exeext
33968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33969 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
33990 else
33991 echo "$as_me: failed program was:" >&5
33992 sed 's/^/| /' conftest.$ac_ext >&5
33994 eval "$as_ac_var=no"
33996 rm -f conftest.err conftest.$ac_objext \
33997 conftest$ac_exeext conftest.$ac_ext
33999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34001 if test `eval echo '${'$as_ac_var'}'` = yes; then
34002 cat >>confdefs.h <<_ACEOF
34003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34004 _ACEOF
34007 done
34009 else
34011 echo "$as_me:$LINENO: checking for _finite declaration" >&5
34012 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
34013 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34014 if test "${glibcxx_cv_func__finite_use+set}" = set; then
34015 echo $ECHO_N "(cached) $ECHO_C" >&6
34016 else
34020 ac_ext=cc
34021 ac_cpp='$CXXCPP $CPPFLAGS'
34022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34026 cat >conftest.$ac_ext <<_ACEOF
34027 /* confdefs.h. */
34028 _ACEOF
34029 cat confdefs.h >>conftest.$ac_ext
34030 cat >>conftest.$ac_ext <<_ACEOF
34031 /* end confdefs.h. */
34032 #include <math.h>
34033 #ifdef HAVE_IEEEFP_H
34034 #include <ieeefp.h>
34035 #endif
34038 main ()
34040 _finite(0);
34042 return 0;
34044 _ACEOF
34045 rm -f conftest.$ac_objext
34046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34047 (eval $ac_compile) 2>conftest.er1
34048 ac_status=$?
34049 grep -v '^ *+' conftest.er1 >conftest.err
34050 rm -f conftest.er1
34051 cat conftest.err >&5
34052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34053 (exit $ac_status); } &&
34054 { ac_try='test -z "$ac_cxx_werror_flag"
34055 || test ! -s conftest.err'
34056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34057 (eval $ac_try) 2>&5
34058 ac_status=$?
34059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34060 (exit $ac_status); }; } &&
34061 { ac_try='test -s conftest.$ac_objext'
34062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34063 (eval $ac_try) 2>&5
34064 ac_status=$?
34065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34066 (exit $ac_status); }; }; then
34067 glibcxx_cv_func__finite_use=yes
34068 else
34069 echo "$as_me: failed program was:" >&5
34070 sed 's/^/| /' conftest.$ac_ext >&5
34072 glibcxx_cv_func__finite_use=no
34074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34075 ac_ext=c
34076 ac_cpp='$CPP $CPPFLAGS'
34077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34085 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
34086 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
34088 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34090 for ac_func in _finite
34092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34093 echo "$as_me:$LINENO: checking for $ac_func" >&5
34094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34095 if eval "test \"\${$as_ac_var+set}\" = set"; then
34096 echo $ECHO_N "(cached) $ECHO_C" >&6
34097 else
34098 if test x$gcc_no_link = xyes; then
34099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34101 { (exit 1); exit 1; }; }
34103 cat >conftest.$ac_ext <<_ACEOF
34104 /* confdefs.h. */
34105 _ACEOF
34106 cat confdefs.h >>conftest.$ac_ext
34107 cat >>conftest.$ac_ext <<_ACEOF
34108 /* end confdefs.h. */
34109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34111 #define $ac_func innocuous_$ac_func
34113 /* System header to define __stub macros and hopefully few prototypes,
34114 which can conflict with char $ac_func (); below.
34115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34116 <limits.h> exists even on freestanding compilers. */
34118 #ifdef __STDC__
34119 # include <limits.h>
34120 #else
34121 # include <assert.h>
34122 #endif
34124 #undef $ac_func
34126 /* Override any gcc2 internal prototype to avoid an error. */
34127 #ifdef __cplusplus
34128 extern "C"
34130 #endif
34131 /* We use char because int might match the return type of a gcc2
34132 builtin and then its argument prototype would still apply. */
34133 char $ac_func ();
34134 /* The GNU C library defines this for functions which it implements
34135 to always fail with ENOSYS. Some functions are actually named
34136 something starting with __ and the normal name is an alias. */
34137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34138 choke me
34139 #else
34140 char (*f) () = $ac_func;
34141 #endif
34142 #ifdef __cplusplus
34144 #endif
34147 main ()
34149 return f != $ac_func;
34151 return 0;
34153 _ACEOF
34154 rm -f conftest.$ac_objext conftest$ac_exeext
34155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34156 (eval $ac_link) 2>conftest.er1
34157 ac_status=$?
34158 grep -v '^ *+' conftest.er1 >conftest.err
34159 rm -f conftest.er1
34160 cat conftest.err >&5
34161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34162 (exit $ac_status); } &&
34163 { ac_try='test -z "$ac_c_werror_flag"
34164 || test ! -s conftest.err'
34165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34166 (eval $ac_try) 2>&5
34167 ac_status=$?
34168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34169 (exit $ac_status); }; } &&
34170 { ac_try='test -s conftest$ac_exeext'
34171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34172 (eval $ac_try) 2>&5
34173 ac_status=$?
34174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34175 (exit $ac_status); }; }; then
34176 eval "$as_ac_var=yes"
34177 else
34178 echo "$as_me: failed program was:" >&5
34179 sed 's/^/| /' conftest.$ac_ext >&5
34181 eval "$as_ac_var=no"
34183 rm -f conftest.err conftest.$ac_objext \
34184 conftest$ac_exeext conftest.$ac_ext
34186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34188 if test `eval echo '${'$as_ac_var'}'` = yes; then
34189 cat >>confdefs.h <<_ACEOF
34190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34191 _ACEOF
34194 done
34204 echo "$as_me:$LINENO: checking for copysign declaration" >&5
34205 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
34206 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
34207 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
34208 echo $ECHO_N "(cached) $ECHO_C" >&6
34209 else
34213 ac_ext=cc
34214 ac_cpp='$CXXCPP $CPPFLAGS'
34215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34219 cat >conftest.$ac_ext <<_ACEOF
34220 /* confdefs.h. */
34221 _ACEOF
34222 cat confdefs.h >>conftest.$ac_ext
34223 cat >>conftest.$ac_ext <<_ACEOF
34224 /* end confdefs.h. */
34225 #include <math.h>
34227 main ()
34229 copysign(0, 0);
34231 return 0;
34233 _ACEOF
34234 rm -f conftest.$ac_objext
34235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34236 (eval $ac_compile) 2>conftest.er1
34237 ac_status=$?
34238 grep -v '^ *+' conftest.er1 >conftest.err
34239 rm -f conftest.er1
34240 cat conftest.err >&5
34241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34242 (exit $ac_status); } &&
34243 { ac_try='test -z "$ac_cxx_werror_flag"
34244 || test ! -s conftest.err'
34245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34246 (eval $ac_try) 2>&5
34247 ac_status=$?
34248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34249 (exit $ac_status); }; } &&
34250 { ac_try='test -s conftest.$ac_objext'
34251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34252 (eval $ac_try) 2>&5
34253 ac_status=$?
34254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34255 (exit $ac_status); }; }; then
34256 glibcxx_cv_func_copysign_use=yes
34257 else
34258 echo "$as_me: failed program was:" >&5
34259 sed 's/^/| /' conftest.$ac_ext >&5
34261 glibcxx_cv_func_copysign_use=no
34263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34264 ac_ext=c
34265 ac_cpp='$CPP $CPPFLAGS'
34266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34274 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
34275 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
34277 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
34279 for ac_func in copysign
34281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34282 echo "$as_me:$LINENO: checking for $ac_func" >&5
34283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34284 if eval "test \"\${$as_ac_var+set}\" = set"; then
34285 echo $ECHO_N "(cached) $ECHO_C" >&6
34286 else
34287 if test x$gcc_no_link = xyes; then
34288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34290 { (exit 1); exit 1; }; }
34292 cat >conftest.$ac_ext <<_ACEOF
34293 /* confdefs.h. */
34294 _ACEOF
34295 cat confdefs.h >>conftest.$ac_ext
34296 cat >>conftest.$ac_ext <<_ACEOF
34297 /* end confdefs.h. */
34298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34300 #define $ac_func innocuous_$ac_func
34302 /* System header to define __stub macros and hopefully few prototypes,
34303 which can conflict with char $ac_func (); below.
34304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34305 <limits.h> exists even on freestanding compilers. */
34307 #ifdef __STDC__
34308 # include <limits.h>
34309 #else
34310 # include <assert.h>
34311 #endif
34313 #undef $ac_func
34315 /* Override any gcc2 internal prototype to avoid an error. */
34316 #ifdef __cplusplus
34317 extern "C"
34319 #endif
34320 /* We use char because int might match the return type of a gcc2
34321 builtin and then its argument prototype would still apply. */
34322 char $ac_func ();
34323 /* The GNU C library defines this for functions which it implements
34324 to always fail with ENOSYS. Some functions are actually named
34325 something starting with __ and the normal name is an alias. */
34326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34327 choke me
34328 #else
34329 char (*f) () = $ac_func;
34330 #endif
34331 #ifdef __cplusplus
34333 #endif
34336 main ()
34338 return f != $ac_func;
34340 return 0;
34342 _ACEOF
34343 rm -f conftest.$ac_objext conftest$ac_exeext
34344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34345 (eval $ac_link) 2>conftest.er1
34346 ac_status=$?
34347 grep -v '^ *+' conftest.er1 >conftest.err
34348 rm -f conftest.er1
34349 cat conftest.err >&5
34350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34351 (exit $ac_status); } &&
34352 { ac_try='test -z "$ac_c_werror_flag"
34353 || test ! -s conftest.err'
34354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34355 (eval $ac_try) 2>&5
34356 ac_status=$?
34357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34358 (exit $ac_status); }; } &&
34359 { ac_try='test -s conftest$ac_exeext'
34360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34361 (eval $ac_try) 2>&5
34362 ac_status=$?
34363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34364 (exit $ac_status); }; }; then
34365 eval "$as_ac_var=yes"
34366 else
34367 echo "$as_me: failed program was:" >&5
34368 sed 's/^/| /' conftest.$ac_ext >&5
34370 eval "$as_ac_var=no"
34372 rm -f conftest.err conftest.$ac_objext \
34373 conftest$ac_exeext conftest.$ac_ext
34375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34377 if test `eval echo '${'$as_ac_var'}'` = yes; then
34378 cat >>confdefs.h <<_ACEOF
34379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34380 _ACEOF
34383 done
34385 else
34387 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
34388 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
34389 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
34390 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
34391 echo $ECHO_N "(cached) $ECHO_C" >&6
34392 else
34396 ac_ext=cc
34397 ac_cpp='$CXXCPP $CPPFLAGS'
34398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34402 cat >conftest.$ac_ext <<_ACEOF
34403 /* confdefs.h. */
34404 _ACEOF
34405 cat confdefs.h >>conftest.$ac_ext
34406 cat >>conftest.$ac_ext <<_ACEOF
34407 /* end confdefs.h. */
34408 #include <math.h>
34410 main ()
34412 _copysign(0, 0);
34414 return 0;
34416 _ACEOF
34417 rm -f conftest.$ac_objext
34418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34419 (eval $ac_compile) 2>conftest.er1
34420 ac_status=$?
34421 grep -v '^ *+' conftest.er1 >conftest.err
34422 rm -f conftest.er1
34423 cat conftest.err >&5
34424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34425 (exit $ac_status); } &&
34426 { ac_try='test -z "$ac_cxx_werror_flag"
34427 || test ! -s conftest.err'
34428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34429 (eval $ac_try) 2>&5
34430 ac_status=$?
34431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34432 (exit $ac_status); }; } &&
34433 { ac_try='test -s conftest.$ac_objext'
34434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34435 (eval $ac_try) 2>&5
34436 ac_status=$?
34437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34438 (exit $ac_status); }; }; then
34439 glibcxx_cv_func__copysign_use=yes
34440 else
34441 echo "$as_me: failed program was:" >&5
34442 sed 's/^/| /' conftest.$ac_ext >&5
34444 glibcxx_cv_func__copysign_use=no
34446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34447 ac_ext=c
34448 ac_cpp='$CPP $CPPFLAGS'
34449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34457 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
34458 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
34460 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
34462 for ac_func in _copysign
34464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34465 echo "$as_me:$LINENO: checking for $ac_func" >&5
34466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34467 if eval "test \"\${$as_ac_var+set}\" = set"; then
34468 echo $ECHO_N "(cached) $ECHO_C" >&6
34469 else
34470 if test x$gcc_no_link = xyes; then
34471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34473 { (exit 1); exit 1; }; }
34475 cat >conftest.$ac_ext <<_ACEOF
34476 /* confdefs.h. */
34477 _ACEOF
34478 cat confdefs.h >>conftest.$ac_ext
34479 cat >>conftest.$ac_ext <<_ACEOF
34480 /* end confdefs.h. */
34481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34483 #define $ac_func innocuous_$ac_func
34485 /* System header to define __stub macros and hopefully few prototypes,
34486 which can conflict with char $ac_func (); below.
34487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34488 <limits.h> exists even on freestanding compilers. */
34490 #ifdef __STDC__
34491 # include <limits.h>
34492 #else
34493 # include <assert.h>
34494 #endif
34496 #undef $ac_func
34498 /* Override any gcc2 internal prototype to avoid an error. */
34499 #ifdef __cplusplus
34500 extern "C"
34502 #endif
34503 /* We use char because int might match the return type of a gcc2
34504 builtin and then its argument prototype would still apply. */
34505 char $ac_func ();
34506 /* The GNU C library defines this for functions which it implements
34507 to always fail with ENOSYS. Some functions are actually named
34508 something starting with __ and the normal name is an alias. */
34509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34510 choke me
34511 #else
34512 char (*f) () = $ac_func;
34513 #endif
34514 #ifdef __cplusplus
34516 #endif
34519 main ()
34521 return f != $ac_func;
34523 return 0;
34525 _ACEOF
34526 rm -f conftest.$ac_objext conftest$ac_exeext
34527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34528 (eval $ac_link) 2>conftest.er1
34529 ac_status=$?
34530 grep -v '^ *+' conftest.er1 >conftest.err
34531 rm -f conftest.er1
34532 cat conftest.err >&5
34533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34534 (exit $ac_status); } &&
34535 { ac_try='test -z "$ac_c_werror_flag"
34536 || test ! -s conftest.err'
34537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34538 (eval $ac_try) 2>&5
34539 ac_status=$?
34540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34541 (exit $ac_status); }; } &&
34542 { ac_try='test -s conftest$ac_exeext'
34543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34544 (eval $ac_try) 2>&5
34545 ac_status=$?
34546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34547 (exit $ac_status); }; }; then
34548 eval "$as_ac_var=yes"
34549 else
34550 echo "$as_me: failed program was:" >&5
34551 sed 's/^/| /' conftest.$ac_ext >&5
34553 eval "$as_ac_var=no"
34555 rm -f conftest.err conftest.$ac_objext \
34556 conftest$ac_exeext conftest.$ac_ext
34558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34560 if test `eval echo '${'$as_ac_var'}'` = yes; then
34561 cat >>confdefs.h <<_ACEOF
34562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34563 _ACEOF
34566 done
34576 echo "$as_me:$LINENO: checking for sincos declaration" >&5
34577 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
34578 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34579 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
34580 echo $ECHO_N "(cached) $ECHO_C" >&6
34581 else
34585 ac_ext=cc
34586 ac_cpp='$CXXCPP $CPPFLAGS'
34587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34591 cat >conftest.$ac_ext <<_ACEOF
34592 /* confdefs.h. */
34593 _ACEOF
34594 cat confdefs.h >>conftest.$ac_ext
34595 cat >>conftest.$ac_ext <<_ACEOF
34596 /* end confdefs.h. */
34597 #include <math.h>
34599 main ()
34601 sincos(0, 0, 0);
34603 return 0;
34605 _ACEOF
34606 rm -f conftest.$ac_objext
34607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34608 (eval $ac_compile) 2>conftest.er1
34609 ac_status=$?
34610 grep -v '^ *+' conftest.er1 >conftest.err
34611 rm -f conftest.er1
34612 cat conftest.err >&5
34613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34614 (exit $ac_status); } &&
34615 { ac_try='test -z "$ac_cxx_werror_flag"
34616 || test ! -s conftest.err'
34617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34618 (eval $ac_try) 2>&5
34619 ac_status=$?
34620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34621 (exit $ac_status); }; } &&
34622 { ac_try='test -s conftest.$ac_objext'
34623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34624 (eval $ac_try) 2>&5
34625 ac_status=$?
34626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34627 (exit $ac_status); }; }; then
34628 glibcxx_cv_func_sincos_use=yes
34629 else
34630 echo "$as_me: failed program was:" >&5
34631 sed 's/^/| /' conftest.$ac_ext >&5
34633 glibcxx_cv_func_sincos_use=no
34635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34636 ac_ext=c
34637 ac_cpp='$CPP $CPPFLAGS'
34638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34646 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
34647 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
34649 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34651 for ac_func in sincos
34653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34654 echo "$as_me:$LINENO: checking for $ac_func" >&5
34655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34656 if eval "test \"\${$as_ac_var+set}\" = set"; then
34657 echo $ECHO_N "(cached) $ECHO_C" >&6
34658 else
34659 if test x$gcc_no_link = xyes; then
34660 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34662 { (exit 1); exit 1; }; }
34664 cat >conftest.$ac_ext <<_ACEOF
34665 /* confdefs.h. */
34666 _ACEOF
34667 cat confdefs.h >>conftest.$ac_ext
34668 cat >>conftest.$ac_ext <<_ACEOF
34669 /* end confdefs.h. */
34670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34672 #define $ac_func innocuous_$ac_func
34674 /* System header to define __stub macros and hopefully few prototypes,
34675 which can conflict with char $ac_func (); below.
34676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34677 <limits.h> exists even on freestanding compilers. */
34679 #ifdef __STDC__
34680 # include <limits.h>
34681 #else
34682 # include <assert.h>
34683 #endif
34685 #undef $ac_func
34687 /* Override any gcc2 internal prototype to avoid an error. */
34688 #ifdef __cplusplus
34689 extern "C"
34691 #endif
34692 /* We use char because int might match the return type of a gcc2
34693 builtin and then its argument prototype would still apply. */
34694 char $ac_func ();
34695 /* The GNU C library defines this for functions which it implements
34696 to always fail with ENOSYS. Some functions are actually named
34697 something starting with __ and the normal name is an alias. */
34698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34699 choke me
34700 #else
34701 char (*f) () = $ac_func;
34702 #endif
34703 #ifdef __cplusplus
34705 #endif
34708 main ()
34710 return f != $ac_func;
34712 return 0;
34714 _ACEOF
34715 rm -f conftest.$ac_objext conftest$ac_exeext
34716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34717 (eval $ac_link) 2>conftest.er1
34718 ac_status=$?
34719 grep -v '^ *+' conftest.er1 >conftest.err
34720 rm -f conftest.er1
34721 cat conftest.err >&5
34722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34723 (exit $ac_status); } &&
34724 { ac_try='test -z "$ac_c_werror_flag"
34725 || test ! -s conftest.err'
34726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34727 (eval $ac_try) 2>&5
34728 ac_status=$?
34729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34730 (exit $ac_status); }; } &&
34731 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
34737 eval "$as_ac_var=yes"
34738 else
34739 echo "$as_me: failed program was:" >&5
34740 sed 's/^/| /' conftest.$ac_ext >&5
34742 eval "$as_ac_var=no"
34744 rm -f conftest.err conftest.$ac_objext \
34745 conftest$ac_exeext conftest.$ac_ext
34747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34749 if test `eval echo '${'$as_ac_var'}'` = yes; then
34750 cat >>confdefs.h <<_ACEOF
34751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34752 _ACEOF
34755 done
34757 else
34759 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
34760 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
34761 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34762 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
34763 echo $ECHO_N "(cached) $ECHO_C" >&6
34764 else
34768 ac_ext=cc
34769 ac_cpp='$CXXCPP $CPPFLAGS'
34770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34774 cat >conftest.$ac_ext <<_ACEOF
34775 /* confdefs.h. */
34776 _ACEOF
34777 cat confdefs.h >>conftest.$ac_ext
34778 cat >>conftest.$ac_ext <<_ACEOF
34779 /* end confdefs.h. */
34780 #include <math.h>
34782 main ()
34784 _sincos(0, 0, 0);
34786 return 0;
34788 _ACEOF
34789 rm -f conftest.$ac_objext
34790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34791 (eval $ac_compile) 2>conftest.er1
34792 ac_status=$?
34793 grep -v '^ *+' conftest.er1 >conftest.err
34794 rm -f conftest.er1
34795 cat conftest.err >&5
34796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34797 (exit $ac_status); } &&
34798 { ac_try='test -z "$ac_cxx_werror_flag"
34799 || test ! -s conftest.err'
34800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34801 (eval $ac_try) 2>&5
34802 ac_status=$?
34803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34804 (exit $ac_status); }; } &&
34805 { ac_try='test -s conftest.$ac_objext'
34806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34807 (eval $ac_try) 2>&5
34808 ac_status=$?
34809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34810 (exit $ac_status); }; }; then
34811 glibcxx_cv_func__sincos_use=yes
34812 else
34813 echo "$as_me: failed program was:" >&5
34814 sed 's/^/| /' conftest.$ac_ext >&5
34816 glibcxx_cv_func__sincos_use=no
34818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34819 ac_ext=c
34820 ac_cpp='$CPP $CPPFLAGS'
34821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34829 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
34830 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
34832 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34834 for ac_func in _sincos
34836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34837 echo "$as_me:$LINENO: checking for $ac_func" >&5
34838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34839 if eval "test \"\${$as_ac_var+set}\" = set"; then
34840 echo $ECHO_N "(cached) $ECHO_C" >&6
34841 else
34842 if test x$gcc_no_link = xyes; then
34843 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34845 { (exit 1); exit 1; }; }
34847 cat >conftest.$ac_ext <<_ACEOF
34848 /* confdefs.h. */
34849 _ACEOF
34850 cat confdefs.h >>conftest.$ac_ext
34851 cat >>conftest.$ac_ext <<_ACEOF
34852 /* end confdefs.h. */
34853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34855 #define $ac_func innocuous_$ac_func
34857 /* System header to define __stub macros and hopefully few prototypes,
34858 which can conflict with char $ac_func (); below.
34859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34860 <limits.h> exists even on freestanding compilers. */
34862 #ifdef __STDC__
34863 # include <limits.h>
34864 #else
34865 # include <assert.h>
34866 #endif
34868 #undef $ac_func
34870 /* Override any gcc2 internal prototype to avoid an error. */
34871 #ifdef __cplusplus
34872 extern "C"
34874 #endif
34875 /* We use char because int might match the return type of a gcc2
34876 builtin and then its argument prototype would still apply. */
34877 char $ac_func ();
34878 /* The GNU C library defines this for functions which it implements
34879 to always fail with ENOSYS. Some functions are actually named
34880 something starting with __ and the normal name is an alias. */
34881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34882 choke me
34883 #else
34884 char (*f) () = $ac_func;
34885 #endif
34886 #ifdef __cplusplus
34888 #endif
34891 main ()
34893 return f != $ac_func;
34895 return 0;
34897 _ACEOF
34898 rm -f conftest.$ac_objext conftest$ac_exeext
34899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34900 (eval $ac_link) 2>conftest.er1
34901 ac_status=$?
34902 grep -v '^ *+' conftest.er1 >conftest.err
34903 rm -f conftest.er1
34904 cat conftest.err >&5
34905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34906 (exit $ac_status); } &&
34907 { ac_try='test -z "$ac_c_werror_flag"
34908 || test ! -s conftest.err'
34909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34910 (eval $ac_try) 2>&5
34911 ac_status=$?
34912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34913 (exit $ac_status); }; } &&
34914 { ac_try='test -s conftest$ac_exeext'
34915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34916 (eval $ac_try) 2>&5
34917 ac_status=$?
34918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34919 (exit $ac_status); }; }; then
34920 eval "$as_ac_var=yes"
34921 else
34922 echo "$as_me: failed program was:" >&5
34923 sed 's/^/| /' conftest.$ac_ext >&5
34925 eval "$as_ac_var=no"
34927 rm -f conftest.err conftest.$ac_objext \
34928 conftest$ac_exeext conftest.$ac_ext
34930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34932 if test `eval echo '${'$as_ac_var'}'` = yes; then
34933 cat >>confdefs.h <<_ACEOF
34934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34935 _ACEOF
34938 done
34948 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
34949 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
34950 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34951 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
34952 echo $ECHO_N "(cached) $ECHO_C" >&6
34953 else
34957 ac_ext=cc
34958 ac_cpp='$CXXCPP $CPPFLAGS'
34959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34963 cat >conftest.$ac_ext <<_ACEOF
34964 /* confdefs.h. */
34965 _ACEOF
34966 cat confdefs.h >>conftest.$ac_ext
34967 cat >>conftest.$ac_ext <<_ACEOF
34968 /* end confdefs.h. */
34969 #include <math.h>
34970 #ifdef HAVE_IEEEFP_H
34971 #include <ieeefp.h>
34972 #endif
34975 main ()
34977 fpclass(0);
34979 return 0;
34981 _ACEOF
34982 rm -f conftest.$ac_objext
34983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34984 (eval $ac_compile) 2>conftest.er1
34985 ac_status=$?
34986 grep -v '^ *+' conftest.er1 >conftest.err
34987 rm -f conftest.er1
34988 cat conftest.err >&5
34989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34990 (exit $ac_status); } &&
34991 { ac_try='test -z "$ac_cxx_werror_flag"
34992 || test ! -s conftest.err'
34993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34994 (eval $ac_try) 2>&5
34995 ac_status=$?
34996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34997 (exit $ac_status); }; } &&
34998 { ac_try='test -s conftest.$ac_objext'
34999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35000 (eval $ac_try) 2>&5
35001 ac_status=$?
35002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35003 (exit $ac_status); }; }; then
35004 glibcxx_cv_func_fpclass_use=yes
35005 else
35006 echo "$as_me: failed program was:" >&5
35007 sed 's/^/| /' conftest.$ac_ext >&5
35009 glibcxx_cv_func_fpclass_use=no
35011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35012 ac_ext=c
35013 ac_cpp='$CPP $CPPFLAGS'
35014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35022 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
35023 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
35025 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35027 for ac_func in fpclass
35029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35030 echo "$as_me:$LINENO: checking for $ac_func" >&5
35031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35032 if eval "test \"\${$as_ac_var+set}\" = set"; then
35033 echo $ECHO_N "(cached) $ECHO_C" >&6
35034 else
35035 if test x$gcc_no_link = xyes; then
35036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35038 { (exit 1); exit 1; }; }
35040 cat >conftest.$ac_ext <<_ACEOF
35041 /* confdefs.h. */
35042 _ACEOF
35043 cat confdefs.h >>conftest.$ac_ext
35044 cat >>conftest.$ac_ext <<_ACEOF
35045 /* end confdefs.h. */
35046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35048 #define $ac_func innocuous_$ac_func
35050 /* System header to define __stub macros and hopefully few prototypes,
35051 which can conflict with char $ac_func (); below.
35052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35053 <limits.h> exists even on freestanding compilers. */
35055 #ifdef __STDC__
35056 # include <limits.h>
35057 #else
35058 # include <assert.h>
35059 #endif
35061 #undef $ac_func
35063 /* Override any gcc2 internal prototype to avoid an error. */
35064 #ifdef __cplusplus
35065 extern "C"
35067 #endif
35068 /* We use char because int might match the return type of a gcc2
35069 builtin and then its argument prototype would still apply. */
35070 char $ac_func ();
35071 /* The GNU C library defines this for functions which it implements
35072 to always fail with ENOSYS. Some functions are actually named
35073 something starting with __ and the normal name is an alias. */
35074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35075 choke me
35076 #else
35077 char (*f) () = $ac_func;
35078 #endif
35079 #ifdef __cplusplus
35081 #endif
35084 main ()
35086 return f != $ac_func;
35088 return 0;
35090 _ACEOF
35091 rm -f conftest.$ac_objext conftest$ac_exeext
35092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35093 (eval $ac_link) 2>conftest.er1
35094 ac_status=$?
35095 grep -v '^ *+' conftest.er1 >conftest.err
35096 rm -f conftest.er1
35097 cat conftest.err >&5
35098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35099 (exit $ac_status); } &&
35100 { ac_try='test -z "$ac_c_werror_flag"
35101 || test ! -s conftest.err'
35102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35103 (eval $ac_try) 2>&5
35104 ac_status=$?
35105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35106 (exit $ac_status); }; } &&
35107 { ac_try='test -s conftest$ac_exeext'
35108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35109 (eval $ac_try) 2>&5
35110 ac_status=$?
35111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35112 (exit $ac_status); }; }; then
35113 eval "$as_ac_var=yes"
35114 else
35115 echo "$as_me: failed program was:" >&5
35116 sed 's/^/| /' conftest.$ac_ext >&5
35118 eval "$as_ac_var=no"
35120 rm -f conftest.err conftest.$ac_objext \
35121 conftest$ac_exeext conftest.$ac_ext
35123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35125 if test `eval echo '${'$as_ac_var'}'` = yes; then
35126 cat >>confdefs.h <<_ACEOF
35127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35128 _ACEOF
35131 done
35133 else
35135 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
35136 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
35137 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35138 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
35139 echo $ECHO_N "(cached) $ECHO_C" >&6
35140 else
35144 ac_ext=cc
35145 ac_cpp='$CXXCPP $CPPFLAGS'
35146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35150 cat >conftest.$ac_ext <<_ACEOF
35151 /* confdefs.h. */
35152 _ACEOF
35153 cat confdefs.h >>conftest.$ac_ext
35154 cat >>conftest.$ac_ext <<_ACEOF
35155 /* end confdefs.h. */
35156 #include <math.h>
35157 #ifdef HAVE_IEEEFP_H
35158 #include <ieeefp.h>
35159 #endif
35162 main ()
35164 _fpclass(0);
35166 return 0;
35168 _ACEOF
35169 rm -f conftest.$ac_objext
35170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35171 (eval $ac_compile) 2>conftest.er1
35172 ac_status=$?
35173 grep -v '^ *+' conftest.er1 >conftest.err
35174 rm -f conftest.er1
35175 cat conftest.err >&5
35176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35177 (exit $ac_status); } &&
35178 { ac_try='test -z "$ac_cxx_werror_flag"
35179 || test ! -s conftest.err'
35180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35181 (eval $ac_try) 2>&5
35182 ac_status=$?
35183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35184 (exit $ac_status); }; } &&
35185 { ac_try='test -s conftest.$ac_objext'
35186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35187 (eval $ac_try) 2>&5
35188 ac_status=$?
35189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35190 (exit $ac_status); }; }; then
35191 glibcxx_cv_func__fpclass_use=yes
35192 else
35193 echo "$as_me: failed program was:" >&5
35194 sed 's/^/| /' conftest.$ac_ext >&5
35196 glibcxx_cv_func__fpclass_use=no
35198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35199 ac_ext=c
35200 ac_cpp='$CPP $CPPFLAGS'
35201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35209 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
35210 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
35212 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
35214 for ac_func in _fpclass
35216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35217 echo "$as_me:$LINENO: checking for $ac_func" >&5
35218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35219 if eval "test \"\${$as_ac_var+set}\" = set"; then
35220 echo $ECHO_N "(cached) $ECHO_C" >&6
35221 else
35222 if test x$gcc_no_link = xyes; then
35223 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35225 { (exit 1); exit 1; }; }
35227 cat >conftest.$ac_ext <<_ACEOF
35228 /* confdefs.h. */
35229 _ACEOF
35230 cat confdefs.h >>conftest.$ac_ext
35231 cat >>conftest.$ac_ext <<_ACEOF
35232 /* end confdefs.h. */
35233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35235 #define $ac_func innocuous_$ac_func
35237 /* System header to define __stub macros and hopefully few prototypes,
35238 which can conflict with char $ac_func (); below.
35239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35240 <limits.h> exists even on freestanding compilers. */
35242 #ifdef __STDC__
35243 # include <limits.h>
35244 #else
35245 # include <assert.h>
35246 #endif
35248 #undef $ac_func
35250 /* Override any gcc2 internal prototype to avoid an error. */
35251 #ifdef __cplusplus
35252 extern "C"
35254 #endif
35255 /* We use char because int might match the return type of a gcc2
35256 builtin and then its argument prototype would still apply. */
35257 char $ac_func ();
35258 /* The GNU C library defines this for functions which it implements
35259 to always fail with ENOSYS. Some functions are actually named
35260 something starting with __ and the normal name is an alias. */
35261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35262 choke me
35263 #else
35264 char (*f) () = $ac_func;
35265 #endif
35266 #ifdef __cplusplus
35268 #endif
35271 main ()
35273 return f != $ac_func;
35275 return 0;
35277 _ACEOF
35278 rm -f conftest.$ac_objext conftest$ac_exeext
35279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35280 (eval $ac_link) 2>conftest.er1
35281 ac_status=$?
35282 grep -v '^ *+' conftest.er1 >conftest.err
35283 rm -f conftest.er1
35284 cat conftest.err >&5
35285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35286 (exit $ac_status); } &&
35287 { ac_try='test -z "$ac_c_werror_flag"
35288 || test ! -s conftest.err'
35289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35290 (eval $ac_try) 2>&5
35291 ac_status=$?
35292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35293 (exit $ac_status); }; } &&
35294 { ac_try='test -s conftest$ac_exeext'
35295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35296 (eval $ac_try) 2>&5
35297 ac_status=$?
35298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35299 (exit $ac_status); }; }; then
35300 eval "$as_ac_var=yes"
35301 else
35302 echo "$as_me: failed program was:" >&5
35303 sed 's/^/| /' conftest.$ac_ext >&5
35305 eval "$as_ac_var=no"
35307 rm -f conftest.err conftest.$ac_objext \
35308 conftest$ac_exeext conftest.$ac_ext
35310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35312 if test `eval echo '${'$as_ac_var'}'` = yes; then
35313 cat >>confdefs.h <<_ACEOF
35314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35315 _ACEOF
35318 done
35328 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
35329 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
35330 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
35331 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
35332 echo $ECHO_N "(cached) $ECHO_C" >&6
35333 else
35337 ac_ext=cc
35338 ac_cpp='$CXXCPP $CPPFLAGS'
35339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35343 cat >conftest.$ac_ext <<_ACEOF
35344 /* confdefs.h. */
35345 _ACEOF
35346 cat confdefs.h >>conftest.$ac_ext
35347 cat >>conftest.$ac_ext <<_ACEOF
35348 /* end confdefs.h. */
35349 #include <math.h>
35350 #ifdef HAVE_IEEEFP_H
35351 #include <ieeefp.h>
35352 #endif
35355 main ()
35357 qfpclass(0);
35359 return 0;
35361 _ACEOF
35362 rm -f conftest.$ac_objext
35363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35364 (eval $ac_compile) 2>conftest.er1
35365 ac_status=$?
35366 grep -v '^ *+' conftest.er1 >conftest.err
35367 rm -f conftest.er1
35368 cat conftest.err >&5
35369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35370 (exit $ac_status); } &&
35371 { ac_try='test -z "$ac_cxx_werror_flag"
35372 || test ! -s conftest.err'
35373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35374 (eval $ac_try) 2>&5
35375 ac_status=$?
35376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35377 (exit $ac_status); }; } &&
35378 { ac_try='test -s conftest.$ac_objext'
35379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35380 (eval $ac_try) 2>&5
35381 ac_status=$?
35382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35383 (exit $ac_status); }; }; then
35384 glibcxx_cv_func_qfpclass_use=yes
35385 else
35386 echo "$as_me: failed program was:" >&5
35387 sed 's/^/| /' conftest.$ac_ext >&5
35389 glibcxx_cv_func_qfpclass_use=no
35391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35392 ac_ext=c
35393 ac_cpp='$CPP $CPPFLAGS'
35394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35402 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
35403 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
35405 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
35407 for ac_func in qfpclass
35409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35410 echo "$as_me:$LINENO: checking for $ac_func" >&5
35411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35412 if eval "test \"\${$as_ac_var+set}\" = set"; then
35413 echo $ECHO_N "(cached) $ECHO_C" >&6
35414 else
35415 if test x$gcc_no_link = xyes; then
35416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35418 { (exit 1); exit 1; }; }
35420 cat >conftest.$ac_ext <<_ACEOF
35421 /* confdefs.h. */
35422 _ACEOF
35423 cat confdefs.h >>conftest.$ac_ext
35424 cat >>conftest.$ac_ext <<_ACEOF
35425 /* end confdefs.h. */
35426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35428 #define $ac_func innocuous_$ac_func
35430 /* System header to define __stub macros and hopefully few prototypes,
35431 which can conflict with char $ac_func (); below.
35432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35433 <limits.h> exists even on freestanding compilers. */
35435 #ifdef __STDC__
35436 # include <limits.h>
35437 #else
35438 # include <assert.h>
35439 #endif
35441 #undef $ac_func
35443 /* Override any gcc2 internal prototype to avoid an error. */
35444 #ifdef __cplusplus
35445 extern "C"
35447 #endif
35448 /* We use char because int might match the return type of a gcc2
35449 builtin and then its argument prototype would still apply. */
35450 char $ac_func ();
35451 /* The GNU C library defines this for functions which it implements
35452 to always fail with ENOSYS. Some functions are actually named
35453 something starting with __ and the normal name is an alias. */
35454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35455 choke me
35456 #else
35457 char (*f) () = $ac_func;
35458 #endif
35459 #ifdef __cplusplus
35461 #endif
35464 main ()
35466 return f != $ac_func;
35468 return 0;
35470 _ACEOF
35471 rm -f conftest.$ac_objext conftest$ac_exeext
35472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35473 (eval $ac_link) 2>conftest.er1
35474 ac_status=$?
35475 grep -v '^ *+' conftest.er1 >conftest.err
35476 rm -f conftest.er1
35477 cat conftest.err >&5
35478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35479 (exit $ac_status); } &&
35480 { ac_try='test -z "$ac_c_werror_flag"
35481 || test ! -s conftest.err'
35482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35483 (eval $ac_try) 2>&5
35484 ac_status=$?
35485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35486 (exit $ac_status); }; } &&
35487 { ac_try='test -s conftest$ac_exeext'
35488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35489 (eval $ac_try) 2>&5
35490 ac_status=$?
35491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35492 (exit $ac_status); }; }; then
35493 eval "$as_ac_var=yes"
35494 else
35495 echo "$as_me: failed program was:" >&5
35496 sed 's/^/| /' conftest.$ac_ext >&5
35498 eval "$as_ac_var=no"
35500 rm -f conftest.err conftest.$ac_objext \
35501 conftest$ac_exeext conftest.$ac_ext
35503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35505 if test `eval echo '${'$as_ac_var'}'` = yes; then
35506 cat >>confdefs.h <<_ACEOF
35507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35508 _ACEOF
35511 done
35513 else
35515 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
35516 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
35517 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35518 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
35519 echo $ECHO_N "(cached) $ECHO_C" >&6
35520 else
35524 ac_ext=cc
35525 ac_cpp='$CXXCPP $CPPFLAGS'
35526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35530 cat >conftest.$ac_ext <<_ACEOF
35531 /* confdefs.h. */
35532 _ACEOF
35533 cat confdefs.h >>conftest.$ac_ext
35534 cat >>conftest.$ac_ext <<_ACEOF
35535 /* end confdefs.h. */
35536 #include <math.h>
35537 #ifdef HAVE_IEEEFP_H
35538 #include <ieeefp.h>
35539 #endif
35542 main ()
35544 _qfpclass(0);
35546 return 0;
35548 _ACEOF
35549 rm -f conftest.$ac_objext
35550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35551 (eval $ac_compile) 2>conftest.er1
35552 ac_status=$?
35553 grep -v '^ *+' conftest.er1 >conftest.err
35554 rm -f conftest.er1
35555 cat conftest.err >&5
35556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35557 (exit $ac_status); } &&
35558 { ac_try='test -z "$ac_cxx_werror_flag"
35559 || test ! -s conftest.err'
35560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35561 (eval $ac_try) 2>&5
35562 ac_status=$?
35563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35564 (exit $ac_status); }; } &&
35565 { ac_try='test -s conftest.$ac_objext'
35566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35567 (eval $ac_try) 2>&5
35568 ac_status=$?
35569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35570 (exit $ac_status); }; }; then
35571 glibcxx_cv_func__qfpclass_use=yes
35572 else
35573 echo "$as_me: failed program was:" >&5
35574 sed 's/^/| /' conftest.$ac_ext >&5
35576 glibcxx_cv_func__qfpclass_use=no
35578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35579 ac_ext=c
35580 ac_cpp='$CPP $CPPFLAGS'
35581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35589 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
35590 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
35592 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
35594 for ac_func in _qfpclass
35596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35597 echo "$as_me:$LINENO: checking for $ac_func" >&5
35598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35599 if eval "test \"\${$as_ac_var+set}\" = set"; then
35600 echo $ECHO_N "(cached) $ECHO_C" >&6
35601 else
35602 if test x$gcc_no_link = xyes; then
35603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35605 { (exit 1); exit 1; }; }
35607 cat >conftest.$ac_ext <<_ACEOF
35608 /* confdefs.h. */
35609 _ACEOF
35610 cat confdefs.h >>conftest.$ac_ext
35611 cat >>conftest.$ac_ext <<_ACEOF
35612 /* end confdefs.h. */
35613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35615 #define $ac_func innocuous_$ac_func
35617 /* System header to define __stub macros and hopefully few prototypes,
35618 which can conflict with char $ac_func (); below.
35619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35620 <limits.h> exists even on freestanding compilers. */
35622 #ifdef __STDC__
35623 # include <limits.h>
35624 #else
35625 # include <assert.h>
35626 #endif
35628 #undef $ac_func
35630 /* Override any gcc2 internal prototype to avoid an error. */
35631 #ifdef __cplusplus
35632 extern "C"
35634 #endif
35635 /* We use char because int might match the return type of a gcc2
35636 builtin and then its argument prototype would still apply. */
35637 char $ac_func ();
35638 /* The GNU C library defines this for functions which it implements
35639 to always fail with ENOSYS. Some functions are actually named
35640 something starting with __ and the normal name is an alias. */
35641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35642 choke me
35643 #else
35644 char (*f) () = $ac_func;
35645 #endif
35646 #ifdef __cplusplus
35648 #endif
35651 main ()
35653 return f != $ac_func;
35655 return 0;
35657 _ACEOF
35658 rm -f conftest.$ac_objext conftest$ac_exeext
35659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35660 (eval $ac_link) 2>conftest.er1
35661 ac_status=$?
35662 grep -v '^ *+' conftest.er1 >conftest.err
35663 rm -f conftest.er1
35664 cat conftest.err >&5
35665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35666 (exit $ac_status); } &&
35667 { ac_try='test -z "$ac_c_werror_flag"
35668 || test ! -s conftest.err'
35669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35670 (eval $ac_try) 2>&5
35671 ac_status=$?
35672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35673 (exit $ac_status); }; } &&
35674 { ac_try='test -s conftest$ac_exeext'
35675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35676 (eval $ac_try) 2>&5
35677 ac_status=$?
35678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35679 (exit $ac_status); }; }; then
35680 eval "$as_ac_var=yes"
35681 else
35682 echo "$as_me: failed program was:" >&5
35683 sed 's/^/| /' conftest.$ac_ext >&5
35685 eval "$as_ac_var=no"
35687 rm -f conftest.err conftest.$ac_objext \
35688 conftest$ac_exeext conftest.$ac_ext
35690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35692 if test `eval echo '${'$as_ac_var'}'` = yes; then
35693 cat >>confdefs.h <<_ACEOF
35694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35695 _ACEOF
35698 done
35708 echo "$as_me:$LINENO: checking for hypot declaration" >&5
35709 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
35710 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
35711 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
35712 echo $ECHO_N "(cached) $ECHO_C" >&6
35713 else
35717 ac_ext=cc
35718 ac_cpp='$CXXCPP $CPPFLAGS'
35719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35723 cat >conftest.$ac_ext <<_ACEOF
35724 /* confdefs.h. */
35725 _ACEOF
35726 cat confdefs.h >>conftest.$ac_ext
35727 cat >>conftest.$ac_ext <<_ACEOF
35728 /* end confdefs.h. */
35729 #include <math.h>
35731 main ()
35733 hypot(0, 0);
35735 return 0;
35737 _ACEOF
35738 rm -f conftest.$ac_objext
35739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35740 (eval $ac_compile) 2>conftest.er1
35741 ac_status=$?
35742 grep -v '^ *+' conftest.er1 >conftest.err
35743 rm -f conftest.er1
35744 cat conftest.err >&5
35745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35746 (exit $ac_status); } &&
35747 { ac_try='test -z "$ac_cxx_werror_flag"
35748 || test ! -s conftest.err'
35749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35750 (eval $ac_try) 2>&5
35751 ac_status=$?
35752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35753 (exit $ac_status); }; } &&
35754 { ac_try='test -s conftest.$ac_objext'
35755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35756 (eval $ac_try) 2>&5
35757 ac_status=$?
35758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35759 (exit $ac_status); }; }; then
35760 glibcxx_cv_func_hypot_use=yes
35761 else
35762 echo "$as_me: failed program was:" >&5
35763 sed 's/^/| /' conftest.$ac_ext >&5
35765 glibcxx_cv_func_hypot_use=no
35767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35768 ac_ext=c
35769 ac_cpp='$CPP $CPPFLAGS'
35770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35778 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
35779 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
35781 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
35783 for ac_func in hypot
35785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35786 echo "$as_me:$LINENO: checking for $ac_func" >&5
35787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35788 if eval "test \"\${$as_ac_var+set}\" = set"; then
35789 echo $ECHO_N "(cached) $ECHO_C" >&6
35790 else
35791 if test x$gcc_no_link = xyes; then
35792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35794 { (exit 1); exit 1; }; }
35796 cat >conftest.$ac_ext <<_ACEOF
35797 /* confdefs.h. */
35798 _ACEOF
35799 cat confdefs.h >>conftest.$ac_ext
35800 cat >>conftest.$ac_ext <<_ACEOF
35801 /* end confdefs.h. */
35802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35804 #define $ac_func innocuous_$ac_func
35806 /* System header to define __stub macros and hopefully few prototypes,
35807 which can conflict with char $ac_func (); below.
35808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35809 <limits.h> exists even on freestanding compilers. */
35811 #ifdef __STDC__
35812 # include <limits.h>
35813 #else
35814 # include <assert.h>
35815 #endif
35817 #undef $ac_func
35819 /* Override any gcc2 internal prototype to avoid an error. */
35820 #ifdef __cplusplus
35821 extern "C"
35823 #endif
35824 /* We use char because int might match the return type of a gcc2
35825 builtin and then its argument prototype would still apply. */
35826 char $ac_func ();
35827 /* The GNU C library defines this for functions which it implements
35828 to always fail with ENOSYS. Some functions are actually named
35829 something starting with __ and the normal name is an alias. */
35830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35831 choke me
35832 #else
35833 char (*f) () = $ac_func;
35834 #endif
35835 #ifdef __cplusplus
35837 #endif
35840 main ()
35842 return f != $ac_func;
35844 return 0;
35846 _ACEOF
35847 rm -f conftest.$ac_objext conftest$ac_exeext
35848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35849 (eval $ac_link) 2>conftest.er1
35850 ac_status=$?
35851 grep -v '^ *+' conftest.er1 >conftest.err
35852 rm -f conftest.er1
35853 cat conftest.err >&5
35854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35855 (exit $ac_status); } &&
35856 { ac_try='test -z "$ac_c_werror_flag"
35857 || test ! -s conftest.err'
35858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35859 (eval $ac_try) 2>&5
35860 ac_status=$?
35861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35862 (exit $ac_status); }; } &&
35863 { ac_try='test -s conftest$ac_exeext'
35864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35865 (eval $ac_try) 2>&5
35866 ac_status=$?
35867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35868 (exit $ac_status); }; }; then
35869 eval "$as_ac_var=yes"
35870 else
35871 echo "$as_me: failed program was:" >&5
35872 sed 's/^/| /' conftest.$ac_ext >&5
35874 eval "$as_ac_var=no"
35876 rm -f conftest.err conftest.$ac_objext \
35877 conftest$ac_exeext conftest.$ac_ext
35879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35881 if test `eval echo '${'$as_ac_var'}'` = yes; then
35882 cat >>confdefs.h <<_ACEOF
35883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35884 _ACEOF
35887 done
35889 else
35891 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
35892 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
35893 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
35894 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
35895 echo $ECHO_N "(cached) $ECHO_C" >&6
35896 else
35900 ac_ext=cc
35901 ac_cpp='$CXXCPP $CPPFLAGS'
35902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35906 cat >conftest.$ac_ext <<_ACEOF
35907 /* confdefs.h. */
35908 _ACEOF
35909 cat confdefs.h >>conftest.$ac_ext
35910 cat >>conftest.$ac_ext <<_ACEOF
35911 /* end confdefs.h. */
35912 #include <math.h>
35914 main ()
35916 _hypot(0, 0);
35918 return 0;
35920 _ACEOF
35921 rm -f conftest.$ac_objext
35922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35923 (eval $ac_compile) 2>conftest.er1
35924 ac_status=$?
35925 grep -v '^ *+' conftest.er1 >conftest.err
35926 rm -f conftest.er1
35927 cat conftest.err >&5
35928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35929 (exit $ac_status); } &&
35930 { ac_try='test -z "$ac_cxx_werror_flag"
35931 || test ! -s conftest.err'
35932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35933 (eval $ac_try) 2>&5
35934 ac_status=$?
35935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35936 (exit $ac_status); }; } &&
35937 { ac_try='test -s conftest.$ac_objext'
35938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35939 (eval $ac_try) 2>&5
35940 ac_status=$?
35941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35942 (exit $ac_status); }; }; then
35943 glibcxx_cv_func__hypot_use=yes
35944 else
35945 echo "$as_me: failed program was:" >&5
35946 sed 's/^/| /' conftest.$ac_ext >&5
35948 glibcxx_cv_func__hypot_use=no
35950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35951 ac_ext=c
35952 ac_cpp='$CPP $CPPFLAGS'
35953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35961 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
35962 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
35964 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
35966 for ac_func in _hypot
35968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35969 echo "$as_me:$LINENO: checking for $ac_func" >&5
35970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35971 if eval "test \"\${$as_ac_var+set}\" = set"; then
35972 echo $ECHO_N "(cached) $ECHO_C" >&6
35973 else
35974 if test x$gcc_no_link = xyes; then
35975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35977 { (exit 1); exit 1; }; }
35979 cat >conftest.$ac_ext <<_ACEOF
35980 /* confdefs.h. */
35981 _ACEOF
35982 cat confdefs.h >>conftest.$ac_ext
35983 cat >>conftest.$ac_ext <<_ACEOF
35984 /* end confdefs.h. */
35985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35987 #define $ac_func innocuous_$ac_func
35989 /* System header to define __stub macros and hopefully few prototypes,
35990 which can conflict with char $ac_func (); below.
35991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35992 <limits.h> exists even on freestanding compilers. */
35994 #ifdef __STDC__
35995 # include <limits.h>
35996 #else
35997 # include <assert.h>
35998 #endif
36000 #undef $ac_func
36002 /* Override any gcc2 internal prototype to avoid an error. */
36003 #ifdef __cplusplus
36004 extern "C"
36006 #endif
36007 /* We use char because int might match the return type of a gcc2
36008 builtin and then its argument prototype would still apply. */
36009 char $ac_func ();
36010 /* The GNU C library defines this for functions which it implements
36011 to always fail with ENOSYS. Some functions are actually named
36012 something starting with __ and the normal name is an alias. */
36013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36014 choke me
36015 #else
36016 char (*f) () = $ac_func;
36017 #endif
36018 #ifdef __cplusplus
36020 #endif
36023 main ()
36025 return f != $ac_func;
36027 return 0;
36029 _ACEOF
36030 rm -f conftest.$ac_objext conftest$ac_exeext
36031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36032 (eval $ac_link) 2>conftest.er1
36033 ac_status=$?
36034 grep -v '^ *+' conftest.er1 >conftest.err
36035 rm -f conftest.er1
36036 cat conftest.err >&5
36037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36038 (exit $ac_status); } &&
36039 { ac_try='test -z "$ac_c_werror_flag"
36040 || test ! -s conftest.err'
36041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36042 (eval $ac_try) 2>&5
36043 ac_status=$?
36044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36045 (exit $ac_status); }; } &&
36046 { ac_try='test -s conftest$ac_exeext'
36047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36048 (eval $ac_try) 2>&5
36049 ac_status=$?
36050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36051 (exit $ac_status); }; }; then
36052 eval "$as_ac_var=yes"
36053 else
36054 echo "$as_me: failed program was:" >&5
36055 sed 's/^/| /' conftest.$ac_ext >&5
36057 eval "$as_ac_var=no"
36059 rm -f conftest.err conftest.$ac_objext \
36060 conftest$ac_exeext conftest.$ac_ext
36062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36064 if test `eval echo '${'$as_ac_var'}'` = yes; then
36065 cat >>confdefs.h <<_ACEOF
36066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36067 _ACEOF
36070 done
36080 echo "$as_me:$LINENO: checking for float trig functions" >&5
36081 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
36082 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
36083 echo $ECHO_N "(cached) $ECHO_C" >&6
36084 else
36088 ac_ext=cc
36089 ac_cpp='$CXXCPP $CPPFLAGS'
36090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36094 cat >conftest.$ac_ext <<_ACEOF
36095 /* confdefs.h. */
36096 _ACEOF
36097 cat confdefs.h >>conftest.$ac_ext
36098 cat >>conftest.$ac_ext <<_ACEOF
36099 /* end confdefs.h. */
36100 #include <math.h>
36102 main ()
36104 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36106 return 0;
36108 _ACEOF
36109 rm -f conftest.$ac_objext
36110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36111 (eval $ac_compile) 2>conftest.er1
36112 ac_status=$?
36113 grep -v '^ *+' conftest.er1 >conftest.err
36114 rm -f conftest.er1
36115 cat conftest.err >&5
36116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36117 (exit $ac_status); } &&
36118 { ac_try='test -z "$ac_cxx_werror_flag"
36119 || test ! -s conftest.err'
36120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36121 (eval $ac_try) 2>&5
36122 ac_status=$?
36123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36124 (exit $ac_status); }; } &&
36125 { ac_try='test -s conftest.$ac_objext'
36126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36127 (eval $ac_try) 2>&5
36128 ac_status=$?
36129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36130 (exit $ac_status); }; }; then
36131 glibcxx_cv_func_float_trig_use=yes
36132 else
36133 echo "$as_me: failed program was:" >&5
36134 sed 's/^/| /' conftest.$ac_ext >&5
36136 glibcxx_cv_func_float_trig_use=no
36138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36139 ac_ext=c
36140 ac_cpp='$CPP $CPPFLAGS'
36141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36147 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
36148 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
36149 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36159 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36162 echo "$as_me:$LINENO: checking for $ac_func" >&5
36163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36164 if eval "test \"\${$as_ac_var+set}\" = set"; then
36165 echo $ECHO_N "(cached) $ECHO_C" >&6
36166 else
36167 if test x$gcc_no_link = xyes; then
36168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36170 { (exit 1); exit 1; }; }
36172 cat >conftest.$ac_ext <<_ACEOF
36173 /* confdefs.h. */
36174 _ACEOF
36175 cat confdefs.h >>conftest.$ac_ext
36176 cat >>conftest.$ac_ext <<_ACEOF
36177 /* end confdefs.h. */
36178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36180 #define $ac_func innocuous_$ac_func
36182 /* System header to define __stub macros and hopefully few prototypes,
36183 which can conflict with char $ac_func (); below.
36184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36185 <limits.h> exists even on freestanding compilers. */
36187 #ifdef __STDC__
36188 # include <limits.h>
36189 #else
36190 # include <assert.h>
36191 #endif
36193 #undef $ac_func
36195 /* Override any gcc2 internal prototype to avoid an error. */
36196 #ifdef __cplusplus
36197 extern "C"
36199 #endif
36200 /* We use char because int might match the return type of a gcc2
36201 builtin and then its argument prototype would still apply. */
36202 char $ac_func ();
36203 /* The GNU C library defines this for functions which it implements
36204 to always fail with ENOSYS. Some functions are actually named
36205 something starting with __ and the normal name is an alias. */
36206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36207 choke me
36208 #else
36209 char (*f) () = $ac_func;
36210 #endif
36211 #ifdef __cplusplus
36213 #endif
36216 main ()
36218 return f != $ac_func;
36220 return 0;
36222 _ACEOF
36223 rm -f conftest.$ac_objext conftest$ac_exeext
36224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36225 (eval $ac_link) 2>conftest.er1
36226 ac_status=$?
36227 grep -v '^ *+' conftest.er1 >conftest.err
36228 rm -f conftest.er1
36229 cat conftest.err >&5
36230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36231 (exit $ac_status); } &&
36232 { ac_try='test -z "$ac_c_werror_flag"
36233 || test ! -s conftest.err'
36234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36235 (eval $ac_try) 2>&5
36236 ac_status=$?
36237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36238 (exit $ac_status); }; } &&
36239 { ac_try='test -s conftest$ac_exeext'
36240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36241 (eval $ac_try) 2>&5
36242 ac_status=$?
36243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36244 (exit $ac_status); }; }; then
36245 eval "$as_ac_var=yes"
36246 else
36247 echo "$as_me: failed program was:" >&5
36248 sed 's/^/| /' conftest.$ac_ext >&5
36250 eval "$as_ac_var=no"
36252 rm -f conftest.err conftest.$ac_objext \
36253 conftest$ac_exeext conftest.$ac_ext
36255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36257 if test `eval echo '${'$as_ac_var'}'` = yes; then
36258 cat >>confdefs.h <<_ACEOF
36259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36260 _ACEOF
36263 done
36265 else
36266 echo "$as_me:$LINENO: checking for _float trig functions" >&5
36267 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
36268 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
36269 echo $ECHO_N "(cached) $ECHO_C" >&6
36270 else
36274 ac_ext=cc
36275 ac_cpp='$CXXCPP $CPPFLAGS'
36276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36280 cat >conftest.$ac_ext <<_ACEOF
36281 /* confdefs.h. */
36282 _ACEOF
36283 cat confdefs.h >>conftest.$ac_ext
36284 cat >>conftest.$ac_ext <<_ACEOF
36285 /* end confdefs.h. */
36286 #include <math.h>
36288 main ()
36290 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36292 return 0;
36294 _ACEOF
36295 rm -f conftest.$ac_objext
36296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36297 (eval $ac_compile) 2>conftest.er1
36298 ac_status=$?
36299 grep -v '^ *+' conftest.er1 >conftest.err
36300 rm -f conftest.er1
36301 cat conftest.err >&5
36302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36303 (exit $ac_status); } &&
36304 { ac_try='test -z "$ac_cxx_werror_flag"
36305 || test ! -s conftest.err'
36306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36307 (eval $ac_try) 2>&5
36308 ac_status=$?
36309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36310 (exit $ac_status); }; } &&
36311 { ac_try='test -s conftest.$ac_objext'
36312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36313 (eval $ac_try) 2>&5
36314 ac_status=$?
36315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36316 (exit $ac_status); }; }; then
36317 glibcxx_cv_func__float_trig_use=yes
36318 else
36319 echo "$as_me: failed program was:" >&5
36320 sed 's/^/| /' conftest.$ac_ext >&5
36322 glibcxx_cv_func__float_trig_use=no
36324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36325 ac_ext=c
36326 ac_cpp='$CPP $CPPFLAGS'
36327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36333 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
36334 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
36335 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36345 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36348 echo "$as_me:$LINENO: checking for $ac_func" >&5
36349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36350 if eval "test \"\${$as_ac_var+set}\" = set"; then
36351 echo $ECHO_N "(cached) $ECHO_C" >&6
36352 else
36353 if test x$gcc_no_link = xyes; then
36354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36356 { (exit 1); exit 1; }; }
36358 cat >conftest.$ac_ext <<_ACEOF
36359 /* confdefs.h. */
36360 _ACEOF
36361 cat confdefs.h >>conftest.$ac_ext
36362 cat >>conftest.$ac_ext <<_ACEOF
36363 /* end confdefs.h. */
36364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36366 #define $ac_func innocuous_$ac_func
36368 /* System header to define __stub macros and hopefully few prototypes,
36369 which can conflict with char $ac_func (); below.
36370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36371 <limits.h> exists even on freestanding compilers. */
36373 #ifdef __STDC__
36374 # include <limits.h>
36375 #else
36376 # include <assert.h>
36377 #endif
36379 #undef $ac_func
36381 /* Override any gcc2 internal prototype to avoid an error. */
36382 #ifdef __cplusplus
36383 extern "C"
36385 #endif
36386 /* We use char because int might match the return type of a gcc2
36387 builtin and then its argument prototype would still apply. */
36388 char $ac_func ();
36389 /* The GNU C library defines this for functions which it implements
36390 to always fail with ENOSYS. Some functions are actually named
36391 something starting with __ and the normal name is an alias. */
36392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36393 choke me
36394 #else
36395 char (*f) () = $ac_func;
36396 #endif
36397 #ifdef __cplusplus
36399 #endif
36402 main ()
36404 return f != $ac_func;
36406 return 0;
36408 _ACEOF
36409 rm -f conftest.$ac_objext conftest$ac_exeext
36410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36411 (eval $ac_link) 2>conftest.er1
36412 ac_status=$?
36413 grep -v '^ *+' conftest.er1 >conftest.err
36414 rm -f conftest.er1
36415 cat conftest.err >&5
36416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36417 (exit $ac_status); } &&
36418 { ac_try='test -z "$ac_c_werror_flag"
36419 || test ! -s conftest.err'
36420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36421 (eval $ac_try) 2>&5
36422 ac_status=$?
36423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36424 (exit $ac_status); }; } &&
36425 { ac_try='test -s conftest$ac_exeext'
36426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36427 (eval $ac_try) 2>&5
36428 ac_status=$?
36429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36430 (exit $ac_status); }; }; then
36431 eval "$as_ac_var=yes"
36432 else
36433 echo "$as_me: failed program was:" >&5
36434 sed 's/^/| /' conftest.$ac_ext >&5
36436 eval "$as_ac_var=no"
36438 rm -f conftest.err conftest.$ac_objext \
36439 conftest$ac_exeext conftest.$ac_ext
36441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36443 if test `eval echo '${'$as_ac_var'}'` = yes; then
36444 cat >>confdefs.h <<_ACEOF
36445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36446 _ACEOF
36449 done
36467 echo "$as_me:$LINENO: checking for float round functions" >&5
36468 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
36469 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
36470 echo $ECHO_N "(cached) $ECHO_C" >&6
36471 else
36475 ac_ext=cc
36476 ac_cpp='$CXXCPP $CPPFLAGS'
36477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36481 cat >conftest.$ac_ext <<_ACEOF
36482 /* confdefs.h. */
36483 _ACEOF
36484 cat confdefs.h >>conftest.$ac_ext
36485 cat >>conftest.$ac_ext <<_ACEOF
36486 /* end confdefs.h. */
36487 #include <math.h>
36489 main ()
36491 ceilf (0); floorf (0);
36493 return 0;
36495 _ACEOF
36496 rm -f conftest.$ac_objext
36497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36498 (eval $ac_compile) 2>conftest.er1
36499 ac_status=$?
36500 grep -v '^ *+' conftest.er1 >conftest.err
36501 rm -f conftest.er1
36502 cat conftest.err >&5
36503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36504 (exit $ac_status); } &&
36505 { ac_try='test -z "$ac_cxx_werror_flag"
36506 || test ! -s conftest.err'
36507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36508 (eval $ac_try) 2>&5
36509 ac_status=$?
36510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36511 (exit $ac_status); }; } &&
36512 { ac_try='test -s conftest.$ac_objext'
36513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36514 (eval $ac_try) 2>&5
36515 ac_status=$?
36516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36517 (exit $ac_status); }; }; then
36518 glibcxx_cv_func_float_round_use=yes
36519 else
36520 echo "$as_me: failed program was:" >&5
36521 sed 's/^/| /' conftest.$ac_ext >&5
36523 glibcxx_cv_func_float_round_use=no
36525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36526 ac_ext=c
36527 ac_cpp='$CPP $CPPFLAGS'
36528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36534 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
36535 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
36536 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36539 for ac_func in ceilf floorf
36541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36542 echo "$as_me:$LINENO: checking for $ac_func" >&5
36543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36544 if eval "test \"\${$as_ac_var+set}\" = set"; then
36545 echo $ECHO_N "(cached) $ECHO_C" >&6
36546 else
36547 if test x$gcc_no_link = xyes; then
36548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36550 { (exit 1); exit 1; }; }
36552 cat >conftest.$ac_ext <<_ACEOF
36553 /* confdefs.h. */
36554 _ACEOF
36555 cat confdefs.h >>conftest.$ac_ext
36556 cat >>conftest.$ac_ext <<_ACEOF
36557 /* end confdefs.h. */
36558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36560 #define $ac_func innocuous_$ac_func
36562 /* System header to define __stub macros and hopefully few prototypes,
36563 which can conflict with char $ac_func (); below.
36564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36565 <limits.h> exists even on freestanding compilers. */
36567 #ifdef __STDC__
36568 # include <limits.h>
36569 #else
36570 # include <assert.h>
36571 #endif
36573 #undef $ac_func
36575 /* Override any gcc2 internal prototype to avoid an error. */
36576 #ifdef __cplusplus
36577 extern "C"
36579 #endif
36580 /* We use char because int might match the return type of a gcc2
36581 builtin and then its argument prototype would still apply. */
36582 char $ac_func ();
36583 /* The GNU C library defines this for functions which it implements
36584 to always fail with ENOSYS. Some functions are actually named
36585 something starting with __ and the normal name is an alias. */
36586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36587 choke me
36588 #else
36589 char (*f) () = $ac_func;
36590 #endif
36591 #ifdef __cplusplus
36593 #endif
36596 main ()
36598 return f != $ac_func;
36600 return 0;
36602 _ACEOF
36603 rm -f conftest.$ac_objext conftest$ac_exeext
36604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36605 (eval $ac_link) 2>conftest.er1
36606 ac_status=$?
36607 grep -v '^ *+' conftest.er1 >conftest.err
36608 rm -f conftest.er1
36609 cat conftest.err >&5
36610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36611 (exit $ac_status); } &&
36612 { ac_try='test -z "$ac_c_werror_flag"
36613 || test ! -s conftest.err'
36614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36615 (eval $ac_try) 2>&5
36616 ac_status=$?
36617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36618 (exit $ac_status); }; } &&
36619 { ac_try='test -s conftest$ac_exeext'
36620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36621 (eval $ac_try) 2>&5
36622 ac_status=$?
36623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36624 (exit $ac_status); }; }; then
36625 eval "$as_ac_var=yes"
36626 else
36627 echo "$as_me: failed program was:" >&5
36628 sed 's/^/| /' conftest.$ac_ext >&5
36630 eval "$as_ac_var=no"
36632 rm -f conftest.err conftest.$ac_objext \
36633 conftest$ac_exeext conftest.$ac_ext
36635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36637 if test `eval echo '${'$as_ac_var'}'` = yes; then
36638 cat >>confdefs.h <<_ACEOF
36639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36640 _ACEOF
36643 done
36645 else
36646 echo "$as_me:$LINENO: checking for _float round functions" >&5
36647 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
36648 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
36649 echo $ECHO_N "(cached) $ECHO_C" >&6
36650 else
36654 ac_ext=cc
36655 ac_cpp='$CXXCPP $CPPFLAGS'
36656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36660 cat >conftest.$ac_ext <<_ACEOF
36661 /* confdefs.h. */
36662 _ACEOF
36663 cat confdefs.h >>conftest.$ac_ext
36664 cat >>conftest.$ac_ext <<_ACEOF
36665 /* end confdefs.h. */
36666 #include <math.h>
36668 main ()
36670 _ceilf (0); _floorf (0);
36672 return 0;
36674 _ACEOF
36675 rm -f conftest.$ac_objext
36676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36677 (eval $ac_compile) 2>conftest.er1
36678 ac_status=$?
36679 grep -v '^ *+' conftest.er1 >conftest.err
36680 rm -f conftest.er1
36681 cat conftest.err >&5
36682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36683 (exit $ac_status); } &&
36684 { ac_try='test -z "$ac_cxx_werror_flag"
36685 || test ! -s conftest.err'
36686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36687 (eval $ac_try) 2>&5
36688 ac_status=$?
36689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36690 (exit $ac_status); }; } &&
36691 { ac_try='test -s conftest.$ac_objext'
36692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36693 (eval $ac_try) 2>&5
36694 ac_status=$?
36695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36696 (exit $ac_status); }; }; then
36697 glibcxx_cv_func__float_round_use=yes
36698 else
36699 echo "$as_me: failed program was:" >&5
36700 sed 's/^/| /' conftest.$ac_ext >&5
36702 glibcxx_cv_func__float_round_use=no
36704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36705 ac_ext=c
36706 ac_cpp='$CPP $CPPFLAGS'
36707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36713 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
36714 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
36715 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36718 for ac_func in _ceilf _floorf
36720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36721 echo "$as_me:$LINENO: checking for $ac_func" >&5
36722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36723 if eval "test \"\${$as_ac_var+set}\" = set"; then
36724 echo $ECHO_N "(cached) $ECHO_C" >&6
36725 else
36726 if test x$gcc_no_link = xyes; then
36727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36729 { (exit 1); exit 1; }; }
36731 cat >conftest.$ac_ext <<_ACEOF
36732 /* confdefs.h. */
36733 _ACEOF
36734 cat confdefs.h >>conftest.$ac_ext
36735 cat >>conftest.$ac_ext <<_ACEOF
36736 /* end confdefs.h. */
36737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36739 #define $ac_func innocuous_$ac_func
36741 /* System header to define __stub macros and hopefully few prototypes,
36742 which can conflict with char $ac_func (); below.
36743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36744 <limits.h> exists even on freestanding compilers. */
36746 #ifdef __STDC__
36747 # include <limits.h>
36748 #else
36749 # include <assert.h>
36750 #endif
36752 #undef $ac_func
36754 /* Override any gcc2 internal prototype to avoid an error. */
36755 #ifdef __cplusplus
36756 extern "C"
36758 #endif
36759 /* We use char because int might match the return type of a gcc2
36760 builtin and then its argument prototype would still apply. */
36761 char $ac_func ();
36762 /* The GNU C library defines this for functions which it implements
36763 to always fail with ENOSYS. Some functions are actually named
36764 something starting with __ and the normal name is an alias. */
36765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36766 choke me
36767 #else
36768 char (*f) () = $ac_func;
36769 #endif
36770 #ifdef __cplusplus
36772 #endif
36775 main ()
36777 return f != $ac_func;
36779 return 0;
36781 _ACEOF
36782 rm -f conftest.$ac_objext conftest$ac_exeext
36783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36784 (eval $ac_link) 2>conftest.er1
36785 ac_status=$?
36786 grep -v '^ *+' conftest.er1 >conftest.err
36787 rm -f conftest.er1
36788 cat conftest.err >&5
36789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36790 (exit $ac_status); } &&
36791 { ac_try='test -z "$ac_c_werror_flag"
36792 || test ! -s conftest.err'
36793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36794 (eval $ac_try) 2>&5
36795 ac_status=$?
36796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36797 (exit $ac_status); }; } &&
36798 { ac_try='test -s conftest$ac_exeext'
36799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36800 (eval $ac_try) 2>&5
36801 ac_status=$?
36802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36803 (exit $ac_status); }; }; then
36804 eval "$as_ac_var=yes"
36805 else
36806 echo "$as_me: failed program was:" >&5
36807 sed 's/^/| /' conftest.$ac_ext >&5
36809 eval "$as_ac_var=no"
36811 rm -f conftest.err conftest.$ac_objext \
36812 conftest$ac_exeext conftest.$ac_ext
36814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36816 if test `eval echo '${'$as_ac_var'}'` = yes; then
36817 cat >>confdefs.h <<_ACEOF
36818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36819 _ACEOF
36822 done
36834 echo "$as_me:$LINENO: checking for expf declaration" >&5
36835 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
36836 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36837 if test "${glibcxx_cv_func_expf_use+set}" = set; then
36838 echo $ECHO_N "(cached) $ECHO_C" >&6
36839 else
36843 ac_ext=cc
36844 ac_cpp='$CXXCPP $CPPFLAGS'
36845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36849 cat >conftest.$ac_ext <<_ACEOF
36850 /* confdefs.h. */
36851 _ACEOF
36852 cat confdefs.h >>conftest.$ac_ext
36853 cat >>conftest.$ac_ext <<_ACEOF
36854 /* end confdefs.h. */
36855 #include <math.h>
36856 #ifdef HAVE_IEEEFP_H
36857 #include <ieeefp.h>
36858 #endif
36861 main ()
36863 expf(0);
36865 return 0;
36867 _ACEOF
36868 rm -f conftest.$ac_objext
36869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36870 (eval $ac_compile) 2>conftest.er1
36871 ac_status=$?
36872 grep -v '^ *+' conftest.er1 >conftest.err
36873 rm -f conftest.er1
36874 cat conftest.err >&5
36875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36876 (exit $ac_status); } &&
36877 { ac_try='test -z "$ac_cxx_werror_flag"
36878 || test ! -s conftest.err'
36879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36880 (eval $ac_try) 2>&5
36881 ac_status=$?
36882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36883 (exit $ac_status); }; } &&
36884 { ac_try='test -s conftest.$ac_objext'
36885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36886 (eval $ac_try) 2>&5
36887 ac_status=$?
36888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36889 (exit $ac_status); }; }; then
36890 glibcxx_cv_func_expf_use=yes
36891 else
36892 echo "$as_me: failed program was:" >&5
36893 sed 's/^/| /' conftest.$ac_ext >&5
36895 glibcxx_cv_func_expf_use=no
36897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36898 ac_ext=c
36899 ac_cpp='$CPP $CPPFLAGS'
36900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36908 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
36909 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
36911 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36913 for ac_func in expf
36915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36916 echo "$as_me:$LINENO: checking for $ac_func" >&5
36917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36918 if eval "test \"\${$as_ac_var+set}\" = set"; then
36919 echo $ECHO_N "(cached) $ECHO_C" >&6
36920 else
36921 if test x$gcc_no_link = xyes; then
36922 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36924 { (exit 1); exit 1; }; }
36926 cat >conftest.$ac_ext <<_ACEOF
36927 /* confdefs.h. */
36928 _ACEOF
36929 cat confdefs.h >>conftest.$ac_ext
36930 cat >>conftest.$ac_ext <<_ACEOF
36931 /* end confdefs.h. */
36932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36934 #define $ac_func innocuous_$ac_func
36936 /* System header to define __stub macros and hopefully few prototypes,
36937 which can conflict with char $ac_func (); below.
36938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36939 <limits.h> exists even on freestanding compilers. */
36941 #ifdef __STDC__
36942 # include <limits.h>
36943 #else
36944 # include <assert.h>
36945 #endif
36947 #undef $ac_func
36949 /* Override any gcc2 internal prototype to avoid an error. */
36950 #ifdef __cplusplus
36951 extern "C"
36953 #endif
36954 /* We use char because int might match the return type of a gcc2
36955 builtin and then its argument prototype would still apply. */
36956 char $ac_func ();
36957 /* The GNU C library defines this for functions which it implements
36958 to always fail with ENOSYS. Some functions are actually named
36959 something starting with __ and the normal name is an alias. */
36960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36961 choke me
36962 #else
36963 char (*f) () = $ac_func;
36964 #endif
36965 #ifdef __cplusplus
36967 #endif
36970 main ()
36972 return f != $ac_func;
36974 return 0;
36976 _ACEOF
36977 rm -f conftest.$ac_objext conftest$ac_exeext
36978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36979 (eval $ac_link) 2>conftest.er1
36980 ac_status=$?
36981 grep -v '^ *+' conftest.er1 >conftest.err
36982 rm -f conftest.er1
36983 cat conftest.err >&5
36984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36985 (exit $ac_status); } &&
36986 { ac_try='test -z "$ac_c_werror_flag"
36987 || test ! -s conftest.err'
36988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36989 (eval $ac_try) 2>&5
36990 ac_status=$?
36991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36992 (exit $ac_status); }; } &&
36993 { ac_try='test -s conftest$ac_exeext'
36994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36995 (eval $ac_try) 2>&5
36996 ac_status=$?
36997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36998 (exit $ac_status); }; }; then
36999 eval "$as_ac_var=yes"
37000 else
37001 echo "$as_me: failed program was:" >&5
37002 sed 's/^/| /' conftest.$ac_ext >&5
37004 eval "$as_ac_var=no"
37006 rm -f conftest.err conftest.$ac_objext \
37007 conftest$ac_exeext conftest.$ac_ext
37009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37011 if test `eval echo '${'$as_ac_var'}'` = yes; then
37012 cat >>confdefs.h <<_ACEOF
37013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37014 _ACEOF
37017 done
37019 else
37021 echo "$as_me:$LINENO: checking for _expf declaration" >&5
37022 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
37023 if test x${glibcxx_cv_func__expf_use+set} != xset; then
37024 if test "${glibcxx_cv_func__expf_use+set}" = set; then
37025 echo $ECHO_N "(cached) $ECHO_C" >&6
37026 else
37030 ac_ext=cc
37031 ac_cpp='$CXXCPP $CPPFLAGS'
37032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37036 cat >conftest.$ac_ext <<_ACEOF
37037 /* confdefs.h. */
37038 _ACEOF
37039 cat confdefs.h >>conftest.$ac_ext
37040 cat >>conftest.$ac_ext <<_ACEOF
37041 /* end confdefs.h. */
37042 #include <math.h>
37043 #ifdef HAVE_IEEEFP_H
37044 #include <ieeefp.h>
37045 #endif
37048 main ()
37050 _expf(0);
37052 return 0;
37054 _ACEOF
37055 rm -f conftest.$ac_objext
37056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37057 (eval $ac_compile) 2>conftest.er1
37058 ac_status=$?
37059 grep -v '^ *+' conftest.er1 >conftest.err
37060 rm -f conftest.er1
37061 cat conftest.err >&5
37062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37063 (exit $ac_status); } &&
37064 { ac_try='test -z "$ac_cxx_werror_flag"
37065 || test ! -s conftest.err'
37066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37067 (eval $ac_try) 2>&5
37068 ac_status=$?
37069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37070 (exit $ac_status); }; } &&
37071 { ac_try='test -s conftest.$ac_objext'
37072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37073 (eval $ac_try) 2>&5
37074 ac_status=$?
37075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37076 (exit $ac_status); }; }; then
37077 glibcxx_cv_func__expf_use=yes
37078 else
37079 echo "$as_me: failed program was:" >&5
37080 sed 's/^/| /' conftest.$ac_ext >&5
37082 glibcxx_cv_func__expf_use=no
37084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37085 ac_ext=c
37086 ac_cpp='$CPP $CPPFLAGS'
37087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37095 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
37096 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
37098 if test x$glibcxx_cv_func__expf_use = x"yes"; then
37100 for ac_func in _expf
37102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37103 echo "$as_me:$LINENO: checking for $ac_func" >&5
37104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37105 if eval "test \"\${$as_ac_var+set}\" = set"; then
37106 echo $ECHO_N "(cached) $ECHO_C" >&6
37107 else
37108 if test x$gcc_no_link = xyes; then
37109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37111 { (exit 1); exit 1; }; }
37113 cat >conftest.$ac_ext <<_ACEOF
37114 /* confdefs.h. */
37115 _ACEOF
37116 cat confdefs.h >>conftest.$ac_ext
37117 cat >>conftest.$ac_ext <<_ACEOF
37118 /* end confdefs.h. */
37119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37121 #define $ac_func innocuous_$ac_func
37123 /* System header to define __stub macros and hopefully few prototypes,
37124 which can conflict with char $ac_func (); below.
37125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37126 <limits.h> exists even on freestanding compilers. */
37128 #ifdef __STDC__
37129 # include <limits.h>
37130 #else
37131 # include <assert.h>
37132 #endif
37134 #undef $ac_func
37136 /* Override any gcc2 internal prototype to avoid an error. */
37137 #ifdef __cplusplus
37138 extern "C"
37140 #endif
37141 /* We use char because int might match the return type of a gcc2
37142 builtin and then its argument prototype would still apply. */
37143 char $ac_func ();
37144 /* The GNU C library defines this for functions which it implements
37145 to always fail with ENOSYS. Some functions are actually named
37146 something starting with __ and the normal name is an alias. */
37147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37148 choke me
37149 #else
37150 char (*f) () = $ac_func;
37151 #endif
37152 #ifdef __cplusplus
37154 #endif
37157 main ()
37159 return f != $ac_func;
37161 return 0;
37163 _ACEOF
37164 rm -f conftest.$ac_objext conftest$ac_exeext
37165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37166 (eval $ac_link) 2>conftest.er1
37167 ac_status=$?
37168 grep -v '^ *+' conftest.er1 >conftest.err
37169 rm -f conftest.er1
37170 cat conftest.err >&5
37171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37172 (exit $ac_status); } &&
37173 { ac_try='test -z "$ac_c_werror_flag"
37174 || test ! -s conftest.err'
37175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37176 (eval $ac_try) 2>&5
37177 ac_status=$?
37178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37179 (exit $ac_status); }; } &&
37180 { ac_try='test -s conftest$ac_exeext'
37181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37182 (eval $ac_try) 2>&5
37183 ac_status=$?
37184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37185 (exit $ac_status); }; }; then
37186 eval "$as_ac_var=yes"
37187 else
37188 echo "$as_me: failed program was:" >&5
37189 sed 's/^/| /' conftest.$ac_ext >&5
37191 eval "$as_ac_var=no"
37193 rm -f conftest.err conftest.$ac_objext \
37194 conftest$ac_exeext conftest.$ac_ext
37196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37198 if test `eval echo '${'$as_ac_var'}'` = yes; then
37199 cat >>confdefs.h <<_ACEOF
37200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37201 _ACEOF
37204 done
37214 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
37215 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
37216 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
37217 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
37218 echo $ECHO_N "(cached) $ECHO_C" >&6
37219 else
37223 ac_ext=cc
37224 ac_cpp='$CXXCPP $CPPFLAGS'
37225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37229 cat >conftest.$ac_ext <<_ACEOF
37230 /* confdefs.h. */
37231 _ACEOF
37232 cat confdefs.h >>conftest.$ac_ext
37233 cat >>conftest.$ac_ext <<_ACEOF
37234 /* end confdefs.h. */
37235 #include <math.h>
37236 #ifdef HAVE_IEEEFP_H
37237 #include <ieeefp.h>
37238 #endif
37241 main ()
37243 isnanf(0);
37245 return 0;
37247 _ACEOF
37248 rm -f conftest.$ac_objext
37249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37250 (eval $ac_compile) 2>conftest.er1
37251 ac_status=$?
37252 grep -v '^ *+' conftest.er1 >conftest.err
37253 rm -f conftest.er1
37254 cat conftest.err >&5
37255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37256 (exit $ac_status); } &&
37257 { ac_try='test -z "$ac_cxx_werror_flag"
37258 || test ! -s conftest.err'
37259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37260 (eval $ac_try) 2>&5
37261 ac_status=$?
37262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37263 (exit $ac_status); }; } &&
37264 { ac_try='test -s conftest.$ac_objext'
37265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37266 (eval $ac_try) 2>&5
37267 ac_status=$?
37268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37269 (exit $ac_status); }; }; then
37270 glibcxx_cv_func_isnanf_use=yes
37271 else
37272 echo "$as_me: failed program was:" >&5
37273 sed 's/^/| /' conftest.$ac_ext >&5
37275 glibcxx_cv_func_isnanf_use=no
37277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37278 ac_ext=c
37279 ac_cpp='$CPP $CPPFLAGS'
37280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37288 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
37289 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
37291 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
37293 for ac_func in isnanf
37295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37296 echo "$as_me:$LINENO: checking for $ac_func" >&5
37297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37298 if eval "test \"\${$as_ac_var+set}\" = set"; then
37299 echo $ECHO_N "(cached) $ECHO_C" >&6
37300 else
37301 if test x$gcc_no_link = xyes; then
37302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37304 { (exit 1); exit 1; }; }
37306 cat >conftest.$ac_ext <<_ACEOF
37307 /* confdefs.h. */
37308 _ACEOF
37309 cat confdefs.h >>conftest.$ac_ext
37310 cat >>conftest.$ac_ext <<_ACEOF
37311 /* end confdefs.h. */
37312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37314 #define $ac_func innocuous_$ac_func
37316 /* System header to define __stub macros and hopefully few prototypes,
37317 which can conflict with char $ac_func (); below.
37318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37319 <limits.h> exists even on freestanding compilers. */
37321 #ifdef __STDC__
37322 # include <limits.h>
37323 #else
37324 # include <assert.h>
37325 #endif
37327 #undef $ac_func
37329 /* Override any gcc2 internal prototype to avoid an error. */
37330 #ifdef __cplusplus
37331 extern "C"
37333 #endif
37334 /* We use char because int might match the return type of a gcc2
37335 builtin and then its argument prototype would still apply. */
37336 char $ac_func ();
37337 /* The GNU C library defines this for functions which it implements
37338 to always fail with ENOSYS. Some functions are actually named
37339 something starting with __ and the normal name is an alias. */
37340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37341 choke me
37342 #else
37343 char (*f) () = $ac_func;
37344 #endif
37345 #ifdef __cplusplus
37347 #endif
37350 main ()
37352 return f != $ac_func;
37354 return 0;
37356 _ACEOF
37357 rm -f conftest.$ac_objext conftest$ac_exeext
37358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37359 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
37380 else
37381 echo "$as_me: failed program was:" >&5
37382 sed 's/^/| /' conftest.$ac_ext >&5
37384 eval "$as_ac_var=no"
37386 rm -f conftest.err conftest.$ac_objext \
37387 conftest$ac_exeext conftest.$ac_ext
37389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37391 if test `eval echo '${'$as_ac_var'}'` = yes; then
37392 cat >>confdefs.h <<_ACEOF
37393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37394 _ACEOF
37397 done
37399 else
37401 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
37402 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
37403 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
37404 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
37405 echo $ECHO_N "(cached) $ECHO_C" >&6
37406 else
37410 ac_ext=cc
37411 ac_cpp='$CXXCPP $CPPFLAGS'
37412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37416 cat >conftest.$ac_ext <<_ACEOF
37417 /* confdefs.h. */
37418 _ACEOF
37419 cat confdefs.h >>conftest.$ac_ext
37420 cat >>conftest.$ac_ext <<_ACEOF
37421 /* end confdefs.h. */
37422 #include <math.h>
37423 #ifdef HAVE_IEEEFP_H
37424 #include <ieeefp.h>
37425 #endif
37428 main ()
37430 _isnanf(0);
37432 return 0;
37434 _ACEOF
37435 rm -f conftest.$ac_objext
37436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37437 (eval $ac_compile) 2>conftest.er1
37438 ac_status=$?
37439 grep -v '^ *+' conftest.er1 >conftest.err
37440 rm -f conftest.er1
37441 cat conftest.err >&5
37442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37443 (exit $ac_status); } &&
37444 { ac_try='test -z "$ac_cxx_werror_flag"
37445 || test ! -s conftest.err'
37446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37447 (eval $ac_try) 2>&5
37448 ac_status=$?
37449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37450 (exit $ac_status); }; } &&
37451 { ac_try='test -s conftest.$ac_objext'
37452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37453 (eval $ac_try) 2>&5
37454 ac_status=$?
37455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37456 (exit $ac_status); }; }; then
37457 glibcxx_cv_func__isnanf_use=yes
37458 else
37459 echo "$as_me: failed program was:" >&5
37460 sed 's/^/| /' conftest.$ac_ext >&5
37462 glibcxx_cv_func__isnanf_use=no
37464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37465 ac_ext=c
37466 ac_cpp='$CPP $CPPFLAGS'
37467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37475 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
37476 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
37478 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
37480 for ac_func in _isnanf
37482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37483 echo "$as_me:$LINENO: checking for $ac_func" >&5
37484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37485 if eval "test \"\${$as_ac_var+set}\" = set"; then
37486 echo $ECHO_N "(cached) $ECHO_C" >&6
37487 else
37488 if test x$gcc_no_link = xyes; then
37489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37491 { (exit 1); exit 1; }; }
37493 cat >conftest.$ac_ext <<_ACEOF
37494 /* confdefs.h. */
37495 _ACEOF
37496 cat confdefs.h >>conftest.$ac_ext
37497 cat >>conftest.$ac_ext <<_ACEOF
37498 /* end confdefs.h. */
37499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37501 #define $ac_func innocuous_$ac_func
37503 /* System header to define __stub macros and hopefully few prototypes,
37504 which can conflict with char $ac_func (); below.
37505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37506 <limits.h> exists even on freestanding compilers. */
37508 #ifdef __STDC__
37509 # include <limits.h>
37510 #else
37511 # include <assert.h>
37512 #endif
37514 #undef $ac_func
37516 /* Override any gcc2 internal prototype to avoid an error. */
37517 #ifdef __cplusplus
37518 extern "C"
37520 #endif
37521 /* We use char because int might match the return type of a gcc2
37522 builtin and then its argument prototype would still apply. */
37523 char $ac_func ();
37524 /* The GNU C library defines this for functions which it implements
37525 to always fail with ENOSYS. Some functions are actually named
37526 something starting with __ and the normal name is an alias. */
37527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37528 choke me
37529 #else
37530 char (*f) () = $ac_func;
37531 #endif
37532 #ifdef __cplusplus
37534 #endif
37537 main ()
37539 return f != $ac_func;
37541 return 0;
37543 _ACEOF
37544 rm -f conftest.$ac_objext conftest$ac_exeext
37545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37546 (eval $ac_link) 2>conftest.er1
37547 ac_status=$?
37548 grep -v '^ *+' conftest.er1 >conftest.err
37549 rm -f conftest.er1
37550 cat conftest.err >&5
37551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37552 (exit $ac_status); } &&
37553 { ac_try='test -z "$ac_c_werror_flag"
37554 || test ! -s conftest.err'
37555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37556 (eval $ac_try) 2>&5
37557 ac_status=$?
37558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37559 (exit $ac_status); }; } &&
37560 { ac_try='test -s conftest$ac_exeext'
37561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37562 (eval $ac_try) 2>&5
37563 ac_status=$?
37564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37565 (exit $ac_status); }; }; then
37566 eval "$as_ac_var=yes"
37567 else
37568 echo "$as_me: failed program was:" >&5
37569 sed 's/^/| /' conftest.$ac_ext >&5
37571 eval "$as_ac_var=no"
37573 rm -f conftest.err conftest.$ac_objext \
37574 conftest$ac_exeext conftest.$ac_ext
37576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37578 if test `eval echo '${'$as_ac_var'}'` = yes; then
37579 cat >>confdefs.h <<_ACEOF
37580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37581 _ACEOF
37584 done
37594 echo "$as_me:$LINENO: checking for isinff declaration" >&5
37595 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
37596 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
37597 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
37598 echo $ECHO_N "(cached) $ECHO_C" >&6
37599 else
37603 ac_ext=cc
37604 ac_cpp='$CXXCPP $CPPFLAGS'
37605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37609 cat >conftest.$ac_ext <<_ACEOF
37610 /* confdefs.h. */
37611 _ACEOF
37612 cat confdefs.h >>conftest.$ac_ext
37613 cat >>conftest.$ac_ext <<_ACEOF
37614 /* end confdefs.h. */
37615 #include <math.h>
37616 #ifdef HAVE_IEEEFP_H
37617 #include <ieeefp.h>
37618 #endif
37621 main ()
37623 isinff(0);
37625 return 0;
37627 _ACEOF
37628 rm -f conftest.$ac_objext
37629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37630 (eval $ac_compile) 2>conftest.er1
37631 ac_status=$?
37632 grep -v '^ *+' conftest.er1 >conftest.err
37633 rm -f conftest.er1
37634 cat conftest.err >&5
37635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37636 (exit $ac_status); } &&
37637 { ac_try='test -z "$ac_cxx_werror_flag"
37638 || test ! -s conftest.err'
37639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37640 (eval $ac_try) 2>&5
37641 ac_status=$?
37642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37643 (exit $ac_status); }; } &&
37644 { ac_try='test -s conftest.$ac_objext'
37645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37646 (eval $ac_try) 2>&5
37647 ac_status=$?
37648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37649 (exit $ac_status); }; }; then
37650 glibcxx_cv_func_isinff_use=yes
37651 else
37652 echo "$as_me: failed program was:" >&5
37653 sed 's/^/| /' conftest.$ac_ext >&5
37655 glibcxx_cv_func_isinff_use=no
37657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37658 ac_ext=c
37659 ac_cpp='$CPP $CPPFLAGS'
37660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37668 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
37669 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
37671 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
37673 for ac_func in isinff
37675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37676 echo "$as_me:$LINENO: checking for $ac_func" >&5
37677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37678 if eval "test \"\${$as_ac_var+set}\" = set"; then
37679 echo $ECHO_N "(cached) $ECHO_C" >&6
37680 else
37681 if test x$gcc_no_link = xyes; then
37682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37684 { (exit 1); exit 1; }; }
37686 cat >conftest.$ac_ext <<_ACEOF
37687 /* confdefs.h. */
37688 _ACEOF
37689 cat confdefs.h >>conftest.$ac_ext
37690 cat >>conftest.$ac_ext <<_ACEOF
37691 /* end confdefs.h. */
37692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37694 #define $ac_func innocuous_$ac_func
37696 /* System header to define __stub macros and hopefully few prototypes,
37697 which can conflict with char $ac_func (); below.
37698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37699 <limits.h> exists even on freestanding compilers. */
37701 #ifdef __STDC__
37702 # include <limits.h>
37703 #else
37704 # include <assert.h>
37705 #endif
37707 #undef $ac_func
37709 /* Override any gcc2 internal prototype to avoid an error. */
37710 #ifdef __cplusplus
37711 extern "C"
37713 #endif
37714 /* We use char because int might match the return type of a gcc2
37715 builtin and then its argument prototype would still apply. */
37716 char $ac_func ();
37717 /* The GNU C library defines this for functions which it implements
37718 to always fail with ENOSYS. Some functions are actually named
37719 something starting with __ and the normal name is an alias. */
37720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37721 choke me
37722 #else
37723 char (*f) () = $ac_func;
37724 #endif
37725 #ifdef __cplusplus
37727 #endif
37730 main ()
37732 return f != $ac_func;
37734 return 0;
37736 _ACEOF
37737 rm -f conftest.$ac_objext conftest$ac_exeext
37738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37739 (eval $ac_link) 2>conftest.er1
37740 ac_status=$?
37741 grep -v '^ *+' conftest.er1 >conftest.err
37742 rm -f conftest.er1
37743 cat conftest.err >&5
37744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37745 (exit $ac_status); } &&
37746 { ac_try='test -z "$ac_c_werror_flag"
37747 || test ! -s conftest.err'
37748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37749 (eval $ac_try) 2>&5
37750 ac_status=$?
37751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37752 (exit $ac_status); }; } &&
37753 { ac_try='test -s conftest$ac_exeext'
37754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37755 (eval $ac_try) 2>&5
37756 ac_status=$?
37757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37758 (exit $ac_status); }; }; then
37759 eval "$as_ac_var=yes"
37760 else
37761 echo "$as_me: failed program was:" >&5
37762 sed 's/^/| /' conftest.$ac_ext >&5
37764 eval "$as_ac_var=no"
37766 rm -f conftest.err conftest.$ac_objext \
37767 conftest$ac_exeext conftest.$ac_ext
37769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37771 if test `eval echo '${'$as_ac_var'}'` = yes; then
37772 cat >>confdefs.h <<_ACEOF
37773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37774 _ACEOF
37777 done
37779 else
37781 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
37782 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
37783 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
37784 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
37785 echo $ECHO_N "(cached) $ECHO_C" >&6
37786 else
37790 ac_ext=cc
37791 ac_cpp='$CXXCPP $CPPFLAGS'
37792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37796 cat >conftest.$ac_ext <<_ACEOF
37797 /* confdefs.h. */
37798 _ACEOF
37799 cat confdefs.h >>conftest.$ac_ext
37800 cat >>conftest.$ac_ext <<_ACEOF
37801 /* end confdefs.h. */
37802 #include <math.h>
37803 #ifdef HAVE_IEEEFP_H
37804 #include <ieeefp.h>
37805 #endif
37808 main ()
37810 _isinff(0);
37812 return 0;
37814 _ACEOF
37815 rm -f conftest.$ac_objext
37816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37817 (eval $ac_compile) 2>conftest.er1
37818 ac_status=$?
37819 grep -v '^ *+' conftest.er1 >conftest.err
37820 rm -f conftest.er1
37821 cat conftest.err >&5
37822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37823 (exit $ac_status); } &&
37824 { ac_try='test -z "$ac_cxx_werror_flag"
37825 || test ! -s conftest.err'
37826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37827 (eval $ac_try) 2>&5
37828 ac_status=$?
37829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37830 (exit $ac_status); }; } &&
37831 { ac_try='test -s conftest.$ac_objext'
37832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37833 (eval $ac_try) 2>&5
37834 ac_status=$?
37835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37836 (exit $ac_status); }; }; then
37837 glibcxx_cv_func__isinff_use=yes
37838 else
37839 echo "$as_me: failed program was:" >&5
37840 sed 's/^/| /' conftest.$ac_ext >&5
37842 glibcxx_cv_func__isinff_use=no
37844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37845 ac_ext=c
37846 ac_cpp='$CPP $CPPFLAGS'
37847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37855 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
37856 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
37858 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
37860 for ac_func in _isinff
37862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37863 echo "$as_me:$LINENO: checking for $ac_func" >&5
37864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37865 if eval "test \"\${$as_ac_var+set}\" = set"; then
37866 echo $ECHO_N "(cached) $ECHO_C" >&6
37867 else
37868 if test x$gcc_no_link = xyes; then
37869 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37871 { (exit 1); exit 1; }; }
37873 cat >conftest.$ac_ext <<_ACEOF
37874 /* confdefs.h. */
37875 _ACEOF
37876 cat confdefs.h >>conftest.$ac_ext
37877 cat >>conftest.$ac_ext <<_ACEOF
37878 /* end confdefs.h. */
37879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37881 #define $ac_func innocuous_$ac_func
37883 /* System header to define __stub macros and hopefully few prototypes,
37884 which can conflict with char $ac_func (); below.
37885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37886 <limits.h> exists even on freestanding compilers. */
37888 #ifdef __STDC__
37889 # include <limits.h>
37890 #else
37891 # include <assert.h>
37892 #endif
37894 #undef $ac_func
37896 /* Override any gcc2 internal prototype to avoid an error. */
37897 #ifdef __cplusplus
37898 extern "C"
37900 #endif
37901 /* We use char because int might match the return type of a gcc2
37902 builtin and then its argument prototype would still apply. */
37903 char $ac_func ();
37904 /* The GNU C library defines this for functions which it implements
37905 to always fail with ENOSYS. Some functions are actually named
37906 something starting with __ and the normal name is an alias. */
37907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37908 choke me
37909 #else
37910 char (*f) () = $ac_func;
37911 #endif
37912 #ifdef __cplusplus
37914 #endif
37917 main ()
37919 return f != $ac_func;
37921 return 0;
37923 _ACEOF
37924 rm -f conftest.$ac_objext conftest$ac_exeext
37925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37926 (eval $ac_link) 2>conftest.er1
37927 ac_status=$?
37928 grep -v '^ *+' conftest.er1 >conftest.err
37929 rm -f conftest.er1
37930 cat conftest.err >&5
37931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37932 (exit $ac_status); } &&
37933 { ac_try='test -z "$ac_c_werror_flag"
37934 || test ! -s conftest.err'
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); }; } &&
37940 { ac_try='test -s conftest$ac_exeext'
37941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37942 (eval $ac_try) 2>&5
37943 ac_status=$?
37944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37945 (exit $ac_status); }; }; then
37946 eval "$as_ac_var=yes"
37947 else
37948 echo "$as_me: failed program was:" >&5
37949 sed 's/^/| /' conftest.$ac_ext >&5
37951 eval "$as_ac_var=no"
37953 rm -f conftest.err conftest.$ac_objext \
37954 conftest$ac_exeext conftest.$ac_ext
37956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37958 if test `eval echo '${'$as_ac_var'}'` = yes; then
37959 cat >>confdefs.h <<_ACEOF
37960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37961 _ACEOF
37964 done
37974 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
37975 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
37976 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37977 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
37978 echo $ECHO_N "(cached) $ECHO_C" >&6
37979 else
37983 ac_ext=cc
37984 ac_cpp='$CXXCPP $CPPFLAGS'
37985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37989 cat >conftest.$ac_ext <<_ACEOF
37990 /* confdefs.h. */
37991 _ACEOF
37992 cat confdefs.h >>conftest.$ac_ext
37993 cat >>conftest.$ac_ext <<_ACEOF
37994 /* end confdefs.h. */
37995 #include <math.h>
37997 main ()
37999 atan2f(0, 0);
38001 return 0;
38003 _ACEOF
38004 rm -f conftest.$ac_objext
38005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38006 (eval $ac_compile) 2>conftest.er1
38007 ac_status=$?
38008 grep -v '^ *+' conftest.er1 >conftest.err
38009 rm -f conftest.er1
38010 cat conftest.err >&5
38011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38012 (exit $ac_status); } &&
38013 { ac_try='test -z "$ac_cxx_werror_flag"
38014 || test ! -s conftest.err'
38015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38016 (eval $ac_try) 2>&5
38017 ac_status=$?
38018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38019 (exit $ac_status); }; } &&
38020 { ac_try='test -s conftest.$ac_objext'
38021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38022 (eval $ac_try) 2>&5
38023 ac_status=$?
38024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38025 (exit $ac_status); }; }; then
38026 glibcxx_cv_func_atan2f_use=yes
38027 else
38028 echo "$as_me: failed program was:" >&5
38029 sed 's/^/| /' conftest.$ac_ext >&5
38031 glibcxx_cv_func_atan2f_use=no
38033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38034 ac_ext=c
38035 ac_cpp='$CPP $CPPFLAGS'
38036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38044 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
38045 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
38047 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
38049 for ac_func in atan2f
38051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38052 echo "$as_me:$LINENO: checking for $ac_func" >&5
38053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38054 if eval "test \"\${$as_ac_var+set}\" = set"; then
38055 echo $ECHO_N "(cached) $ECHO_C" >&6
38056 else
38057 if test x$gcc_no_link = xyes; then
38058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38060 { (exit 1); exit 1; }; }
38062 cat >conftest.$ac_ext <<_ACEOF
38063 /* confdefs.h. */
38064 _ACEOF
38065 cat confdefs.h >>conftest.$ac_ext
38066 cat >>conftest.$ac_ext <<_ACEOF
38067 /* end confdefs.h. */
38068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38070 #define $ac_func innocuous_$ac_func
38072 /* System header to define __stub macros and hopefully few prototypes,
38073 which can conflict with char $ac_func (); below.
38074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38075 <limits.h> exists even on freestanding compilers. */
38077 #ifdef __STDC__
38078 # include <limits.h>
38079 #else
38080 # include <assert.h>
38081 #endif
38083 #undef $ac_func
38085 /* Override any gcc2 internal prototype to avoid an error. */
38086 #ifdef __cplusplus
38087 extern "C"
38089 #endif
38090 /* We use char because int might match the return type of a gcc2
38091 builtin and then its argument prototype would still apply. */
38092 char $ac_func ();
38093 /* The GNU C library defines this for functions which it implements
38094 to always fail with ENOSYS. Some functions are actually named
38095 something starting with __ and the normal name is an alias. */
38096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38097 choke me
38098 #else
38099 char (*f) () = $ac_func;
38100 #endif
38101 #ifdef __cplusplus
38103 #endif
38106 main ()
38108 return f != $ac_func;
38110 return 0;
38112 _ACEOF
38113 rm -f conftest.$ac_objext conftest$ac_exeext
38114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38115 (eval $ac_link) 2>conftest.er1
38116 ac_status=$?
38117 grep -v '^ *+' conftest.er1 >conftest.err
38118 rm -f conftest.er1
38119 cat conftest.err >&5
38120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38121 (exit $ac_status); } &&
38122 { ac_try='test -z "$ac_c_werror_flag"
38123 || test ! -s conftest.err'
38124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38125 (eval $ac_try) 2>&5
38126 ac_status=$?
38127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38128 (exit $ac_status); }; } &&
38129 { ac_try='test -s conftest$ac_exeext'
38130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38131 (eval $ac_try) 2>&5
38132 ac_status=$?
38133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38134 (exit $ac_status); }; }; then
38135 eval "$as_ac_var=yes"
38136 else
38137 echo "$as_me: failed program was:" >&5
38138 sed 's/^/| /' conftest.$ac_ext >&5
38140 eval "$as_ac_var=no"
38142 rm -f conftest.err conftest.$ac_objext \
38143 conftest$ac_exeext conftest.$ac_ext
38145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38147 if test `eval echo '${'$as_ac_var'}'` = yes; then
38148 cat >>confdefs.h <<_ACEOF
38149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38150 _ACEOF
38153 done
38155 else
38157 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
38158 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
38159 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
38160 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
38161 echo $ECHO_N "(cached) $ECHO_C" >&6
38162 else
38166 ac_ext=cc
38167 ac_cpp='$CXXCPP $CPPFLAGS'
38168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38172 cat >conftest.$ac_ext <<_ACEOF
38173 /* confdefs.h. */
38174 _ACEOF
38175 cat confdefs.h >>conftest.$ac_ext
38176 cat >>conftest.$ac_ext <<_ACEOF
38177 /* end confdefs.h. */
38178 #include <math.h>
38180 main ()
38182 _atan2f(0, 0);
38184 return 0;
38186 _ACEOF
38187 rm -f conftest.$ac_objext
38188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38189 (eval $ac_compile) 2>conftest.er1
38190 ac_status=$?
38191 grep -v '^ *+' conftest.er1 >conftest.err
38192 rm -f conftest.er1
38193 cat conftest.err >&5
38194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38195 (exit $ac_status); } &&
38196 { ac_try='test -z "$ac_cxx_werror_flag"
38197 || test ! -s conftest.err'
38198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38199 (eval $ac_try) 2>&5
38200 ac_status=$?
38201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38202 (exit $ac_status); }; } &&
38203 { ac_try='test -s conftest.$ac_objext'
38204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38205 (eval $ac_try) 2>&5
38206 ac_status=$?
38207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38208 (exit $ac_status); }; }; then
38209 glibcxx_cv_func__atan2f_use=yes
38210 else
38211 echo "$as_me: failed program was:" >&5
38212 sed 's/^/| /' conftest.$ac_ext >&5
38214 glibcxx_cv_func__atan2f_use=no
38216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38217 ac_ext=c
38218 ac_cpp='$CPP $CPPFLAGS'
38219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38227 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
38228 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
38230 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
38232 for ac_func in _atan2f
38234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38235 echo "$as_me:$LINENO: checking for $ac_func" >&5
38236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38237 if eval "test \"\${$as_ac_var+set}\" = set"; then
38238 echo $ECHO_N "(cached) $ECHO_C" >&6
38239 else
38240 if test x$gcc_no_link = xyes; then
38241 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38243 { (exit 1); exit 1; }; }
38245 cat >conftest.$ac_ext <<_ACEOF
38246 /* confdefs.h. */
38247 _ACEOF
38248 cat confdefs.h >>conftest.$ac_ext
38249 cat >>conftest.$ac_ext <<_ACEOF
38250 /* end confdefs.h. */
38251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38253 #define $ac_func innocuous_$ac_func
38255 /* System header to define __stub macros and hopefully few prototypes,
38256 which can conflict with char $ac_func (); below.
38257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38258 <limits.h> exists even on freestanding compilers. */
38260 #ifdef __STDC__
38261 # include <limits.h>
38262 #else
38263 # include <assert.h>
38264 #endif
38266 #undef $ac_func
38268 /* Override any gcc2 internal prototype to avoid an error. */
38269 #ifdef __cplusplus
38270 extern "C"
38272 #endif
38273 /* We use char because int might match the return type of a gcc2
38274 builtin and then its argument prototype would still apply. */
38275 char $ac_func ();
38276 /* The GNU C library defines this for functions which it implements
38277 to always fail with ENOSYS. Some functions are actually named
38278 something starting with __ and the normal name is an alias. */
38279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38280 choke me
38281 #else
38282 char (*f) () = $ac_func;
38283 #endif
38284 #ifdef __cplusplus
38286 #endif
38289 main ()
38291 return f != $ac_func;
38293 return 0;
38295 _ACEOF
38296 rm -f conftest.$ac_objext conftest$ac_exeext
38297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38298 (eval $ac_link) 2>conftest.er1
38299 ac_status=$?
38300 grep -v '^ *+' conftest.er1 >conftest.err
38301 rm -f conftest.er1
38302 cat conftest.err >&5
38303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38304 (exit $ac_status); } &&
38305 { ac_try='test -z "$ac_c_werror_flag"
38306 || test ! -s conftest.err'
38307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38308 (eval $ac_try) 2>&5
38309 ac_status=$?
38310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38311 (exit $ac_status); }; } &&
38312 { ac_try='test -s conftest$ac_exeext'
38313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38314 (eval $ac_try) 2>&5
38315 ac_status=$?
38316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38317 (exit $ac_status); }; }; then
38318 eval "$as_ac_var=yes"
38319 else
38320 echo "$as_me: failed program was:" >&5
38321 sed 's/^/| /' conftest.$ac_ext >&5
38323 eval "$as_ac_var=no"
38325 rm -f conftest.err conftest.$ac_objext \
38326 conftest$ac_exeext conftest.$ac_ext
38328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38330 if test `eval echo '${'$as_ac_var'}'` = yes; then
38331 cat >>confdefs.h <<_ACEOF
38332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38333 _ACEOF
38336 done
38346 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
38347 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
38348 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
38349 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
38350 echo $ECHO_N "(cached) $ECHO_C" >&6
38351 else
38355 ac_ext=cc
38356 ac_cpp='$CXXCPP $CPPFLAGS'
38357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38361 cat >conftest.$ac_ext <<_ACEOF
38362 /* confdefs.h. */
38363 _ACEOF
38364 cat confdefs.h >>conftest.$ac_ext
38365 cat >>conftest.$ac_ext <<_ACEOF
38366 /* end confdefs.h. */
38367 #include <math.h>
38368 #ifdef HAVE_IEEEFP_H
38369 #include <ieeefp.h>
38370 #endif
38373 main ()
38375 fabsf(0);
38377 return 0;
38379 _ACEOF
38380 rm -f conftest.$ac_objext
38381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38382 (eval $ac_compile) 2>conftest.er1
38383 ac_status=$?
38384 grep -v '^ *+' conftest.er1 >conftest.err
38385 rm -f conftest.er1
38386 cat conftest.err >&5
38387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38388 (exit $ac_status); } &&
38389 { ac_try='test -z "$ac_cxx_werror_flag"
38390 || test ! -s conftest.err'
38391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38392 (eval $ac_try) 2>&5
38393 ac_status=$?
38394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38395 (exit $ac_status); }; } &&
38396 { ac_try='test -s conftest.$ac_objext'
38397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38398 (eval $ac_try) 2>&5
38399 ac_status=$?
38400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38401 (exit $ac_status); }; }; then
38402 glibcxx_cv_func_fabsf_use=yes
38403 else
38404 echo "$as_me: failed program was:" >&5
38405 sed 's/^/| /' conftest.$ac_ext >&5
38407 glibcxx_cv_func_fabsf_use=no
38409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38410 ac_ext=c
38411 ac_cpp='$CPP $CPPFLAGS'
38412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38420 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
38421 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
38423 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
38425 for ac_func in fabsf
38427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38428 echo "$as_me:$LINENO: checking for $ac_func" >&5
38429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38430 if eval "test \"\${$as_ac_var+set}\" = set"; then
38431 echo $ECHO_N "(cached) $ECHO_C" >&6
38432 else
38433 if test x$gcc_no_link = xyes; then
38434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38436 { (exit 1); exit 1; }; }
38438 cat >conftest.$ac_ext <<_ACEOF
38439 /* confdefs.h. */
38440 _ACEOF
38441 cat confdefs.h >>conftest.$ac_ext
38442 cat >>conftest.$ac_ext <<_ACEOF
38443 /* end confdefs.h. */
38444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38446 #define $ac_func innocuous_$ac_func
38448 /* System header to define __stub macros and hopefully few prototypes,
38449 which can conflict with char $ac_func (); below.
38450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38451 <limits.h> exists even on freestanding compilers. */
38453 #ifdef __STDC__
38454 # include <limits.h>
38455 #else
38456 # include <assert.h>
38457 #endif
38459 #undef $ac_func
38461 /* Override any gcc2 internal prototype to avoid an error. */
38462 #ifdef __cplusplus
38463 extern "C"
38465 #endif
38466 /* We use char because int might match the return type of a gcc2
38467 builtin and then its argument prototype would still apply. */
38468 char $ac_func ();
38469 /* The GNU C library defines this for functions which it implements
38470 to always fail with ENOSYS. Some functions are actually named
38471 something starting with __ and the normal name is an alias. */
38472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38473 choke me
38474 #else
38475 char (*f) () = $ac_func;
38476 #endif
38477 #ifdef __cplusplus
38479 #endif
38482 main ()
38484 return f != $ac_func;
38486 return 0;
38488 _ACEOF
38489 rm -f conftest.$ac_objext conftest$ac_exeext
38490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38491 (eval $ac_link) 2>conftest.er1
38492 ac_status=$?
38493 grep -v '^ *+' conftest.er1 >conftest.err
38494 rm -f conftest.er1
38495 cat conftest.err >&5
38496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38497 (exit $ac_status); } &&
38498 { ac_try='test -z "$ac_c_werror_flag"
38499 || test ! -s conftest.err'
38500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38501 (eval $ac_try) 2>&5
38502 ac_status=$?
38503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38504 (exit $ac_status); }; } &&
38505 { ac_try='test -s conftest$ac_exeext'
38506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38507 (eval $ac_try) 2>&5
38508 ac_status=$?
38509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38510 (exit $ac_status); }; }; then
38511 eval "$as_ac_var=yes"
38512 else
38513 echo "$as_me: failed program was:" >&5
38514 sed 's/^/| /' conftest.$ac_ext >&5
38516 eval "$as_ac_var=no"
38518 rm -f conftest.err conftest.$ac_objext \
38519 conftest$ac_exeext conftest.$ac_ext
38521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38523 if test `eval echo '${'$as_ac_var'}'` = yes; then
38524 cat >>confdefs.h <<_ACEOF
38525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38526 _ACEOF
38529 done
38531 else
38533 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
38534 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
38535 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
38536 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
38537 echo $ECHO_N "(cached) $ECHO_C" >&6
38538 else
38542 ac_ext=cc
38543 ac_cpp='$CXXCPP $CPPFLAGS'
38544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38548 cat >conftest.$ac_ext <<_ACEOF
38549 /* confdefs.h. */
38550 _ACEOF
38551 cat confdefs.h >>conftest.$ac_ext
38552 cat >>conftest.$ac_ext <<_ACEOF
38553 /* end confdefs.h. */
38554 #include <math.h>
38555 #ifdef HAVE_IEEEFP_H
38556 #include <ieeefp.h>
38557 #endif
38560 main ()
38562 _fabsf(0);
38564 return 0;
38566 _ACEOF
38567 rm -f conftest.$ac_objext
38568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38569 (eval $ac_compile) 2>conftest.er1
38570 ac_status=$?
38571 grep -v '^ *+' conftest.er1 >conftest.err
38572 rm -f conftest.er1
38573 cat conftest.err >&5
38574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38575 (exit $ac_status); } &&
38576 { ac_try='test -z "$ac_cxx_werror_flag"
38577 || test ! -s conftest.err'
38578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38579 (eval $ac_try) 2>&5
38580 ac_status=$?
38581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38582 (exit $ac_status); }; } &&
38583 { ac_try='test -s conftest.$ac_objext'
38584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38585 (eval $ac_try) 2>&5
38586 ac_status=$?
38587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38588 (exit $ac_status); }; }; then
38589 glibcxx_cv_func__fabsf_use=yes
38590 else
38591 echo "$as_me: failed program was:" >&5
38592 sed 's/^/| /' conftest.$ac_ext >&5
38594 glibcxx_cv_func__fabsf_use=no
38596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38597 ac_ext=c
38598 ac_cpp='$CPP $CPPFLAGS'
38599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38607 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
38608 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
38610 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
38612 for ac_func in _fabsf
38614 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38615 echo "$as_me:$LINENO: checking for $ac_func" >&5
38616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38617 if eval "test \"\${$as_ac_var+set}\" = set"; then
38618 echo $ECHO_N "(cached) $ECHO_C" >&6
38619 else
38620 if test x$gcc_no_link = xyes; then
38621 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38623 { (exit 1); exit 1; }; }
38625 cat >conftest.$ac_ext <<_ACEOF
38626 /* confdefs.h. */
38627 _ACEOF
38628 cat confdefs.h >>conftest.$ac_ext
38629 cat >>conftest.$ac_ext <<_ACEOF
38630 /* end confdefs.h. */
38631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38633 #define $ac_func innocuous_$ac_func
38635 /* System header to define __stub macros and hopefully few prototypes,
38636 which can conflict with char $ac_func (); below.
38637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38638 <limits.h> exists even on freestanding compilers. */
38640 #ifdef __STDC__
38641 # include <limits.h>
38642 #else
38643 # include <assert.h>
38644 #endif
38646 #undef $ac_func
38648 /* Override any gcc2 internal prototype to avoid an error. */
38649 #ifdef __cplusplus
38650 extern "C"
38652 #endif
38653 /* We use char because int might match the return type of a gcc2
38654 builtin and then its argument prototype would still apply. */
38655 char $ac_func ();
38656 /* The GNU C library defines this for functions which it implements
38657 to always fail with ENOSYS. Some functions are actually named
38658 something starting with __ and the normal name is an alias. */
38659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38660 choke me
38661 #else
38662 char (*f) () = $ac_func;
38663 #endif
38664 #ifdef __cplusplus
38666 #endif
38669 main ()
38671 return f != $ac_func;
38673 return 0;
38675 _ACEOF
38676 rm -f conftest.$ac_objext conftest$ac_exeext
38677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38678 (eval $ac_link) 2>conftest.er1
38679 ac_status=$?
38680 grep -v '^ *+' conftest.er1 >conftest.err
38681 rm -f conftest.er1
38682 cat conftest.err >&5
38683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38684 (exit $ac_status); } &&
38685 { ac_try='test -z "$ac_c_werror_flag"
38686 || test ! -s conftest.err'
38687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38688 (eval $ac_try) 2>&5
38689 ac_status=$?
38690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38691 (exit $ac_status); }; } &&
38692 { ac_try='test -s conftest$ac_exeext'
38693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38694 (eval $ac_try) 2>&5
38695 ac_status=$?
38696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38697 (exit $ac_status); }; }; then
38698 eval "$as_ac_var=yes"
38699 else
38700 echo "$as_me: failed program was:" >&5
38701 sed 's/^/| /' conftest.$ac_ext >&5
38703 eval "$as_ac_var=no"
38705 rm -f conftest.err conftest.$ac_objext \
38706 conftest$ac_exeext conftest.$ac_ext
38708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38710 if test `eval echo '${'$as_ac_var'}'` = yes; then
38711 cat >>confdefs.h <<_ACEOF
38712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38713 _ACEOF
38716 done
38726 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
38727 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
38728 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
38729 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
38730 echo $ECHO_N "(cached) $ECHO_C" >&6
38731 else
38735 ac_ext=cc
38736 ac_cpp='$CXXCPP $CPPFLAGS'
38737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38741 cat >conftest.$ac_ext <<_ACEOF
38742 /* confdefs.h. */
38743 _ACEOF
38744 cat confdefs.h >>conftest.$ac_ext
38745 cat >>conftest.$ac_ext <<_ACEOF
38746 /* end confdefs.h. */
38747 #include <math.h>
38749 main ()
38751 fmodf(0, 0);
38753 return 0;
38755 _ACEOF
38756 rm -f conftest.$ac_objext
38757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38758 (eval $ac_compile) 2>conftest.er1
38759 ac_status=$?
38760 grep -v '^ *+' conftest.er1 >conftest.err
38761 rm -f conftest.er1
38762 cat conftest.err >&5
38763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38764 (exit $ac_status); } &&
38765 { ac_try='test -z "$ac_cxx_werror_flag"
38766 || test ! -s conftest.err'
38767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38768 (eval $ac_try) 2>&5
38769 ac_status=$?
38770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38771 (exit $ac_status); }; } &&
38772 { ac_try='test -s conftest.$ac_objext'
38773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38774 (eval $ac_try) 2>&5
38775 ac_status=$?
38776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38777 (exit $ac_status); }; }; then
38778 glibcxx_cv_func_fmodf_use=yes
38779 else
38780 echo "$as_me: failed program was:" >&5
38781 sed 's/^/| /' conftest.$ac_ext >&5
38783 glibcxx_cv_func_fmodf_use=no
38785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38786 ac_ext=c
38787 ac_cpp='$CPP $CPPFLAGS'
38788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38796 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
38797 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
38799 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
38801 for ac_func in fmodf
38803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38804 echo "$as_me:$LINENO: checking for $ac_func" >&5
38805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38806 if eval "test \"\${$as_ac_var+set}\" = set"; then
38807 echo $ECHO_N "(cached) $ECHO_C" >&6
38808 else
38809 if test x$gcc_no_link = xyes; then
38810 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38812 { (exit 1); exit 1; }; }
38814 cat >conftest.$ac_ext <<_ACEOF
38815 /* confdefs.h. */
38816 _ACEOF
38817 cat confdefs.h >>conftest.$ac_ext
38818 cat >>conftest.$ac_ext <<_ACEOF
38819 /* end confdefs.h. */
38820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38822 #define $ac_func innocuous_$ac_func
38824 /* System header to define __stub macros and hopefully few prototypes,
38825 which can conflict with char $ac_func (); below.
38826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38827 <limits.h> exists even on freestanding compilers. */
38829 #ifdef __STDC__
38830 # include <limits.h>
38831 #else
38832 # include <assert.h>
38833 #endif
38835 #undef $ac_func
38837 /* Override any gcc2 internal prototype to avoid an error. */
38838 #ifdef __cplusplus
38839 extern "C"
38841 #endif
38842 /* We use char because int might match the return type of a gcc2
38843 builtin and then its argument prototype would still apply. */
38844 char $ac_func ();
38845 /* The GNU C library defines this for functions which it implements
38846 to always fail with ENOSYS. Some functions are actually named
38847 something starting with __ and the normal name is an alias. */
38848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38849 choke me
38850 #else
38851 char (*f) () = $ac_func;
38852 #endif
38853 #ifdef __cplusplus
38855 #endif
38858 main ()
38860 return f != $ac_func;
38862 return 0;
38864 _ACEOF
38865 rm -f conftest.$ac_objext conftest$ac_exeext
38866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38867 (eval $ac_link) 2>conftest.er1
38868 ac_status=$?
38869 grep -v '^ *+' conftest.er1 >conftest.err
38870 rm -f conftest.er1
38871 cat conftest.err >&5
38872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38873 (exit $ac_status); } &&
38874 { ac_try='test -z "$ac_c_werror_flag"
38875 || test ! -s conftest.err'
38876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38877 (eval $ac_try) 2>&5
38878 ac_status=$?
38879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38880 (exit $ac_status); }; } &&
38881 { ac_try='test -s conftest$ac_exeext'
38882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38883 (eval $ac_try) 2>&5
38884 ac_status=$?
38885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38886 (exit $ac_status); }; }; then
38887 eval "$as_ac_var=yes"
38888 else
38889 echo "$as_me: failed program was:" >&5
38890 sed 's/^/| /' conftest.$ac_ext >&5
38892 eval "$as_ac_var=no"
38894 rm -f conftest.err conftest.$ac_objext \
38895 conftest$ac_exeext conftest.$ac_ext
38897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38898 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38899 if test `eval echo '${'$as_ac_var'}'` = yes; then
38900 cat >>confdefs.h <<_ACEOF
38901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38902 _ACEOF
38905 done
38907 else
38909 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
38910 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
38911 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
38912 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
38913 echo $ECHO_N "(cached) $ECHO_C" >&6
38914 else
38918 ac_ext=cc
38919 ac_cpp='$CXXCPP $CPPFLAGS'
38920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38924 cat >conftest.$ac_ext <<_ACEOF
38925 /* confdefs.h. */
38926 _ACEOF
38927 cat confdefs.h >>conftest.$ac_ext
38928 cat >>conftest.$ac_ext <<_ACEOF
38929 /* end confdefs.h. */
38930 #include <math.h>
38932 main ()
38934 _fmodf(0, 0);
38936 return 0;
38938 _ACEOF
38939 rm -f conftest.$ac_objext
38940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38941 (eval $ac_compile) 2>conftest.er1
38942 ac_status=$?
38943 grep -v '^ *+' conftest.er1 >conftest.err
38944 rm -f conftest.er1
38945 cat conftest.err >&5
38946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38947 (exit $ac_status); } &&
38948 { ac_try='test -z "$ac_cxx_werror_flag"
38949 || test ! -s conftest.err'
38950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38951 (eval $ac_try) 2>&5
38952 ac_status=$?
38953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38954 (exit $ac_status); }; } &&
38955 { ac_try='test -s conftest.$ac_objext'
38956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38957 (eval $ac_try) 2>&5
38958 ac_status=$?
38959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38960 (exit $ac_status); }; }; then
38961 glibcxx_cv_func__fmodf_use=yes
38962 else
38963 echo "$as_me: failed program was:" >&5
38964 sed 's/^/| /' conftest.$ac_ext >&5
38966 glibcxx_cv_func__fmodf_use=no
38968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38969 ac_ext=c
38970 ac_cpp='$CPP $CPPFLAGS'
38971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38979 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
38980 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
38982 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
38984 for ac_func in _fmodf
38986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38987 echo "$as_me:$LINENO: checking for $ac_func" >&5
38988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38989 if eval "test \"\${$as_ac_var+set}\" = set"; then
38990 echo $ECHO_N "(cached) $ECHO_C" >&6
38991 else
38992 if test x$gcc_no_link = xyes; then
38993 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38995 { (exit 1); exit 1; }; }
38997 cat >conftest.$ac_ext <<_ACEOF
38998 /* confdefs.h. */
38999 _ACEOF
39000 cat confdefs.h >>conftest.$ac_ext
39001 cat >>conftest.$ac_ext <<_ACEOF
39002 /* end confdefs.h. */
39003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39005 #define $ac_func innocuous_$ac_func
39007 /* System header to define __stub macros and hopefully few prototypes,
39008 which can conflict with char $ac_func (); below.
39009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39010 <limits.h> exists even on freestanding compilers. */
39012 #ifdef __STDC__
39013 # include <limits.h>
39014 #else
39015 # include <assert.h>
39016 #endif
39018 #undef $ac_func
39020 /* Override any gcc2 internal prototype to avoid an error. */
39021 #ifdef __cplusplus
39022 extern "C"
39024 #endif
39025 /* We use char because int might match the return type of a gcc2
39026 builtin and then its argument prototype would still apply. */
39027 char $ac_func ();
39028 /* The GNU C library defines this for functions which it implements
39029 to always fail with ENOSYS. Some functions are actually named
39030 something starting with __ and the normal name is an alias. */
39031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39032 choke me
39033 #else
39034 char (*f) () = $ac_func;
39035 #endif
39036 #ifdef __cplusplus
39038 #endif
39041 main ()
39043 return f != $ac_func;
39045 return 0;
39047 _ACEOF
39048 rm -f conftest.$ac_objext conftest$ac_exeext
39049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39050 (eval $ac_link) 2>conftest.er1
39051 ac_status=$?
39052 grep -v '^ *+' conftest.er1 >conftest.err
39053 rm -f conftest.er1
39054 cat conftest.err >&5
39055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39056 (exit $ac_status); } &&
39057 { ac_try='test -z "$ac_c_werror_flag"
39058 || test ! -s conftest.err'
39059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39060 (eval $ac_try) 2>&5
39061 ac_status=$?
39062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39063 (exit $ac_status); }; } &&
39064 { ac_try='test -s conftest$ac_exeext'
39065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39066 (eval $ac_try) 2>&5
39067 ac_status=$?
39068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39069 (exit $ac_status); }; }; then
39070 eval "$as_ac_var=yes"
39071 else
39072 echo "$as_me: failed program was:" >&5
39073 sed 's/^/| /' conftest.$ac_ext >&5
39075 eval "$as_ac_var=no"
39077 rm -f conftest.err conftest.$ac_objext \
39078 conftest$ac_exeext conftest.$ac_ext
39080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39082 if test `eval echo '${'$as_ac_var'}'` = yes; then
39083 cat >>confdefs.h <<_ACEOF
39084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39085 _ACEOF
39088 done
39098 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
39099 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
39100 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
39101 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
39102 echo $ECHO_N "(cached) $ECHO_C" >&6
39103 else
39107 ac_ext=cc
39108 ac_cpp='$CXXCPP $CPPFLAGS'
39109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39113 cat >conftest.$ac_ext <<_ACEOF
39114 /* confdefs.h. */
39115 _ACEOF
39116 cat confdefs.h >>conftest.$ac_ext
39117 cat >>conftest.$ac_ext <<_ACEOF
39118 /* end confdefs.h. */
39119 #include <math.h>
39121 main ()
39123 frexpf(0, 0);
39125 return 0;
39127 _ACEOF
39128 rm -f conftest.$ac_objext
39129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39130 (eval $ac_compile) 2>conftest.er1
39131 ac_status=$?
39132 grep -v '^ *+' conftest.er1 >conftest.err
39133 rm -f conftest.er1
39134 cat conftest.err >&5
39135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39136 (exit $ac_status); } &&
39137 { ac_try='test -z "$ac_cxx_werror_flag"
39138 || test ! -s conftest.err'
39139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39140 (eval $ac_try) 2>&5
39141 ac_status=$?
39142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39143 (exit $ac_status); }; } &&
39144 { ac_try='test -s conftest.$ac_objext'
39145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39146 (eval $ac_try) 2>&5
39147 ac_status=$?
39148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39149 (exit $ac_status); }; }; then
39150 glibcxx_cv_func_frexpf_use=yes
39151 else
39152 echo "$as_me: failed program was:" >&5
39153 sed 's/^/| /' conftest.$ac_ext >&5
39155 glibcxx_cv_func_frexpf_use=no
39157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39158 ac_ext=c
39159 ac_cpp='$CPP $CPPFLAGS'
39160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39168 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
39169 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
39171 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
39173 for ac_func in frexpf
39175 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39176 echo "$as_me:$LINENO: checking for $ac_func" >&5
39177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39178 if eval "test \"\${$as_ac_var+set}\" = set"; then
39179 echo $ECHO_N "(cached) $ECHO_C" >&6
39180 else
39181 if test x$gcc_no_link = xyes; then
39182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39184 { (exit 1); exit 1; }; }
39186 cat >conftest.$ac_ext <<_ACEOF
39187 /* confdefs.h. */
39188 _ACEOF
39189 cat confdefs.h >>conftest.$ac_ext
39190 cat >>conftest.$ac_ext <<_ACEOF
39191 /* end confdefs.h. */
39192 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39194 #define $ac_func innocuous_$ac_func
39196 /* System header to define __stub macros and hopefully few prototypes,
39197 which can conflict with char $ac_func (); below.
39198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39199 <limits.h> exists even on freestanding compilers. */
39201 #ifdef __STDC__
39202 # include <limits.h>
39203 #else
39204 # include <assert.h>
39205 #endif
39207 #undef $ac_func
39209 /* Override any gcc2 internal prototype to avoid an error. */
39210 #ifdef __cplusplus
39211 extern "C"
39213 #endif
39214 /* We use char because int might match the return type of a gcc2
39215 builtin and then its argument prototype would still apply. */
39216 char $ac_func ();
39217 /* The GNU C library defines this for functions which it implements
39218 to always fail with ENOSYS. Some functions are actually named
39219 something starting with __ and the normal name is an alias. */
39220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39221 choke me
39222 #else
39223 char (*f) () = $ac_func;
39224 #endif
39225 #ifdef __cplusplus
39227 #endif
39230 main ()
39232 return f != $ac_func;
39234 return 0;
39236 _ACEOF
39237 rm -f conftest.$ac_objext conftest$ac_exeext
39238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39239 (eval $ac_link) 2>conftest.er1
39240 ac_status=$?
39241 grep -v '^ *+' conftest.er1 >conftest.err
39242 rm -f conftest.er1
39243 cat conftest.err >&5
39244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39245 (exit $ac_status); } &&
39246 { ac_try='test -z "$ac_c_werror_flag"
39247 || test ! -s conftest.err'
39248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39249 (eval $ac_try) 2>&5
39250 ac_status=$?
39251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39252 (exit $ac_status); }; } &&
39253 { ac_try='test -s conftest$ac_exeext'
39254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39255 (eval $ac_try) 2>&5
39256 ac_status=$?
39257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39258 (exit $ac_status); }; }; then
39259 eval "$as_ac_var=yes"
39260 else
39261 echo "$as_me: failed program was:" >&5
39262 sed 's/^/| /' conftest.$ac_ext >&5
39264 eval "$as_ac_var=no"
39266 rm -f conftest.err conftest.$ac_objext \
39267 conftest$ac_exeext conftest.$ac_ext
39269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39271 if test `eval echo '${'$as_ac_var'}'` = yes; then
39272 cat >>confdefs.h <<_ACEOF
39273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39274 _ACEOF
39277 done
39279 else
39281 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
39282 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
39283 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
39284 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
39285 echo $ECHO_N "(cached) $ECHO_C" >&6
39286 else
39290 ac_ext=cc
39291 ac_cpp='$CXXCPP $CPPFLAGS'
39292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39296 cat >conftest.$ac_ext <<_ACEOF
39297 /* confdefs.h. */
39298 _ACEOF
39299 cat confdefs.h >>conftest.$ac_ext
39300 cat >>conftest.$ac_ext <<_ACEOF
39301 /* end confdefs.h. */
39302 #include <math.h>
39304 main ()
39306 _frexpf(0, 0);
39308 return 0;
39310 _ACEOF
39311 rm -f conftest.$ac_objext
39312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39313 (eval $ac_compile) 2>conftest.er1
39314 ac_status=$?
39315 grep -v '^ *+' conftest.er1 >conftest.err
39316 rm -f conftest.er1
39317 cat conftest.err >&5
39318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39319 (exit $ac_status); } &&
39320 { ac_try='test -z "$ac_cxx_werror_flag"
39321 || test ! -s conftest.err'
39322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39323 (eval $ac_try) 2>&5
39324 ac_status=$?
39325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39326 (exit $ac_status); }; } &&
39327 { ac_try='test -s conftest.$ac_objext'
39328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39329 (eval $ac_try) 2>&5
39330 ac_status=$?
39331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39332 (exit $ac_status); }; }; then
39333 glibcxx_cv_func__frexpf_use=yes
39334 else
39335 echo "$as_me: failed program was:" >&5
39336 sed 's/^/| /' conftest.$ac_ext >&5
39338 glibcxx_cv_func__frexpf_use=no
39340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39341 ac_ext=c
39342 ac_cpp='$CPP $CPPFLAGS'
39343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39351 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
39352 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
39354 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
39356 for ac_func in _frexpf
39358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39359 echo "$as_me:$LINENO: checking for $ac_func" >&5
39360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39361 if eval "test \"\${$as_ac_var+set}\" = set"; then
39362 echo $ECHO_N "(cached) $ECHO_C" >&6
39363 else
39364 if test x$gcc_no_link = xyes; then
39365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39367 { (exit 1); exit 1; }; }
39369 cat >conftest.$ac_ext <<_ACEOF
39370 /* confdefs.h. */
39371 _ACEOF
39372 cat confdefs.h >>conftest.$ac_ext
39373 cat >>conftest.$ac_ext <<_ACEOF
39374 /* end confdefs.h. */
39375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39377 #define $ac_func innocuous_$ac_func
39379 /* System header to define __stub macros and hopefully few prototypes,
39380 which can conflict with char $ac_func (); below.
39381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39382 <limits.h> exists even on freestanding compilers. */
39384 #ifdef __STDC__
39385 # include <limits.h>
39386 #else
39387 # include <assert.h>
39388 #endif
39390 #undef $ac_func
39392 /* Override any gcc2 internal prototype to avoid an error. */
39393 #ifdef __cplusplus
39394 extern "C"
39396 #endif
39397 /* We use char because int might match the return type of a gcc2
39398 builtin and then its argument prototype would still apply. */
39399 char $ac_func ();
39400 /* The GNU C library defines this for functions which it implements
39401 to always fail with ENOSYS. Some functions are actually named
39402 something starting with __ and the normal name is an alias. */
39403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39404 choke me
39405 #else
39406 char (*f) () = $ac_func;
39407 #endif
39408 #ifdef __cplusplus
39410 #endif
39413 main ()
39415 return f != $ac_func;
39417 return 0;
39419 _ACEOF
39420 rm -f conftest.$ac_objext conftest$ac_exeext
39421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39422 (eval $ac_link) 2>conftest.er1
39423 ac_status=$?
39424 grep -v '^ *+' conftest.er1 >conftest.err
39425 rm -f conftest.er1
39426 cat conftest.err >&5
39427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39428 (exit $ac_status); } &&
39429 { ac_try='test -z "$ac_c_werror_flag"
39430 || test ! -s conftest.err'
39431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39432 (eval $ac_try) 2>&5
39433 ac_status=$?
39434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39435 (exit $ac_status); }; } &&
39436 { ac_try='test -s conftest$ac_exeext'
39437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39438 (eval $ac_try) 2>&5
39439 ac_status=$?
39440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39441 (exit $ac_status); }; }; then
39442 eval "$as_ac_var=yes"
39443 else
39444 echo "$as_me: failed program was:" >&5
39445 sed 's/^/| /' conftest.$ac_ext >&5
39447 eval "$as_ac_var=no"
39449 rm -f conftest.err conftest.$ac_objext \
39450 conftest$ac_exeext conftest.$ac_ext
39452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39454 if test `eval echo '${'$as_ac_var'}'` = yes; then
39455 cat >>confdefs.h <<_ACEOF
39456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39457 _ACEOF
39460 done
39470 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
39471 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
39472 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
39473 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
39474 echo $ECHO_N "(cached) $ECHO_C" >&6
39475 else
39479 ac_ext=cc
39480 ac_cpp='$CXXCPP $CPPFLAGS'
39481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39485 cat >conftest.$ac_ext <<_ACEOF
39486 /* confdefs.h. */
39487 _ACEOF
39488 cat confdefs.h >>conftest.$ac_ext
39489 cat >>conftest.$ac_ext <<_ACEOF
39490 /* end confdefs.h. */
39491 #include <math.h>
39493 main ()
39495 hypotf(0, 0);
39497 return 0;
39499 _ACEOF
39500 rm -f conftest.$ac_objext
39501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39502 (eval $ac_compile) 2>conftest.er1
39503 ac_status=$?
39504 grep -v '^ *+' conftest.er1 >conftest.err
39505 rm -f conftest.er1
39506 cat conftest.err >&5
39507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39508 (exit $ac_status); } &&
39509 { ac_try='test -z "$ac_cxx_werror_flag"
39510 || test ! -s conftest.err'
39511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39512 (eval $ac_try) 2>&5
39513 ac_status=$?
39514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39515 (exit $ac_status); }; } &&
39516 { ac_try='test -s conftest.$ac_objext'
39517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39518 (eval $ac_try) 2>&5
39519 ac_status=$?
39520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39521 (exit $ac_status); }; }; then
39522 glibcxx_cv_func_hypotf_use=yes
39523 else
39524 echo "$as_me: failed program was:" >&5
39525 sed 's/^/| /' conftest.$ac_ext >&5
39527 glibcxx_cv_func_hypotf_use=no
39529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39530 ac_ext=c
39531 ac_cpp='$CPP $CPPFLAGS'
39532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39540 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
39541 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
39543 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
39545 for ac_func in hypotf
39547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39548 echo "$as_me:$LINENO: checking for $ac_func" >&5
39549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39550 if eval "test \"\${$as_ac_var+set}\" = set"; then
39551 echo $ECHO_N "(cached) $ECHO_C" >&6
39552 else
39553 if test x$gcc_no_link = xyes; then
39554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39556 { (exit 1); exit 1; }; }
39558 cat >conftest.$ac_ext <<_ACEOF
39559 /* confdefs.h. */
39560 _ACEOF
39561 cat confdefs.h >>conftest.$ac_ext
39562 cat >>conftest.$ac_ext <<_ACEOF
39563 /* end confdefs.h. */
39564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39566 #define $ac_func innocuous_$ac_func
39568 /* System header to define __stub macros and hopefully few prototypes,
39569 which can conflict with char $ac_func (); below.
39570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39571 <limits.h> exists even on freestanding compilers. */
39573 #ifdef __STDC__
39574 # include <limits.h>
39575 #else
39576 # include <assert.h>
39577 #endif
39579 #undef $ac_func
39581 /* Override any gcc2 internal prototype to avoid an error. */
39582 #ifdef __cplusplus
39583 extern "C"
39585 #endif
39586 /* We use char because int might match the return type of a gcc2
39587 builtin and then its argument prototype would still apply. */
39588 char $ac_func ();
39589 /* The GNU C library defines this for functions which it implements
39590 to always fail with ENOSYS. Some functions are actually named
39591 something starting with __ and the normal name is an alias. */
39592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39593 choke me
39594 #else
39595 char (*f) () = $ac_func;
39596 #endif
39597 #ifdef __cplusplus
39599 #endif
39602 main ()
39604 return f != $ac_func;
39606 return 0;
39608 _ACEOF
39609 rm -f conftest.$ac_objext conftest$ac_exeext
39610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39611 (eval $ac_link) 2>conftest.er1
39612 ac_status=$?
39613 grep -v '^ *+' conftest.er1 >conftest.err
39614 rm -f conftest.er1
39615 cat conftest.err >&5
39616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39617 (exit $ac_status); } &&
39618 { ac_try='test -z "$ac_c_werror_flag"
39619 || test ! -s conftest.err'
39620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39621 (eval $ac_try) 2>&5
39622 ac_status=$?
39623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39624 (exit $ac_status); }; } &&
39625 { ac_try='test -s conftest$ac_exeext'
39626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39627 (eval $ac_try) 2>&5
39628 ac_status=$?
39629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39630 (exit $ac_status); }; }; then
39631 eval "$as_ac_var=yes"
39632 else
39633 echo "$as_me: failed program was:" >&5
39634 sed 's/^/| /' conftest.$ac_ext >&5
39636 eval "$as_ac_var=no"
39638 rm -f conftest.err conftest.$ac_objext \
39639 conftest$ac_exeext conftest.$ac_ext
39641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39643 if test `eval echo '${'$as_ac_var'}'` = yes; then
39644 cat >>confdefs.h <<_ACEOF
39645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39646 _ACEOF
39649 done
39651 else
39653 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
39654 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
39655 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
39656 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
39657 echo $ECHO_N "(cached) $ECHO_C" >&6
39658 else
39662 ac_ext=cc
39663 ac_cpp='$CXXCPP $CPPFLAGS'
39664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39668 cat >conftest.$ac_ext <<_ACEOF
39669 /* confdefs.h. */
39670 _ACEOF
39671 cat confdefs.h >>conftest.$ac_ext
39672 cat >>conftest.$ac_ext <<_ACEOF
39673 /* end confdefs.h. */
39674 #include <math.h>
39676 main ()
39678 _hypotf(0, 0);
39680 return 0;
39682 _ACEOF
39683 rm -f conftest.$ac_objext
39684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39685 (eval $ac_compile) 2>conftest.er1
39686 ac_status=$?
39687 grep -v '^ *+' conftest.er1 >conftest.err
39688 rm -f conftest.er1
39689 cat conftest.err >&5
39690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39691 (exit $ac_status); } &&
39692 { ac_try='test -z "$ac_cxx_werror_flag"
39693 || test ! -s conftest.err'
39694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39695 (eval $ac_try) 2>&5
39696 ac_status=$?
39697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39698 (exit $ac_status); }; } &&
39699 { ac_try='test -s conftest.$ac_objext'
39700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39701 (eval $ac_try) 2>&5
39702 ac_status=$?
39703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39704 (exit $ac_status); }; }; then
39705 glibcxx_cv_func__hypotf_use=yes
39706 else
39707 echo "$as_me: failed program was:" >&5
39708 sed 's/^/| /' conftest.$ac_ext >&5
39710 glibcxx_cv_func__hypotf_use=no
39712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39713 ac_ext=c
39714 ac_cpp='$CPP $CPPFLAGS'
39715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39723 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
39724 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
39726 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
39728 for ac_func in _hypotf
39730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39731 echo "$as_me:$LINENO: checking for $ac_func" >&5
39732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39733 if eval "test \"\${$as_ac_var+set}\" = set"; then
39734 echo $ECHO_N "(cached) $ECHO_C" >&6
39735 else
39736 if test x$gcc_no_link = xyes; then
39737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39739 { (exit 1); exit 1; }; }
39741 cat >conftest.$ac_ext <<_ACEOF
39742 /* confdefs.h. */
39743 _ACEOF
39744 cat confdefs.h >>conftest.$ac_ext
39745 cat >>conftest.$ac_ext <<_ACEOF
39746 /* end confdefs.h. */
39747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39749 #define $ac_func innocuous_$ac_func
39751 /* System header to define __stub macros and hopefully few prototypes,
39752 which can conflict with char $ac_func (); below.
39753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39754 <limits.h> exists even on freestanding compilers. */
39756 #ifdef __STDC__
39757 # include <limits.h>
39758 #else
39759 # include <assert.h>
39760 #endif
39762 #undef $ac_func
39764 /* Override any gcc2 internal prototype to avoid an error. */
39765 #ifdef __cplusplus
39766 extern "C"
39768 #endif
39769 /* We use char because int might match the return type of a gcc2
39770 builtin and then its argument prototype would still apply. */
39771 char $ac_func ();
39772 /* The GNU C library defines this for functions which it implements
39773 to always fail with ENOSYS. Some functions are actually named
39774 something starting with __ and the normal name is an alias. */
39775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39776 choke me
39777 #else
39778 char (*f) () = $ac_func;
39779 #endif
39780 #ifdef __cplusplus
39782 #endif
39785 main ()
39787 return f != $ac_func;
39789 return 0;
39791 _ACEOF
39792 rm -f conftest.$ac_objext conftest$ac_exeext
39793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39794 (eval $ac_link) 2>conftest.er1
39795 ac_status=$?
39796 grep -v '^ *+' conftest.er1 >conftest.err
39797 rm -f conftest.er1
39798 cat conftest.err >&5
39799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39800 (exit $ac_status); } &&
39801 { ac_try='test -z "$ac_c_werror_flag"
39802 || test ! -s conftest.err'
39803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39804 (eval $ac_try) 2>&5
39805 ac_status=$?
39806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39807 (exit $ac_status); }; } &&
39808 { ac_try='test -s conftest$ac_exeext'
39809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39810 (eval $ac_try) 2>&5
39811 ac_status=$?
39812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39813 (exit $ac_status); }; }; then
39814 eval "$as_ac_var=yes"
39815 else
39816 echo "$as_me: failed program was:" >&5
39817 sed 's/^/| /' conftest.$ac_ext >&5
39819 eval "$as_ac_var=no"
39821 rm -f conftest.err conftest.$ac_objext \
39822 conftest$ac_exeext conftest.$ac_ext
39824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39826 if test `eval echo '${'$as_ac_var'}'` = yes; then
39827 cat >>confdefs.h <<_ACEOF
39828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39829 _ACEOF
39832 done
39842 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
39843 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
39844 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
39845 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
39846 echo $ECHO_N "(cached) $ECHO_C" >&6
39847 else
39851 ac_ext=cc
39852 ac_cpp='$CXXCPP $CPPFLAGS'
39853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39857 cat >conftest.$ac_ext <<_ACEOF
39858 /* confdefs.h. */
39859 _ACEOF
39860 cat confdefs.h >>conftest.$ac_ext
39861 cat >>conftest.$ac_ext <<_ACEOF
39862 /* end confdefs.h. */
39863 #include <math.h>
39865 main ()
39867 ldexpf(0, 0);
39869 return 0;
39871 _ACEOF
39872 rm -f conftest.$ac_objext
39873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39874 (eval $ac_compile) 2>conftest.er1
39875 ac_status=$?
39876 grep -v '^ *+' conftest.er1 >conftest.err
39877 rm -f conftest.er1
39878 cat conftest.err >&5
39879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39880 (exit $ac_status); } &&
39881 { ac_try='test -z "$ac_cxx_werror_flag"
39882 || test ! -s conftest.err'
39883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39884 (eval $ac_try) 2>&5
39885 ac_status=$?
39886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39887 (exit $ac_status); }; } &&
39888 { ac_try='test -s conftest.$ac_objext'
39889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39890 (eval $ac_try) 2>&5
39891 ac_status=$?
39892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39893 (exit $ac_status); }; }; then
39894 glibcxx_cv_func_ldexpf_use=yes
39895 else
39896 echo "$as_me: failed program was:" >&5
39897 sed 's/^/| /' conftest.$ac_ext >&5
39899 glibcxx_cv_func_ldexpf_use=no
39901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39902 ac_ext=c
39903 ac_cpp='$CPP $CPPFLAGS'
39904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39912 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
39913 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
39915 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
39917 for ac_func in ldexpf
39919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39920 echo "$as_me:$LINENO: checking for $ac_func" >&5
39921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39922 if eval "test \"\${$as_ac_var+set}\" = set"; then
39923 echo $ECHO_N "(cached) $ECHO_C" >&6
39924 else
39925 if test x$gcc_no_link = xyes; then
39926 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39928 { (exit 1); exit 1; }; }
39930 cat >conftest.$ac_ext <<_ACEOF
39931 /* confdefs.h. */
39932 _ACEOF
39933 cat confdefs.h >>conftest.$ac_ext
39934 cat >>conftest.$ac_ext <<_ACEOF
39935 /* end confdefs.h. */
39936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39938 #define $ac_func innocuous_$ac_func
39940 /* System header to define __stub macros and hopefully few prototypes,
39941 which can conflict with char $ac_func (); below.
39942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39943 <limits.h> exists even on freestanding compilers. */
39945 #ifdef __STDC__
39946 # include <limits.h>
39947 #else
39948 # include <assert.h>
39949 #endif
39951 #undef $ac_func
39953 /* Override any gcc2 internal prototype to avoid an error. */
39954 #ifdef __cplusplus
39955 extern "C"
39957 #endif
39958 /* We use char because int might match the return type of a gcc2
39959 builtin and then its argument prototype would still apply. */
39960 char $ac_func ();
39961 /* The GNU C library defines this for functions which it implements
39962 to always fail with ENOSYS. Some functions are actually named
39963 something starting with __ and the normal name is an alias. */
39964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39965 choke me
39966 #else
39967 char (*f) () = $ac_func;
39968 #endif
39969 #ifdef __cplusplus
39971 #endif
39974 main ()
39976 return f != $ac_func;
39978 return 0;
39980 _ACEOF
39981 rm -f conftest.$ac_objext conftest$ac_exeext
39982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39983 (eval $ac_link) 2>conftest.er1
39984 ac_status=$?
39985 grep -v '^ *+' conftest.er1 >conftest.err
39986 rm -f conftest.er1
39987 cat conftest.err >&5
39988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39989 (exit $ac_status); } &&
39990 { ac_try='test -z "$ac_c_werror_flag"
39991 || test ! -s conftest.err'
39992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39993 (eval $ac_try) 2>&5
39994 ac_status=$?
39995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39996 (exit $ac_status); }; } &&
39997 { ac_try='test -s conftest$ac_exeext'
39998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39999 (eval $ac_try) 2>&5
40000 ac_status=$?
40001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40002 (exit $ac_status); }; }; then
40003 eval "$as_ac_var=yes"
40004 else
40005 echo "$as_me: failed program was:" >&5
40006 sed 's/^/| /' conftest.$ac_ext >&5
40008 eval "$as_ac_var=no"
40010 rm -f conftest.err conftest.$ac_objext \
40011 conftest$ac_exeext conftest.$ac_ext
40013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40015 if test `eval echo '${'$as_ac_var'}'` = yes; then
40016 cat >>confdefs.h <<_ACEOF
40017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40018 _ACEOF
40021 done
40023 else
40025 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
40026 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
40027 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
40028 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
40029 echo $ECHO_N "(cached) $ECHO_C" >&6
40030 else
40034 ac_ext=cc
40035 ac_cpp='$CXXCPP $CPPFLAGS'
40036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40040 cat >conftest.$ac_ext <<_ACEOF
40041 /* confdefs.h. */
40042 _ACEOF
40043 cat confdefs.h >>conftest.$ac_ext
40044 cat >>conftest.$ac_ext <<_ACEOF
40045 /* end confdefs.h. */
40046 #include <math.h>
40048 main ()
40050 _ldexpf(0, 0);
40052 return 0;
40054 _ACEOF
40055 rm -f conftest.$ac_objext
40056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40057 (eval $ac_compile) 2>conftest.er1
40058 ac_status=$?
40059 grep -v '^ *+' conftest.er1 >conftest.err
40060 rm -f conftest.er1
40061 cat conftest.err >&5
40062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40063 (exit $ac_status); } &&
40064 { ac_try='test -z "$ac_cxx_werror_flag"
40065 || test ! -s conftest.err'
40066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40067 (eval $ac_try) 2>&5
40068 ac_status=$?
40069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40070 (exit $ac_status); }; } &&
40071 { ac_try='test -s conftest.$ac_objext'
40072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40073 (eval $ac_try) 2>&5
40074 ac_status=$?
40075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40076 (exit $ac_status); }; }; then
40077 glibcxx_cv_func__ldexpf_use=yes
40078 else
40079 echo "$as_me: failed program was:" >&5
40080 sed 's/^/| /' conftest.$ac_ext >&5
40082 glibcxx_cv_func__ldexpf_use=no
40084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40085 ac_ext=c
40086 ac_cpp='$CPP $CPPFLAGS'
40087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40095 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
40096 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
40098 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
40100 for ac_func in _ldexpf
40102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40103 echo "$as_me:$LINENO: checking for $ac_func" >&5
40104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40105 if eval "test \"\${$as_ac_var+set}\" = set"; then
40106 echo $ECHO_N "(cached) $ECHO_C" >&6
40107 else
40108 if test x$gcc_no_link = xyes; then
40109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40111 { (exit 1); exit 1; }; }
40113 cat >conftest.$ac_ext <<_ACEOF
40114 /* confdefs.h. */
40115 _ACEOF
40116 cat confdefs.h >>conftest.$ac_ext
40117 cat >>conftest.$ac_ext <<_ACEOF
40118 /* end confdefs.h. */
40119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40121 #define $ac_func innocuous_$ac_func
40123 /* System header to define __stub macros and hopefully few prototypes,
40124 which can conflict with char $ac_func (); below.
40125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40126 <limits.h> exists even on freestanding compilers. */
40128 #ifdef __STDC__
40129 # include <limits.h>
40130 #else
40131 # include <assert.h>
40132 #endif
40134 #undef $ac_func
40136 /* Override any gcc2 internal prototype to avoid an error. */
40137 #ifdef __cplusplus
40138 extern "C"
40140 #endif
40141 /* We use char because int might match the return type of a gcc2
40142 builtin and then its argument prototype would still apply. */
40143 char $ac_func ();
40144 /* The GNU C library defines this for functions which it implements
40145 to always fail with ENOSYS. Some functions are actually named
40146 something starting with __ and the normal name is an alias. */
40147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40148 choke me
40149 #else
40150 char (*f) () = $ac_func;
40151 #endif
40152 #ifdef __cplusplus
40154 #endif
40157 main ()
40159 return f != $ac_func;
40161 return 0;
40163 _ACEOF
40164 rm -f conftest.$ac_objext conftest$ac_exeext
40165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40166 (eval $ac_link) 2>conftest.er1
40167 ac_status=$?
40168 grep -v '^ *+' conftest.er1 >conftest.err
40169 rm -f conftest.er1
40170 cat conftest.err >&5
40171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40172 (exit $ac_status); } &&
40173 { ac_try='test -z "$ac_c_werror_flag"
40174 || test ! -s conftest.err'
40175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40176 (eval $ac_try) 2>&5
40177 ac_status=$?
40178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40179 (exit $ac_status); }; } &&
40180 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
40186 eval "$as_ac_var=yes"
40187 else
40188 echo "$as_me: failed program was:" >&5
40189 sed 's/^/| /' conftest.$ac_ext >&5
40191 eval "$as_ac_var=no"
40193 rm -f conftest.err conftest.$ac_objext \
40194 conftest$ac_exeext conftest.$ac_ext
40196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40198 if test `eval echo '${'$as_ac_var'}'` = yes; then
40199 cat >>confdefs.h <<_ACEOF
40200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40201 _ACEOF
40204 done
40214 echo "$as_me:$LINENO: checking for logf declaration" >&5
40215 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
40216 if test x${glibcxx_cv_func_logf_use+set} != xset; then
40217 if test "${glibcxx_cv_func_logf_use+set}" = set; then
40218 echo $ECHO_N "(cached) $ECHO_C" >&6
40219 else
40223 ac_ext=cc
40224 ac_cpp='$CXXCPP $CPPFLAGS'
40225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40229 cat >conftest.$ac_ext <<_ACEOF
40230 /* confdefs.h. */
40231 _ACEOF
40232 cat confdefs.h >>conftest.$ac_ext
40233 cat >>conftest.$ac_ext <<_ACEOF
40234 /* end confdefs.h. */
40235 #include <math.h>
40236 #ifdef HAVE_IEEEFP_H
40237 #include <ieeefp.h>
40238 #endif
40241 main ()
40243 logf(0);
40245 return 0;
40247 _ACEOF
40248 rm -f conftest.$ac_objext
40249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40250 (eval $ac_compile) 2>conftest.er1
40251 ac_status=$?
40252 grep -v '^ *+' conftest.er1 >conftest.err
40253 rm -f conftest.er1
40254 cat conftest.err >&5
40255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40256 (exit $ac_status); } &&
40257 { ac_try='test -z "$ac_cxx_werror_flag"
40258 || test ! -s conftest.err'
40259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40260 (eval $ac_try) 2>&5
40261 ac_status=$?
40262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40263 (exit $ac_status); }; } &&
40264 { ac_try='test -s conftest.$ac_objext'
40265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40266 (eval $ac_try) 2>&5
40267 ac_status=$?
40268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40269 (exit $ac_status); }; }; then
40270 glibcxx_cv_func_logf_use=yes
40271 else
40272 echo "$as_me: failed program was:" >&5
40273 sed 's/^/| /' conftest.$ac_ext >&5
40275 glibcxx_cv_func_logf_use=no
40277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40278 ac_ext=c
40279 ac_cpp='$CPP $CPPFLAGS'
40280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40288 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
40289 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
40291 if test x$glibcxx_cv_func_logf_use = x"yes"; then
40293 for ac_func in logf
40295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40296 echo "$as_me:$LINENO: checking for $ac_func" >&5
40297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40298 if eval "test \"\${$as_ac_var+set}\" = set"; then
40299 echo $ECHO_N "(cached) $ECHO_C" >&6
40300 else
40301 if test x$gcc_no_link = xyes; then
40302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40304 { (exit 1); exit 1; }; }
40306 cat >conftest.$ac_ext <<_ACEOF
40307 /* confdefs.h. */
40308 _ACEOF
40309 cat confdefs.h >>conftest.$ac_ext
40310 cat >>conftest.$ac_ext <<_ACEOF
40311 /* end confdefs.h. */
40312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40314 #define $ac_func innocuous_$ac_func
40316 /* System header to define __stub macros and hopefully few prototypes,
40317 which can conflict with char $ac_func (); below.
40318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40319 <limits.h> exists even on freestanding compilers. */
40321 #ifdef __STDC__
40322 # include <limits.h>
40323 #else
40324 # include <assert.h>
40325 #endif
40327 #undef $ac_func
40329 /* Override any gcc2 internal prototype to avoid an error. */
40330 #ifdef __cplusplus
40331 extern "C"
40333 #endif
40334 /* We use char because int might match the return type of a gcc2
40335 builtin and then its argument prototype would still apply. */
40336 char $ac_func ();
40337 /* The GNU C library defines this for functions which it implements
40338 to always fail with ENOSYS. Some functions are actually named
40339 something starting with __ and the normal name is an alias. */
40340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40341 choke me
40342 #else
40343 char (*f) () = $ac_func;
40344 #endif
40345 #ifdef __cplusplus
40347 #endif
40350 main ()
40352 return f != $ac_func;
40354 return 0;
40356 _ACEOF
40357 rm -f conftest.$ac_objext conftest$ac_exeext
40358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40359 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
40380 else
40381 echo "$as_me: failed program was:" >&5
40382 sed 's/^/| /' conftest.$ac_ext >&5
40384 eval "$as_ac_var=no"
40386 rm -f conftest.err conftest.$ac_objext \
40387 conftest$ac_exeext conftest.$ac_ext
40389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40391 if test `eval echo '${'$as_ac_var'}'` = yes; then
40392 cat >>confdefs.h <<_ACEOF
40393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40394 _ACEOF
40397 done
40399 else
40401 echo "$as_me:$LINENO: checking for _logf declaration" >&5
40402 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
40403 if test x${glibcxx_cv_func__logf_use+set} != xset; then
40404 if test "${glibcxx_cv_func__logf_use+set}" = set; then
40405 echo $ECHO_N "(cached) $ECHO_C" >&6
40406 else
40410 ac_ext=cc
40411 ac_cpp='$CXXCPP $CPPFLAGS'
40412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40416 cat >conftest.$ac_ext <<_ACEOF
40417 /* confdefs.h. */
40418 _ACEOF
40419 cat confdefs.h >>conftest.$ac_ext
40420 cat >>conftest.$ac_ext <<_ACEOF
40421 /* end confdefs.h. */
40422 #include <math.h>
40423 #ifdef HAVE_IEEEFP_H
40424 #include <ieeefp.h>
40425 #endif
40428 main ()
40430 _logf(0);
40432 return 0;
40434 _ACEOF
40435 rm -f conftest.$ac_objext
40436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40437 (eval $ac_compile) 2>conftest.er1
40438 ac_status=$?
40439 grep -v '^ *+' conftest.er1 >conftest.err
40440 rm -f conftest.er1
40441 cat conftest.err >&5
40442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40443 (exit $ac_status); } &&
40444 { ac_try='test -z "$ac_cxx_werror_flag"
40445 || test ! -s conftest.err'
40446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40447 (eval $ac_try) 2>&5
40448 ac_status=$?
40449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40450 (exit $ac_status); }; } &&
40451 { ac_try='test -s conftest.$ac_objext'
40452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40453 (eval $ac_try) 2>&5
40454 ac_status=$?
40455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40456 (exit $ac_status); }; }; then
40457 glibcxx_cv_func__logf_use=yes
40458 else
40459 echo "$as_me: failed program was:" >&5
40460 sed 's/^/| /' conftest.$ac_ext >&5
40462 glibcxx_cv_func__logf_use=no
40464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40465 ac_ext=c
40466 ac_cpp='$CPP $CPPFLAGS'
40467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40475 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
40476 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
40478 if test x$glibcxx_cv_func__logf_use = x"yes"; then
40480 for ac_func in _logf
40482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40483 echo "$as_me:$LINENO: checking for $ac_func" >&5
40484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40485 if eval "test \"\${$as_ac_var+set}\" = set"; then
40486 echo $ECHO_N "(cached) $ECHO_C" >&6
40487 else
40488 if test x$gcc_no_link = xyes; then
40489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40491 { (exit 1); exit 1; }; }
40493 cat >conftest.$ac_ext <<_ACEOF
40494 /* confdefs.h. */
40495 _ACEOF
40496 cat confdefs.h >>conftest.$ac_ext
40497 cat >>conftest.$ac_ext <<_ACEOF
40498 /* end confdefs.h. */
40499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40501 #define $ac_func innocuous_$ac_func
40503 /* System header to define __stub macros and hopefully few prototypes,
40504 which can conflict with char $ac_func (); below.
40505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40506 <limits.h> exists even on freestanding compilers. */
40508 #ifdef __STDC__
40509 # include <limits.h>
40510 #else
40511 # include <assert.h>
40512 #endif
40514 #undef $ac_func
40516 /* Override any gcc2 internal prototype to avoid an error. */
40517 #ifdef __cplusplus
40518 extern "C"
40520 #endif
40521 /* We use char because int might match the return type of a gcc2
40522 builtin and then its argument prototype would still apply. */
40523 char $ac_func ();
40524 /* The GNU C library defines this for functions which it implements
40525 to always fail with ENOSYS. Some functions are actually named
40526 something starting with __ and the normal name is an alias. */
40527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40528 choke me
40529 #else
40530 char (*f) () = $ac_func;
40531 #endif
40532 #ifdef __cplusplus
40534 #endif
40537 main ()
40539 return f != $ac_func;
40541 return 0;
40543 _ACEOF
40544 rm -f conftest.$ac_objext conftest$ac_exeext
40545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40546 (eval $ac_link) 2>conftest.er1
40547 ac_status=$?
40548 grep -v '^ *+' conftest.er1 >conftest.err
40549 rm -f conftest.er1
40550 cat conftest.err >&5
40551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40552 (exit $ac_status); } &&
40553 { ac_try='test -z "$ac_c_werror_flag"
40554 || test ! -s conftest.err'
40555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40556 (eval $ac_try) 2>&5
40557 ac_status=$?
40558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40559 (exit $ac_status); }; } &&
40560 { ac_try='test -s conftest$ac_exeext'
40561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40562 (eval $ac_try) 2>&5
40563 ac_status=$?
40564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40565 (exit $ac_status); }; }; then
40566 eval "$as_ac_var=yes"
40567 else
40568 echo "$as_me: failed program was:" >&5
40569 sed 's/^/| /' conftest.$ac_ext >&5
40571 eval "$as_ac_var=no"
40573 rm -f conftest.err conftest.$ac_objext \
40574 conftest$ac_exeext conftest.$ac_ext
40576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40578 if test `eval echo '${'$as_ac_var'}'` = yes; then
40579 cat >>confdefs.h <<_ACEOF
40580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40581 _ACEOF
40584 done
40594 echo "$as_me:$LINENO: checking for log10f declaration" >&5
40595 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
40596 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40597 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
40598 echo $ECHO_N "(cached) $ECHO_C" >&6
40599 else
40603 ac_ext=cc
40604 ac_cpp='$CXXCPP $CPPFLAGS'
40605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40609 cat >conftest.$ac_ext <<_ACEOF
40610 /* confdefs.h. */
40611 _ACEOF
40612 cat confdefs.h >>conftest.$ac_ext
40613 cat >>conftest.$ac_ext <<_ACEOF
40614 /* end confdefs.h. */
40615 #include <math.h>
40616 #ifdef HAVE_IEEEFP_H
40617 #include <ieeefp.h>
40618 #endif
40621 main ()
40623 log10f(0);
40625 return 0;
40627 _ACEOF
40628 rm -f conftest.$ac_objext
40629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40630 (eval $ac_compile) 2>conftest.er1
40631 ac_status=$?
40632 grep -v '^ *+' conftest.er1 >conftest.err
40633 rm -f conftest.er1
40634 cat conftest.err >&5
40635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40636 (exit $ac_status); } &&
40637 { ac_try='test -z "$ac_cxx_werror_flag"
40638 || test ! -s conftest.err'
40639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40640 (eval $ac_try) 2>&5
40641 ac_status=$?
40642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40643 (exit $ac_status); }; } &&
40644 { ac_try='test -s conftest.$ac_objext'
40645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40646 (eval $ac_try) 2>&5
40647 ac_status=$?
40648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40649 (exit $ac_status); }; }; then
40650 glibcxx_cv_func_log10f_use=yes
40651 else
40652 echo "$as_me: failed program was:" >&5
40653 sed 's/^/| /' conftest.$ac_ext >&5
40655 glibcxx_cv_func_log10f_use=no
40657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40658 ac_ext=c
40659 ac_cpp='$CPP $CPPFLAGS'
40660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40668 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
40669 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
40671 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40673 for ac_func in log10f
40675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40676 echo "$as_me:$LINENO: checking for $ac_func" >&5
40677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40678 if eval "test \"\${$as_ac_var+set}\" = set"; then
40679 echo $ECHO_N "(cached) $ECHO_C" >&6
40680 else
40681 if test x$gcc_no_link = xyes; then
40682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40684 { (exit 1); exit 1; }; }
40686 cat >conftest.$ac_ext <<_ACEOF
40687 /* confdefs.h. */
40688 _ACEOF
40689 cat confdefs.h >>conftest.$ac_ext
40690 cat >>conftest.$ac_ext <<_ACEOF
40691 /* end confdefs.h. */
40692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40694 #define $ac_func innocuous_$ac_func
40696 /* System header to define __stub macros and hopefully few prototypes,
40697 which can conflict with char $ac_func (); below.
40698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40699 <limits.h> exists even on freestanding compilers. */
40701 #ifdef __STDC__
40702 # include <limits.h>
40703 #else
40704 # include <assert.h>
40705 #endif
40707 #undef $ac_func
40709 /* Override any gcc2 internal prototype to avoid an error. */
40710 #ifdef __cplusplus
40711 extern "C"
40713 #endif
40714 /* We use char because int might match the return type of a gcc2
40715 builtin and then its argument prototype would still apply. */
40716 char $ac_func ();
40717 /* The GNU C library defines this for functions which it implements
40718 to always fail with ENOSYS. Some functions are actually named
40719 something starting with __ and the normal name is an alias. */
40720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40721 choke me
40722 #else
40723 char (*f) () = $ac_func;
40724 #endif
40725 #ifdef __cplusplus
40727 #endif
40730 main ()
40732 return f != $ac_func;
40734 return 0;
40736 _ACEOF
40737 rm -f conftest.$ac_objext conftest$ac_exeext
40738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40739 (eval $ac_link) 2>conftest.er1
40740 ac_status=$?
40741 grep -v '^ *+' conftest.er1 >conftest.err
40742 rm -f conftest.er1
40743 cat conftest.err >&5
40744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40745 (exit $ac_status); } &&
40746 { ac_try='test -z "$ac_c_werror_flag"
40747 || test ! -s conftest.err'
40748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40749 (eval $ac_try) 2>&5
40750 ac_status=$?
40751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40752 (exit $ac_status); }; } &&
40753 { ac_try='test -s conftest$ac_exeext'
40754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40755 (eval $ac_try) 2>&5
40756 ac_status=$?
40757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40758 (exit $ac_status); }; }; then
40759 eval "$as_ac_var=yes"
40760 else
40761 echo "$as_me: failed program was:" >&5
40762 sed 's/^/| /' conftest.$ac_ext >&5
40764 eval "$as_ac_var=no"
40766 rm -f conftest.err conftest.$ac_objext \
40767 conftest$ac_exeext conftest.$ac_ext
40769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40771 if test `eval echo '${'$as_ac_var'}'` = yes; then
40772 cat >>confdefs.h <<_ACEOF
40773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40774 _ACEOF
40777 done
40779 else
40781 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
40782 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
40783 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40784 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
40785 echo $ECHO_N "(cached) $ECHO_C" >&6
40786 else
40790 ac_ext=cc
40791 ac_cpp='$CXXCPP $CPPFLAGS'
40792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40796 cat >conftest.$ac_ext <<_ACEOF
40797 /* confdefs.h. */
40798 _ACEOF
40799 cat confdefs.h >>conftest.$ac_ext
40800 cat >>conftest.$ac_ext <<_ACEOF
40801 /* end confdefs.h. */
40802 #include <math.h>
40803 #ifdef HAVE_IEEEFP_H
40804 #include <ieeefp.h>
40805 #endif
40808 main ()
40810 _log10f(0);
40812 return 0;
40814 _ACEOF
40815 rm -f conftest.$ac_objext
40816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40817 (eval $ac_compile) 2>conftest.er1
40818 ac_status=$?
40819 grep -v '^ *+' conftest.er1 >conftest.err
40820 rm -f conftest.er1
40821 cat conftest.err >&5
40822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40823 (exit $ac_status); } &&
40824 { ac_try='test -z "$ac_cxx_werror_flag"
40825 || test ! -s conftest.err'
40826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40827 (eval $ac_try) 2>&5
40828 ac_status=$?
40829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40830 (exit $ac_status); }; } &&
40831 { ac_try='test -s conftest.$ac_objext'
40832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40833 (eval $ac_try) 2>&5
40834 ac_status=$?
40835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40836 (exit $ac_status); }; }; then
40837 glibcxx_cv_func__log10f_use=yes
40838 else
40839 echo "$as_me: failed program was:" >&5
40840 sed 's/^/| /' conftest.$ac_ext >&5
40842 glibcxx_cv_func__log10f_use=no
40844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40845 ac_ext=c
40846 ac_cpp='$CPP $CPPFLAGS'
40847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40855 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
40856 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
40858 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40860 for ac_func in _log10f
40862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40863 echo "$as_me:$LINENO: checking for $ac_func" >&5
40864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40865 if eval "test \"\${$as_ac_var+set}\" = set"; then
40866 echo $ECHO_N "(cached) $ECHO_C" >&6
40867 else
40868 if test x$gcc_no_link = xyes; then
40869 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40871 { (exit 1); exit 1; }; }
40873 cat >conftest.$ac_ext <<_ACEOF
40874 /* confdefs.h. */
40875 _ACEOF
40876 cat confdefs.h >>conftest.$ac_ext
40877 cat >>conftest.$ac_ext <<_ACEOF
40878 /* end confdefs.h. */
40879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40881 #define $ac_func innocuous_$ac_func
40883 /* System header to define __stub macros and hopefully few prototypes,
40884 which can conflict with char $ac_func (); below.
40885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40886 <limits.h> exists even on freestanding compilers. */
40888 #ifdef __STDC__
40889 # include <limits.h>
40890 #else
40891 # include <assert.h>
40892 #endif
40894 #undef $ac_func
40896 /* Override any gcc2 internal prototype to avoid an error. */
40897 #ifdef __cplusplus
40898 extern "C"
40900 #endif
40901 /* We use char because int might match the return type of a gcc2
40902 builtin and then its argument prototype would still apply. */
40903 char $ac_func ();
40904 /* The GNU C library defines this for functions which it implements
40905 to always fail with ENOSYS. Some functions are actually named
40906 something starting with __ and the normal name is an alias. */
40907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40908 choke me
40909 #else
40910 char (*f) () = $ac_func;
40911 #endif
40912 #ifdef __cplusplus
40914 #endif
40917 main ()
40919 return f != $ac_func;
40921 return 0;
40923 _ACEOF
40924 rm -f conftest.$ac_objext conftest$ac_exeext
40925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40926 (eval $ac_link) 2>conftest.er1
40927 ac_status=$?
40928 grep -v '^ *+' conftest.er1 >conftest.err
40929 rm -f conftest.er1
40930 cat conftest.err >&5
40931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40932 (exit $ac_status); } &&
40933 { ac_try='test -z "$ac_c_werror_flag"
40934 || test ! -s conftest.err'
40935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40936 (eval $ac_try) 2>&5
40937 ac_status=$?
40938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40939 (exit $ac_status); }; } &&
40940 { ac_try='test -s conftest$ac_exeext'
40941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40942 (eval $ac_try) 2>&5
40943 ac_status=$?
40944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40945 (exit $ac_status); }; }; then
40946 eval "$as_ac_var=yes"
40947 else
40948 echo "$as_me: failed program was:" >&5
40949 sed 's/^/| /' conftest.$ac_ext >&5
40951 eval "$as_ac_var=no"
40953 rm -f conftest.err conftest.$ac_objext \
40954 conftest$ac_exeext conftest.$ac_ext
40956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40958 if test `eval echo '${'$as_ac_var'}'` = yes; then
40959 cat >>confdefs.h <<_ACEOF
40960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40961 _ACEOF
40964 done
40974 echo "$as_me:$LINENO: checking for modff declaration" >&5
40975 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
40976 if test x${glibcxx_cv_func_modff_use+set} != xset; then
40977 if test "${glibcxx_cv_func_modff_use+set}" = set; then
40978 echo $ECHO_N "(cached) $ECHO_C" >&6
40979 else
40983 ac_ext=cc
40984 ac_cpp='$CXXCPP $CPPFLAGS'
40985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40989 cat >conftest.$ac_ext <<_ACEOF
40990 /* confdefs.h. */
40991 _ACEOF
40992 cat confdefs.h >>conftest.$ac_ext
40993 cat >>conftest.$ac_ext <<_ACEOF
40994 /* end confdefs.h. */
40995 #include <math.h>
40997 main ()
40999 modff(0, 0);
41001 return 0;
41003 _ACEOF
41004 rm -f conftest.$ac_objext
41005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41006 (eval $ac_compile) 2>conftest.er1
41007 ac_status=$?
41008 grep -v '^ *+' conftest.er1 >conftest.err
41009 rm -f conftest.er1
41010 cat conftest.err >&5
41011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41012 (exit $ac_status); } &&
41013 { ac_try='test -z "$ac_cxx_werror_flag"
41014 || test ! -s conftest.err'
41015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41016 (eval $ac_try) 2>&5
41017 ac_status=$?
41018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41019 (exit $ac_status); }; } &&
41020 { ac_try='test -s conftest.$ac_objext'
41021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41022 (eval $ac_try) 2>&5
41023 ac_status=$?
41024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41025 (exit $ac_status); }; }; then
41026 glibcxx_cv_func_modff_use=yes
41027 else
41028 echo "$as_me: failed program was:" >&5
41029 sed 's/^/| /' conftest.$ac_ext >&5
41031 glibcxx_cv_func_modff_use=no
41033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41034 ac_ext=c
41035 ac_cpp='$CPP $CPPFLAGS'
41036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41044 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
41045 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
41047 if test x$glibcxx_cv_func_modff_use = x"yes"; then
41049 for ac_func in modff
41051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41052 echo "$as_me:$LINENO: checking for $ac_func" >&5
41053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41054 if eval "test \"\${$as_ac_var+set}\" = set"; then
41055 echo $ECHO_N "(cached) $ECHO_C" >&6
41056 else
41057 if test x$gcc_no_link = xyes; then
41058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41060 { (exit 1); exit 1; }; }
41062 cat >conftest.$ac_ext <<_ACEOF
41063 /* confdefs.h. */
41064 _ACEOF
41065 cat confdefs.h >>conftest.$ac_ext
41066 cat >>conftest.$ac_ext <<_ACEOF
41067 /* end confdefs.h. */
41068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41070 #define $ac_func innocuous_$ac_func
41072 /* System header to define __stub macros and hopefully few prototypes,
41073 which can conflict with char $ac_func (); below.
41074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41075 <limits.h> exists even on freestanding compilers. */
41077 #ifdef __STDC__
41078 # include <limits.h>
41079 #else
41080 # include <assert.h>
41081 #endif
41083 #undef $ac_func
41085 /* Override any gcc2 internal prototype to avoid an error. */
41086 #ifdef __cplusplus
41087 extern "C"
41089 #endif
41090 /* We use char because int might match the return type of a gcc2
41091 builtin and then its argument prototype would still apply. */
41092 char $ac_func ();
41093 /* The GNU C library defines this for functions which it implements
41094 to always fail with ENOSYS. Some functions are actually named
41095 something starting with __ and the normal name is an alias. */
41096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41097 choke me
41098 #else
41099 char (*f) () = $ac_func;
41100 #endif
41101 #ifdef __cplusplus
41103 #endif
41106 main ()
41108 return f != $ac_func;
41110 return 0;
41112 _ACEOF
41113 rm -f conftest.$ac_objext conftest$ac_exeext
41114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41115 (eval $ac_link) 2>conftest.er1
41116 ac_status=$?
41117 grep -v '^ *+' conftest.er1 >conftest.err
41118 rm -f conftest.er1
41119 cat conftest.err >&5
41120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41121 (exit $ac_status); } &&
41122 { ac_try='test -z "$ac_c_werror_flag"
41123 || test ! -s conftest.err'
41124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41125 (eval $ac_try) 2>&5
41126 ac_status=$?
41127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41128 (exit $ac_status); }; } &&
41129 { ac_try='test -s conftest$ac_exeext'
41130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41131 (eval $ac_try) 2>&5
41132 ac_status=$?
41133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41134 (exit $ac_status); }; }; then
41135 eval "$as_ac_var=yes"
41136 else
41137 echo "$as_me: failed program was:" >&5
41138 sed 's/^/| /' conftest.$ac_ext >&5
41140 eval "$as_ac_var=no"
41142 rm -f conftest.err conftest.$ac_objext \
41143 conftest$ac_exeext conftest.$ac_ext
41145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41147 if test `eval echo '${'$as_ac_var'}'` = yes; then
41148 cat >>confdefs.h <<_ACEOF
41149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41150 _ACEOF
41153 done
41155 else
41157 echo "$as_me:$LINENO: checking for _modff declaration" >&5
41158 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
41159 if test x${glibcxx_cv_func__modff_use+set} != xset; then
41160 if test "${glibcxx_cv_func__modff_use+set}" = set; then
41161 echo $ECHO_N "(cached) $ECHO_C" >&6
41162 else
41166 ac_ext=cc
41167 ac_cpp='$CXXCPP $CPPFLAGS'
41168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41172 cat >conftest.$ac_ext <<_ACEOF
41173 /* confdefs.h. */
41174 _ACEOF
41175 cat confdefs.h >>conftest.$ac_ext
41176 cat >>conftest.$ac_ext <<_ACEOF
41177 /* end confdefs.h. */
41178 #include <math.h>
41180 main ()
41182 _modff(0, 0);
41184 return 0;
41186 _ACEOF
41187 rm -f conftest.$ac_objext
41188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41189 (eval $ac_compile) 2>conftest.er1
41190 ac_status=$?
41191 grep -v '^ *+' conftest.er1 >conftest.err
41192 rm -f conftest.er1
41193 cat conftest.err >&5
41194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41195 (exit $ac_status); } &&
41196 { ac_try='test -z "$ac_cxx_werror_flag"
41197 || test ! -s conftest.err'
41198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41199 (eval $ac_try) 2>&5
41200 ac_status=$?
41201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41202 (exit $ac_status); }; } &&
41203 { ac_try='test -s conftest.$ac_objext'
41204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41205 (eval $ac_try) 2>&5
41206 ac_status=$?
41207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41208 (exit $ac_status); }; }; then
41209 glibcxx_cv_func__modff_use=yes
41210 else
41211 echo "$as_me: failed program was:" >&5
41212 sed 's/^/| /' conftest.$ac_ext >&5
41214 glibcxx_cv_func__modff_use=no
41216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41217 ac_ext=c
41218 ac_cpp='$CPP $CPPFLAGS'
41219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41227 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
41228 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
41230 if test x$glibcxx_cv_func__modff_use = x"yes"; then
41232 for ac_func in _modff
41234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41235 echo "$as_me:$LINENO: checking for $ac_func" >&5
41236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41237 if eval "test \"\${$as_ac_var+set}\" = set"; then
41238 echo $ECHO_N "(cached) $ECHO_C" >&6
41239 else
41240 if test x$gcc_no_link = xyes; then
41241 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41243 { (exit 1); exit 1; }; }
41245 cat >conftest.$ac_ext <<_ACEOF
41246 /* confdefs.h. */
41247 _ACEOF
41248 cat confdefs.h >>conftest.$ac_ext
41249 cat >>conftest.$ac_ext <<_ACEOF
41250 /* end confdefs.h. */
41251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41253 #define $ac_func innocuous_$ac_func
41255 /* System header to define __stub macros and hopefully few prototypes,
41256 which can conflict with char $ac_func (); below.
41257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41258 <limits.h> exists even on freestanding compilers. */
41260 #ifdef __STDC__
41261 # include <limits.h>
41262 #else
41263 # include <assert.h>
41264 #endif
41266 #undef $ac_func
41268 /* Override any gcc2 internal prototype to avoid an error. */
41269 #ifdef __cplusplus
41270 extern "C"
41272 #endif
41273 /* We use char because int might match the return type of a gcc2
41274 builtin and then its argument prototype would still apply. */
41275 char $ac_func ();
41276 /* The GNU C library defines this for functions which it implements
41277 to always fail with ENOSYS. Some functions are actually named
41278 something starting with __ and the normal name is an alias. */
41279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41280 choke me
41281 #else
41282 char (*f) () = $ac_func;
41283 #endif
41284 #ifdef __cplusplus
41286 #endif
41289 main ()
41291 return f != $ac_func;
41293 return 0;
41295 _ACEOF
41296 rm -f conftest.$ac_objext conftest$ac_exeext
41297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41298 (eval $ac_link) 2>conftest.er1
41299 ac_status=$?
41300 grep -v '^ *+' conftest.er1 >conftest.err
41301 rm -f conftest.er1
41302 cat conftest.err >&5
41303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41304 (exit $ac_status); } &&
41305 { ac_try='test -z "$ac_c_werror_flag"
41306 || test ! -s conftest.err'
41307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41308 (eval $ac_try) 2>&5
41309 ac_status=$?
41310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41311 (exit $ac_status); }; } &&
41312 { ac_try='test -s conftest$ac_exeext'
41313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41314 (eval $ac_try) 2>&5
41315 ac_status=$?
41316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41317 (exit $ac_status); }; }; then
41318 eval "$as_ac_var=yes"
41319 else
41320 echo "$as_me: failed program was:" >&5
41321 sed 's/^/| /' conftest.$ac_ext >&5
41323 eval "$as_ac_var=no"
41325 rm -f conftest.err conftest.$ac_objext \
41326 conftest$ac_exeext conftest.$ac_ext
41328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41330 if test `eval echo '${'$as_ac_var'}'` = yes; then
41331 cat >>confdefs.h <<_ACEOF
41332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41333 _ACEOF
41336 done
41346 echo "$as_me:$LINENO: checking for modf declaration" >&5
41347 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
41348 if test x${glibcxx_cv_func_modf_use+set} != xset; then
41349 if test "${glibcxx_cv_func_modf_use+set}" = set; then
41350 echo $ECHO_N "(cached) $ECHO_C" >&6
41351 else
41355 ac_ext=cc
41356 ac_cpp='$CXXCPP $CPPFLAGS'
41357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41361 cat >conftest.$ac_ext <<_ACEOF
41362 /* confdefs.h. */
41363 _ACEOF
41364 cat confdefs.h >>conftest.$ac_ext
41365 cat >>conftest.$ac_ext <<_ACEOF
41366 /* end confdefs.h. */
41367 #include <math.h>
41369 main ()
41371 modf(0, 0);
41373 return 0;
41375 _ACEOF
41376 rm -f conftest.$ac_objext
41377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41378 (eval $ac_compile) 2>conftest.er1
41379 ac_status=$?
41380 grep -v '^ *+' conftest.er1 >conftest.err
41381 rm -f conftest.er1
41382 cat conftest.err >&5
41383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41384 (exit $ac_status); } &&
41385 { ac_try='test -z "$ac_cxx_werror_flag"
41386 || test ! -s conftest.err'
41387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41388 (eval $ac_try) 2>&5
41389 ac_status=$?
41390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41391 (exit $ac_status); }; } &&
41392 { ac_try='test -s conftest.$ac_objext'
41393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41394 (eval $ac_try) 2>&5
41395 ac_status=$?
41396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41397 (exit $ac_status); }; }; then
41398 glibcxx_cv_func_modf_use=yes
41399 else
41400 echo "$as_me: failed program was:" >&5
41401 sed 's/^/| /' conftest.$ac_ext >&5
41403 glibcxx_cv_func_modf_use=no
41405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41406 ac_ext=c
41407 ac_cpp='$CPP $CPPFLAGS'
41408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41416 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
41417 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
41419 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41421 for ac_func in modf
41423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41424 echo "$as_me:$LINENO: checking for $ac_func" >&5
41425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41426 if eval "test \"\${$as_ac_var+set}\" = set"; then
41427 echo $ECHO_N "(cached) $ECHO_C" >&6
41428 else
41429 if test x$gcc_no_link = xyes; then
41430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41432 { (exit 1); exit 1; }; }
41434 cat >conftest.$ac_ext <<_ACEOF
41435 /* confdefs.h. */
41436 _ACEOF
41437 cat confdefs.h >>conftest.$ac_ext
41438 cat >>conftest.$ac_ext <<_ACEOF
41439 /* end confdefs.h. */
41440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41442 #define $ac_func innocuous_$ac_func
41444 /* System header to define __stub macros and hopefully few prototypes,
41445 which can conflict with char $ac_func (); below.
41446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41447 <limits.h> exists even on freestanding compilers. */
41449 #ifdef __STDC__
41450 # include <limits.h>
41451 #else
41452 # include <assert.h>
41453 #endif
41455 #undef $ac_func
41457 /* Override any gcc2 internal prototype to avoid an error. */
41458 #ifdef __cplusplus
41459 extern "C"
41461 #endif
41462 /* We use char because int might match the return type of a gcc2
41463 builtin and then its argument prototype would still apply. */
41464 char $ac_func ();
41465 /* The GNU C library defines this for functions which it implements
41466 to always fail with ENOSYS. Some functions are actually named
41467 something starting with __ and the normal name is an alias. */
41468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41469 choke me
41470 #else
41471 char (*f) () = $ac_func;
41472 #endif
41473 #ifdef __cplusplus
41475 #endif
41478 main ()
41480 return f != $ac_func;
41482 return 0;
41484 _ACEOF
41485 rm -f conftest.$ac_objext conftest$ac_exeext
41486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41487 (eval $ac_link) 2>conftest.er1
41488 ac_status=$?
41489 grep -v '^ *+' conftest.er1 >conftest.err
41490 rm -f conftest.er1
41491 cat conftest.err >&5
41492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41493 (exit $ac_status); } &&
41494 { ac_try='test -z "$ac_c_werror_flag"
41495 || test ! -s conftest.err'
41496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41497 (eval $ac_try) 2>&5
41498 ac_status=$?
41499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41500 (exit $ac_status); }; } &&
41501 { ac_try='test -s conftest$ac_exeext'
41502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41503 (eval $ac_try) 2>&5
41504 ac_status=$?
41505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41506 (exit $ac_status); }; }; then
41507 eval "$as_ac_var=yes"
41508 else
41509 echo "$as_me: failed program was:" >&5
41510 sed 's/^/| /' conftest.$ac_ext >&5
41512 eval "$as_ac_var=no"
41514 rm -f conftest.err conftest.$ac_objext \
41515 conftest$ac_exeext conftest.$ac_ext
41517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41519 if test `eval echo '${'$as_ac_var'}'` = yes; then
41520 cat >>confdefs.h <<_ACEOF
41521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41522 _ACEOF
41525 done
41527 else
41529 echo "$as_me:$LINENO: checking for _modf declaration" >&5
41530 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
41531 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41532 if test "${glibcxx_cv_func__modf_use+set}" = set; then
41533 echo $ECHO_N "(cached) $ECHO_C" >&6
41534 else
41538 ac_ext=cc
41539 ac_cpp='$CXXCPP $CPPFLAGS'
41540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41544 cat >conftest.$ac_ext <<_ACEOF
41545 /* confdefs.h. */
41546 _ACEOF
41547 cat confdefs.h >>conftest.$ac_ext
41548 cat >>conftest.$ac_ext <<_ACEOF
41549 /* end confdefs.h. */
41550 #include <math.h>
41552 main ()
41554 _modf(0, 0);
41556 return 0;
41558 _ACEOF
41559 rm -f conftest.$ac_objext
41560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41561 (eval $ac_compile) 2>conftest.er1
41562 ac_status=$?
41563 grep -v '^ *+' conftest.er1 >conftest.err
41564 rm -f conftest.er1
41565 cat conftest.err >&5
41566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41567 (exit $ac_status); } &&
41568 { ac_try='test -z "$ac_cxx_werror_flag"
41569 || test ! -s conftest.err'
41570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41571 (eval $ac_try) 2>&5
41572 ac_status=$?
41573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41574 (exit $ac_status); }; } &&
41575 { ac_try='test -s conftest.$ac_objext'
41576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41577 (eval $ac_try) 2>&5
41578 ac_status=$?
41579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41580 (exit $ac_status); }; }; then
41581 glibcxx_cv_func__modf_use=yes
41582 else
41583 echo "$as_me: failed program was:" >&5
41584 sed 's/^/| /' conftest.$ac_ext >&5
41586 glibcxx_cv_func__modf_use=no
41588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41589 ac_ext=c
41590 ac_cpp='$CPP $CPPFLAGS'
41591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41599 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
41600 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
41602 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41604 for ac_func in _modf
41606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41607 echo "$as_me:$LINENO: checking for $ac_func" >&5
41608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41609 if eval "test \"\${$as_ac_var+set}\" = set"; then
41610 echo $ECHO_N "(cached) $ECHO_C" >&6
41611 else
41612 if test x$gcc_no_link = xyes; then
41613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41615 { (exit 1); exit 1; }; }
41617 cat >conftest.$ac_ext <<_ACEOF
41618 /* confdefs.h. */
41619 _ACEOF
41620 cat confdefs.h >>conftest.$ac_ext
41621 cat >>conftest.$ac_ext <<_ACEOF
41622 /* end confdefs.h. */
41623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41625 #define $ac_func innocuous_$ac_func
41627 /* System header to define __stub macros and hopefully few prototypes,
41628 which can conflict with char $ac_func (); below.
41629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41630 <limits.h> exists even on freestanding compilers. */
41632 #ifdef __STDC__
41633 # include <limits.h>
41634 #else
41635 # include <assert.h>
41636 #endif
41638 #undef $ac_func
41640 /* Override any gcc2 internal prototype to avoid an error. */
41641 #ifdef __cplusplus
41642 extern "C"
41644 #endif
41645 /* We use char because int might match the return type of a gcc2
41646 builtin and then its argument prototype would still apply. */
41647 char $ac_func ();
41648 /* The GNU C library defines this for functions which it implements
41649 to always fail with ENOSYS. Some functions are actually named
41650 something starting with __ and the normal name is an alias. */
41651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41652 choke me
41653 #else
41654 char (*f) () = $ac_func;
41655 #endif
41656 #ifdef __cplusplus
41658 #endif
41661 main ()
41663 return f != $ac_func;
41665 return 0;
41667 _ACEOF
41668 rm -f conftest.$ac_objext conftest$ac_exeext
41669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41670 (eval $ac_link) 2>conftest.er1
41671 ac_status=$?
41672 grep -v '^ *+' conftest.er1 >conftest.err
41673 rm -f conftest.er1
41674 cat conftest.err >&5
41675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41676 (exit $ac_status); } &&
41677 { ac_try='test -z "$ac_c_werror_flag"
41678 || test ! -s conftest.err'
41679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41680 (eval $ac_try) 2>&5
41681 ac_status=$?
41682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41683 (exit $ac_status); }; } &&
41684 { ac_try='test -s conftest$ac_exeext'
41685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41686 (eval $ac_try) 2>&5
41687 ac_status=$?
41688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41689 (exit $ac_status); }; }; then
41690 eval "$as_ac_var=yes"
41691 else
41692 echo "$as_me: failed program was:" >&5
41693 sed 's/^/| /' conftest.$ac_ext >&5
41695 eval "$as_ac_var=no"
41697 rm -f conftest.err conftest.$ac_objext \
41698 conftest$ac_exeext conftest.$ac_ext
41700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41702 if test `eval echo '${'$as_ac_var'}'` = yes; then
41703 cat >>confdefs.h <<_ACEOF
41704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41705 _ACEOF
41708 done
41718 echo "$as_me:$LINENO: checking for powf declaration" >&5
41719 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
41720 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41721 if test "${glibcxx_cv_func_powf_use+set}" = set; then
41722 echo $ECHO_N "(cached) $ECHO_C" >&6
41723 else
41727 ac_ext=cc
41728 ac_cpp='$CXXCPP $CPPFLAGS'
41729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41733 cat >conftest.$ac_ext <<_ACEOF
41734 /* confdefs.h. */
41735 _ACEOF
41736 cat confdefs.h >>conftest.$ac_ext
41737 cat >>conftest.$ac_ext <<_ACEOF
41738 /* end confdefs.h. */
41739 #include <math.h>
41741 main ()
41743 powf(0, 0);
41745 return 0;
41747 _ACEOF
41748 rm -f conftest.$ac_objext
41749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41750 (eval $ac_compile) 2>conftest.er1
41751 ac_status=$?
41752 grep -v '^ *+' conftest.er1 >conftest.err
41753 rm -f conftest.er1
41754 cat conftest.err >&5
41755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41756 (exit $ac_status); } &&
41757 { ac_try='test -z "$ac_cxx_werror_flag"
41758 || test ! -s conftest.err'
41759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41760 (eval $ac_try) 2>&5
41761 ac_status=$?
41762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41763 (exit $ac_status); }; } &&
41764 { ac_try='test -s conftest.$ac_objext'
41765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41766 (eval $ac_try) 2>&5
41767 ac_status=$?
41768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41769 (exit $ac_status); }; }; then
41770 glibcxx_cv_func_powf_use=yes
41771 else
41772 echo "$as_me: failed program was:" >&5
41773 sed 's/^/| /' conftest.$ac_ext >&5
41775 glibcxx_cv_func_powf_use=no
41777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41778 ac_ext=c
41779 ac_cpp='$CPP $CPPFLAGS'
41780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41788 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
41789 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
41791 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41793 for ac_func in powf
41795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41796 echo "$as_me:$LINENO: checking for $ac_func" >&5
41797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41798 if eval "test \"\${$as_ac_var+set}\" = set"; then
41799 echo $ECHO_N "(cached) $ECHO_C" >&6
41800 else
41801 if test x$gcc_no_link = xyes; then
41802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41804 { (exit 1); exit 1; }; }
41806 cat >conftest.$ac_ext <<_ACEOF
41807 /* confdefs.h. */
41808 _ACEOF
41809 cat confdefs.h >>conftest.$ac_ext
41810 cat >>conftest.$ac_ext <<_ACEOF
41811 /* end confdefs.h. */
41812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41814 #define $ac_func innocuous_$ac_func
41816 /* System header to define __stub macros and hopefully few prototypes,
41817 which can conflict with char $ac_func (); below.
41818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41819 <limits.h> exists even on freestanding compilers. */
41821 #ifdef __STDC__
41822 # include <limits.h>
41823 #else
41824 # include <assert.h>
41825 #endif
41827 #undef $ac_func
41829 /* Override any gcc2 internal prototype to avoid an error. */
41830 #ifdef __cplusplus
41831 extern "C"
41833 #endif
41834 /* We use char because int might match the return type of a gcc2
41835 builtin and then its argument prototype would still apply. */
41836 char $ac_func ();
41837 /* The GNU C library defines this for functions which it implements
41838 to always fail with ENOSYS. Some functions are actually named
41839 something starting with __ and the normal name is an alias. */
41840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41841 choke me
41842 #else
41843 char (*f) () = $ac_func;
41844 #endif
41845 #ifdef __cplusplus
41847 #endif
41850 main ()
41852 return f != $ac_func;
41854 return 0;
41856 _ACEOF
41857 rm -f conftest.$ac_objext conftest$ac_exeext
41858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41859 (eval $ac_link) 2>conftest.er1
41860 ac_status=$?
41861 grep -v '^ *+' conftest.er1 >conftest.err
41862 rm -f conftest.er1
41863 cat conftest.err >&5
41864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41865 (exit $ac_status); } &&
41866 { ac_try='test -z "$ac_c_werror_flag"
41867 || test ! -s conftest.err'
41868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41869 (eval $ac_try) 2>&5
41870 ac_status=$?
41871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41872 (exit $ac_status); }; } &&
41873 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
41879 eval "$as_ac_var=yes"
41880 else
41881 echo "$as_me: failed program was:" >&5
41882 sed 's/^/| /' conftest.$ac_ext >&5
41884 eval "$as_ac_var=no"
41886 rm -f conftest.err conftest.$ac_objext \
41887 conftest$ac_exeext conftest.$ac_ext
41889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41891 if test `eval echo '${'$as_ac_var'}'` = yes; then
41892 cat >>confdefs.h <<_ACEOF
41893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41894 _ACEOF
41897 done
41899 else
41901 echo "$as_me:$LINENO: checking for _powf declaration" >&5
41902 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
41903 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41904 if test "${glibcxx_cv_func__powf_use+set}" = set; then
41905 echo $ECHO_N "(cached) $ECHO_C" >&6
41906 else
41910 ac_ext=cc
41911 ac_cpp='$CXXCPP $CPPFLAGS'
41912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41916 cat >conftest.$ac_ext <<_ACEOF
41917 /* confdefs.h. */
41918 _ACEOF
41919 cat confdefs.h >>conftest.$ac_ext
41920 cat >>conftest.$ac_ext <<_ACEOF
41921 /* end confdefs.h. */
41922 #include <math.h>
41924 main ()
41926 _powf(0, 0);
41928 return 0;
41930 _ACEOF
41931 rm -f conftest.$ac_objext
41932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41933 (eval $ac_compile) 2>conftest.er1
41934 ac_status=$?
41935 grep -v '^ *+' conftest.er1 >conftest.err
41936 rm -f conftest.er1
41937 cat conftest.err >&5
41938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41939 (exit $ac_status); } &&
41940 { ac_try='test -z "$ac_cxx_werror_flag"
41941 || test ! -s conftest.err'
41942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41943 (eval $ac_try) 2>&5
41944 ac_status=$?
41945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41946 (exit $ac_status); }; } &&
41947 { ac_try='test -s conftest.$ac_objext'
41948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41949 (eval $ac_try) 2>&5
41950 ac_status=$?
41951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41952 (exit $ac_status); }; }; then
41953 glibcxx_cv_func__powf_use=yes
41954 else
41955 echo "$as_me: failed program was:" >&5
41956 sed 's/^/| /' conftest.$ac_ext >&5
41958 glibcxx_cv_func__powf_use=no
41960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41961 ac_ext=c
41962 ac_cpp='$CPP $CPPFLAGS'
41963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41971 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
41972 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
41974 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41976 for ac_func in _powf
41978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41979 echo "$as_me:$LINENO: checking for $ac_func" >&5
41980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41981 if eval "test \"\${$as_ac_var+set}\" = set"; then
41982 echo $ECHO_N "(cached) $ECHO_C" >&6
41983 else
41984 if test x$gcc_no_link = xyes; then
41985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41987 { (exit 1); exit 1; }; }
41989 cat >conftest.$ac_ext <<_ACEOF
41990 /* confdefs.h. */
41991 _ACEOF
41992 cat confdefs.h >>conftest.$ac_ext
41993 cat >>conftest.$ac_ext <<_ACEOF
41994 /* end confdefs.h. */
41995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41997 #define $ac_func innocuous_$ac_func
41999 /* System header to define __stub macros and hopefully few prototypes,
42000 which can conflict with char $ac_func (); below.
42001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42002 <limits.h> exists even on freestanding compilers. */
42004 #ifdef __STDC__
42005 # include <limits.h>
42006 #else
42007 # include <assert.h>
42008 #endif
42010 #undef $ac_func
42012 /* Override any gcc2 internal prototype to avoid an error. */
42013 #ifdef __cplusplus
42014 extern "C"
42016 #endif
42017 /* We use char because int might match the return type of a gcc2
42018 builtin and then its argument prototype would still apply. */
42019 char $ac_func ();
42020 /* The GNU C library defines this for functions which it implements
42021 to always fail with ENOSYS. Some functions are actually named
42022 something starting with __ and the normal name is an alias. */
42023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42024 choke me
42025 #else
42026 char (*f) () = $ac_func;
42027 #endif
42028 #ifdef __cplusplus
42030 #endif
42033 main ()
42035 return f != $ac_func;
42037 return 0;
42039 _ACEOF
42040 rm -f conftest.$ac_objext conftest$ac_exeext
42041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42042 (eval $ac_link) 2>conftest.er1
42043 ac_status=$?
42044 grep -v '^ *+' conftest.er1 >conftest.err
42045 rm -f conftest.er1
42046 cat conftest.err >&5
42047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42048 (exit $ac_status); } &&
42049 { ac_try='test -z "$ac_c_werror_flag"
42050 || test ! -s conftest.err'
42051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42052 (eval $ac_try) 2>&5
42053 ac_status=$?
42054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42055 (exit $ac_status); }; } &&
42056 { ac_try='test -s conftest$ac_exeext'
42057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42058 (eval $ac_try) 2>&5
42059 ac_status=$?
42060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42061 (exit $ac_status); }; }; then
42062 eval "$as_ac_var=yes"
42063 else
42064 echo "$as_me: failed program was:" >&5
42065 sed 's/^/| /' conftest.$ac_ext >&5
42067 eval "$as_ac_var=no"
42069 rm -f conftest.err conftest.$ac_objext \
42070 conftest$ac_exeext conftest.$ac_ext
42072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42074 if test `eval echo '${'$as_ac_var'}'` = yes; then
42075 cat >>confdefs.h <<_ACEOF
42076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42077 _ACEOF
42080 done
42090 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
42091 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
42092 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42093 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
42094 echo $ECHO_N "(cached) $ECHO_C" >&6
42095 else
42099 ac_ext=cc
42100 ac_cpp='$CXXCPP $CPPFLAGS'
42101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42105 cat >conftest.$ac_ext <<_ACEOF
42106 /* confdefs.h. */
42107 _ACEOF
42108 cat confdefs.h >>conftest.$ac_ext
42109 cat >>conftest.$ac_ext <<_ACEOF
42110 /* end confdefs.h. */
42111 #include <math.h>
42112 #ifdef HAVE_IEEEFP_H
42113 #include <ieeefp.h>
42114 #endif
42117 main ()
42119 sqrtf(0);
42121 return 0;
42123 _ACEOF
42124 rm -f conftest.$ac_objext
42125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42126 (eval $ac_compile) 2>conftest.er1
42127 ac_status=$?
42128 grep -v '^ *+' conftest.er1 >conftest.err
42129 rm -f conftest.er1
42130 cat conftest.err >&5
42131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42132 (exit $ac_status); } &&
42133 { ac_try='test -z "$ac_cxx_werror_flag"
42134 || test ! -s conftest.err'
42135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42136 (eval $ac_try) 2>&5
42137 ac_status=$?
42138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42139 (exit $ac_status); }; } &&
42140 { ac_try='test -s conftest.$ac_objext'
42141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42142 (eval $ac_try) 2>&5
42143 ac_status=$?
42144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42145 (exit $ac_status); }; }; then
42146 glibcxx_cv_func_sqrtf_use=yes
42147 else
42148 echo "$as_me: failed program was:" >&5
42149 sed 's/^/| /' conftest.$ac_ext >&5
42151 glibcxx_cv_func_sqrtf_use=no
42153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42154 ac_ext=c
42155 ac_cpp='$CPP $CPPFLAGS'
42156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42164 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
42165 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
42167 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42169 for ac_func in sqrtf
42171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42172 echo "$as_me:$LINENO: checking for $ac_func" >&5
42173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42174 if eval "test \"\${$as_ac_var+set}\" = set"; then
42175 echo $ECHO_N "(cached) $ECHO_C" >&6
42176 else
42177 if test x$gcc_no_link = xyes; then
42178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42180 { (exit 1); exit 1; }; }
42182 cat >conftest.$ac_ext <<_ACEOF
42183 /* confdefs.h. */
42184 _ACEOF
42185 cat confdefs.h >>conftest.$ac_ext
42186 cat >>conftest.$ac_ext <<_ACEOF
42187 /* end confdefs.h. */
42188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42190 #define $ac_func innocuous_$ac_func
42192 /* System header to define __stub macros and hopefully few prototypes,
42193 which can conflict with char $ac_func (); below.
42194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42195 <limits.h> exists even on freestanding compilers. */
42197 #ifdef __STDC__
42198 # include <limits.h>
42199 #else
42200 # include <assert.h>
42201 #endif
42203 #undef $ac_func
42205 /* Override any gcc2 internal prototype to avoid an error. */
42206 #ifdef __cplusplus
42207 extern "C"
42209 #endif
42210 /* We use char because int might match the return type of a gcc2
42211 builtin and then its argument prototype would still apply. */
42212 char $ac_func ();
42213 /* The GNU C library defines this for functions which it implements
42214 to always fail with ENOSYS. Some functions are actually named
42215 something starting with __ and the normal name is an alias. */
42216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42217 choke me
42218 #else
42219 char (*f) () = $ac_func;
42220 #endif
42221 #ifdef __cplusplus
42223 #endif
42226 main ()
42228 return f != $ac_func;
42230 return 0;
42232 _ACEOF
42233 rm -f conftest.$ac_objext conftest$ac_exeext
42234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42235 (eval $ac_link) 2>conftest.er1
42236 ac_status=$?
42237 grep -v '^ *+' conftest.er1 >conftest.err
42238 rm -f conftest.er1
42239 cat conftest.err >&5
42240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42241 (exit $ac_status); } &&
42242 { ac_try='test -z "$ac_c_werror_flag"
42243 || test ! -s conftest.err'
42244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42245 (eval $ac_try) 2>&5
42246 ac_status=$?
42247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42248 (exit $ac_status); }; } &&
42249 { ac_try='test -s conftest$ac_exeext'
42250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42251 (eval $ac_try) 2>&5
42252 ac_status=$?
42253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42254 (exit $ac_status); }; }; then
42255 eval "$as_ac_var=yes"
42256 else
42257 echo "$as_me: failed program was:" >&5
42258 sed 's/^/| /' conftest.$ac_ext >&5
42260 eval "$as_ac_var=no"
42262 rm -f conftest.err conftest.$ac_objext \
42263 conftest$ac_exeext conftest.$ac_ext
42265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42267 if test `eval echo '${'$as_ac_var'}'` = yes; then
42268 cat >>confdefs.h <<_ACEOF
42269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42270 _ACEOF
42273 done
42275 else
42277 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
42278 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
42279 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42280 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
42281 echo $ECHO_N "(cached) $ECHO_C" >&6
42282 else
42286 ac_ext=cc
42287 ac_cpp='$CXXCPP $CPPFLAGS'
42288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42292 cat >conftest.$ac_ext <<_ACEOF
42293 /* confdefs.h. */
42294 _ACEOF
42295 cat confdefs.h >>conftest.$ac_ext
42296 cat >>conftest.$ac_ext <<_ACEOF
42297 /* end confdefs.h. */
42298 #include <math.h>
42299 #ifdef HAVE_IEEEFP_H
42300 #include <ieeefp.h>
42301 #endif
42304 main ()
42306 _sqrtf(0);
42308 return 0;
42310 _ACEOF
42311 rm -f conftest.$ac_objext
42312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42313 (eval $ac_compile) 2>conftest.er1
42314 ac_status=$?
42315 grep -v '^ *+' conftest.er1 >conftest.err
42316 rm -f conftest.er1
42317 cat conftest.err >&5
42318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42319 (exit $ac_status); } &&
42320 { ac_try='test -z "$ac_cxx_werror_flag"
42321 || test ! -s conftest.err'
42322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42323 (eval $ac_try) 2>&5
42324 ac_status=$?
42325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42326 (exit $ac_status); }; } &&
42327 { ac_try='test -s conftest.$ac_objext'
42328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42329 (eval $ac_try) 2>&5
42330 ac_status=$?
42331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42332 (exit $ac_status); }; }; then
42333 glibcxx_cv_func__sqrtf_use=yes
42334 else
42335 echo "$as_me: failed program was:" >&5
42336 sed 's/^/| /' conftest.$ac_ext >&5
42338 glibcxx_cv_func__sqrtf_use=no
42340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42341 ac_ext=c
42342 ac_cpp='$CPP $CPPFLAGS'
42343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42351 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
42352 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
42354 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42356 for ac_func in _sqrtf
42358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42359 echo "$as_me:$LINENO: checking for $ac_func" >&5
42360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42361 if eval "test \"\${$as_ac_var+set}\" = set"; then
42362 echo $ECHO_N "(cached) $ECHO_C" >&6
42363 else
42364 if test x$gcc_no_link = xyes; then
42365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42367 { (exit 1); exit 1; }; }
42369 cat >conftest.$ac_ext <<_ACEOF
42370 /* confdefs.h. */
42371 _ACEOF
42372 cat confdefs.h >>conftest.$ac_ext
42373 cat >>conftest.$ac_ext <<_ACEOF
42374 /* end confdefs.h. */
42375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42377 #define $ac_func innocuous_$ac_func
42379 /* System header to define __stub macros and hopefully few prototypes,
42380 which can conflict with char $ac_func (); below.
42381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42382 <limits.h> exists even on freestanding compilers. */
42384 #ifdef __STDC__
42385 # include <limits.h>
42386 #else
42387 # include <assert.h>
42388 #endif
42390 #undef $ac_func
42392 /* Override any gcc2 internal prototype to avoid an error. */
42393 #ifdef __cplusplus
42394 extern "C"
42396 #endif
42397 /* We use char because int might match the return type of a gcc2
42398 builtin and then its argument prototype would still apply. */
42399 char $ac_func ();
42400 /* The GNU C library defines this for functions which it implements
42401 to always fail with ENOSYS. Some functions are actually named
42402 something starting with __ and the normal name is an alias. */
42403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42404 choke me
42405 #else
42406 char (*f) () = $ac_func;
42407 #endif
42408 #ifdef __cplusplus
42410 #endif
42413 main ()
42415 return f != $ac_func;
42417 return 0;
42419 _ACEOF
42420 rm -f conftest.$ac_objext conftest$ac_exeext
42421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42422 (eval $ac_link) 2>conftest.er1
42423 ac_status=$?
42424 grep -v '^ *+' conftest.er1 >conftest.err
42425 rm -f conftest.er1
42426 cat conftest.err >&5
42427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42428 (exit $ac_status); } &&
42429 { ac_try='test -z "$ac_c_werror_flag"
42430 || test ! -s conftest.err'
42431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42432 (eval $ac_try) 2>&5
42433 ac_status=$?
42434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42435 (exit $ac_status); }; } &&
42436 { ac_try='test -s conftest$ac_exeext'
42437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42438 (eval $ac_try) 2>&5
42439 ac_status=$?
42440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42441 (exit $ac_status); }; }; then
42442 eval "$as_ac_var=yes"
42443 else
42444 echo "$as_me: failed program was:" >&5
42445 sed 's/^/| /' conftest.$ac_ext >&5
42447 eval "$as_ac_var=no"
42449 rm -f conftest.err conftest.$ac_objext \
42450 conftest$ac_exeext conftest.$ac_ext
42452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42454 if test `eval echo '${'$as_ac_var'}'` = yes; then
42455 cat >>confdefs.h <<_ACEOF
42456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42457 _ACEOF
42460 done
42470 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
42471 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
42472 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42473 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
42474 echo $ECHO_N "(cached) $ECHO_C" >&6
42475 else
42479 ac_ext=cc
42480 ac_cpp='$CXXCPP $CPPFLAGS'
42481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42485 cat >conftest.$ac_ext <<_ACEOF
42486 /* confdefs.h. */
42487 _ACEOF
42488 cat confdefs.h >>conftest.$ac_ext
42489 cat >>conftest.$ac_ext <<_ACEOF
42490 /* end confdefs.h. */
42491 #include <math.h>
42493 main ()
42495 sincosf(0, 0, 0);
42497 return 0;
42499 _ACEOF
42500 rm -f conftest.$ac_objext
42501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42502 (eval $ac_compile) 2>conftest.er1
42503 ac_status=$?
42504 grep -v '^ *+' conftest.er1 >conftest.err
42505 rm -f conftest.er1
42506 cat conftest.err >&5
42507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42508 (exit $ac_status); } &&
42509 { ac_try='test -z "$ac_cxx_werror_flag"
42510 || test ! -s conftest.err'
42511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42512 (eval $ac_try) 2>&5
42513 ac_status=$?
42514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42515 (exit $ac_status); }; } &&
42516 { ac_try='test -s conftest.$ac_objext'
42517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42518 (eval $ac_try) 2>&5
42519 ac_status=$?
42520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42521 (exit $ac_status); }; }; then
42522 glibcxx_cv_func_sincosf_use=yes
42523 else
42524 echo "$as_me: failed program was:" >&5
42525 sed 's/^/| /' conftest.$ac_ext >&5
42527 glibcxx_cv_func_sincosf_use=no
42529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42530 ac_ext=c
42531 ac_cpp='$CPP $CPPFLAGS'
42532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42540 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
42541 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
42543 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42545 for ac_func in sincosf
42547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42548 echo "$as_me:$LINENO: checking for $ac_func" >&5
42549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42550 if eval "test \"\${$as_ac_var+set}\" = set"; then
42551 echo $ECHO_N "(cached) $ECHO_C" >&6
42552 else
42553 if test x$gcc_no_link = xyes; then
42554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42556 { (exit 1); exit 1; }; }
42558 cat >conftest.$ac_ext <<_ACEOF
42559 /* confdefs.h. */
42560 _ACEOF
42561 cat confdefs.h >>conftest.$ac_ext
42562 cat >>conftest.$ac_ext <<_ACEOF
42563 /* end confdefs.h. */
42564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42566 #define $ac_func innocuous_$ac_func
42568 /* System header to define __stub macros and hopefully few prototypes,
42569 which can conflict with char $ac_func (); below.
42570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42571 <limits.h> exists even on freestanding compilers. */
42573 #ifdef __STDC__
42574 # include <limits.h>
42575 #else
42576 # include <assert.h>
42577 #endif
42579 #undef $ac_func
42581 /* Override any gcc2 internal prototype to avoid an error. */
42582 #ifdef __cplusplus
42583 extern "C"
42585 #endif
42586 /* We use char because int might match the return type of a gcc2
42587 builtin and then its argument prototype would still apply. */
42588 char $ac_func ();
42589 /* The GNU C library defines this for functions which it implements
42590 to always fail with ENOSYS. Some functions are actually named
42591 something starting with __ and the normal name is an alias. */
42592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42593 choke me
42594 #else
42595 char (*f) () = $ac_func;
42596 #endif
42597 #ifdef __cplusplus
42599 #endif
42602 main ()
42604 return f != $ac_func;
42606 return 0;
42608 _ACEOF
42609 rm -f conftest.$ac_objext conftest$ac_exeext
42610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42611 (eval $ac_link) 2>conftest.er1
42612 ac_status=$?
42613 grep -v '^ *+' conftest.er1 >conftest.err
42614 rm -f conftest.er1
42615 cat conftest.err >&5
42616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42617 (exit $ac_status); } &&
42618 { ac_try='test -z "$ac_c_werror_flag"
42619 || test ! -s conftest.err'
42620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42621 (eval $ac_try) 2>&5
42622 ac_status=$?
42623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42624 (exit $ac_status); }; } &&
42625 { ac_try='test -s conftest$ac_exeext'
42626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42627 (eval $ac_try) 2>&5
42628 ac_status=$?
42629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42630 (exit $ac_status); }; }; then
42631 eval "$as_ac_var=yes"
42632 else
42633 echo "$as_me: failed program was:" >&5
42634 sed 's/^/| /' conftest.$ac_ext >&5
42636 eval "$as_ac_var=no"
42638 rm -f conftest.err conftest.$ac_objext \
42639 conftest$ac_exeext conftest.$ac_ext
42641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42643 if test `eval echo '${'$as_ac_var'}'` = yes; then
42644 cat >>confdefs.h <<_ACEOF
42645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42646 _ACEOF
42649 done
42651 else
42653 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
42654 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
42655 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42656 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
42657 echo $ECHO_N "(cached) $ECHO_C" >&6
42658 else
42662 ac_ext=cc
42663 ac_cpp='$CXXCPP $CPPFLAGS'
42664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42668 cat >conftest.$ac_ext <<_ACEOF
42669 /* confdefs.h. */
42670 _ACEOF
42671 cat confdefs.h >>conftest.$ac_ext
42672 cat >>conftest.$ac_ext <<_ACEOF
42673 /* end confdefs.h. */
42674 #include <math.h>
42676 main ()
42678 _sincosf(0, 0, 0);
42680 return 0;
42682 _ACEOF
42683 rm -f conftest.$ac_objext
42684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42685 (eval $ac_compile) 2>conftest.er1
42686 ac_status=$?
42687 grep -v '^ *+' conftest.er1 >conftest.err
42688 rm -f conftest.er1
42689 cat conftest.err >&5
42690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42691 (exit $ac_status); } &&
42692 { ac_try='test -z "$ac_cxx_werror_flag"
42693 || test ! -s conftest.err'
42694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42695 (eval $ac_try) 2>&5
42696 ac_status=$?
42697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42698 (exit $ac_status); }; } &&
42699 { ac_try='test -s conftest.$ac_objext'
42700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42701 (eval $ac_try) 2>&5
42702 ac_status=$?
42703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42704 (exit $ac_status); }; }; then
42705 glibcxx_cv_func__sincosf_use=yes
42706 else
42707 echo "$as_me: failed program was:" >&5
42708 sed 's/^/| /' conftest.$ac_ext >&5
42710 glibcxx_cv_func__sincosf_use=no
42712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42713 ac_ext=c
42714 ac_cpp='$CPP $CPPFLAGS'
42715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42723 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
42724 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
42726 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42728 for ac_func in _sincosf
42730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42731 echo "$as_me:$LINENO: checking for $ac_func" >&5
42732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42733 if eval "test \"\${$as_ac_var+set}\" = set"; then
42734 echo $ECHO_N "(cached) $ECHO_C" >&6
42735 else
42736 if test x$gcc_no_link = xyes; then
42737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42739 { (exit 1); exit 1; }; }
42741 cat >conftest.$ac_ext <<_ACEOF
42742 /* confdefs.h. */
42743 _ACEOF
42744 cat confdefs.h >>conftest.$ac_ext
42745 cat >>conftest.$ac_ext <<_ACEOF
42746 /* end confdefs.h. */
42747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42749 #define $ac_func innocuous_$ac_func
42751 /* System header to define __stub macros and hopefully few prototypes,
42752 which can conflict with char $ac_func (); below.
42753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42754 <limits.h> exists even on freestanding compilers. */
42756 #ifdef __STDC__
42757 # include <limits.h>
42758 #else
42759 # include <assert.h>
42760 #endif
42762 #undef $ac_func
42764 /* Override any gcc2 internal prototype to avoid an error. */
42765 #ifdef __cplusplus
42766 extern "C"
42768 #endif
42769 /* We use char because int might match the return type of a gcc2
42770 builtin and then its argument prototype would still apply. */
42771 char $ac_func ();
42772 /* The GNU C library defines this for functions which it implements
42773 to always fail with ENOSYS. Some functions are actually named
42774 something starting with __ and the normal name is an alias. */
42775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42776 choke me
42777 #else
42778 char (*f) () = $ac_func;
42779 #endif
42780 #ifdef __cplusplus
42782 #endif
42785 main ()
42787 return f != $ac_func;
42789 return 0;
42791 _ACEOF
42792 rm -f conftest.$ac_objext conftest$ac_exeext
42793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42794 (eval $ac_link) 2>conftest.er1
42795 ac_status=$?
42796 grep -v '^ *+' conftest.er1 >conftest.err
42797 rm -f conftest.er1
42798 cat conftest.err >&5
42799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42800 (exit $ac_status); } &&
42801 { ac_try='test -z "$ac_c_werror_flag"
42802 || test ! -s conftest.err'
42803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42804 (eval $ac_try) 2>&5
42805 ac_status=$?
42806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42807 (exit $ac_status); }; } &&
42808 { ac_try='test -s conftest$ac_exeext'
42809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42810 (eval $ac_try) 2>&5
42811 ac_status=$?
42812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42813 (exit $ac_status); }; }; then
42814 eval "$as_ac_var=yes"
42815 else
42816 echo "$as_me: failed program was:" >&5
42817 sed 's/^/| /' conftest.$ac_ext >&5
42819 eval "$as_ac_var=no"
42821 rm -f conftest.err conftest.$ac_objext \
42822 conftest$ac_exeext conftest.$ac_ext
42824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42826 if test `eval echo '${'$as_ac_var'}'` = yes; then
42827 cat >>confdefs.h <<_ACEOF
42828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42829 _ACEOF
42832 done
42842 echo "$as_me:$LINENO: checking for finitef declaration" >&5
42843 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
42844 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42845 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
42846 echo $ECHO_N "(cached) $ECHO_C" >&6
42847 else
42851 ac_ext=cc
42852 ac_cpp='$CXXCPP $CPPFLAGS'
42853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42857 cat >conftest.$ac_ext <<_ACEOF
42858 /* confdefs.h. */
42859 _ACEOF
42860 cat confdefs.h >>conftest.$ac_ext
42861 cat >>conftest.$ac_ext <<_ACEOF
42862 /* end confdefs.h. */
42863 #include <math.h>
42864 #ifdef HAVE_IEEEFP_H
42865 #include <ieeefp.h>
42866 #endif
42869 main ()
42871 finitef(0);
42873 return 0;
42875 _ACEOF
42876 rm -f conftest.$ac_objext
42877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42878 (eval $ac_compile) 2>conftest.er1
42879 ac_status=$?
42880 grep -v '^ *+' conftest.er1 >conftest.err
42881 rm -f conftest.er1
42882 cat conftest.err >&5
42883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42884 (exit $ac_status); } &&
42885 { ac_try='test -z "$ac_cxx_werror_flag"
42886 || test ! -s conftest.err'
42887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42888 (eval $ac_try) 2>&5
42889 ac_status=$?
42890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42891 (exit $ac_status); }; } &&
42892 { ac_try='test -s conftest.$ac_objext'
42893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42894 (eval $ac_try) 2>&5
42895 ac_status=$?
42896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42897 (exit $ac_status); }; }; then
42898 glibcxx_cv_func_finitef_use=yes
42899 else
42900 echo "$as_me: failed program was:" >&5
42901 sed 's/^/| /' conftest.$ac_ext >&5
42903 glibcxx_cv_func_finitef_use=no
42905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42906 ac_ext=c
42907 ac_cpp='$CPP $CPPFLAGS'
42908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42916 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
42917 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
42919 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42921 for ac_func in finitef
42923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42924 echo "$as_me:$LINENO: checking for $ac_func" >&5
42925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42926 if eval "test \"\${$as_ac_var+set}\" = set"; then
42927 echo $ECHO_N "(cached) $ECHO_C" >&6
42928 else
42929 if test x$gcc_no_link = xyes; then
42930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42932 { (exit 1); exit 1; }; }
42934 cat >conftest.$ac_ext <<_ACEOF
42935 /* confdefs.h. */
42936 _ACEOF
42937 cat confdefs.h >>conftest.$ac_ext
42938 cat >>conftest.$ac_ext <<_ACEOF
42939 /* end confdefs.h. */
42940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42942 #define $ac_func innocuous_$ac_func
42944 /* System header to define __stub macros and hopefully few prototypes,
42945 which can conflict with char $ac_func (); below.
42946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42947 <limits.h> exists even on freestanding compilers. */
42949 #ifdef __STDC__
42950 # include <limits.h>
42951 #else
42952 # include <assert.h>
42953 #endif
42955 #undef $ac_func
42957 /* Override any gcc2 internal prototype to avoid an error. */
42958 #ifdef __cplusplus
42959 extern "C"
42961 #endif
42962 /* We use char because int might match the return type of a gcc2
42963 builtin and then its argument prototype would still apply. */
42964 char $ac_func ();
42965 /* The GNU C library defines this for functions which it implements
42966 to always fail with ENOSYS. Some functions are actually named
42967 something starting with __ and the normal name is an alias. */
42968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42969 choke me
42970 #else
42971 char (*f) () = $ac_func;
42972 #endif
42973 #ifdef __cplusplus
42975 #endif
42978 main ()
42980 return f != $ac_func;
42982 return 0;
42984 _ACEOF
42985 rm -f conftest.$ac_objext conftest$ac_exeext
42986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42987 (eval $ac_link) 2>conftest.er1
42988 ac_status=$?
42989 grep -v '^ *+' conftest.er1 >conftest.err
42990 rm -f conftest.er1
42991 cat conftest.err >&5
42992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42993 (exit $ac_status); } &&
42994 { ac_try='test -z "$ac_c_werror_flag"
42995 || test ! -s conftest.err'
42996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42997 (eval $ac_try) 2>&5
42998 ac_status=$?
42999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43000 (exit $ac_status); }; } &&
43001 { ac_try='test -s conftest$ac_exeext'
43002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43003 (eval $ac_try) 2>&5
43004 ac_status=$?
43005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43006 (exit $ac_status); }; }; then
43007 eval "$as_ac_var=yes"
43008 else
43009 echo "$as_me: failed program was:" >&5
43010 sed 's/^/| /' conftest.$ac_ext >&5
43012 eval "$as_ac_var=no"
43014 rm -f conftest.err conftest.$ac_objext \
43015 conftest$ac_exeext conftest.$ac_ext
43017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43019 if test `eval echo '${'$as_ac_var'}'` = yes; then
43020 cat >>confdefs.h <<_ACEOF
43021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43022 _ACEOF
43025 done
43027 else
43029 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
43030 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
43031 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
43032 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
43033 echo $ECHO_N "(cached) $ECHO_C" >&6
43034 else
43038 ac_ext=cc
43039 ac_cpp='$CXXCPP $CPPFLAGS'
43040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43044 cat >conftest.$ac_ext <<_ACEOF
43045 /* confdefs.h. */
43046 _ACEOF
43047 cat confdefs.h >>conftest.$ac_ext
43048 cat >>conftest.$ac_ext <<_ACEOF
43049 /* end confdefs.h. */
43050 #include <math.h>
43051 #ifdef HAVE_IEEEFP_H
43052 #include <ieeefp.h>
43053 #endif
43056 main ()
43058 _finitef(0);
43060 return 0;
43062 _ACEOF
43063 rm -f conftest.$ac_objext
43064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43065 (eval $ac_compile) 2>conftest.er1
43066 ac_status=$?
43067 grep -v '^ *+' conftest.er1 >conftest.err
43068 rm -f conftest.er1
43069 cat conftest.err >&5
43070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43071 (exit $ac_status); } &&
43072 { ac_try='test -z "$ac_cxx_werror_flag"
43073 || test ! -s conftest.err'
43074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43075 (eval $ac_try) 2>&5
43076 ac_status=$?
43077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43078 (exit $ac_status); }; } &&
43079 { ac_try='test -s conftest.$ac_objext'
43080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43081 (eval $ac_try) 2>&5
43082 ac_status=$?
43083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43084 (exit $ac_status); }; }; then
43085 glibcxx_cv_func__finitef_use=yes
43086 else
43087 echo "$as_me: failed program was:" >&5
43088 sed 's/^/| /' conftest.$ac_ext >&5
43090 glibcxx_cv_func__finitef_use=no
43092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43093 ac_ext=c
43094 ac_cpp='$CPP $CPPFLAGS'
43095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43103 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
43104 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
43106 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
43108 for ac_func in _finitef
43110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43111 echo "$as_me:$LINENO: checking for $ac_func" >&5
43112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43113 if eval "test \"\${$as_ac_var+set}\" = set"; then
43114 echo $ECHO_N "(cached) $ECHO_C" >&6
43115 else
43116 if test x$gcc_no_link = xyes; then
43117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43119 { (exit 1); exit 1; }; }
43121 cat >conftest.$ac_ext <<_ACEOF
43122 /* confdefs.h. */
43123 _ACEOF
43124 cat confdefs.h >>conftest.$ac_ext
43125 cat >>conftest.$ac_ext <<_ACEOF
43126 /* end confdefs.h. */
43127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43129 #define $ac_func innocuous_$ac_func
43131 /* System header to define __stub macros and hopefully few prototypes,
43132 which can conflict with char $ac_func (); below.
43133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43134 <limits.h> exists even on freestanding compilers. */
43136 #ifdef __STDC__
43137 # include <limits.h>
43138 #else
43139 # include <assert.h>
43140 #endif
43142 #undef $ac_func
43144 /* Override any gcc2 internal prototype to avoid an error. */
43145 #ifdef __cplusplus
43146 extern "C"
43148 #endif
43149 /* We use char because int might match the return type of a gcc2
43150 builtin and then its argument prototype would still apply. */
43151 char $ac_func ();
43152 /* The GNU C library defines this for functions which it implements
43153 to always fail with ENOSYS. Some functions are actually named
43154 something starting with __ and the normal name is an alias. */
43155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43156 choke me
43157 #else
43158 char (*f) () = $ac_func;
43159 #endif
43160 #ifdef __cplusplus
43162 #endif
43165 main ()
43167 return f != $ac_func;
43169 return 0;
43171 _ACEOF
43172 rm -f conftest.$ac_objext conftest$ac_exeext
43173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43174 (eval $ac_link) 2>conftest.er1
43175 ac_status=$?
43176 grep -v '^ *+' conftest.er1 >conftest.err
43177 rm -f conftest.er1
43178 cat conftest.err >&5
43179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43180 (exit $ac_status); } &&
43181 { ac_try='test -z "$ac_c_werror_flag"
43182 || test ! -s conftest.err'
43183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43184 (eval $ac_try) 2>&5
43185 ac_status=$?
43186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43187 (exit $ac_status); }; } &&
43188 { ac_try='test -s conftest$ac_exeext'
43189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43190 (eval $ac_try) 2>&5
43191 ac_status=$?
43192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43193 (exit $ac_status); }; }; then
43194 eval "$as_ac_var=yes"
43195 else
43196 echo "$as_me: failed program was:" >&5
43197 sed 's/^/| /' conftest.$ac_ext >&5
43199 eval "$as_ac_var=no"
43201 rm -f conftest.err conftest.$ac_objext \
43202 conftest$ac_exeext conftest.$ac_ext
43204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43206 if test `eval echo '${'$as_ac_var'}'` = yes; then
43207 cat >>confdefs.h <<_ACEOF
43208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43209 _ACEOF
43212 done
43222 echo "$as_me:$LINENO: checking for long double trig functions" >&5
43223 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
43224 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
43225 echo $ECHO_N "(cached) $ECHO_C" >&6
43226 else
43230 ac_ext=cc
43231 ac_cpp='$CXXCPP $CPPFLAGS'
43232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43236 cat >conftest.$ac_ext <<_ACEOF
43237 /* confdefs.h. */
43238 _ACEOF
43239 cat confdefs.h >>conftest.$ac_ext
43240 cat >>conftest.$ac_ext <<_ACEOF
43241 /* end confdefs.h. */
43242 #include <math.h>
43244 main ()
43246 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43248 return 0;
43250 _ACEOF
43251 rm -f conftest.$ac_objext
43252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43253 (eval $ac_compile) 2>conftest.er1
43254 ac_status=$?
43255 grep -v '^ *+' conftest.er1 >conftest.err
43256 rm -f conftest.er1
43257 cat conftest.err >&5
43258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43259 (exit $ac_status); } &&
43260 { ac_try='test -z "$ac_cxx_werror_flag"
43261 || test ! -s conftest.err'
43262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43263 (eval $ac_try) 2>&5
43264 ac_status=$?
43265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43266 (exit $ac_status); }; } &&
43267 { ac_try='test -s conftest.$ac_objext'
43268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43269 (eval $ac_try) 2>&5
43270 ac_status=$?
43271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43272 (exit $ac_status); }; }; then
43273 glibcxx_cv_func_long_double_trig_use=yes
43274 else
43275 echo "$as_me: failed program was:" >&5
43276 sed 's/^/| /' conftest.$ac_ext >&5
43278 glibcxx_cv_func_long_double_trig_use=no
43280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43281 ac_ext=c
43282 ac_cpp='$CPP $CPPFLAGS'
43283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43289 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
43290 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
43291 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43301 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43304 echo "$as_me:$LINENO: checking for $ac_func" >&5
43305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43306 if eval "test \"\${$as_ac_var+set}\" = set"; then
43307 echo $ECHO_N "(cached) $ECHO_C" >&6
43308 else
43309 if test x$gcc_no_link = xyes; then
43310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43312 { (exit 1); exit 1; }; }
43314 cat >conftest.$ac_ext <<_ACEOF
43315 /* confdefs.h. */
43316 _ACEOF
43317 cat confdefs.h >>conftest.$ac_ext
43318 cat >>conftest.$ac_ext <<_ACEOF
43319 /* end confdefs.h. */
43320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43322 #define $ac_func innocuous_$ac_func
43324 /* System header to define __stub macros and hopefully few prototypes,
43325 which can conflict with char $ac_func (); below.
43326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43327 <limits.h> exists even on freestanding compilers. */
43329 #ifdef __STDC__
43330 # include <limits.h>
43331 #else
43332 # include <assert.h>
43333 #endif
43335 #undef $ac_func
43337 /* Override any gcc2 internal prototype to avoid an error. */
43338 #ifdef __cplusplus
43339 extern "C"
43341 #endif
43342 /* We use char because int might match the return type of a gcc2
43343 builtin and then its argument prototype would still apply. */
43344 char $ac_func ();
43345 /* The GNU C library defines this for functions which it implements
43346 to always fail with ENOSYS. Some functions are actually named
43347 something starting with __ and the normal name is an alias. */
43348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43349 choke me
43350 #else
43351 char (*f) () = $ac_func;
43352 #endif
43353 #ifdef __cplusplus
43355 #endif
43358 main ()
43360 return f != $ac_func;
43362 return 0;
43364 _ACEOF
43365 rm -f conftest.$ac_objext conftest$ac_exeext
43366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43367 (eval $ac_link) 2>conftest.er1
43368 ac_status=$?
43369 grep -v '^ *+' conftest.er1 >conftest.err
43370 rm -f conftest.er1
43371 cat conftest.err >&5
43372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43373 (exit $ac_status); } &&
43374 { ac_try='test -z "$ac_c_werror_flag"
43375 || test ! -s conftest.err'
43376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43377 (eval $ac_try) 2>&5
43378 ac_status=$?
43379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43380 (exit $ac_status); }; } &&
43381 { ac_try='test -s conftest$ac_exeext'
43382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43383 (eval $ac_try) 2>&5
43384 ac_status=$?
43385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43386 (exit $ac_status); }; }; then
43387 eval "$as_ac_var=yes"
43388 else
43389 echo "$as_me: failed program was:" >&5
43390 sed 's/^/| /' conftest.$ac_ext >&5
43392 eval "$as_ac_var=no"
43394 rm -f conftest.err conftest.$ac_objext \
43395 conftest$ac_exeext conftest.$ac_ext
43397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43399 if test `eval echo '${'$as_ac_var'}'` = yes; then
43400 cat >>confdefs.h <<_ACEOF
43401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43402 _ACEOF
43405 done
43407 else
43408 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
43409 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
43410 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
43411 echo $ECHO_N "(cached) $ECHO_C" >&6
43412 else
43416 ac_ext=cc
43417 ac_cpp='$CXXCPP $CPPFLAGS'
43418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43422 cat >conftest.$ac_ext <<_ACEOF
43423 /* confdefs.h. */
43424 _ACEOF
43425 cat confdefs.h >>conftest.$ac_ext
43426 cat >>conftest.$ac_ext <<_ACEOF
43427 /* end confdefs.h. */
43428 #include <math.h>
43430 main ()
43432 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43434 return 0;
43436 _ACEOF
43437 rm -f conftest.$ac_objext
43438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43439 (eval $ac_compile) 2>conftest.er1
43440 ac_status=$?
43441 grep -v '^ *+' conftest.er1 >conftest.err
43442 rm -f conftest.er1
43443 cat conftest.err >&5
43444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43445 (exit $ac_status); } &&
43446 { ac_try='test -z "$ac_cxx_werror_flag"
43447 || test ! -s conftest.err'
43448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43449 (eval $ac_try) 2>&5
43450 ac_status=$?
43451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43452 (exit $ac_status); }; } &&
43453 { ac_try='test -s conftest.$ac_objext'
43454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43455 (eval $ac_try) 2>&5
43456 ac_status=$?
43457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43458 (exit $ac_status); }; }; then
43459 glibcxx_cv_func__long_double_trig_use=yes
43460 else
43461 echo "$as_me: failed program was:" >&5
43462 sed 's/^/| /' conftest.$ac_ext >&5
43464 glibcxx_cv_func__long_double_trig_use=no
43466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43467 ac_ext=c
43468 ac_cpp='$CPP $CPPFLAGS'
43469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43475 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
43476 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
43477 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43487 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43490 echo "$as_me:$LINENO: checking for $ac_func" >&5
43491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43492 if eval "test \"\${$as_ac_var+set}\" = set"; then
43493 echo $ECHO_N "(cached) $ECHO_C" >&6
43494 else
43495 if test x$gcc_no_link = xyes; then
43496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43498 { (exit 1); exit 1; }; }
43500 cat >conftest.$ac_ext <<_ACEOF
43501 /* confdefs.h. */
43502 _ACEOF
43503 cat confdefs.h >>conftest.$ac_ext
43504 cat >>conftest.$ac_ext <<_ACEOF
43505 /* end confdefs.h. */
43506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43508 #define $ac_func innocuous_$ac_func
43510 /* System header to define __stub macros and hopefully few prototypes,
43511 which can conflict with char $ac_func (); below.
43512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43513 <limits.h> exists even on freestanding compilers. */
43515 #ifdef __STDC__
43516 # include <limits.h>
43517 #else
43518 # include <assert.h>
43519 #endif
43521 #undef $ac_func
43523 /* Override any gcc2 internal prototype to avoid an error. */
43524 #ifdef __cplusplus
43525 extern "C"
43527 #endif
43528 /* We use char because int might match the return type of a gcc2
43529 builtin and then its argument prototype would still apply. */
43530 char $ac_func ();
43531 /* The GNU C library defines this for functions which it implements
43532 to always fail with ENOSYS. Some functions are actually named
43533 something starting with __ and the normal name is an alias. */
43534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43535 choke me
43536 #else
43537 char (*f) () = $ac_func;
43538 #endif
43539 #ifdef __cplusplus
43541 #endif
43544 main ()
43546 return f != $ac_func;
43548 return 0;
43550 _ACEOF
43551 rm -f conftest.$ac_objext conftest$ac_exeext
43552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43553 (eval $ac_link) 2>conftest.er1
43554 ac_status=$?
43555 grep -v '^ *+' conftest.er1 >conftest.err
43556 rm -f conftest.er1
43557 cat conftest.err >&5
43558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43559 (exit $ac_status); } &&
43560 { ac_try='test -z "$ac_c_werror_flag"
43561 || test ! -s conftest.err'
43562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43563 (eval $ac_try) 2>&5
43564 ac_status=$?
43565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43566 (exit $ac_status); }; } &&
43567 { ac_try='test -s conftest$ac_exeext'
43568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43569 (eval $ac_try) 2>&5
43570 ac_status=$?
43571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43572 (exit $ac_status); }; }; then
43573 eval "$as_ac_var=yes"
43574 else
43575 echo "$as_me: failed program was:" >&5
43576 sed 's/^/| /' conftest.$ac_ext >&5
43578 eval "$as_ac_var=no"
43580 rm -f conftest.err conftest.$ac_objext \
43581 conftest$ac_exeext conftest.$ac_ext
43583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43585 if test `eval echo '${'$as_ac_var'}'` = yes; then
43586 cat >>confdefs.h <<_ACEOF
43587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43588 _ACEOF
43591 done
43609 echo "$as_me:$LINENO: checking for long double round functions" >&5
43610 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
43611 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
43612 echo $ECHO_N "(cached) $ECHO_C" >&6
43613 else
43617 ac_ext=cc
43618 ac_cpp='$CXXCPP $CPPFLAGS'
43619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43623 cat >conftest.$ac_ext <<_ACEOF
43624 /* confdefs.h. */
43625 _ACEOF
43626 cat confdefs.h >>conftest.$ac_ext
43627 cat >>conftest.$ac_ext <<_ACEOF
43628 /* end confdefs.h. */
43629 #include <math.h>
43631 main ()
43633 ceill (0); floorl (0);
43635 return 0;
43637 _ACEOF
43638 rm -f conftest.$ac_objext
43639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43640 (eval $ac_compile) 2>conftest.er1
43641 ac_status=$?
43642 grep -v '^ *+' conftest.er1 >conftest.err
43643 rm -f conftest.er1
43644 cat conftest.err >&5
43645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43646 (exit $ac_status); } &&
43647 { ac_try='test -z "$ac_cxx_werror_flag"
43648 || test ! -s conftest.err'
43649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43650 (eval $ac_try) 2>&5
43651 ac_status=$?
43652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43653 (exit $ac_status); }; } &&
43654 { ac_try='test -s conftest.$ac_objext'
43655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43656 (eval $ac_try) 2>&5
43657 ac_status=$?
43658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43659 (exit $ac_status); }; }; then
43660 glibcxx_cv_func_long_double_round_use=yes
43661 else
43662 echo "$as_me: failed program was:" >&5
43663 sed 's/^/| /' conftest.$ac_ext >&5
43665 glibcxx_cv_func_long_double_round_use=no
43667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43668 ac_ext=c
43669 ac_cpp='$CPP $CPPFLAGS'
43670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43676 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
43677 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
43678 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43681 for ac_func in ceill floorl
43683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43684 echo "$as_me:$LINENO: checking for $ac_func" >&5
43685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43686 if eval "test \"\${$as_ac_var+set}\" = set"; then
43687 echo $ECHO_N "(cached) $ECHO_C" >&6
43688 else
43689 if test x$gcc_no_link = xyes; then
43690 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43692 { (exit 1); exit 1; }; }
43694 cat >conftest.$ac_ext <<_ACEOF
43695 /* confdefs.h. */
43696 _ACEOF
43697 cat confdefs.h >>conftest.$ac_ext
43698 cat >>conftest.$ac_ext <<_ACEOF
43699 /* end confdefs.h. */
43700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43702 #define $ac_func innocuous_$ac_func
43704 /* System header to define __stub macros and hopefully few prototypes,
43705 which can conflict with char $ac_func (); below.
43706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43707 <limits.h> exists even on freestanding compilers. */
43709 #ifdef __STDC__
43710 # include <limits.h>
43711 #else
43712 # include <assert.h>
43713 #endif
43715 #undef $ac_func
43717 /* Override any gcc2 internal prototype to avoid an error. */
43718 #ifdef __cplusplus
43719 extern "C"
43721 #endif
43722 /* We use char because int might match the return type of a gcc2
43723 builtin and then its argument prototype would still apply. */
43724 char $ac_func ();
43725 /* The GNU C library defines this for functions which it implements
43726 to always fail with ENOSYS. Some functions are actually named
43727 something starting with __ and the normal name is an alias. */
43728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43729 choke me
43730 #else
43731 char (*f) () = $ac_func;
43732 #endif
43733 #ifdef __cplusplus
43735 #endif
43738 main ()
43740 return f != $ac_func;
43742 return 0;
43744 _ACEOF
43745 rm -f conftest.$ac_objext conftest$ac_exeext
43746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43747 (eval $ac_link) 2>conftest.er1
43748 ac_status=$?
43749 grep -v '^ *+' conftest.er1 >conftest.err
43750 rm -f conftest.er1
43751 cat conftest.err >&5
43752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43753 (exit $ac_status); } &&
43754 { ac_try='test -z "$ac_c_werror_flag"
43755 || test ! -s conftest.err'
43756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43757 (eval $ac_try) 2>&5
43758 ac_status=$?
43759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43760 (exit $ac_status); }; } &&
43761 { ac_try='test -s conftest$ac_exeext'
43762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43763 (eval $ac_try) 2>&5
43764 ac_status=$?
43765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43766 (exit $ac_status); }; }; then
43767 eval "$as_ac_var=yes"
43768 else
43769 echo "$as_me: failed program was:" >&5
43770 sed 's/^/| /' conftest.$ac_ext >&5
43772 eval "$as_ac_var=no"
43774 rm -f conftest.err conftest.$ac_objext \
43775 conftest$ac_exeext conftest.$ac_ext
43777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43778 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43779 if test `eval echo '${'$as_ac_var'}'` = yes; then
43780 cat >>confdefs.h <<_ACEOF
43781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43782 _ACEOF
43785 done
43787 else
43788 echo "$as_me:$LINENO: checking for _long double round functions" >&5
43789 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
43790 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
43791 echo $ECHO_N "(cached) $ECHO_C" >&6
43792 else
43796 ac_ext=cc
43797 ac_cpp='$CXXCPP $CPPFLAGS'
43798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43802 cat >conftest.$ac_ext <<_ACEOF
43803 /* confdefs.h. */
43804 _ACEOF
43805 cat confdefs.h >>conftest.$ac_ext
43806 cat >>conftest.$ac_ext <<_ACEOF
43807 /* end confdefs.h. */
43808 #include <math.h>
43810 main ()
43812 _ceill (0); _floorl (0);
43814 return 0;
43816 _ACEOF
43817 rm -f conftest.$ac_objext
43818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43819 (eval $ac_compile) 2>conftest.er1
43820 ac_status=$?
43821 grep -v '^ *+' conftest.er1 >conftest.err
43822 rm -f conftest.er1
43823 cat conftest.err >&5
43824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43825 (exit $ac_status); } &&
43826 { ac_try='test -z "$ac_cxx_werror_flag"
43827 || test ! -s conftest.err'
43828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43829 (eval $ac_try) 2>&5
43830 ac_status=$?
43831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43832 (exit $ac_status); }; } &&
43833 { ac_try='test -s conftest.$ac_objext'
43834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43835 (eval $ac_try) 2>&5
43836 ac_status=$?
43837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43838 (exit $ac_status); }; }; then
43839 glibcxx_cv_func__long_double_round_use=yes
43840 else
43841 echo "$as_me: failed program was:" >&5
43842 sed 's/^/| /' conftest.$ac_ext >&5
43844 glibcxx_cv_func__long_double_round_use=no
43846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43847 ac_ext=c
43848 ac_cpp='$CPP $CPPFLAGS'
43849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43855 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
43856 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
43857 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43860 for ac_func in _ceill _floorl
43862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43863 echo "$as_me:$LINENO: checking for $ac_func" >&5
43864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43865 if eval "test \"\${$as_ac_var+set}\" = set"; then
43866 echo $ECHO_N "(cached) $ECHO_C" >&6
43867 else
43868 if test x$gcc_no_link = xyes; then
43869 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43871 { (exit 1); exit 1; }; }
43873 cat >conftest.$ac_ext <<_ACEOF
43874 /* confdefs.h. */
43875 _ACEOF
43876 cat confdefs.h >>conftest.$ac_ext
43877 cat >>conftest.$ac_ext <<_ACEOF
43878 /* end confdefs.h. */
43879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43881 #define $ac_func innocuous_$ac_func
43883 /* System header to define __stub macros and hopefully few prototypes,
43884 which can conflict with char $ac_func (); below.
43885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43886 <limits.h> exists even on freestanding compilers. */
43888 #ifdef __STDC__
43889 # include <limits.h>
43890 #else
43891 # include <assert.h>
43892 #endif
43894 #undef $ac_func
43896 /* Override any gcc2 internal prototype to avoid an error. */
43897 #ifdef __cplusplus
43898 extern "C"
43900 #endif
43901 /* We use char because int might match the return type of a gcc2
43902 builtin and then its argument prototype would still apply. */
43903 char $ac_func ();
43904 /* The GNU C library defines this for functions which it implements
43905 to always fail with ENOSYS. Some functions are actually named
43906 something starting with __ and the normal name is an alias. */
43907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43908 choke me
43909 #else
43910 char (*f) () = $ac_func;
43911 #endif
43912 #ifdef __cplusplus
43914 #endif
43917 main ()
43919 return f != $ac_func;
43921 return 0;
43923 _ACEOF
43924 rm -f conftest.$ac_objext conftest$ac_exeext
43925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43926 (eval $ac_link) 2>conftest.er1
43927 ac_status=$?
43928 grep -v '^ *+' conftest.er1 >conftest.err
43929 rm -f conftest.er1
43930 cat conftest.err >&5
43931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43932 (exit $ac_status); } &&
43933 { ac_try='test -z "$ac_c_werror_flag"
43934 || test ! -s conftest.err'
43935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43936 (eval $ac_try) 2>&5
43937 ac_status=$?
43938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43939 (exit $ac_status); }; } &&
43940 { ac_try='test -s conftest$ac_exeext'
43941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43942 (eval $ac_try) 2>&5
43943 ac_status=$?
43944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43945 (exit $ac_status); }; }; then
43946 eval "$as_ac_var=yes"
43947 else
43948 echo "$as_me: failed program was:" >&5
43949 sed 's/^/| /' conftest.$ac_ext >&5
43951 eval "$as_ac_var=no"
43953 rm -f conftest.err conftest.$ac_objext \
43954 conftest$ac_exeext conftest.$ac_ext
43956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43958 if test `eval echo '${'$as_ac_var'}'` = yes; then
43959 cat >>confdefs.h <<_ACEOF
43960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43961 _ACEOF
43964 done
43976 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
43977 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
43978 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43979 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
43980 echo $ECHO_N "(cached) $ECHO_C" >&6
43981 else
43985 ac_ext=cc
43986 ac_cpp='$CXXCPP $CPPFLAGS'
43987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43991 cat >conftest.$ac_ext <<_ACEOF
43992 /* confdefs.h. */
43993 _ACEOF
43994 cat confdefs.h >>conftest.$ac_ext
43995 cat >>conftest.$ac_ext <<_ACEOF
43996 /* end confdefs.h. */
43997 #include <math.h>
43998 #ifdef HAVE_IEEEFP_H
43999 #include <ieeefp.h>
44000 #endif
44003 main ()
44005 isnanl(0);
44007 return 0;
44009 _ACEOF
44010 rm -f conftest.$ac_objext
44011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44012 (eval $ac_compile) 2>conftest.er1
44013 ac_status=$?
44014 grep -v '^ *+' conftest.er1 >conftest.err
44015 rm -f conftest.er1
44016 cat conftest.err >&5
44017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44018 (exit $ac_status); } &&
44019 { ac_try='test -z "$ac_cxx_werror_flag"
44020 || test ! -s conftest.err'
44021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44022 (eval $ac_try) 2>&5
44023 ac_status=$?
44024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44025 (exit $ac_status); }; } &&
44026 { ac_try='test -s conftest.$ac_objext'
44027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44028 (eval $ac_try) 2>&5
44029 ac_status=$?
44030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44031 (exit $ac_status); }; }; then
44032 glibcxx_cv_func_isnanl_use=yes
44033 else
44034 echo "$as_me: failed program was:" >&5
44035 sed 's/^/| /' conftest.$ac_ext >&5
44037 glibcxx_cv_func_isnanl_use=no
44039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44040 ac_ext=c
44041 ac_cpp='$CPP $CPPFLAGS'
44042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44050 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
44051 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
44053 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44055 for ac_func in isnanl
44057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44058 echo "$as_me:$LINENO: checking for $ac_func" >&5
44059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44060 if eval "test \"\${$as_ac_var+set}\" = set"; then
44061 echo $ECHO_N "(cached) $ECHO_C" >&6
44062 else
44063 if test x$gcc_no_link = xyes; then
44064 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44066 { (exit 1); exit 1; }; }
44068 cat >conftest.$ac_ext <<_ACEOF
44069 /* confdefs.h. */
44070 _ACEOF
44071 cat confdefs.h >>conftest.$ac_ext
44072 cat >>conftest.$ac_ext <<_ACEOF
44073 /* end confdefs.h. */
44074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44075 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44076 #define $ac_func innocuous_$ac_func
44078 /* System header to define __stub macros and hopefully few prototypes,
44079 which can conflict with char $ac_func (); below.
44080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44081 <limits.h> exists even on freestanding compilers. */
44083 #ifdef __STDC__
44084 # include <limits.h>
44085 #else
44086 # include <assert.h>
44087 #endif
44089 #undef $ac_func
44091 /* Override any gcc2 internal prototype to avoid an error. */
44092 #ifdef __cplusplus
44093 extern "C"
44095 #endif
44096 /* We use char because int might match the return type of a gcc2
44097 builtin and then its argument prototype would still apply. */
44098 char $ac_func ();
44099 /* The GNU C library defines this for functions which it implements
44100 to always fail with ENOSYS. Some functions are actually named
44101 something starting with __ and the normal name is an alias. */
44102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44103 choke me
44104 #else
44105 char (*f) () = $ac_func;
44106 #endif
44107 #ifdef __cplusplus
44109 #endif
44112 main ()
44114 return f != $ac_func;
44116 return 0;
44118 _ACEOF
44119 rm -f conftest.$ac_objext conftest$ac_exeext
44120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44121 (eval $ac_link) 2>conftest.er1
44122 ac_status=$?
44123 grep -v '^ *+' conftest.er1 >conftest.err
44124 rm -f conftest.er1
44125 cat conftest.err >&5
44126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44127 (exit $ac_status); } &&
44128 { ac_try='test -z "$ac_c_werror_flag"
44129 || test ! -s conftest.err'
44130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44131 (eval $ac_try) 2>&5
44132 ac_status=$?
44133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44134 (exit $ac_status); }; } &&
44135 { ac_try='test -s conftest$ac_exeext'
44136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44137 (eval $ac_try) 2>&5
44138 ac_status=$?
44139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44140 (exit $ac_status); }; }; then
44141 eval "$as_ac_var=yes"
44142 else
44143 echo "$as_me: failed program was:" >&5
44144 sed 's/^/| /' conftest.$ac_ext >&5
44146 eval "$as_ac_var=no"
44148 rm -f conftest.err conftest.$ac_objext \
44149 conftest$ac_exeext conftest.$ac_ext
44151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44152 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44153 if test `eval echo '${'$as_ac_var'}'` = yes; then
44154 cat >>confdefs.h <<_ACEOF
44155 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44156 _ACEOF
44159 done
44161 else
44163 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
44164 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
44165 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44166 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
44167 echo $ECHO_N "(cached) $ECHO_C" >&6
44168 else
44172 ac_ext=cc
44173 ac_cpp='$CXXCPP $CPPFLAGS'
44174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44178 cat >conftest.$ac_ext <<_ACEOF
44179 /* confdefs.h. */
44180 _ACEOF
44181 cat confdefs.h >>conftest.$ac_ext
44182 cat >>conftest.$ac_ext <<_ACEOF
44183 /* end confdefs.h. */
44184 #include <math.h>
44185 #ifdef HAVE_IEEEFP_H
44186 #include <ieeefp.h>
44187 #endif
44190 main ()
44192 _isnanl(0);
44194 return 0;
44196 _ACEOF
44197 rm -f conftest.$ac_objext
44198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44199 (eval $ac_compile) 2>conftest.er1
44200 ac_status=$?
44201 grep -v '^ *+' conftest.er1 >conftest.err
44202 rm -f conftest.er1
44203 cat conftest.err >&5
44204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44205 (exit $ac_status); } &&
44206 { ac_try='test -z "$ac_cxx_werror_flag"
44207 || test ! -s conftest.err'
44208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44209 (eval $ac_try) 2>&5
44210 ac_status=$?
44211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44212 (exit $ac_status); }; } &&
44213 { ac_try='test -s conftest.$ac_objext'
44214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44215 (eval $ac_try) 2>&5
44216 ac_status=$?
44217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44218 (exit $ac_status); }; }; then
44219 glibcxx_cv_func__isnanl_use=yes
44220 else
44221 echo "$as_me: failed program was:" >&5
44222 sed 's/^/| /' conftest.$ac_ext >&5
44224 glibcxx_cv_func__isnanl_use=no
44226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44227 ac_ext=c
44228 ac_cpp='$CPP $CPPFLAGS'
44229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44237 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
44238 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
44240 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
44242 for ac_func in _isnanl
44244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44245 echo "$as_me:$LINENO: checking for $ac_func" >&5
44246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44247 if eval "test \"\${$as_ac_var+set}\" = set"; then
44248 echo $ECHO_N "(cached) $ECHO_C" >&6
44249 else
44250 if test x$gcc_no_link = xyes; then
44251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44253 { (exit 1); exit 1; }; }
44255 cat >conftest.$ac_ext <<_ACEOF
44256 /* confdefs.h. */
44257 _ACEOF
44258 cat confdefs.h >>conftest.$ac_ext
44259 cat >>conftest.$ac_ext <<_ACEOF
44260 /* end confdefs.h. */
44261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44263 #define $ac_func innocuous_$ac_func
44265 /* System header to define __stub macros and hopefully few prototypes,
44266 which can conflict with char $ac_func (); below.
44267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44268 <limits.h> exists even on freestanding compilers. */
44270 #ifdef __STDC__
44271 # include <limits.h>
44272 #else
44273 # include <assert.h>
44274 #endif
44276 #undef $ac_func
44278 /* Override any gcc2 internal prototype to avoid an error. */
44279 #ifdef __cplusplus
44280 extern "C"
44282 #endif
44283 /* We use char because int might match the return type of a gcc2
44284 builtin and then its argument prototype would still apply. */
44285 char $ac_func ();
44286 /* The GNU C library defines this for functions which it implements
44287 to always fail with ENOSYS. Some functions are actually named
44288 something starting with __ and the normal name is an alias. */
44289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44290 choke me
44291 #else
44292 char (*f) () = $ac_func;
44293 #endif
44294 #ifdef __cplusplus
44296 #endif
44299 main ()
44301 return f != $ac_func;
44303 return 0;
44305 _ACEOF
44306 rm -f conftest.$ac_objext conftest$ac_exeext
44307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44308 (eval $ac_link) 2>conftest.er1
44309 ac_status=$?
44310 grep -v '^ *+' conftest.er1 >conftest.err
44311 rm -f conftest.er1
44312 cat conftest.err >&5
44313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44314 (exit $ac_status); } &&
44315 { ac_try='test -z "$ac_c_werror_flag"
44316 || test ! -s conftest.err'
44317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44318 (eval $ac_try) 2>&5
44319 ac_status=$?
44320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44321 (exit $ac_status); }; } &&
44322 { ac_try='test -s conftest$ac_exeext'
44323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44324 (eval $ac_try) 2>&5
44325 ac_status=$?
44326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44327 (exit $ac_status); }; }; then
44328 eval "$as_ac_var=yes"
44329 else
44330 echo "$as_me: failed program was:" >&5
44331 sed 's/^/| /' conftest.$ac_ext >&5
44333 eval "$as_ac_var=no"
44335 rm -f conftest.err conftest.$ac_objext \
44336 conftest$ac_exeext conftest.$ac_ext
44338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44340 if test `eval echo '${'$as_ac_var'}'` = yes; then
44341 cat >>confdefs.h <<_ACEOF
44342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44343 _ACEOF
44346 done
44356 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
44357 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
44358 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
44359 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
44360 echo $ECHO_N "(cached) $ECHO_C" >&6
44361 else
44365 ac_ext=cc
44366 ac_cpp='$CXXCPP $CPPFLAGS'
44367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44371 cat >conftest.$ac_ext <<_ACEOF
44372 /* confdefs.h. */
44373 _ACEOF
44374 cat confdefs.h >>conftest.$ac_ext
44375 cat >>conftest.$ac_ext <<_ACEOF
44376 /* end confdefs.h. */
44377 #include <math.h>
44378 #ifdef HAVE_IEEEFP_H
44379 #include <ieeefp.h>
44380 #endif
44383 main ()
44385 isinfl(0);
44387 return 0;
44389 _ACEOF
44390 rm -f conftest.$ac_objext
44391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44392 (eval $ac_compile) 2>conftest.er1
44393 ac_status=$?
44394 grep -v '^ *+' conftest.er1 >conftest.err
44395 rm -f conftest.er1
44396 cat conftest.err >&5
44397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44398 (exit $ac_status); } &&
44399 { ac_try='test -z "$ac_cxx_werror_flag"
44400 || test ! -s conftest.err'
44401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44402 (eval $ac_try) 2>&5
44403 ac_status=$?
44404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44405 (exit $ac_status); }; } &&
44406 { ac_try='test -s conftest.$ac_objext'
44407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44408 (eval $ac_try) 2>&5
44409 ac_status=$?
44410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44411 (exit $ac_status); }; }; then
44412 glibcxx_cv_func_isinfl_use=yes
44413 else
44414 echo "$as_me: failed program was:" >&5
44415 sed 's/^/| /' conftest.$ac_ext >&5
44417 glibcxx_cv_func_isinfl_use=no
44419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44420 ac_ext=c
44421 ac_cpp='$CPP $CPPFLAGS'
44422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44430 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
44431 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
44433 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
44435 for ac_func in isinfl
44437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44438 echo "$as_me:$LINENO: checking for $ac_func" >&5
44439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44440 if eval "test \"\${$as_ac_var+set}\" = set"; then
44441 echo $ECHO_N "(cached) $ECHO_C" >&6
44442 else
44443 if test x$gcc_no_link = xyes; then
44444 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44446 { (exit 1); exit 1; }; }
44448 cat >conftest.$ac_ext <<_ACEOF
44449 /* confdefs.h. */
44450 _ACEOF
44451 cat confdefs.h >>conftest.$ac_ext
44452 cat >>conftest.$ac_ext <<_ACEOF
44453 /* end confdefs.h. */
44454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44456 #define $ac_func innocuous_$ac_func
44458 /* System header to define __stub macros and hopefully few prototypes,
44459 which can conflict with char $ac_func (); below.
44460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44461 <limits.h> exists even on freestanding compilers. */
44463 #ifdef __STDC__
44464 # include <limits.h>
44465 #else
44466 # include <assert.h>
44467 #endif
44469 #undef $ac_func
44471 /* Override any gcc2 internal prototype to avoid an error. */
44472 #ifdef __cplusplus
44473 extern "C"
44475 #endif
44476 /* We use char because int might match the return type of a gcc2
44477 builtin and then its argument prototype would still apply. */
44478 char $ac_func ();
44479 /* The GNU C library defines this for functions which it implements
44480 to always fail with ENOSYS. Some functions are actually named
44481 something starting with __ and the normal name is an alias. */
44482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44483 choke me
44484 #else
44485 char (*f) () = $ac_func;
44486 #endif
44487 #ifdef __cplusplus
44489 #endif
44492 main ()
44494 return f != $ac_func;
44496 return 0;
44498 _ACEOF
44499 rm -f conftest.$ac_objext conftest$ac_exeext
44500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44501 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
44522 else
44523 echo "$as_me: failed program was:" >&5
44524 sed 's/^/| /' conftest.$ac_ext >&5
44526 eval "$as_ac_var=no"
44528 rm -f conftest.err conftest.$ac_objext \
44529 conftest$ac_exeext conftest.$ac_ext
44531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44533 if test `eval echo '${'$as_ac_var'}'` = yes; then
44534 cat >>confdefs.h <<_ACEOF
44535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44536 _ACEOF
44539 done
44541 else
44543 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
44544 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
44545 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
44546 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
44547 echo $ECHO_N "(cached) $ECHO_C" >&6
44548 else
44552 ac_ext=cc
44553 ac_cpp='$CXXCPP $CPPFLAGS'
44554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44558 cat >conftest.$ac_ext <<_ACEOF
44559 /* confdefs.h. */
44560 _ACEOF
44561 cat confdefs.h >>conftest.$ac_ext
44562 cat >>conftest.$ac_ext <<_ACEOF
44563 /* end confdefs.h. */
44564 #include <math.h>
44565 #ifdef HAVE_IEEEFP_H
44566 #include <ieeefp.h>
44567 #endif
44570 main ()
44572 _isinfl(0);
44574 return 0;
44576 _ACEOF
44577 rm -f conftest.$ac_objext
44578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44579 (eval $ac_compile) 2>conftest.er1
44580 ac_status=$?
44581 grep -v '^ *+' conftest.er1 >conftest.err
44582 rm -f conftest.er1
44583 cat conftest.err >&5
44584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44585 (exit $ac_status); } &&
44586 { ac_try='test -z "$ac_cxx_werror_flag"
44587 || test ! -s conftest.err'
44588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44589 (eval $ac_try) 2>&5
44590 ac_status=$?
44591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44592 (exit $ac_status); }; } &&
44593 { ac_try='test -s conftest.$ac_objext'
44594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44595 (eval $ac_try) 2>&5
44596 ac_status=$?
44597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44598 (exit $ac_status); }; }; then
44599 glibcxx_cv_func__isinfl_use=yes
44600 else
44601 echo "$as_me: failed program was:" >&5
44602 sed 's/^/| /' conftest.$ac_ext >&5
44604 glibcxx_cv_func__isinfl_use=no
44606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44607 ac_ext=c
44608 ac_cpp='$CPP $CPPFLAGS'
44609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44617 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
44618 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
44620 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
44622 for ac_func in _isinfl
44624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44625 echo "$as_me:$LINENO: checking for $ac_func" >&5
44626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44627 if eval "test \"\${$as_ac_var+set}\" = set"; then
44628 echo $ECHO_N "(cached) $ECHO_C" >&6
44629 else
44630 if test x$gcc_no_link = xyes; then
44631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44633 { (exit 1); exit 1; }; }
44635 cat >conftest.$ac_ext <<_ACEOF
44636 /* confdefs.h. */
44637 _ACEOF
44638 cat confdefs.h >>conftest.$ac_ext
44639 cat >>conftest.$ac_ext <<_ACEOF
44640 /* end confdefs.h. */
44641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44643 #define $ac_func innocuous_$ac_func
44645 /* System header to define __stub macros and hopefully few prototypes,
44646 which can conflict with char $ac_func (); below.
44647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44648 <limits.h> exists even on freestanding compilers. */
44650 #ifdef __STDC__
44651 # include <limits.h>
44652 #else
44653 # include <assert.h>
44654 #endif
44656 #undef $ac_func
44658 /* Override any gcc2 internal prototype to avoid an error. */
44659 #ifdef __cplusplus
44660 extern "C"
44662 #endif
44663 /* We use char because int might match the return type of a gcc2
44664 builtin and then its argument prototype would still apply. */
44665 char $ac_func ();
44666 /* The GNU C library defines this for functions which it implements
44667 to always fail with ENOSYS. Some functions are actually named
44668 something starting with __ and the normal name is an alias. */
44669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44670 choke me
44671 #else
44672 char (*f) () = $ac_func;
44673 #endif
44674 #ifdef __cplusplus
44676 #endif
44679 main ()
44681 return f != $ac_func;
44683 return 0;
44685 _ACEOF
44686 rm -f conftest.$ac_objext conftest$ac_exeext
44687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44688 (eval $ac_link) 2>conftest.er1
44689 ac_status=$?
44690 grep -v '^ *+' conftest.er1 >conftest.err
44691 rm -f conftest.er1
44692 cat conftest.err >&5
44693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44694 (exit $ac_status); } &&
44695 { ac_try='test -z "$ac_c_werror_flag"
44696 || test ! -s conftest.err'
44697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44698 (eval $ac_try) 2>&5
44699 ac_status=$?
44700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44701 (exit $ac_status); }; } &&
44702 { ac_try='test -s conftest$ac_exeext'
44703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44704 (eval $ac_try) 2>&5
44705 ac_status=$?
44706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44707 (exit $ac_status); }; }; then
44708 eval "$as_ac_var=yes"
44709 else
44710 echo "$as_me: failed program was:" >&5
44711 sed 's/^/| /' conftest.$ac_ext >&5
44713 eval "$as_ac_var=no"
44715 rm -f conftest.err conftest.$ac_objext \
44716 conftest$ac_exeext conftest.$ac_ext
44718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44720 if test `eval echo '${'$as_ac_var'}'` = yes; then
44721 cat >>confdefs.h <<_ACEOF
44722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44723 _ACEOF
44726 done
44736 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
44737 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
44738 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
44739 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
44740 echo $ECHO_N "(cached) $ECHO_C" >&6
44741 else
44745 ac_ext=cc
44746 ac_cpp='$CXXCPP $CPPFLAGS'
44747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44751 cat >conftest.$ac_ext <<_ACEOF
44752 /* confdefs.h. */
44753 _ACEOF
44754 cat confdefs.h >>conftest.$ac_ext
44755 cat >>conftest.$ac_ext <<_ACEOF
44756 /* end confdefs.h. */
44757 #include <math.h>
44759 main ()
44761 copysignl(0, 0);
44763 return 0;
44765 _ACEOF
44766 rm -f conftest.$ac_objext
44767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44768 (eval $ac_compile) 2>conftest.er1
44769 ac_status=$?
44770 grep -v '^ *+' conftest.er1 >conftest.err
44771 rm -f conftest.er1
44772 cat conftest.err >&5
44773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44774 (exit $ac_status); } &&
44775 { ac_try='test -z "$ac_cxx_werror_flag"
44776 || test ! -s conftest.err'
44777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44778 (eval $ac_try) 2>&5
44779 ac_status=$?
44780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44781 (exit $ac_status); }; } &&
44782 { ac_try='test -s conftest.$ac_objext'
44783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44784 (eval $ac_try) 2>&5
44785 ac_status=$?
44786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44787 (exit $ac_status); }; }; then
44788 glibcxx_cv_func_copysignl_use=yes
44789 else
44790 echo "$as_me: failed program was:" >&5
44791 sed 's/^/| /' conftest.$ac_ext >&5
44793 glibcxx_cv_func_copysignl_use=no
44795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44796 ac_ext=c
44797 ac_cpp='$CPP $CPPFLAGS'
44798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44806 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
44807 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
44809 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
44811 for ac_func in copysignl
44813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44814 echo "$as_me:$LINENO: checking for $ac_func" >&5
44815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44816 if eval "test \"\${$as_ac_var+set}\" = set"; then
44817 echo $ECHO_N "(cached) $ECHO_C" >&6
44818 else
44819 if test x$gcc_no_link = xyes; then
44820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44822 { (exit 1); exit 1; }; }
44824 cat >conftest.$ac_ext <<_ACEOF
44825 /* confdefs.h. */
44826 _ACEOF
44827 cat confdefs.h >>conftest.$ac_ext
44828 cat >>conftest.$ac_ext <<_ACEOF
44829 /* end confdefs.h. */
44830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44832 #define $ac_func innocuous_$ac_func
44834 /* System header to define __stub macros and hopefully few prototypes,
44835 which can conflict with char $ac_func (); below.
44836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44837 <limits.h> exists even on freestanding compilers. */
44839 #ifdef __STDC__
44840 # include <limits.h>
44841 #else
44842 # include <assert.h>
44843 #endif
44845 #undef $ac_func
44847 /* Override any gcc2 internal prototype to avoid an error. */
44848 #ifdef __cplusplus
44849 extern "C"
44851 #endif
44852 /* We use char because int might match the return type of a gcc2
44853 builtin and then its argument prototype would still apply. */
44854 char $ac_func ();
44855 /* The GNU C library defines this for functions which it implements
44856 to always fail with ENOSYS. Some functions are actually named
44857 something starting with __ and the normal name is an alias. */
44858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44859 choke me
44860 #else
44861 char (*f) () = $ac_func;
44862 #endif
44863 #ifdef __cplusplus
44865 #endif
44868 main ()
44870 return f != $ac_func;
44872 return 0;
44874 _ACEOF
44875 rm -f conftest.$ac_objext conftest$ac_exeext
44876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44877 (eval $ac_link) 2>conftest.er1
44878 ac_status=$?
44879 grep -v '^ *+' conftest.er1 >conftest.err
44880 rm -f conftest.er1
44881 cat conftest.err >&5
44882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44883 (exit $ac_status); } &&
44884 { ac_try='test -z "$ac_c_werror_flag"
44885 || test ! -s conftest.err'
44886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44887 (eval $ac_try) 2>&5
44888 ac_status=$?
44889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44890 (exit $ac_status); }; } &&
44891 { ac_try='test -s conftest$ac_exeext'
44892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44893 (eval $ac_try) 2>&5
44894 ac_status=$?
44895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44896 (exit $ac_status); }; }; then
44897 eval "$as_ac_var=yes"
44898 else
44899 echo "$as_me: failed program was:" >&5
44900 sed 's/^/| /' conftest.$ac_ext >&5
44902 eval "$as_ac_var=no"
44904 rm -f conftest.err conftest.$ac_objext \
44905 conftest$ac_exeext conftest.$ac_ext
44907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44909 if test `eval echo '${'$as_ac_var'}'` = yes; then
44910 cat >>confdefs.h <<_ACEOF
44911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44912 _ACEOF
44915 done
44917 else
44919 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
44920 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
44921 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
44922 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
44923 echo $ECHO_N "(cached) $ECHO_C" >&6
44924 else
44928 ac_ext=cc
44929 ac_cpp='$CXXCPP $CPPFLAGS'
44930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44934 cat >conftest.$ac_ext <<_ACEOF
44935 /* confdefs.h. */
44936 _ACEOF
44937 cat confdefs.h >>conftest.$ac_ext
44938 cat >>conftest.$ac_ext <<_ACEOF
44939 /* end confdefs.h. */
44940 #include <math.h>
44942 main ()
44944 _copysignl(0, 0);
44946 return 0;
44948 _ACEOF
44949 rm -f conftest.$ac_objext
44950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44951 (eval $ac_compile) 2>conftest.er1
44952 ac_status=$?
44953 grep -v '^ *+' conftest.er1 >conftest.err
44954 rm -f conftest.er1
44955 cat conftest.err >&5
44956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44957 (exit $ac_status); } &&
44958 { ac_try='test -z "$ac_cxx_werror_flag"
44959 || test ! -s conftest.err'
44960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44961 (eval $ac_try) 2>&5
44962 ac_status=$?
44963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44964 (exit $ac_status); }; } &&
44965 { ac_try='test -s conftest.$ac_objext'
44966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44967 (eval $ac_try) 2>&5
44968 ac_status=$?
44969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44970 (exit $ac_status); }; }; then
44971 glibcxx_cv_func__copysignl_use=yes
44972 else
44973 echo "$as_me: failed program was:" >&5
44974 sed 's/^/| /' conftest.$ac_ext >&5
44976 glibcxx_cv_func__copysignl_use=no
44978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44979 ac_ext=c
44980 ac_cpp='$CPP $CPPFLAGS'
44981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44989 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
44990 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
44992 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
44994 for ac_func in _copysignl
44996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44997 echo "$as_me:$LINENO: checking for $ac_func" >&5
44998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44999 if eval "test \"\${$as_ac_var+set}\" = set"; then
45000 echo $ECHO_N "(cached) $ECHO_C" >&6
45001 else
45002 if test x$gcc_no_link = xyes; then
45003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45005 { (exit 1); exit 1; }; }
45007 cat >conftest.$ac_ext <<_ACEOF
45008 /* confdefs.h. */
45009 _ACEOF
45010 cat confdefs.h >>conftest.$ac_ext
45011 cat >>conftest.$ac_ext <<_ACEOF
45012 /* end confdefs.h. */
45013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45015 #define $ac_func innocuous_$ac_func
45017 /* System header to define __stub macros and hopefully few prototypes,
45018 which can conflict with char $ac_func (); below.
45019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45020 <limits.h> exists even on freestanding compilers. */
45022 #ifdef __STDC__
45023 # include <limits.h>
45024 #else
45025 # include <assert.h>
45026 #endif
45028 #undef $ac_func
45030 /* Override any gcc2 internal prototype to avoid an error. */
45031 #ifdef __cplusplus
45032 extern "C"
45034 #endif
45035 /* We use char because int might match the return type of a gcc2
45036 builtin and then its argument prototype would still apply. */
45037 char $ac_func ();
45038 /* The GNU C library defines this for functions which it implements
45039 to always fail with ENOSYS. Some functions are actually named
45040 something starting with __ and the normal name is an alias. */
45041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45042 choke me
45043 #else
45044 char (*f) () = $ac_func;
45045 #endif
45046 #ifdef __cplusplus
45048 #endif
45051 main ()
45053 return f != $ac_func;
45055 return 0;
45057 _ACEOF
45058 rm -f conftest.$ac_objext conftest$ac_exeext
45059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45060 (eval $ac_link) 2>conftest.er1
45061 ac_status=$?
45062 grep -v '^ *+' conftest.er1 >conftest.err
45063 rm -f conftest.er1
45064 cat conftest.err >&5
45065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45066 (exit $ac_status); } &&
45067 { ac_try='test -z "$ac_c_werror_flag"
45068 || test ! -s conftest.err'
45069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45070 (eval $ac_try) 2>&5
45071 ac_status=$?
45072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45073 (exit $ac_status); }; } &&
45074 { ac_try='test -s conftest$ac_exeext'
45075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45076 (eval $ac_try) 2>&5
45077 ac_status=$?
45078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45079 (exit $ac_status); }; }; then
45080 eval "$as_ac_var=yes"
45081 else
45082 echo "$as_me: failed program was:" >&5
45083 sed 's/^/| /' conftest.$ac_ext >&5
45085 eval "$as_ac_var=no"
45087 rm -f conftest.err conftest.$ac_objext \
45088 conftest$ac_exeext conftest.$ac_ext
45090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45092 if test `eval echo '${'$as_ac_var'}'` = yes; then
45093 cat >>confdefs.h <<_ACEOF
45094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45095 _ACEOF
45098 done
45108 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
45109 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
45110 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45111 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
45112 echo $ECHO_N "(cached) $ECHO_C" >&6
45113 else
45117 ac_ext=cc
45118 ac_cpp='$CXXCPP $CPPFLAGS'
45119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45123 cat >conftest.$ac_ext <<_ACEOF
45124 /* confdefs.h. */
45125 _ACEOF
45126 cat confdefs.h >>conftest.$ac_ext
45127 cat >>conftest.$ac_ext <<_ACEOF
45128 /* end confdefs.h. */
45129 #include <math.h>
45131 main ()
45133 atan2l(0, 0);
45135 return 0;
45137 _ACEOF
45138 rm -f conftest.$ac_objext
45139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45140 (eval $ac_compile) 2>conftest.er1
45141 ac_status=$?
45142 grep -v '^ *+' conftest.er1 >conftest.err
45143 rm -f conftest.er1
45144 cat conftest.err >&5
45145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45146 (exit $ac_status); } &&
45147 { ac_try='test -z "$ac_cxx_werror_flag"
45148 || test ! -s conftest.err'
45149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45150 (eval $ac_try) 2>&5
45151 ac_status=$?
45152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45153 (exit $ac_status); }; } &&
45154 { ac_try='test -s conftest.$ac_objext'
45155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45156 (eval $ac_try) 2>&5
45157 ac_status=$?
45158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45159 (exit $ac_status); }; }; then
45160 glibcxx_cv_func_atan2l_use=yes
45161 else
45162 echo "$as_me: failed program was:" >&5
45163 sed 's/^/| /' conftest.$ac_ext >&5
45165 glibcxx_cv_func_atan2l_use=no
45167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45168 ac_ext=c
45169 ac_cpp='$CPP $CPPFLAGS'
45170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45178 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
45179 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
45181 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45183 for ac_func in atan2l
45185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45186 echo "$as_me:$LINENO: checking for $ac_func" >&5
45187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45188 if eval "test \"\${$as_ac_var+set}\" = set"; then
45189 echo $ECHO_N "(cached) $ECHO_C" >&6
45190 else
45191 if test x$gcc_no_link = xyes; then
45192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45194 { (exit 1); exit 1; }; }
45196 cat >conftest.$ac_ext <<_ACEOF
45197 /* confdefs.h. */
45198 _ACEOF
45199 cat confdefs.h >>conftest.$ac_ext
45200 cat >>conftest.$ac_ext <<_ACEOF
45201 /* end confdefs.h. */
45202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45204 #define $ac_func innocuous_$ac_func
45206 /* System header to define __stub macros and hopefully few prototypes,
45207 which can conflict with char $ac_func (); below.
45208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45209 <limits.h> exists even on freestanding compilers. */
45211 #ifdef __STDC__
45212 # include <limits.h>
45213 #else
45214 # include <assert.h>
45215 #endif
45217 #undef $ac_func
45219 /* Override any gcc2 internal prototype to avoid an error. */
45220 #ifdef __cplusplus
45221 extern "C"
45223 #endif
45224 /* We use char because int might match the return type of a gcc2
45225 builtin and then its argument prototype would still apply. */
45226 char $ac_func ();
45227 /* The GNU C library defines this for functions which it implements
45228 to always fail with ENOSYS. Some functions are actually named
45229 something starting with __ and the normal name is an alias. */
45230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45231 choke me
45232 #else
45233 char (*f) () = $ac_func;
45234 #endif
45235 #ifdef __cplusplus
45237 #endif
45240 main ()
45242 return f != $ac_func;
45244 return 0;
45246 _ACEOF
45247 rm -f conftest.$ac_objext conftest$ac_exeext
45248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45249 (eval $ac_link) 2>conftest.er1
45250 ac_status=$?
45251 grep -v '^ *+' conftest.er1 >conftest.err
45252 rm -f conftest.er1
45253 cat conftest.err >&5
45254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45255 (exit $ac_status); } &&
45256 { ac_try='test -z "$ac_c_werror_flag"
45257 || test ! -s conftest.err'
45258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45259 (eval $ac_try) 2>&5
45260 ac_status=$?
45261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45262 (exit $ac_status); }; } &&
45263 { ac_try='test -s conftest$ac_exeext'
45264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45265 (eval $ac_try) 2>&5
45266 ac_status=$?
45267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45268 (exit $ac_status); }; }; then
45269 eval "$as_ac_var=yes"
45270 else
45271 echo "$as_me: failed program was:" >&5
45272 sed 's/^/| /' conftest.$ac_ext >&5
45274 eval "$as_ac_var=no"
45276 rm -f conftest.err conftest.$ac_objext \
45277 conftest$ac_exeext conftest.$ac_ext
45279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45281 if test `eval echo '${'$as_ac_var'}'` = yes; then
45282 cat >>confdefs.h <<_ACEOF
45283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45284 _ACEOF
45287 done
45289 else
45291 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
45292 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
45293 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45294 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
45295 echo $ECHO_N "(cached) $ECHO_C" >&6
45296 else
45300 ac_ext=cc
45301 ac_cpp='$CXXCPP $CPPFLAGS'
45302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45306 cat >conftest.$ac_ext <<_ACEOF
45307 /* confdefs.h. */
45308 _ACEOF
45309 cat confdefs.h >>conftest.$ac_ext
45310 cat >>conftest.$ac_ext <<_ACEOF
45311 /* end confdefs.h. */
45312 #include <math.h>
45314 main ()
45316 _atan2l(0, 0);
45318 return 0;
45320 _ACEOF
45321 rm -f conftest.$ac_objext
45322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45323 (eval $ac_compile) 2>conftest.er1
45324 ac_status=$?
45325 grep -v '^ *+' conftest.er1 >conftest.err
45326 rm -f conftest.er1
45327 cat conftest.err >&5
45328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45329 (exit $ac_status); } &&
45330 { ac_try='test -z "$ac_cxx_werror_flag"
45331 || test ! -s conftest.err'
45332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45333 (eval $ac_try) 2>&5
45334 ac_status=$?
45335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45336 (exit $ac_status); }; } &&
45337 { ac_try='test -s conftest.$ac_objext'
45338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45339 (eval $ac_try) 2>&5
45340 ac_status=$?
45341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45342 (exit $ac_status); }; }; then
45343 glibcxx_cv_func__atan2l_use=yes
45344 else
45345 echo "$as_me: failed program was:" >&5
45346 sed 's/^/| /' conftest.$ac_ext >&5
45348 glibcxx_cv_func__atan2l_use=no
45350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45351 ac_ext=c
45352 ac_cpp='$CPP $CPPFLAGS'
45353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45361 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
45362 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
45364 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45366 for ac_func in _atan2l
45368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45369 echo "$as_me:$LINENO: checking for $ac_func" >&5
45370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45371 if eval "test \"\${$as_ac_var+set}\" = set"; then
45372 echo $ECHO_N "(cached) $ECHO_C" >&6
45373 else
45374 if test x$gcc_no_link = xyes; then
45375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45377 { (exit 1); exit 1; }; }
45379 cat >conftest.$ac_ext <<_ACEOF
45380 /* confdefs.h. */
45381 _ACEOF
45382 cat confdefs.h >>conftest.$ac_ext
45383 cat >>conftest.$ac_ext <<_ACEOF
45384 /* end confdefs.h. */
45385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45387 #define $ac_func innocuous_$ac_func
45389 /* System header to define __stub macros and hopefully few prototypes,
45390 which can conflict with char $ac_func (); below.
45391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45392 <limits.h> exists even on freestanding compilers. */
45394 #ifdef __STDC__
45395 # include <limits.h>
45396 #else
45397 # include <assert.h>
45398 #endif
45400 #undef $ac_func
45402 /* Override any gcc2 internal prototype to avoid an error. */
45403 #ifdef __cplusplus
45404 extern "C"
45406 #endif
45407 /* We use char because int might match the return type of a gcc2
45408 builtin and then its argument prototype would still apply. */
45409 char $ac_func ();
45410 /* The GNU C library defines this for functions which it implements
45411 to always fail with ENOSYS. Some functions are actually named
45412 something starting with __ and the normal name is an alias. */
45413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45414 choke me
45415 #else
45416 char (*f) () = $ac_func;
45417 #endif
45418 #ifdef __cplusplus
45420 #endif
45423 main ()
45425 return f != $ac_func;
45427 return 0;
45429 _ACEOF
45430 rm -f conftest.$ac_objext conftest$ac_exeext
45431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45432 (eval $ac_link) 2>conftest.er1
45433 ac_status=$?
45434 grep -v '^ *+' conftest.er1 >conftest.err
45435 rm -f conftest.er1
45436 cat conftest.err >&5
45437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45438 (exit $ac_status); } &&
45439 { ac_try='test -z "$ac_c_werror_flag"
45440 || test ! -s conftest.err'
45441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45442 (eval $ac_try) 2>&5
45443 ac_status=$?
45444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45445 (exit $ac_status); }; } &&
45446 { ac_try='test -s conftest$ac_exeext'
45447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45448 (eval $ac_try) 2>&5
45449 ac_status=$?
45450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45451 (exit $ac_status); }; }; then
45452 eval "$as_ac_var=yes"
45453 else
45454 echo "$as_me: failed program was:" >&5
45455 sed 's/^/| /' conftest.$ac_ext >&5
45457 eval "$as_ac_var=no"
45459 rm -f conftest.err conftest.$ac_objext \
45460 conftest$ac_exeext conftest.$ac_ext
45462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45464 if test `eval echo '${'$as_ac_var'}'` = yes; then
45465 cat >>confdefs.h <<_ACEOF
45466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45467 _ACEOF
45470 done
45480 echo "$as_me:$LINENO: checking for expl declaration" >&5
45481 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
45482 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45483 if test "${glibcxx_cv_func_expl_use+set}" = set; then
45484 echo $ECHO_N "(cached) $ECHO_C" >&6
45485 else
45489 ac_ext=cc
45490 ac_cpp='$CXXCPP $CPPFLAGS'
45491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45495 cat >conftest.$ac_ext <<_ACEOF
45496 /* confdefs.h. */
45497 _ACEOF
45498 cat confdefs.h >>conftest.$ac_ext
45499 cat >>conftest.$ac_ext <<_ACEOF
45500 /* end confdefs.h. */
45501 #include <math.h>
45502 #ifdef HAVE_IEEEFP_H
45503 #include <ieeefp.h>
45504 #endif
45507 main ()
45509 expl(0);
45511 return 0;
45513 _ACEOF
45514 rm -f conftest.$ac_objext
45515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45516 (eval $ac_compile) 2>conftest.er1
45517 ac_status=$?
45518 grep -v '^ *+' conftest.er1 >conftest.err
45519 rm -f conftest.er1
45520 cat conftest.err >&5
45521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45522 (exit $ac_status); } &&
45523 { ac_try='test -z "$ac_cxx_werror_flag"
45524 || test ! -s conftest.err'
45525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45526 (eval $ac_try) 2>&5
45527 ac_status=$?
45528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45529 (exit $ac_status); }; } &&
45530 { ac_try='test -s conftest.$ac_objext'
45531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45532 (eval $ac_try) 2>&5
45533 ac_status=$?
45534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45535 (exit $ac_status); }; }; then
45536 glibcxx_cv_func_expl_use=yes
45537 else
45538 echo "$as_me: failed program was:" >&5
45539 sed 's/^/| /' conftest.$ac_ext >&5
45541 glibcxx_cv_func_expl_use=no
45543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45544 ac_ext=c
45545 ac_cpp='$CPP $CPPFLAGS'
45546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45554 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
45555 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
45557 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45559 for ac_func in expl
45561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45562 echo "$as_me:$LINENO: checking for $ac_func" >&5
45563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45564 if eval "test \"\${$as_ac_var+set}\" = set"; then
45565 echo $ECHO_N "(cached) $ECHO_C" >&6
45566 else
45567 if test x$gcc_no_link = xyes; then
45568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45570 { (exit 1); exit 1; }; }
45572 cat >conftest.$ac_ext <<_ACEOF
45573 /* confdefs.h. */
45574 _ACEOF
45575 cat confdefs.h >>conftest.$ac_ext
45576 cat >>conftest.$ac_ext <<_ACEOF
45577 /* end confdefs.h. */
45578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45580 #define $ac_func innocuous_$ac_func
45582 /* System header to define __stub macros and hopefully few prototypes,
45583 which can conflict with char $ac_func (); below.
45584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45585 <limits.h> exists even on freestanding compilers. */
45587 #ifdef __STDC__
45588 # include <limits.h>
45589 #else
45590 # include <assert.h>
45591 #endif
45593 #undef $ac_func
45595 /* Override any gcc2 internal prototype to avoid an error. */
45596 #ifdef __cplusplus
45597 extern "C"
45599 #endif
45600 /* We use char because int might match the return type of a gcc2
45601 builtin and then its argument prototype would still apply. */
45602 char $ac_func ();
45603 /* The GNU C library defines this for functions which it implements
45604 to always fail with ENOSYS. Some functions are actually named
45605 something starting with __ and the normal name is an alias. */
45606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45607 choke me
45608 #else
45609 char (*f) () = $ac_func;
45610 #endif
45611 #ifdef __cplusplus
45613 #endif
45616 main ()
45618 return f != $ac_func;
45620 return 0;
45622 _ACEOF
45623 rm -f conftest.$ac_objext conftest$ac_exeext
45624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45625 (eval $ac_link) 2>conftest.er1
45626 ac_status=$?
45627 grep -v '^ *+' conftest.er1 >conftest.err
45628 rm -f conftest.er1
45629 cat conftest.err >&5
45630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45631 (exit $ac_status); } &&
45632 { ac_try='test -z "$ac_c_werror_flag"
45633 || test ! -s conftest.err'
45634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45635 (eval $ac_try) 2>&5
45636 ac_status=$?
45637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45638 (exit $ac_status); }; } &&
45639 { ac_try='test -s conftest$ac_exeext'
45640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45641 (eval $ac_try) 2>&5
45642 ac_status=$?
45643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45644 (exit $ac_status); }; }; then
45645 eval "$as_ac_var=yes"
45646 else
45647 echo "$as_me: failed program was:" >&5
45648 sed 's/^/| /' conftest.$ac_ext >&5
45650 eval "$as_ac_var=no"
45652 rm -f conftest.err conftest.$ac_objext \
45653 conftest$ac_exeext conftest.$ac_ext
45655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45657 if test `eval echo '${'$as_ac_var'}'` = yes; then
45658 cat >>confdefs.h <<_ACEOF
45659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45660 _ACEOF
45663 done
45665 else
45667 echo "$as_me:$LINENO: checking for _expl declaration" >&5
45668 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
45669 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45670 if test "${glibcxx_cv_func__expl_use+set}" = set; then
45671 echo $ECHO_N "(cached) $ECHO_C" >&6
45672 else
45676 ac_ext=cc
45677 ac_cpp='$CXXCPP $CPPFLAGS'
45678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45682 cat >conftest.$ac_ext <<_ACEOF
45683 /* confdefs.h. */
45684 _ACEOF
45685 cat confdefs.h >>conftest.$ac_ext
45686 cat >>conftest.$ac_ext <<_ACEOF
45687 /* end confdefs.h. */
45688 #include <math.h>
45689 #ifdef HAVE_IEEEFP_H
45690 #include <ieeefp.h>
45691 #endif
45694 main ()
45696 _expl(0);
45698 return 0;
45700 _ACEOF
45701 rm -f conftest.$ac_objext
45702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45703 (eval $ac_compile) 2>conftest.er1
45704 ac_status=$?
45705 grep -v '^ *+' conftest.er1 >conftest.err
45706 rm -f conftest.er1
45707 cat conftest.err >&5
45708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45709 (exit $ac_status); } &&
45710 { ac_try='test -z "$ac_cxx_werror_flag"
45711 || test ! -s conftest.err'
45712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45713 (eval $ac_try) 2>&5
45714 ac_status=$?
45715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45716 (exit $ac_status); }; } &&
45717 { ac_try='test -s conftest.$ac_objext'
45718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45719 (eval $ac_try) 2>&5
45720 ac_status=$?
45721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45722 (exit $ac_status); }; }; then
45723 glibcxx_cv_func__expl_use=yes
45724 else
45725 echo "$as_me: failed program was:" >&5
45726 sed 's/^/| /' conftest.$ac_ext >&5
45728 glibcxx_cv_func__expl_use=no
45730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45731 ac_ext=c
45732 ac_cpp='$CPP $CPPFLAGS'
45733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45741 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
45742 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
45744 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45746 for ac_func in _expl
45748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45749 echo "$as_me:$LINENO: checking for $ac_func" >&5
45750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45751 if eval "test \"\${$as_ac_var+set}\" = set"; then
45752 echo $ECHO_N "(cached) $ECHO_C" >&6
45753 else
45754 if test x$gcc_no_link = xyes; then
45755 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45757 { (exit 1); exit 1; }; }
45759 cat >conftest.$ac_ext <<_ACEOF
45760 /* confdefs.h. */
45761 _ACEOF
45762 cat confdefs.h >>conftest.$ac_ext
45763 cat >>conftest.$ac_ext <<_ACEOF
45764 /* end confdefs.h. */
45765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45767 #define $ac_func innocuous_$ac_func
45769 /* System header to define __stub macros and hopefully few prototypes,
45770 which can conflict with char $ac_func (); below.
45771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45772 <limits.h> exists even on freestanding compilers. */
45774 #ifdef __STDC__
45775 # include <limits.h>
45776 #else
45777 # include <assert.h>
45778 #endif
45780 #undef $ac_func
45782 /* Override any gcc2 internal prototype to avoid an error. */
45783 #ifdef __cplusplus
45784 extern "C"
45786 #endif
45787 /* We use char because int might match the return type of a gcc2
45788 builtin and then its argument prototype would still apply. */
45789 char $ac_func ();
45790 /* The GNU C library defines this for functions which it implements
45791 to always fail with ENOSYS. Some functions are actually named
45792 something starting with __ and the normal name is an alias. */
45793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45794 choke me
45795 #else
45796 char (*f) () = $ac_func;
45797 #endif
45798 #ifdef __cplusplus
45800 #endif
45803 main ()
45805 return f != $ac_func;
45807 return 0;
45809 _ACEOF
45810 rm -f conftest.$ac_objext conftest$ac_exeext
45811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45812 (eval $ac_link) 2>conftest.er1
45813 ac_status=$?
45814 grep -v '^ *+' conftest.er1 >conftest.err
45815 rm -f conftest.er1
45816 cat conftest.err >&5
45817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45818 (exit $ac_status); } &&
45819 { ac_try='test -z "$ac_c_werror_flag"
45820 || test ! -s conftest.err'
45821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45822 (eval $ac_try) 2>&5
45823 ac_status=$?
45824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45825 (exit $ac_status); }; } &&
45826 { ac_try='test -s conftest$ac_exeext'
45827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45828 (eval $ac_try) 2>&5
45829 ac_status=$?
45830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45831 (exit $ac_status); }; }; then
45832 eval "$as_ac_var=yes"
45833 else
45834 echo "$as_me: failed program was:" >&5
45835 sed 's/^/| /' conftest.$ac_ext >&5
45837 eval "$as_ac_var=no"
45839 rm -f conftest.err conftest.$ac_objext \
45840 conftest$ac_exeext conftest.$ac_ext
45842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45844 if test `eval echo '${'$as_ac_var'}'` = yes; then
45845 cat >>confdefs.h <<_ACEOF
45846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45847 _ACEOF
45850 done
45860 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
45861 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
45862 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45863 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
45864 echo $ECHO_N "(cached) $ECHO_C" >&6
45865 else
45869 ac_ext=cc
45870 ac_cpp='$CXXCPP $CPPFLAGS'
45871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45875 cat >conftest.$ac_ext <<_ACEOF
45876 /* confdefs.h. */
45877 _ACEOF
45878 cat confdefs.h >>conftest.$ac_ext
45879 cat >>conftest.$ac_ext <<_ACEOF
45880 /* end confdefs.h. */
45881 #include <math.h>
45882 #ifdef HAVE_IEEEFP_H
45883 #include <ieeefp.h>
45884 #endif
45887 main ()
45889 fabsl(0);
45891 return 0;
45893 _ACEOF
45894 rm -f conftest.$ac_objext
45895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45896 (eval $ac_compile) 2>conftest.er1
45897 ac_status=$?
45898 grep -v '^ *+' conftest.er1 >conftest.err
45899 rm -f conftest.er1
45900 cat conftest.err >&5
45901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45902 (exit $ac_status); } &&
45903 { ac_try='test -z "$ac_cxx_werror_flag"
45904 || test ! -s conftest.err'
45905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45906 (eval $ac_try) 2>&5
45907 ac_status=$?
45908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45909 (exit $ac_status); }; } &&
45910 { ac_try='test -s conftest.$ac_objext'
45911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45912 (eval $ac_try) 2>&5
45913 ac_status=$?
45914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45915 (exit $ac_status); }; }; then
45916 glibcxx_cv_func_fabsl_use=yes
45917 else
45918 echo "$as_me: failed program was:" >&5
45919 sed 's/^/| /' conftest.$ac_ext >&5
45921 glibcxx_cv_func_fabsl_use=no
45923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45924 ac_ext=c
45925 ac_cpp='$CPP $CPPFLAGS'
45926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45934 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
45935 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
45937 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45939 for ac_func in fabsl
45941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45942 echo "$as_me:$LINENO: checking for $ac_func" >&5
45943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45944 if eval "test \"\${$as_ac_var+set}\" = set"; then
45945 echo $ECHO_N "(cached) $ECHO_C" >&6
45946 else
45947 if test x$gcc_no_link = xyes; then
45948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45950 { (exit 1); exit 1; }; }
45952 cat >conftest.$ac_ext <<_ACEOF
45953 /* confdefs.h. */
45954 _ACEOF
45955 cat confdefs.h >>conftest.$ac_ext
45956 cat >>conftest.$ac_ext <<_ACEOF
45957 /* end confdefs.h. */
45958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45960 #define $ac_func innocuous_$ac_func
45962 /* System header to define __stub macros and hopefully few prototypes,
45963 which can conflict with char $ac_func (); below.
45964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45965 <limits.h> exists even on freestanding compilers. */
45967 #ifdef __STDC__
45968 # include <limits.h>
45969 #else
45970 # include <assert.h>
45971 #endif
45973 #undef $ac_func
45975 /* Override any gcc2 internal prototype to avoid an error. */
45976 #ifdef __cplusplus
45977 extern "C"
45979 #endif
45980 /* We use char because int might match the return type of a gcc2
45981 builtin and then its argument prototype would still apply. */
45982 char $ac_func ();
45983 /* The GNU C library defines this for functions which it implements
45984 to always fail with ENOSYS. Some functions are actually named
45985 something starting with __ and the normal name is an alias. */
45986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45987 choke me
45988 #else
45989 char (*f) () = $ac_func;
45990 #endif
45991 #ifdef __cplusplus
45993 #endif
45996 main ()
45998 return f != $ac_func;
46000 return 0;
46002 _ACEOF
46003 rm -f conftest.$ac_objext conftest$ac_exeext
46004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46005 (eval $ac_link) 2>conftest.er1
46006 ac_status=$?
46007 grep -v '^ *+' conftest.er1 >conftest.err
46008 rm -f conftest.er1
46009 cat conftest.err >&5
46010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46011 (exit $ac_status); } &&
46012 { ac_try='test -z "$ac_c_werror_flag"
46013 || test ! -s conftest.err'
46014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46015 (eval $ac_try) 2>&5
46016 ac_status=$?
46017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46018 (exit $ac_status); }; } &&
46019 { ac_try='test -s conftest$ac_exeext'
46020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46021 (eval $ac_try) 2>&5
46022 ac_status=$?
46023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46024 (exit $ac_status); }; }; then
46025 eval "$as_ac_var=yes"
46026 else
46027 echo "$as_me: failed program was:" >&5
46028 sed 's/^/| /' conftest.$ac_ext >&5
46030 eval "$as_ac_var=no"
46032 rm -f conftest.err conftest.$ac_objext \
46033 conftest$ac_exeext conftest.$ac_ext
46035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46037 if test `eval echo '${'$as_ac_var'}'` = yes; then
46038 cat >>confdefs.h <<_ACEOF
46039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46040 _ACEOF
46043 done
46045 else
46047 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
46048 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
46049 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
46050 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
46051 echo $ECHO_N "(cached) $ECHO_C" >&6
46052 else
46056 ac_ext=cc
46057 ac_cpp='$CXXCPP $CPPFLAGS'
46058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46062 cat >conftest.$ac_ext <<_ACEOF
46063 /* confdefs.h. */
46064 _ACEOF
46065 cat confdefs.h >>conftest.$ac_ext
46066 cat >>conftest.$ac_ext <<_ACEOF
46067 /* end confdefs.h. */
46068 #include <math.h>
46069 #ifdef HAVE_IEEEFP_H
46070 #include <ieeefp.h>
46071 #endif
46074 main ()
46076 _fabsl(0);
46078 return 0;
46080 _ACEOF
46081 rm -f conftest.$ac_objext
46082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46083 (eval $ac_compile) 2>conftest.er1
46084 ac_status=$?
46085 grep -v '^ *+' conftest.er1 >conftest.err
46086 rm -f conftest.er1
46087 cat conftest.err >&5
46088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46089 (exit $ac_status); } &&
46090 { ac_try='test -z "$ac_cxx_werror_flag"
46091 || test ! -s conftest.err'
46092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46093 (eval $ac_try) 2>&5
46094 ac_status=$?
46095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46096 (exit $ac_status); }; } &&
46097 { ac_try='test -s conftest.$ac_objext'
46098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46099 (eval $ac_try) 2>&5
46100 ac_status=$?
46101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46102 (exit $ac_status); }; }; then
46103 glibcxx_cv_func__fabsl_use=yes
46104 else
46105 echo "$as_me: failed program was:" >&5
46106 sed 's/^/| /' conftest.$ac_ext >&5
46108 glibcxx_cv_func__fabsl_use=no
46110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46111 ac_ext=c
46112 ac_cpp='$CPP $CPPFLAGS'
46113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46121 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
46122 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
46124 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
46126 for ac_func in _fabsl
46128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46129 echo "$as_me:$LINENO: checking for $ac_func" >&5
46130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46131 if eval "test \"\${$as_ac_var+set}\" = set"; then
46132 echo $ECHO_N "(cached) $ECHO_C" >&6
46133 else
46134 if test x$gcc_no_link = xyes; then
46135 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46137 { (exit 1); exit 1; }; }
46139 cat >conftest.$ac_ext <<_ACEOF
46140 /* confdefs.h. */
46141 _ACEOF
46142 cat confdefs.h >>conftest.$ac_ext
46143 cat >>conftest.$ac_ext <<_ACEOF
46144 /* end confdefs.h. */
46145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46147 #define $ac_func innocuous_$ac_func
46149 /* System header to define __stub macros and hopefully few prototypes,
46150 which can conflict with char $ac_func (); below.
46151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46152 <limits.h> exists even on freestanding compilers. */
46154 #ifdef __STDC__
46155 # include <limits.h>
46156 #else
46157 # include <assert.h>
46158 #endif
46160 #undef $ac_func
46162 /* Override any gcc2 internal prototype to avoid an error. */
46163 #ifdef __cplusplus
46164 extern "C"
46166 #endif
46167 /* We use char because int might match the return type of a gcc2
46168 builtin and then its argument prototype would still apply. */
46169 char $ac_func ();
46170 /* The GNU C library defines this for functions which it implements
46171 to always fail with ENOSYS. Some functions are actually named
46172 something starting with __ and the normal name is an alias. */
46173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46174 choke me
46175 #else
46176 char (*f) () = $ac_func;
46177 #endif
46178 #ifdef __cplusplus
46180 #endif
46183 main ()
46185 return f != $ac_func;
46187 return 0;
46189 _ACEOF
46190 rm -f conftest.$ac_objext conftest$ac_exeext
46191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46192 (eval $ac_link) 2>conftest.er1
46193 ac_status=$?
46194 grep -v '^ *+' conftest.er1 >conftest.err
46195 rm -f conftest.er1
46196 cat conftest.err >&5
46197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46198 (exit $ac_status); } &&
46199 { ac_try='test -z "$ac_c_werror_flag"
46200 || test ! -s conftest.err'
46201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46202 (eval $ac_try) 2>&5
46203 ac_status=$?
46204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46205 (exit $ac_status); }; } &&
46206 { ac_try='test -s conftest$ac_exeext'
46207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46208 (eval $ac_try) 2>&5
46209 ac_status=$?
46210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46211 (exit $ac_status); }; }; then
46212 eval "$as_ac_var=yes"
46213 else
46214 echo "$as_me: failed program was:" >&5
46215 sed 's/^/| /' conftest.$ac_ext >&5
46217 eval "$as_ac_var=no"
46219 rm -f conftest.err conftest.$ac_objext \
46220 conftest$ac_exeext conftest.$ac_ext
46222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46224 if test `eval echo '${'$as_ac_var'}'` = yes; then
46225 cat >>confdefs.h <<_ACEOF
46226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46227 _ACEOF
46230 done
46240 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
46241 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
46242 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
46243 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
46244 echo $ECHO_N "(cached) $ECHO_C" >&6
46245 else
46249 ac_ext=cc
46250 ac_cpp='$CXXCPP $CPPFLAGS'
46251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46255 cat >conftest.$ac_ext <<_ACEOF
46256 /* confdefs.h. */
46257 _ACEOF
46258 cat confdefs.h >>conftest.$ac_ext
46259 cat >>conftest.$ac_ext <<_ACEOF
46260 /* end confdefs.h. */
46261 #include <math.h>
46263 main ()
46265 fmodl(0, 0);
46267 return 0;
46269 _ACEOF
46270 rm -f conftest.$ac_objext
46271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46272 (eval $ac_compile) 2>conftest.er1
46273 ac_status=$?
46274 grep -v '^ *+' conftest.er1 >conftest.err
46275 rm -f conftest.er1
46276 cat conftest.err >&5
46277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46278 (exit $ac_status); } &&
46279 { ac_try='test -z "$ac_cxx_werror_flag"
46280 || test ! -s conftest.err'
46281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46282 (eval $ac_try) 2>&5
46283 ac_status=$?
46284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46285 (exit $ac_status); }; } &&
46286 { ac_try='test -s conftest.$ac_objext'
46287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46288 (eval $ac_try) 2>&5
46289 ac_status=$?
46290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46291 (exit $ac_status); }; }; then
46292 glibcxx_cv_func_fmodl_use=yes
46293 else
46294 echo "$as_me: failed program was:" >&5
46295 sed 's/^/| /' conftest.$ac_ext >&5
46297 glibcxx_cv_func_fmodl_use=no
46299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46300 ac_ext=c
46301 ac_cpp='$CPP $CPPFLAGS'
46302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46310 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
46311 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
46313 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
46315 for ac_func in fmodl
46317 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46318 echo "$as_me:$LINENO: checking for $ac_func" >&5
46319 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46320 if eval "test \"\${$as_ac_var+set}\" = set"; then
46321 echo $ECHO_N "(cached) $ECHO_C" >&6
46322 else
46323 if test x$gcc_no_link = xyes; then
46324 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46326 { (exit 1); exit 1; }; }
46328 cat >conftest.$ac_ext <<_ACEOF
46329 /* confdefs.h. */
46330 _ACEOF
46331 cat confdefs.h >>conftest.$ac_ext
46332 cat >>conftest.$ac_ext <<_ACEOF
46333 /* end confdefs.h. */
46334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46336 #define $ac_func innocuous_$ac_func
46338 /* System header to define __stub macros and hopefully few prototypes,
46339 which can conflict with char $ac_func (); below.
46340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46341 <limits.h> exists even on freestanding compilers. */
46343 #ifdef __STDC__
46344 # include <limits.h>
46345 #else
46346 # include <assert.h>
46347 #endif
46349 #undef $ac_func
46351 /* Override any gcc2 internal prototype to avoid an error. */
46352 #ifdef __cplusplus
46353 extern "C"
46355 #endif
46356 /* We use char because int might match the return type of a gcc2
46357 builtin and then its argument prototype would still apply. */
46358 char $ac_func ();
46359 /* The GNU C library defines this for functions which it implements
46360 to always fail with ENOSYS. Some functions are actually named
46361 something starting with __ and the normal name is an alias. */
46362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46363 choke me
46364 #else
46365 char (*f) () = $ac_func;
46366 #endif
46367 #ifdef __cplusplus
46369 #endif
46372 main ()
46374 return f != $ac_func;
46376 return 0;
46378 _ACEOF
46379 rm -f conftest.$ac_objext conftest$ac_exeext
46380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46381 (eval $ac_link) 2>conftest.er1
46382 ac_status=$?
46383 grep -v '^ *+' conftest.er1 >conftest.err
46384 rm -f conftest.er1
46385 cat conftest.err >&5
46386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46387 (exit $ac_status); } &&
46388 { ac_try='test -z "$ac_c_werror_flag"
46389 || test ! -s conftest.err'
46390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46391 (eval $ac_try) 2>&5
46392 ac_status=$?
46393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46394 (exit $ac_status); }; } &&
46395 { ac_try='test -s conftest$ac_exeext'
46396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46397 (eval $ac_try) 2>&5
46398 ac_status=$?
46399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46400 (exit $ac_status); }; }; then
46401 eval "$as_ac_var=yes"
46402 else
46403 echo "$as_me: failed program was:" >&5
46404 sed 's/^/| /' conftest.$ac_ext >&5
46406 eval "$as_ac_var=no"
46408 rm -f conftest.err conftest.$ac_objext \
46409 conftest$ac_exeext conftest.$ac_ext
46411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46413 if test `eval echo '${'$as_ac_var'}'` = yes; then
46414 cat >>confdefs.h <<_ACEOF
46415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46416 _ACEOF
46419 done
46421 else
46423 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
46424 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
46425 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
46426 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
46427 echo $ECHO_N "(cached) $ECHO_C" >&6
46428 else
46432 ac_ext=cc
46433 ac_cpp='$CXXCPP $CPPFLAGS'
46434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46438 cat >conftest.$ac_ext <<_ACEOF
46439 /* confdefs.h. */
46440 _ACEOF
46441 cat confdefs.h >>conftest.$ac_ext
46442 cat >>conftest.$ac_ext <<_ACEOF
46443 /* end confdefs.h. */
46444 #include <math.h>
46446 main ()
46448 _fmodl(0, 0);
46450 return 0;
46452 _ACEOF
46453 rm -f conftest.$ac_objext
46454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46455 (eval $ac_compile) 2>conftest.er1
46456 ac_status=$?
46457 grep -v '^ *+' conftest.er1 >conftest.err
46458 rm -f conftest.er1
46459 cat conftest.err >&5
46460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46461 (exit $ac_status); } &&
46462 { ac_try='test -z "$ac_cxx_werror_flag"
46463 || test ! -s conftest.err'
46464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46465 (eval $ac_try) 2>&5
46466 ac_status=$?
46467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46468 (exit $ac_status); }; } &&
46469 { ac_try='test -s conftest.$ac_objext'
46470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46471 (eval $ac_try) 2>&5
46472 ac_status=$?
46473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46474 (exit $ac_status); }; }; then
46475 glibcxx_cv_func__fmodl_use=yes
46476 else
46477 echo "$as_me: failed program was:" >&5
46478 sed 's/^/| /' conftest.$ac_ext >&5
46480 glibcxx_cv_func__fmodl_use=no
46482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46483 ac_ext=c
46484 ac_cpp='$CPP $CPPFLAGS'
46485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46493 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
46494 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
46496 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
46498 for ac_func in _fmodl
46500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46501 echo "$as_me:$LINENO: checking for $ac_func" >&5
46502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46503 if eval "test \"\${$as_ac_var+set}\" = set"; then
46504 echo $ECHO_N "(cached) $ECHO_C" >&6
46505 else
46506 if test x$gcc_no_link = xyes; then
46507 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46509 { (exit 1); exit 1; }; }
46511 cat >conftest.$ac_ext <<_ACEOF
46512 /* confdefs.h. */
46513 _ACEOF
46514 cat confdefs.h >>conftest.$ac_ext
46515 cat >>conftest.$ac_ext <<_ACEOF
46516 /* end confdefs.h. */
46517 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46519 #define $ac_func innocuous_$ac_func
46521 /* System header to define __stub macros and hopefully few prototypes,
46522 which can conflict with char $ac_func (); below.
46523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46524 <limits.h> exists even on freestanding compilers. */
46526 #ifdef __STDC__
46527 # include <limits.h>
46528 #else
46529 # include <assert.h>
46530 #endif
46532 #undef $ac_func
46534 /* Override any gcc2 internal prototype to avoid an error. */
46535 #ifdef __cplusplus
46536 extern "C"
46538 #endif
46539 /* We use char because int might match the return type of a gcc2
46540 builtin and then its argument prototype would still apply. */
46541 char $ac_func ();
46542 /* The GNU C library defines this for functions which it implements
46543 to always fail with ENOSYS. Some functions are actually named
46544 something starting with __ and the normal name is an alias. */
46545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46546 choke me
46547 #else
46548 char (*f) () = $ac_func;
46549 #endif
46550 #ifdef __cplusplus
46552 #endif
46555 main ()
46557 return f != $ac_func;
46559 return 0;
46561 _ACEOF
46562 rm -f conftest.$ac_objext conftest$ac_exeext
46563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46564 (eval $ac_link) 2>conftest.er1
46565 ac_status=$?
46566 grep -v '^ *+' conftest.er1 >conftest.err
46567 rm -f conftest.er1
46568 cat conftest.err >&5
46569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46570 (exit $ac_status); } &&
46571 { ac_try='test -z "$ac_c_werror_flag"
46572 || test ! -s conftest.err'
46573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46574 (eval $ac_try) 2>&5
46575 ac_status=$?
46576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46577 (exit $ac_status); }; } &&
46578 { ac_try='test -s conftest$ac_exeext'
46579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46580 (eval $ac_try) 2>&5
46581 ac_status=$?
46582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46583 (exit $ac_status); }; }; then
46584 eval "$as_ac_var=yes"
46585 else
46586 echo "$as_me: failed program was:" >&5
46587 sed 's/^/| /' conftest.$ac_ext >&5
46589 eval "$as_ac_var=no"
46591 rm -f conftest.err conftest.$ac_objext \
46592 conftest$ac_exeext conftest.$ac_ext
46594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46595 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46596 if test `eval echo '${'$as_ac_var'}'` = yes; then
46597 cat >>confdefs.h <<_ACEOF
46598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46599 _ACEOF
46602 done
46612 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
46613 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
46614 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
46615 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
46616 echo $ECHO_N "(cached) $ECHO_C" >&6
46617 else
46621 ac_ext=cc
46622 ac_cpp='$CXXCPP $CPPFLAGS'
46623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46627 cat >conftest.$ac_ext <<_ACEOF
46628 /* confdefs.h. */
46629 _ACEOF
46630 cat confdefs.h >>conftest.$ac_ext
46631 cat >>conftest.$ac_ext <<_ACEOF
46632 /* end confdefs.h. */
46633 #include <math.h>
46635 main ()
46637 frexpl(0, 0);
46639 return 0;
46641 _ACEOF
46642 rm -f conftest.$ac_objext
46643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46644 (eval $ac_compile) 2>conftest.er1
46645 ac_status=$?
46646 grep -v '^ *+' conftest.er1 >conftest.err
46647 rm -f conftest.er1
46648 cat conftest.err >&5
46649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46650 (exit $ac_status); } &&
46651 { ac_try='test -z "$ac_cxx_werror_flag"
46652 || test ! -s conftest.err'
46653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46654 (eval $ac_try) 2>&5
46655 ac_status=$?
46656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46657 (exit $ac_status); }; } &&
46658 { ac_try='test -s conftest.$ac_objext'
46659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46660 (eval $ac_try) 2>&5
46661 ac_status=$?
46662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46663 (exit $ac_status); }; }; then
46664 glibcxx_cv_func_frexpl_use=yes
46665 else
46666 echo "$as_me: failed program was:" >&5
46667 sed 's/^/| /' conftest.$ac_ext >&5
46669 glibcxx_cv_func_frexpl_use=no
46671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46672 ac_ext=c
46673 ac_cpp='$CPP $CPPFLAGS'
46674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46682 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
46683 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
46685 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
46687 for ac_func in frexpl
46689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46690 echo "$as_me:$LINENO: checking for $ac_func" >&5
46691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46692 if eval "test \"\${$as_ac_var+set}\" = set"; then
46693 echo $ECHO_N "(cached) $ECHO_C" >&6
46694 else
46695 if test x$gcc_no_link = xyes; then
46696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46698 { (exit 1); exit 1; }; }
46700 cat >conftest.$ac_ext <<_ACEOF
46701 /* confdefs.h. */
46702 _ACEOF
46703 cat confdefs.h >>conftest.$ac_ext
46704 cat >>conftest.$ac_ext <<_ACEOF
46705 /* end confdefs.h. */
46706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46708 #define $ac_func innocuous_$ac_func
46710 /* System header to define __stub macros and hopefully few prototypes,
46711 which can conflict with char $ac_func (); below.
46712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46713 <limits.h> exists even on freestanding compilers. */
46715 #ifdef __STDC__
46716 # include <limits.h>
46717 #else
46718 # include <assert.h>
46719 #endif
46721 #undef $ac_func
46723 /* Override any gcc2 internal prototype to avoid an error. */
46724 #ifdef __cplusplus
46725 extern "C"
46727 #endif
46728 /* We use char because int might match the return type of a gcc2
46729 builtin and then its argument prototype would still apply. */
46730 char $ac_func ();
46731 /* The GNU C library defines this for functions which it implements
46732 to always fail with ENOSYS. Some functions are actually named
46733 something starting with __ and the normal name is an alias. */
46734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46735 choke me
46736 #else
46737 char (*f) () = $ac_func;
46738 #endif
46739 #ifdef __cplusplus
46741 #endif
46744 main ()
46746 return f != $ac_func;
46748 return 0;
46750 _ACEOF
46751 rm -f conftest.$ac_objext conftest$ac_exeext
46752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46753 (eval $ac_link) 2>conftest.er1
46754 ac_status=$?
46755 grep -v '^ *+' conftest.er1 >conftest.err
46756 rm -f conftest.er1
46757 cat conftest.err >&5
46758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46759 (exit $ac_status); } &&
46760 { ac_try='test -z "$ac_c_werror_flag"
46761 || test ! -s conftest.err'
46762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46763 (eval $ac_try) 2>&5
46764 ac_status=$?
46765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46766 (exit $ac_status); }; } &&
46767 { ac_try='test -s conftest$ac_exeext'
46768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46769 (eval $ac_try) 2>&5
46770 ac_status=$?
46771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46772 (exit $ac_status); }; }; then
46773 eval "$as_ac_var=yes"
46774 else
46775 echo "$as_me: failed program was:" >&5
46776 sed 's/^/| /' conftest.$ac_ext >&5
46778 eval "$as_ac_var=no"
46780 rm -f conftest.err conftest.$ac_objext \
46781 conftest$ac_exeext conftest.$ac_ext
46783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46785 if test `eval echo '${'$as_ac_var'}'` = yes; then
46786 cat >>confdefs.h <<_ACEOF
46787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46788 _ACEOF
46791 done
46793 else
46795 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
46796 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
46797 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
46798 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
46799 echo $ECHO_N "(cached) $ECHO_C" >&6
46800 else
46804 ac_ext=cc
46805 ac_cpp='$CXXCPP $CPPFLAGS'
46806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46810 cat >conftest.$ac_ext <<_ACEOF
46811 /* confdefs.h. */
46812 _ACEOF
46813 cat confdefs.h >>conftest.$ac_ext
46814 cat >>conftest.$ac_ext <<_ACEOF
46815 /* end confdefs.h. */
46816 #include <math.h>
46818 main ()
46820 _frexpl(0, 0);
46822 return 0;
46824 _ACEOF
46825 rm -f conftest.$ac_objext
46826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46827 (eval $ac_compile) 2>conftest.er1
46828 ac_status=$?
46829 grep -v '^ *+' conftest.er1 >conftest.err
46830 rm -f conftest.er1
46831 cat conftest.err >&5
46832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46833 (exit $ac_status); } &&
46834 { ac_try='test -z "$ac_cxx_werror_flag"
46835 || test ! -s conftest.err'
46836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46837 (eval $ac_try) 2>&5
46838 ac_status=$?
46839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46840 (exit $ac_status); }; } &&
46841 { ac_try='test -s conftest.$ac_objext'
46842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46843 (eval $ac_try) 2>&5
46844 ac_status=$?
46845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46846 (exit $ac_status); }; }; then
46847 glibcxx_cv_func__frexpl_use=yes
46848 else
46849 echo "$as_me: failed program was:" >&5
46850 sed 's/^/| /' conftest.$ac_ext >&5
46852 glibcxx_cv_func__frexpl_use=no
46854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46855 ac_ext=c
46856 ac_cpp='$CPP $CPPFLAGS'
46857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46865 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
46866 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
46868 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
46870 for ac_func in _frexpl
46872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46873 echo "$as_me:$LINENO: checking for $ac_func" >&5
46874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46875 if eval "test \"\${$as_ac_var+set}\" = set"; then
46876 echo $ECHO_N "(cached) $ECHO_C" >&6
46877 else
46878 if test x$gcc_no_link = xyes; then
46879 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46881 { (exit 1); exit 1; }; }
46883 cat >conftest.$ac_ext <<_ACEOF
46884 /* confdefs.h. */
46885 _ACEOF
46886 cat confdefs.h >>conftest.$ac_ext
46887 cat >>conftest.$ac_ext <<_ACEOF
46888 /* end confdefs.h. */
46889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46891 #define $ac_func innocuous_$ac_func
46893 /* System header to define __stub macros and hopefully few prototypes,
46894 which can conflict with char $ac_func (); below.
46895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46896 <limits.h> exists even on freestanding compilers. */
46898 #ifdef __STDC__
46899 # include <limits.h>
46900 #else
46901 # include <assert.h>
46902 #endif
46904 #undef $ac_func
46906 /* Override any gcc2 internal prototype to avoid an error. */
46907 #ifdef __cplusplus
46908 extern "C"
46910 #endif
46911 /* We use char because int might match the return type of a gcc2
46912 builtin and then its argument prototype would still apply. */
46913 char $ac_func ();
46914 /* The GNU C library defines this for functions which it implements
46915 to always fail with ENOSYS. Some functions are actually named
46916 something starting with __ and the normal name is an alias. */
46917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46918 choke me
46919 #else
46920 char (*f) () = $ac_func;
46921 #endif
46922 #ifdef __cplusplus
46924 #endif
46927 main ()
46929 return f != $ac_func;
46931 return 0;
46933 _ACEOF
46934 rm -f conftest.$ac_objext conftest$ac_exeext
46935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46936 (eval $ac_link) 2>conftest.er1
46937 ac_status=$?
46938 grep -v '^ *+' conftest.er1 >conftest.err
46939 rm -f conftest.er1
46940 cat conftest.err >&5
46941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46942 (exit $ac_status); } &&
46943 { ac_try='test -z "$ac_c_werror_flag"
46944 || test ! -s conftest.err'
46945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46946 (eval $ac_try) 2>&5
46947 ac_status=$?
46948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46949 (exit $ac_status); }; } &&
46950 { ac_try='test -s conftest$ac_exeext'
46951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46952 (eval $ac_try) 2>&5
46953 ac_status=$?
46954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46955 (exit $ac_status); }; }; then
46956 eval "$as_ac_var=yes"
46957 else
46958 echo "$as_me: failed program was:" >&5
46959 sed 's/^/| /' conftest.$ac_ext >&5
46961 eval "$as_ac_var=no"
46963 rm -f conftest.err conftest.$ac_objext \
46964 conftest$ac_exeext conftest.$ac_ext
46966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46968 if test `eval echo '${'$as_ac_var'}'` = yes; then
46969 cat >>confdefs.h <<_ACEOF
46970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46971 _ACEOF
46974 done
46984 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
46985 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
46986 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
46987 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
46988 echo $ECHO_N "(cached) $ECHO_C" >&6
46989 else
46993 ac_ext=cc
46994 ac_cpp='$CXXCPP $CPPFLAGS'
46995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46999 cat >conftest.$ac_ext <<_ACEOF
47000 /* confdefs.h. */
47001 _ACEOF
47002 cat confdefs.h >>conftest.$ac_ext
47003 cat >>conftest.$ac_ext <<_ACEOF
47004 /* end confdefs.h. */
47005 #include <math.h>
47007 main ()
47009 hypotl(0, 0);
47011 return 0;
47013 _ACEOF
47014 rm -f conftest.$ac_objext
47015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47016 (eval $ac_compile) 2>conftest.er1
47017 ac_status=$?
47018 grep -v '^ *+' conftest.er1 >conftest.err
47019 rm -f conftest.er1
47020 cat conftest.err >&5
47021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47022 (exit $ac_status); } &&
47023 { ac_try='test -z "$ac_cxx_werror_flag"
47024 || test ! -s conftest.err'
47025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47026 (eval $ac_try) 2>&5
47027 ac_status=$?
47028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47029 (exit $ac_status); }; } &&
47030 { ac_try='test -s conftest.$ac_objext'
47031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47032 (eval $ac_try) 2>&5
47033 ac_status=$?
47034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47035 (exit $ac_status); }; }; then
47036 glibcxx_cv_func_hypotl_use=yes
47037 else
47038 echo "$as_me: failed program was:" >&5
47039 sed 's/^/| /' conftest.$ac_ext >&5
47041 glibcxx_cv_func_hypotl_use=no
47043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47044 ac_ext=c
47045 ac_cpp='$CPP $CPPFLAGS'
47046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47054 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
47055 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
47057 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
47059 for ac_func in hypotl
47061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47062 echo "$as_me:$LINENO: checking for $ac_func" >&5
47063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47064 if eval "test \"\${$as_ac_var+set}\" = set"; then
47065 echo $ECHO_N "(cached) $ECHO_C" >&6
47066 else
47067 if test x$gcc_no_link = xyes; then
47068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47070 { (exit 1); exit 1; }; }
47072 cat >conftest.$ac_ext <<_ACEOF
47073 /* confdefs.h. */
47074 _ACEOF
47075 cat confdefs.h >>conftest.$ac_ext
47076 cat >>conftest.$ac_ext <<_ACEOF
47077 /* end confdefs.h. */
47078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47080 #define $ac_func innocuous_$ac_func
47082 /* System header to define __stub macros and hopefully few prototypes,
47083 which can conflict with char $ac_func (); below.
47084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47085 <limits.h> exists even on freestanding compilers. */
47087 #ifdef __STDC__
47088 # include <limits.h>
47089 #else
47090 # include <assert.h>
47091 #endif
47093 #undef $ac_func
47095 /* Override any gcc2 internal prototype to avoid an error. */
47096 #ifdef __cplusplus
47097 extern "C"
47099 #endif
47100 /* We use char because int might match the return type of a gcc2
47101 builtin and then its argument prototype would still apply. */
47102 char $ac_func ();
47103 /* The GNU C library defines this for functions which it implements
47104 to always fail with ENOSYS. Some functions are actually named
47105 something starting with __ and the normal name is an alias. */
47106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47107 choke me
47108 #else
47109 char (*f) () = $ac_func;
47110 #endif
47111 #ifdef __cplusplus
47113 #endif
47116 main ()
47118 return f != $ac_func;
47120 return 0;
47122 _ACEOF
47123 rm -f conftest.$ac_objext conftest$ac_exeext
47124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47125 (eval $ac_link) 2>conftest.er1
47126 ac_status=$?
47127 grep -v '^ *+' conftest.er1 >conftest.err
47128 rm -f conftest.er1
47129 cat conftest.err >&5
47130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47131 (exit $ac_status); } &&
47132 { ac_try='test -z "$ac_c_werror_flag"
47133 || test ! -s conftest.err'
47134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47135 (eval $ac_try) 2>&5
47136 ac_status=$?
47137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47138 (exit $ac_status); }; } &&
47139 { ac_try='test -s conftest$ac_exeext'
47140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47141 (eval $ac_try) 2>&5
47142 ac_status=$?
47143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47144 (exit $ac_status); }; }; then
47145 eval "$as_ac_var=yes"
47146 else
47147 echo "$as_me: failed program was:" >&5
47148 sed 's/^/| /' conftest.$ac_ext >&5
47150 eval "$as_ac_var=no"
47152 rm -f conftest.err conftest.$ac_objext \
47153 conftest$ac_exeext conftest.$ac_ext
47155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47157 if test `eval echo '${'$as_ac_var'}'` = yes; then
47158 cat >>confdefs.h <<_ACEOF
47159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47160 _ACEOF
47163 done
47165 else
47167 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
47168 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
47169 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
47170 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
47171 echo $ECHO_N "(cached) $ECHO_C" >&6
47172 else
47176 ac_ext=cc
47177 ac_cpp='$CXXCPP $CPPFLAGS'
47178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47182 cat >conftest.$ac_ext <<_ACEOF
47183 /* confdefs.h. */
47184 _ACEOF
47185 cat confdefs.h >>conftest.$ac_ext
47186 cat >>conftest.$ac_ext <<_ACEOF
47187 /* end confdefs.h. */
47188 #include <math.h>
47190 main ()
47192 _hypotl(0, 0);
47194 return 0;
47196 _ACEOF
47197 rm -f conftest.$ac_objext
47198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47199 (eval $ac_compile) 2>conftest.er1
47200 ac_status=$?
47201 grep -v '^ *+' conftest.er1 >conftest.err
47202 rm -f conftest.er1
47203 cat conftest.err >&5
47204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47205 (exit $ac_status); } &&
47206 { ac_try='test -z "$ac_cxx_werror_flag"
47207 || test ! -s conftest.err'
47208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47209 (eval $ac_try) 2>&5
47210 ac_status=$?
47211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47212 (exit $ac_status); }; } &&
47213 { ac_try='test -s conftest.$ac_objext'
47214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47215 (eval $ac_try) 2>&5
47216 ac_status=$?
47217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47218 (exit $ac_status); }; }; then
47219 glibcxx_cv_func__hypotl_use=yes
47220 else
47221 echo "$as_me: failed program was:" >&5
47222 sed 's/^/| /' conftest.$ac_ext >&5
47224 glibcxx_cv_func__hypotl_use=no
47226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47227 ac_ext=c
47228 ac_cpp='$CPP $CPPFLAGS'
47229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47237 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
47238 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
47240 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
47242 for ac_func in _hypotl
47244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47245 echo "$as_me:$LINENO: checking for $ac_func" >&5
47246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47247 if eval "test \"\${$as_ac_var+set}\" = set"; then
47248 echo $ECHO_N "(cached) $ECHO_C" >&6
47249 else
47250 if test x$gcc_no_link = xyes; then
47251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47253 { (exit 1); exit 1; }; }
47255 cat >conftest.$ac_ext <<_ACEOF
47256 /* confdefs.h. */
47257 _ACEOF
47258 cat confdefs.h >>conftest.$ac_ext
47259 cat >>conftest.$ac_ext <<_ACEOF
47260 /* end confdefs.h. */
47261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47263 #define $ac_func innocuous_$ac_func
47265 /* System header to define __stub macros and hopefully few prototypes,
47266 which can conflict with char $ac_func (); below.
47267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47268 <limits.h> exists even on freestanding compilers. */
47270 #ifdef __STDC__
47271 # include <limits.h>
47272 #else
47273 # include <assert.h>
47274 #endif
47276 #undef $ac_func
47278 /* Override any gcc2 internal prototype to avoid an error. */
47279 #ifdef __cplusplus
47280 extern "C"
47282 #endif
47283 /* We use char because int might match the return type of a gcc2
47284 builtin and then its argument prototype would still apply. */
47285 char $ac_func ();
47286 /* The GNU C library defines this for functions which it implements
47287 to always fail with ENOSYS. Some functions are actually named
47288 something starting with __ and the normal name is an alias. */
47289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47290 choke me
47291 #else
47292 char (*f) () = $ac_func;
47293 #endif
47294 #ifdef __cplusplus
47296 #endif
47299 main ()
47301 return f != $ac_func;
47303 return 0;
47305 _ACEOF
47306 rm -f conftest.$ac_objext conftest$ac_exeext
47307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47308 (eval $ac_link) 2>conftest.er1
47309 ac_status=$?
47310 grep -v '^ *+' conftest.er1 >conftest.err
47311 rm -f conftest.er1
47312 cat conftest.err >&5
47313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47314 (exit $ac_status); } &&
47315 { ac_try='test -z "$ac_c_werror_flag"
47316 || test ! -s conftest.err'
47317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47318 (eval $ac_try) 2>&5
47319 ac_status=$?
47320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47321 (exit $ac_status); }; } &&
47322 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
47328 eval "$as_ac_var=yes"
47329 else
47330 echo "$as_me: failed program was:" >&5
47331 sed 's/^/| /' conftest.$ac_ext >&5
47333 eval "$as_ac_var=no"
47335 rm -f conftest.err conftest.$ac_objext \
47336 conftest$ac_exeext conftest.$ac_ext
47338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47340 if test `eval echo '${'$as_ac_var'}'` = yes; then
47341 cat >>confdefs.h <<_ACEOF
47342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47343 _ACEOF
47346 done
47356 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
47357 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
47358 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
47359 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
47360 echo $ECHO_N "(cached) $ECHO_C" >&6
47361 else
47365 ac_ext=cc
47366 ac_cpp='$CXXCPP $CPPFLAGS'
47367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47371 cat >conftest.$ac_ext <<_ACEOF
47372 /* confdefs.h. */
47373 _ACEOF
47374 cat confdefs.h >>conftest.$ac_ext
47375 cat >>conftest.$ac_ext <<_ACEOF
47376 /* end confdefs.h. */
47377 #include <math.h>
47379 main ()
47381 ldexpl(0, 0);
47383 return 0;
47385 _ACEOF
47386 rm -f conftest.$ac_objext
47387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47388 (eval $ac_compile) 2>conftest.er1
47389 ac_status=$?
47390 grep -v '^ *+' conftest.er1 >conftest.err
47391 rm -f conftest.er1
47392 cat conftest.err >&5
47393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47394 (exit $ac_status); } &&
47395 { ac_try='test -z "$ac_cxx_werror_flag"
47396 || test ! -s conftest.err'
47397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47398 (eval $ac_try) 2>&5
47399 ac_status=$?
47400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47401 (exit $ac_status); }; } &&
47402 { ac_try='test -s conftest.$ac_objext'
47403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47404 (eval $ac_try) 2>&5
47405 ac_status=$?
47406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47407 (exit $ac_status); }; }; then
47408 glibcxx_cv_func_ldexpl_use=yes
47409 else
47410 echo "$as_me: failed program was:" >&5
47411 sed 's/^/| /' conftest.$ac_ext >&5
47413 glibcxx_cv_func_ldexpl_use=no
47415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47416 ac_ext=c
47417 ac_cpp='$CPP $CPPFLAGS'
47418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47426 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
47427 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
47429 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
47431 for ac_func in ldexpl
47433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47434 echo "$as_me:$LINENO: checking for $ac_func" >&5
47435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47436 if eval "test \"\${$as_ac_var+set}\" = set"; then
47437 echo $ECHO_N "(cached) $ECHO_C" >&6
47438 else
47439 if test x$gcc_no_link = xyes; then
47440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47442 { (exit 1); exit 1; }; }
47444 cat >conftest.$ac_ext <<_ACEOF
47445 /* confdefs.h. */
47446 _ACEOF
47447 cat confdefs.h >>conftest.$ac_ext
47448 cat >>conftest.$ac_ext <<_ACEOF
47449 /* end confdefs.h. */
47450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47452 #define $ac_func innocuous_$ac_func
47454 /* System header to define __stub macros and hopefully few prototypes,
47455 which can conflict with char $ac_func (); below.
47456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47457 <limits.h> exists even on freestanding compilers. */
47459 #ifdef __STDC__
47460 # include <limits.h>
47461 #else
47462 # include <assert.h>
47463 #endif
47465 #undef $ac_func
47467 /* Override any gcc2 internal prototype to avoid an error. */
47468 #ifdef __cplusplus
47469 extern "C"
47471 #endif
47472 /* We use char because int might match the return type of a gcc2
47473 builtin and then its argument prototype would still apply. */
47474 char $ac_func ();
47475 /* The GNU C library defines this for functions which it implements
47476 to always fail with ENOSYS. Some functions are actually named
47477 something starting with __ and the normal name is an alias. */
47478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47479 choke me
47480 #else
47481 char (*f) () = $ac_func;
47482 #endif
47483 #ifdef __cplusplus
47485 #endif
47488 main ()
47490 return f != $ac_func;
47492 return 0;
47494 _ACEOF
47495 rm -f conftest.$ac_objext conftest$ac_exeext
47496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47497 (eval $ac_link) 2>conftest.er1
47498 ac_status=$?
47499 grep -v '^ *+' conftest.er1 >conftest.err
47500 rm -f conftest.er1
47501 cat conftest.err >&5
47502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47503 (exit $ac_status); } &&
47504 { ac_try='test -z "$ac_c_werror_flag"
47505 || test ! -s conftest.err'
47506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47507 (eval $ac_try) 2>&5
47508 ac_status=$?
47509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47510 (exit $ac_status); }; } &&
47511 { ac_try='test -s conftest$ac_exeext'
47512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47513 (eval $ac_try) 2>&5
47514 ac_status=$?
47515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47516 (exit $ac_status); }; }; then
47517 eval "$as_ac_var=yes"
47518 else
47519 echo "$as_me: failed program was:" >&5
47520 sed 's/^/| /' conftest.$ac_ext >&5
47522 eval "$as_ac_var=no"
47524 rm -f conftest.err conftest.$ac_objext \
47525 conftest$ac_exeext conftest.$ac_ext
47527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47529 if test `eval echo '${'$as_ac_var'}'` = yes; then
47530 cat >>confdefs.h <<_ACEOF
47531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47532 _ACEOF
47535 done
47537 else
47539 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
47540 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
47541 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
47542 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
47543 echo $ECHO_N "(cached) $ECHO_C" >&6
47544 else
47548 ac_ext=cc
47549 ac_cpp='$CXXCPP $CPPFLAGS'
47550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47554 cat >conftest.$ac_ext <<_ACEOF
47555 /* confdefs.h. */
47556 _ACEOF
47557 cat confdefs.h >>conftest.$ac_ext
47558 cat >>conftest.$ac_ext <<_ACEOF
47559 /* end confdefs.h. */
47560 #include <math.h>
47562 main ()
47564 _ldexpl(0, 0);
47566 return 0;
47568 _ACEOF
47569 rm -f conftest.$ac_objext
47570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47571 (eval $ac_compile) 2>conftest.er1
47572 ac_status=$?
47573 grep -v '^ *+' conftest.er1 >conftest.err
47574 rm -f conftest.er1
47575 cat conftest.err >&5
47576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47577 (exit $ac_status); } &&
47578 { ac_try='test -z "$ac_cxx_werror_flag"
47579 || test ! -s conftest.err'
47580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47581 (eval $ac_try) 2>&5
47582 ac_status=$?
47583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47584 (exit $ac_status); }; } &&
47585 { ac_try='test -s conftest.$ac_objext'
47586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47587 (eval $ac_try) 2>&5
47588 ac_status=$?
47589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47590 (exit $ac_status); }; }; then
47591 glibcxx_cv_func__ldexpl_use=yes
47592 else
47593 echo "$as_me: failed program was:" >&5
47594 sed 's/^/| /' conftest.$ac_ext >&5
47596 glibcxx_cv_func__ldexpl_use=no
47598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47599 ac_ext=c
47600 ac_cpp='$CPP $CPPFLAGS'
47601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47609 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
47610 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
47612 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
47614 for ac_func in _ldexpl
47616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47617 echo "$as_me:$LINENO: checking for $ac_func" >&5
47618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47619 if eval "test \"\${$as_ac_var+set}\" = set"; then
47620 echo $ECHO_N "(cached) $ECHO_C" >&6
47621 else
47622 if test x$gcc_no_link = xyes; then
47623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47625 { (exit 1); exit 1; }; }
47627 cat >conftest.$ac_ext <<_ACEOF
47628 /* confdefs.h. */
47629 _ACEOF
47630 cat confdefs.h >>conftest.$ac_ext
47631 cat >>conftest.$ac_ext <<_ACEOF
47632 /* end confdefs.h. */
47633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47635 #define $ac_func innocuous_$ac_func
47637 /* System header to define __stub macros and hopefully few prototypes,
47638 which can conflict with char $ac_func (); below.
47639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47640 <limits.h> exists even on freestanding compilers. */
47642 #ifdef __STDC__
47643 # include <limits.h>
47644 #else
47645 # include <assert.h>
47646 #endif
47648 #undef $ac_func
47650 /* Override any gcc2 internal prototype to avoid an error. */
47651 #ifdef __cplusplus
47652 extern "C"
47654 #endif
47655 /* We use char because int might match the return type of a gcc2
47656 builtin and then its argument prototype would still apply. */
47657 char $ac_func ();
47658 /* The GNU C library defines this for functions which it implements
47659 to always fail with ENOSYS. Some functions are actually named
47660 something starting with __ and the normal name is an alias. */
47661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47662 choke me
47663 #else
47664 char (*f) () = $ac_func;
47665 #endif
47666 #ifdef __cplusplus
47668 #endif
47671 main ()
47673 return f != $ac_func;
47675 return 0;
47677 _ACEOF
47678 rm -f conftest.$ac_objext conftest$ac_exeext
47679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47680 (eval $ac_link) 2>conftest.er1
47681 ac_status=$?
47682 grep -v '^ *+' conftest.er1 >conftest.err
47683 rm -f conftest.er1
47684 cat conftest.err >&5
47685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47686 (exit $ac_status); } &&
47687 { ac_try='test -z "$ac_c_werror_flag"
47688 || test ! -s conftest.err'
47689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47690 (eval $ac_try) 2>&5
47691 ac_status=$?
47692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47693 (exit $ac_status); }; } &&
47694 { ac_try='test -s conftest$ac_exeext'
47695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47696 (eval $ac_try) 2>&5
47697 ac_status=$?
47698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47699 (exit $ac_status); }; }; then
47700 eval "$as_ac_var=yes"
47701 else
47702 echo "$as_me: failed program was:" >&5
47703 sed 's/^/| /' conftest.$ac_ext >&5
47705 eval "$as_ac_var=no"
47707 rm -f conftest.err conftest.$ac_objext \
47708 conftest$ac_exeext conftest.$ac_ext
47710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47712 if test `eval echo '${'$as_ac_var'}'` = yes; then
47713 cat >>confdefs.h <<_ACEOF
47714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47715 _ACEOF
47718 done
47728 echo "$as_me:$LINENO: checking for logl declaration" >&5
47729 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
47730 if test x${glibcxx_cv_func_logl_use+set} != xset; then
47731 if test "${glibcxx_cv_func_logl_use+set}" = set; then
47732 echo $ECHO_N "(cached) $ECHO_C" >&6
47733 else
47737 ac_ext=cc
47738 ac_cpp='$CXXCPP $CPPFLAGS'
47739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47743 cat >conftest.$ac_ext <<_ACEOF
47744 /* confdefs.h. */
47745 _ACEOF
47746 cat confdefs.h >>conftest.$ac_ext
47747 cat >>conftest.$ac_ext <<_ACEOF
47748 /* end confdefs.h. */
47749 #include <math.h>
47750 #ifdef HAVE_IEEEFP_H
47751 #include <ieeefp.h>
47752 #endif
47755 main ()
47757 logl(0);
47759 return 0;
47761 _ACEOF
47762 rm -f conftest.$ac_objext
47763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47764 (eval $ac_compile) 2>conftest.er1
47765 ac_status=$?
47766 grep -v '^ *+' conftest.er1 >conftest.err
47767 rm -f conftest.er1
47768 cat conftest.err >&5
47769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47770 (exit $ac_status); } &&
47771 { ac_try='test -z "$ac_cxx_werror_flag"
47772 || test ! -s conftest.err'
47773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47774 (eval $ac_try) 2>&5
47775 ac_status=$?
47776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47777 (exit $ac_status); }; } &&
47778 { ac_try='test -s conftest.$ac_objext'
47779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47780 (eval $ac_try) 2>&5
47781 ac_status=$?
47782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47783 (exit $ac_status); }; }; then
47784 glibcxx_cv_func_logl_use=yes
47785 else
47786 echo "$as_me: failed program was:" >&5
47787 sed 's/^/| /' conftest.$ac_ext >&5
47789 glibcxx_cv_func_logl_use=no
47791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47792 ac_ext=c
47793 ac_cpp='$CPP $CPPFLAGS'
47794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47802 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
47803 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
47805 if test x$glibcxx_cv_func_logl_use = x"yes"; then
47807 for ac_func in logl
47809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47810 echo "$as_me:$LINENO: checking for $ac_func" >&5
47811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47812 if eval "test \"\${$as_ac_var+set}\" = set"; then
47813 echo $ECHO_N "(cached) $ECHO_C" >&6
47814 else
47815 if test x$gcc_no_link = xyes; then
47816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47818 { (exit 1); exit 1; }; }
47820 cat >conftest.$ac_ext <<_ACEOF
47821 /* confdefs.h. */
47822 _ACEOF
47823 cat confdefs.h >>conftest.$ac_ext
47824 cat >>conftest.$ac_ext <<_ACEOF
47825 /* end confdefs.h. */
47826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47828 #define $ac_func innocuous_$ac_func
47830 /* System header to define __stub macros and hopefully few prototypes,
47831 which can conflict with char $ac_func (); below.
47832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47833 <limits.h> exists even on freestanding compilers. */
47835 #ifdef __STDC__
47836 # include <limits.h>
47837 #else
47838 # include <assert.h>
47839 #endif
47841 #undef $ac_func
47843 /* Override any gcc2 internal prototype to avoid an error. */
47844 #ifdef __cplusplus
47845 extern "C"
47847 #endif
47848 /* We use char because int might match the return type of a gcc2
47849 builtin and then its argument prototype would still apply. */
47850 char $ac_func ();
47851 /* The GNU C library defines this for functions which it implements
47852 to always fail with ENOSYS. Some functions are actually named
47853 something starting with __ and the normal name is an alias. */
47854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47855 choke me
47856 #else
47857 char (*f) () = $ac_func;
47858 #endif
47859 #ifdef __cplusplus
47861 #endif
47864 main ()
47866 return f != $ac_func;
47868 return 0;
47870 _ACEOF
47871 rm -f conftest.$ac_objext conftest$ac_exeext
47872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47873 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
47894 else
47895 echo "$as_me: failed program was:" >&5
47896 sed 's/^/| /' conftest.$ac_ext >&5
47898 eval "$as_ac_var=no"
47900 rm -f conftest.err conftest.$ac_objext \
47901 conftest$ac_exeext conftest.$ac_ext
47903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47905 if test `eval echo '${'$as_ac_var'}'` = yes; then
47906 cat >>confdefs.h <<_ACEOF
47907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47908 _ACEOF
47911 done
47913 else
47915 echo "$as_me:$LINENO: checking for _logl declaration" >&5
47916 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
47917 if test x${glibcxx_cv_func__logl_use+set} != xset; then
47918 if test "${glibcxx_cv_func__logl_use+set}" = set; then
47919 echo $ECHO_N "(cached) $ECHO_C" >&6
47920 else
47924 ac_ext=cc
47925 ac_cpp='$CXXCPP $CPPFLAGS'
47926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47930 cat >conftest.$ac_ext <<_ACEOF
47931 /* confdefs.h. */
47932 _ACEOF
47933 cat confdefs.h >>conftest.$ac_ext
47934 cat >>conftest.$ac_ext <<_ACEOF
47935 /* end confdefs.h. */
47936 #include <math.h>
47937 #ifdef HAVE_IEEEFP_H
47938 #include <ieeefp.h>
47939 #endif
47942 main ()
47944 _logl(0);
47946 return 0;
47948 _ACEOF
47949 rm -f conftest.$ac_objext
47950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47951 (eval $ac_compile) 2>conftest.er1
47952 ac_status=$?
47953 grep -v '^ *+' conftest.er1 >conftest.err
47954 rm -f conftest.er1
47955 cat conftest.err >&5
47956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47957 (exit $ac_status); } &&
47958 { ac_try='test -z "$ac_cxx_werror_flag"
47959 || test ! -s conftest.err'
47960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47961 (eval $ac_try) 2>&5
47962 ac_status=$?
47963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47964 (exit $ac_status); }; } &&
47965 { ac_try='test -s conftest.$ac_objext'
47966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47967 (eval $ac_try) 2>&5
47968 ac_status=$?
47969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47970 (exit $ac_status); }; }; then
47971 glibcxx_cv_func__logl_use=yes
47972 else
47973 echo "$as_me: failed program was:" >&5
47974 sed 's/^/| /' conftest.$ac_ext >&5
47976 glibcxx_cv_func__logl_use=no
47978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47979 ac_ext=c
47980 ac_cpp='$CPP $CPPFLAGS'
47981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47989 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
47990 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
47992 if test x$glibcxx_cv_func__logl_use = x"yes"; then
47994 for ac_func in _logl
47996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47997 echo "$as_me:$LINENO: checking for $ac_func" >&5
47998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47999 if eval "test \"\${$as_ac_var+set}\" = set"; then
48000 echo $ECHO_N "(cached) $ECHO_C" >&6
48001 else
48002 if test x$gcc_no_link = xyes; then
48003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48005 { (exit 1); exit 1; }; }
48007 cat >conftest.$ac_ext <<_ACEOF
48008 /* confdefs.h. */
48009 _ACEOF
48010 cat confdefs.h >>conftest.$ac_ext
48011 cat >>conftest.$ac_ext <<_ACEOF
48012 /* end confdefs.h. */
48013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48015 #define $ac_func innocuous_$ac_func
48017 /* System header to define __stub macros and hopefully few prototypes,
48018 which can conflict with char $ac_func (); below.
48019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48020 <limits.h> exists even on freestanding compilers. */
48022 #ifdef __STDC__
48023 # include <limits.h>
48024 #else
48025 # include <assert.h>
48026 #endif
48028 #undef $ac_func
48030 /* Override any gcc2 internal prototype to avoid an error. */
48031 #ifdef __cplusplus
48032 extern "C"
48034 #endif
48035 /* We use char because int might match the return type of a gcc2
48036 builtin and then its argument prototype would still apply. */
48037 char $ac_func ();
48038 /* The GNU C library defines this for functions which it implements
48039 to always fail with ENOSYS. Some functions are actually named
48040 something starting with __ and the normal name is an alias. */
48041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48042 choke me
48043 #else
48044 char (*f) () = $ac_func;
48045 #endif
48046 #ifdef __cplusplus
48048 #endif
48051 main ()
48053 return f != $ac_func;
48055 return 0;
48057 _ACEOF
48058 rm -f conftest.$ac_objext conftest$ac_exeext
48059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48060 (eval $ac_link) 2>conftest.er1
48061 ac_status=$?
48062 grep -v '^ *+' conftest.er1 >conftest.err
48063 rm -f conftest.er1
48064 cat conftest.err >&5
48065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48066 (exit $ac_status); } &&
48067 { ac_try='test -z "$ac_c_werror_flag"
48068 || test ! -s conftest.err'
48069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48070 (eval $ac_try) 2>&5
48071 ac_status=$?
48072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48073 (exit $ac_status); }; } &&
48074 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
48080 eval "$as_ac_var=yes"
48081 else
48082 echo "$as_me: failed program was:" >&5
48083 sed 's/^/| /' conftest.$ac_ext >&5
48085 eval "$as_ac_var=no"
48087 rm -f conftest.err conftest.$ac_objext \
48088 conftest$ac_exeext conftest.$ac_ext
48090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48092 if test `eval echo '${'$as_ac_var'}'` = yes; then
48093 cat >>confdefs.h <<_ACEOF
48094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48095 _ACEOF
48098 done
48108 echo "$as_me:$LINENO: checking for log10l declaration" >&5
48109 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
48110 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
48111 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
48112 echo $ECHO_N "(cached) $ECHO_C" >&6
48113 else
48117 ac_ext=cc
48118 ac_cpp='$CXXCPP $CPPFLAGS'
48119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48123 cat >conftest.$ac_ext <<_ACEOF
48124 /* confdefs.h. */
48125 _ACEOF
48126 cat confdefs.h >>conftest.$ac_ext
48127 cat >>conftest.$ac_ext <<_ACEOF
48128 /* end confdefs.h. */
48129 #include <math.h>
48130 #ifdef HAVE_IEEEFP_H
48131 #include <ieeefp.h>
48132 #endif
48135 main ()
48137 log10l(0);
48139 return 0;
48141 _ACEOF
48142 rm -f conftest.$ac_objext
48143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48144 (eval $ac_compile) 2>conftest.er1
48145 ac_status=$?
48146 grep -v '^ *+' conftest.er1 >conftest.err
48147 rm -f conftest.er1
48148 cat conftest.err >&5
48149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48150 (exit $ac_status); } &&
48151 { ac_try='test -z "$ac_cxx_werror_flag"
48152 || test ! -s conftest.err'
48153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48154 (eval $ac_try) 2>&5
48155 ac_status=$?
48156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48157 (exit $ac_status); }; } &&
48158 { ac_try='test -s conftest.$ac_objext'
48159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48160 (eval $ac_try) 2>&5
48161 ac_status=$?
48162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48163 (exit $ac_status); }; }; then
48164 glibcxx_cv_func_log10l_use=yes
48165 else
48166 echo "$as_me: failed program was:" >&5
48167 sed 's/^/| /' conftest.$ac_ext >&5
48169 glibcxx_cv_func_log10l_use=no
48171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48172 ac_ext=c
48173 ac_cpp='$CPP $CPPFLAGS'
48174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48182 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
48183 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
48185 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
48187 for ac_func in log10l
48189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48190 echo "$as_me:$LINENO: checking for $ac_func" >&5
48191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48192 if eval "test \"\${$as_ac_var+set}\" = set"; then
48193 echo $ECHO_N "(cached) $ECHO_C" >&6
48194 else
48195 if test x$gcc_no_link = xyes; then
48196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48198 { (exit 1); exit 1; }; }
48200 cat >conftest.$ac_ext <<_ACEOF
48201 /* confdefs.h. */
48202 _ACEOF
48203 cat confdefs.h >>conftest.$ac_ext
48204 cat >>conftest.$ac_ext <<_ACEOF
48205 /* end confdefs.h. */
48206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48208 #define $ac_func innocuous_$ac_func
48210 /* System header to define __stub macros and hopefully few prototypes,
48211 which can conflict with char $ac_func (); below.
48212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48213 <limits.h> exists even on freestanding compilers. */
48215 #ifdef __STDC__
48216 # include <limits.h>
48217 #else
48218 # include <assert.h>
48219 #endif
48221 #undef $ac_func
48223 /* Override any gcc2 internal prototype to avoid an error. */
48224 #ifdef __cplusplus
48225 extern "C"
48227 #endif
48228 /* We use char because int might match the return type of a gcc2
48229 builtin and then its argument prototype would still apply. */
48230 char $ac_func ();
48231 /* The GNU C library defines this for functions which it implements
48232 to always fail with ENOSYS. Some functions are actually named
48233 something starting with __ and the normal name is an alias. */
48234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48235 choke me
48236 #else
48237 char (*f) () = $ac_func;
48238 #endif
48239 #ifdef __cplusplus
48241 #endif
48244 main ()
48246 return f != $ac_func;
48248 return 0;
48250 _ACEOF
48251 rm -f conftest.$ac_objext conftest$ac_exeext
48252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48253 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
48274 else
48275 echo "$as_me: failed program was:" >&5
48276 sed 's/^/| /' conftest.$ac_ext >&5
48278 eval "$as_ac_var=no"
48280 rm -f conftest.err conftest.$ac_objext \
48281 conftest$ac_exeext conftest.$ac_ext
48283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48285 if test `eval echo '${'$as_ac_var'}'` = yes; then
48286 cat >>confdefs.h <<_ACEOF
48287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48288 _ACEOF
48291 done
48293 else
48295 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
48296 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
48297 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
48298 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
48299 echo $ECHO_N "(cached) $ECHO_C" >&6
48300 else
48304 ac_ext=cc
48305 ac_cpp='$CXXCPP $CPPFLAGS'
48306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48310 cat >conftest.$ac_ext <<_ACEOF
48311 /* confdefs.h. */
48312 _ACEOF
48313 cat confdefs.h >>conftest.$ac_ext
48314 cat >>conftest.$ac_ext <<_ACEOF
48315 /* end confdefs.h. */
48316 #include <math.h>
48317 #ifdef HAVE_IEEEFP_H
48318 #include <ieeefp.h>
48319 #endif
48322 main ()
48324 _log10l(0);
48326 return 0;
48328 _ACEOF
48329 rm -f conftest.$ac_objext
48330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48331 (eval $ac_compile) 2>conftest.er1
48332 ac_status=$?
48333 grep -v '^ *+' conftest.er1 >conftest.err
48334 rm -f conftest.er1
48335 cat conftest.err >&5
48336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48337 (exit $ac_status); } &&
48338 { ac_try='test -z "$ac_cxx_werror_flag"
48339 || test ! -s conftest.err'
48340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48341 (eval $ac_try) 2>&5
48342 ac_status=$?
48343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48344 (exit $ac_status); }; } &&
48345 { ac_try='test -s conftest.$ac_objext'
48346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48347 (eval $ac_try) 2>&5
48348 ac_status=$?
48349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48350 (exit $ac_status); }; }; then
48351 glibcxx_cv_func__log10l_use=yes
48352 else
48353 echo "$as_me: failed program was:" >&5
48354 sed 's/^/| /' conftest.$ac_ext >&5
48356 glibcxx_cv_func__log10l_use=no
48358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48359 ac_ext=c
48360 ac_cpp='$CPP $CPPFLAGS'
48361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48369 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
48370 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
48372 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
48374 for ac_func in _log10l
48376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48377 echo "$as_me:$LINENO: checking for $ac_func" >&5
48378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48379 if eval "test \"\${$as_ac_var+set}\" = set"; then
48380 echo $ECHO_N "(cached) $ECHO_C" >&6
48381 else
48382 if test x$gcc_no_link = xyes; then
48383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48385 { (exit 1); exit 1; }; }
48387 cat >conftest.$ac_ext <<_ACEOF
48388 /* confdefs.h. */
48389 _ACEOF
48390 cat confdefs.h >>conftest.$ac_ext
48391 cat >>conftest.$ac_ext <<_ACEOF
48392 /* end confdefs.h. */
48393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48395 #define $ac_func innocuous_$ac_func
48397 /* System header to define __stub macros and hopefully few prototypes,
48398 which can conflict with char $ac_func (); below.
48399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48400 <limits.h> exists even on freestanding compilers. */
48402 #ifdef __STDC__
48403 # include <limits.h>
48404 #else
48405 # include <assert.h>
48406 #endif
48408 #undef $ac_func
48410 /* Override any gcc2 internal prototype to avoid an error. */
48411 #ifdef __cplusplus
48412 extern "C"
48414 #endif
48415 /* We use char because int might match the return type of a gcc2
48416 builtin and then its argument prototype would still apply. */
48417 char $ac_func ();
48418 /* The GNU C library defines this for functions which it implements
48419 to always fail with ENOSYS. Some functions are actually named
48420 something starting with __ and the normal name is an alias. */
48421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48422 choke me
48423 #else
48424 char (*f) () = $ac_func;
48425 #endif
48426 #ifdef __cplusplus
48428 #endif
48431 main ()
48433 return f != $ac_func;
48435 return 0;
48437 _ACEOF
48438 rm -f conftest.$ac_objext conftest$ac_exeext
48439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48440 (eval $ac_link) 2>conftest.er1
48441 ac_status=$?
48442 grep -v '^ *+' conftest.er1 >conftest.err
48443 rm -f conftest.er1
48444 cat conftest.err >&5
48445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48446 (exit $ac_status); } &&
48447 { ac_try='test -z "$ac_c_werror_flag"
48448 || test ! -s conftest.err'
48449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48450 (eval $ac_try) 2>&5
48451 ac_status=$?
48452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48453 (exit $ac_status); }; } &&
48454 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
48460 eval "$as_ac_var=yes"
48461 else
48462 echo "$as_me: failed program was:" >&5
48463 sed 's/^/| /' conftest.$ac_ext >&5
48465 eval "$as_ac_var=no"
48467 rm -f conftest.err conftest.$ac_objext \
48468 conftest$ac_exeext conftest.$ac_ext
48470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48472 if test `eval echo '${'$as_ac_var'}'` = yes; then
48473 cat >>confdefs.h <<_ACEOF
48474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48475 _ACEOF
48478 done
48488 echo "$as_me:$LINENO: checking for modfl declaration" >&5
48489 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
48490 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
48491 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
48492 echo $ECHO_N "(cached) $ECHO_C" >&6
48493 else
48497 ac_ext=cc
48498 ac_cpp='$CXXCPP $CPPFLAGS'
48499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48503 cat >conftest.$ac_ext <<_ACEOF
48504 /* confdefs.h. */
48505 _ACEOF
48506 cat confdefs.h >>conftest.$ac_ext
48507 cat >>conftest.$ac_ext <<_ACEOF
48508 /* end confdefs.h. */
48509 #include <math.h>
48511 main ()
48513 modfl(0, 0);
48515 return 0;
48517 _ACEOF
48518 rm -f conftest.$ac_objext
48519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48520 (eval $ac_compile) 2>conftest.er1
48521 ac_status=$?
48522 grep -v '^ *+' conftest.er1 >conftest.err
48523 rm -f conftest.er1
48524 cat conftest.err >&5
48525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48526 (exit $ac_status); } &&
48527 { ac_try='test -z "$ac_cxx_werror_flag"
48528 || test ! -s conftest.err'
48529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48530 (eval $ac_try) 2>&5
48531 ac_status=$?
48532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48533 (exit $ac_status); }; } &&
48534 { ac_try='test -s conftest.$ac_objext'
48535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48536 (eval $ac_try) 2>&5
48537 ac_status=$?
48538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48539 (exit $ac_status); }; }; then
48540 glibcxx_cv_func_modfl_use=yes
48541 else
48542 echo "$as_me: failed program was:" >&5
48543 sed 's/^/| /' conftest.$ac_ext >&5
48545 glibcxx_cv_func_modfl_use=no
48547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48548 ac_ext=c
48549 ac_cpp='$CPP $CPPFLAGS'
48550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48558 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
48559 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
48561 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
48563 for ac_func in modfl
48565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48566 echo "$as_me:$LINENO: checking for $ac_func" >&5
48567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48568 if eval "test \"\${$as_ac_var+set}\" = set"; then
48569 echo $ECHO_N "(cached) $ECHO_C" >&6
48570 else
48571 if test x$gcc_no_link = xyes; then
48572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48574 { (exit 1); exit 1; }; }
48576 cat >conftest.$ac_ext <<_ACEOF
48577 /* confdefs.h. */
48578 _ACEOF
48579 cat confdefs.h >>conftest.$ac_ext
48580 cat >>conftest.$ac_ext <<_ACEOF
48581 /* end confdefs.h. */
48582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48584 #define $ac_func innocuous_$ac_func
48586 /* System header to define __stub macros and hopefully few prototypes,
48587 which can conflict with char $ac_func (); below.
48588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48589 <limits.h> exists even on freestanding compilers. */
48591 #ifdef __STDC__
48592 # include <limits.h>
48593 #else
48594 # include <assert.h>
48595 #endif
48597 #undef $ac_func
48599 /* Override any gcc2 internal prototype to avoid an error. */
48600 #ifdef __cplusplus
48601 extern "C"
48603 #endif
48604 /* We use char because int might match the return type of a gcc2
48605 builtin and then its argument prototype would still apply. */
48606 char $ac_func ();
48607 /* The GNU C library defines this for functions which it implements
48608 to always fail with ENOSYS. Some functions are actually named
48609 something starting with __ and the normal name is an alias. */
48610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48611 choke me
48612 #else
48613 char (*f) () = $ac_func;
48614 #endif
48615 #ifdef __cplusplus
48617 #endif
48620 main ()
48622 return f != $ac_func;
48624 return 0;
48626 _ACEOF
48627 rm -f conftest.$ac_objext conftest$ac_exeext
48628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48629 (eval $ac_link) 2>conftest.er1
48630 ac_status=$?
48631 grep -v '^ *+' conftest.er1 >conftest.err
48632 rm -f conftest.er1
48633 cat conftest.err >&5
48634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48635 (exit $ac_status); } &&
48636 { ac_try='test -z "$ac_c_werror_flag"
48637 || test ! -s conftest.err'
48638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48639 (eval $ac_try) 2>&5
48640 ac_status=$?
48641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48642 (exit $ac_status); }; } &&
48643 { ac_try='test -s conftest$ac_exeext'
48644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48645 (eval $ac_try) 2>&5
48646 ac_status=$?
48647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48648 (exit $ac_status); }; }; then
48649 eval "$as_ac_var=yes"
48650 else
48651 echo "$as_me: failed program was:" >&5
48652 sed 's/^/| /' conftest.$ac_ext >&5
48654 eval "$as_ac_var=no"
48656 rm -f conftest.err conftest.$ac_objext \
48657 conftest$ac_exeext conftest.$ac_ext
48659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48661 if test `eval echo '${'$as_ac_var'}'` = yes; then
48662 cat >>confdefs.h <<_ACEOF
48663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48664 _ACEOF
48667 done
48669 else
48671 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
48672 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
48673 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
48674 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
48675 echo $ECHO_N "(cached) $ECHO_C" >&6
48676 else
48680 ac_ext=cc
48681 ac_cpp='$CXXCPP $CPPFLAGS'
48682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48686 cat >conftest.$ac_ext <<_ACEOF
48687 /* confdefs.h. */
48688 _ACEOF
48689 cat confdefs.h >>conftest.$ac_ext
48690 cat >>conftest.$ac_ext <<_ACEOF
48691 /* end confdefs.h. */
48692 #include <math.h>
48694 main ()
48696 _modfl(0, 0);
48698 return 0;
48700 _ACEOF
48701 rm -f conftest.$ac_objext
48702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48703 (eval $ac_compile) 2>conftest.er1
48704 ac_status=$?
48705 grep -v '^ *+' conftest.er1 >conftest.err
48706 rm -f conftest.er1
48707 cat conftest.err >&5
48708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48709 (exit $ac_status); } &&
48710 { ac_try='test -z "$ac_cxx_werror_flag"
48711 || test ! -s conftest.err'
48712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48713 (eval $ac_try) 2>&5
48714 ac_status=$?
48715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48716 (exit $ac_status); }; } &&
48717 { ac_try='test -s conftest.$ac_objext'
48718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48719 (eval $ac_try) 2>&5
48720 ac_status=$?
48721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48722 (exit $ac_status); }; }; then
48723 glibcxx_cv_func__modfl_use=yes
48724 else
48725 echo "$as_me: failed program was:" >&5
48726 sed 's/^/| /' conftest.$ac_ext >&5
48728 glibcxx_cv_func__modfl_use=no
48730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48731 ac_ext=c
48732 ac_cpp='$CPP $CPPFLAGS'
48733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48741 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
48742 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
48744 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
48746 for ac_func in _modfl
48748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48749 echo "$as_me:$LINENO: checking for $ac_func" >&5
48750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48751 if eval "test \"\${$as_ac_var+set}\" = set"; then
48752 echo $ECHO_N "(cached) $ECHO_C" >&6
48753 else
48754 if test x$gcc_no_link = xyes; then
48755 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48757 { (exit 1); exit 1; }; }
48759 cat >conftest.$ac_ext <<_ACEOF
48760 /* confdefs.h. */
48761 _ACEOF
48762 cat confdefs.h >>conftest.$ac_ext
48763 cat >>conftest.$ac_ext <<_ACEOF
48764 /* end confdefs.h. */
48765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48767 #define $ac_func innocuous_$ac_func
48769 /* System header to define __stub macros and hopefully few prototypes,
48770 which can conflict with char $ac_func (); below.
48771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48772 <limits.h> exists even on freestanding compilers. */
48774 #ifdef __STDC__
48775 # include <limits.h>
48776 #else
48777 # include <assert.h>
48778 #endif
48780 #undef $ac_func
48782 /* Override any gcc2 internal prototype to avoid an error. */
48783 #ifdef __cplusplus
48784 extern "C"
48786 #endif
48787 /* We use char because int might match the return type of a gcc2
48788 builtin and then its argument prototype would still apply. */
48789 char $ac_func ();
48790 /* The GNU C library defines this for functions which it implements
48791 to always fail with ENOSYS. Some functions are actually named
48792 something starting with __ and the normal name is an alias. */
48793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48794 choke me
48795 #else
48796 char (*f) () = $ac_func;
48797 #endif
48798 #ifdef __cplusplus
48800 #endif
48803 main ()
48805 return f != $ac_func;
48807 return 0;
48809 _ACEOF
48810 rm -f conftest.$ac_objext conftest$ac_exeext
48811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48812 (eval $ac_link) 2>conftest.er1
48813 ac_status=$?
48814 grep -v '^ *+' conftest.er1 >conftest.err
48815 rm -f conftest.er1
48816 cat conftest.err >&5
48817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48818 (exit $ac_status); } &&
48819 { ac_try='test -z "$ac_c_werror_flag"
48820 || test ! -s conftest.err'
48821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48822 (eval $ac_try) 2>&5
48823 ac_status=$?
48824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48825 (exit $ac_status); }; } &&
48826 { ac_try='test -s conftest$ac_exeext'
48827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48828 (eval $ac_try) 2>&5
48829 ac_status=$?
48830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48831 (exit $ac_status); }; }; then
48832 eval "$as_ac_var=yes"
48833 else
48834 echo "$as_me: failed program was:" >&5
48835 sed 's/^/| /' conftest.$ac_ext >&5
48837 eval "$as_ac_var=no"
48839 rm -f conftest.err conftest.$ac_objext \
48840 conftest$ac_exeext conftest.$ac_ext
48842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48844 if test `eval echo '${'$as_ac_var'}'` = yes; then
48845 cat >>confdefs.h <<_ACEOF
48846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48847 _ACEOF
48850 done
48860 echo "$as_me:$LINENO: checking for powl declaration" >&5
48861 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
48862 if test x${glibcxx_cv_func_powl_use+set} != xset; then
48863 if test "${glibcxx_cv_func_powl_use+set}" = set; then
48864 echo $ECHO_N "(cached) $ECHO_C" >&6
48865 else
48869 ac_ext=cc
48870 ac_cpp='$CXXCPP $CPPFLAGS'
48871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48875 cat >conftest.$ac_ext <<_ACEOF
48876 /* confdefs.h. */
48877 _ACEOF
48878 cat confdefs.h >>conftest.$ac_ext
48879 cat >>conftest.$ac_ext <<_ACEOF
48880 /* end confdefs.h. */
48881 #include <math.h>
48883 main ()
48885 powl(0, 0);
48887 return 0;
48889 _ACEOF
48890 rm -f conftest.$ac_objext
48891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48892 (eval $ac_compile) 2>conftest.er1
48893 ac_status=$?
48894 grep -v '^ *+' conftest.er1 >conftest.err
48895 rm -f conftest.er1
48896 cat conftest.err >&5
48897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48898 (exit $ac_status); } &&
48899 { ac_try='test -z "$ac_cxx_werror_flag"
48900 || test ! -s conftest.err'
48901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48902 (eval $ac_try) 2>&5
48903 ac_status=$?
48904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48905 (exit $ac_status); }; } &&
48906 { ac_try='test -s conftest.$ac_objext'
48907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48908 (eval $ac_try) 2>&5
48909 ac_status=$?
48910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48911 (exit $ac_status); }; }; then
48912 glibcxx_cv_func_powl_use=yes
48913 else
48914 echo "$as_me: failed program was:" >&5
48915 sed 's/^/| /' conftest.$ac_ext >&5
48917 glibcxx_cv_func_powl_use=no
48919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48920 ac_ext=c
48921 ac_cpp='$CPP $CPPFLAGS'
48922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48930 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
48931 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
48933 if test x$glibcxx_cv_func_powl_use = x"yes"; then
48935 for ac_func in powl
48937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48938 echo "$as_me:$LINENO: checking for $ac_func" >&5
48939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48940 if eval "test \"\${$as_ac_var+set}\" = set"; then
48941 echo $ECHO_N "(cached) $ECHO_C" >&6
48942 else
48943 if test x$gcc_no_link = xyes; then
48944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48946 { (exit 1); exit 1; }; }
48948 cat >conftest.$ac_ext <<_ACEOF
48949 /* confdefs.h. */
48950 _ACEOF
48951 cat confdefs.h >>conftest.$ac_ext
48952 cat >>conftest.$ac_ext <<_ACEOF
48953 /* end confdefs.h. */
48954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48956 #define $ac_func innocuous_$ac_func
48958 /* System header to define __stub macros and hopefully few prototypes,
48959 which can conflict with char $ac_func (); below.
48960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48961 <limits.h> exists even on freestanding compilers. */
48963 #ifdef __STDC__
48964 # include <limits.h>
48965 #else
48966 # include <assert.h>
48967 #endif
48969 #undef $ac_func
48971 /* Override any gcc2 internal prototype to avoid an error. */
48972 #ifdef __cplusplus
48973 extern "C"
48975 #endif
48976 /* We use char because int might match the return type of a gcc2
48977 builtin and then its argument prototype would still apply. */
48978 char $ac_func ();
48979 /* The GNU C library defines this for functions which it implements
48980 to always fail with ENOSYS. Some functions are actually named
48981 something starting with __ and the normal name is an alias. */
48982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48983 choke me
48984 #else
48985 char (*f) () = $ac_func;
48986 #endif
48987 #ifdef __cplusplus
48989 #endif
48992 main ()
48994 return f != $ac_func;
48996 return 0;
48998 _ACEOF
48999 rm -f conftest.$ac_objext conftest$ac_exeext
49000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49001 (eval $ac_link) 2>conftest.er1
49002 ac_status=$?
49003 grep -v '^ *+' conftest.er1 >conftest.err
49004 rm -f conftest.er1
49005 cat conftest.err >&5
49006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49007 (exit $ac_status); } &&
49008 { ac_try='test -z "$ac_c_werror_flag"
49009 || test ! -s conftest.err'
49010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49011 (eval $ac_try) 2>&5
49012 ac_status=$?
49013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49014 (exit $ac_status); }; } &&
49015 { ac_try='test -s conftest$ac_exeext'
49016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49017 (eval $ac_try) 2>&5
49018 ac_status=$?
49019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49020 (exit $ac_status); }; }; then
49021 eval "$as_ac_var=yes"
49022 else
49023 echo "$as_me: failed program was:" >&5
49024 sed 's/^/| /' conftest.$ac_ext >&5
49026 eval "$as_ac_var=no"
49028 rm -f conftest.err conftest.$ac_objext \
49029 conftest$ac_exeext conftest.$ac_ext
49031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49033 if test `eval echo '${'$as_ac_var'}'` = yes; then
49034 cat >>confdefs.h <<_ACEOF
49035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49036 _ACEOF
49039 done
49041 else
49043 echo "$as_me:$LINENO: checking for _powl declaration" >&5
49044 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
49045 if test x${glibcxx_cv_func__powl_use+set} != xset; then
49046 if test "${glibcxx_cv_func__powl_use+set}" = set; then
49047 echo $ECHO_N "(cached) $ECHO_C" >&6
49048 else
49052 ac_ext=cc
49053 ac_cpp='$CXXCPP $CPPFLAGS'
49054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49058 cat >conftest.$ac_ext <<_ACEOF
49059 /* confdefs.h. */
49060 _ACEOF
49061 cat confdefs.h >>conftest.$ac_ext
49062 cat >>conftest.$ac_ext <<_ACEOF
49063 /* end confdefs.h. */
49064 #include <math.h>
49066 main ()
49068 _powl(0, 0);
49070 return 0;
49072 _ACEOF
49073 rm -f conftest.$ac_objext
49074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49075 (eval $ac_compile) 2>conftest.er1
49076 ac_status=$?
49077 grep -v '^ *+' conftest.er1 >conftest.err
49078 rm -f conftest.er1
49079 cat conftest.err >&5
49080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49081 (exit $ac_status); } &&
49082 { ac_try='test -z "$ac_cxx_werror_flag"
49083 || test ! -s conftest.err'
49084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49085 (eval $ac_try) 2>&5
49086 ac_status=$?
49087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49088 (exit $ac_status); }; } &&
49089 { ac_try='test -s conftest.$ac_objext'
49090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49091 (eval $ac_try) 2>&5
49092 ac_status=$?
49093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49094 (exit $ac_status); }; }; then
49095 glibcxx_cv_func__powl_use=yes
49096 else
49097 echo "$as_me: failed program was:" >&5
49098 sed 's/^/| /' conftest.$ac_ext >&5
49100 glibcxx_cv_func__powl_use=no
49102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49103 ac_ext=c
49104 ac_cpp='$CPP $CPPFLAGS'
49105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49113 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
49114 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
49116 if test x$glibcxx_cv_func__powl_use = x"yes"; then
49118 for ac_func in _powl
49120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49121 echo "$as_me:$LINENO: checking for $ac_func" >&5
49122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49123 if eval "test \"\${$as_ac_var+set}\" = set"; then
49124 echo $ECHO_N "(cached) $ECHO_C" >&6
49125 else
49126 if test x$gcc_no_link = xyes; then
49127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49129 { (exit 1); exit 1; }; }
49131 cat >conftest.$ac_ext <<_ACEOF
49132 /* confdefs.h. */
49133 _ACEOF
49134 cat confdefs.h >>conftest.$ac_ext
49135 cat >>conftest.$ac_ext <<_ACEOF
49136 /* end confdefs.h. */
49137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49139 #define $ac_func innocuous_$ac_func
49141 /* System header to define __stub macros and hopefully few prototypes,
49142 which can conflict with char $ac_func (); below.
49143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49144 <limits.h> exists even on freestanding compilers. */
49146 #ifdef __STDC__
49147 # include <limits.h>
49148 #else
49149 # include <assert.h>
49150 #endif
49152 #undef $ac_func
49154 /* Override any gcc2 internal prototype to avoid an error. */
49155 #ifdef __cplusplus
49156 extern "C"
49158 #endif
49159 /* We use char because int might match the return type of a gcc2
49160 builtin and then its argument prototype would still apply. */
49161 char $ac_func ();
49162 /* The GNU C library defines this for functions which it implements
49163 to always fail with ENOSYS. Some functions are actually named
49164 something starting with __ and the normal name is an alias. */
49165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49166 choke me
49167 #else
49168 char (*f) () = $ac_func;
49169 #endif
49170 #ifdef __cplusplus
49172 #endif
49175 main ()
49177 return f != $ac_func;
49179 return 0;
49181 _ACEOF
49182 rm -f conftest.$ac_objext conftest$ac_exeext
49183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49184 (eval $ac_link) 2>conftest.er1
49185 ac_status=$?
49186 grep -v '^ *+' conftest.er1 >conftest.err
49187 rm -f conftest.er1
49188 cat conftest.err >&5
49189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49190 (exit $ac_status); } &&
49191 { ac_try='test -z "$ac_c_werror_flag"
49192 || test ! -s conftest.err'
49193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49194 (eval $ac_try) 2>&5
49195 ac_status=$?
49196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49197 (exit $ac_status); }; } &&
49198 { ac_try='test -s conftest$ac_exeext'
49199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49200 (eval $ac_try) 2>&5
49201 ac_status=$?
49202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49203 (exit $ac_status); }; }; then
49204 eval "$as_ac_var=yes"
49205 else
49206 echo "$as_me: failed program was:" >&5
49207 sed 's/^/| /' conftest.$ac_ext >&5
49209 eval "$as_ac_var=no"
49211 rm -f conftest.err conftest.$ac_objext \
49212 conftest$ac_exeext conftest.$ac_ext
49214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49216 if test `eval echo '${'$as_ac_var'}'` = yes; then
49217 cat >>confdefs.h <<_ACEOF
49218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49219 _ACEOF
49222 done
49232 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
49233 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
49234 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
49235 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
49236 echo $ECHO_N "(cached) $ECHO_C" >&6
49237 else
49241 ac_ext=cc
49242 ac_cpp='$CXXCPP $CPPFLAGS'
49243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49247 cat >conftest.$ac_ext <<_ACEOF
49248 /* confdefs.h. */
49249 _ACEOF
49250 cat confdefs.h >>conftest.$ac_ext
49251 cat >>conftest.$ac_ext <<_ACEOF
49252 /* end confdefs.h. */
49253 #include <math.h>
49254 #ifdef HAVE_IEEEFP_H
49255 #include <ieeefp.h>
49256 #endif
49259 main ()
49261 sqrtl(0);
49263 return 0;
49265 _ACEOF
49266 rm -f conftest.$ac_objext
49267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49268 (eval $ac_compile) 2>conftest.er1
49269 ac_status=$?
49270 grep -v '^ *+' conftest.er1 >conftest.err
49271 rm -f conftest.er1
49272 cat conftest.err >&5
49273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49274 (exit $ac_status); } &&
49275 { ac_try='test -z "$ac_cxx_werror_flag"
49276 || test ! -s conftest.err'
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); }; } &&
49282 { ac_try='test -s conftest.$ac_objext'
49283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49284 (eval $ac_try) 2>&5
49285 ac_status=$?
49286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49287 (exit $ac_status); }; }; then
49288 glibcxx_cv_func_sqrtl_use=yes
49289 else
49290 echo "$as_me: failed program was:" >&5
49291 sed 's/^/| /' conftest.$ac_ext >&5
49293 glibcxx_cv_func_sqrtl_use=no
49295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49296 ac_ext=c
49297 ac_cpp='$CPP $CPPFLAGS'
49298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49306 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
49307 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
49309 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
49311 for ac_func in sqrtl
49313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49314 echo "$as_me:$LINENO: checking for $ac_func" >&5
49315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49316 if eval "test \"\${$as_ac_var+set}\" = set"; then
49317 echo $ECHO_N "(cached) $ECHO_C" >&6
49318 else
49319 if test x$gcc_no_link = xyes; then
49320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49322 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49332 #define $ac_func innocuous_$ac_func
49334 /* System header to define __stub macros and hopefully few prototypes,
49335 which can conflict with char $ac_func (); below.
49336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49337 <limits.h> exists even on freestanding compilers. */
49339 #ifdef __STDC__
49340 # include <limits.h>
49341 #else
49342 # include <assert.h>
49343 #endif
49345 #undef $ac_func
49347 /* Override any gcc2 internal prototype to avoid an error. */
49348 #ifdef __cplusplus
49349 extern "C"
49351 #endif
49352 /* We use char because int might match the return type of a gcc2
49353 builtin and then its argument prototype would still apply. */
49354 char $ac_func ();
49355 /* The GNU C library defines this for functions which it implements
49356 to always fail with ENOSYS. Some functions are actually named
49357 something starting with __ and the normal name is an alias. */
49358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49359 choke me
49360 #else
49361 char (*f) () = $ac_func;
49362 #endif
49363 #ifdef __cplusplus
49365 #endif
49368 main ()
49370 return f != $ac_func;
49372 return 0;
49374 _ACEOF
49375 rm -f conftest.$ac_objext conftest$ac_exeext
49376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49377 (eval $ac_link) 2>conftest.er1
49378 ac_status=$?
49379 grep -v '^ *+' conftest.er1 >conftest.err
49380 rm -f conftest.er1
49381 cat conftest.err >&5
49382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49383 (exit $ac_status); } &&
49384 { ac_try='test -z "$ac_c_werror_flag"
49385 || test ! -s conftest.err'
49386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49387 (eval $ac_try) 2>&5
49388 ac_status=$?
49389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49390 (exit $ac_status); }; } &&
49391 { ac_try='test -s conftest$ac_exeext'
49392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49393 (eval $ac_try) 2>&5
49394 ac_status=$?
49395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49396 (exit $ac_status); }; }; then
49397 eval "$as_ac_var=yes"
49398 else
49399 echo "$as_me: failed program was:" >&5
49400 sed 's/^/| /' conftest.$ac_ext >&5
49402 eval "$as_ac_var=no"
49404 rm -f conftest.err conftest.$ac_objext \
49405 conftest$ac_exeext conftest.$ac_ext
49407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49409 if test `eval echo '${'$as_ac_var'}'` = yes; then
49410 cat >>confdefs.h <<_ACEOF
49411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49412 _ACEOF
49415 done
49417 else
49419 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
49420 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
49421 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
49422 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
49423 echo $ECHO_N "(cached) $ECHO_C" >&6
49424 else
49428 ac_ext=cc
49429 ac_cpp='$CXXCPP $CPPFLAGS'
49430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49434 cat >conftest.$ac_ext <<_ACEOF
49435 /* confdefs.h. */
49436 _ACEOF
49437 cat confdefs.h >>conftest.$ac_ext
49438 cat >>conftest.$ac_ext <<_ACEOF
49439 /* end confdefs.h. */
49440 #include <math.h>
49441 #ifdef HAVE_IEEEFP_H
49442 #include <ieeefp.h>
49443 #endif
49446 main ()
49448 _sqrtl(0);
49450 return 0;
49452 _ACEOF
49453 rm -f conftest.$ac_objext
49454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49455 (eval $ac_compile) 2>conftest.er1
49456 ac_status=$?
49457 grep -v '^ *+' conftest.er1 >conftest.err
49458 rm -f conftest.er1
49459 cat conftest.err >&5
49460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49461 (exit $ac_status); } &&
49462 { ac_try='test -z "$ac_cxx_werror_flag"
49463 || test ! -s conftest.err'
49464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49465 (eval $ac_try) 2>&5
49466 ac_status=$?
49467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49468 (exit $ac_status); }; } &&
49469 { ac_try='test -s conftest.$ac_objext'
49470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49471 (eval $ac_try) 2>&5
49472 ac_status=$?
49473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49474 (exit $ac_status); }; }; then
49475 glibcxx_cv_func__sqrtl_use=yes
49476 else
49477 echo "$as_me: failed program was:" >&5
49478 sed 's/^/| /' conftest.$ac_ext >&5
49480 glibcxx_cv_func__sqrtl_use=no
49482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49483 ac_ext=c
49484 ac_cpp='$CPP $CPPFLAGS'
49485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49493 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
49494 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
49496 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
49498 for ac_func in _sqrtl
49500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49501 echo "$as_me:$LINENO: checking for $ac_func" >&5
49502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49503 if eval "test \"\${$as_ac_var+set}\" = set"; then
49504 echo $ECHO_N "(cached) $ECHO_C" >&6
49505 else
49506 if test x$gcc_no_link = xyes; then
49507 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49509 { (exit 1); exit 1; }; }
49511 cat >conftest.$ac_ext <<_ACEOF
49512 /* confdefs.h. */
49513 _ACEOF
49514 cat confdefs.h >>conftest.$ac_ext
49515 cat >>conftest.$ac_ext <<_ACEOF
49516 /* end confdefs.h. */
49517 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49519 #define $ac_func innocuous_$ac_func
49521 /* System header to define __stub macros and hopefully few prototypes,
49522 which can conflict with char $ac_func (); below.
49523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49524 <limits.h> exists even on freestanding compilers. */
49526 #ifdef __STDC__
49527 # include <limits.h>
49528 #else
49529 # include <assert.h>
49530 #endif
49532 #undef $ac_func
49534 /* Override any gcc2 internal prototype to avoid an error. */
49535 #ifdef __cplusplus
49536 extern "C"
49538 #endif
49539 /* We use char because int might match the return type of a gcc2
49540 builtin and then its argument prototype would still apply. */
49541 char $ac_func ();
49542 /* The GNU C library defines this for functions which it implements
49543 to always fail with ENOSYS. Some functions are actually named
49544 something starting with __ and the normal name is an alias. */
49545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49546 choke me
49547 #else
49548 char (*f) () = $ac_func;
49549 #endif
49550 #ifdef __cplusplus
49552 #endif
49555 main ()
49557 return f != $ac_func;
49559 return 0;
49561 _ACEOF
49562 rm -f conftest.$ac_objext conftest$ac_exeext
49563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49564 (eval $ac_link) 2>conftest.er1
49565 ac_status=$?
49566 grep -v '^ *+' conftest.er1 >conftest.err
49567 rm -f conftest.er1
49568 cat conftest.err >&5
49569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49570 (exit $ac_status); } &&
49571 { ac_try='test -z "$ac_c_werror_flag"
49572 || test ! -s conftest.err'
49573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49574 (eval $ac_try) 2>&5
49575 ac_status=$?
49576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49577 (exit $ac_status); }; } &&
49578 { ac_try='test -s conftest$ac_exeext'
49579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49580 (eval $ac_try) 2>&5
49581 ac_status=$?
49582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49583 (exit $ac_status); }; }; then
49584 eval "$as_ac_var=yes"
49585 else
49586 echo "$as_me: failed program was:" >&5
49587 sed 's/^/| /' conftest.$ac_ext >&5
49589 eval "$as_ac_var=no"
49591 rm -f conftest.err conftest.$ac_objext \
49592 conftest$ac_exeext conftest.$ac_ext
49594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49595 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49596 if test `eval echo '${'$as_ac_var'}'` = yes; then
49597 cat >>confdefs.h <<_ACEOF
49598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49599 _ACEOF
49602 done
49612 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
49613 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
49614 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
49615 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
49616 echo $ECHO_N "(cached) $ECHO_C" >&6
49617 else
49621 ac_ext=cc
49622 ac_cpp='$CXXCPP $CPPFLAGS'
49623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49627 cat >conftest.$ac_ext <<_ACEOF
49628 /* confdefs.h. */
49629 _ACEOF
49630 cat confdefs.h >>conftest.$ac_ext
49631 cat >>conftest.$ac_ext <<_ACEOF
49632 /* end confdefs.h. */
49633 #include <math.h>
49635 main ()
49637 sincosl(0, 0, 0);
49639 return 0;
49641 _ACEOF
49642 rm -f conftest.$ac_objext
49643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49644 (eval $ac_compile) 2>conftest.er1
49645 ac_status=$?
49646 grep -v '^ *+' conftest.er1 >conftest.err
49647 rm -f conftest.er1
49648 cat conftest.err >&5
49649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49650 (exit $ac_status); } &&
49651 { ac_try='test -z "$ac_cxx_werror_flag"
49652 || test ! -s conftest.err'
49653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49654 (eval $ac_try) 2>&5
49655 ac_status=$?
49656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49657 (exit $ac_status); }; } &&
49658 { ac_try='test -s conftest.$ac_objext'
49659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49660 (eval $ac_try) 2>&5
49661 ac_status=$?
49662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49663 (exit $ac_status); }; }; then
49664 glibcxx_cv_func_sincosl_use=yes
49665 else
49666 echo "$as_me: failed program was:" >&5
49667 sed 's/^/| /' conftest.$ac_ext >&5
49669 glibcxx_cv_func_sincosl_use=no
49671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49672 ac_ext=c
49673 ac_cpp='$CPP $CPPFLAGS'
49674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49682 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
49683 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
49685 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
49687 for ac_func in sincosl
49689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49690 echo "$as_me:$LINENO: checking for $ac_func" >&5
49691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49692 if eval "test \"\${$as_ac_var+set}\" = set"; then
49693 echo $ECHO_N "(cached) $ECHO_C" >&6
49694 else
49695 if test x$gcc_no_link = xyes; then
49696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49698 { (exit 1); exit 1; }; }
49700 cat >conftest.$ac_ext <<_ACEOF
49701 /* confdefs.h. */
49702 _ACEOF
49703 cat confdefs.h >>conftest.$ac_ext
49704 cat >>conftest.$ac_ext <<_ACEOF
49705 /* end confdefs.h. */
49706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49708 #define $ac_func innocuous_$ac_func
49710 /* System header to define __stub macros and hopefully few prototypes,
49711 which can conflict with char $ac_func (); below.
49712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49713 <limits.h> exists even on freestanding compilers. */
49715 #ifdef __STDC__
49716 # include <limits.h>
49717 #else
49718 # include <assert.h>
49719 #endif
49721 #undef $ac_func
49723 /* Override any gcc2 internal prototype to avoid an error. */
49724 #ifdef __cplusplus
49725 extern "C"
49727 #endif
49728 /* We use char because int might match the return type of a gcc2
49729 builtin and then its argument prototype would still apply. */
49730 char $ac_func ();
49731 /* The GNU C library defines this for functions which it implements
49732 to always fail with ENOSYS. Some functions are actually named
49733 something starting with __ and the normal name is an alias. */
49734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49735 choke me
49736 #else
49737 char (*f) () = $ac_func;
49738 #endif
49739 #ifdef __cplusplus
49741 #endif
49744 main ()
49746 return f != $ac_func;
49748 return 0;
49750 _ACEOF
49751 rm -f conftest.$ac_objext conftest$ac_exeext
49752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49753 (eval $ac_link) 2>conftest.er1
49754 ac_status=$?
49755 grep -v '^ *+' conftest.er1 >conftest.err
49756 rm -f conftest.er1
49757 cat conftest.err >&5
49758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49759 (exit $ac_status); } &&
49760 { ac_try='test -z "$ac_c_werror_flag"
49761 || test ! -s conftest.err'
49762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49763 (eval $ac_try) 2>&5
49764 ac_status=$?
49765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49766 (exit $ac_status); }; } &&
49767 { ac_try='test -s conftest$ac_exeext'
49768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49769 (eval $ac_try) 2>&5
49770 ac_status=$?
49771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49772 (exit $ac_status); }; }; then
49773 eval "$as_ac_var=yes"
49774 else
49775 echo "$as_me: failed program was:" >&5
49776 sed 's/^/| /' conftest.$ac_ext >&5
49778 eval "$as_ac_var=no"
49780 rm -f conftest.err conftest.$ac_objext \
49781 conftest$ac_exeext conftest.$ac_ext
49783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49785 if test `eval echo '${'$as_ac_var'}'` = yes; then
49786 cat >>confdefs.h <<_ACEOF
49787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49788 _ACEOF
49791 done
49793 else
49795 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
49796 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
49797 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
49798 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
49799 echo $ECHO_N "(cached) $ECHO_C" >&6
49800 else
49804 ac_ext=cc
49805 ac_cpp='$CXXCPP $CPPFLAGS'
49806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49810 cat >conftest.$ac_ext <<_ACEOF
49811 /* confdefs.h. */
49812 _ACEOF
49813 cat confdefs.h >>conftest.$ac_ext
49814 cat >>conftest.$ac_ext <<_ACEOF
49815 /* end confdefs.h. */
49816 #include <math.h>
49818 main ()
49820 _sincosl(0, 0, 0);
49822 return 0;
49824 _ACEOF
49825 rm -f conftest.$ac_objext
49826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49827 (eval $ac_compile) 2>conftest.er1
49828 ac_status=$?
49829 grep -v '^ *+' conftest.er1 >conftest.err
49830 rm -f conftest.er1
49831 cat conftest.err >&5
49832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49833 (exit $ac_status); } &&
49834 { ac_try='test -z "$ac_cxx_werror_flag"
49835 || test ! -s conftest.err'
49836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49837 (eval $ac_try) 2>&5
49838 ac_status=$?
49839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49840 (exit $ac_status); }; } &&
49841 { ac_try='test -s conftest.$ac_objext'
49842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49843 (eval $ac_try) 2>&5
49844 ac_status=$?
49845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49846 (exit $ac_status); }; }; then
49847 glibcxx_cv_func__sincosl_use=yes
49848 else
49849 echo "$as_me: failed program was:" >&5
49850 sed 's/^/| /' conftest.$ac_ext >&5
49852 glibcxx_cv_func__sincosl_use=no
49854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49855 ac_ext=c
49856 ac_cpp='$CPP $CPPFLAGS'
49857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49865 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
49866 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
49868 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
49870 for ac_func in _sincosl
49872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49873 echo "$as_me:$LINENO: checking for $ac_func" >&5
49874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49875 if eval "test \"\${$as_ac_var+set}\" = set"; then
49876 echo $ECHO_N "(cached) $ECHO_C" >&6
49877 else
49878 if test x$gcc_no_link = xyes; then
49879 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49881 { (exit 1); exit 1; }; }
49883 cat >conftest.$ac_ext <<_ACEOF
49884 /* confdefs.h. */
49885 _ACEOF
49886 cat confdefs.h >>conftest.$ac_ext
49887 cat >>conftest.$ac_ext <<_ACEOF
49888 /* end confdefs.h. */
49889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49891 #define $ac_func innocuous_$ac_func
49893 /* System header to define __stub macros and hopefully few prototypes,
49894 which can conflict with char $ac_func (); below.
49895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49896 <limits.h> exists even on freestanding compilers. */
49898 #ifdef __STDC__
49899 # include <limits.h>
49900 #else
49901 # include <assert.h>
49902 #endif
49904 #undef $ac_func
49906 /* Override any gcc2 internal prototype to avoid an error. */
49907 #ifdef __cplusplus
49908 extern "C"
49910 #endif
49911 /* We use char because int might match the return type of a gcc2
49912 builtin and then its argument prototype would still apply. */
49913 char $ac_func ();
49914 /* The GNU C library defines this for functions which it implements
49915 to always fail with ENOSYS. Some functions are actually named
49916 something starting with __ and the normal name is an alias. */
49917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49918 choke me
49919 #else
49920 char (*f) () = $ac_func;
49921 #endif
49922 #ifdef __cplusplus
49924 #endif
49927 main ()
49929 return f != $ac_func;
49931 return 0;
49933 _ACEOF
49934 rm -f conftest.$ac_objext conftest$ac_exeext
49935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49936 (eval $ac_link) 2>conftest.er1
49937 ac_status=$?
49938 grep -v '^ *+' conftest.er1 >conftest.err
49939 rm -f conftest.er1
49940 cat conftest.err >&5
49941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49942 (exit $ac_status); } &&
49943 { ac_try='test -z "$ac_c_werror_flag"
49944 || test ! -s conftest.err'
49945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49946 (eval $ac_try) 2>&5
49947 ac_status=$?
49948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49949 (exit $ac_status); }; } &&
49950 { ac_try='test -s conftest$ac_exeext'
49951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49952 (eval $ac_try) 2>&5
49953 ac_status=$?
49954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49955 (exit $ac_status); }; }; then
49956 eval "$as_ac_var=yes"
49957 else
49958 echo "$as_me: failed program was:" >&5
49959 sed 's/^/| /' conftest.$ac_ext >&5
49961 eval "$as_ac_var=no"
49963 rm -f conftest.err conftest.$ac_objext \
49964 conftest$ac_exeext conftest.$ac_ext
49966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49968 if test `eval echo '${'$as_ac_var'}'` = yes; then
49969 cat >>confdefs.h <<_ACEOF
49970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49971 _ACEOF
49974 done
49984 echo "$as_me:$LINENO: checking for finitel declaration" >&5
49985 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
49986 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
49987 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
49988 echo $ECHO_N "(cached) $ECHO_C" >&6
49989 else
49993 ac_ext=cc
49994 ac_cpp='$CXXCPP $CPPFLAGS'
49995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49999 cat >conftest.$ac_ext <<_ACEOF
50000 /* confdefs.h. */
50001 _ACEOF
50002 cat confdefs.h >>conftest.$ac_ext
50003 cat >>conftest.$ac_ext <<_ACEOF
50004 /* end confdefs.h. */
50005 #include <math.h>
50006 #ifdef HAVE_IEEEFP_H
50007 #include <ieeefp.h>
50008 #endif
50011 main ()
50013 finitel(0);
50015 return 0;
50017 _ACEOF
50018 rm -f conftest.$ac_objext
50019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50020 (eval $ac_compile) 2>conftest.er1
50021 ac_status=$?
50022 grep -v '^ *+' conftest.er1 >conftest.err
50023 rm -f conftest.er1
50024 cat conftest.err >&5
50025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50026 (exit $ac_status); } &&
50027 { ac_try='test -z "$ac_cxx_werror_flag"
50028 || test ! -s conftest.err'
50029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50030 (eval $ac_try) 2>&5
50031 ac_status=$?
50032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50033 (exit $ac_status); }; } &&
50034 { ac_try='test -s conftest.$ac_objext'
50035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50036 (eval $ac_try) 2>&5
50037 ac_status=$?
50038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50039 (exit $ac_status); }; }; then
50040 glibcxx_cv_func_finitel_use=yes
50041 else
50042 echo "$as_me: failed program was:" >&5
50043 sed 's/^/| /' conftest.$ac_ext >&5
50045 glibcxx_cv_func_finitel_use=no
50047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50048 ac_ext=c
50049 ac_cpp='$CPP $CPPFLAGS'
50050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50058 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
50059 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
50061 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50063 for ac_func in finitel
50065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50066 echo "$as_me:$LINENO: checking for $ac_func" >&5
50067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50068 if eval "test \"\${$as_ac_var+set}\" = set"; then
50069 echo $ECHO_N "(cached) $ECHO_C" >&6
50070 else
50071 if test x$gcc_no_link = xyes; then
50072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50074 { (exit 1); exit 1; }; }
50076 cat >conftest.$ac_ext <<_ACEOF
50077 /* confdefs.h. */
50078 _ACEOF
50079 cat confdefs.h >>conftest.$ac_ext
50080 cat >>conftest.$ac_ext <<_ACEOF
50081 /* end confdefs.h. */
50082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50084 #define $ac_func innocuous_$ac_func
50086 /* System header to define __stub macros and hopefully few prototypes,
50087 which can conflict with char $ac_func (); below.
50088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50089 <limits.h> exists even on freestanding compilers. */
50091 #ifdef __STDC__
50092 # include <limits.h>
50093 #else
50094 # include <assert.h>
50095 #endif
50097 #undef $ac_func
50099 /* Override any gcc2 internal prototype to avoid an error. */
50100 #ifdef __cplusplus
50101 extern "C"
50103 #endif
50104 /* We use char because int might match the return type of a gcc2
50105 builtin and then its argument prototype would still apply. */
50106 char $ac_func ();
50107 /* The GNU C library defines this for functions which it implements
50108 to always fail with ENOSYS. Some functions are actually named
50109 something starting with __ and the normal name is an alias. */
50110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50111 choke me
50112 #else
50113 char (*f) () = $ac_func;
50114 #endif
50115 #ifdef __cplusplus
50117 #endif
50120 main ()
50122 return f != $ac_func;
50124 return 0;
50126 _ACEOF
50127 rm -f conftest.$ac_objext conftest$ac_exeext
50128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50129 (eval $ac_link) 2>conftest.er1
50130 ac_status=$?
50131 grep -v '^ *+' conftest.er1 >conftest.err
50132 rm -f conftest.er1
50133 cat conftest.err >&5
50134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50135 (exit $ac_status); } &&
50136 { ac_try='test -z "$ac_c_werror_flag"
50137 || test ! -s conftest.err'
50138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50139 (eval $ac_try) 2>&5
50140 ac_status=$?
50141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50142 (exit $ac_status); }; } &&
50143 { ac_try='test -s conftest$ac_exeext'
50144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50145 (eval $ac_try) 2>&5
50146 ac_status=$?
50147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50148 (exit $ac_status); }; }; then
50149 eval "$as_ac_var=yes"
50150 else
50151 echo "$as_me: failed program was:" >&5
50152 sed 's/^/| /' conftest.$ac_ext >&5
50154 eval "$as_ac_var=no"
50156 rm -f conftest.err conftest.$ac_objext \
50157 conftest$ac_exeext conftest.$ac_ext
50159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50161 if test `eval echo '${'$as_ac_var'}'` = yes; then
50162 cat >>confdefs.h <<_ACEOF
50163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50164 _ACEOF
50167 done
50169 else
50171 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
50172 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
50173 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50174 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
50175 echo $ECHO_N "(cached) $ECHO_C" >&6
50176 else
50180 ac_ext=cc
50181 ac_cpp='$CXXCPP $CPPFLAGS'
50182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50186 cat >conftest.$ac_ext <<_ACEOF
50187 /* confdefs.h. */
50188 _ACEOF
50189 cat confdefs.h >>conftest.$ac_ext
50190 cat >>conftest.$ac_ext <<_ACEOF
50191 /* end confdefs.h. */
50192 #include <math.h>
50193 #ifdef HAVE_IEEEFP_H
50194 #include <ieeefp.h>
50195 #endif
50198 main ()
50200 _finitel(0);
50202 return 0;
50204 _ACEOF
50205 rm -f conftest.$ac_objext
50206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50207 (eval $ac_compile) 2>conftest.er1
50208 ac_status=$?
50209 grep -v '^ *+' conftest.er1 >conftest.err
50210 rm -f conftest.er1
50211 cat conftest.err >&5
50212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50213 (exit $ac_status); } &&
50214 { ac_try='test -z "$ac_cxx_werror_flag"
50215 || test ! -s conftest.err'
50216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50217 (eval $ac_try) 2>&5
50218 ac_status=$?
50219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50220 (exit $ac_status); }; } &&
50221 { ac_try='test -s conftest.$ac_objext'
50222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50223 (eval $ac_try) 2>&5
50224 ac_status=$?
50225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50226 (exit $ac_status); }; }; then
50227 glibcxx_cv_func__finitel_use=yes
50228 else
50229 echo "$as_me: failed program was:" >&5
50230 sed 's/^/| /' conftest.$ac_ext >&5
50232 glibcxx_cv_func__finitel_use=no
50234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50235 ac_ext=c
50236 ac_cpp='$CPP $CPPFLAGS'
50237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50245 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
50246 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
50248 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50250 for ac_func in _finitel
50252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50253 echo "$as_me:$LINENO: checking for $ac_func" >&5
50254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50255 if eval "test \"\${$as_ac_var+set}\" = set"; then
50256 echo $ECHO_N "(cached) $ECHO_C" >&6
50257 else
50258 if test x$gcc_no_link = xyes; then
50259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50261 { (exit 1); exit 1; }; }
50263 cat >conftest.$ac_ext <<_ACEOF
50264 /* confdefs.h. */
50265 _ACEOF
50266 cat confdefs.h >>conftest.$ac_ext
50267 cat >>conftest.$ac_ext <<_ACEOF
50268 /* end confdefs.h. */
50269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50271 #define $ac_func innocuous_$ac_func
50273 /* System header to define __stub macros and hopefully few prototypes,
50274 which can conflict with char $ac_func (); below.
50275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50276 <limits.h> exists even on freestanding compilers. */
50278 #ifdef __STDC__
50279 # include <limits.h>
50280 #else
50281 # include <assert.h>
50282 #endif
50284 #undef $ac_func
50286 /* Override any gcc2 internal prototype to avoid an error. */
50287 #ifdef __cplusplus
50288 extern "C"
50290 #endif
50291 /* We use char because int might match the return type of a gcc2
50292 builtin and then its argument prototype would still apply. */
50293 char $ac_func ();
50294 /* The GNU C library defines this for functions which it implements
50295 to always fail with ENOSYS. Some functions are actually named
50296 something starting with __ and the normal name is an alias. */
50297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50298 choke me
50299 #else
50300 char (*f) () = $ac_func;
50301 #endif
50302 #ifdef __cplusplus
50304 #endif
50307 main ()
50309 return f != $ac_func;
50311 return 0;
50313 _ACEOF
50314 rm -f conftest.$ac_objext conftest$ac_exeext
50315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50316 (eval $ac_link) 2>conftest.er1
50317 ac_status=$?
50318 grep -v '^ *+' conftest.er1 >conftest.err
50319 rm -f conftest.er1
50320 cat conftest.err >&5
50321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50322 (exit $ac_status); } &&
50323 { ac_try='test -z "$ac_c_werror_flag"
50324 || test ! -s conftest.err'
50325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50326 (eval $ac_try) 2>&5
50327 ac_status=$?
50328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50329 (exit $ac_status); }; } &&
50330 { ac_try='test -s conftest$ac_exeext'
50331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50332 (eval $ac_try) 2>&5
50333 ac_status=$?
50334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50335 (exit $ac_status); }; }; then
50336 eval "$as_ac_var=yes"
50337 else
50338 echo "$as_me: failed program was:" >&5
50339 sed 's/^/| /' conftest.$ac_ext >&5
50341 eval "$as_ac_var=no"
50343 rm -f conftest.err conftest.$ac_objext \
50344 conftest$ac_exeext conftest.$ac_ext
50346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50348 if test `eval echo '${'$as_ac_var'}'` = yes; then
50349 cat >>confdefs.h <<_ACEOF
50350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50351 _ACEOF
50354 done
50363 LIBS="$ac_save_LIBS"
50364 CXXFLAGS="$ac_save_CXXFLAGS"
50368 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
50369 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
50370 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
50371 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
50372 echo $ECHO_N "(cached) $ECHO_C" >&6
50373 else
50377 ac_ext=cc
50378 ac_cpp='$CXXCPP $CPPFLAGS'
50379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50383 cat >conftest.$ac_ext <<_ACEOF
50384 /* confdefs.h. */
50385 _ACEOF
50386 cat confdefs.h >>conftest.$ac_ext
50387 cat >>conftest.$ac_ext <<_ACEOF
50388 /* end confdefs.h. */
50389 #include <math.h>
50391 main ()
50393 __builtin_abs(0);
50395 return 0;
50397 _ACEOF
50398 rm -f conftest.$ac_objext
50399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50400 (eval $ac_compile) 2>conftest.er1
50401 ac_status=$?
50402 grep -v '^ *+' conftest.er1 >conftest.err
50403 rm -f conftest.er1
50404 cat conftest.err >&5
50405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50406 (exit $ac_status); } &&
50407 { ac_try='test -z "$ac_cxx_werror_flag"
50408 || test ! -s conftest.err'
50409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50410 (eval $ac_try) 2>&5
50411 ac_status=$?
50412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50413 (exit $ac_status); }; } &&
50414 { ac_try='test -s conftest.$ac_objext'
50415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50416 (eval $ac_try) 2>&5
50417 ac_status=$?
50418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50419 (exit $ac_status); }; }; then
50420 glibcxx_cv_func___builtin_abs_use=yes
50421 else
50422 echo "$as_me: failed program was:" >&5
50423 sed 's/^/| /' conftest.$ac_ext >&5
50425 glibcxx_cv_func___builtin_abs_use=no
50427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50428 ac_ext=c
50429 ac_cpp='$CPP $CPPFLAGS'
50430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50438 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
50439 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
50440 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
50441 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
50442 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
50443 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
50444 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
50445 echo $ECHO_N "(cached) $ECHO_C" >&6
50446 else
50448 if test x$gcc_no_link = xyes; then
50449 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50451 { (exit 1); exit 1; }; }
50453 cat >conftest.$ac_ext <<_ACEOF
50454 /* confdefs.h. */
50455 _ACEOF
50456 cat confdefs.h >>conftest.$ac_ext
50457 cat >>conftest.$ac_ext <<_ACEOF
50458 /* end confdefs.h. */
50459 #include <math.h>
50461 main ()
50463 __builtin_abs(0);
50465 return 0;
50467 _ACEOF
50468 rm -f conftest.$ac_objext conftest$ac_exeext
50469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50470 (eval $ac_link) 2>conftest.er1
50471 ac_status=$?
50472 grep -v '^ *+' conftest.er1 >conftest.err
50473 rm -f conftest.er1
50474 cat conftest.err >&5
50475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50476 (exit $ac_status); } &&
50477 { ac_try='test -z "$ac_c_werror_flag"
50478 || test ! -s conftest.err'
50479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50480 (eval $ac_try) 2>&5
50481 ac_status=$?
50482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50483 (exit $ac_status); }; } &&
50484 { ac_try='test -s conftest$ac_exeext'
50485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50486 (eval $ac_try) 2>&5
50487 ac_status=$?
50488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50489 (exit $ac_status); }; }; then
50490 glibcxx_cv_func___builtin_abs_link=yes
50491 else
50492 echo "$as_me: failed program was:" >&5
50493 sed 's/^/| /' conftest.$ac_ext >&5
50495 glibcxx_cv_func___builtin_abs_link=no
50497 rm -f conftest.err conftest.$ac_objext \
50498 conftest$ac_exeext conftest.$ac_ext
50503 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
50504 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
50506 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
50508 cat >>confdefs.h <<\_ACEOF
50509 #define HAVE___BUILTIN_ABS 1
50510 _ACEOF
50517 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
50518 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
50519 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
50520 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
50521 echo $ECHO_N "(cached) $ECHO_C" >&6
50522 else
50526 ac_ext=cc
50527 ac_cpp='$CXXCPP $CPPFLAGS'
50528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50532 cat >conftest.$ac_ext <<_ACEOF
50533 /* confdefs.h. */
50534 _ACEOF
50535 cat confdefs.h >>conftest.$ac_ext
50536 cat >>conftest.$ac_ext <<_ACEOF
50537 /* end confdefs.h. */
50538 #include <math.h>
50540 main ()
50542 __builtin_fabsf(0);
50544 return 0;
50546 _ACEOF
50547 rm -f conftest.$ac_objext
50548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50549 (eval $ac_compile) 2>conftest.er1
50550 ac_status=$?
50551 grep -v '^ *+' conftest.er1 >conftest.err
50552 rm -f conftest.er1
50553 cat conftest.err >&5
50554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50555 (exit $ac_status); } &&
50556 { ac_try='test -z "$ac_cxx_werror_flag"
50557 || test ! -s conftest.err'
50558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50559 (eval $ac_try) 2>&5
50560 ac_status=$?
50561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50562 (exit $ac_status); }; } &&
50563 { ac_try='test -s conftest.$ac_objext'
50564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50565 (eval $ac_try) 2>&5
50566 ac_status=$?
50567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50568 (exit $ac_status); }; }; then
50569 glibcxx_cv_func___builtin_fabsf_use=yes
50570 else
50571 echo "$as_me: failed program was:" >&5
50572 sed 's/^/| /' conftest.$ac_ext >&5
50574 glibcxx_cv_func___builtin_fabsf_use=no
50576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50577 ac_ext=c
50578 ac_cpp='$CPP $CPPFLAGS'
50579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50587 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
50588 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
50589 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
50590 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
50591 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
50592 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
50593 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
50594 echo $ECHO_N "(cached) $ECHO_C" >&6
50595 else
50597 if test x$gcc_no_link = xyes; then
50598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50600 { (exit 1); exit 1; }; }
50602 cat >conftest.$ac_ext <<_ACEOF
50603 /* confdefs.h. */
50604 _ACEOF
50605 cat confdefs.h >>conftest.$ac_ext
50606 cat >>conftest.$ac_ext <<_ACEOF
50607 /* end confdefs.h. */
50608 #include <math.h>
50610 main ()
50612 __builtin_fabsf(0);
50614 return 0;
50616 _ACEOF
50617 rm -f conftest.$ac_objext conftest$ac_exeext
50618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50619 (eval $ac_link) 2>conftest.er1
50620 ac_status=$?
50621 grep -v '^ *+' conftest.er1 >conftest.err
50622 rm -f conftest.er1
50623 cat conftest.err >&5
50624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50625 (exit $ac_status); } &&
50626 { ac_try='test -z "$ac_c_werror_flag"
50627 || test ! -s conftest.err'
50628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50629 (eval $ac_try) 2>&5
50630 ac_status=$?
50631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50632 (exit $ac_status); }; } &&
50633 { ac_try='test -s conftest$ac_exeext'
50634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50635 (eval $ac_try) 2>&5
50636 ac_status=$?
50637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50638 (exit $ac_status); }; }; then
50639 glibcxx_cv_func___builtin_fabsf_link=yes
50640 else
50641 echo "$as_me: failed program was:" >&5
50642 sed 's/^/| /' conftest.$ac_ext >&5
50644 glibcxx_cv_func___builtin_fabsf_link=no
50646 rm -f conftest.err conftest.$ac_objext \
50647 conftest$ac_exeext conftest.$ac_ext
50652 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
50653 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
50655 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
50657 cat >>confdefs.h <<\_ACEOF
50658 #define HAVE___BUILTIN_FABSF 1
50659 _ACEOF
50666 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
50667 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
50668 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
50669 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
50670 echo $ECHO_N "(cached) $ECHO_C" >&6
50671 else
50675 ac_ext=cc
50676 ac_cpp='$CXXCPP $CPPFLAGS'
50677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50681 cat >conftest.$ac_ext <<_ACEOF
50682 /* confdefs.h. */
50683 _ACEOF
50684 cat confdefs.h >>conftest.$ac_ext
50685 cat >>conftest.$ac_ext <<_ACEOF
50686 /* end confdefs.h. */
50687 #include <math.h>
50689 main ()
50691 __builtin_fabs(0);
50693 return 0;
50695 _ACEOF
50696 rm -f conftest.$ac_objext
50697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50698 (eval $ac_compile) 2>conftest.er1
50699 ac_status=$?
50700 grep -v '^ *+' conftest.er1 >conftest.err
50701 rm -f conftest.er1
50702 cat conftest.err >&5
50703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50704 (exit $ac_status); } &&
50705 { ac_try='test -z "$ac_cxx_werror_flag"
50706 || test ! -s conftest.err'
50707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50708 (eval $ac_try) 2>&5
50709 ac_status=$?
50710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50711 (exit $ac_status); }; } &&
50712 { ac_try='test -s conftest.$ac_objext'
50713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50714 (eval $ac_try) 2>&5
50715 ac_status=$?
50716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50717 (exit $ac_status); }; }; then
50718 glibcxx_cv_func___builtin_fabs_use=yes
50719 else
50720 echo "$as_me: failed program was:" >&5
50721 sed 's/^/| /' conftest.$ac_ext >&5
50723 glibcxx_cv_func___builtin_fabs_use=no
50725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50726 ac_ext=c
50727 ac_cpp='$CPP $CPPFLAGS'
50728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50736 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
50737 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
50738 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
50739 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
50740 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
50741 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
50742 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
50743 echo $ECHO_N "(cached) $ECHO_C" >&6
50744 else
50746 if test x$gcc_no_link = xyes; then
50747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50749 { (exit 1); exit 1; }; }
50751 cat >conftest.$ac_ext <<_ACEOF
50752 /* confdefs.h. */
50753 _ACEOF
50754 cat confdefs.h >>conftest.$ac_ext
50755 cat >>conftest.$ac_ext <<_ACEOF
50756 /* end confdefs.h. */
50757 #include <math.h>
50759 main ()
50761 __builtin_fabs(0);
50763 return 0;
50765 _ACEOF
50766 rm -f conftest.$ac_objext conftest$ac_exeext
50767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50768 (eval $ac_link) 2>conftest.er1
50769 ac_status=$?
50770 grep -v '^ *+' conftest.er1 >conftest.err
50771 rm -f conftest.er1
50772 cat conftest.err >&5
50773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50774 (exit $ac_status); } &&
50775 { ac_try='test -z "$ac_c_werror_flag"
50776 || test ! -s conftest.err'
50777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50778 (eval $ac_try) 2>&5
50779 ac_status=$?
50780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50781 (exit $ac_status); }; } &&
50782 { ac_try='test -s conftest$ac_exeext'
50783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50784 (eval $ac_try) 2>&5
50785 ac_status=$?
50786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50787 (exit $ac_status); }; }; then
50788 glibcxx_cv_func___builtin_fabs_link=yes
50789 else
50790 echo "$as_me: failed program was:" >&5
50791 sed 's/^/| /' conftest.$ac_ext >&5
50793 glibcxx_cv_func___builtin_fabs_link=no
50795 rm -f conftest.err conftest.$ac_objext \
50796 conftest$ac_exeext conftest.$ac_ext
50801 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
50802 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
50804 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
50806 cat >>confdefs.h <<\_ACEOF
50807 #define HAVE___BUILTIN_FABS 1
50808 _ACEOF
50815 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
50816 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
50817 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
50818 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
50819 echo $ECHO_N "(cached) $ECHO_C" >&6
50820 else
50824 ac_ext=cc
50825 ac_cpp='$CXXCPP $CPPFLAGS'
50826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50830 cat >conftest.$ac_ext <<_ACEOF
50831 /* confdefs.h. */
50832 _ACEOF
50833 cat confdefs.h >>conftest.$ac_ext
50834 cat >>conftest.$ac_ext <<_ACEOF
50835 /* end confdefs.h. */
50836 #include <math.h>
50838 main ()
50840 __builtin_fabsl(0);
50842 return 0;
50844 _ACEOF
50845 rm -f conftest.$ac_objext
50846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50847 (eval $ac_compile) 2>conftest.er1
50848 ac_status=$?
50849 grep -v '^ *+' conftest.er1 >conftest.err
50850 rm -f conftest.er1
50851 cat conftest.err >&5
50852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50853 (exit $ac_status); } &&
50854 { ac_try='test -z "$ac_cxx_werror_flag"
50855 || test ! -s conftest.err'
50856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50857 (eval $ac_try) 2>&5
50858 ac_status=$?
50859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50860 (exit $ac_status); }; } &&
50861 { ac_try='test -s conftest.$ac_objext'
50862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50863 (eval $ac_try) 2>&5
50864 ac_status=$?
50865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50866 (exit $ac_status); }; }; then
50867 glibcxx_cv_func___builtin_fabsl_use=yes
50868 else
50869 echo "$as_me: failed program was:" >&5
50870 sed 's/^/| /' conftest.$ac_ext >&5
50872 glibcxx_cv_func___builtin_fabsl_use=no
50874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50875 ac_ext=c
50876 ac_cpp='$CPP $CPPFLAGS'
50877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50885 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
50886 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
50887 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
50888 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
50889 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
50890 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
50891 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
50892 echo $ECHO_N "(cached) $ECHO_C" >&6
50893 else
50895 if test x$gcc_no_link = xyes; then
50896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50898 { (exit 1); exit 1; }; }
50900 cat >conftest.$ac_ext <<_ACEOF
50901 /* confdefs.h. */
50902 _ACEOF
50903 cat confdefs.h >>conftest.$ac_ext
50904 cat >>conftest.$ac_ext <<_ACEOF
50905 /* end confdefs.h. */
50906 #include <math.h>
50908 main ()
50910 __builtin_fabsl(0);
50912 return 0;
50914 _ACEOF
50915 rm -f conftest.$ac_objext conftest$ac_exeext
50916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50917 (eval $ac_link) 2>conftest.er1
50918 ac_status=$?
50919 grep -v '^ *+' conftest.er1 >conftest.err
50920 rm -f conftest.er1
50921 cat conftest.err >&5
50922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50923 (exit $ac_status); } &&
50924 { ac_try='test -z "$ac_c_werror_flag"
50925 || test ! -s conftest.err'
50926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50927 (eval $ac_try) 2>&5
50928 ac_status=$?
50929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50930 (exit $ac_status); }; } &&
50931 { ac_try='test -s conftest$ac_exeext'
50932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50933 (eval $ac_try) 2>&5
50934 ac_status=$?
50935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50936 (exit $ac_status); }; }; then
50937 glibcxx_cv_func___builtin_fabsl_link=yes
50938 else
50939 echo "$as_me: failed program was:" >&5
50940 sed 's/^/| /' conftest.$ac_ext >&5
50942 glibcxx_cv_func___builtin_fabsl_link=no
50944 rm -f conftest.err conftest.$ac_objext \
50945 conftest$ac_exeext conftest.$ac_ext
50950 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
50951 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
50953 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
50955 cat >>confdefs.h <<\_ACEOF
50956 #define HAVE___BUILTIN_FABSL 1
50957 _ACEOF
50964 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
50965 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
50966 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
50967 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
50968 echo $ECHO_N "(cached) $ECHO_C" >&6
50969 else
50973 ac_ext=cc
50974 ac_cpp='$CXXCPP $CPPFLAGS'
50975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50979 cat >conftest.$ac_ext <<_ACEOF
50980 /* confdefs.h. */
50981 _ACEOF
50982 cat confdefs.h >>conftest.$ac_ext
50983 cat >>conftest.$ac_ext <<_ACEOF
50984 /* end confdefs.h. */
50985 #include <math.h>
50987 main ()
50989 __builtin_labs(0);
50991 return 0;
50993 _ACEOF
50994 rm -f conftest.$ac_objext
50995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50996 (eval $ac_compile) 2>conftest.er1
50997 ac_status=$?
50998 grep -v '^ *+' conftest.er1 >conftest.err
50999 rm -f conftest.er1
51000 cat conftest.err >&5
51001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51002 (exit $ac_status); } &&
51003 { ac_try='test -z "$ac_cxx_werror_flag"
51004 || test ! -s conftest.err'
51005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51006 (eval $ac_try) 2>&5
51007 ac_status=$?
51008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51009 (exit $ac_status); }; } &&
51010 { ac_try='test -s conftest.$ac_objext'
51011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51012 (eval $ac_try) 2>&5
51013 ac_status=$?
51014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51015 (exit $ac_status); }; }; then
51016 glibcxx_cv_func___builtin_labs_use=yes
51017 else
51018 echo "$as_me: failed program was:" >&5
51019 sed 's/^/| /' conftest.$ac_ext >&5
51021 glibcxx_cv_func___builtin_labs_use=no
51023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51024 ac_ext=c
51025 ac_cpp='$CPP $CPPFLAGS'
51026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51034 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
51035 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
51036 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
51037 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
51038 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
51039 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
51040 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
51041 echo $ECHO_N "(cached) $ECHO_C" >&6
51042 else
51044 if test x$gcc_no_link = xyes; then
51045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51047 { (exit 1); exit 1; }; }
51049 cat >conftest.$ac_ext <<_ACEOF
51050 /* confdefs.h. */
51051 _ACEOF
51052 cat confdefs.h >>conftest.$ac_ext
51053 cat >>conftest.$ac_ext <<_ACEOF
51054 /* end confdefs.h. */
51055 #include <math.h>
51057 main ()
51059 __builtin_labs(0);
51061 return 0;
51063 _ACEOF
51064 rm -f conftest.$ac_objext conftest$ac_exeext
51065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51066 (eval $ac_link) 2>conftest.er1
51067 ac_status=$?
51068 grep -v '^ *+' conftest.er1 >conftest.err
51069 rm -f conftest.er1
51070 cat conftest.err >&5
51071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51072 (exit $ac_status); } &&
51073 { ac_try='test -z "$ac_c_werror_flag"
51074 || test ! -s conftest.err'
51075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51076 (eval $ac_try) 2>&5
51077 ac_status=$?
51078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51079 (exit $ac_status); }; } &&
51080 { ac_try='test -s conftest$ac_exeext'
51081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51082 (eval $ac_try) 2>&5
51083 ac_status=$?
51084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51085 (exit $ac_status); }; }; then
51086 glibcxx_cv_func___builtin_labs_link=yes
51087 else
51088 echo "$as_me: failed program was:" >&5
51089 sed 's/^/| /' conftest.$ac_ext >&5
51091 glibcxx_cv_func___builtin_labs_link=no
51093 rm -f conftest.err conftest.$ac_objext \
51094 conftest$ac_exeext conftest.$ac_ext
51099 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
51100 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
51102 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
51104 cat >>confdefs.h <<\_ACEOF
51105 #define HAVE___BUILTIN_LABS 1
51106 _ACEOF
51114 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
51115 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
51116 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
51117 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
51118 echo $ECHO_N "(cached) $ECHO_C" >&6
51119 else
51123 ac_ext=cc
51124 ac_cpp='$CXXCPP $CPPFLAGS'
51125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51129 cat >conftest.$ac_ext <<_ACEOF
51130 /* confdefs.h. */
51131 _ACEOF
51132 cat confdefs.h >>conftest.$ac_ext
51133 cat >>conftest.$ac_ext <<_ACEOF
51134 /* end confdefs.h. */
51135 #include <math.h>
51137 main ()
51139 __builtin_sqrtf(0);
51141 return 0;
51143 _ACEOF
51144 rm -f conftest.$ac_objext
51145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51146 (eval $ac_compile) 2>conftest.er1
51147 ac_status=$?
51148 grep -v '^ *+' conftest.er1 >conftest.err
51149 rm -f conftest.er1
51150 cat conftest.err >&5
51151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51152 (exit $ac_status); } &&
51153 { ac_try='test -z "$ac_cxx_werror_flag"
51154 || test ! -s conftest.err'
51155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51156 (eval $ac_try) 2>&5
51157 ac_status=$?
51158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51159 (exit $ac_status); }; } &&
51160 { ac_try='test -s conftest.$ac_objext'
51161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51162 (eval $ac_try) 2>&5
51163 ac_status=$?
51164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51165 (exit $ac_status); }; }; then
51166 glibcxx_cv_func___builtin_sqrtf_use=yes
51167 else
51168 echo "$as_me: failed program was:" >&5
51169 sed 's/^/| /' conftest.$ac_ext >&5
51171 glibcxx_cv_func___builtin_sqrtf_use=no
51173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51174 ac_ext=c
51175 ac_cpp='$CPP $CPPFLAGS'
51176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51184 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
51185 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
51186 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
51187 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
51188 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
51189 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
51190 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
51191 echo $ECHO_N "(cached) $ECHO_C" >&6
51192 else
51194 if test x$gcc_no_link = xyes; then
51195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51197 { (exit 1); exit 1; }; }
51199 cat >conftest.$ac_ext <<_ACEOF
51200 /* confdefs.h. */
51201 _ACEOF
51202 cat confdefs.h >>conftest.$ac_ext
51203 cat >>conftest.$ac_ext <<_ACEOF
51204 /* end confdefs.h. */
51205 #include <math.h>
51207 main ()
51209 __builtin_sqrtf(0);
51211 return 0;
51213 _ACEOF
51214 rm -f conftest.$ac_objext conftest$ac_exeext
51215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51216 (eval $ac_link) 2>conftest.er1
51217 ac_status=$?
51218 grep -v '^ *+' conftest.er1 >conftest.err
51219 rm -f conftest.er1
51220 cat conftest.err >&5
51221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51222 (exit $ac_status); } &&
51223 { ac_try='test -z "$ac_c_werror_flag"
51224 || test ! -s conftest.err'
51225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51226 (eval $ac_try) 2>&5
51227 ac_status=$?
51228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51229 (exit $ac_status); }; } &&
51230 { ac_try='test -s conftest$ac_exeext'
51231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51232 (eval $ac_try) 2>&5
51233 ac_status=$?
51234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51235 (exit $ac_status); }; }; then
51236 glibcxx_cv_func___builtin_sqrtf_link=yes
51237 else
51238 echo "$as_me: failed program was:" >&5
51239 sed 's/^/| /' conftest.$ac_ext >&5
51241 glibcxx_cv_func___builtin_sqrtf_link=no
51243 rm -f conftest.err conftest.$ac_objext \
51244 conftest$ac_exeext conftest.$ac_ext
51249 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
51250 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
51252 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
51254 cat >>confdefs.h <<\_ACEOF
51255 #define HAVE___BUILTIN_SQRTF 1
51256 _ACEOF
51263 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
51264 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
51265 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
51266 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
51267 echo $ECHO_N "(cached) $ECHO_C" >&6
51268 else
51272 ac_ext=cc
51273 ac_cpp='$CXXCPP $CPPFLAGS'
51274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51278 cat >conftest.$ac_ext <<_ACEOF
51279 /* confdefs.h. */
51280 _ACEOF
51281 cat confdefs.h >>conftest.$ac_ext
51282 cat >>conftest.$ac_ext <<_ACEOF
51283 /* end confdefs.h. */
51284 #include <math.h>
51286 main ()
51288 __builtin_sqrt(0);
51290 return 0;
51292 _ACEOF
51293 rm -f conftest.$ac_objext
51294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51295 (eval $ac_compile) 2>conftest.er1
51296 ac_status=$?
51297 grep -v '^ *+' conftest.er1 >conftest.err
51298 rm -f conftest.er1
51299 cat conftest.err >&5
51300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51301 (exit $ac_status); } &&
51302 { ac_try='test -z "$ac_cxx_werror_flag"
51303 || test ! -s conftest.err'
51304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51305 (eval $ac_try) 2>&5
51306 ac_status=$?
51307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51308 (exit $ac_status); }; } &&
51309 { ac_try='test -s conftest.$ac_objext'
51310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51311 (eval $ac_try) 2>&5
51312 ac_status=$?
51313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51314 (exit $ac_status); }; }; then
51315 glibcxx_cv_func___builtin_sqrt_use=yes
51316 else
51317 echo "$as_me: failed program was:" >&5
51318 sed 's/^/| /' conftest.$ac_ext >&5
51320 glibcxx_cv_func___builtin_sqrt_use=no
51322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51323 ac_ext=c
51324 ac_cpp='$CPP $CPPFLAGS'
51325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51333 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
51334 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
51335 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
51336 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
51337 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
51338 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
51339 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
51340 echo $ECHO_N "(cached) $ECHO_C" >&6
51341 else
51343 if test x$gcc_no_link = xyes; then
51344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51346 { (exit 1); exit 1; }; }
51348 cat >conftest.$ac_ext <<_ACEOF
51349 /* confdefs.h. */
51350 _ACEOF
51351 cat confdefs.h >>conftest.$ac_ext
51352 cat >>conftest.$ac_ext <<_ACEOF
51353 /* end confdefs.h. */
51354 #include <math.h>
51356 main ()
51358 __builtin_sqrt(0);
51360 return 0;
51362 _ACEOF
51363 rm -f conftest.$ac_objext conftest$ac_exeext
51364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51365 (eval $ac_link) 2>conftest.er1
51366 ac_status=$?
51367 grep -v '^ *+' conftest.er1 >conftest.err
51368 rm -f conftest.er1
51369 cat conftest.err >&5
51370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51371 (exit $ac_status); } &&
51372 { ac_try='test -z "$ac_c_werror_flag"
51373 || test ! -s conftest.err'
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); }; } &&
51379 { ac_try='test -s conftest$ac_exeext'
51380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51381 (eval $ac_try) 2>&5
51382 ac_status=$?
51383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51384 (exit $ac_status); }; }; then
51385 glibcxx_cv_func___builtin_sqrt_link=yes
51386 else
51387 echo "$as_me: failed program was:" >&5
51388 sed 's/^/| /' conftest.$ac_ext >&5
51390 glibcxx_cv_func___builtin_sqrt_link=no
51392 rm -f conftest.err conftest.$ac_objext \
51393 conftest$ac_exeext conftest.$ac_ext
51398 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
51399 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
51401 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
51403 cat >>confdefs.h <<\_ACEOF
51404 #define HAVE___BUILTIN_SQRT 1
51405 _ACEOF
51412 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
51413 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
51414 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
51415 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
51416 echo $ECHO_N "(cached) $ECHO_C" >&6
51417 else
51421 ac_ext=cc
51422 ac_cpp='$CXXCPP $CPPFLAGS'
51423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51427 cat >conftest.$ac_ext <<_ACEOF
51428 /* confdefs.h. */
51429 _ACEOF
51430 cat confdefs.h >>conftest.$ac_ext
51431 cat >>conftest.$ac_ext <<_ACEOF
51432 /* end confdefs.h. */
51433 #include <math.h>
51435 main ()
51437 __builtin_sqrtl(0);
51439 return 0;
51441 _ACEOF
51442 rm -f conftest.$ac_objext
51443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51444 (eval $ac_compile) 2>conftest.er1
51445 ac_status=$?
51446 grep -v '^ *+' conftest.er1 >conftest.err
51447 rm -f conftest.er1
51448 cat conftest.err >&5
51449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51450 (exit $ac_status); } &&
51451 { ac_try='test -z "$ac_cxx_werror_flag"
51452 || test ! -s conftest.err'
51453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51454 (eval $ac_try) 2>&5
51455 ac_status=$?
51456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51457 (exit $ac_status); }; } &&
51458 { ac_try='test -s conftest.$ac_objext'
51459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51460 (eval $ac_try) 2>&5
51461 ac_status=$?
51462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51463 (exit $ac_status); }; }; then
51464 glibcxx_cv_func___builtin_sqrtl_use=yes
51465 else
51466 echo "$as_me: failed program was:" >&5
51467 sed 's/^/| /' conftest.$ac_ext >&5
51469 glibcxx_cv_func___builtin_sqrtl_use=no
51471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51472 ac_ext=c
51473 ac_cpp='$CPP $CPPFLAGS'
51474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51482 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
51483 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
51484 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
51485 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
51486 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
51487 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
51488 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
51489 echo $ECHO_N "(cached) $ECHO_C" >&6
51490 else
51492 if test x$gcc_no_link = xyes; then
51493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51495 { (exit 1); exit 1; }; }
51497 cat >conftest.$ac_ext <<_ACEOF
51498 /* confdefs.h. */
51499 _ACEOF
51500 cat confdefs.h >>conftest.$ac_ext
51501 cat >>conftest.$ac_ext <<_ACEOF
51502 /* end confdefs.h. */
51503 #include <math.h>
51505 main ()
51507 __builtin_sqrtl(0);
51509 return 0;
51511 _ACEOF
51512 rm -f conftest.$ac_objext conftest$ac_exeext
51513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51514 (eval $ac_link) 2>conftest.er1
51515 ac_status=$?
51516 grep -v '^ *+' conftest.er1 >conftest.err
51517 rm -f conftest.er1
51518 cat conftest.err >&5
51519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51520 (exit $ac_status); } &&
51521 { ac_try='test -z "$ac_c_werror_flag"
51522 || test ! -s conftest.err'
51523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51524 (eval $ac_try) 2>&5
51525 ac_status=$?
51526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51527 (exit $ac_status); }; } &&
51528 { ac_try='test -s conftest$ac_exeext'
51529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51530 (eval $ac_try) 2>&5
51531 ac_status=$?
51532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51533 (exit $ac_status); }; }; then
51534 glibcxx_cv_func___builtin_sqrtl_link=yes
51535 else
51536 echo "$as_me: failed program was:" >&5
51537 sed 's/^/| /' conftest.$ac_ext >&5
51539 glibcxx_cv_func___builtin_sqrtl_link=no
51541 rm -f conftest.err conftest.$ac_objext \
51542 conftest$ac_exeext conftest.$ac_ext
51547 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
51548 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
51550 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
51552 cat >>confdefs.h <<\_ACEOF
51553 #define HAVE___BUILTIN_SQRTL 1
51554 _ACEOF
51562 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
51563 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
51564 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
51565 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
51566 echo $ECHO_N "(cached) $ECHO_C" >&6
51567 else
51571 ac_ext=cc
51572 ac_cpp='$CXXCPP $CPPFLAGS'
51573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51577 cat >conftest.$ac_ext <<_ACEOF
51578 /* confdefs.h. */
51579 _ACEOF
51580 cat confdefs.h >>conftest.$ac_ext
51581 cat >>conftest.$ac_ext <<_ACEOF
51582 /* end confdefs.h. */
51583 #include <math.h>
51585 main ()
51587 __builtin_sinf(0);
51589 return 0;
51591 _ACEOF
51592 rm -f conftest.$ac_objext
51593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51594 (eval $ac_compile) 2>conftest.er1
51595 ac_status=$?
51596 grep -v '^ *+' conftest.er1 >conftest.err
51597 rm -f conftest.er1
51598 cat conftest.err >&5
51599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51600 (exit $ac_status); } &&
51601 { ac_try='test -z "$ac_cxx_werror_flag"
51602 || test ! -s conftest.err'
51603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51604 (eval $ac_try) 2>&5
51605 ac_status=$?
51606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51607 (exit $ac_status); }; } &&
51608 { ac_try='test -s conftest.$ac_objext'
51609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51610 (eval $ac_try) 2>&5
51611 ac_status=$?
51612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51613 (exit $ac_status); }; }; then
51614 glibcxx_cv_func___builtin_sinf_use=yes
51615 else
51616 echo "$as_me: failed program was:" >&5
51617 sed 's/^/| /' conftest.$ac_ext >&5
51619 glibcxx_cv_func___builtin_sinf_use=no
51621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51622 ac_ext=c
51623 ac_cpp='$CPP $CPPFLAGS'
51624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51632 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
51633 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
51634 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
51635 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
51636 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
51637 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
51638 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
51639 echo $ECHO_N "(cached) $ECHO_C" >&6
51640 else
51642 if test x$gcc_no_link = xyes; then
51643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51645 { (exit 1); exit 1; }; }
51647 cat >conftest.$ac_ext <<_ACEOF
51648 /* confdefs.h. */
51649 _ACEOF
51650 cat confdefs.h >>conftest.$ac_ext
51651 cat >>conftest.$ac_ext <<_ACEOF
51652 /* end confdefs.h. */
51653 #include <math.h>
51655 main ()
51657 __builtin_sinf(0);
51659 return 0;
51661 _ACEOF
51662 rm -f conftest.$ac_objext conftest$ac_exeext
51663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51664 (eval $ac_link) 2>conftest.er1
51665 ac_status=$?
51666 grep -v '^ *+' conftest.er1 >conftest.err
51667 rm -f conftest.er1
51668 cat conftest.err >&5
51669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51670 (exit $ac_status); } &&
51671 { ac_try='test -z "$ac_c_werror_flag"
51672 || test ! -s conftest.err'
51673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51674 (eval $ac_try) 2>&5
51675 ac_status=$?
51676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51677 (exit $ac_status); }; } &&
51678 { ac_try='test -s conftest$ac_exeext'
51679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51680 (eval $ac_try) 2>&5
51681 ac_status=$?
51682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51683 (exit $ac_status); }; }; then
51684 glibcxx_cv_func___builtin_sinf_link=yes
51685 else
51686 echo "$as_me: failed program was:" >&5
51687 sed 's/^/| /' conftest.$ac_ext >&5
51689 glibcxx_cv_func___builtin_sinf_link=no
51691 rm -f conftest.err conftest.$ac_objext \
51692 conftest$ac_exeext conftest.$ac_ext
51697 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
51698 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
51700 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
51702 cat >>confdefs.h <<\_ACEOF
51703 #define HAVE___BUILTIN_SINF 1
51704 _ACEOF
51711 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
51712 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
51713 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
51714 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
51715 echo $ECHO_N "(cached) $ECHO_C" >&6
51716 else
51720 ac_ext=cc
51721 ac_cpp='$CXXCPP $CPPFLAGS'
51722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51726 cat >conftest.$ac_ext <<_ACEOF
51727 /* confdefs.h. */
51728 _ACEOF
51729 cat confdefs.h >>conftest.$ac_ext
51730 cat >>conftest.$ac_ext <<_ACEOF
51731 /* end confdefs.h. */
51732 #include <math.h>
51734 main ()
51736 __builtin_sin(0);
51738 return 0;
51740 _ACEOF
51741 rm -f conftest.$ac_objext
51742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51743 (eval $ac_compile) 2>conftest.er1
51744 ac_status=$?
51745 grep -v '^ *+' conftest.er1 >conftest.err
51746 rm -f conftest.er1
51747 cat conftest.err >&5
51748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51749 (exit $ac_status); } &&
51750 { ac_try='test -z "$ac_cxx_werror_flag"
51751 || test ! -s conftest.err'
51752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51753 (eval $ac_try) 2>&5
51754 ac_status=$?
51755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51756 (exit $ac_status); }; } &&
51757 { ac_try='test -s conftest.$ac_objext'
51758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51759 (eval $ac_try) 2>&5
51760 ac_status=$?
51761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51762 (exit $ac_status); }; }; then
51763 glibcxx_cv_func___builtin_sin_use=yes
51764 else
51765 echo "$as_me: failed program was:" >&5
51766 sed 's/^/| /' conftest.$ac_ext >&5
51768 glibcxx_cv_func___builtin_sin_use=no
51770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51771 ac_ext=c
51772 ac_cpp='$CPP $CPPFLAGS'
51773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51781 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
51782 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
51783 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
51784 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
51785 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
51786 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
51787 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
51788 echo $ECHO_N "(cached) $ECHO_C" >&6
51789 else
51791 if test x$gcc_no_link = xyes; then
51792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51794 { (exit 1); exit 1; }; }
51796 cat >conftest.$ac_ext <<_ACEOF
51797 /* confdefs.h. */
51798 _ACEOF
51799 cat confdefs.h >>conftest.$ac_ext
51800 cat >>conftest.$ac_ext <<_ACEOF
51801 /* end confdefs.h. */
51802 #include <math.h>
51804 main ()
51806 __builtin_sin(0);
51808 return 0;
51810 _ACEOF
51811 rm -f conftest.$ac_objext conftest$ac_exeext
51812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51813 (eval $ac_link) 2>conftest.er1
51814 ac_status=$?
51815 grep -v '^ *+' conftest.er1 >conftest.err
51816 rm -f conftest.er1
51817 cat conftest.err >&5
51818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51819 (exit $ac_status); } &&
51820 { ac_try='test -z "$ac_c_werror_flag"
51821 || test ! -s conftest.err'
51822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51823 (eval $ac_try) 2>&5
51824 ac_status=$?
51825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51826 (exit $ac_status); }; } &&
51827 { ac_try='test -s conftest$ac_exeext'
51828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51829 (eval $ac_try) 2>&5
51830 ac_status=$?
51831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51832 (exit $ac_status); }; }; then
51833 glibcxx_cv_func___builtin_sin_link=yes
51834 else
51835 echo "$as_me: failed program was:" >&5
51836 sed 's/^/| /' conftest.$ac_ext >&5
51838 glibcxx_cv_func___builtin_sin_link=no
51840 rm -f conftest.err conftest.$ac_objext \
51841 conftest$ac_exeext conftest.$ac_ext
51846 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
51847 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
51849 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
51851 cat >>confdefs.h <<\_ACEOF
51852 #define HAVE___BUILTIN_SIN 1
51853 _ACEOF
51860 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
51861 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
51862 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
51863 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
51864 echo $ECHO_N "(cached) $ECHO_C" >&6
51865 else
51869 ac_ext=cc
51870 ac_cpp='$CXXCPP $CPPFLAGS'
51871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51875 cat >conftest.$ac_ext <<_ACEOF
51876 /* confdefs.h. */
51877 _ACEOF
51878 cat confdefs.h >>conftest.$ac_ext
51879 cat >>conftest.$ac_ext <<_ACEOF
51880 /* end confdefs.h. */
51881 #include <math.h>
51883 main ()
51885 __builtin_sinl(0);
51887 return 0;
51889 _ACEOF
51890 rm -f conftest.$ac_objext
51891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51892 (eval $ac_compile) 2>conftest.er1
51893 ac_status=$?
51894 grep -v '^ *+' conftest.er1 >conftest.err
51895 rm -f conftest.er1
51896 cat conftest.err >&5
51897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51898 (exit $ac_status); } &&
51899 { ac_try='test -z "$ac_cxx_werror_flag"
51900 || test ! -s conftest.err'
51901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51902 (eval $ac_try) 2>&5
51903 ac_status=$?
51904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51905 (exit $ac_status); }; } &&
51906 { ac_try='test -s conftest.$ac_objext'
51907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51908 (eval $ac_try) 2>&5
51909 ac_status=$?
51910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51911 (exit $ac_status); }; }; then
51912 glibcxx_cv_func___builtin_sinl_use=yes
51913 else
51914 echo "$as_me: failed program was:" >&5
51915 sed 's/^/| /' conftest.$ac_ext >&5
51917 glibcxx_cv_func___builtin_sinl_use=no
51919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51920 ac_ext=c
51921 ac_cpp='$CPP $CPPFLAGS'
51922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51930 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
51931 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
51932 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
51933 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
51934 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
51935 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
51936 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
51937 echo $ECHO_N "(cached) $ECHO_C" >&6
51938 else
51940 if test x$gcc_no_link = xyes; then
51941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51943 { (exit 1); exit 1; }; }
51945 cat >conftest.$ac_ext <<_ACEOF
51946 /* confdefs.h. */
51947 _ACEOF
51948 cat confdefs.h >>conftest.$ac_ext
51949 cat >>conftest.$ac_ext <<_ACEOF
51950 /* end confdefs.h. */
51951 #include <math.h>
51953 main ()
51955 __builtin_sinl(0);
51957 return 0;
51959 _ACEOF
51960 rm -f conftest.$ac_objext conftest$ac_exeext
51961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51962 (eval $ac_link) 2>conftest.er1
51963 ac_status=$?
51964 grep -v '^ *+' conftest.er1 >conftest.err
51965 rm -f conftest.er1
51966 cat conftest.err >&5
51967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51968 (exit $ac_status); } &&
51969 { ac_try='test -z "$ac_c_werror_flag"
51970 || test ! -s conftest.err'
51971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51972 (eval $ac_try) 2>&5
51973 ac_status=$?
51974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51975 (exit $ac_status); }; } &&
51976 { ac_try='test -s conftest$ac_exeext'
51977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51978 (eval $ac_try) 2>&5
51979 ac_status=$?
51980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51981 (exit $ac_status); }; }; then
51982 glibcxx_cv_func___builtin_sinl_link=yes
51983 else
51984 echo "$as_me: failed program was:" >&5
51985 sed 's/^/| /' conftest.$ac_ext >&5
51987 glibcxx_cv_func___builtin_sinl_link=no
51989 rm -f conftest.err conftest.$ac_objext \
51990 conftest$ac_exeext conftest.$ac_ext
51995 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
51996 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
51998 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
52000 cat >>confdefs.h <<\_ACEOF
52001 #define HAVE___BUILTIN_SINL 1
52002 _ACEOF
52010 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
52011 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
52012 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
52013 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
52014 echo $ECHO_N "(cached) $ECHO_C" >&6
52015 else
52019 ac_ext=cc
52020 ac_cpp='$CXXCPP $CPPFLAGS'
52021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52025 cat >conftest.$ac_ext <<_ACEOF
52026 /* confdefs.h. */
52027 _ACEOF
52028 cat confdefs.h >>conftest.$ac_ext
52029 cat >>conftest.$ac_ext <<_ACEOF
52030 /* end confdefs.h. */
52031 #include <math.h>
52033 main ()
52035 __builtin_cosf(0);
52037 return 0;
52039 _ACEOF
52040 rm -f conftest.$ac_objext
52041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52042 (eval $ac_compile) 2>conftest.er1
52043 ac_status=$?
52044 grep -v '^ *+' conftest.er1 >conftest.err
52045 rm -f conftest.er1
52046 cat conftest.err >&5
52047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52048 (exit $ac_status); } &&
52049 { ac_try='test -z "$ac_cxx_werror_flag"
52050 || test ! -s conftest.err'
52051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52052 (eval $ac_try) 2>&5
52053 ac_status=$?
52054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52055 (exit $ac_status); }; } &&
52056 { ac_try='test -s conftest.$ac_objext'
52057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52058 (eval $ac_try) 2>&5
52059 ac_status=$?
52060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52061 (exit $ac_status); }; }; then
52062 glibcxx_cv_func___builtin_cosf_use=yes
52063 else
52064 echo "$as_me: failed program was:" >&5
52065 sed 's/^/| /' conftest.$ac_ext >&5
52067 glibcxx_cv_func___builtin_cosf_use=no
52069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52070 ac_ext=c
52071 ac_cpp='$CPP $CPPFLAGS'
52072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52080 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
52081 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
52082 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
52083 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
52084 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
52085 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
52086 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
52087 echo $ECHO_N "(cached) $ECHO_C" >&6
52088 else
52090 if test x$gcc_no_link = xyes; then
52091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52093 { (exit 1); exit 1; }; }
52095 cat >conftest.$ac_ext <<_ACEOF
52096 /* confdefs.h. */
52097 _ACEOF
52098 cat confdefs.h >>conftest.$ac_ext
52099 cat >>conftest.$ac_ext <<_ACEOF
52100 /* end confdefs.h. */
52101 #include <math.h>
52103 main ()
52105 __builtin_cosf(0);
52107 return 0;
52109 _ACEOF
52110 rm -f conftest.$ac_objext conftest$ac_exeext
52111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52112 (eval $ac_link) 2>conftest.er1
52113 ac_status=$?
52114 grep -v '^ *+' conftest.er1 >conftest.err
52115 rm -f conftest.er1
52116 cat conftest.err >&5
52117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52118 (exit $ac_status); } &&
52119 { ac_try='test -z "$ac_c_werror_flag"
52120 || test ! -s conftest.err'
52121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52122 (eval $ac_try) 2>&5
52123 ac_status=$?
52124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52125 (exit $ac_status); }; } &&
52126 { ac_try='test -s conftest$ac_exeext'
52127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52128 (eval $ac_try) 2>&5
52129 ac_status=$?
52130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52131 (exit $ac_status); }; }; then
52132 glibcxx_cv_func___builtin_cosf_link=yes
52133 else
52134 echo "$as_me: failed program was:" >&5
52135 sed 's/^/| /' conftest.$ac_ext >&5
52137 glibcxx_cv_func___builtin_cosf_link=no
52139 rm -f conftest.err conftest.$ac_objext \
52140 conftest$ac_exeext conftest.$ac_ext
52145 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
52146 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
52148 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
52150 cat >>confdefs.h <<\_ACEOF
52151 #define HAVE___BUILTIN_COSF 1
52152 _ACEOF
52159 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
52160 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
52161 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
52162 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
52163 echo $ECHO_N "(cached) $ECHO_C" >&6
52164 else
52168 ac_ext=cc
52169 ac_cpp='$CXXCPP $CPPFLAGS'
52170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52174 cat >conftest.$ac_ext <<_ACEOF
52175 /* confdefs.h. */
52176 _ACEOF
52177 cat confdefs.h >>conftest.$ac_ext
52178 cat >>conftest.$ac_ext <<_ACEOF
52179 /* end confdefs.h. */
52180 #include <math.h>
52182 main ()
52184 __builtin_cos(0);
52186 return 0;
52188 _ACEOF
52189 rm -f conftest.$ac_objext
52190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52191 (eval $ac_compile) 2>conftest.er1
52192 ac_status=$?
52193 grep -v '^ *+' conftest.er1 >conftest.err
52194 rm -f conftest.er1
52195 cat conftest.err >&5
52196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52197 (exit $ac_status); } &&
52198 { ac_try='test -z "$ac_cxx_werror_flag"
52199 || test ! -s conftest.err'
52200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52201 (eval $ac_try) 2>&5
52202 ac_status=$?
52203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52204 (exit $ac_status); }; } &&
52205 { ac_try='test -s conftest.$ac_objext'
52206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52207 (eval $ac_try) 2>&5
52208 ac_status=$?
52209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52210 (exit $ac_status); }; }; then
52211 glibcxx_cv_func___builtin_cos_use=yes
52212 else
52213 echo "$as_me: failed program was:" >&5
52214 sed 's/^/| /' conftest.$ac_ext >&5
52216 glibcxx_cv_func___builtin_cos_use=no
52218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52219 ac_ext=c
52220 ac_cpp='$CPP $CPPFLAGS'
52221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52229 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
52230 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
52231 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
52232 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
52233 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
52234 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
52235 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
52236 echo $ECHO_N "(cached) $ECHO_C" >&6
52237 else
52239 if test x$gcc_no_link = xyes; then
52240 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52242 { (exit 1); exit 1; }; }
52244 cat >conftest.$ac_ext <<_ACEOF
52245 /* confdefs.h. */
52246 _ACEOF
52247 cat confdefs.h >>conftest.$ac_ext
52248 cat >>conftest.$ac_ext <<_ACEOF
52249 /* end confdefs.h. */
52250 #include <math.h>
52252 main ()
52254 __builtin_cos(0);
52256 return 0;
52258 _ACEOF
52259 rm -f conftest.$ac_objext conftest$ac_exeext
52260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52261 (eval $ac_link) 2>conftest.er1
52262 ac_status=$?
52263 grep -v '^ *+' conftest.er1 >conftest.err
52264 rm -f conftest.er1
52265 cat conftest.err >&5
52266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52267 (exit $ac_status); } &&
52268 { ac_try='test -z "$ac_c_werror_flag"
52269 || test ! -s conftest.err'
52270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52271 (eval $ac_try) 2>&5
52272 ac_status=$?
52273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52274 (exit $ac_status); }; } &&
52275 { ac_try='test -s conftest$ac_exeext'
52276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52277 (eval $ac_try) 2>&5
52278 ac_status=$?
52279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52280 (exit $ac_status); }; }; then
52281 glibcxx_cv_func___builtin_cos_link=yes
52282 else
52283 echo "$as_me: failed program was:" >&5
52284 sed 's/^/| /' conftest.$ac_ext >&5
52286 glibcxx_cv_func___builtin_cos_link=no
52288 rm -f conftest.err conftest.$ac_objext \
52289 conftest$ac_exeext conftest.$ac_ext
52294 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
52295 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
52297 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
52299 cat >>confdefs.h <<\_ACEOF
52300 #define HAVE___BUILTIN_COS 1
52301 _ACEOF
52308 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
52309 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
52310 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
52311 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
52312 echo $ECHO_N "(cached) $ECHO_C" >&6
52313 else
52317 ac_ext=cc
52318 ac_cpp='$CXXCPP $CPPFLAGS'
52319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52323 cat >conftest.$ac_ext <<_ACEOF
52324 /* confdefs.h. */
52325 _ACEOF
52326 cat confdefs.h >>conftest.$ac_ext
52327 cat >>conftest.$ac_ext <<_ACEOF
52328 /* end confdefs.h. */
52329 #include <math.h>
52331 main ()
52333 __builtin_cosl(0);
52335 return 0;
52337 _ACEOF
52338 rm -f conftest.$ac_objext
52339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52340 (eval $ac_compile) 2>conftest.er1
52341 ac_status=$?
52342 grep -v '^ *+' conftest.er1 >conftest.err
52343 rm -f conftest.er1
52344 cat conftest.err >&5
52345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52346 (exit $ac_status); } &&
52347 { ac_try='test -z "$ac_cxx_werror_flag"
52348 || test ! -s conftest.err'
52349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52350 (eval $ac_try) 2>&5
52351 ac_status=$?
52352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52353 (exit $ac_status); }; } &&
52354 { ac_try='test -s conftest.$ac_objext'
52355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52356 (eval $ac_try) 2>&5
52357 ac_status=$?
52358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52359 (exit $ac_status); }; }; then
52360 glibcxx_cv_func___builtin_cosl_use=yes
52361 else
52362 echo "$as_me: failed program was:" >&5
52363 sed 's/^/| /' conftest.$ac_ext >&5
52365 glibcxx_cv_func___builtin_cosl_use=no
52367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52368 ac_ext=c
52369 ac_cpp='$CPP $CPPFLAGS'
52370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52378 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
52379 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
52380 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
52381 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
52382 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
52383 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
52384 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
52385 echo $ECHO_N "(cached) $ECHO_C" >&6
52386 else
52388 if test x$gcc_no_link = xyes; then
52389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52391 { (exit 1); exit 1; }; }
52393 cat >conftest.$ac_ext <<_ACEOF
52394 /* confdefs.h. */
52395 _ACEOF
52396 cat confdefs.h >>conftest.$ac_ext
52397 cat >>conftest.$ac_ext <<_ACEOF
52398 /* end confdefs.h. */
52399 #include <math.h>
52401 main ()
52403 __builtin_cosl(0);
52405 return 0;
52407 _ACEOF
52408 rm -f conftest.$ac_objext conftest$ac_exeext
52409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52410 (eval $ac_link) 2>conftest.er1
52411 ac_status=$?
52412 grep -v '^ *+' conftest.er1 >conftest.err
52413 rm -f conftest.er1
52414 cat conftest.err >&5
52415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52416 (exit $ac_status); } &&
52417 { ac_try='test -z "$ac_c_werror_flag"
52418 || test ! -s conftest.err'
52419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52420 (eval $ac_try) 2>&5
52421 ac_status=$?
52422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52423 (exit $ac_status); }; } &&
52424 { ac_try='test -s conftest$ac_exeext'
52425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52426 (eval $ac_try) 2>&5
52427 ac_status=$?
52428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52429 (exit $ac_status); }; }; then
52430 glibcxx_cv_func___builtin_cosl_link=yes
52431 else
52432 echo "$as_me: failed program was:" >&5
52433 sed 's/^/| /' conftest.$ac_ext >&5
52435 glibcxx_cv_func___builtin_cosl_link=no
52437 rm -f conftest.err conftest.$ac_objext \
52438 conftest$ac_exeext conftest.$ac_ext
52443 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
52444 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
52446 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
52448 cat >>confdefs.h <<\_ACEOF
52449 #define HAVE___BUILTIN_COSL 1
52450 _ACEOF
52459 echo "$as_me:$LINENO: checking for main in -lm" >&5
52460 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
52461 if test "${ac_cv_lib_m_main+set}" = set; then
52462 echo $ECHO_N "(cached) $ECHO_C" >&6
52463 else
52464 ac_check_lib_save_LIBS=$LIBS
52465 LIBS="-lm $LIBS"
52466 if test x$gcc_no_link = xyes; then
52467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52469 { (exit 1); exit 1; }; }
52471 cat >conftest.$ac_ext <<_ACEOF
52472 /* confdefs.h. */
52473 _ACEOF
52474 cat confdefs.h >>conftest.$ac_ext
52475 cat >>conftest.$ac_ext <<_ACEOF
52476 /* end confdefs.h. */
52480 main ()
52482 main ();
52484 return 0;
52486 _ACEOF
52487 rm -f conftest.$ac_objext conftest$ac_exeext
52488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52489 (eval $ac_link) 2>conftest.er1
52490 ac_status=$?
52491 grep -v '^ *+' conftest.er1 >conftest.err
52492 rm -f conftest.er1
52493 cat conftest.err >&5
52494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52495 (exit $ac_status); } &&
52496 { ac_try='test -z "$ac_c_werror_flag"
52497 || test ! -s conftest.err'
52498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52499 (eval $ac_try) 2>&5
52500 ac_status=$?
52501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52502 (exit $ac_status); }; } &&
52503 { ac_try='test -s conftest$ac_exeext'
52504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52505 (eval $ac_try) 2>&5
52506 ac_status=$?
52507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52508 (exit $ac_status); }; }; then
52509 ac_cv_lib_m_main=yes
52510 else
52511 echo "$as_me: failed program was:" >&5
52512 sed 's/^/| /' conftest.$ac_ext >&5
52514 ac_cv_lib_m_main=no
52516 rm -f conftest.err conftest.$ac_objext \
52517 conftest$ac_exeext conftest.$ac_ext
52518 LIBS=$ac_check_lib_save_LIBS
52520 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
52521 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
52522 if test $ac_cv_lib_m_main = yes; then
52523 cat >>confdefs.h <<_ACEOF
52524 #define HAVE_LIBM 1
52525 _ACEOF
52527 LIBS="-lm $LIBS"
52532 for ac_func in copysignf
52534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52535 echo "$as_me:$LINENO: checking for $ac_func" >&5
52536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52537 if eval "test \"\${$as_ac_var+set}\" = set"; then
52538 echo $ECHO_N "(cached) $ECHO_C" >&6
52539 else
52540 if test x$gcc_no_link = xyes; then
52541 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52543 { (exit 1); exit 1; }; }
52545 cat >conftest.$ac_ext <<_ACEOF
52546 /* confdefs.h. */
52547 _ACEOF
52548 cat confdefs.h >>conftest.$ac_ext
52549 cat >>conftest.$ac_ext <<_ACEOF
52550 /* end confdefs.h. */
52551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52553 #define $ac_func innocuous_$ac_func
52555 /* System header to define __stub macros and hopefully few prototypes,
52556 which can conflict with char $ac_func (); below.
52557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52558 <limits.h> exists even on freestanding compilers. */
52560 #ifdef __STDC__
52561 # include <limits.h>
52562 #else
52563 # include <assert.h>
52564 #endif
52566 #undef $ac_func
52568 /* Override any gcc2 internal prototype to avoid an error. */
52569 #ifdef __cplusplus
52570 extern "C"
52572 #endif
52573 /* We use char because int might match the return type of a gcc2
52574 builtin and then its argument prototype would still apply. */
52575 char $ac_func ();
52576 /* The GNU C library defines this for functions which it implements
52577 to always fail with ENOSYS. Some functions are actually named
52578 something starting with __ and the normal name is an alias. */
52579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52580 choke me
52581 #else
52582 char (*f) () = $ac_func;
52583 #endif
52584 #ifdef __cplusplus
52586 #endif
52589 main ()
52591 return f != $ac_func;
52593 return 0;
52595 _ACEOF
52596 rm -f conftest.$ac_objext conftest$ac_exeext
52597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52598 (eval $ac_link) 2>conftest.er1
52599 ac_status=$?
52600 grep -v '^ *+' conftest.er1 >conftest.err
52601 rm -f conftest.er1
52602 cat conftest.err >&5
52603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52604 (exit $ac_status); } &&
52605 { ac_try='test -z "$ac_c_werror_flag"
52606 || test ! -s conftest.err'
52607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52608 (eval $ac_try) 2>&5
52609 ac_status=$?
52610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52611 (exit $ac_status); }; } &&
52612 { ac_try='test -s conftest$ac_exeext'
52613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52614 (eval $ac_try) 2>&5
52615 ac_status=$?
52616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52617 (exit $ac_status); }; }; then
52618 eval "$as_ac_var=yes"
52619 else
52620 echo "$as_me: failed program was:" >&5
52621 sed 's/^/| /' conftest.$ac_ext >&5
52623 eval "$as_ac_var=no"
52625 rm -f conftest.err conftest.$ac_objext \
52626 conftest$ac_exeext conftest.$ac_ext
52628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52630 if test `eval echo '${'$as_ac_var'}'` = yes; then
52631 cat >>confdefs.h <<_ACEOF
52632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52633 _ACEOF
52635 else
52636 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
52638 done
52642 for ac_func in __signbit
52644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52645 echo "$as_me:$LINENO: checking for $ac_func" >&5
52646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52647 if eval "test \"\${$as_ac_var+set}\" = set"; then
52648 echo $ECHO_N "(cached) $ECHO_C" >&6
52649 else
52650 if test x$gcc_no_link = xyes; then
52651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52653 { (exit 1); exit 1; }; }
52655 cat >conftest.$ac_ext <<_ACEOF
52656 /* confdefs.h. */
52657 _ACEOF
52658 cat confdefs.h >>conftest.$ac_ext
52659 cat >>conftest.$ac_ext <<_ACEOF
52660 /* end confdefs.h. */
52661 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52663 #define $ac_func innocuous_$ac_func
52665 /* System header to define __stub macros and hopefully few prototypes,
52666 which can conflict with char $ac_func (); below.
52667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52668 <limits.h> exists even on freestanding compilers. */
52670 #ifdef __STDC__
52671 # include <limits.h>
52672 #else
52673 # include <assert.h>
52674 #endif
52676 #undef $ac_func
52678 /* Override any gcc2 internal prototype to avoid an error. */
52679 #ifdef __cplusplus
52680 extern "C"
52682 #endif
52683 /* We use char because int might match the return type of a gcc2
52684 builtin and then its argument prototype would still apply. */
52685 char $ac_func ();
52686 /* The GNU C library defines this for functions which it implements
52687 to always fail with ENOSYS. Some functions are actually named
52688 something starting with __ and the normal name is an alias. */
52689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52690 choke me
52691 #else
52692 char (*f) () = $ac_func;
52693 #endif
52694 #ifdef __cplusplus
52696 #endif
52699 main ()
52701 return f != $ac_func;
52703 return 0;
52705 _ACEOF
52706 rm -f conftest.$ac_objext conftest$ac_exeext
52707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52708 (eval $ac_link) 2>conftest.er1
52709 ac_status=$?
52710 grep -v '^ *+' conftest.er1 >conftest.err
52711 rm -f conftest.er1
52712 cat conftest.err >&5
52713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52714 (exit $ac_status); } &&
52715 { ac_try='test -z "$ac_c_werror_flag"
52716 || test ! -s conftest.err'
52717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52718 (eval $ac_try) 2>&5
52719 ac_status=$?
52720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52721 (exit $ac_status); }; } &&
52722 { ac_try='test -s conftest$ac_exeext'
52723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52724 (eval $ac_try) 2>&5
52725 ac_status=$?
52726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52727 (exit $ac_status); }; }; then
52728 eval "$as_ac_var=yes"
52729 else
52730 echo "$as_me: failed program was:" >&5
52731 sed 's/^/| /' conftest.$ac_ext >&5
52733 eval "$as_ac_var=no"
52735 rm -f conftest.err conftest.$ac_objext \
52736 conftest$ac_exeext conftest.$ac_ext
52738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52739 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52740 if test `eval echo '${'$as_ac_var'}'` = yes; then
52741 cat >>confdefs.h <<_ACEOF
52742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52743 _ACEOF
52745 else
52746 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
52748 done
52752 for ac_func in __signbitf
52754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52755 echo "$as_me:$LINENO: checking for $ac_func" >&5
52756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52757 if eval "test \"\${$as_ac_var+set}\" = set"; then
52758 echo $ECHO_N "(cached) $ECHO_C" >&6
52759 else
52760 if test x$gcc_no_link = xyes; then
52761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52763 { (exit 1); exit 1; }; }
52765 cat >conftest.$ac_ext <<_ACEOF
52766 /* confdefs.h. */
52767 _ACEOF
52768 cat confdefs.h >>conftest.$ac_ext
52769 cat >>conftest.$ac_ext <<_ACEOF
52770 /* end confdefs.h. */
52771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52773 #define $ac_func innocuous_$ac_func
52775 /* System header to define __stub macros and hopefully few prototypes,
52776 which can conflict with char $ac_func (); below.
52777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52778 <limits.h> exists even on freestanding compilers. */
52780 #ifdef __STDC__
52781 # include <limits.h>
52782 #else
52783 # include <assert.h>
52784 #endif
52786 #undef $ac_func
52788 /* Override any gcc2 internal prototype to avoid an error. */
52789 #ifdef __cplusplus
52790 extern "C"
52792 #endif
52793 /* We use char because int might match the return type of a gcc2
52794 builtin and then its argument prototype would still apply. */
52795 char $ac_func ();
52796 /* The GNU C library defines this for functions which it implements
52797 to always fail with ENOSYS. Some functions are actually named
52798 something starting with __ and the normal name is an alias. */
52799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52800 choke me
52801 #else
52802 char (*f) () = $ac_func;
52803 #endif
52804 #ifdef __cplusplus
52806 #endif
52809 main ()
52811 return f != $ac_func;
52813 return 0;
52815 _ACEOF
52816 rm -f conftest.$ac_objext conftest$ac_exeext
52817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52818 (eval $ac_link) 2>conftest.er1
52819 ac_status=$?
52820 grep -v '^ *+' conftest.er1 >conftest.err
52821 rm -f conftest.er1
52822 cat conftest.err >&5
52823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52824 (exit $ac_status); } &&
52825 { ac_try='test -z "$ac_c_werror_flag"
52826 || test ! -s conftest.err'
52827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52828 (eval $ac_try) 2>&5
52829 ac_status=$?
52830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52831 (exit $ac_status); }; } &&
52832 { ac_try='test -s conftest$ac_exeext'
52833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52834 (eval $ac_try) 2>&5
52835 ac_status=$?
52836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52837 (exit $ac_status); }; }; then
52838 eval "$as_ac_var=yes"
52839 else
52840 echo "$as_me: failed program was:" >&5
52841 sed 's/^/| /' conftest.$ac_ext >&5
52843 eval "$as_ac_var=no"
52845 rm -f conftest.err conftest.$ac_objext \
52846 conftest$ac_exeext conftest.$ac_ext
52848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52850 if test `eval echo '${'$as_ac_var'}'` = yes; then
52851 cat >>confdefs.h <<_ACEOF
52852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52853 _ACEOF
52855 else
52856 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
52858 done
52861 if test x$ac_cv_func_copysignl = x"yes"; then
52863 for ac_func in __signbitl
52865 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52866 echo "$as_me:$LINENO: checking for $ac_func" >&5
52867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52868 if eval "test \"\${$as_ac_var+set}\" = set"; then
52869 echo $ECHO_N "(cached) $ECHO_C" >&6
52870 else
52871 if test x$gcc_no_link = xyes; then
52872 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52874 { (exit 1); exit 1; }; }
52876 cat >conftest.$ac_ext <<_ACEOF
52877 /* confdefs.h. */
52878 _ACEOF
52879 cat confdefs.h >>conftest.$ac_ext
52880 cat >>conftest.$ac_ext <<_ACEOF
52881 /* end confdefs.h. */
52882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52884 #define $ac_func innocuous_$ac_func
52886 /* System header to define __stub macros and hopefully few prototypes,
52887 which can conflict with char $ac_func (); below.
52888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52889 <limits.h> exists even on freestanding compilers. */
52891 #ifdef __STDC__
52892 # include <limits.h>
52893 #else
52894 # include <assert.h>
52895 #endif
52897 #undef $ac_func
52899 /* Override any gcc2 internal prototype to avoid an error. */
52900 #ifdef __cplusplus
52901 extern "C"
52903 #endif
52904 /* We use char because int might match the return type of a gcc2
52905 builtin and then its argument prototype would still apply. */
52906 char $ac_func ();
52907 /* The GNU C library defines this for functions which it implements
52908 to always fail with ENOSYS. Some functions are actually named
52909 something starting with __ and the normal name is an alias. */
52910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52911 choke me
52912 #else
52913 char (*f) () = $ac_func;
52914 #endif
52915 #ifdef __cplusplus
52917 #endif
52920 main ()
52922 return f != $ac_func;
52924 return 0;
52926 _ACEOF
52927 rm -f conftest.$ac_objext conftest$ac_exeext
52928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52929 (eval $ac_link) 2>conftest.er1
52930 ac_status=$?
52931 grep -v '^ *+' conftest.er1 >conftest.err
52932 rm -f conftest.er1
52933 cat conftest.err >&5
52934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52935 (exit $ac_status); } &&
52936 { ac_try='test -z "$ac_c_werror_flag"
52937 || test ! -s conftest.err'
52938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52939 (eval $ac_try) 2>&5
52940 ac_status=$?
52941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52942 (exit $ac_status); }; } &&
52943 { ac_try='test -s conftest$ac_exeext'
52944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52945 (eval $ac_try) 2>&5
52946 ac_status=$?
52947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52948 (exit $ac_status); }; }; then
52949 eval "$as_ac_var=yes"
52950 else
52951 echo "$as_me: failed program was:" >&5
52952 sed 's/^/| /' conftest.$ac_ext >&5
52954 eval "$as_ac_var=no"
52956 rm -f conftest.err conftest.$ac_objext \
52957 conftest$ac_exeext conftest.$ac_ext
52959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52961 if test `eval echo '${'$as_ac_var'}'` = yes; then
52962 cat >>confdefs.h <<_ACEOF
52963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52964 _ACEOF
52966 else
52967 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
52969 done
52973 # Used in libmath/Makefile.am.
52974 if test -n "$LIBMATHOBJS"; then
52975 need_libmath=yes
52980 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52981 ac_save_CXXFLAGS="$CXXFLAGS"
52982 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52985 echo "$as_me:$LINENO: checking for strtold declaration" >&5
52986 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
52987 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52988 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
52989 echo $ECHO_N "(cached) $ECHO_C" >&6
52990 else
52994 ac_ext=cc
52995 ac_cpp='$CXXCPP $CPPFLAGS'
52996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53000 cat >conftest.$ac_ext <<_ACEOF
53001 /* confdefs.h. */
53002 _ACEOF
53003 cat confdefs.h >>conftest.$ac_ext
53004 cat >>conftest.$ac_ext <<_ACEOF
53005 /* end confdefs.h. */
53006 #include <stdlib.h>
53008 main ()
53010 strtold(0, 0);
53012 return 0;
53014 _ACEOF
53015 rm -f conftest.$ac_objext
53016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53017 (eval $ac_compile) 2>conftest.er1
53018 ac_status=$?
53019 grep -v '^ *+' conftest.er1 >conftest.err
53020 rm -f conftest.er1
53021 cat conftest.err >&5
53022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53023 (exit $ac_status); } &&
53024 { ac_try='test -z "$ac_cxx_werror_flag"
53025 || test ! -s conftest.err'
53026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53027 (eval $ac_try) 2>&5
53028 ac_status=$?
53029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53030 (exit $ac_status); }; } &&
53031 { ac_try='test -s conftest.$ac_objext'
53032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53033 (eval $ac_try) 2>&5
53034 ac_status=$?
53035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53036 (exit $ac_status); }; }; then
53037 glibcxx_cv_func_strtold_use=yes
53038 else
53039 echo "$as_me: failed program was:" >&5
53040 sed 's/^/| /' conftest.$ac_ext >&5
53042 glibcxx_cv_func_strtold_use=no
53044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53045 ac_ext=c
53046 ac_cpp='$CPP $CPPFLAGS'
53047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53055 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
53056 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
53057 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53059 for ac_func in strtold
53061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53062 echo "$as_me:$LINENO: checking for $ac_func" >&5
53063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53064 if eval "test \"\${$as_ac_var+set}\" = set"; then
53065 echo $ECHO_N "(cached) $ECHO_C" >&6
53066 else
53067 if test x$gcc_no_link = xyes; then
53068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53070 { (exit 1); exit 1; }; }
53072 cat >conftest.$ac_ext <<_ACEOF
53073 /* confdefs.h. */
53074 _ACEOF
53075 cat confdefs.h >>conftest.$ac_ext
53076 cat >>conftest.$ac_ext <<_ACEOF
53077 /* end confdefs.h. */
53078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53080 #define $ac_func innocuous_$ac_func
53082 /* System header to define __stub macros and hopefully few prototypes,
53083 which can conflict with char $ac_func (); below.
53084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53085 <limits.h> exists even on freestanding compilers. */
53087 #ifdef __STDC__
53088 # include <limits.h>
53089 #else
53090 # include <assert.h>
53091 #endif
53093 #undef $ac_func
53095 /* Override any gcc2 internal prototype to avoid an error. */
53096 #ifdef __cplusplus
53097 extern "C"
53099 #endif
53100 /* We use char because int might match the return type of a gcc2
53101 builtin and then its argument prototype would still apply. */
53102 char $ac_func ();
53103 /* The GNU C library defines this for functions which it implements
53104 to always fail with ENOSYS. Some functions are actually named
53105 something starting with __ and the normal name is an alias. */
53106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53107 choke me
53108 #else
53109 char (*f) () = $ac_func;
53110 #endif
53111 #ifdef __cplusplus
53113 #endif
53116 main ()
53118 return f != $ac_func;
53120 return 0;
53122 _ACEOF
53123 rm -f conftest.$ac_objext conftest$ac_exeext
53124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53125 (eval $ac_link) 2>conftest.er1
53126 ac_status=$?
53127 grep -v '^ *+' conftest.er1 >conftest.err
53128 rm -f conftest.er1
53129 cat conftest.err >&5
53130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53131 (exit $ac_status); } &&
53132 { ac_try='test -z "$ac_c_werror_flag"
53133 || test ! -s conftest.err'
53134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53135 (eval $ac_try) 2>&5
53136 ac_status=$?
53137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53138 (exit $ac_status); }; } &&
53139 { ac_try='test -s conftest$ac_exeext'
53140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53141 (eval $ac_try) 2>&5
53142 ac_status=$?
53143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53144 (exit $ac_status); }; }; then
53145 eval "$as_ac_var=yes"
53146 else
53147 echo "$as_me: failed program was:" >&5
53148 sed 's/^/| /' conftest.$ac_ext >&5
53150 eval "$as_ac_var=no"
53152 rm -f conftest.err conftest.$ac_objext \
53153 conftest$ac_exeext conftest.$ac_ext
53155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53157 if test `eval echo '${'$as_ac_var'}'` = yes; then
53158 cat >>confdefs.h <<_ACEOF
53159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53160 _ACEOF
53163 done
53171 echo "$as_me:$LINENO: checking for strtof declaration" >&5
53172 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
53173 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53174 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
53175 echo $ECHO_N "(cached) $ECHO_C" >&6
53176 else
53180 ac_ext=cc
53181 ac_cpp='$CXXCPP $CPPFLAGS'
53182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53186 cat >conftest.$ac_ext <<_ACEOF
53187 /* confdefs.h. */
53188 _ACEOF
53189 cat confdefs.h >>conftest.$ac_ext
53190 cat >>conftest.$ac_ext <<_ACEOF
53191 /* end confdefs.h. */
53192 #include <stdlib.h>
53194 main ()
53196 strtof(0, 0);
53198 return 0;
53200 _ACEOF
53201 rm -f conftest.$ac_objext
53202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53203 (eval $ac_compile) 2>conftest.er1
53204 ac_status=$?
53205 grep -v '^ *+' conftest.er1 >conftest.err
53206 rm -f conftest.er1
53207 cat conftest.err >&5
53208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53209 (exit $ac_status); } &&
53210 { ac_try='test -z "$ac_cxx_werror_flag"
53211 || test ! -s conftest.err'
53212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53213 (eval $ac_try) 2>&5
53214 ac_status=$?
53215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53216 (exit $ac_status); }; } &&
53217 { ac_try='test -s conftest.$ac_objext'
53218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53219 (eval $ac_try) 2>&5
53220 ac_status=$?
53221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53222 (exit $ac_status); }; }; then
53223 glibcxx_cv_func_strtof_use=yes
53224 else
53225 echo "$as_me: failed program was:" >&5
53226 sed 's/^/| /' conftest.$ac_ext >&5
53228 glibcxx_cv_func_strtof_use=no
53230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53231 ac_ext=c
53232 ac_cpp='$CPP $CPPFLAGS'
53233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53241 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
53242 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
53243 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53245 for ac_func in strtof
53247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53248 echo "$as_me:$LINENO: checking for $ac_func" >&5
53249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53250 if eval "test \"\${$as_ac_var+set}\" = set"; then
53251 echo $ECHO_N "(cached) $ECHO_C" >&6
53252 else
53253 if test x$gcc_no_link = xyes; then
53254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53256 { (exit 1); exit 1; }; }
53258 cat >conftest.$ac_ext <<_ACEOF
53259 /* confdefs.h. */
53260 _ACEOF
53261 cat confdefs.h >>conftest.$ac_ext
53262 cat >>conftest.$ac_ext <<_ACEOF
53263 /* end confdefs.h. */
53264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53266 #define $ac_func innocuous_$ac_func
53268 /* System header to define __stub macros and hopefully few prototypes,
53269 which can conflict with char $ac_func (); below.
53270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53271 <limits.h> exists even on freestanding compilers. */
53273 #ifdef __STDC__
53274 # include <limits.h>
53275 #else
53276 # include <assert.h>
53277 #endif
53279 #undef $ac_func
53281 /* Override any gcc2 internal prototype to avoid an error. */
53282 #ifdef __cplusplus
53283 extern "C"
53285 #endif
53286 /* We use char because int might match the return type of a gcc2
53287 builtin and then its argument prototype would still apply. */
53288 char $ac_func ();
53289 /* The GNU C library defines this for functions which it implements
53290 to always fail with ENOSYS. Some functions are actually named
53291 something starting with __ and the normal name is an alias. */
53292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53293 choke me
53294 #else
53295 char (*f) () = $ac_func;
53296 #endif
53297 #ifdef __cplusplus
53299 #endif
53302 main ()
53304 return f != $ac_func;
53306 return 0;
53308 _ACEOF
53309 rm -f conftest.$ac_objext conftest$ac_exeext
53310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53311 (eval $ac_link) 2>conftest.er1
53312 ac_status=$?
53313 grep -v '^ *+' conftest.er1 >conftest.err
53314 rm -f conftest.er1
53315 cat conftest.err >&5
53316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53317 (exit $ac_status); } &&
53318 { ac_try='test -z "$ac_c_werror_flag"
53319 || test ! -s conftest.err'
53320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53321 (eval $ac_try) 2>&5
53322 ac_status=$?
53323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53324 (exit $ac_status); }; } &&
53325 { ac_try='test -s conftest$ac_exeext'
53326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53327 (eval $ac_try) 2>&5
53328 ac_status=$?
53329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53330 (exit $ac_status); }; }; then
53331 eval "$as_ac_var=yes"
53332 else
53333 echo "$as_me: failed program was:" >&5
53334 sed 's/^/| /' conftest.$ac_ext >&5
53336 eval "$as_ac_var=no"
53338 rm -f conftest.err conftest.$ac_objext \
53339 conftest$ac_exeext conftest.$ac_ext
53341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53343 if test `eval echo '${'$as_ac_var'}'` = yes; then
53344 cat >>confdefs.h <<_ACEOF
53345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53346 _ACEOF
53349 done
53357 CXXFLAGS="$ac_save_CXXFLAGS"
53360 # For showmanyc_helper().
53363 for ac_header in sys/ioctl.h sys/filio.h
53365 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53366 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53367 echo "$as_me:$LINENO: checking for $ac_header" >&5
53368 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53369 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53370 echo $ECHO_N "(cached) $ECHO_C" >&6
53372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53373 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53374 else
53375 # Is the header compilable?
53376 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53377 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53378 cat >conftest.$ac_ext <<_ACEOF
53379 /* confdefs.h. */
53380 _ACEOF
53381 cat confdefs.h >>conftest.$ac_ext
53382 cat >>conftest.$ac_ext <<_ACEOF
53383 /* end confdefs.h. */
53384 $ac_includes_default
53385 #include <$ac_header>
53386 _ACEOF
53387 rm -f conftest.$ac_objext
53388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53389 (eval $ac_compile) 2>conftest.er1
53390 ac_status=$?
53391 grep -v '^ *+' conftest.er1 >conftest.err
53392 rm -f conftest.er1
53393 cat conftest.err >&5
53394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53395 (exit $ac_status); } &&
53396 { ac_try='test -z "$ac_c_werror_flag"
53397 || test ! -s conftest.err'
53398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53399 (eval $ac_try) 2>&5
53400 ac_status=$?
53401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53402 (exit $ac_status); }; } &&
53403 { ac_try='test -s conftest.$ac_objext'
53404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53405 (eval $ac_try) 2>&5
53406 ac_status=$?
53407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53408 (exit $ac_status); }; }; then
53409 ac_header_compiler=yes
53410 else
53411 echo "$as_me: failed program was:" >&5
53412 sed 's/^/| /' conftest.$ac_ext >&5
53414 ac_header_compiler=no
53416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53417 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53418 echo "${ECHO_T}$ac_header_compiler" >&6
53420 # Is the header present?
53421 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53422 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53423 cat >conftest.$ac_ext <<_ACEOF
53424 /* confdefs.h. */
53425 _ACEOF
53426 cat confdefs.h >>conftest.$ac_ext
53427 cat >>conftest.$ac_ext <<_ACEOF
53428 /* end confdefs.h. */
53429 #include <$ac_header>
53430 _ACEOF
53431 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53432 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53433 ac_status=$?
53434 grep -v '^ *+' conftest.er1 >conftest.err
53435 rm -f conftest.er1
53436 cat conftest.err >&5
53437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53438 (exit $ac_status); } >/dev/null; then
53439 if test -s conftest.err; then
53440 ac_cpp_err=$ac_c_preproc_warn_flag
53441 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53442 else
53443 ac_cpp_err=
53445 else
53446 ac_cpp_err=yes
53448 if test -z "$ac_cpp_err"; then
53449 ac_header_preproc=yes
53450 else
53451 echo "$as_me: failed program was:" >&5
53452 sed 's/^/| /' conftest.$ac_ext >&5
53454 ac_header_preproc=no
53456 rm -f conftest.err conftest.$ac_ext
53457 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53458 echo "${ECHO_T}$ac_header_preproc" >&6
53460 # So? What about this header?
53461 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53462 yes:no: )
53463 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53464 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53465 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53466 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53467 ac_header_preproc=yes
53469 no:yes:* )
53470 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53471 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53472 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53473 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53474 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53475 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53476 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53477 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53478 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53479 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53480 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53481 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53483 cat <<\_ASBOX
53484 ## ----------------------------------------- ##
53485 ## Report this to the package-unused lists. ##
53486 ## ----------------------------------------- ##
53487 _ASBOX
53489 sed "s/^/$as_me: WARNING: /" >&2
53491 esac
53492 echo "$as_me:$LINENO: checking for $ac_header" >&5
53493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53495 echo $ECHO_N "(cached) $ECHO_C" >&6
53496 else
53497 eval "$as_ac_Header=\$ac_header_preproc"
53499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53500 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53503 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53504 cat >>confdefs.h <<_ACEOF
53505 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53506 _ACEOF
53510 done
53513 echo "$as_me:$LINENO: checking for poll" >&5
53514 echo $ECHO_N "checking for poll... $ECHO_C" >&6
53515 if test "${glibcxx_cv_POLL+set}" = set; then
53516 echo $ECHO_N "(cached) $ECHO_C" >&6
53517 else
53519 if test x$gcc_no_link = xyes; then
53520 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53522 { (exit 1); exit 1; }; }
53524 cat >conftest.$ac_ext <<_ACEOF
53525 /* confdefs.h. */
53526 _ACEOF
53527 cat confdefs.h >>conftest.$ac_ext
53528 cat >>conftest.$ac_ext <<_ACEOF
53529 /* end confdefs.h. */
53530 #include <poll.h>
53532 main ()
53534 struct pollfd pfd[1];
53535 pfd[0].events = POLLIN;
53536 poll(pfd, 1, 0);
53538 return 0;
53540 _ACEOF
53541 rm -f conftest.$ac_objext conftest$ac_exeext
53542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53543 (eval $ac_link) 2>conftest.er1
53544 ac_status=$?
53545 grep -v '^ *+' conftest.er1 >conftest.err
53546 rm -f conftest.er1
53547 cat conftest.err >&5
53548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53549 (exit $ac_status); } &&
53550 { ac_try='test -z "$ac_c_werror_flag"
53551 || test ! -s conftest.err'
53552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53553 (eval $ac_try) 2>&5
53554 ac_status=$?
53555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53556 (exit $ac_status); }; } &&
53557 { ac_try='test -s conftest$ac_exeext'
53558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53559 (eval $ac_try) 2>&5
53560 ac_status=$?
53561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53562 (exit $ac_status); }; }; then
53563 glibcxx_cv_POLL=yes
53564 else
53565 echo "$as_me: failed program was:" >&5
53566 sed 's/^/| /' conftest.$ac_ext >&5
53568 glibcxx_cv_POLL=no
53570 rm -f conftest.err conftest.$ac_objext \
53571 conftest$ac_exeext conftest.$ac_ext
53575 if test $glibcxx_cv_POLL = yes; then
53577 cat >>confdefs.h <<\_ACEOF
53578 #define HAVE_POLL 1
53579 _ACEOF
53582 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
53583 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
53586 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
53587 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
53588 if test "${glibcxx_cv_S_ISREG+set}" = set; then
53589 echo $ECHO_N "(cached) $ECHO_C" >&6
53590 else
53592 if test x$gcc_no_link = xyes; then
53593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53595 { (exit 1); exit 1; }; }
53597 cat >conftest.$ac_ext <<_ACEOF
53598 /* confdefs.h. */
53599 _ACEOF
53600 cat confdefs.h >>conftest.$ac_ext
53601 cat >>conftest.$ac_ext <<_ACEOF
53602 /* end confdefs.h. */
53603 #include <sys/stat.h>
53605 main ()
53607 struct stat buffer;
53608 fstat(0, &buffer);
53609 S_ISREG(buffer.st_mode);
53611 return 0;
53613 _ACEOF
53614 rm -f conftest.$ac_objext conftest$ac_exeext
53615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53616 (eval $ac_link) 2>conftest.er1
53617 ac_status=$?
53618 grep -v '^ *+' conftest.er1 >conftest.err
53619 rm -f conftest.er1
53620 cat conftest.err >&5
53621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53622 (exit $ac_status); } &&
53623 { ac_try='test -z "$ac_c_werror_flag"
53624 || test ! -s conftest.err'
53625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53626 (eval $ac_try) 2>&5
53627 ac_status=$?
53628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53629 (exit $ac_status); }; } &&
53630 { ac_try='test -s conftest$ac_exeext'
53631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53632 (eval $ac_try) 2>&5
53633 ac_status=$?
53634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53635 (exit $ac_status); }; }; then
53636 glibcxx_cv_S_ISREG=yes
53637 else
53638 echo "$as_me: failed program was:" >&5
53639 sed 's/^/| /' conftest.$ac_ext >&5
53641 glibcxx_cv_S_ISREG=no
53643 rm -f conftest.err conftest.$ac_objext \
53644 conftest$ac_exeext conftest.$ac_ext
53648 if test "${glibcxx_cv_S_IFREG+set}" = set; then
53649 echo $ECHO_N "(cached) $ECHO_C" >&6
53650 else
53652 if test x$gcc_no_link = xyes; then
53653 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53655 { (exit 1); exit 1; }; }
53657 cat >conftest.$ac_ext <<_ACEOF
53658 /* confdefs.h. */
53659 _ACEOF
53660 cat confdefs.h >>conftest.$ac_ext
53661 cat >>conftest.$ac_ext <<_ACEOF
53662 /* end confdefs.h. */
53663 #include <sys/stat.h>
53665 main ()
53667 struct stat buffer;
53668 fstat(0, &buffer);
53669 S_IFREG & buffer.st_mode;
53671 return 0;
53673 _ACEOF
53674 rm -f conftest.$ac_objext conftest$ac_exeext
53675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53676 (eval $ac_link) 2>conftest.er1
53677 ac_status=$?
53678 grep -v '^ *+' conftest.er1 >conftest.err
53679 rm -f conftest.er1
53680 cat conftest.err >&5
53681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53682 (exit $ac_status); } &&
53683 { ac_try='test -z "$ac_c_werror_flag"
53684 || test ! -s conftest.err'
53685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53686 (eval $ac_try) 2>&5
53687 ac_status=$?
53688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53689 (exit $ac_status); }; } &&
53690 { ac_try='test -s conftest$ac_exeext'
53691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53692 (eval $ac_try) 2>&5
53693 ac_status=$?
53694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53695 (exit $ac_status); }; }; then
53696 glibcxx_cv_S_IFREG=yes
53697 else
53698 echo "$as_me: failed program was:" >&5
53699 sed 's/^/| /' conftest.$ac_ext >&5
53701 glibcxx_cv_S_IFREG=no
53703 rm -f conftest.err conftest.$ac_objext \
53704 conftest$ac_exeext conftest.$ac_ext
53708 res=no
53709 if test $glibcxx_cv_S_ISREG = yes; then
53711 cat >>confdefs.h <<\_ACEOF
53712 #define HAVE_S_ISREG 1
53713 _ACEOF
53715 res=S_ISREG
53716 elif test $glibcxx_cv_S_IFREG = yes; then
53718 cat >>confdefs.h <<\_ACEOF
53719 #define HAVE_S_IFREG 1
53720 _ACEOF
53722 res=S_IFREG
53724 echo "$as_me:$LINENO: result: $res" >&5
53725 echo "${ECHO_T}$res" >&6
53728 # For xsputn_2().
53730 for ac_header in sys/uio.h
53732 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53734 echo "$as_me:$LINENO: checking for $ac_header" >&5
53735 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53737 echo $ECHO_N "(cached) $ECHO_C" >&6
53739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53740 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53741 else
53742 # Is the header compilable?
53743 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53744 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53745 cat >conftest.$ac_ext <<_ACEOF
53746 /* confdefs.h. */
53747 _ACEOF
53748 cat confdefs.h >>conftest.$ac_ext
53749 cat >>conftest.$ac_ext <<_ACEOF
53750 /* end confdefs.h. */
53751 $ac_includes_default
53752 #include <$ac_header>
53753 _ACEOF
53754 rm -f conftest.$ac_objext
53755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53756 (eval $ac_compile) 2>conftest.er1
53757 ac_status=$?
53758 grep -v '^ *+' conftest.er1 >conftest.err
53759 rm -f conftest.er1
53760 cat conftest.err >&5
53761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53762 (exit $ac_status); } &&
53763 { ac_try='test -z "$ac_c_werror_flag"
53764 || test ! -s conftest.err'
53765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53766 (eval $ac_try) 2>&5
53767 ac_status=$?
53768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53769 (exit $ac_status); }; } &&
53770 { ac_try='test -s conftest.$ac_objext'
53771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53772 (eval $ac_try) 2>&5
53773 ac_status=$?
53774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53775 (exit $ac_status); }; }; then
53776 ac_header_compiler=yes
53777 else
53778 echo "$as_me: failed program was:" >&5
53779 sed 's/^/| /' conftest.$ac_ext >&5
53781 ac_header_compiler=no
53783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53784 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53785 echo "${ECHO_T}$ac_header_compiler" >&6
53787 # Is the header present?
53788 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53789 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53790 cat >conftest.$ac_ext <<_ACEOF
53791 /* confdefs.h. */
53792 _ACEOF
53793 cat confdefs.h >>conftest.$ac_ext
53794 cat >>conftest.$ac_ext <<_ACEOF
53795 /* end confdefs.h. */
53796 #include <$ac_header>
53797 _ACEOF
53798 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53799 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53800 ac_status=$?
53801 grep -v '^ *+' conftest.er1 >conftest.err
53802 rm -f conftest.er1
53803 cat conftest.err >&5
53804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53805 (exit $ac_status); } >/dev/null; then
53806 if test -s conftest.err; then
53807 ac_cpp_err=$ac_c_preproc_warn_flag
53808 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53809 else
53810 ac_cpp_err=
53812 else
53813 ac_cpp_err=yes
53815 if test -z "$ac_cpp_err"; then
53816 ac_header_preproc=yes
53817 else
53818 echo "$as_me: failed program was:" >&5
53819 sed 's/^/| /' conftest.$ac_ext >&5
53821 ac_header_preproc=no
53823 rm -f conftest.err conftest.$ac_ext
53824 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53825 echo "${ECHO_T}$ac_header_preproc" >&6
53827 # So? What about this header?
53828 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53829 yes:no: )
53830 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53831 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53832 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53833 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53834 ac_header_preproc=yes
53836 no:yes:* )
53837 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53838 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53839 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53840 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53841 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53842 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53843 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53844 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53845 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53846 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53847 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53848 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53850 cat <<\_ASBOX
53851 ## ----------------------------------------- ##
53852 ## Report this to the package-unused lists. ##
53853 ## ----------------------------------------- ##
53854 _ASBOX
53856 sed "s/^/$as_me: WARNING: /" >&2
53858 esac
53859 echo "$as_me:$LINENO: checking for $ac_header" >&5
53860 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53861 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53862 echo $ECHO_N "(cached) $ECHO_C" >&6
53863 else
53864 eval "$as_ac_Header=\$ac_header_preproc"
53866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53867 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53870 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53871 cat >>confdefs.h <<_ACEOF
53872 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53873 _ACEOF
53877 done
53880 echo "$as_me:$LINENO: checking for writev" >&5
53881 echo $ECHO_N "checking for writev... $ECHO_C" >&6
53882 if test "${glibcxx_cv_WRITEV+set}" = set; then
53883 echo $ECHO_N "(cached) $ECHO_C" >&6
53884 else
53886 if test x$gcc_no_link = xyes; then
53887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53889 { (exit 1); exit 1; }; }
53891 cat >conftest.$ac_ext <<_ACEOF
53892 /* confdefs.h. */
53893 _ACEOF
53894 cat confdefs.h >>conftest.$ac_ext
53895 cat >>conftest.$ac_ext <<_ACEOF
53896 /* end confdefs.h. */
53897 #include <sys/uio.h>
53899 main ()
53901 struct iovec iov[2];
53902 writev(0, iov, 0);
53904 return 0;
53906 _ACEOF
53907 rm -f conftest.$ac_objext conftest$ac_exeext
53908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53909 (eval $ac_link) 2>conftest.er1
53910 ac_status=$?
53911 grep -v '^ *+' conftest.er1 >conftest.err
53912 rm -f conftest.er1
53913 cat conftest.err >&5
53914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53915 (exit $ac_status); } &&
53916 { ac_try='test -z "$ac_c_werror_flag"
53917 || test ! -s conftest.err'
53918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53919 (eval $ac_try) 2>&5
53920 ac_status=$?
53921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53922 (exit $ac_status); }; } &&
53923 { ac_try='test -s conftest$ac_exeext'
53924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53925 (eval $ac_try) 2>&5
53926 ac_status=$?
53927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53928 (exit $ac_status); }; }; then
53929 glibcxx_cv_WRITEV=yes
53930 else
53931 echo "$as_me: failed program was:" >&5
53932 sed 's/^/| /' conftest.$ac_ext >&5
53934 glibcxx_cv_WRITEV=no
53936 rm -f conftest.err conftest.$ac_objext \
53937 conftest$ac_exeext conftest.$ac_ext
53941 if test $glibcxx_cv_WRITEV = yes; then
53943 cat >>confdefs.h <<\_ACEOF
53944 #define HAVE_WRITEV 1
53945 _ACEOF
53948 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
53949 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
53952 cat >>confdefs.h <<\_ACEOF
53953 #define HAVE_LC_MESSAGES 1
53954 _ACEOF
53957 cat >conftest.$ac_ext <<_ACEOF
53958 /* confdefs.h. */
53959 _ACEOF
53960 cat confdefs.h >>conftest.$ac_ext
53961 cat >>conftest.$ac_ext <<_ACEOF
53962 /* end confdefs.h. */
53963 #include <setjmp.h>
53965 main ()
53967 sigjmp_buf env;
53968 while (! sigsetjmp (env, 1))
53969 siglongjmp (env, 1);
53972 return 0;
53974 _ACEOF
53975 rm -f conftest.$ac_objext
53976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53977 (eval $ac_compile) 2>conftest.er1
53978 ac_status=$?
53979 grep -v '^ *+' conftest.er1 >conftest.err
53980 rm -f conftest.er1
53981 cat conftest.err >&5
53982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53983 (exit $ac_status); } &&
53984 { ac_try='test -z "$ac_c_werror_flag"
53985 || test ! -s conftest.err'
53986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53987 (eval $ac_try) 2>&5
53988 ac_status=$?
53989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53990 (exit $ac_status); }; } &&
53991 { ac_try='test -s conftest.$ac_objext'
53992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53993 (eval $ac_try) 2>&5
53994 ac_status=$?
53995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53996 (exit $ac_status); }; }; then
53998 cat >>confdefs.h <<\_ACEOF
53999 #define HAVE_SIGSETJMP 1
54000 _ACEOF
54002 else
54003 echo "$as_me: failed program was:" >&5
54004 sed 's/^/| /' conftest.$ac_ext >&5
54007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54009 cat >>confdefs.h <<\_ACEOF
54010 #define HAVE_MMAP 1
54011 _ACEOF
54015 *djgpp)
54036 for ac_header in float.h ieeefp.h inttypes.h locale.h \
54037 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
54038 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
54039 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
54041 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
54042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54043 echo "$as_me:$LINENO: checking for $ac_header" >&5
54044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54046 echo $ECHO_N "(cached) $ECHO_C" >&6
54048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54049 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54050 else
54051 # Is the header compilable?
54052 echo "$as_me:$LINENO: checking $ac_header usability" >&5
54053 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
54054 cat >conftest.$ac_ext <<_ACEOF
54055 /* confdefs.h. */
54056 _ACEOF
54057 cat confdefs.h >>conftest.$ac_ext
54058 cat >>conftest.$ac_ext <<_ACEOF
54059 /* end confdefs.h. */
54060 $ac_includes_default
54061 #include <$ac_header>
54062 _ACEOF
54063 rm -f conftest.$ac_objext
54064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54065 (eval $ac_compile) 2>conftest.er1
54066 ac_status=$?
54067 grep -v '^ *+' conftest.er1 >conftest.err
54068 rm -f conftest.er1
54069 cat conftest.err >&5
54070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54071 (exit $ac_status); } &&
54072 { ac_try='test -z "$ac_c_werror_flag"
54073 || test ! -s conftest.err'
54074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54075 (eval $ac_try) 2>&5
54076 ac_status=$?
54077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54078 (exit $ac_status); }; } &&
54079 { ac_try='test -s conftest.$ac_objext'
54080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54081 (eval $ac_try) 2>&5
54082 ac_status=$?
54083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54084 (exit $ac_status); }; }; then
54085 ac_header_compiler=yes
54086 else
54087 echo "$as_me: failed program was:" >&5
54088 sed 's/^/| /' conftest.$ac_ext >&5
54090 ac_header_compiler=no
54092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54093 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54094 echo "${ECHO_T}$ac_header_compiler" >&6
54096 # Is the header present?
54097 echo "$as_me:$LINENO: checking $ac_header presence" >&5
54098 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54099 cat >conftest.$ac_ext <<_ACEOF
54100 /* confdefs.h. */
54101 _ACEOF
54102 cat confdefs.h >>conftest.$ac_ext
54103 cat >>conftest.$ac_ext <<_ACEOF
54104 /* end confdefs.h. */
54105 #include <$ac_header>
54106 _ACEOF
54107 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54108 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54109 ac_status=$?
54110 grep -v '^ *+' conftest.er1 >conftest.err
54111 rm -f conftest.er1
54112 cat conftest.err >&5
54113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54114 (exit $ac_status); } >/dev/null; then
54115 if test -s conftest.err; then
54116 ac_cpp_err=$ac_c_preproc_warn_flag
54117 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
54118 else
54119 ac_cpp_err=
54121 else
54122 ac_cpp_err=yes
54124 if test -z "$ac_cpp_err"; then
54125 ac_header_preproc=yes
54126 else
54127 echo "$as_me: failed program was:" >&5
54128 sed 's/^/| /' conftest.$ac_ext >&5
54130 ac_header_preproc=no
54132 rm -f conftest.err conftest.$ac_ext
54133 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54134 echo "${ECHO_T}$ac_header_preproc" >&6
54136 # So? What about this header?
54137 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
54138 yes:no: )
54139 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54140 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54141 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
54142 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
54143 ac_header_preproc=yes
54145 no:yes:* )
54146 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54147 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54148 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
54149 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
54150 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
54151 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
54152 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
54153 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
54154 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54155 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54156 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
54157 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
54159 cat <<\_ASBOX
54160 ## ----------------------------------------- ##
54161 ## Report this to the package-unused lists. ##
54162 ## ----------------------------------------- ##
54163 _ASBOX
54165 sed "s/^/$as_me: WARNING: /" >&2
54167 esac
54168 echo "$as_me:$LINENO: checking for $ac_header" >&5
54169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54171 echo $ECHO_N "(cached) $ECHO_C" >&6
54172 else
54173 eval "$as_ac_Header=\$ac_header_preproc"
54175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54176 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54179 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54180 cat >>confdefs.h <<_ACEOF
54181 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54182 _ACEOF
54186 done
54188 # math
54189 cat >>confdefs.h <<\_ACEOF
54190 #define HAVE_LIBM 1
54191 _ACEOF
54193 cat >>confdefs.h <<\_ACEOF
54194 #define HAVE_ISINF 1
54195 _ACEOF
54197 cat >>confdefs.h <<\_ACEOF
54198 #define HAVE_ISNAN 1
54199 _ACEOF
54201 cat >>confdefs.h <<\_ACEOF
54202 #define HAVE_FINITE 1
54203 _ACEOF
54205 cat >>confdefs.h <<\_ACEOF
54206 #define HAVE_COPYSIGN 1
54207 _ACEOF
54209 cat >>confdefs.h <<\_ACEOF
54210 #define HAVE_SINCOS 1
54211 _ACEOF
54213 cat >>confdefs.h <<\_ACEOF
54214 #define HAVE_HYPOT 1
54215 _ACEOF
54217 cat >>confdefs.h <<\_ACEOF
54218 #define HAVE____BUILTIN_ABS 1
54219 _ACEOF
54221 cat >>confdefs.h <<\_ACEOF
54222 #define HAVE____BUILTIN_FABSF 1
54223 _ACEOF
54225 cat >>confdefs.h <<\_ACEOF
54226 #define HAVE____BUILTIN_FABS 1
54227 _ACEOF
54229 cat >>confdefs.h <<\_ACEOF
54230 #define HAVE____BUILTIN_FABSL 1
54231 _ACEOF
54233 cat >>confdefs.h <<\_ACEOF
54234 #define HAVE____BUILTIN_LABS 1
54235 _ACEOF
54237 cat >>confdefs.h <<\_ACEOF
54238 #define HAVE____BUILTIN_SQRTF 1
54239 _ACEOF
54241 cat >>confdefs.h <<\_ACEOF
54242 #define HAVE____BUILTIN_SQRT 1
54243 _ACEOF
54245 cat >>confdefs.h <<\_ACEOF
54246 #define HAVE____BUILTIN_SQRTL 1
54247 _ACEOF
54249 cat >>confdefs.h <<\_ACEOF
54250 #define HAVE____BUILTIN_SINF 1
54251 _ACEOF
54253 cat >>confdefs.h <<\_ACEOF
54254 #define HAVE____BUILTIN_SIN 1
54255 _ACEOF
54257 cat >>confdefs.h <<\_ACEOF
54258 #define HAVE____BUILTIN_SINL 1
54259 _ACEOF
54261 cat >>confdefs.h <<\_ACEOF
54262 #define HAVE____BUILTIN_COSF 1
54263 _ACEOF
54265 cat >>confdefs.h <<\_ACEOF
54266 #define HAVE____BUILTIN_COS 1
54267 _ACEOF
54269 cat >>confdefs.h <<\_ACEOF
54270 #define HAVE____BUILTIN_COSL 1
54271 _ACEOF
54273 cat >>confdefs.h <<\_ACEOF
54274 #define HAVE_COPYSIGN 1
54275 _ACEOF
54277 cat >>confdefs.h <<\_ACEOF
54278 #define HAVE_COPYSIGNF 1
54279 _ACEOF
54281 cat >>confdefs.h <<\_ACEOF
54282 #define HAVE_S_ISREG 1
54283 _ACEOF
54285 cat >>confdefs.h <<\_ACEOF
54286 #define HAVE_S_IFREG 1
54287 _ACEOF
54289 cat >>confdefs.h <<\_ACEOF
54290 #define HAVE_WRITEV 1
54291 _ACEOF
54295 *-freebsd*)
54312 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
54313 machine/endian.h machine/param.h sys/machine.h sys/types.h \
54314 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
54315 sys/time.h unistd.h
54317 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
54318 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54319 echo "$as_me:$LINENO: checking for $ac_header" >&5
54320 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54321 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54322 echo $ECHO_N "(cached) $ECHO_C" >&6
54324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54325 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54326 else
54327 # Is the header compilable?
54328 echo "$as_me:$LINENO: checking $ac_header usability" >&5
54329 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
54330 cat >conftest.$ac_ext <<_ACEOF
54331 /* confdefs.h. */
54332 _ACEOF
54333 cat confdefs.h >>conftest.$ac_ext
54334 cat >>conftest.$ac_ext <<_ACEOF
54335 /* end confdefs.h. */
54336 $ac_includes_default
54337 #include <$ac_header>
54338 _ACEOF
54339 rm -f conftest.$ac_objext
54340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54341 (eval $ac_compile) 2>conftest.er1
54342 ac_status=$?
54343 grep -v '^ *+' conftest.er1 >conftest.err
54344 rm -f conftest.er1
54345 cat conftest.err >&5
54346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54347 (exit $ac_status); } &&
54348 { ac_try='test -z "$ac_c_werror_flag"
54349 || test ! -s conftest.err'
54350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54351 (eval $ac_try) 2>&5
54352 ac_status=$?
54353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54354 (exit $ac_status); }; } &&
54355 { ac_try='test -s conftest.$ac_objext'
54356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54357 (eval $ac_try) 2>&5
54358 ac_status=$?
54359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54360 (exit $ac_status); }; }; then
54361 ac_header_compiler=yes
54362 else
54363 echo "$as_me: failed program was:" >&5
54364 sed 's/^/| /' conftest.$ac_ext >&5
54366 ac_header_compiler=no
54368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54369 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54370 echo "${ECHO_T}$ac_header_compiler" >&6
54372 # Is the header present?
54373 echo "$as_me:$LINENO: checking $ac_header presence" >&5
54374 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54375 cat >conftest.$ac_ext <<_ACEOF
54376 /* confdefs.h. */
54377 _ACEOF
54378 cat confdefs.h >>conftest.$ac_ext
54379 cat >>conftest.$ac_ext <<_ACEOF
54380 /* end confdefs.h. */
54381 #include <$ac_header>
54382 _ACEOF
54383 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54384 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54385 ac_status=$?
54386 grep -v '^ *+' conftest.er1 >conftest.err
54387 rm -f conftest.er1
54388 cat conftest.err >&5
54389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54390 (exit $ac_status); } >/dev/null; then
54391 if test -s conftest.err; then
54392 ac_cpp_err=$ac_c_preproc_warn_flag
54393 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
54394 else
54395 ac_cpp_err=
54397 else
54398 ac_cpp_err=yes
54400 if test -z "$ac_cpp_err"; then
54401 ac_header_preproc=yes
54402 else
54403 echo "$as_me: failed program was:" >&5
54404 sed 's/^/| /' conftest.$ac_ext >&5
54406 ac_header_preproc=no
54408 rm -f conftest.err conftest.$ac_ext
54409 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54410 echo "${ECHO_T}$ac_header_preproc" >&6
54412 # So? What about this header?
54413 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
54414 yes:no: )
54415 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54416 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54417 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
54418 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
54419 ac_header_preproc=yes
54421 no:yes:* )
54422 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54423 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54424 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
54425 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
54426 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
54427 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
54428 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
54429 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
54430 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54431 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54432 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
54433 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
54435 cat <<\_ASBOX
54436 ## ----------------------------------------- ##
54437 ## Report this to the package-unused lists. ##
54438 ## ----------------------------------------- ##
54439 _ASBOX
54441 sed "s/^/$as_me: WARNING: /" >&2
54443 esac
54444 echo "$as_me:$LINENO: checking for $ac_header" >&5
54445 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54446 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54447 echo $ECHO_N "(cached) $ECHO_C" >&6
54448 else
54449 eval "$as_ac_Header=\$ac_header_preproc"
54451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54452 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54455 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54456 cat >>confdefs.h <<_ACEOF
54457 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54458 _ACEOF
54462 done
54464 SECTION_FLAGS='-ffunction-sections -fdata-sections'
54467 # If we're not using GNU ld, then there's no point in even trying these
54468 # tests. Check for that first. We should have already tested for gld
54469 # by now (in libtool), but require it now just to be safe...
54470 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54471 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54475 # The name set by libtool depends on the version of libtool. Shame on us
54476 # for depending on an impl detail, but c'est la vie. Older versions used
54477 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54478 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54479 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
54480 # set (hence we're using an older libtool), then set it.
54481 if test x${with_gnu_ld+set} != xset; then
54482 if test x${ac_cv_prog_gnu_ld+set} != xset; then
54483 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
54484 with_gnu_ld=no
54485 else
54486 with_gnu_ld=$ac_cv_prog_gnu_ld
54490 # Start by getting the version number. I think the libtool test already
54491 # does some of this, but throws away the result.
54492 if test x"$with_gnu_ld" = x"yes"; then
54493 echo "$as_me:$LINENO: checking for ld version" >&5
54494 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
54496 ldver=`$LD --version 2>/dev/null | head -1 | \
54497 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
54499 glibcxx_gnu_ld_version=`echo $ldver | \
54500 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54501 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
54502 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
54505 # Set --gc-sections.
54506 glibcxx_gcsections_min_ld=21602
54507 if test x"$with_gnu_ld" = x"yes" &&
54508 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54510 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
54511 # NB: This flag only works reliably after 2.16.1. Configure tests
54512 # for this are difficult, so hard wire a value that should work.
54514 # All these tests are for C++, but run with the "C" compiler driver.
54515 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
54516 ac_test_CFLAGS="${CFLAGS+set}"
54517 ac_save_CFLAGS="$CFLAGS"
54518 CFLAGS='-x c++ -Wl,--gc-sections'
54520 # Check for -Wl,--gc-sections
54521 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
54522 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
54523 if test x$gcc_no_link = xyes; then
54524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54526 { (exit 1); exit 1; }; }
54528 cat >conftest.$ac_ext <<_ACEOF
54529 /* confdefs.h. */
54530 _ACEOF
54531 cat confdefs.h >>conftest.$ac_ext
54532 cat >>conftest.$ac_ext <<_ACEOF
54533 /* end confdefs.h. */
54534 int one(void) { return 1; }
54535 int two(void) { return 2; }
54538 main ()
54540 two();
54542 return 0;
54544 _ACEOF
54545 rm -f conftest.$ac_objext conftest$ac_exeext
54546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54547 (eval $ac_link) 2>conftest.er1
54548 ac_status=$?
54549 grep -v '^ *+' conftest.er1 >conftest.err
54550 rm -f conftest.er1
54551 cat conftest.err >&5
54552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54553 (exit $ac_status); } &&
54554 { ac_try='test -z "$ac_c_werror_flag"
54555 || test ! -s conftest.err'
54556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54557 (eval $ac_try) 2>&5
54558 ac_status=$?
54559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54560 (exit $ac_status); }; } &&
54561 { ac_try='test -s conftest$ac_exeext'
54562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54563 (eval $ac_try) 2>&5
54564 ac_status=$?
54565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54566 (exit $ac_status); }; }; then
54567 ac_gcsections=yes
54568 else
54569 echo "$as_me: failed program was:" >&5
54570 sed 's/^/| /' conftest.$ac_ext >&5
54572 ac_gcsections=no
54574 rm -f conftest.err conftest.$ac_objext \
54575 conftest$ac_exeext conftest.$ac_ext
54576 if test "$ac_gcsections" = "yes"; then
54577 rm -f conftest.c
54578 touch conftest.c
54579 if $CC -c conftest.c; then
54580 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54581 grep "Warning: gc-sections option ignored" > /dev/null; then
54582 ac_gcsections=no
54585 rm -f conftest.c conftest.o conftest
54587 if test "$ac_gcsections" = "yes"; then
54588 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54590 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
54591 echo "${ECHO_T}$ac_gcsections" >&6
54593 if test "$ac_test_CFLAGS" = set; then
54594 CFLAGS="$ac_save_CFLAGS"
54595 else
54596 # this is the suspicious part
54597 CFLAGS=''
54601 # Set -z,relro.
54602 # Note this is only for shared objects.
54603 ac_ld_relro=no
54604 if test x"$with_gnu_ld" = x"yes"; then
54605 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
54606 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
54607 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54608 if test -n "$cxx_z_relo"; then
54609 OPT_LDFLAGS="-Wl,-z,relro"
54610 ac_ld_relro=yes
54612 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
54613 echo "${ECHO_T}$ac_ld_relro" >&6
54616 # Set linker optimization flags.
54617 if test x"$with_gnu_ld" = x"yes"; then
54618 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54626 echo "$as_me:$LINENO: checking for main in -lm" >&5
54627 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
54628 if test "${ac_cv_lib_m_main+set}" = set; then
54629 echo $ECHO_N "(cached) $ECHO_C" >&6
54630 else
54631 ac_check_lib_save_LIBS=$LIBS
54632 LIBS="-lm $LIBS"
54633 if test x$gcc_no_link = xyes; then
54634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54636 { (exit 1); exit 1; }; }
54638 cat >conftest.$ac_ext <<_ACEOF
54639 /* confdefs.h. */
54640 _ACEOF
54641 cat confdefs.h >>conftest.$ac_ext
54642 cat >>conftest.$ac_ext <<_ACEOF
54643 /* end confdefs.h. */
54647 main ()
54649 main ();
54651 return 0;
54653 _ACEOF
54654 rm -f conftest.$ac_objext conftest$ac_exeext
54655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54656 (eval $ac_link) 2>conftest.er1
54657 ac_status=$?
54658 grep -v '^ *+' conftest.er1 >conftest.err
54659 rm -f conftest.er1
54660 cat conftest.err >&5
54661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54662 (exit $ac_status); } &&
54663 { ac_try='test -z "$ac_c_werror_flag"
54664 || test ! -s conftest.err'
54665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54666 (eval $ac_try) 2>&5
54667 ac_status=$?
54668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54669 (exit $ac_status); }; } &&
54670 { ac_try='test -s conftest$ac_exeext'
54671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54672 (eval $ac_try) 2>&5
54673 ac_status=$?
54674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54675 (exit $ac_status); }; }; then
54676 ac_cv_lib_m_main=yes
54677 else
54678 echo "$as_me: failed program was:" >&5
54679 sed 's/^/| /' conftest.$ac_ext >&5
54681 ac_cv_lib_m_main=no
54683 rm -f conftest.err conftest.$ac_objext \
54684 conftest$ac_exeext conftest.$ac_ext
54685 LIBS=$ac_check_lib_save_LIBS
54687 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
54688 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
54689 if test $ac_cv_lib_m_main = yes; then
54690 cat >>confdefs.h <<_ACEOF
54691 #define HAVE_LIBM 1
54692 _ACEOF
54694 LIBS="-lm $LIBS"
54699 for ac_func in copysignf
54701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54702 echo "$as_me:$LINENO: checking for $ac_func" >&5
54703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54704 if eval "test \"\${$as_ac_var+set}\" = set"; then
54705 echo $ECHO_N "(cached) $ECHO_C" >&6
54706 else
54707 if test x$gcc_no_link = xyes; then
54708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54710 { (exit 1); exit 1; }; }
54712 cat >conftest.$ac_ext <<_ACEOF
54713 /* confdefs.h. */
54714 _ACEOF
54715 cat confdefs.h >>conftest.$ac_ext
54716 cat >>conftest.$ac_ext <<_ACEOF
54717 /* end confdefs.h. */
54718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54720 #define $ac_func innocuous_$ac_func
54722 /* System header to define __stub macros and hopefully few prototypes,
54723 which can conflict with char $ac_func (); below.
54724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54725 <limits.h> exists even on freestanding compilers. */
54727 #ifdef __STDC__
54728 # include <limits.h>
54729 #else
54730 # include <assert.h>
54731 #endif
54733 #undef $ac_func
54735 /* Override any gcc2 internal prototype to avoid an error. */
54736 #ifdef __cplusplus
54737 extern "C"
54739 #endif
54740 /* We use char because int might match the return type of a gcc2
54741 builtin and then its argument prototype would still apply. */
54742 char $ac_func ();
54743 /* The GNU C library defines this for functions which it implements
54744 to always fail with ENOSYS. Some functions are actually named
54745 something starting with __ and the normal name is an alias. */
54746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54747 choke me
54748 #else
54749 char (*f) () = $ac_func;
54750 #endif
54751 #ifdef __cplusplus
54753 #endif
54756 main ()
54758 return f != $ac_func;
54760 return 0;
54762 _ACEOF
54763 rm -f conftest.$ac_objext conftest$ac_exeext
54764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54765 (eval $ac_link) 2>conftest.er1
54766 ac_status=$?
54767 grep -v '^ *+' conftest.er1 >conftest.err
54768 rm -f conftest.er1
54769 cat conftest.err >&5
54770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54771 (exit $ac_status); } &&
54772 { ac_try='test -z "$ac_c_werror_flag"
54773 || test ! -s conftest.err'
54774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54775 (eval $ac_try) 2>&5
54776 ac_status=$?
54777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54778 (exit $ac_status); }; } &&
54779 { ac_try='test -s conftest$ac_exeext'
54780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54781 (eval $ac_try) 2>&5
54782 ac_status=$?
54783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54784 (exit $ac_status); }; }; then
54785 eval "$as_ac_var=yes"
54786 else
54787 echo "$as_me: failed program was:" >&5
54788 sed 's/^/| /' conftest.$ac_ext >&5
54790 eval "$as_ac_var=no"
54792 rm -f conftest.err conftest.$ac_objext \
54793 conftest$ac_exeext conftest.$ac_ext
54795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54797 if test `eval echo '${'$as_ac_var'}'` = yes; then
54798 cat >>confdefs.h <<_ACEOF
54799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54800 _ACEOF
54802 else
54803 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
54805 done
54809 for ac_func in __signbit
54811 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54812 echo "$as_me:$LINENO: checking for $ac_func" >&5
54813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54814 if eval "test \"\${$as_ac_var+set}\" = set"; then
54815 echo $ECHO_N "(cached) $ECHO_C" >&6
54816 else
54817 if test x$gcc_no_link = xyes; then
54818 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54819 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54820 { (exit 1); exit 1; }; }
54822 cat >conftest.$ac_ext <<_ACEOF
54823 /* confdefs.h. */
54824 _ACEOF
54825 cat confdefs.h >>conftest.$ac_ext
54826 cat >>conftest.$ac_ext <<_ACEOF
54827 /* end confdefs.h. */
54828 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54829 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54830 #define $ac_func innocuous_$ac_func
54832 /* System header to define __stub macros and hopefully few prototypes,
54833 which can conflict with char $ac_func (); below.
54834 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54835 <limits.h> exists even on freestanding compilers. */
54837 #ifdef __STDC__
54838 # include <limits.h>
54839 #else
54840 # include <assert.h>
54841 #endif
54843 #undef $ac_func
54845 /* Override any gcc2 internal prototype to avoid an error. */
54846 #ifdef __cplusplus
54847 extern "C"
54849 #endif
54850 /* We use char because int might match the return type of a gcc2
54851 builtin and then its argument prototype would still apply. */
54852 char $ac_func ();
54853 /* The GNU C library defines this for functions which it implements
54854 to always fail with ENOSYS. Some functions are actually named
54855 something starting with __ and the normal name is an alias. */
54856 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54857 choke me
54858 #else
54859 char (*f) () = $ac_func;
54860 #endif
54861 #ifdef __cplusplus
54863 #endif
54866 main ()
54868 return f != $ac_func;
54870 return 0;
54872 _ACEOF
54873 rm -f conftest.$ac_objext conftest$ac_exeext
54874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54875 (eval $ac_link) 2>conftest.er1
54876 ac_status=$?
54877 grep -v '^ *+' conftest.er1 >conftest.err
54878 rm -f conftest.er1
54879 cat conftest.err >&5
54880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54881 (exit $ac_status); } &&
54882 { ac_try='test -z "$ac_c_werror_flag"
54883 || test ! -s conftest.err'
54884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54885 (eval $ac_try) 2>&5
54886 ac_status=$?
54887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54888 (exit $ac_status); }; } &&
54889 { ac_try='test -s conftest$ac_exeext'
54890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54891 (eval $ac_try) 2>&5
54892 ac_status=$?
54893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54894 (exit $ac_status); }; }; then
54895 eval "$as_ac_var=yes"
54896 else
54897 echo "$as_me: failed program was:" >&5
54898 sed 's/^/| /' conftest.$ac_ext >&5
54900 eval "$as_ac_var=no"
54902 rm -f conftest.err conftest.$ac_objext \
54903 conftest$ac_exeext conftest.$ac_ext
54905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54906 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54907 if test `eval echo '${'$as_ac_var'}'` = yes; then
54908 cat >>confdefs.h <<_ACEOF
54909 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54910 _ACEOF
54912 else
54913 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
54915 done
54919 for ac_func in __signbitf
54921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54922 echo "$as_me:$LINENO: checking for $ac_func" >&5
54923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54924 if eval "test \"\${$as_ac_var+set}\" = set"; then
54925 echo $ECHO_N "(cached) $ECHO_C" >&6
54926 else
54927 if test x$gcc_no_link = xyes; then
54928 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54930 { (exit 1); exit 1; }; }
54932 cat >conftest.$ac_ext <<_ACEOF
54933 /* confdefs.h. */
54934 _ACEOF
54935 cat confdefs.h >>conftest.$ac_ext
54936 cat >>conftest.$ac_ext <<_ACEOF
54937 /* end confdefs.h. */
54938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54940 #define $ac_func innocuous_$ac_func
54942 /* System header to define __stub macros and hopefully few prototypes,
54943 which can conflict with char $ac_func (); below.
54944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54945 <limits.h> exists even on freestanding compilers. */
54947 #ifdef __STDC__
54948 # include <limits.h>
54949 #else
54950 # include <assert.h>
54951 #endif
54953 #undef $ac_func
54955 /* Override any gcc2 internal prototype to avoid an error. */
54956 #ifdef __cplusplus
54957 extern "C"
54959 #endif
54960 /* We use char because int might match the return type of a gcc2
54961 builtin and then its argument prototype would still apply. */
54962 char $ac_func ();
54963 /* The GNU C library defines this for functions which it implements
54964 to always fail with ENOSYS. Some functions are actually named
54965 something starting with __ and the normal name is an alias. */
54966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54967 choke me
54968 #else
54969 char (*f) () = $ac_func;
54970 #endif
54971 #ifdef __cplusplus
54973 #endif
54976 main ()
54978 return f != $ac_func;
54980 return 0;
54982 _ACEOF
54983 rm -f conftest.$ac_objext conftest$ac_exeext
54984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54985 (eval $ac_link) 2>conftest.er1
54986 ac_status=$?
54987 grep -v '^ *+' conftest.er1 >conftest.err
54988 rm -f conftest.er1
54989 cat conftest.err >&5
54990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54991 (exit $ac_status); } &&
54992 { ac_try='test -z "$ac_c_werror_flag"
54993 || test ! -s conftest.err'
54994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54995 (eval $ac_try) 2>&5
54996 ac_status=$?
54997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54998 (exit $ac_status); }; } &&
54999 { ac_try='test -s conftest$ac_exeext'
55000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55001 (eval $ac_try) 2>&5
55002 ac_status=$?
55003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55004 (exit $ac_status); }; }; then
55005 eval "$as_ac_var=yes"
55006 else
55007 echo "$as_me: failed program was:" >&5
55008 sed 's/^/| /' conftest.$ac_ext >&5
55010 eval "$as_ac_var=no"
55012 rm -f conftest.err conftest.$ac_objext \
55013 conftest$ac_exeext conftest.$ac_ext
55015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55017 if test `eval echo '${'$as_ac_var'}'` = yes; then
55018 cat >>confdefs.h <<_ACEOF
55019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55020 _ACEOF
55022 else
55023 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
55025 done
55028 if test x$ac_cv_func_copysignl = x"yes"; then
55030 for ac_func in __signbitl
55032 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55033 echo "$as_me:$LINENO: checking for $ac_func" >&5
55034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55035 if eval "test \"\${$as_ac_var+set}\" = set"; then
55036 echo $ECHO_N "(cached) $ECHO_C" >&6
55037 else
55038 if test x$gcc_no_link = xyes; then
55039 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55040 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55041 { (exit 1); exit 1; }; }
55043 cat >conftest.$ac_ext <<_ACEOF
55044 /* confdefs.h. */
55045 _ACEOF
55046 cat confdefs.h >>conftest.$ac_ext
55047 cat >>conftest.$ac_ext <<_ACEOF
55048 /* end confdefs.h. */
55049 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55050 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55051 #define $ac_func innocuous_$ac_func
55053 /* System header to define __stub macros and hopefully few prototypes,
55054 which can conflict with char $ac_func (); below.
55055 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55056 <limits.h> exists even on freestanding compilers. */
55058 #ifdef __STDC__
55059 # include <limits.h>
55060 #else
55061 # include <assert.h>
55062 #endif
55064 #undef $ac_func
55066 /* Override any gcc2 internal prototype to avoid an error. */
55067 #ifdef __cplusplus
55068 extern "C"
55070 #endif
55071 /* We use char because int might match the return type of a gcc2
55072 builtin and then its argument prototype would still apply. */
55073 char $ac_func ();
55074 /* The GNU C library defines this for functions which it implements
55075 to always fail with ENOSYS. Some functions are actually named
55076 something starting with __ and the normal name is an alias. */
55077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55078 choke me
55079 #else
55080 char (*f) () = $ac_func;
55081 #endif
55082 #ifdef __cplusplus
55084 #endif
55087 main ()
55089 return f != $ac_func;
55091 return 0;
55093 _ACEOF
55094 rm -f conftest.$ac_objext conftest$ac_exeext
55095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55096 (eval $ac_link) 2>conftest.er1
55097 ac_status=$?
55098 grep -v '^ *+' conftest.er1 >conftest.err
55099 rm -f conftest.er1
55100 cat conftest.err >&5
55101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55102 (exit $ac_status); } &&
55103 { ac_try='test -z "$ac_c_werror_flag"
55104 || test ! -s conftest.err'
55105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55106 (eval $ac_try) 2>&5
55107 ac_status=$?
55108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55109 (exit $ac_status); }; } &&
55110 { ac_try='test -s conftest$ac_exeext'
55111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55112 (eval $ac_try) 2>&5
55113 ac_status=$?
55114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55115 (exit $ac_status); }; }; then
55116 eval "$as_ac_var=yes"
55117 else
55118 echo "$as_me: failed program was:" >&5
55119 sed 's/^/| /' conftest.$ac_ext >&5
55121 eval "$as_ac_var=no"
55123 rm -f conftest.err conftest.$ac_objext \
55124 conftest$ac_exeext conftest.$ac_ext
55126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55127 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55128 if test `eval echo '${'$as_ac_var'}'` = yes; then
55129 cat >>confdefs.h <<_ACEOF
55130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55131 _ACEOF
55133 else
55134 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
55136 done
55140 # Used in libmath/Makefile.am.
55141 if test -n "$LIBMATHOBJS"; then
55142 need_libmath=yes
55146 cat >>confdefs.h <<\_ACEOF
55147 #define HAVE_LC_MESSAGES 1
55148 _ACEOF
55150 cat >>confdefs.h <<\_ACEOF
55151 #define HAVE_GETPAGESIZE 1
55152 _ACEOF
55154 cat >>confdefs.h <<\_ACEOF
55155 #define HAVE_SETENV 1
55156 _ACEOF
55158 cat >>confdefs.h <<\_ACEOF
55159 #define HAVE_SIGSETJMP 1
55160 _ACEOF
55162 cat >>confdefs.h <<\_ACEOF
55163 #define HAVE_COPYSIGN 1
55164 _ACEOF
55166 cat >>confdefs.h <<\_ACEOF
55167 #define HAVE_COPYSIGNF 1
55168 _ACEOF
55170 cat >>confdefs.h <<\_ACEOF
55171 #define HAVE_FINITEF 1
55172 _ACEOF
55174 cat >>confdefs.h <<\_ACEOF
55175 #define HAVE_FINITE 1
55176 _ACEOF
55178 cat >>confdefs.h <<\_ACEOF
55179 #define HAVE_FREXPF 1
55180 _ACEOF
55182 cat >>confdefs.h <<\_ACEOF
55183 #define HAVE_HYPOT 1
55184 _ACEOF
55186 cat >>confdefs.h <<\_ACEOF
55187 #define HAVE_HYPOTF 1
55188 _ACEOF
55190 cat >>confdefs.h <<\_ACEOF
55191 #define HAVE_ISINF 1
55192 _ACEOF
55194 cat >>confdefs.h <<\_ACEOF
55195 #define HAVE_ISNAN 1
55196 _ACEOF
55198 cat >>confdefs.h <<\_ACEOF
55199 #define HAVE_ISNANF 1
55200 _ACEOF
55203 cat >>confdefs.h <<\_ACEOF
55204 #define HAVE_MMAP 1
55205 _ACEOF
55207 cat >>confdefs.h <<\_ACEOF
55208 #define HAVE_ACOSF 1
55209 _ACEOF
55211 cat >>confdefs.h <<\_ACEOF
55212 #define HAVE_ASINF 1
55213 _ACEOF
55215 cat >>confdefs.h <<\_ACEOF
55216 #define HAVE_ATAN2F 1
55217 _ACEOF
55219 cat >>confdefs.h <<\_ACEOF
55220 #define HAVE_ATANF 1
55221 _ACEOF
55223 cat >>confdefs.h <<\_ACEOF
55224 #define HAVE_CEILF 1
55225 _ACEOF
55227 cat >>confdefs.h <<\_ACEOF
55228 #define HAVE_COPYSIGN 1
55229 _ACEOF
55231 cat >>confdefs.h <<\_ACEOF
55232 #define HAVE_COPYSIGNF 1
55233 _ACEOF
55235 cat >>confdefs.h <<\_ACEOF
55236 #define HAVE_COSF 1
55237 _ACEOF
55239 cat >>confdefs.h <<\_ACEOF
55240 #define HAVE_COSHF 1
55241 _ACEOF
55243 cat >>confdefs.h <<\_ACEOF
55244 #define HAVE_EXPF 1
55245 _ACEOF
55247 cat >>confdefs.h <<\_ACEOF
55248 #define HAVE_FABSF 1
55249 _ACEOF
55251 cat >>confdefs.h <<\_ACEOF
55252 #define HAVE_FLOORF 1
55253 _ACEOF
55255 cat >>confdefs.h <<\_ACEOF
55256 #define HAVE_FMODF 1
55257 _ACEOF
55259 cat >>confdefs.h <<\_ACEOF
55260 #define HAVE_FREXPF 1
55261 _ACEOF
55263 cat >>confdefs.h <<\_ACEOF
55264 #define HAVE_LDEXPF 1
55265 _ACEOF
55267 cat >>confdefs.h <<\_ACEOF
55268 #define HAVE_LOG10F 1
55269 _ACEOF
55271 cat >>confdefs.h <<\_ACEOF
55272 #define HAVE_LOGF 1
55273 _ACEOF
55275 cat >>confdefs.h <<\_ACEOF
55276 #define HAVE_MODFF 1
55277 _ACEOF
55279 cat >>confdefs.h <<\_ACEOF
55280 #define HAVE_POWF 1
55281 _ACEOF
55283 cat >>confdefs.h <<\_ACEOF
55284 #define HAVE_SINF 1
55285 _ACEOF
55287 cat >>confdefs.h <<\_ACEOF
55288 #define HAVE_SINHF 1
55289 _ACEOF
55291 cat >>confdefs.h <<\_ACEOF
55292 #define HAVE_SQRTF 1
55293 _ACEOF
55295 cat >>confdefs.h <<\_ACEOF
55296 #define HAVE_TANF 1
55297 _ACEOF
55299 cat >>confdefs.h <<\_ACEOF
55300 #define HAVE_TANHF 1
55301 _ACEOF
55303 if test x"long_double_math_on_this_cpu" = x"yes"; then
55304 cat >>confdefs.h <<\_ACEOF
55305 #define HAVE_FINITEL 1
55306 _ACEOF
55308 cat >>confdefs.h <<\_ACEOF
55309 #define HAVE_ISINFL 1
55310 _ACEOF
55312 cat >>confdefs.h <<\_ACEOF
55313 #define HAVE_ISNANL 1
55314 _ACEOF
55318 *-hpux*)
55331 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
55332 machine/endian.h machine/param.h sys/machine.h sys/types.h \
55333 fp.h locale.h float.h inttypes.h
55335 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
55336 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55337 echo "$as_me:$LINENO: checking for $ac_header" >&5
55338 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55339 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55340 echo $ECHO_N "(cached) $ECHO_C" >&6
55342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55343 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55344 else
55345 # Is the header compilable?
55346 echo "$as_me:$LINENO: checking $ac_header usability" >&5
55347 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
55348 cat >conftest.$ac_ext <<_ACEOF
55349 /* confdefs.h. */
55350 _ACEOF
55351 cat confdefs.h >>conftest.$ac_ext
55352 cat >>conftest.$ac_ext <<_ACEOF
55353 /* end confdefs.h. */
55354 $ac_includes_default
55355 #include <$ac_header>
55356 _ACEOF
55357 rm -f conftest.$ac_objext
55358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55359 (eval $ac_compile) 2>conftest.er1
55360 ac_status=$?
55361 grep -v '^ *+' conftest.er1 >conftest.err
55362 rm -f conftest.er1
55363 cat conftest.err >&5
55364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55365 (exit $ac_status); } &&
55366 { ac_try='test -z "$ac_c_werror_flag"
55367 || test ! -s conftest.err'
55368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55369 (eval $ac_try) 2>&5
55370 ac_status=$?
55371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55372 (exit $ac_status); }; } &&
55373 { ac_try='test -s conftest.$ac_objext'
55374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55375 (eval $ac_try) 2>&5
55376 ac_status=$?
55377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55378 (exit $ac_status); }; }; then
55379 ac_header_compiler=yes
55380 else
55381 echo "$as_me: failed program was:" >&5
55382 sed 's/^/| /' conftest.$ac_ext >&5
55384 ac_header_compiler=no
55386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55387 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
55388 echo "${ECHO_T}$ac_header_compiler" >&6
55390 # Is the header present?
55391 echo "$as_me:$LINENO: checking $ac_header presence" >&5
55392 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
55393 cat >conftest.$ac_ext <<_ACEOF
55394 /* confdefs.h. */
55395 _ACEOF
55396 cat confdefs.h >>conftest.$ac_ext
55397 cat >>conftest.$ac_ext <<_ACEOF
55398 /* end confdefs.h. */
55399 #include <$ac_header>
55400 _ACEOF
55401 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
55402 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
55403 ac_status=$?
55404 grep -v '^ *+' conftest.er1 >conftest.err
55405 rm -f conftest.er1
55406 cat conftest.err >&5
55407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55408 (exit $ac_status); } >/dev/null; then
55409 if test -s conftest.err; then
55410 ac_cpp_err=$ac_c_preproc_warn_flag
55411 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
55412 else
55413 ac_cpp_err=
55415 else
55416 ac_cpp_err=yes
55418 if test -z "$ac_cpp_err"; then
55419 ac_header_preproc=yes
55420 else
55421 echo "$as_me: failed program was:" >&5
55422 sed 's/^/| /' conftest.$ac_ext >&5
55424 ac_header_preproc=no
55426 rm -f conftest.err conftest.$ac_ext
55427 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
55428 echo "${ECHO_T}$ac_header_preproc" >&6
55430 # So? What about this header?
55431 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
55432 yes:no: )
55433 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
55434 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
55435 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
55436 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
55437 ac_header_preproc=yes
55439 no:yes:* )
55440 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
55441 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
55442 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
55443 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
55444 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
55445 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
55446 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
55447 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
55448 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
55449 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
55450 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
55451 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
55453 cat <<\_ASBOX
55454 ## ----------------------------------------- ##
55455 ## Report this to the package-unused lists. ##
55456 ## ----------------------------------------- ##
55457 _ASBOX
55459 sed "s/^/$as_me: WARNING: /" >&2
55461 esac
55462 echo "$as_me:$LINENO: checking for $ac_header" >&5
55463 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55464 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55465 echo $ECHO_N "(cached) $ECHO_C" >&6
55466 else
55467 eval "$as_ac_Header=\$ac_header_preproc"
55469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55470 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55473 if test `eval echo '${'$as_ac_Header'}'` = yes; then
55474 cat >>confdefs.h <<_ACEOF
55475 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
55476 _ACEOF
55480 done
55482 SECTION_FLAGS='-ffunction-sections -fdata-sections'
55485 # If we're not using GNU ld, then there's no point in even trying these
55486 # tests. Check for that first. We should have already tested for gld
55487 # by now (in libtool), but require it now just to be safe...
55488 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
55489 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
55493 # The name set by libtool depends on the version of libtool. Shame on us
55494 # for depending on an impl detail, but c'est la vie. Older versions used
55495 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
55496 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
55497 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
55498 # set (hence we're using an older libtool), then set it.
55499 if test x${with_gnu_ld+set} != xset; then
55500 if test x${ac_cv_prog_gnu_ld+set} != xset; then
55501 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
55502 with_gnu_ld=no
55503 else
55504 with_gnu_ld=$ac_cv_prog_gnu_ld
55508 # Start by getting the version number. I think the libtool test already
55509 # does some of this, but throws away the result.
55510 if test x"$with_gnu_ld" = x"yes"; then
55511 echo "$as_me:$LINENO: checking for ld version" >&5
55512 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
55514 ldver=`$LD --version 2>/dev/null | head -1 | \
55515 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
55517 glibcxx_gnu_ld_version=`echo $ldver | \
55518 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
55519 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
55520 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
55523 # Set --gc-sections.
55524 glibcxx_gcsections_min_ld=21602
55525 if test x"$with_gnu_ld" = x"yes" &&
55526 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
55528 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
55529 # NB: This flag only works reliably after 2.16.1. Configure tests
55530 # for this are difficult, so hard wire a value that should work.
55532 # All these tests are for C++, but run with the "C" compiler driver.
55533 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
55534 ac_test_CFLAGS="${CFLAGS+set}"
55535 ac_save_CFLAGS="$CFLAGS"
55536 CFLAGS='-x c++ -Wl,--gc-sections'
55538 # Check for -Wl,--gc-sections
55539 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
55540 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
55541 if test x$gcc_no_link = xyes; then
55542 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55544 { (exit 1); exit 1; }; }
55546 cat >conftest.$ac_ext <<_ACEOF
55547 /* confdefs.h. */
55548 _ACEOF
55549 cat confdefs.h >>conftest.$ac_ext
55550 cat >>conftest.$ac_ext <<_ACEOF
55551 /* end confdefs.h. */
55552 int one(void) { return 1; }
55553 int two(void) { return 2; }
55556 main ()
55558 two();
55560 return 0;
55562 _ACEOF
55563 rm -f conftest.$ac_objext conftest$ac_exeext
55564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55565 (eval $ac_link) 2>conftest.er1
55566 ac_status=$?
55567 grep -v '^ *+' conftest.er1 >conftest.err
55568 rm -f conftest.er1
55569 cat conftest.err >&5
55570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55571 (exit $ac_status); } &&
55572 { ac_try='test -z "$ac_c_werror_flag"
55573 || test ! -s conftest.err'
55574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55575 (eval $ac_try) 2>&5
55576 ac_status=$?
55577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55578 (exit $ac_status); }; } &&
55579 { ac_try='test -s conftest$ac_exeext'
55580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55581 (eval $ac_try) 2>&5
55582 ac_status=$?
55583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55584 (exit $ac_status); }; }; then
55585 ac_gcsections=yes
55586 else
55587 echo "$as_me: failed program was:" >&5
55588 sed 's/^/| /' conftest.$ac_ext >&5
55590 ac_gcsections=no
55592 rm -f conftest.err conftest.$ac_objext \
55593 conftest$ac_exeext conftest.$ac_ext
55594 if test "$ac_gcsections" = "yes"; then
55595 rm -f conftest.c
55596 touch conftest.c
55597 if $CC -c conftest.c; then
55598 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
55599 grep "Warning: gc-sections option ignored" > /dev/null; then
55600 ac_gcsections=no
55603 rm -f conftest.c conftest.o conftest
55605 if test "$ac_gcsections" = "yes"; then
55606 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
55608 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
55609 echo "${ECHO_T}$ac_gcsections" >&6
55611 if test "$ac_test_CFLAGS" = set; then
55612 CFLAGS="$ac_save_CFLAGS"
55613 else
55614 # this is the suspicious part
55615 CFLAGS=''
55619 # Set -z,relro.
55620 # Note this is only for shared objects.
55621 ac_ld_relro=no
55622 if test x"$with_gnu_ld" = x"yes"; then
55623 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
55624 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
55625 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
55626 if test -n "$cxx_z_relo"; then
55627 OPT_LDFLAGS="-Wl,-z,relro"
55628 ac_ld_relro=yes
55630 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
55631 echo "${ECHO_T}$ac_ld_relro" >&6
55634 # Set linker optimization flags.
55635 if test x"$with_gnu_ld" = x"yes"; then
55636 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
55644 echo "$as_me:$LINENO: checking for main in -lm" >&5
55645 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
55646 if test "${ac_cv_lib_m_main+set}" = set; then
55647 echo $ECHO_N "(cached) $ECHO_C" >&6
55648 else
55649 ac_check_lib_save_LIBS=$LIBS
55650 LIBS="-lm $LIBS"
55651 if test x$gcc_no_link = xyes; then
55652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55654 { (exit 1); exit 1; }; }
55656 cat >conftest.$ac_ext <<_ACEOF
55657 /* confdefs.h. */
55658 _ACEOF
55659 cat confdefs.h >>conftest.$ac_ext
55660 cat >>conftest.$ac_ext <<_ACEOF
55661 /* end confdefs.h. */
55665 main ()
55667 main ();
55669 return 0;
55671 _ACEOF
55672 rm -f conftest.$ac_objext conftest$ac_exeext
55673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55674 (eval $ac_link) 2>conftest.er1
55675 ac_status=$?
55676 grep -v '^ *+' conftest.er1 >conftest.err
55677 rm -f conftest.er1
55678 cat conftest.err >&5
55679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55680 (exit $ac_status); } &&
55681 { ac_try='test -z "$ac_c_werror_flag"
55682 || test ! -s conftest.err'
55683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55684 (eval $ac_try) 2>&5
55685 ac_status=$?
55686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55687 (exit $ac_status); }; } &&
55688 { ac_try='test -s conftest$ac_exeext'
55689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55690 (eval $ac_try) 2>&5
55691 ac_status=$?
55692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55693 (exit $ac_status); }; }; then
55694 ac_cv_lib_m_main=yes
55695 else
55696 echo "$as_me: failed program was:" >&5
55697 sed 's/^/| /' conftest.$ac_ext >&5
55699 ac_cv_lib_m_main=no
55701 rm -f conftest.err conftest.$ac_objext \
55702 conftest$ac_exeext conftest.$ac_ext
55703 LIBS=$ac_check_lib_save_LIBS
55705 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
55706 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
55707 if test $ac_cv_lib_m_main = yes; then
55708 cat >>confdefs.h <<_ACEOF
55709 #define HAVE_LIBM 1
55710 _ACEOF
55712 LIBS="-lm $LIBS"
55717 for ac_func in copysignf
55719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55720 echo "$as_me:$LINENO: checking for $ac_func" >&5
55721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55722 if eval "test \"\${$as_ac_var+set}\" = set"; then
55723 echo $ECHO_N "(cached) $ECHO_C" >&6
55724 else
55725 if test x$gcc_no_link = xyes; then
55726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55728 { (exit 1); exit 1; }; }
55730 cat >conftest.$ac_ext <<_ACEOF
55731 /* confdefs.h. */
55732 _ACEOF
55733 cat confdefs.h >>conftest.$ac_ext
55734 cat >>conftest.$ac_ext <<_ACEOF
55735 /* end confdefs.h. */
55736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55738 #define $ac_func innocuous_$ac_func
55740 /* System header to define __stub macros and hopefully few prototypes,
55741 which can conflict with char $ac_func (); below.
55742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55743 <limits.h> exists even on freestanding compilers. */
55745 #ifdef __STDC__
55746 # include <limits.h>
55747 #else
55748 # include <assert.h>
55749 #endif
55751 #undef $ac_func
55753 /* Override any gcc2 internal prototype to avoid an error. */
55754 #ifdef __cplusplus
55755 extern "C"
55757 #endif
55758 /* We use char because int might match the return type of a gcc2
55759 builtin and then its argument prototype would still apply. */
55760 char $ac_func ();
55761 /* The GNU C library defines this for functions which it implements
55762 to always fail with ENOSYS. Some functions are actually named
55763 something starting with __ and the normal name is an alias. */
55764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55765 choke me
55766 #else
55767 char (*f) () = $ac_func;
55768 #endif
55769 #ifdef __cplusplus
55771 #endif
55774 main ()
55776 return f != $ac_func;
55778 return 0;
55780 _ACEOF
55781 rm -f conftest.$ac_objext conftest$ac_exeext
55782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55783 (eval $ac_link) 2>conftest.er1
55784 ac_status=$?
55785 grep -v '^ *+' conftest.er1 >conftest.err
55786 rm -f conftest.er1
55787 cat conftest.err >&5
55788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55789 (exit $ac_status); } &&
55790 { ac_try='test -z "$ac_c_werror_flag"
55791 || test ! -s conftest.err'
55792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55793 (eval $ac_try) 2>&5
55794 ac_status=$?
55795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55796 (exit $ac_status); }; } &&
55797 { ac_try='test -s conftest$ac_exeext'
55798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55799 (eval $ac_try) 2>&5
55800 ac_status=$?
55801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55802 (exit $ac_status); }; }; then
55803 eval "$as_ac_var=yes"
55804 else
55805 echo "$as_me: failed program was:" >&5
55806 sed 's/^/| /' conftest.$ac_ext >&5
55808 eval "$as_ac_var=no"
55810 rm -f conftest.err conftest.$ac_objext \
55811 conftest$ac_exeext conftest.$ac_ext
55813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55815 if test `eval echo '${'$as_ac_var'}'` = yes; then
55816 cat >>confdefs.h <<_ACEOF
55817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55818 _ACEOF
55820 else
55821 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
55823 done
55827 for ac_func in __signbit
55829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55830 echo "$as_me:$LINENO: checking for $ac_func" >&5
55831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55832 if eval "test \"\${$as_ac_var+set}\" = set"; then
55833 echo $ECHO_N "(cached) $ECHO_C" >&6
55834 else
55835 if test x$gcc_no_link = xyes; then
55836 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55838 { (exit 1); exit 1; }; }
55840 cat >conftest.$ac_ext <<_ACEOF
55841 /* confdefs.h. */
55842 _ACEOF
55843 cat confdefs.h >>conftest.$ac_ext
55844 cat >>conftest.$ac_ext <<_ACEOF
55845 /* end confdefs.h. */
55846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55848 #define $ac_func innocuous_$ac_func
55850 /* System header to define __stub macros and hopefully few prototypes,
55851 which can conflict with char $ac_func (); below.
55852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55853 <limits.h> exists even on freestanding compilers. */
55855 #ifdef __STDC__
55856 # include <limits.h>
55857 #else
55858 # include <assert.h>
55859 #endif
55861 #undef $ac_func
55863 /* Override any gcc2 internal prototype to avoid an error. */
55864 #ifdef __cplusplus
55865 extern "C"
55867 #endif
55868 /* We use char because int might match the return type of a gcc2
55869 builtin and then its argument prototype would still apply. */
55870 char $ac_func ();
55871 /* The GNU C library defines this for functions which it implements
55872 to always fail with ENOSYS. Some functions are actually named
55873 something starting with __ and the normal name is an alias. */
55874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55875 choke me
55876 #else
55877 char (*f) () = $ac_func;
55878 #endif
55879 #ifdef __cplusplus
55881 #endif
55884 main ()
55886 return f != $ac_func;
55888 return 0;
55890 _ACEOF
55891 rm -f conftest.$ac_objext conftest$ac_exeext
55892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55893 (eval $ac_link) 2>conftest.er1
55894 ac_status=$?
55895 grep -v '^ *+' conftest.er1 >conftest.err
55896 rm -f conftest.er1
55897 cat conftest.err >&5
55898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55899 (exit $ac_status); } &&
55900 { ac_try='test -z "$ac_c_werror_flag"
55901 || test ! -s conftest.err'
55902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55903 (eval $ac_try) 2>&5
55904 ac_status=$?
55905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55906 (exit $ac_status); }; } &&
55907 { ac_try='test -s conftest$ac_exeext'
55908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55909 (eval $ac_try) 2>&5
55910 ac_status=$?
55911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55912 (exit $ac_status); }; }; then
55913 eval "$as_ac_var=yes"
55914 else
55915 echo "$as_me: failed program was:" >&5
55916 sed 's/^/| /' conftest.$ac_ext >&5
55918 eval "$as_ac_var=no"
55920 rm -f conftest.err conftest.$ac_objext \
55921 conftest$ac_exeext conftest.$ac_ext
55923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55925 if test `eval echo '${'$as_ac_var'}'` = yes; then
55926 cat >>confdefs.h <<_ACEOF
55927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55928 _ACEOF
55930 else
55931 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
55933 done
55937 for ac_func in __signbitf
55939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55940 echo "$as_me:$LINENO: checking for $ac_func" >&5
55941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55942 if eval "test \"\${$as_ac_var+set}\" = set"; then
55943 echo $ECHO_N "(cached) $ECHO_C" >&6
55944 else
55945 if test x$gcc_no_link = xyes; then
55946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55948 { (exit 1); exit 1; }; }
55950 cat >conftest.$ac_ext <<_ACEOF
55951 /* confdefs.h. */
55952 _ACEOF
55953 cat confdefs.h >>conftest.$ac_ext
55954 cat >>conftest.$ac_ext <<_ACEOF
55955 /* end confdefs.h. */
55956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55958 #define $ac_func innocuous_$ac_func
55960 /* System header to define __stub macros and hopefully few prototypes,
55961 which can conflict with char $ac_func (); below.
55962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55963 <limits.h> exists even on freestanding compilers. */
55965 #ifdef __STDC__
55966 # include <limits.h>
55967 #else
55968 # include <assert.h>
55969 #endif
55971 #undef $ac_func
55973 /* Override any gcc2 internal prototype to avoid an error. */
55974 #ifdef __cplusplus
55975 extern "C"
55977 #endif
55978 /* We use char because int might match the return type of a gcc2
55979 builtin and then its argument prototype would still apply. */
55980 char $ac_func ();
55981 /* The GNU C library defines this for functions which it implements
55982 to always fail with ENOSYS. Some functions are actually named
55983 something starting with __ and the normal name is an alias. */
55984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55985 choke me
55986 #else
55987 char (*f) () = $ac_func;
55988 #endif
55989 #ifdef __cplusplus
55991 #endif
55994 main ()
55996 return f != $ac_func;
55998 return 0;
56000 _ACEOF
56001 rm -f conftest.$ac_objext conftest$ac_exeext
56002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56003 (eval $ac_link) 2>conftest.er1
56004 ac_status=$?
56005 grep -v '^ *+' conftest.er1 >conftest.err
56006 rm -f conftest.er1
56007 cat conftest.err >&5
56008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56009 (exit $ac_status); } &&
56010 { ac_try='test -z "$ac_c_werror_flag"
56011 || test ! -s conftest.err'
56012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56013 (eval $ac_try) 2>&5
56014 ac_status=$?
56015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56016 (exit $ac_status); }; } &&
56017 { ac_try='test -s conftest$ac_exeext'
56018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56019 (eval $ac_try) 2>&5
56020 ac_status=$?
56021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56022 (exit $ac_status); }; }; then
56023 eval "$as_ac_var=yes"
56024 else
56025 echo "$as_me: failed program was:" >&5
56026 sed 's/^/| /' conftest.$ac_ext >&5
56028 eval "$as_ac_var=no"
56030 rm -f conftest.err conftest.$ac_objext \
56031 conftest$ac_exeext conftest.$ac_ext
56033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56035 if test `eval echo '${'$as_ac_var'}'` = yes; then
56036 cat >>confdefs.h <<_ACEOF
56037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56038 _ACEOF
56040 else
56041 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
56043 done
56046 if test x$ac_cv_func_copysignl = x"yes"; then
56048 for ac_func in __signbitl
56050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56051 echo "$as_me:$LINENO: checking for $ac_func" >&5
56052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56053 if eval "test \"\${$as_ac_var+set}\" = set"; then
56054 echo $ECHO_N "(cached) $ECHO_C" >&6
56055 else
56056 if test x$gcc_no_link = xyes; then
56057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56059 { (exit 1); exit 1; }; }
56061 cat >conftest.$ac_ext <<_ACEOF
56062 /* confdefs.h. */
56063 _ACEOF
56064 cat confdefs.h >>conftest.$ac_ext
56065 cat >>conftest.$ac_ext <<_ACEOF
56066 /* end confdefs.h. */
56067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56069 #define $ac_func innocuous_$ac_func
56071 /* System header to define __stub macros and hopefully few prototypes,
56072 which can conflict with char $ac_func (); below.
56073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56074 <limits.h> exists even on freestanding compilers. */
56076 #ifdef __STDC__
56077 # include <limits.h>
56078 #else
56079 # include <assert.h>
56080 #endif
56082 #undef $ac_func
56084 /* Override any gcc2 internal prototype to avoid an error. */
56085 #ifdef __cplusplus
56086 extern "C"
56088 #endif
56089 /* We use char because int might match the return type of a gcc2
56090 builtin and then its argument prototype would still apply. */
56091 char $ac_func ();
56092 /* The GNU C library defines this for functions which it implements
56093 to always fail with ENOSYS. Some functions are actually named
56094 something starting with __ and the normal name is an alias. */
56095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56096 choke me
56097 #else
56098 char (*f) () = $ac_func;
56099 #endif
56100 #ifdef __cplusplus
56102 #endif
56105 main ()
56107 return f != $ac_func;
56109 return 0;
56111 _ACEOF
56112 rm -f conftest.$ac_objext conftest$ac_exeext
56113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56114 (eval $ac_link) 2>conftest.er1
56115 ac_status=$?
56116 grep -v '^ *+' conftest.er1 >conftest.err
56117 rm -f conftest.er1
56118 cat conftest.err >&5
56119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56120 (exit $ac_status); } &&
56121 { ac_try='test -z "$ac_c_werror_flag"
56122 || test ! -s conftest.err'
56123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56124 (eval $ac_try) 2>&5
56125 ac_status=$?
56126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56127 (exit $ac_status); }; } &&
56128 { ac_try='test -s conftest$ac_exeext'
56129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56130 (eval $ac_try) 2>&5
56131 ac_status=$?
56132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56133 (exit $ac_status); }; }; then
56134 eval "$as_ac_var=yes"
56135 else
56136 echo "$as_me: failed program was:" >&5
56137 sed 's/^/| /' conftest.$ac_ext >&5
56139 eval "$as_ac_var=no"
56141 rm -f conftest.err conftest.$ac_objext \
56142 conftest$ac_exeext conftest.$ac_ext
56144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56146 if test `eval echo '${'$as_ac_var'}'` = yes; then
56147 cat >>confdefs.h <<_ACEOF
56148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56149 _ACEOF
56151 else
56152 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
56154 done
56158 # Used in libmath/Makefile.am.
56159 if test -n "$LIBMATHOBJS"; then
56160 need_libmath=yes
56164 cat >>confdefs.h <<\_ACEOF
56165 #define HAVE_COPYSIGN 1
56166 _ACEOF
56168 cat >>confdefs.h <<\_ACEOF
56169 #define HAVE_COPYSIGNF 1
56170 _ACEOF
56172 cat >>confdefs.h <<\_ACEOF
56173 #define HAVE_FREXPF 1
56174 _ACEOF
56176 cat >>confdefs.h <<\_ACEOF
56177 #define HAVE_HYPOT 1
56178 _ACEOF
56180 case "$target" in
56181 *-hpux10*)
56182 cat >>confdefs.h <<\_ACEOF
56183 #define HAVE_FINITE 1
56184 _ACEOF
56186 cat >>confdefs.h <<\_ACEOF
56187 #define HAVE_FINITEF 1
56188 _ACEOF
56190 cat >>confdefs.h <<\_ACEOF
56191 #define HAVE_ISINF 1
56192 _ACEOF
56194 cat >>confdefs.h <<\_ACEOF
56195 #define HAVE_ISINFF 1
56196 _ACEOF
56198 cat >>confdefs.h <<\_ACEOF
56199 #define HAVE_ISNAN 1
56200 _ACEOF
56202 cat >>confdefs.h <<\_ACEOF
56203 #define HAVE_ISNANF 1
56204 _ACEOF
56207 esac
56209 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
56225 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
56226 machine/endian.h machine/param.h sys/machine.h sys/types.h \
56227 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
56229 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
56230 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56231 echo "$as_me:$LINENO: checking for $ac_header" >&5
56232 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
56233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56234 echo $ECHO_N "(cached) $ECHO_C" >&6
56236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
56237 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
56238 else
56239 # Is the header compilable?
56240 echo "$as_me:$LINENO: checking $ac_header usability" >&5
56241 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
56242 cat >conftest.$ac_ext <<_ACEOF
56243 /* confdefs.h. */
56244 _ACEOF
56245 cat confdefs.h >>conftest.$ac_ext
56246 cat >>conftest.$ac_ext <<_ACEOF
56247 /* end confdefs.h. */
56248 $ac_includes_default
56249 #include <$ac_header>
56250 _ACEOF
56251 rm -f conftest.$ac_objext
56252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56253 (eval $ac_compile) 2>conftest.er1
56254 ac_status=$?
56255 grep -v '^ *+' conftest.er1 >conftest.err
56256 rm -f conftest.er1
56257 cat conftest.err >&5
56258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56259 (exit $ac_status); } &&
56260 { ac_try='test -z "$ac_c_werror_flag"
56261 || test ! -s conftest.err'
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); }; } &&
56267 { ac_try='test -s conftest.$ac_objext'
56268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56269 (eval $ac_try) 2>&5
56270 ac_status=$?
56271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56272 (exit $ac_status); }; }; then
56273 ac_header_compiler=yes
56274 else
56275 echo "$as_me: failed program was:" >&5
56276 sed 's/^/| /' conftest.$ac_ext >&5
56278 ac_header_compiler=no
56280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56281 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
56282 echo "${ECHO_T}$ac_header_compiler" >&6
56284 # Is the header present?
56285 echo "$as_me:$LINENO: checking $ac_header presence" >&5
56286 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
56287 cat >conftest.$ac_ext <<_ACEOF
56288 /* confdefs.h. */
56289 _ACEOF
56290 cat confdefs.h >>conftest.$ac_ext
56291 cat >>conftest.$ac_ext <<_ACEOF
56292 /* end confdefs.h. */
56293 #include <$ac_header>
56294 _ACEOF
56295 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
56296 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
56297 ac_status=$?
56298 grep -v '^ *+' conftest.er1 >conftest.err
56299 rm -f conftest.er1
56300 cat conftest.err >&5
56301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56302 (exit $ac_status); } >/dev/null; then
56303 if test -s conftest.err; then
56304 ac_cpp_err=$ac_c_preproc_warn_flag
56305 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
56306 else
56307 ac_cpp_err=
56309 else
56310 ac_cpp_err=yes
56312 if test -z "$ac_cpp_err"; then
56313 ac_header_preproc=yes
56314 else
56315 echo "$as_me: failed program was:" >&5
56316 sed 's/^/| /' conftest.$ac_ext >&5
56318 ac_header_preproc=no
56320 rm -f conftest.err conftest.$ac_ext
56321 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
56322 echo "${ECHO_T}$ac_header_preproc" >&6
56324 # So? What about this header?
56325 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
56326 yes:no: )
56327 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
56328 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
56329 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
56330 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
56331 ac_header_preproc=yes
56333 no:yes:* )
56334 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
56335 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
56336 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
56337 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
56338 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
56339 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
56340 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
56341 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
56342 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
56343 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
56344 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
56345 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
56347 cat <<\_ASBOX
56348 ## ----------------------------------------- ##
56349 ## Report this to the package-unused lists. ##
56350 ## ----------------------------------------- ##
56351 _ASBOX
56353 sed "s/^/$as_me: WARNING: /" >&2
56355 esac
56356 echo "$as_me:$LINENO: checking for $ac_header" >&5
56357 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
56358 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56359 echo $ECHO_N "(cached) $ECHO_C" >&6
56360 else
56361 eval "$as_ac_Header=\$ac_header_preproc"
56363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
56364 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
56367 if test `eval echo '${'$as_ac_Header'}'` = yes; then
56368 cat >>confdefs.h <<_ACEOF
56369 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
56370 _ACEOF
56374 done
56376 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56379 # All these tests are for C++; save the language and the compiler flags.
56380 # The CXXFLAGS thing is suspicious, but based on similar bits previously
56381 # found in GLIBCXX_CONFIGURE.
56384 ac_ext=cc
56385 ac_cpp='$CXXCPP $CPPFLAGS'
56386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56390 ac_test_CXXFLAGS="${CXXFLAGS+set}"
56391 ac_save_CXXFLAGS="$CXXFLAGS"
56393 # Check for maintainer-mode bits.
56394 if test x"$USE_MAINTAINER_MODE" = xno; then
56395 WERROR=''
56396 else
56397 WERROR='-Werror'
56400 # Check for -ffunction-sections -fdata-sections
56401 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
56402 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
56403 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
56404 cat >conftest.$ac_ext <<_ACEOF
56405 /* confdefs.h. */
56406 _ACEOF
56407 cat confdefs.h >>conftest.$ac_ext
56408 cat >>conftest.$ac_ext <<_ACEOF
56409 /* end confdefs.h. */
56412 main ()
56414 int foo;
56416 return 0;
56418 _ACEOF
56419 rm -f conftest.$ac_objext
56420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56421 (eval $ac_compile) 2>conftest.er1
56422 ac_status=$?
56423 grep -v '^ *+' conftest.er1 >conftest.err
56424 rm -f conftest.er1
56425 cat conftest.err >&5
56426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56427 (exit $ac_status); } &&
56428 { ac_try='test -z "$ac_cxx_werror_flag"
56429 || test ! -s conftest.err'
56430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56431 (eval $ac_try) 2>&5
56432 ac_status=$?
56433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56434 (exit $ac_status); }; } &&
56435 { ac_try='test -s conftest.$ac_objext'
56436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56437 (eval $ac_try) 2>&5
56438 ac_status=$?
56439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56440 (exit $ac_status); }; }; then
56441 ac_fdsections=yes
56442 else
56443 echo "$as_me: failed program was:" >&5
56444 sed 's/^/| /' conftest.$ac_ext >&5
56446 ac_fdsections=no
56448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56449 if test "$ac_test_CXXFLAGS" = set; then
56450 CXXFLAGS="$ac_save_CXXFLAGS"
56451 else
56452 # this is the suspicious part
56453 CXXFLAGS=''
56455 if test x"$ac_fdsections" = x"yes"; then
56456 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56458 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
56459 echo "${ECHO_T}$ac_fdsections" >&6
56461 ac_ext=c
56462 ac_cpp='$CPP $CPPFLAGS'
56463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56471 # If we're not using GNU ld, then there's no point in even trying these
56472 # tests. Check for that first. We should have already tested for gld
56473 # by now (in libtool), but require it now just to be safe...
56474 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56475 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56479 # The name set by libtool depends on the version of libtool. Shame on us
56480 # for depending on an impl detail, but c'est la vie. Older versions used
56481 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56482 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56483 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56484 # set (hence we're using an older libtool), then set it.
56485 if test x${with_gnu_ld+set} != xset; then
56486 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56487 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56488 with_gnu_ld=no
56489 else
56490 with_gnu_ld=$ac_cv_prog_gnu_ld
56494 # Start by getting the version number. I think the libtool test already
56495 # does some of this, but throws away the result.
56496 if test x"$with_gnu_ld" = x"yes"; then
56497 echo "$as_me:$LINENO: checking for ld version" >&5
56498 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
56500 ldver=`$LD --version 2>/dev/null | head -1 | \
56501 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
56503 glibcxx_gnu_ld_version=`echo $ldver | \
56504 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56505 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
56506 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
56509 # Set --gc-sections.
56510 glibcxx_gcsections_min_ld=21602
56511 if test x"$with_gnu_ld" = x"yes" &&
56512 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56514 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56515 # NB: This flag only works reliably after 2.16.1. Configure tests
56516 # for this are difficult, so hard wire a value that should work.
56518 # All these tests are for C++, but run with the "C" compiler driver.
56519 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
56520 ac_test_CFLAGS="${CFLAGS+set}"
56521 ac_save_CFLAGS="$CFLAGS"
56522 CFLAGS='-x c++ -Wl,--gc-sections'
56524 # Check for -Wl,--gc-sections
56525 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
56526 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
56527 if test x$gcc_no_link = xyes; then
56528 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56530 { (exit 1); exit 1; }; }
56532 cat >conftest.$ac_ext <<_ACEOF
56533 /* confdefs.h. */
56534 _ACEOF
56535 cat confdefs.h >>conftest.$ac_ext
56536 cat >>conftest.$ac_ext <<_ACEOF
56537 /* end confdefs.h. */
56538 int one(void) { return 1; }
56539 int two(void) { return 2; }
56542 main ()
56544 two();
56546 return 0;
56548 _ACEOF
56549 rm -f conftest.$ac_objext conftest$ac_exeext
56550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56551 (eval $ac_link) 2>conftest.er1
56552 ac_status=$?
56553 grep -v '^ *+' conftest.er1 >conftest.err
56554 rm -f conftest.er1
56555 cat conftest.err >&5
56556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56557 (exit $ac_status); } &&
56558 { ac_try='test -z "$ac_c_werror_flag"
56559 || test ! -s conftest.err'
56560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56561 (eval $ac_try) 2>&5
56562 ac_status=$?
56563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56564 (exit $ac_status); }; } &&
56565 { ac_try='test -s conftest$ac_exeext'
56566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56567 (eval $ac_try) 2>&5
56568 ac_status=$?
56569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56570 (exit $ac_status); }; }; then
56571 ac_gcsections=yes
56572 else
56573 echo "$as_me: failed program was:" >&5
56574 sed 's/^/| /' conftest.$ac_ext >&5
56576 ac_gcsections=no
56578 rm -f conftest.err conftest.$ac_objext \
56579 conftest$ac_exeext conftest.$ac_ext
56580 if test "$ac_gcsections" = "yes"; then
56581 rm -f conftest.c
56582 touch conftest.c
56583 if $CC -c conftest.c; then
56584 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56585 grep "Warning: gc-sections option ignored" > /dev/null; then
56586 ac_gcsections=no
56589 rm -f conftest.c conftest.o conftest
56591 if test "$ac_gcsections" = "yes"; then
56592 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56594 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
56595 echo "${ECHO_T}$ac_gcsections" >&6
56597 if test "$ac_test_CFLAGS" = set; then
56598 CFLAGS="$ac_save_CFLAGS"
56599 else
56600 # this is the suspicious part
56601 CFLAGS=''
56605 # Set -z,relro.
56606 # Note this is only for shared objects.
56607 ac_ld_relro=no
56608 if test x"$with_gnu_ld" = x"yes"; then
56609 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
56610 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
56611 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56612 if test -n "$cxx_z_relo"; then
56613 OPT_LDFLAGS="-Wl,-z,relro"
56614 ac_ld_relro=yes
56616 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
56617 echo "${ECHO_T}$ac_ld_relro" >&6
56620 # Set linker optimization flags.
56621 if test x"$with_gnu_ld" = x"yes"; then
56622 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56629 ac_test_CXXFLAGS="${CXXFLAGS+set}"
56630 ac_save_CXXFLAGS="$CXXFLAGS"
56631 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56633 echo "$as_me:$LINENO: checking for sin in -lm" >&5
56634 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
56635 if test "${ac_cv_lib_m_sin+set}" = set; then
56636 echo $ECHO_N "(cached) $ECHO_C" >&6
56637 else
56638 ac_check_lib_save_LIBS=$LIBS
56639 LIBS="-lm $LIBS"
56640 if test x$gcc_no_link = xyes; then
56641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56643 { (exit 1); exit 1; }; }
56645 cat >conftest.$ac_ext <<_ACEOF
56646 /* confdefs.h. */
56647 _ACEOF
56648 cat confdefs.h >>conftest.$ac_ext
56649 cat >>conftest.$ac_ext <<_ACEOF
56650 /* end confdefs.h. */
56652 /* Override any gcc2 internal prototype to avoid an error. */
56653 #ifdef __cplusplus
56654 extern "C"
56655 #endif
56656 /* We use char because int might match the return type of a gcc2
56657 builtin and then its argument prototype would still apply. */
56658 char sin ();
56660 main ()
56662 sin ();
56664 return 0;
56666 _ACEOF
56667 rm -f conftest.$ac_objext conftest$ac_exeext
56668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56669 (eval $ac_link) 2>conftest.er1
56670 ac_status=$?
56671 grep -v '^ *+' conftest.er1 >conftest.err
56672 rm -f conftest.er1
56673 cat conftest.err >&5
56674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56675 (exit $ac_status); } &&
56676 { ac_try='test -z "$ac_c_werror_flag"
56677 || test ! -s conftest.err'
56678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56679 (eval $ac_try) 2>&5
56680 ac_status=$?
56681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56682 (exit $ac_status); }; } &&
56683 { ac_try='test -s conftest$ac_exeext'
56684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56685 (eval $ac_try) 2>&5
56686 ac_status=$?
56687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56688 (exit $ac_status); }; }; then
56689 ac_cv_lib_m_sin=yes
56690 else
56691 echo "$as_me: failed program was:" >&5
56692 sed 's/^/| /' conftest.$ac_ext >&5
56694 ac_cv_lib_m_sin=no
56696 rm -f conftest.err conftest.$ac_objext \
56697 conftest$ac_exeext conftest.$ac_ext
56698 LIBS=$ac_check_lib_save_LIBS
56700 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
56701 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
56702 if test $ac_cv_lib_m_sin = yes; then
56703 libm="-lm"
56706 ac_save_LIBS="$LIBS"
56707 LIBS="$LIBS $libm"
56711 echo "$as_me:$LINENO: checking for isinf declaration" >&5
56712 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
56713 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
56714 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
56715 echo $ECHO_N "(cached) $ECHO_C" >&6
56716 else
56720 ac_ext=cc
56721 ac_cpp='$CXXCPP $CPPFLAGS'
56722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56726 cat >conftest.$ac_ext <<_ACEOF
56727 /* confdefs.h. */
56728 _ACEOF
56729 cat confdefs.h >>conftest.$ac_ext
56730 cat >>conftest.$ac_ext <<_ACEOF
56731 /* end confdefs.h. */
56732 #include <math.h>
56733 #ifdef HAVE_IEEEFP_H
56734 #include <ieeefp.h>
56735 #endif
56738 main ()
56740 isinf(0);
56742 return 0;
56744 _ACEOF
56745 rm -f conftest.$ac_objext
56746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56747 (eval $ac_compile) 2>conftest.er1
56748 ac_status=$?
56749 grep -v '^ *+' conftest.er1 >conftest.err
56750 rm -f conftest.er1
56751 cat conftest.err >&5
56752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56753 (exit $ac_status); } &&
56754 { ac_try='test -z "$ac_cxx_werror_flag"
56755 || test ! -s conftest.err'
56756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56757 (eval $ac_try) 2>&5
56758 ac_status=$?
56759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56760 (exit $ac_status); }; } &&
56761 { ac_try='test -s conftest.$ac_objext'
56762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56763 (eval $ac_try) 2>&5
56764 ac_status=$?
56765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56766 (exit $ac_status); }; }; then
56767 glibcxx_cv_func_isinf_use=yes
56768 else
56769 echo "$as_me: failed program was:" >&5
56770 sed 's/^/| /' conftest.$ac_ext >&5
56772 glibcxx_cv_func_isinf_use=no
56774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56775 ac_ext=c
56776 ac_cpp='$CPP $CPPFLAGS'
56777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56785 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
56786 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
56788 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
56790 for ac_func in isinf
56792 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56793 echo "$as_me:$LINENO: checking for $ac_func" >&5
56794 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56795 if eval "test \"\${$as_ac_var+set}\" = set"; then
56796 echo $ECHO_N "(cached) $ECHO_C" >&6
56797 else
56798 if test x$gcc_no_link = xyes; then
56799 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56800 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56801 { (exit 1); exit 1; }; }
56803 cat >conftest.$ac_ext <<_ACEOF
56804 /* confdefs.h. */
56805 _ACEOF
56806 cat confdefs.h >>conftest.$ac_ext
56807 cat >>conftest.$ac_ext <<_ACEOF
56808 /* end confdefs.h. */
56809 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56811 #define $ac_func innocuous_$ac_func
56813 /* System header to define __stub macros and hopefully few prototypes,
56814 which can conflict with char $ac_func (); below.
56815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56816 <limits.h> exists even on freestanding compilers. */
56818 #ifdef __STDC__
56819 # include <limits.h>
56820 #else
56821 # include <assert.h>
56822 #endif
56824 #undef $ac_func
56826 /* Override any gcc2 internal prototype to avoid an error. */
56827 #ifdef __cplusplus
56828 extern "C"
56830 #endif
56831 /* We use char because int might match the return type of a gcc2
56832 builtin and then its argument prototype would still apply. */
56833 char $ac_func ();
56834 /* The GNU C library defines this for functions which it implements
56835 to always fail with ENOSYS. Some functions are actually named
56836 something starting with __ and the normal name is an alias. */
56837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56838 choke me
56839 #else
56840 char (*f) () = $ac_func;
56841 #endif
56842 #ifdef __cplusplus
56844 #endif
56847 main ()
56849 return f != $ac_func;
56851 return 0;
56853 _ACEOF
56854 rm -f conftest.$ac_objext conftest$ac_exeext
56855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56856 (eval $ac_link) 2>conftest.er1
56857 ac_status=$?
56858 grep -v '^ *+' conftest.er1 >conftest.err
56859 rm -f conftest.er1
56860 cat conftest.err >&5
56861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56862 (exit $ac_status); } &&
56863 { ac_try='test -z "$ac_c_werror_flag"
56864 || test ! -s conftest.err'
56865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56866 (eval $ac_try) 2>&5
56867 ac_status=$?
56868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56869 (exit $ac_status); }; } &&
56870 { ac_try='test -s conftest$ac_exeext'
56871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56872 (eval $ac_try) 2>&5
56873 ac_status=$?
56874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56875 (exit $ac_status); }; }; then
56876 eval "$as_ac_var=yes"
56877 else
56878 echo "$as_me: failed program was:" >&5
56879 sed 's/^/| /' conftest.$ac_ext >&5
56881 eval "$as_ac_var=no"
56883 rm -f conftest.err conftest.$ac_objext \
56884 conftest$ac_exeext conftest.$ac_ext
56886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56887 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56888 if test `eval echo '${'$as_ac_var'}'` = yes; then
56889 cat >>confdefs.h <<_ACEOF
56890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56891 _ACEOF
56894 done
56896 else
56898 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
56899 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
56900 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
56901 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
56902 echo $ECHO_N "(cached) $ECHO_C" >&6
56903 else
56907 ac_ext=cc
56908 ac_cpp='$CXXCPP $CPPFLAGS'
56909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56913 cat >conftest.$ac_ext <<_ACEOF
56914 /* confdefs.h. */
56915 _ACEOF
56916 cat confdefs.h >>conftest.$ac_ext
56917 cat >>conftest.$ac_ext <<_ACEOF
56918 /* end confdefs.h. */
56919 #include <math.h>
56920 #ifdef HAVE_IEEEFP_H
56921 #include <ieeefp.h>
56922 #endif
56925 main ()
56927 _isinf(0);
56929 return 0;
56931 _ACEOF
56932 rm -f conftest.$ac_objext
56933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56934 (eval $ac_compile) 2>conftest.er1
56935 ac_status=$?
56936 grep -v '^ *+' conftest.er1 >conftest.err
56937 rm -f conftest.er1
56938 cat conftest.err >&5
56939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56940 (exit $ac_status); } &&
56941 { ac_try='test -z "$ac_cxx_werror_flag"
56942 || test ! -s conftest.err'
56943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56944 (eval $ac_try) 2>&5
56945 ac_status=$?
56946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56947 (exit $ac_status); }; } &&
56948 { ac_try='test -s conftest.$ac_objext'
56949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56950 (eval $ac_try) 2>&5
56951 ac_status=$?
56952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56953 (exit $ac_status); }; }; then
56954 glibcxx_cv_func__isinf_use=yes
56955 else
56956 echo "$as_me: failed program was:" >&5
56957 sed 's/^/| /' conftest.$ac_ext >&5
56959 glibcxx_cv_func__isinf_use=no
56961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56962 ac_ext=c
56963 ac_cpp='$CPP $CPPFLAGS'
56964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56972 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
56973 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
56975 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
56977 for ac_func in _isinf
56979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56980 echo "$as_me:$LINENO: checking for $ac_func" >&5
56981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56982 if eval "test \"\${$as_ac_var+set}\" = set"; then
56983 echo $ECHO_N "(cached) $ECHO_C" >&6
56984 else
56985 if test x$gcc_no_link = xyes; then
56986 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56988 { (exit 1); exit 1; }; }
56990 cat >conftest.$ac_ext <<_ACEOF
56991 /* confdefs.h. */
56992 _ACEOF
56993 cat confdefs.h >>conftest.$ac_ext
56994 cat >>conftest.$ac_ext <<_ACEOF
56995 /* end confdefs.h. */
56996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56998 #define $ac_func innocuous_$ac_func
57000 /* System header to define __stub macros and hopefully few prototypes,
57001 which can conflict with char $ac_func (); below.
57002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57003 <limits.h> exists even on freestanding compilers. */
57005 #ifdef __STDC__
57006 # include <limits.h>
57007 #else
57008 # include <assert.h>
57009 #endif
57011 #undef $ac_func
57013 /* Override any gcc2 internal prototype to avoid an error. */
57014 #ifdef __cplusplus
57015 extern "C"
57017 #endif
57018 /* We use char because int might match the return type of a gcc2
57019 builtin and then its argument prototype would still apply. */
57020 char $ac_func ();
57021 /* The GNU C library defines this for functions which it implements
57022 to always fail with ENOSYS. Some functions are actually named
57023 something starting with __ and the normal name is an alias. */
57024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57025 choke me
57026 #else
57027 char (*f) () = $ac_func;
57028 #endif
57029 #ifdef __cplusplus
57031 #endif
57034 main ()
57036 return f != $ac_func;
57038 return 0;
57040 _ACEOF
57041 rm -f conftest.$ac_objext conftest$ac_exeext
57042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57043 (eval $ac_link) 2>conftest.er1
57044 ac_status=$?
57045 grep -v '^ *+' conftest.er1 >conftest.err
57046 rm -f conftest.er1
57047 cat conftest.err >&5
57048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57049 (exit $ac_status); } &&
57050 { ac_try='test -z "$ac_c_werror_flag"
57051 || test ! -s conftest.err'
57052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57053 (eval $ac_try) 2>&5
57054 ac_status=$?
57055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57056 (exit $ac_status); }; } &&
57057 { ac_try='test -s conftest$ac_exeext'
57058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57059 (eval $ac_try) 2>&5
57060 ac_status=$?
57061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57062 (exit $ac_status); }; }; then
57063 eval "$as_ac_var=yes"
57064 else
57065 echo "$as_me: failed program was:" >&5
57066 sed 's/^/| /' conftest.$ac_ext >&5
57068 eval "$as_ac_var=no"
57070 rm -f conftest.err conftest.$ac_objext \
57071 conftest$ac_exeext conftest.$ac_ext
57073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57075 if test `eval echo '${'$as_ac_var'}'` = yes; then
57076 cat >>confdefs.h <<_ACEOF
57077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57078 _ACEOF
57081 done
57091 echo "$as_me:$LINENO: checking for isnan declaration" >&5
57092 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
57093 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
57094 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
57095 echo $ECHO_N "(cached) $ECHO_C" >&6
57096 else
57100 ac_ext=cc
57101 ac_cpp='$CXXCPP $CPPFLAGS'
57102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57106 cat >conftest.$ac_ext <<_ACEOF
57107 /* confdefs.h. */
57108 _ACEOF
57109 cat confdefs.h >>conftest.$ac_ext
57110 cat >>conftest.$ac_ext <<_ACEOF
57111 /* end confdefs.h. */
57112 #include <math.h>
57113 #ifdef HAVE_IEEEFP_H
57114 #include <ieeefp.h>
57115 #endif
57118 main ()
57120 isnan(0);
57122 return 0;
57124 _ACEOF
57125 rm -f conftest.$ac_objext
57126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57127 (eval $ac_compile) 2>conftest.er1
57128 ac_status=$?
57129 grep -v '^ *+' conftest.er1 >conftest.err
57130 rm -f conftest.er1
57131 cat conftest.err >&5
57132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57133 (exit $ac_status); } &&
57134 { ac_try='test -z "$ac_cxx_werror_flag"
57135 || test ! -s conftest.err'
57136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57137 (eval $ac_try) 2>&5
57138 ac_status=$?
57139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57140 (exit $ac_status); }; } &&
57141 { ac_try='test -s conftest.$ac_objext'
57142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57143 (eval $ac_try) 2>&5
57144 ac_status=$?
57145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57146 (exit $ac_status); }; }; then
57147 glibcxx_cv_func_isnan_use=yes
57148 else
57149 echo "$as_me: failed program was:" >&5
57150 sed 's/^/| /' conftest.$ac_ext >&5
57152 glibcxx_cv_func_isnan_use=no
57154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57155 ac_ext=c
57156 ac_cpp='$CPP $CPPFLAGS'
57157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57165 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
57166 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
57168 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
57170 for ac_func in isnan
57172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57173 echo "$as_me:$LINENO: checking for $ac_func" >&5
57174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57175 if eval "test \"\${$as_ac_var+set}\" = set"; then
57176 echo $ECHO_N "(cached) $ECHO_C" >&6
57177 else
57178 if test x$gcc_no_link = xyes; then
57179 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57181 { (exit 1); exit 1; }; }
57183 cat >conftest.$ac_ext <<_ACEOF
57184 /* confdefs.h. */
57185 _ACEOF
57186 cat confdefs.h >>conftest.$ac_ext
57187 cat >>conftest.$ac_ext <<_ACEOF
57188 /* end confdefs.h. */
57189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57191 #define $ac_func innocuous_$ac_func
57193 /* System header to define __stub macros and hopefully few prototypes,
57194 which can conflict with char $ac_func (); below.
57195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57196 <limits.h> exists even on freestanding compilers. */
57198 #ifdef __STDC__
57199 # include <limits.h>
57200 #else
57201 # include <assert.h>
57202 #endif
57204 #undef $ac_func
57206 /* Override any gcc2 internal prototype to avoid an error. */
57207 #ifdef __cplusplus
57208 extern "C"
57210 #endif
57211 /* We use char because int might match the return type of a gcc2
57212 builtin and then its argument prototype would still apply. */
57213 char $ac_func ();
57214 /* The GNU C library defines this for functions which it implements
57215 to always fail with ENOSYS. Some functions are actually named
57216 something starting with __ and the normal name is an alias. */
57217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57218 choke me
57219 #else
57220 char (*f) () = $ac_func;
57221 #endif
57222 #ifdef __cplusplus
57224 #endif
57227 main ()
57229 return f != $ac_func;
57231 return 0;
57233 _ACEOF
57234 rm -f conftest.$ac_objext conftest$ac_exeext
57235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57236 (eval $ac_link) 2>conftest.er1
57237 ac_status=$?
57238 grep -v '^ *+' conftest.er1 >conftest.err
57239 rm -f conftest.er1
57240 cat conftest.err >&5
57241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57242 (exit $ac_status); } &&
57243 { ac_try='test -z "$ac_c_werror_flag"
57244 || test ! -s conftest.err'
57245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57246 (eval $ac_try) 2>&5
57247 ac_status=$?
57248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57249 (exit $ac_status); }; } &&
57250 { ac_try='test -s conftest$ac_exeext'
57251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57252 (eval $ac_try) 2>&5
57253 ac_status=$?
57254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57255 (exit $ac_status); }; }; then
57256 eval "$as_ac_var=yes"
57257 else
57258 echo "$as_me: failed program was:" >&5
57259 sed 's/^/| /' conftest.$ac_ext >&5
57261 eval "$as_ac_var=no"
57263 rm -f conftest.err conftest.$ac_objext \
57264 conftest$ac_exeext conftest.$ac_ext
57266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57268 if test `eval echo '${'$as_ac_var'}'` = yes; then
57269 cat >>confdefs.h <<_ACEOF
57270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57271 _ACEOF
57274 done
57276 else
57278 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
57279 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
57280 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
57281 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
57282 echo $ECHO_N "(cached) $ECHO_C" >&6
57283 else
57287 ac_ext=cc
57288 ac_cpp='$CXXCPP $CPPFLAGS'
57289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57293 cat >conftest.$ac_ext <<_ACEOF
57294 /* confdefs.h. */
57295 _ACEOF
57296 cat confdefs.h >>conftest.$ac_ext
57297 cat >>conftest.$ac_ext <<_ACEOF
57298 /* end confdefs.h. */
57299 #include <math.h>
57300 #ifdef HAVE_IEEEFP_H
57301 #include <ieeefp.h>
57302 #endif
57305 main ()
57307 _isnan(0);
57309 return 0;
57311 _ACEOF
57312 rm -f conftest.$ac_objext
57313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57314 (eval $ac_compile) 2>conftest.er1
57315 ac_status=$?
57316 grep -v '^ *+' conftest.er1 >conftest.err
57317 rm -f conftest.er1
57318 cat conftest.err >&5
57319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57320 (exit $ac_status); } &&
57321 { ac_try='test -z "$ac_cxx_werror_flag"
57322 || test ! -s conftest.err'
57323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57324 (eval $ac_try) 2>&5
57325 ac_status=$?
57326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57327 (exit $ac_status); }; } &&
57328 { ac_try='test -s conftest.$ac_objext'
57329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57330 (eval $ac_try) 2>&5
57331 ac_status=$?
57332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57333 (exit $ac_status); }; }; then
57334 glibcxx_cv_func__isnan_use=yes
57335 else
57336 echo "$as_me: failed program was:" >&5
57337 sed 's/^/| /' conftest.$ac_ext >&5
57339 glibcxx_cv_func__isnan_use=no
57341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57342 ac_ext=c
57343 ac_cpp='$CPP $CPPFLAGS'
57344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57352 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
57353 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
57355 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
57357 for ac_func in _isnan
57359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57360 echo "$as_me:$LINENO: checking for $ac_func" >&5
57361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57362 if eval "test \"\${$as_ac_var+set}\" = set"; then
57363 echo $ECHO_N "(cached) $ECHO_C" >&6
57364 else
57365 if test x$gcc_no_link = xyes; then
57366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57368 { (exit 1); exit 1; }; }
57370 cat >conftest.$ac_ext <<_ACEOF
57371 /* confdefs.h. */
57372 _ACEOF
57373 cat confdefs.h >>conftest.$ac_ext
57374 cat >>conftest.$ac_ext <<_ACEOF
57375 /* end confdefs.h. */
57376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57378 #define $ac_func innocuous_$ac_func
57380 /* System header to define __stub macros and hopefully few prototypes,
57381 which can conflict with char $ac_func (); below.
57382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57383 <limits.h> exists even on freestanding compilers. */
57385 #ifdef __STDC__
57386 # include <limits.h>
57387 #else
57388 # include <assert.h>
57389 #endif
57391 #undef $ac_func
57393 /* Override any gcc2 internal prototype to avoid an error. */
57394 #ifdef __cplusplus
57395 extern "C"
57397 #endif
57398 /* We use char because int might match the return type of a gcc2
57399 builtin and then its argument prototype would still apply. */
57400 char $ac_func ();
57401 /* The GNU C library defines this for functions which it implements
57402 to always fail with ENOSYS. Some functions are actually named
57403 something starting with __ and the normal name is an alias. */
57404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57405 choke me
57406 #else
57407 char (*f) () = $ac_func;
57408 #endif
57409 #ifdef __cplusplus
57411 #endif
57414 main ()
57416 return f != $ac_func;
57418 return 0;
57420 _ACEOF
57421 rm -f conftest.$ac_objext conftest$ac_exeext
57422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57423 (eval $ac_link) 2>conftest.er1
57424 ac_status=$?
57425 grep -v '^ *+' conftest.er1 >conftest.err
57426 rm -f conftest.er1
57427 cat conftest.err >&5
57428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57429 (exit $ac_status); } &&
57430 { ac_try='test -z "$ac_c_werror_flag"
57431 || test ! -s conftest.err'
57432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57433 (eval $ac_try) 2>&5
57434 ac_status=$?
57435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57436 (exit $ac_status); }; } &&
57437 { ac_try='test -s conftest$ac_exeext'
57438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57439 (eval $ac_try) 2>&5
57440 ac_status=$?
57441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57442 (exit $ac_status); }; }; then
57443 eval "$as_ac_var=yes"
57444 else
57445 echo "$as_me: failed program was:" >&5
57446 sed 's/^/| /' conftest.$ac_ext >&5
57448 eval "$as_ac_var=no"
57450 rm -f conftest.err conftest.$ac_objext \
57451 conftest$ac_exeext conftest.$ac_ext
57453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57455 if test `eval echo '${'$as_ac_var'}'` = yes; then
57456 cat >>confdefs.h <<_ACEOF
57457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57458 _ACEOF
57461 done
57471 echo "$as_me:$LINENO: checking for finite declaration" >&5
57472 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
57473 if test x${glibcxx_cv_func_finite_use+set} != xset; then
57474 if test "${glibcxx_cv_func_finite_use+set}" = set; then
57475 echo $ECHO_N "(cached) $ECHO_C" >&6
57476 else
57480 ac_ext=cc
57481 ac_cpp='$CXXCPP $CPPFLAGS'
57482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57486 cat >conftest.$ac_ext <<_ACEOF
57487 /* confdefs.h. */
57488 _ACEOF
57489 cat confdefs.h >>conftest.$ac_ext
57490 cat >>conftest.$ac_ext <<_ACEOF
57491 /* end confdefs.h. */
57492 #include <math.h>
57493 #ifdef HAVE_IEEEFP_H
57494 #include <ieeefp.h>
57495 #endif
57498 main ()
57500 finite(0);
57502 return 0;
57504 _ACEOF
57505 rm -f conftest.$ac_objext
57506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57507 (eval $ac_compile) 2>conftest.er1
57508 ac_status=$?
57509 grep -v '^ *+' conftest.er1 >conftest.err
57510 rm -f conftest.er1
57511 cat conftest.err >&5
57512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57513 (exit $ac_status); } &&
57514 { ac_try='test -z "$ac_cxx_werror_flag"
57515 || test ! -s conftest.err'
57516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57517 (eval $ac_try) 2>&5
57518 ac_status=$?
57519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57520 (exit $ac_status); }; } &&
57521 { ac_try='test -s conftest.$ac_objext'
57522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57523 (eval $ac_try) 2>&5
57524 ac_status=$?
57525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57526 (exit $ac_status); }; }; then
57527 glibcxx_cv_func_finite_use=yes
57528 else
57529 echo "$as_me: failed program was:" >&5
57530 sed 's/^/| /' conftest.$ac_ext >&5
57532 glibcxx_cv_func_finite_use=no
57534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57535 ac_ext=c
57536 ac_cpp='$CPP $CPPFLAGS'
57537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57545 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
57546 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
57548 if test x$glibcxx_cv_func_finite_use = x"yes"; then
57550 for ac_func in finite
57552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57553 echo "$as_me:$LINENO: checking for $ac_func" >&5
57554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57555 if eval "test \"\${$as_ac_var+set}\" = set"; then
57556 echo $ECHO_N "(cached) $ECHO_C" >&6
57557 else
57558 if test x$gcc_no_link = xyes; then
57559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57561 { (exit 1); exit 1; }; }
57563 cat >conftest.$ac_ext <<_ACEOF
57564 /* confdefs.h. */
57565 _ACEOF
57566 cat confdefs.h >>conftest.$ac_ext
57567 cat >>conftest.$ac_ext <<_ACEOF
57568 /* end confdefs.h. */
57569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57571 #define $ac_func innocuous_$ac_func
57573 /* System header to define __stub macros and hopefully few prototypes,
57574 which can conflict with char $ac_func (); below.
57575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57576 <limits.h> exists even on freestanding compilers. */
57578 #ifdef __STDC__
57579 # include <limits.h>
57580 #else
57581 # include <assert.h>
57582 #endif
57584 #undef $ac_func
57586 /* Override any gcc2 internal prototype to avoid an error. */
57587 #ifdef __cplusplus
57588 extern "C"
57590 #endif
57591 /* We use char because int might match the return type of a gcc2
57592 builtin and then its argument prototype would still apply. */
57593 char $ac_func ();
57594 /* The GNU C library defines this for functions which it implements
57595 to always fail with ENOSYS. Some functions are actually named
57596 something starting with __ and the normal name is an alias. */
57597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57598 choke me
57599 #else
57600 char (*f) () = $ac_func;
57601 #endif
57602 #ifdef __cplusplus
57604 #endif
57607 main ()
57609 return f != $ac_func;
57611 return 0;
57613 _ACEOF
57614 rm -f conftest.$ac_objext conftest$ac_exeext
57615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57616 (eval $ac_link) 2>conftest.er1
57617 ac_status=$?
57618 grep -v '^ *+' conftest.er1 >conftest.err
57619 rm -f conftest.er1
57620 cat conftest.err >&5
57621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57622 (exit $ac_status); } &&
57623 { ac_try='test -z "$ac_c_werror_flag"
57624 || test ! -s conftest.err'
57625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57626 (eval $ac_try) 2>&5
57627 ac_status=$?
57628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57629 (exit $ac_status); }; } &&
57630 { ac_try='test -s conftest$ac_exeext'
57631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57632 (eval $ac_try) 2>&5
57633 ac_status=$?
57634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57635 (exit $ac_status); }; }; then
57636 eval "$as_ac_var=yes"
57637 else
57638 echo "$as_me: failed program was:" >&5
57639 sed 's/^/| /' conftest.$ac_ext >&5
57641 eval "$as_ac_var=no"
57643 rm -f conftest.err conftest.$ac_objext \
57644 conftest$ac_exeext conftest.$ac_ext
57646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57648 if test `eval echo '${'$as_ac_var'}'` = yes; then
57649 cat >>confdefs.h <<_ACEOF
57650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57651 _ACEOF
57654 done
57656 else
57658 echo "$as_me:$LINENO: checking for _finite declaration" >&5
57659 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
57660 if test x${glibcxx_cv_func__finite_use+set} != xset; then
57661 if test "${glibcxx_cv_func__finite_use+set}" = set; then
57662 echo $ECHO_N "(cached) $ECHO_C" >&6
57663 else
57667 ac_ext=cc
57668 ac_cpp='$CXXCPP $CPPFLAGS'
57669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57673 cat >conftest.$ac_ext <<_ACEOF
57674 /* confdefs.h. */
57675 _ACEOF
57676 cat confdefs.h >>conftest.$ac_ext
57677 cat >>conftest.$ac_ext <<_ACEOF
57678 /* end confdefs.h. */
57679 #include <math.h>
57680 #ifdef HAVE_IEEEFP_H
57681 #include <ieeefp.h>
57682 #endif
57685 main ()
57687 _finite(0);
57689 return 0;
57691 _ACEOF
57692 rm -f conftest.$ac_objext
57693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57694 (eval $ac_compile) 2>conftest.er1
57695 ac_status=$?
57696 grep -v '^ *+' conftest.er1 >conftest.err
57697 rm -f conftest.er1
57698 cat conftest.err >&5
57699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57700 (exit $ac_status); } &&
57701 { ac_try='test -z "$ac_cxx_werror_flag"
57702 || test ! -s conftest.err'
57703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57704 (eval $ac_try) 2>&5
57705 ac_status=$?
57706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57707 (exit $ac_status); }; } &&
57708 { ac_try='test -s conftest.$ac_objext'
57709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57710 (eval $ac_try) 2>&5
57711 ac_status=$?
57712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57713 (exit $ac_status); }; }; then
57714 glibcxx_cv_func__finite_use=yes
57715 else
57716 echo "$as_me: failed program was:" >&5
57717 sed 's/^/| /' conftest.$ac_ext >&5
57719 glibcxx_cv_func__finite_use=no
57721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57722 ac_ext=c
57723 ac_cpp='$CPP $CPPFLAGS'
57724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57732 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
57733 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
57735 if test x$glibcxx_cv_func__finite_use = x"yes"; then
57737 for ac_func in _finite
57739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57740 echo "$as_me:$LINENO: checking for $ac_func" >&5
57741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57742 if eval "test \"\${$as_ac_var+set}\" = set"; then
57743 echo $ECHO_N "(cached) $ECHO_C" >&6
57744 else
57745 if test x$gcc_no_link = xyes; then
57746 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57748 { (exit 1); exit 1; }; }
57750 cat >conftest.$ac_ext <<_ACEOF
57751 /* confdefs.h. */
57752 _ACEOF
57753 cat confdefs.h >>conftest.$ac_ext
57754 cat >>conftest.$ac_ext <<_ACEOF
57755 /* end confdefs.h. */
57756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57758 #define $ac_func innocuous_$ac_func
57760 /* System header to define __stub macros and hopefully few prototypes,
57761 which can conflict with char $ac_func (); below.
57762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57763 <limits.h> exists even on freestanding compilers. */
57765 #ifdef __STDC__
57766 # include <limits.h>
57767 #else
57768 # include <assert.h>
57769 #endif
57771 #undef $ac_func
57773 /* Override any gcc2 internal prototype to avoid an error. */
57774 #ifdef __cplusplus
57775 extern "C"
57777 #endif
57778 /* We use char because int might match the return type of a gcc2
57779 builtin and then its argument prototype would still apply. */
57780 char $ac_func ();
57781 /* The GNU C library defines this for functions which it implements
57782 to always fail with ENOSYS. Some functions are actually named
57783 something starting with __ and the normal name is an alias. */
57784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57785 choke me
57786 #else
57787 char (*f) () = $ac_func;
57788 #endif
57789 #ifdef __cplusplus
57791 #endif
57794 main ()
57796 return f != $ac_func;
57798 return 0;
57800 _ACEOF
57801 rm -f conftest.$ac_objext conftest$ac_exeext
57802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57803 (eval $ac_link) 2>conftest.er1
57804 ac_status=$?
57805 grep -v '^ *+' conftest.er1 >conftest.err
57806 rm -f conftest.er1
57807 cat conftest.err >&5
57808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57809 (exit $ac_status); } &&
57810 { ac_try='test -z "$ac_c_werror_flag"
57811 || test ! -s conftest.err'
57812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57813 (eval $ac_try) 2>&5
57814 ac_status=$?
57815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57816 (exit $ac_status); }; } &&
57817 { ac_try='test -s conftest$ac_exeext'
57818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57819 (eval $ac_try) 2>&5
57820 ac_status=$?
57821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57822 (exit $ac_status); }; }; then
57823 eval "$as_ac_var=yes"
57824 else
57825 echo "$as_me: failed program was:" >&5
57826 sed 's/^/| /' conftest.$ac_ext >&5
57828 eval "$as_ac_var=no"
57830 rm -f conftest.err conftest.$ac_objext \
57831 conftest$ac_exeext conftest.$ac_ext
57833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57835 if test `eval echo '${'$as_ac_var'}'` = yes; then
57836 cat >>confdefs.h <<_ACEOF
57837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57838 _ACEOF
57841 done
57851 echo "$as_me:$LINENO: checking for copysign declaration" >&5
57852 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
57853 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
57854 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
57855 echo $ECHO_N "(cached) $ECHO_C" >&6
57856 else
57860 ac_ext=cc
57861 ac_cpp='$CXXCPP $CPPFLAGS'
57862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57866 cat >conftest.$ac_ext <<_ACEOF
57867 /* confdefs.h. */
57868 _ACEOF
57869 cat confdefs.h >>conftest.$ac_ext
57870 cat >>conftest.$ac_ext <<_ACEOF
57871 /* end confdefs.h. */
57872 #include <math.h>
57874 main ()
57876 copysign(0, 0);
57878 return 0;
57880 _ACEOF
57881 rm -f conftest.$ac_objext
57882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57883 (eval $ac_compile) 2>conftest.er1
57884 ac_status=$?
57885 grep -v '^ *+' conftest.er1 >conftest.err
57886 rm -f conftest.er1
57887 cat conftest.err >&5
57888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57889 (exit $ac_status); } &&
57890 { ac_try='test -z "$ac_cxx_werror_flag"
57891 || test ! -s conftest.err'
57892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57893 (eval $ac_try) 2>&5
57894 ac_status=$?
57895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57896 (exit $ac_status); }; } &&
57897 { ac_try='test -s conftest.$ac_objext'
57898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57899 (eval $ac_try) 2>&5
57900 ac_status=$?
57901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57902 (exit $ac_status); }; }; then
57903 glibcxx_cv_func_copysign_use=yes
57904 else
57905 echo "$as_me: failed program was:" >&5
57906 sed 's/^/| /' conftest.$ac_ext >&5
57908 glibcxx_cv_func_copysign_use=no
57910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57911 ac_ext=c
57912 ac_cpp='$CPP $CPPFLAGS'
57913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57921 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
57922 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
57924 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
57926 for ac_func in copysign
57928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57929 echo "$as_me:$LINENO: checking for $ac_func" >&5
57930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57931 if eval "test \"\${$as_ac_var+set}\" = set"; then
57932 echo $ECHO_N "(cached) $ECHO_C" >&6
57933 else
57934 if test x$gcc_no_link = xyes; then
57935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57937 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57947 #define $ac_func innocuous_$ac_func
57949 /* System header to define __stub macros and hopefully few prototypes,
57950 which can conflict with char $ac_func (); below.
57951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57952 <limits.h> exists even on freestanding compilers. */
57954 #ifdef __STDC__
57955 # include <limits.h>
57956 #else
57957 # include <assert.h>
57958 #endif
57960 #undef $ac_func
57962 /* Override any gcc2 internal prototype to avoid an error. */
57963 #ifdef __cplusplus
57964 extern "C"
57966 #endif
57967 /* We use char because int might match the return type of a gcc2
57968 builtin and then its argument prototype would still apply. */
57969 char $ac_func ();
57970 /* The GNU C library defines this for functions which it implements
57971 to always fail with ENOSYS. Some functions are actually named
57972 something starting with __ and the normal name is an alias. */
57973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57974 choke me
57975 #else
57976 char (*f) () = $ac_func;
57977 #endif
57978 #ifdef __cplusplus
57980 #endif
57983 main ()
57985 return f != $ac_func;
57987 return 0;
57989 _ACEOF
57990 rm -f conftest.$ac_objext conftest$ac_exeext
57991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57992 (eval $ac_link) 2>conftest.er1
57993 ac_status=$?
57994 grep -v '^ *+' conftest.er1 >conftest.err
57995 rm -f conftest.er1
57996 cat conftest.err >&5
57997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57998 (exit $ac_status); } &&
57999 { ac_try='test -z "$ac_c_werror_flag"
58000 || test ! -s conftest.err'
58001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58002 (eval $ac_try) 2>&5
58003 ac_status=$?
58004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58005 (exit $ac_status); }; } &&
58006 { ac_try='test -s conftest$ac_exeext'
58007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58008 (eval $ac_try) 2>&5
58009 ac_status=$?
58010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58011 (exit $ac_status); }; }; then
58012 eval "$as_ac_var=yes"
58013 else
58014 echo "$as_me: failed program was:" >&5
58015 sed 's/^/| /' conftest.$ac_ext >&5
58017 eval "$as_ac_var=no"
58019 rm -f conftest.err conftest.$ac_objext \
58020 conftest$ac_exeext conftest.$ac_ext
58022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58024 if test `eval echo '${'$as_ac_var'}'` = yes; then
58025 cat >>confdefs.h <<_ACEOF
58026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58027 _ACEOF
58030 done
58032 else
58034 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
58035 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
58036 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
58037 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
58038 echo $ECHO_N "(cached) $ECHO_C" >&6
58039 else
58043 ac_ext=cc
58044 ac_cpp='$CXXCPP $CPPFLAGS'
58045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58049 cat >conftest.$ac_ext <<_ACEOF
58050 /* confdefs.h. */
58051 _ACEOF
58052 cat confdefs.h >>conftest.$ac_ext
58053 cat >>conftest.$ac_ext <<_ACEOF
58054 /* end confdefs.h. */
58055 #include <math.h>
58057 main ()
58059 _copysign(0, 0);
58061 return 0;
58063 _ACEOF
58064 rm -f conftest.$ac_objext
58065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58066 (eval $ac_compile) 2>conftest.er1
58067 ac_status=$?
58068 grep -v '^ *+' conftest.er1 >conftest.err
58069 rm -f conftest.er1
58070 cat conftest.err >&5
58071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58072 (exit $ac_status); } &&
58073 { ac_try='test -z "$ac_cxx_werror_flag"
58074 || test ! -s conftest.err'
58075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58076 (eval $ac_try) 2>&5
58077 ac_status=$?
58078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58079 (exit $ac_status); }; } &&
58080 { ac_try='test -s conftest.$ac_objext'
58081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58082 (eval $ac_try) 2>&5
58083 ac_status=$?
58084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58085 (exit $ac_status); }; }; then
58086 glibcxx_cv_func__copysign_use=yes
58087 else
58088 echo "$as_me: failed program was:" >&5
58089 sed 's/^/| /' conftest.$ac_ext >&5
58091 glibcxx_cv_func__copysign_use=no
58093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58094 ac_ext=c
58095 ac_cpp='$CPP $CPPFLAGS'
58096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58104 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
58105 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
58107 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
58109 for ac_func in _copysign
58111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58112 echo "$as_me:$LINENO: checking for $ac_func" >&5
58113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58114 if eval "test \"\${$as_ac_var+set}\" = set"; then
58115 echo $ECHO_N "(cached) $ECHO_C" >&6
58116 else
58117 if test x$gcc_no_link = xyes; then
58118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58120 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58130 #define $ac_func innocuous_$ac_func
58132 /* System header to define __stub macros and hopefully few prototypes,
58133 which can conflict with char $ac_func (); below.
58134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58135 <limits.h> exists even on freestanding compilers. */
58137 #ifdef __STDC__
58138 # include <limits.h>
58139 #else
58140 # include <assert.h>
58141 #endif
58143 #undef $ac_func
58145 /* Override any gcc2 internal prototype to avoid an error. */
58146 #ifdef __cplusplus
58147 extern "C"
58149 #endif
58150 /* We use char because int might match the return type of a gcc2
58151 builtin and then its argument prototype would still apply. */
58152 char $ac_func ();
58153 /* The GNU C library defines this for functions which it implements
58154 to always fail with ENOSYS. Some functions are actually named
58155 something starting with __ and the normal name is an alias. */
58156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58157 choke me
58158 #else
58159 char (*f) () = $ac_func;
58160 #endif
58161 #ifdef __cplusplus
58163 #endif
58166 main ()
58168 return f != $ac_func;
58170 return 0;
58172 _ACEOF
58173 rm -f conftest.$ac_objext conftest$ac_exeext
58174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58175 (eval $ac_link) 2>conftest.er1
58176 ac_status=$?
58177 grep -v '^ *+' conftest.er1 >conftest.err
58178 rm -f conftest.er1
58179 cat conftest.err >&5
58180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58181 (exit $ac_status); } &&
58182 { ac_try='test -z "$ac_c_werror_flag"
58183 || test ! -s conftest.err'
58184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58185 (eval $ac_try) 2>&5
58186 ac_status=$?
58187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58188 (exit $ac_status); }; } &&
58189 { ac_try='test -s conftest$ac_exeext'
58190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58191 (eval $ac_try) 2>&5
58192 ac_status=$?
58193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58194 (exit $ac_status); }; }; then
58195 eval "$as_ac_var=yes"
58196 else
58197 echo "$as_me: failed program was:" >&5
58198 sed 's/^/| /' conftest.$ac_ext >&5
58200 eval "$as_ac_var=no"
58202 rm -f conftest.err conftest.$ac_objext \
58203 conftest$ac_exeext conftest.$ac_ext
58205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58207 if test `eval echo '${'$as_ac_var'}'` = yes; then
58208 cat >>confdefs.h <<_ACEOF
58209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58210 _ACEOF
58213 done
58223 echo "$as_me:$LINENO: checking for sincos declaration" >&5
58224 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
58225 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
58226 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
58227 echo $ECHO_N "(cached) $ECHO_C" >&6
58228 else
58232 ac_ext=cc
58233 ac_cpp='$CXXCPP $CPPFLAGS'
58234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58238 cat >conftest.$ac_ext <<_ACEOF
58239 /* confdefs.h. */
58240 _ACEOF
58241 cat confdefs.h >>conftest.$ac_ext
58242 cat >>conftest.$ac_ext <<_ACEOF
58243 /* end confdefs.h. */
58244 #include <math.h>
58246 main ()
58248 sincos(0, 0, 0);
58250 return 0;
58252 _ACEOF
58253 rm -f conftest.$ac_objext
58254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58255 (eval $ac_compile) 2>conftest.er1
58256 ac_status=$?
58257 grep -v '^ *+' conftest.er1 >conftest.err
58258 rm -f conftest.er1
58259 cat conftest.err >&5
58260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58261 (exit $ac_status); } &&
58262 { ac_try='test -z "$ac_cxx_werror_flag"
58263 || test ! -s conftest.err'
58264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58265 (eval $ac_try) 2>&5
58266 ac_status=$?
58267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58268 (exit $ac_status); }; } &&
58269 { ac_try='test -s conftest.$ac_objext'
58270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58271 (eval $ac_try) 2>&5
58272 ac_status=$?
58273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58274 (exit $ac_status); }; }; then
58275 glibcxx_cv_func_sincos_use=yes
58276 else
58277 echo "$as_me: failed program was:" >&5
58278 sed 's/^/| /' conftest.$ac_ext >&5
58280 glibcxx_cv_func_sincos_use=no
58282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58283 ac_ext=c
58284 ac_cpp='$CPP $CPPFLAGS'
58285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58293 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
58294 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
58296 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
58298 for ac_func in sincos
58300 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58301 echo "$as_me:$LINENO: checking for $ac_func" >&5
58302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58303 if eval "test \"\${$as_ac_var+set}\" = set"; then
58304 echo $ECHO_N "(cached) $ECHO_C" >&6
58305 else
58306 if test x$gcc_no_link = xyes; then
58307 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58309 { (exit 1); exit 1; }; }
58311 cat >conftest.$ac_ext <<_ACEOF
58312 /* confdefs.h. */
58313 _ACEOF
58314 cat confdefs.h >>conftest.$ac_ext
58315 cat >>conftest.$ac_ext <<_ACEOF
58316 /* end confdefs.h. */
58317 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58318 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58319 #define $ac_func innocuous_$ac_func
58321 /* System header to define __stub macros and hopefully few prototypes,
58322 which can conflict with char $ac_func (); below.
58323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58324 <limits.h> exists even on freestanding compilers. */
58326 #ifdef __STDC__
58327 # include <limits.h>
58328 #else
58329 # include <assert.h>
58330 #endif
58332 #undef $ac_func
58334 /* Override any gcc2 internal prototype to avoid an error. */
58335 #ifdef __cplusplus
58336 extern "C"
58338 #endif
58339 /* We use char because int might match the return type of a gcc2
58340 builtin and then its argument prototype would still apply. */
58341 char $ac_func ();
58342 /* The GNU C library defines this for functions which it implements
58343 to always fail with ENOSYS. Some functions are actually named
58344 something starting with __ and the normal name is an alias. */
58345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58346 choke me
58347 #else
58348 char (*f) () = $ac_func;
58349 #endif
58350 #ifdef __cplusplus
58352 #endif
58355 main ()
58357 return f != $ac_func;
58359 return 0;
58361 _ACEOF
58362 rm -f conftest.$ac_objext conftest$ac_exeext
58363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58364 (eval $ac_link) 2>conftest.er1
58365 ac_status=$?
58366 grep -v '^ *+' conftest.er1 >conftest.err
58367 rm -f conftest.er1
58368 cat conftest.err >&5
58369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58370 (exit $ac_status); } &&
58371 { ac_try='test -z "$ac_c_werror_flag"
58372 || test ! -s conftest.err'
58373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58374 (eval $ac_try) 2>&5
58375 ac_status=$?
58376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58377 (exit $ac_status); }; } &&
58378 { ac_try='test -s conftest$ac_exeext'
58379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58380 (eval $ac_try) 2>&5
58381 ac_status=$?
58382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58383 (exit $ac_status); }; }; then
58384 eval "$as_ac_var=yes"
58385 else
58386 echo "$as_me: failed program was:" >&5
58387 sed 's/^/| /' conftest.$ac_ext >&5
58389 eval "$as_ac_var=no"
58391 rm -f conftest.err conftest.$ac_objext \
58392 conftest$ac_exeext conftest.$ac_ext
58394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58395 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58396 if test `eval echo '${'$as_ac_var'}'` = yes; then
58397 cat >>confdefs.h <<_ACEOF
58398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58399 _ACEOF
58402 done
58404 else
58406 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
58407 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
58408 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
58409 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
58410 echo $ECHO_N "(cached) $ECHO_C" >&6
58411 else
58415 ac_ext=cc
58416 ac_cpp='$CXXCPP $CPPFLAGS'
58417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58421 cat >conftest.$ac_ext <<_ACEOF
58422 /* confdefs.h. */
58423 _ACEOF
58424 cat confdefs.h >>conftest.$ac_ext
58425 cat >>conftest.$ac_ext <<_ACEOF
58426 /* end confdefs.h. */
58427 #include <math.h>
58429 main ()
58431 _sincos(0, 0, 0);
58433 return 0;
58435 _ACEOF
58436 rm -f conftest.$ac_objext
58437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58438 (eval $ac_compile) 2>conftest.er1
58439 ac_status=$?
58440 grep -v '^ *+' conftest.er1 >conftest.err
58441 rm -f conftest.er1
58442 cat conftest.err >&5
58443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58444 (exit $ac_status); } &&
58445 { ac_try='test -z "$ac_cxx_werror_flag"
58446 || test ! -s conftest.err'
58447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58448 (eval $ac_try) 2>&5
58449 ac_status=$?
58450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58451 (exit $ac_status); }; } &&
58452 { ac_try='test -s conftest.$ac_objext'
58453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58454 (eval $ac_try) 2>&5
58455 ac_status=$?
58456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58457 (exit $ac_status); }; }; then
58458 glibcxx_cv_func__sincos_use=yes
58459 else
58460 echo "$as_me: failed program was:" >&5
58461 sed 's/^/| /' conftest.$ac_ext >&5
58463 glibcxx_cv_func__sincos_use=no
58465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58466 ac_ext=c
58467 ac_cpp='$CPP $CPPFLAGS'
58468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58476 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
58477 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
58479 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58481 for ac_func in _sincos
58483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58484 echo "$as_me:$LINENO: checking for $ac_func" >&5
58485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58486 if eval "test \"\${$as_ac_var+set}\" = set"; then
58487 echo $ECHO_N "(cached) $ECHO_C" >&6
58488 else
58489 if test x$gcc_no_link = xyes; then
58490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58492 { (exit 1); exit 1; }; }
58494 cat >conftest.$ac_ext <<_ACEOF
58495 /* confdefs.h. */
58496 _ACEOF
58497 cat confdefs.h >>conftest.$ac_ext
58498 cat >>conftest.$ac_ext <<_ACEOF
58499 /* end confdefs.h. */
58500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58502 #define $ac_func innocuous_$ac_func
58504 /* System header to define __stub macros and hopefully few prototypes,
58505 which can conflict with char $ac_func (); below.
58506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58507 <limits.h> exists even on freestanding compilers. */
58509 #ifdef __STDC__
58510 # include <limits.h>
58511 #else
58512 # include <assert.h>
58513 #endif
58515 #undef $ac_func
58517 /* Override any gcc2 internal prototype to avoid an error. */
58518 #ifdef __cplusplus
58519 extern "C"
58521 #endif
58522 /* We use char because int might match the return type of a gcc2
58523 builtin and then its argument prototype would still apply. */
58524 char $ac_func ();
58525 /* The GNU C library defines this for functions which it implements
58526 to always fail with ENOSYS. Some functions are actually named
58527 something starting with __ and the normal name is an alias. */
58528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58529 choke me
58530 #else
58531 char (*f) () = $ac_func;
58532 #endif
58533 #ifdef __cplusplus
58535 #endif
58538 main ()
58540 return f != $ac_func;
58542 return 0;
58544 _ACEOF
58545 rm -f conftest.$ac_objext conftest$ac_exeext
58546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58547 (eval $ac_link) 2>conftest.er1
58548 ac_status=$?
58549 grep -v '^ *+' conftest.er1 >conftest.err
58550 rm -f conftest.er1
58551 cat conftest.err >&5
58552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58553 (exit $ac_status); } &&
58554 { ac_try='test -z "$ac_c_werror_flag"
58555 || test ! -s conftest.err'
58556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58557 (eval $ac_try) 2>&5
58558 ac_status=$?
58559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58560 (exit $ac_status); }; } &&
58561 { ac_try='test -s conftest$ac_exeext'
58562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58563 (eval $ac_try) 2>&5
58564 ac_status=$?
58565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58566 (exit $ac_status); }; }; then
58567 eval "$as_ac_var=yes"
58568 else
58569 echo "$as_me: failed program was:" >&5
58570 sed 's/^/| /' conftest.$ac_ext >&5
58572 eval "$as_ac_var=no"
58574 rm -f conftest.err conftest.$ac_objext \
58575 conftest$ac_exeext conftest.$ac_ext
58577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58579 if test `eval echo '${'$as_ac_var'}'` = yes; then
58580 cat >>confdefs.h <<_ACEOF
58581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58582 _ACEOF
58585 done
58595 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
58596 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
58597 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58598 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
58599 echo $ECHO_N "(cached) $ECHO_C" >&6
58600 else
58604 ac_ext=cc
58605 ac_cpp='$CXXCPP $CPPFLAGS'
58606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58610 cat >conftest.$ac_ext <<_ACEOF
58611 /* confdefs.h. */
58612 _ACEOF
58613 cat confdefs.h >>conftest.$ac_ext
58614 cat >>conftest.$ac_ext <<_ACEOF
58615 /* end confdefs.h. */
58616 #include <math.h>
58617 #ifdef HAVE_IEEEFP_H
58618 #include <ieeefp.h>
58619 #endif
58622 main ()
58624 fpclass(0);
58626 return 0;
58628 _ACEOF
58629 rm -f conftest.$ac_objext
58630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58631 (eval $ac_compile) 2>conftest.er1
58632 ac_status=$?
58633 grep -v '^ *+' conftest.er1 >conftest.err
58634 rm -f conftest.er1
58635 cat conftest.err >&5
58636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58637 (exit $ac_status); } &&
58638 { ac_try='test -z "$ac_cxx_werror_flag"
58639 || test ! -s conftest.err'
58640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58641 (eval $ac_try) 2>&5
58642 ac_status=$?
58643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58644 (exit $ac_status); }; } &&
58645 { ac_try='test -s conftest.$ac_objext'
58646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58647 (eval $ac_try) 2>&5
58648 ac_status=$?
58649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58650 (exit $ac_status); }; }; then
58651 glibcxx_cv_func_fpclass_use=yes
58652 else
58653 echo "$as_me: failed program was:" >&5
58654 sed 's/^/| /' conftest.$ac_ext >&5
58656 glibcxx_cv_func_fpclass_use=no
58658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58659 ac_ext=c
58660 ac_cpp='$CPP $CPPFLAGS'
58661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58669 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
58670 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
58672 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58674 for ac_func in fpclass
58676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58677 echo "$as_me:$LINENO: checking for $ac_func" >&5
58678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58679 if eval "test \"\${$as_ac_var+set}\" = set"; then
58680 echo $ECHO_N "(cached) $ECHO_C" >&6
58681 else
58682 if test x$gcc_no_link = xyes; then
58683 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58685 { (exit 1); exit 1; }; }
58687 cat >conftest.$ac_ext <<_ACEOF
58688 /* confdefs.h. */
58689 _ACEOF
58690 cat confdefs.h >>conftest.$ac_ext
58691 cat >>conftest.$ac_ext <<_ACEOF
58692 /* end confdefs.h. */
58693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58695 #define $ac_func innocuous_$ac_func
58697 /* System header to define __stub macros and hopefully few prototypes,
58698 which can conflict with char $ac_func (); below.
58699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58700 <limits.h> exists even on freestanding compilers. */
58702 #ifdef __STDC__
58703 # include <limits.h>
58704 #else
58705 # include <assert.h>
58706 #endif
58708 #undef $ac_func
58710 /* Override any gcc2 internal prototype to avoid an error. */
58711 #ifdef __cplusplus
58712 extern "C"
58714 #endif
58715 /* We use char because int might match the return type of a gcc2
58716 builtin and then its argument prototype would still apply. */
58717 char $ac_func ();
58718 /* The GNU C library defines this for functions which it implements
58719 to always fail with ENOSYS. Some functions are actually named
58720 something starting with __ and the normal name is an alias. */
58721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58722 choke me
58723 #else
58724 char (*f) () = $ac_func;
58725 #endif
58726 #ifdef __cplusplus
58728 #endif
58731 main ()
58733 return f != $ac_func;
58735 return 0;
58737 _ACEOF
58738 rm -f conftest.$ac_objext conftest$ac_exeext
58739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58740 (eval $ac_link) 2>conftest.er1
58741 ac_status=$?
58742 grep -v '^ *+' conftest.er1 >conftest.err
58743 rm -f conftest.er1
58744 cat conftest.err >&5
58745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58746 (exit $ac_status); } &&
58747 { ac_try='test -z "$ac_c_werror_flag"
58748 || test ! -s conftest.err'
58749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58750 (eval $ac_try) 2>&5
58751 ac_status=$?
58752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58753 (exit $ac_status); }; } &&
58754 { ac_try='test -s conftest$ac_exeext'
58755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58756 (eval $ac_try) 2>&5
58757 ac_status=$?
58758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58759 (exit $ac_status); }; }; then
58760 eval "$as_ac_var=yes"
58761 else
58762 echo "$as_me: failed program was:" >&5
58763 sed 's/^/| /' conftest.$ac_ext >&5
58765 eval "$as_ac_var=no"
58767 rm -f conftest.err conftest.$ac_objext \
58768 conftest$ac_exeext conftest.$ac_ext
58770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58772 if test `eval echo '${'$as_ac_var'}'` = yes; then
58773 cat >>confdefs.h <<_ACEOF
58774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58775 _ACEOF
58778 done
58780 else
58782 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
58783 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
58784 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58785 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
58786 echo $ECHO_N "(cached) $ECHO_C" >&6
58787 else
58791 ac_ext=cc
58792 ac_cpp='$CXXCPP $CPPFLAGS'
58793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58797 cat >conftest.$ac_ext <<_ACEOF
58798 /* confdefs.h. */
58799 _ACEOF
58800 cat confdefs.h >>conftest.$ac_ext
58801 cat >>conftest.$ac_ext <<_ACEOF
58802 /* end confdefs.h. */
58803 #include <math.h>
58804 #ifdef HAVE_IEEEFP_H
58805 #include <ieeefp.h>
58806 #endif
58809 main ()
58811 _fpclass(0);
58813 return 0;
58815 _ACEOF
58816 rm -f conftest.$ac_objext
58817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58818 (eval $ac_compile) 2>conftest.er1
58819 ac_status=$?
58820 grep -v '^ *+' conftest.er1 >conftest.err
58821 rm -f conftest.er1
58822 cat conftest.err >&5
58823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58824 (exit $ac_status); } &&
58825 { ac_try='test -z "$ac_cxx_werror_flag"
58826 || test ! -s conftest.err'
58827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58828 (eval $ac_try) 2>&5
58829 ac_status=$?
58830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58831 (exit $ac_status); }; } &&
58832 { ac_try='test -s conftest.$ac_objext'
58833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58834 (eval $ac_try) 2>&5
58835 ac_status=$?
58836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58837 (exit $ac_status); }; }; then
58838 glibcxx_cv_func__fpclass_use=yes
58839 else
58840 echo "$as_me: failed program was:" >&5
58841 sed 's/^/| /' conftest.$ac_ext >&5
58843 glibcxx_cv_func__fpclass_use=no
58845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58846 ac_ext=c
58847 ac_cpp='$CPP $CPPFLAGS'
58848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58856 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
58857 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
58859 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58861 for ac_func in _fpclass
58863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58864 echo "$as_me:$LINENO: checking for $ac_func" >&5
58865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58866 if eval "test \"\${$as_ac_var+set}\" = set"; then
58867 echo $ECHO_N "(cached) $ECHO_C" >&6
58868 else
58869 if test x$gcc_no_link = xyes; then
58870 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58872 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58882 #define $ac_func innocuous_$ac_func
58884 /* System header to define __stub macros and hopefully few prototypes,
58885 which can conflict with char $ac_func (); below.
58886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58887 <limits.h> exists even on freestanding compilers. */
58889 #ifdef __STDC__
58890 # include <limits.h>
58891 #else
58892 # include <assert.h>
58893 #endif
58895 #undef $ac_func
58897 /* Override any gcc2 internal prototype to avoid an error. */
58898 #ifdef __cplusplus
58899 extern "C"
58901 #endif
58902 /* We use char because int might match the return type of a gcc2
58903 builtin and then its argument prototype would still apply. */
58904 char $ac_func ();
58905 /* The GNU C library defines this for functions which it implements
58906 to always fail with ENOSYS. Some functions are actually named
58907 something starting with __ and the normal name is an alias. */
58908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58909 choke me
58910 #else
58911 char (*f) () = $ac_func;
58912 #endif
58913 #ifdef __cplusplus
58915 #endif
58918 main ()
58920 return f != $ac_func;
58922 return 0;
58924 _ACEOF
58925 rm -f conftest.$ac_objext conftest$ac_exeext
58926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58927 (eval $ac_link) 2>conftest.er1
58928 ac_status=$?
58929 grep -v '^ *+' conftest.er1 >conftest.err
58930 rm -f conftest.er1
58931 cat conftest.err >&5
58932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58933 (exit $ac_status); } &&
58934 { ac_try='test -z "$ac_c_werror_flag"
58935 || test ! -s conftest.err'
58936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58937 (eval $ac_try) 2>&5
58938 ac_status=$?
58939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58940 (exit $ac_status); }; } &&
58941 { ac_try='test -s conftest$ac_exeext'
58942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58943 (eval $ac_try) 2>&5
58944 ac_status=$?
58945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58946 (exit $ac_status); }; }; then
58947 eval "$as_ac_var=yes"
58948 else
58949 echo "$as_me: failed program was:" >&5
58950 sed 's/^/| /' conftest.$ac_ext >&5
58952 eval "$as_ac_var=no"
58954 rm -f conftest.err conftest.$ac_objext \
58955 conftest$ac_exeext conftest.$ac_ext
58957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58959 if test `eval echo '${'$as_ac_var'}'` = yes; then
58960 cat >>confdefs.h <<_ACEOF
58961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58962 _ACEOF
58965 done
58975 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
58976 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
58977 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58978 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
58979 echo $ECHO_N "(cached) $ECHO_C" >&6
58980 else
58984 ac_ext=cc
58985 ac_cpp='$CXXCPP $CPPFLAGS'
58986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58990 cat >conftest.$ac_ext <<_ACEOF
58991 /* confdefs.h. */
58992 _ACEOF
58993 cat confdefs.h >>conftest.$ac_ext
58994 cat >>conftest.$ac_ext <<_ACEOF
58995 /* end confdefs.h. */
58996 #include <math.h>
58997 #ifdef HAVE_IEEEFP_H
58998 #include <ieeefp.h>
58999 #endif
59002 main ()
59004 qfpclass(0);
59006 return 0;
59008 _ACEOF
59009 rm -f conftest.$ac_objext
59010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59011 (eval $ac_compile) 2>conftest.er1
59012 ac_status=$?
59013 grep -v '^ *+' conftest.er1 >conftest.err
59014 rm -f conftest.er1
59015 cat conftest.err >&5
59016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59017 (exit $ac_status); } &&
59018 { ac_try='test -z "$ac_cxx_werror_flag"
59019 || test ! -s conftest.err'
59020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59021 (eval $ac_try) 2>&5
59022 ac_status=$?
59023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59024 (exit $ac_status); }; } &&
59025 { ac_try='test -s conftest.$ac_objext'
59026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59027 (eval $ac_try) 2>&5
59028 ac_status=$?
59029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59030 (exit $ac_status); }; }; then
59031 glibcxx_cv_func_qfpclass_use=yes
59032 else
59033 echo "$as_me: failed program was:" >&5
59034 sed 's/^/| /' conftest.$ac_ext >&5
59036 glibcxx_cv_func_qfpclass_use=no
59038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59039 ac_ext=c
59040 ac_cpp='$CPP $CPPFLAGS'
59041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59049 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
59050 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
59052 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59054 for ac_func in qfpclass
59056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59057 echo "$as_me:$LINENO: checking for $ac_func" >&5
59058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59059 if eval "test \"\${$as_ac_var+set}\" = set"; then
59060 echo $ECHO_N "(cached) $ECHO_C" >&6
59061 else
59062 if test x$gcc_no_link = xyes; then
59063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59065 { (exit 1); exit 1; }; }
59067 cat >conftest.$ac_ext <<_ACEOF
59068 /* confdefs.h. */
59069 _ACEOF
59070 cat confdefs.h >>conftest.$ac_ext
59071 cat >>conftest.$ac_ext <<_ACEOF
59072 /* end confdefs.h. */
59073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59075 #define $ac_func innocuous_$ac_func
59077 /* System header to define __stub macros and hopefully few prototypes,
59078 which can conflict with char $ac_func (); below.
59079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59080 <limits.h> exists even on freestanding compilers. */
59082 #ifdef __STDC__
59083 # include <limits.h>
59084 #else
59085 # include <assert.h>
59086 #endif
59088 #undef $ac_func
59090 /* Override any gcc2 internal prototype to avoid an error. */
59091 #ifdef __cplusplus
59092 extern "C"
59094 #endif
59095 /* We use char because int might match the return type of a gcc2
59096 builtin and then its argument prototype would still apply. */
59097 char $ac_func ();
59098 /* The GNU C library defines this for functions which it implements
59099 to always fail with ENOSYS. Some functions are actually named
59100 something starting with __ and the normal name is an alias. */
59101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59102 choke me
59103 #else
59104 char (*f) () = $ac_func;
59105 #endif
59106 #ifdef __cplusplus
59108 #endif
59111 main ()
59113 return f != $ac_func;
59115 return 0;
59117 _ACEOF
59118 rm -f conftest.$ac_objext conftest$ac_exeext
59119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59120 (eval $ac_link) 2>conftest.er1
59121 ac_status=$?
59122 grep -v '^ *+' conftest.er1 >conftest.err
59123 rm -f conftest.er1
59124 cat conftest.err >&5
59125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59126 (exit $ac_status); } &&
59127 { ac_try='test -z "$ac_c_werror_flag"
59128 || test ! -s conftest.err'
59129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59130 (eval $ac_try) 2>&5
59131 ac_status=$?
59132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59133 (exit $ac_status); }; } &&
59134 { ac_try='test -s conftest$ac_exeext'
59135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59136 (eval $ac_try) 2>&5
59137 ac_status=$?
59138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59139 (exit $ac_status); }; }; then
59140 eval "$as_ac_var=yes"
59141 else
59142 echo "$as_me: failed program was:" >&5
59143 sed 's/^/| /' conftest.$ac_ext >&5
59145 eval "$as_ac_var=no"
59147 rm -f conftest.err conftest.$ac_objext \
59148 conftest$ac_exeext conftest.$ac_ext
59150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59152 if test `eval echo '${'$as_ac_var'}'` = yes; then
59153 cat >>confdefs.h <<_ACEOF
59154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59155 _ACEOF
59158 done
59160 else
59162 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
59163 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
59164 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59165 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
59166 echo $ECHO_N "(cached) $ECHO_C" >&6
59167 else
59171 ac_ext=cc
59172 ac_cpp='$CXXCPP $CPPFLAGS'
59173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59177 cat >conftest.$ac_ext <<_ACEOF
59178 /* confdefs.h. */
59179 _ACEOF
59180 cat confdefs.h >>conftest.$ac_ext
59181 cat >>conftest.$ac_ext <<_ACEOF
59182 /* end confdefs.h. */
59183 #include <math.h>
59184 #ifdef HAVE_IEEEFP_H
59185 #include <ieeefp.h>
59186 #endif
59189 main ()
59191 _qfpclass(0);
59193 return 0;
59195 _ACEOF
59196 rm -f conftest.$ac_objext
59197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59198 (eval $ac_compile) 2>conftest.er1
59199 ac_status=$?
59200 grep -v '^ *+' conftest.er1 >conftest.err
59201 rm -f conftest.er1
59202 cat conftest.err >&5
59203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59204 (exit $ac_status); } &&
59205 { ac_try='test -z "$ac_cxx_werror_flag"
59206 || test ! -s conftest.err'
59207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59208 (eval $ac_try) 2>&5
59209 ac_status=$?
59210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59211 (exit $ac_status); }; } &&
59212 { ac_try='test -s conftest.$ac_objext'
59213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59214 (eval $ac_try) 2>&5
59215 ac_status=$?
59216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59217 (exit $ac_status); }; }; then
59218 glibcxx_cv_func__qfpclass_use=yes
59219 else
59220 echo "$as_me: failed program was:" >&5
59221 sed 's/^/| /' conftest.$ac_ext >&5
59223 glibcxx_cv_func__qfpclass_use=no
59225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59226 ac_ext=c
59227 ac_cpp='$CPP $CPPFLAGS'
59228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59236 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
59237 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
59239 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59241 for ac_func in _qfpclass
59243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59244 echo "$as_me:$LINENO: checking for $ac_func" >&5
59245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59246 if eval "test \"\${$as_ac_var+set}\" = set"; then
59247 echo $ECHO_N "(cached) $ECHO_C" >&6
59248 else
59249 if test x$gcc_no_link = xyes; then
59250 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59252 { (exit 1); exit 1; }; }
59254 cat >conftest.$ac_ext <<_ACEOF
59255 /* confdefs.h. */
59256 _ACEOF
59257 cat confdefs.h >>conftest.$ac_ext
59258 cat >>conftest.$ac_ext <<_ACEOF
59259 /* end confdefs.h. */
59260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59262 #define $ac_func innocuous_$ac_func
59264 /* System header to define __stub macros and hopefully few prototypes,
59265 which can conflict with char $ac_func (); below.
59266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59267 <limits.h> exists even on freestanding compilers. */
59269 #ifdef __STDC__
59270 # include <limits.h>
59271 #else
59272 # include <assert.h>
59273 #endif
59275 #undef $ac_func
59277 /* Override any gcc2 internal prototype to avoid an error. */
59278 #ifdef __cplusplus
59279 extern "C"
59281 #endif
59282 /* We use char because int might match the return type of a gcc2
59283 builtin and then its argument prototype would still apply. */
59284 char $ac_func ();
59285 /* The GNU C library defines this for functions which it implements
59286 to always fail with ENOSYS. Some functions are actually named
59287 something starting with __ and the normal name is an alias. */
59288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59289 choke me
59290 #else
59291 char (*f) () = $ac_func;
59292 #endif
59293 #ifdef __cplusplus
59295 #endif
59298 main ()
59300 return f != $ac_func;
59302 return 0;
59304 _ACEOF
59305 rm -f conftest.$ac_objext conftest$ac_exeext
59306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59307 (eval $ac_link) 2>conftest.er1
59308 ac_status=$?
59309 grep -v '^ *+' conftest.er1 >conftest.err
59310 rm -f conftest.er1
59311 cat conftest.err >&5
59312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59313 (exit $ac_status); } &&
59314 { ac_try='test -z "$ac_c_werror_flag"
59315 || test ! -s conftest.err'
59316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59317 (eval $ac_try) 2>&5
59318 ac_status=$?
59319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59320 (exit $ac_status); }; } &&
59321 { ac_try='test -s conftest$ac_exeext'
59322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59323 (eval $ac_try) 2>&5
59324 ac_status=$?
59325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59326 (exit $ac_status); }; }; then
59327 eval "$as_ac_var=yes"
59328 else
59329 echo "$as_me: failed program was:" >&5
59330 sed 's/^/| /' conftest.$ac_ext >&5
59332 eval "$as_ac_var=no"
59334 rm -f conftest.err conftest.$ac_objext \
59335 conftest$ac_exeext conftest.$ac_ext
59337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59339 if test `eval echo '${'$as_ac_var'}'` = yes; then
59340 cat >>confdefs.h <<_ACEOF
59341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59342 _ACEOF
59345 done
59355 echo "$as_me:$LINENO: checking for hypot declaration" >&5
59356 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
59357 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59358 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
59359 echo $ECHO_N "(cached) $ECHO_C" >&6
59360 else
59364 ac_ext=cc
59365 ac_cpp='$CXXCPP $CPPFLAGS'
59366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59370 cat >conftest.$ac_ext <<_ACEOF
59371 /* confdefs.h. */
59372 _ACEOF
59373 cat confdefs.h >>conftest.$ac_ext
59374 cat >>conftest.$ac_ext <<_ACEOF
59375 /* end confdefs.h. */
59376 #include <math.h>
59378 main ()
59380 hypot(0, 0);
59382 return 0;
59384 _ACEOF
59385 rm -f conftest.$ac_objext
59386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59387 (eval $ac_compile) 2>conftest.er1
59388 ac_status=$?
59389 grep -v '^ *+' conftest.er1 >conftest.err
59390 rm -f conftest.er1
59391 cat conftest.err >&5
59392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59393 (exit $ac_status); } &&
59394 { ac_try='test -z "$ac_cxx_werror_flag"
59395 || test ! -s conftest.err'
59396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59397 (eval $ac_try) 2>&5
59398 ac_status=$?
59399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59400 (exit $ac_status); }; } &&
59401 { ac_try='test -s conftest.$ac_objext'
59402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59403 (eval $ac_try) 2>&5
59404 ac_status=$?
59405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59406 (exit $ac_status); }; }; then
59407 glibcxx_cv_func_hypot_use=yes
59408 else
59409 echo "$as_me: failed program was:" >&5
59410 sed 's/^/| /' conftest.$ac_ext >&5
59412 glibcxx_cv_func_hypot_use=no
59414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59415 ac_ext=c
59416 ac_cpp='$CPP $CPPFLAGS'
59417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59425 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
59426 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
59428 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59430 for ac_func in hypot
59432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59433 echo "$as_me:$LINENO: checking for $ac_func" >&5
59434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59435 if eval "test \"\${$as_ac_var+set}\" = set"; then
59436 echo $ECHO_N "(cached) $ECHO_C" >&6
59437 else
59438 if test x$gcc_no_link = xyes; then
59439 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59441 { (exit 1); exit 1; }; }
59443 cat >conftest.$ac_ext <<_ACEOF
59444 /* confdefs.h. */
59445 _ACEOF
59446 cat confdefs.h >>conftest.$ac_ext
59447 cat >>conftest.$ac_ext <<_ACEOF
59448 /* end confdefs.h. */
59449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59451 #define $ac_func innocuous_$ac_func
59453 /* System header to define __stub macros and hopefully few prototypes,
59454 which can conflict with char $ac_func (); below.
59455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59456 <limits.h> exists even on freestanding compilers. */
59458 #ifdef __STDC__
59459 # include <limits.h>
59460 #else
59461 # include <assert.h>
59462 #endif
59464 #undef $ac_func
59466 /* Override any gcc2 internal prototype to avoid an error. */
59467 #ifdef __cplusplus
59468 extern "C"
59470 #endif
59471 /* We use char because int might match the return type of a gcc2
59472 builtin and then its argument prototype would still apply. */
59473 char $ac_func ();
59474 /* The GNU C library defines this for functions which it implements
59475 to always fail with ENOSYS. Some functions are actually named
59476 something starting with __ and the normal name is an alias. */
59477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59478 choke me
59479 #else
59480 char (*f) () = $ac_func;
59481 #endif
59482 #ifdef __cplusplus
59484 #endif
59487 main ()
59489 return f != $ac_func;
59491 return 0;
59493 _ACEOF
59494 rm -f conftest.$ac_objext conftest$ac_exeext
59495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59496 (eval $ac_link) 2>conftest.er1
59497 ac_status=$?
59498 grep -v '^ *+' conftest.er1 >conftest.err
59499 rm -f conftest.er1
59500 cat conftest.err >&5
59501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59502 (exit $ac_status); } &&
59503 { ac_try='test -z "$ac_c_werror_flag"
59504 || test ! -s conftest.err'
59505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59506 (eval $ac_try) 2>&5
59507 ac_status=$?
59508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59509 (exit $ac_status); }; } &&
59510 { ac_try='test -s conftest$ac_exeext'
59511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59512 (eval $ac_try) 2>&5
59513 ac_status=$?
59514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59515 (exit $ac_status); }; }; then
59516 eval "$as_ac_var=yes"
59517 else
59518 echo "$as_me: failed program was:" >&5
59519 sed 's/^/| /' conftest.$ac_ext >&5
59521 eval "$as_ac_var=no"
59523 rm -f conftest.err conftest.$ac_objext \
59524 conftest$ac_exeext conftest.$ac_ext
59526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59528 if test `eval echo '${'$as_ac_var'}'` = yes; then
59529 cat >>confdefs.h <<_ACEOF
59530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59531 _ACEOF
59534 done
59536 else
59538 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
59539 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
59540 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
59541 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
59542 echo $ECHO_N "(cached) $ECHO_C" >&6
59543 else
59547 ac_ext=cc
59548 ac_cpp='$CXXCPP $CPPFLAGS'
59549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59553 cat >conftest.$ac_ext <<_ACEOF
59554 /* confdefs.h. */
59555 _ACEOF
59556 cat confdefs.h >>conftest.$ac_ext
59557 cat >>conftest.$ac_ext <<_ACEOF
59558 /* end confdefs.h. */
59559 #include <math.h>
59561 main ()
59563 _hypot(0, 0);
59565 return 0;
59567 _ACEOF
59568 rm -f conftest.$ac_objext
59569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59570 (eval $ac_compile) 2>conftest.er1
59571 ac_status=$?
59572 grep -v '^ *+' conftest.er1 >conftest.err
59573 rm -f conftest.er1
59574 cat conftest.err >&5
59575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59576 (exit $ac_status); } &&
59577 { ac_try='test -z "$ac_cxx_werror_flag"
59578 || test ! -s conftest.err'
59579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59580 (eval $ac_try) 2>&5
59581 ac_status=$?
59582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59583 (exit $ac_status); }; } &&
59584 { ac_try='test -s conftest.$ac_objext'
59585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59586 (eval $ac_try) 2>&5
59587 ac_status=$?
59588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59589 (exit $ac_status); }; }; then
59590 glibcxx_cv_func__hypot_use=yes
59591 else
59592 echo "$as_me: failed program was:" >&5
59593 sed 's/^/| /' conftest.$ac_ext >&5
59595 glibcxx_cv_func__hypot_use=no
59597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59598 ac_ext=c
59599 ac_cpp='$CPP $CPPFLAGS'
59600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59608 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
59609 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
59611 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59613 for ac_func in _hypot
59615 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59616 echo "$as_me:$LINENO: checking for $ac_func" >&5
59617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59618 if eval "test \"\${$as_ac_var+set}\" = set"; then
59619 echo $ECHO_N "(cached) $ECHO_C" >&6
59620 else
59621 if test x$gcc_no_link = xyes; then
59622 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59624 { (exit 1); exit 1; }; }
59626 cat >conftest.$ac_ext <<_ACEOF
59627 /* confdefs.h. */
59628 _ACEOF
59629 cat confdefs.h >>conftest.$ac_ext
59630 cat >>conftest.$ac_ext <<_ACEOF
59631 /* end confdefs.h. */
59632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59634 #define $ac_func innocuous_$ac_func
59636 /* System header to define __stub macros and hopefully few prototypes,
59637 which can conflict with char $ac_func (); below.
59638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59639 <limits.h> exists even on freestanding compilers. */
59641 #ifdef __STDC__
59642 # include <limits.h>
59643 #else
59644 # include <assert.h>
59645 #endif
59647 #undef $ac_func
59649 /* Override any gcc2 internal prototype to avoid an error. */
59650 #ifdef __cplusplus
59651 extern "C"
59653 #endif
59654 /* We use char because int might match the return type of a gcc2
59655 builtin and then its argument prototype would still apply. */
59656 char $ac_func ();
59657 /* The GNU C library defines this for functions which it implements
59658 to always fail with ENOSYS. Some functions are actually named
59659 something starting with __ and the normal name is an alias. */
59660 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59661 choke me
59662 #else
59663 char (*f) () = $ac_func;
59664 #endif
59665 #ifdef __cplusplus
59667 #endif
59670 main ()
59672 return f != $ac_func;
59674 return 0;
59676 _ACEOF
59677 rm -f conftest.$ac_objext conftest$ac_exeext
59678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59679 (eval $ac_link) 2>conftest.er1
59680 ac_status=$?
59681 grep -v '^ *+' conftest.er1 >conftest.err
59682 rm -f conftest.er1
59683 cat conftest.err >&5
59684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59685 (exit $ac_status); } &&
59686 { ac_try='test -z "$ac_c_werror_flag"
59687 || test ! -s conftest.err'
59688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59689 (eval $ac_try) 2>&5
59690 ac_status=$?
59691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59692 (exit $ac_status); }; } &&
59693 { ac_try='test -s conftest$ac_exeext'
59694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59695 (eval $ac_try) 2>&5
59696 ac_status=$?
59697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59698 (exit $ac_status); }; }; then
59699 eval "$as_ac_var=yes"
59700 else
59701 echo "$as_me: failed program was:" >&5
59702 sed 's/^/| /' conftest.$ac_ext >&5
59704 eval "$as_ac_var=no"
59706 rm -f conftest.err conftest.$ac_objext \
59707 conftest$ac_exeext conftest.$ac_ext
59709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59710 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59711 if test `eval echo '${'$as_ac_var'}'` = yes; then
59712 cat >>confdefs.h <<_ACEOF
59713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59714 _ACEOF
59717 done
59727 echo "$as_me:$LINENO: checking for float trig functions" >&5
59728 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
59729 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
59730 echo $ECHO_N "(cached) $ECHO_C" >&6
59731 else
59735 ac_ext=cc
59736 ac_cpp='$CXXCPP $CPPFLAGS'
59737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59741 cat >conftest.$ac_ext <<_ACEOF
59742 /* confdefs.h. */
59743 _ACEOF
59744 cat confdefs.h >>conftest.$ac_ext
59745 cat >>conftest.$ac_ext <<_ACEOF
59746 /* end confdefs.h. */
59747 #include <math.h>
59749 main ()
59751 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59753 return 0;
59755 _ACEOF
59756 rm -f conftest.$ac_objext
59757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59758 (eval $ac_compile) 2>conftest.er1
59759 ac_status=$?
59760 grep -v '^ *+' conftest.er1 >conftest.err
59761 rm -f conftest.er1
59762 cat conftest.err >&5
59763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59764 (exit $ac_status); } &&
59765 { ac_try='test -z "$ac_cxx_werror_flag"
59766 || test ! -s conftest.err'
59767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59768 (eval $ac_try) 2>&5
59769 ac_status=$?
59770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59771 (exit $ac_status); }; } &&
59772 { ac_try='test -s conftest.$ac_objext'
59773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59774 (eval $ac_try) 2>&5
59775 ac_status=$?
59776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59777 (exit $ac_status); }; }; then
59778 glibcxx_cv_func_float_trig_use=yes
59779 else
59780 echo "$as_me: failed program was:" >&5
59781 sed 's/^/| /' conftest.$ac_ext >&5
59783 glibcxx_cv_func_float_trig_use=no
59785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59786 ac_ext=c
59787 ac_cpp='$CPP $CPPFLAGS'
59788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59794 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
59795 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
59796 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59806 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59809 echo "$as_me:$LINENO: checking for $ac_func" >&5
59810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59811 if eval "test \"\${$as_ac_var+set}\" = set"; then
59812 echo $ECHO_N "(cached) $ECHO_C" >&6
59813 else
59814 if test x$gcc_no_link = xyes; then
59815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59817 { (exit 1); exit 1; }; }
59819 cat >conftest.$ac_ext <<_ACEOF
59820 /* confdefs.h. */
59821 _ACEOF
59822 cat confdefs.h >>conftest.$ac_ext
59823 cat >>conftest.$ac_ext <<_ACEOF
59824 /* end confdefs.h. */
59825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59827 #define $ac_func innocuous_$ac_func
59829 /* System header to define __stub macros and hopefully few prototypes,
59830 which can conflict with char $ac_func (); below.
59831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59832 <limits.h> exists even on freestanding compilers. */
59834 #ifdef __STDC__
59835 # include <limits.h>
59836 #else
59837 # include <assert.h>
59838 #endif
59840 #undef $ac_func
59842 /* Override any gcc2 internal prototype to avoid an error. */
59843 #ifdef __cplusplus
59844 extern "C"
59846 #endif
59847 /* We use char because int might match the return type of a gcc2
59848 builtin and then its argument prototype would still apply. */
59849 char $ac_func ();
59850 /* The GNU C library defines this for functions which it implements
59851 to always fail with ENOSYS. Some functions are actually named
59852 something starting with __ and the normal name is an alias. */
59853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59854 choke me
59855 #else
59856 char (*f) () = $ac_func;
59857 #endif
59858 #ifdef __cplusplus
59860 #endif
59863 main ()
59865 return f != $ac_func;
59867 return 0;
59869 _ACEOF
59870 rm -f conftest.$ac_objext conftest$ac_exeext
59871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59872 (eval $ac_link) 2>conftest.er1
59873 ac_status=$?
59874 grep -v '^ *+' conftest.er1 >conftest.err
59875 rm -f conftest.er1
59876 cat conftest.err >&5
59877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59878 (exit $ac_status); } &&
59879 { ac_try='test -z "$ac_c_werror_flag"
59880 || test ! -s conftest.err'
59881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59882 (eval $ac_try) 2>&5
59883 ac_status=$?
59884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59885 (exit $ac_status); }; } &&
59886 { ac_try='test -s conftest$ac_exeext'
59887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59888 (eval $ac_try) 2>&5
59889 ac_status=$?
59890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59891 (exit $ac_status); }; }; then
59892 eval "$as_ac_var=yes"
59893 else
59894 echo "$as_me: failed program was:" >&5
59895 sed 's/^/| /' conftest.$ac_ext >&5
59897 eval "$as_ac_var=no"
59899 rm -f conftest.err conftest.$ac_objext \
59900 conftest$ac_exeext conftest.$ac_ext
59902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59904 if test `eval echo '${'$as_ac_var'}'` = yes; then
59905 cat >>confdefs.h <<_ACEOF
59906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59907 _ACEOF
59910 done
59912 else
59913 echo "$as_me:$LINENO: checking for _float trig functions" >&5
59914 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
59915 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
59916 echo $ECHO_N "(cached) $ECHO_C" >&6
59917 else
59921 ac_ext=cc
59922 ac_cpp='$CXXCPP $CPPFLAGS'
59923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59927 cat >conftest.$ac_ext <<_ACEOF
59928 /* confdefs.h. */
59929 _ACEOF
59930 cat confdefs.h >>conftest.$ac_ext
59931 cat >>conftest.$ac_ext <<_ACEOF
59932 /* end confdefs.h. */
59933 #include <math.h>
59935 main ()
59937 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59939 return 0;
59941 _ACEOF
59942 rm -f conftest.$ac_objext
59943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59944 (eval $ac_compile) 2>conftest.er1
59945 ac_status=$?
59946 grep -v '^ *+' conftest.er1 >conftest.err
59947 rm -f conftest.er1
59948 cat conftest.err >&5
59949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59950 (exit $ac_status); } &&
59951 { ac_try='test -z "$ac_cxx_werror_flag"
59952 || test ! -s conftest.err'
59953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59954 (eval $ac_try) 2>&5
59955 ac_status=$?
59956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59957 (exit $ac_status); }; } &&
59958 { ac_try='test -s conftest.$ac_objext'
59959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59960 (eval $ac_try) 2>&5
59961 ac_status=$?
59962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59963 (exit $ac_status); }; }; then
59964 glibcxx_cv_func__float_trig_use=yes
59965 else
59966 echo "$as_me: failed program was:" >&5
59967 sed 's/^/| /' conftest.$ac_ext >&5
59969 glibcxx_cv_func__float_trig_use=no
59971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59972 ac_ext=c
59973 ac_cpp='$CPP $CPPFLAGS'
59974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59980 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
59981 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
59982 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
59992 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
59994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59995 echo "$as_me:$LINENO: checking for $ac_func" >&5
59996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59997 if eval "test \"\${$as_ac_var+set}\" = set"; then
59998 echo $ECHO_N "(cached) $ECHO_C" >&6
59999 else
60000 if test x$gcc_no_link = xyes; then
60001 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60003 { (exit 1); exit 1; }; }
60005 cat >conftest.$ac_ext <<_ACEOF
60006 /* confdefs.h. */
60007 _ACEOF
60008 cat confdefs.h >>conftest.$ac_ext
60009 cat >>conftest.$ac_ext <<_ACEOF
60010 /* end confdefs.h. */
60011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60013 #define $ac_func innocuous_$ac_func
60015 /* System header to define __stub macros and hopefully few prototypes,
60016 which can conflict with char $ac_func (); below.
60017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60018 <limits.h> exists even on freestanding compilers. */
60020 #ifdef __STDC__
60021 # include <limits.h>
60022 #else
60023 # include <assert.h>
60024 #endif
60026 #undef $ac_func
60028 /* Override any gcc2 internal prototype to avoid an error. */
60029 #ifdef __cplusplus
60030 extern "C"
60032 #endif
60033 /* We use char because int might match the return type of a gcc2
60034 builtin and then its argument prototype would still apply. */
60035 char $ac_func ();
60036 /* The GNU C library defines this for functions which it implements
60037 to always fail with ENOSYS. Some functions are actually named
60038 something starting with __ and the normal name is an alias. */
60039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60040 choke me
60041 #else
60042 char (*f) () = $ac_func;
60043 #endif
60044 #ifdef __cplusplus
60046 #endif
60049 main ()
60051 return f != $ac_func;
60053 return 0;
60055 _ACEOF
60056 rm -f conftest.$ac_objext conftest$ac_exeext
60057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60058 (eval $ac_link) 2>conftest.er1
60059 ac_status=$?
60060 grep -v '^ *+' conftest.er1 >conftest.err
60061 rm -f conftest.er1
60062 cat conftest.err >&5
60063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60064 (exit $ac_status); } &&
60065 { ac_try='test -z "$ac_c_werror_flag"
60066 || test ! -s conftest.err'
60067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60068 (eval $ac_try) 2>&5
60069 ac_status=$?
60070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60071 (exit $ac_status); }; } &&
60072 { ac_try='test -s conftest$ac_exeext'
60073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60074 (eval $ac_try) 2>&5
60075 ac_status=$?
60076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60077 (exit $ac_status); }; }; then
60078 eval "$as_ac_var=yes"
60079 else
60080 echo "$as_me: failed program was:" >&5
60081 sed 's/^/| /' conftest.$ac_ext >&5
60083 eval "$as_ac_var=no"
60085 rm -f conftest.err conftest.$ac_objext \
60086 conftest$ac_exeext conftest.$ac_ext
60088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60090 if test `eval echo '${'$as_ac_var'}'` = yes; then
60091 cat >>confdefs.h <<_ACEOF
60092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60093 _ACEOF
60096 done
60114 echo "$as_me:$LINENO: checking for float round functions" >&5
60115 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
60116 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
60117 echo $ECHO_N "(cached) $ECHO_C" >&6
60118 else
60122 ac_ext=cc
60123 ac_cpp='$CXXCPP $CPPFLAGS'
60124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60128 cat >conftest.$ac_ext <<_ACEOF
60129 /* confdefs.h. */
60130 _ACEOF
60131 cat confdefs.h >>conftest.$ac_ext
60132 cat >>conftest.$ac_ext <<_ACEOF
60133 /* end confdefs.h. */
60134 #include <math.h>
60136 main ()
60138 ceilf (0); floorf (0);
60140 return 0;
60142 _ACEOF
60143 rm -f conftest.$ac_objext
60144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60145 (eval $ac_compile) 2>conftest.er1
60146 ac_status=$?
60147 grep -v '^ *+' conftest.er1 >conftest.err
60148 rm -f conftest.er1
60149 cat conftest.err >&5
60150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60151 (exit $ac_status); } &&
60152 { ac_try='test -z "$ac_cxx_werror_flag"
60153 || test ! -s conftest.err'
60154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60155 (eval $ac_try) 2>&5
60156 ac_status=$?
60157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60158 (exit $ac_status); }; } &&
60159 { ac_try='test -s conftest.$ac_objext'
60160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60161 (eval $ac_try) 2>&5
60162 ac_status=$?
60163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60164 (exit $ac_status); }; }; then
60165 glibcxx_cv_func_float_round_use=yes
60166 else
60167 echo "$as_me: failed program was:" >&5
60168 sed 's/^/| /' conftest.$ac_ext >&5
60170 glibcxx_cv_func_float_round_use=no
60172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60173 ac_ext=c
60174 ac_cpp='$CPP $CPPFLAGS'
60175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60181 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
60182 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
60183 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60186 for ac_func in ceilf floorf
60188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60189 echo "$as_me:$LINENO: checking for $ac_func" >&5
60190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60191 if eval "test \"\${$as_ac_var+set}\" = set"; then
60192 echo $ECHO_N "(cached) $ECHO_C" >&6
60193 else
60194 if test x$gcc_no_link = xyes; then
60195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60197 { (exit 1); exit 1; }; }
60199 cat >conftest.$ac_ext <<_ACEOF
60200 /* confdefs.h. */
60201 _ACEOF
60202 cat confdefs.h >>conftest.$ac_ext
60203 cat >>conftest.$ac_ext <<_ACEOF
60204 /* end confdefs.h. */
60205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60207 #define $ac_func innocuous_$ac_func
60209 /* System header to define __stub macros and hopefully few prototypes,
60210 which can conflict with char $ac_func (); below.
60211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60212 <limits.h> exists even on freestanding compilers. */
60214 #ifdef __STDC__
60215 # include <limits.h>
60216 #else
60217 # include <assert.h>
60218 #endif
60220 #undef $ac_func
60222 /* Override any gcc2 internal prototype to avoid an error. */
60223 #ifdef __cplusplus
60224 extern "C"
60226 #endif
60227 /* We use char because int might match the return type of a gcc2
60228 builtin and then its argument prototype would still apply. */
60229 char $ac_func ();
60230 /* The GNU C library defines this for functions which it implements
60231 to always fail with ENOSYS. Some functions are actually named
60232 something starting with __ and the normal name is an alias. */
60233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60234 choke me
60235 #else
60236 char (*f) () = $ac_func;
60237 #endif
60238 #ifdef __cplusplus
60240 #endif
60243 main ()
60245 return f != $ac_func;
60247 return 0;
60249 _ACEOF
60250 rm -f conftest.$ac_objext conftest$ac_exeext
60251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60252 (eval $ac_link) 2>conftest.er1
60253 ac_status=$?
60254 grep -v '^ *+' conftest.er1 >conftest.err
60255 rm -f conftest.er1
60256 cat conftest.err >&5
60257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60258 (exit $ac_status); } &&
60259 { ac_try='test -z "$ac_c_werror_flag"
60260 || test ! -s conftest.err'
60261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60262 (eval $ac_try) 2>&5
60263 ac_status=$?
60264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60265 (exit $ac_status); }; } &&
60266 { ac_try='test -s conftest$ac_exeext'
60267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60268 (eval $ac_try) 2>&5
60269 ac_status=$?
60270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60271 (exit $ac_status); }; }; then
60272 eval "$as_ac_var=yes"
60273 else
60274 echo "$as_me: failed program was:" >&5
60275 sed 's/^/| /' conftest.$ac_ext >&5
60277 eval "$as_ac_var=no"
60279 rm -f conftest.err conftest.$ac_objext \
60280 conftest$ac_exeext conftest.$ac_ext
60282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60284 if test `eval echo '${'$as_ac_var'}'` = yes; then
60285 cat >>confdefs.h <<_ACEOF
60286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60287 _ACEOF
60290 done
60292 else
60293 echo "$as_me:$LINENO: checking for _float round functions" >&5
60294 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
60295 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
60296 echo $ECHO_N "(cached) $ECHO_C" >&6
60297 else
60301 ac_ext=cc
60302 ac_cpp='$CXXCPP $CPPFLAGS'
60303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60307 cat >conftest.$ac_ext <<_ACEOF
60308 /* confdefs.h. */
60309 _ACEOF
60310 cat confdefs.h >>conftest.$ac_ext
60311 cat >>conftest.$ac_ext <<_ACEOF
60312 /* end confdefs.h. */
60313 #include <math.h>
60315 main ()
60317 _ceilf (0); _floorf (0);
60319 return 0;
60321 _ACEOF
60322 rm -f conftest.$ac_objext
60323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60324 (eval $ac_compile) 2>conftest.er1
60325 ac_status=$?
60326 grep -v '^ *+' conftest.er1 >conftest.err
60327 rm -f conftest.er1
60328 cat conftest.err >&5
60329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60330 (exit $ac_status); } &&
60331 { ac_try='test -z "$ac_cxx_werror_flag"
60332 || test ! -s conftest.err'
60333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60334 (eval $ac_try) 2>&5
60335 ac_status=$?
60336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60337 (exit $ac_status); }; } &&
60338 { ac_try='test -s conftest.$ac_objext'
60339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60340 (eval $ac_try) 2>&5
60341 ac_status=$?
60342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60343 (exit $ac_status); }; }; then
60344 glibcxx_cv_func__float_round_use=yes
60345 else
60346 echo "$as_me: failed program was:" >&5
60347 sed 's/^/| /' conftest.$ac_ext >&5
60349 glibcxx_cv_func__float_round_use=no
60351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60352 ac_ext=c
60353 ac_cpp='$CPP $CPPFLAGS'
60354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60360 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
60361 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
60362 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60365 for ac_func in _ceilf _floorf
60367 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60368 echo "$as_me:$LINENO: checking for $ac_func" >&5
60369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60370 if eval "test \"\${$as_ac_var+set}\" = set"; then
60371 echo $ECHO_N "(cached) $ECHO_C" >&6
60372 else
60373 if test x$gcc_no_link = xyes; then
60374 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60376 { (exit 1); exit 1; }; }
60378 cat >conftest.$ac_ext <<_ACEOF
60379 /* confdefs.h. */
60380 _ACEOF
60381 cat confdefs.h >>conftest.$ac_ext
60382 cat >>conftest.$ac_ext <<_ACEOF
60383 /* end confdefs.h. */
60384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60386 #define $ac_func innocuous_$ac_func
60388 /* System header to define __stub macros and hopefully few prototypes,
60389 which can conflict with char $ac_func (); below.
60390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60391 <limits.h> exists even on freestanding compilers. */
60393 #ifdef __STDC__
60394 # include <limits.h>
60395 #else
60396 # include <assert.h>
60397 #endif
60399 #undef $ac_func
60401 /* Override any gcc2 internal prototype to avoid an error. */
60402 #ifdef __cplusplus
60403 extern "C"
60405 #endif
60406 /* We use char because int might match the return type of a gcc2
60407 builtin and then its argument prototype would still apply. */
60408 char $ac_func ();
60409 /* The GNU C library defines this for functions which it implements
60410 to always fail with ENOSYS. Some functions are actually named
60411 something starting with __ and the normal name is an alias. */
60412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60413 choke me
60414 #else
60415 char (*f) () = $ac_func;
60416 #endif
60417 #ifdef __cplusplus
60419 #endif
60422 main ()
60424 return f != $ac_func;
60426 return 0;
60428 _ACEOF
60429 rm -f conftest.$ac_objext conftest$ac_exeext
60430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60431 (eval $ac_link) 2>conftest.er1
60432 ac_status=$?
60433 grep -v '^ *+' conftest.er1 >conftest.err
60434 rm -f conftest.er1
60435 cat conftest.err >&5
60436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60437 (exit $ac_status); } &&
60438 { ac_try='test -z "$ac_c_werror_flag"
60439 || test ! -s conftest.err'
60440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60441 (eval $ac_try) 2>&5
60442 ac_status=$?
60443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60444 (exit $ac_status); }; } &&
60445 { ac_try='test -s conftest$ac_exeext'
60446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60447 (eval $ac_try) 2>&5
60448 ac_status=$?
60449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60450 (exit $ac_status); }; }; then
60451 eval "$as_ac_var=yes"
60452 else
60453 echo "$as_me: failed program was:" >&5
60454 sed 's/^/| /' conftest.$ac_ext >&5
60456 eval "$as_ac_var=no"
60458 rm -f conftest.err conftest.$ac_objext \
60459 conftest$ac_exeext conftest.$ac_ext
60461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60463 if test `eval echo '${'$as_ac_var'}'` = yes; then
60464 cat >>confdefs.h <<_ACEOF
60465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60466 _ACEOF
60469 done
60481 echo "$as_me:$LINENO: checking for expf declaration" >&5
60482 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
60483 if test x${glibcxx_cv_func_expf_use+set} != xset; then
60484 if test "${glibcxx_cv_func_expf_use+set}" = set; then
60485 echo $ECHO_N "(cached) $ECHO_C" >&6
60486 else
60490 ac_ext=cc
60491 ac_cpp='$CXXCPP $CPPFLAGS'
60492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60496 cat >conftest.$ac_ext <<_ACEOF
60497 /* confdefs.h. */
60498 _ACEOF
60499 cat confdefs.h >>conftest.$ac_ext
60500 cat >>conftest.$ac_ext <<_ACEOF
60501 /* end confdefs.h. */
60502 #include <math.h>
60503 #ifdef HAVE_IEEEFP_H
60504 #include <ieeefp.h>
60505 #endif
60508 main ()
60510 expf(0);
60512 return 0;
60514 _ACEOF
60515 rm -f conftest.$ac_objext
60516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60517 (eval $ac_compile) 2>conftest.er1
60518 ac_status=$?
60519 grep -v '^ *+' conftest.er1 >conftest.err
60520 rm -f conftest.er1
60521 cat conftest.err >&5
60522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60523 (exit $ac_status); } &&
60524 { ac_try='test -z "$ac_cxx_werror_flag"
60525 || test ! -s conftest.err'
60526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60527 (eval $ac_try) 2>&5
60528 ac_status=$?
60529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60530 (exit $ac_status); }; } &&
60531 { ac_try='test -s conftest.$ac_objext'
60532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60533 (eval $ac_try) 2>&5
60534 ac_status=$?
60535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60536 (exit $ac_status); }; }; then
60537 glibcxx_cv_func_expf_use=yes
60538 else
60539 echo "$as_me: failed program was:" >&5
60540 sed 's/^/| /' conftest.$ac_ext >&5
60542 glibcxx_cv_func_expf_use=no
60544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60545 ac_ext=c
60546 ac_cpp='$CPP $CPPFLAGS'
60547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60555 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
60556 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
60558 if test x$glibcxx_cv_func_expf_use = x"yes"; then
60560 for ac_func in expf
60562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60563 echo "$as_me:$LINENO: checking for $ac_func" >&5
60564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60565 if eval "test \"\${$as_ac_var+set}\" = set"; then
60566 echo $ECHO_N "(cached) $ECHO_C" >&6
60567 else
60568 if test x$gcc_no_link = xyes; then
60569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60571 { (exit 1); exit 1; }; }
60573 cat >conftest.$ac_ext <<_ACEOF
60574 /* confdefs.h. */
60575 _ACEOF
60576 cat confdefs.h >>conftest.$ac_ext
60577 cat >>conftest.$ac_ext <<_ACEOF
60578 /* end confdefs.h. */
60579 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60581 #define $ac_func innocuous_$ac_func
60583 /* System header to define __stub macros and hopefully few prototypes,
60584 which can conflict with char $ac_func (); below.
60585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60586 <limits.h> exists even on freestanding compilers. */
60588 #ifdef __STDC__
60589 # include <limits.h>
60590 #else
60591 # include <assert.h>
60592 #endif
60594 #undef $ac_func
60596 /* Override any gcc2 internal prototype to avoid an error. */
60597 #ifdef __cplusplus
60598 extern "C"
60600 #endif
60601 /* We use char because int might match the return type of a gcc2
60602 builtin and then its argument prototype would still apply. */
60603 char $ac_func ();
60604 /* The GNU C library defines this for functions which it implements
60605 to always fail with ENOSYS. Some functions are actually named
60606 something starting with __ and the normal name is an alias. */
60607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60608 choke me
60609 #else
60610 char (*f) () = $ac_func;
60611 #endif
60612 #ifdef __cplusplus
60614 #endif
60617 main ()
60619 return f != $ac_func;
60621 return 0;
60623 _ACEOF
60624 rm -f conftest.$ac_objext conftest$ac_exeext
60625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60626 (eval $ac_link) 2>conftest.er1
60627 ac_status=$?
60628 grep -v '^ *+' conftest.er1 >conftest.err
60629 rm -f conftest.er1
60630 cat conftest.err >&5
60631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60632 (exit $ac_status); } &&
60633 { ac_try='test -z "$ac_c_werror_flag"
60634 || test ! -s conftest.err'
60635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60636 (eval $ac_try) 2>&5
60637 ac_status=$?
60638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60639 (exit $ac_status); }; } &&
60640 { ac_try='test -s conftest$ac_exeext'
60641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60642 (eval $ac_try) 2>&5
60643 ac_status=$?
60644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60645 (exit $ac_status); }; }; then
60646 eval "$as_ac_var=yes"
60647 else
60648 echo "$as_me: failed program was:" >&5
60649 sed 's/^/| /' conftest.$ac_ext >&5
60651 eval "$as_ac_var=no"
60653 rm -f conftest.err conftest.$ac_objext \
60654 conftest$ac_exeext conftest.$ac_ext
60656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60657 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60658 if test `eval echo '${'$as_ac_var'}'` = yes; then
60659 cat >>confdefs.h <<_ACEOF
60660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60661 _ACEOF
60664 done
60666 else
60668 echo "$as_me:$LINENO: checking for _expf declaration" >&5
60669 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
60670 if test x${glibcxx_cv_func__expf_use+set} != xset; then
60671 if test "${glibcxx_cv_func__expf_use+set}" = set; then
60672 echo $ECHO_N "(cached) $ECHO_C" >&6
60673 else
60677 ac_ext=cc
60678 ac_cpp='$CXXCPP $CPPFLAGS'
60679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60683 cat >conftest.$ac_ext <<_ACEOF
60684 /* confdefs.h. */
60685 _ACEOF
60686 cat confdefs.h >>conftest.$ac_ext
60687 cat >>conftest.$ac_ext <<_ACEOF
60688 /* end confdefs.h. */
60689 #include <math.h>
60690 #ifdef HAVE_IEEEFP_H
60691 #include <ieeefp.h>
60692 #endif
60695 main ()
60697 _expf(0);
60699 return 0;
60701 _ACEOF
60702 rm -f conftest.$ac_objext
60703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60704 (eval $ac_compile) 2>conftest.er1
60705 ac_status=$?
60706 grep -v '^ *+' conftest.er1 >conftest.err
60707 rm -f conftest.er1
60708 cat conftest.err >&5
60709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60710 (exit $ac_status); } &&
60711 { ac_try='test -z "$ac_cxx_werror_flag"
60712 || test ! -s conftest.err'
60713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60714 (eval $ac_try) 2>&5
60715 ac_status=$?
60716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60717 (exit $ac_status); }; } &&
60718 { ac_try='test -s conftest.$ac_objext'
60719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60720 (eval $ac_try) 2>&5
60721 ac_status=$?
60722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60723 (exit $ac_status); }; }; then
60724 glibcxx_cv_func__expf_use=yes
60725 else
60726 echo "$as_me: failed program was:" >&5
60727 sed 's/^/| /' conftest.$ac_ext >&5
60729 glibcxx_cv_func__expf_use=no
60731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60732 ac_ext=c
60733 ac_cpp='$CPP $CPPFLAGS'
60734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60742 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
60743 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
60745 if test x$glibcxx_cv_func__expf_use = x"yes"; then
60747 for ac_func in _expf
60749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60750 echo "$as_me:$LINENO: checking for $ac_func" >&5
60751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60752 if eval "test \"\${$as_ac_var+set}\" = set"; then
60753 echo $ECHO_N "(cached) $ECHO_C" >&6
60754 else
60755 if test x$gcc_no_link = xyes; then
60756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60758 { (exit 1); exit 1; }; }
60760 cat >conftest.$ac_ext <<_ACEOF
60761 /* confdefs.h. */
60762 _ACEOF
60763 cat confdefs.h >>conftest.$ac_ext
60764 cat >>conftest.$ac_ext <<_ACEOF
60765 /* end confdefs.h. */
60766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60768 #define $ac_func innocuous_$ac_func
60770 /* System header to define __stub macros and hopefully few prototypes,
60771 which can conflict with char $ac_func (); below.
60772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60773 <limits.h> exists even on freestanding compilers. */
60775 #ifdef __STDC__
60776 # include <limits.h>
60777 #else
60778 # include <assert.h>
60779 #endif
60781 #undef $ac_func
60783 /* Override any gcc2 internal prototype to avoid an error. */
60784 #ifdef __cplusplus
60785 extern "C"
60787 #endif
60788 /* We use char because int might match the return type of a gcc2
60789 builtin and then its argument prototype would still apply. */
60790 char $ac_func ();
60791 /* The GNU C library defines this for functions which it implements
60792 to always fail with ENOSYS. Some functions are actually named
60793 something starting with __ and the normal name is an alias. */
60794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60795 choke me
60796 #else
60797 char (*f) () = $ac_func;
60798 #endif
60799 #ifdef __cplusplus
60801 #endif
60804 main ()
60806 return f != $ac_func;
60808 return 0;
60810 _ACEOF
60811 rm -f conftest.$ac_objext conftest$ac_exeext
60812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60813 (eval $ac_link) 2>conftest.er1
60814 ac_status=$?
60815 grep -v '^ *+' conftest.er1 >conftest.err
60816 rm -f conftest.er1
60817 cat conftest.err >&5
60818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60819 (exit $ac_status); } &&
60820 { ac_try='test -z "$ac_c_werror_flag"
60821 || test ! -s conftest.err'
60822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60823 (eval $ac_try) 2>&5
60824 ac_status=$?
60825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60826 (exit $ac_status); }; } &&
60827 { ac_try='test -s conftest$ac_exeext'
60828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60829 (eval $ac_try) 2>&5
60830 ac_status=$?
60831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60832 (exit $ac_status); }; }; then
60833 eval "$as_ac_var=yes"
60834 else
60835 echo "$as_me: failed program was:" >&5
60836 sed 's/^/| /' conftest.$ac_ext >&5
60838 eval "$as_ac_var=no"
60840 rm -f conftest.err conftest.$ac_objext \
60841 conftest$ac_exeext conftest.$ac_ext
60843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60845 if test `eval echo '${'$as_ac_var'}'` = yes; then
60846 cat >>confdefs.h <<_ACEOF
60847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60848 _ACEOF
60851 done
60861 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
60862 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
60863 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60864 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
60865 echo $ECHO_N "(cached) $ECHO_C" >&6
60866 else
60870 ac_ext=cc
60871 ac_cpp='$CXXCPP $CPPFLAGS'
60872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60876 cat >conftest.$ac_ext <<_ACEOF
60877 /* confdefs.h. */
60878 _ACEOF
60879 cat confdefs.h >>conftest.$ac_ext
60880 cat >>conftest.$ac_ext <<_ACEOF
60881 /* end confdefs.h. */
60882 #include <math.h>
60883 #ifdef HAVE_IEEEFP_H
60884 #include <ieeefp.h>
60885 #endif
60888 main ()
60890 isnanf(0);
60892 return 0;
60894 _ACEOF
60895 rm -f conftest.$ac_objext
60896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60897 (eval $ac_compile) 2>conftest.er1
60898 ac_status=$?
60899 grep -v '^ *+' conftest.er1 >conftest.err
60900 rm -f conftest.er1
60901 cat conftest.err >&5
60902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60903 (exit $ac_status); } &&
60904 { ac_try='test -z "$ac_cxx_werror_flag"
60905 || test ! -s conftest.err'
60906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60907 (eval $ac_try) 2>&5
60908 ac_status=$?
60909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60910 (exit $ac_status); }; } &&
60911 { ac_try='test -s conftest.$ac_objext'
60912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60913 (eval $ac_try) 2>&5
60914 ac_status=$?
60915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60916 (exit $ac_status); }; }; then
60917 glibcxx_cv_func_isnanf_use=yes
60918 else
60919 echo "$as_me: failed program was:" >&5
60920 sed 's/^/| /' conftest.$ac_ext >&5
60922 glibcxx_cv_func_isnanf_use=no
60924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60925 ac_ext=c
60926 ac_cpp='$CPP $CPPFLAGS'
60927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60935 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
60936 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
60938 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60940 for ac_func in isnanf
60942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60943 echo "$as_me:$LINENO: checking for $ac_func" >&5
60944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60945 if eval "test \"\${$as_ac_var+set}\" = set"; then
60946 echo $ECHO_N "(cached) $ECHO_C" >&6
60947 else
60948 if test x$gcc_no_link = xyes; then
60949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60951 { (exit 1); exit 1; }; }
60953 cat >conftest.$ac_ext <<_ACEOF
60954 /* confdefs.h. */
60955 _ACEOF
60956 cat confdefs.h >>conftest.$ac_ext
60957 cat >>conftest.$ac_ext <<_ACEOF
60958 /* end confdefs.h. */
60959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60961 #define $ac_func innocuous_$ac_func
60963 /* System header to define __stub macros and hopefully few prototypes,
60964 which can conflict with char $ac_func (); below.
60965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60966 <limits.h> exists even on freestanding compilers. */
60968 #ifdef __STDC__
60969 # include <limits.h>
60970 #else
60971 # include <assert.h>
60972 #endif
60974 #undef $ac_func
60976 /* Override any gcc2 internal prototype to avoid an error. */
60977 #ifdef __cplusplus
60978 extern "C"
60980 #endif
60981 /* We use char because int might match the return type of a gcc2
60982 builtin and then its argument prototype would still apply. */
60983 char $ac_func ();
60984 /* The GNU C library defines this for functions which it implements
60985 to always fail with ENOSYS. Some functions are actually named
60986 something starting with __ and the normal name is an alias. */
60987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60988 choke me
60989 #else
60990 char (*f) () = $ac_func;
60991 #endif
60992 #ifdef __cplusplus
60994 #endif
60997 main ()
60999 return f != $ac_func;
61001 return 0;
61003 _ACEOF
61004 rm -f conftest.$ac_objext conftest$ac_exeext
61005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61006 (eval $ac_link) 2>conftest.er1
61007 ac_status=$?
61008 grep -v '^ *+' conftest.er1 >conftest.err
61009 rm -f conftest.er1
61010 cat conftest.err >&5
61011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61012 (exit $ac_status); } &&
61013 { ac_try='test -z "$ac_c_werror_flag"
61014 || test ! -s conftest.err'
61015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61016 (eval $ac_try) 2>&5
61017 ac_status=$?
61018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61019 (exit $ac_status); }; } &&
61020 { ac_try='test -s conftest$ac_exeext'
61021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61022 (eval $ac_try) 2>&5
61023 ac_status=$?
61024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61025 (exit $ac_status); }; }; then
61026 eval "$as_ac_var=yes"
61027 else
61028 echo "$as_me: failed program was:" >&5
61029 sed 's/^/| /' conftest.$ac_ext >&5
61031 eval "$as_ac_var=no"
61033 rm -f conftest.err conftest.$ac_objext \
61034 conftest$ac_exeext conftest.$ac_ext
61036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61038 if test `eval echo '${'$as_ac_var'}'` = yes; then
61039 cat >>confdefs.h <<_ACEOF
61040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61041 _ACEOF
61044 done
61046 else
61048 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
61049 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
61050 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
61051 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
61052 echo $ECHO_N "(cached) $ECHO_C" >&6
61053 else
61057 ac_ext=cc
61058 ac_cpp='$CXXCPP $CPPFLAGS'
61059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61063 cat >conftest.$ac_ext <<_ACEOF
61064 /* confdefs.h. */
61065 _ACEOF
61066 cat confdefs.h >>conftest.$ac_ext
61067 cat >>conftest.$ac_ext <<_ACEOF
61068 /* end confdefs.h. */
61069 #include <math.h>
61070 #ifdef HAVE_IEEEFP_H
61071 #include <ieeefp.h>
61072 #endif
61075 main ()
61077 _isnanf(0);
61079 return 0;
61081 _ACEOF
61082 rm -f conftest.$ac_objext
61083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61084 (eval $ac_compile) 2>conftest.er1
61085 ac_status=$?
61086 grep -v '^ *+' conftest.er1 >conftest.err
61087 rm -f conftest.er1
61088 cat conftest.err >&5
61089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61090 (exit $ac_status); } &&
61091 { ac_try='test -z "$ac_cxx_werror_flag"
61092 || test ! -s conftest.err'
61093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61094 (eval $ac_try) 2>&5
61095 ac_status=$?
61096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61097 (exit $ac_status); }; } &&
61098 { ac_try='test -s conftest.$ac_objext'
61099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61100 (eval $ac_try) 2>&5
61101 ac_status=$?
61102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61103 (exit $ac_status); }; }; then
61104 glibcxx_cv_func__isnanf_use=yes
61105 else
61106 echo "$as_me: failed program was:" >&5
61107 sed 's/^/| /' conftest.$ac_ext >&5
61109 glibcxx_cv_func__isnanf_use=no
61111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61112 ac_ext=c
61113 ac_cpp='$CPP $CPPFLAGS'
61114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61122 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
61123 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
61125 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
61127 for ac_func in _isnanf
61129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61130 echo "$as_me:$LINENO: checking for $ac_func" >&5
61131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61132 if eval "test \"\${$as_ac_var+set}\" = set"; then
61133 echo $ECHO_N "(cached) $ECHO_C" >&6
61134 else
61135 if test x$gcc_no_link = xyes; then
61136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61138 { (exit 1); exit 1; }; }
61140 cat >conftest.$ac_ext <<_ACEOF
61141 /* confdefs.h. */
61142 _ACEOF
61143 cat confdefs.h >>conftest.$ac_ext
61144 cat >>conftest.$ac_ext <<_ACEOF
61145 /* end confdefs.h. */
61146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61148 #define $ac_func innocuous_$ac_func
61150 /* System header to define __stub macros and hopefully few prototypes,
61151 which can conflict with char $ac_func (); below.
61152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61153 <limits.h> exists even on freestanding compilers. */
61155 #ifdef __STDC__
61156 # include <limits.h>
61157 #else
61158 # include <assert.h>
61159 #endif
61161 #undef $ac_func
61163 /* Override any gcc2 internal prototype to avoid an error. */
61164 #ifdef __cplusplus
61165 extern "C"
61167 #endif
61168 /* We use char because int might match the return type of a gcc2
61169 builtin and then its argument prototype would still apply. */
61170 char $ac_func ();
61171 /* The GNU C library defines this for functions which it implements
61172 to always fail with ENOSYS. Some functions are actually named
61173 something starting with __ and the normal name is an alias. */
61174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61175 choke me
61176 #else
61177 char (*f) () = $ac_func;
61178 #endif
61179 #ifdef __cplusplus
61181 #endif
61184 main ()
61186 return f != $ac_func;
61188 return 0;
61190 _ACEOF
61191 rm -f conftest.$ac_objext conftest$ac_exeext
61192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61193 (eval $ac_link) 2>conftest.er1
61194 ac_status=$?
61195 grep -v '^ *+' conftest.er1 >conftest.err
61196 rm -f conftest.er1
61197 cat conftest.err >&5
61198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61199 (exit $ac_status); } &&
61200 { ac_try='test -z "$ac_c_werror_flag"
61201 || test ! -s conftest.err'
61202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61203 (eval $ac_try) 2>&5
61204 ac_status=$?
61205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61206 (exit $ac_status); }; } &&
61207 { ac_try='test -s conftest$ac_exeext'
61208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61209 (eval $ac_try) 2>&5
61210 ac_status=$?
61211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61212 (exit $ac_status); }; }; then
61213 eval "$as_ac_var=yes"
61214 else
61215 echo "$as_me: failed program was:" >&5
61216 sed 's/^/| /' conftest.$ac_ext >&5
61218 eval "$as_ac_var=no"
61220 rm -f conftest.err conftest.$ac_objext \
61221 conftest$ac_exeext conftest.$ac_ext
61223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61225 if test `eval echo '${'$as_ac_var'}'` = yes; then
61226 cat >>confdefs.h <<_ACEOF
61227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61228 _ACEOF
61231 done
61241 echo "$as_me:$LINENO: checking for isinff declaration" >&5
61242 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
61243 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
61244 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
61245 echo $ECHO_N "(cached) $ECHO_C" >&6
61246 else
61250 ac_ext=cc
61251 ac_cpp='$CXXCPP $CPPFLAGS'
61252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61256 cat >conftest.$ac_ext <<_ACEOF
61257 /* confdefs.h. */
61258 _ACEOF
61259 cat confdefs.h >>conftest.$ac_ext
61260 cat >>conftest.$ac_ext <<_ACEOF
61261 /* end confdefs.h. */
61262 #include <math.h>
61263 #ifdef HAVE_IEEEFP_H
61264 #include <ieeefp.h>
61265 #endif
61268 main ()
61270 isinff(0);
61272 return 0;
61274 _ACEOF
61275 rm -f conftest.$ac_objext
61276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61277 (eval $ac_compile) 2>conftest.er1
61278 ac_status=$?
61279 grep -v '^ *+' conftest.er1 >conftest.err
61280 rm -f conftest.er1
61281 cat conftest.err >&5
61282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61283 (exit $ac_status); } &&
61284 { ac_try='test -z "$ac_cxx_werror_flag"
61285 || test ! -s conftest.err'
61286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61287 (eval $ac_try) 2>&5
61288 ac_status=$?
61289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61290 (exit $ac_status); }; } &&
61291 { ac_try='test -s conftest.$ac_objext'
61292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61293 (eval $ac_try) 2>&5
61294 ac_status=$?
61295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61296 (exit $ac_status); }; }; then
61297 glibcxx_cv_func_isinff_use=yes
61298 else
61299 echo "$as_me: failed program was:" >&5
61300 sed 's/^/| /' conftest.$ac_ext >&5
61302 glibcxx_cv_func_isinff_use=no
61304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61305 ac_ext=c
61306 ac_cpp='$CPP $CPPFLAGS'
61307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61315 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
61316 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
61318 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
61320 for ac_func in isinff
61322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61323 echo "$as_me:$LINENO: checking for $ac_func" >&5
61324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61325 if eval "test \"\${$as_ac_var+set}\" = set"; then
61326 echo $ECHO_N "(cached) $ECHO_C" >&6
61327 else
61328 if test x$gcc_no_link = xyes; then
61329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61331 { (exit 1); exit 1; }; }
61333 cat >conftest.$ac_ext <<_ACEOF
61334 /* confdefs.h. */
61335 _ACEOF
61336 cat confdefs.h >>conftest.$ac_ext
61337 cat >>conftest.$ac_ext <<_ACEOF
61338 /* end confdefs.h. */
61339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61341 #define $ac_func innocuous_$ac_func
61343 /* System header to define __stub macros and hopefully few prototypes,
61344 which can conflict with char $ac_func (); below.
61345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61346 <limits.h> exists even on freestanding compilers. */
61348 #ifdef __STDC__
61349 # include <limits.h>
61350 #else
61351 # include <assert.h>
61352 #endif
61354 #undef $ac_func
61356 /* Override any gcc2 internal prototype to avoid an error. */
61357 #ifdef __cplusplus
61358 extern "C"
61360 #endif
61361 /* We use char because int might match the return type of a gcc2
61362 builtin and then its argument prototype would still apply. */
61363 char $ac_func ();
61364 /* The GNU C library defines this for functions which it implements
61365 to always fail with ENOSYS. Some functions are actually named
61366 something starting with __ and the normal name is an alias. */
61367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61368 choke me
61369 #else
61370 char (*f) () = $ac_func;
61371 #endif
61372 #ifdef __cplusplus
61374 #endif
61377 main ()
61379 return f != $ac_func;
61381 return 0;
61383 _ACEOF
61384 rm -f conftest.$ac_objext conftest$ac_exeext
61385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61386 (eval $ac_link) 2>conftest.er1
61387 ac_status=$?
61388 grep -v '^ *+' conftest.er1 >conftest.err
61389 rm -f conftest.er1
61390 cat conftest.err >&5
61391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61392 (exit $ac_status); } &&
61393 { ac_try='test -z "$ac_c_werror_flag"
61394 || test ! -s conftest.err'
61395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61396 (eval $ac_try) 2>&5
61397 ac_status=$?
61398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61399 (exit $ac_status); }; } &&
61400 { ac_try='test -s conftest$ac_exeext'
61401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61402 (eval $ac_try) 2>&5
61403 ac_status=$?
61404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61405 (exit $ac_status); }; }; then
61406 eval "$as_ac_var=yes"
61407 else
61408 echo "$as_me: failed program was:" >&5
61409 sed 's/^/| /' conftest.$ac_ext >&5
61411 eval "$as_ac_var=no"
61413 rm -f conftest.err conftest.$ac_objext \
61414 conftest$ac_exeext conftest.$ac_ext
61416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61418 if test `eval echo '${'$as_ac_var'}'` = yes; then
61419 cat >>confdefs.h <<_ACEOF
61420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61421 _ACEOF
61424 done
61426 else
61428 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
61429 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
61430 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
61431 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
61432 echo $ECHO_N "(cached) $ECHO_C" >&6
61433 else
61437 ac_ext=cc
61438 ac_cpp='$CXXCPP $CPPFLAGS'
61439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61443 cat >conftest.$ac_ext <<_ACEOF
61444 /* confdefs.h. */
61445 _ACEOF
61446 cat confdefs.h >>conftest.$ac_ext
61447 cat >>conftest.$ac_ext <<_ACEOF
61448 /* end confdefs.h. */
61449 #include <math.h>
61450 #ifdef HAVE_IEEEFP_H
61451 #include <ieeefp.h>
61452 #endif
61455 main ()
61457 _isinff(0);
61459 return 0;
61461 _ACEOF
61462 rm -f conftest.$ac_objext
61463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61464 (eval $ac_compile) 2>conftest.er1
61465 ac_status=$?
61466 grep -v '^ *+' conftest.er1 >conftest.err
61467 rm -f conftest.er1
61468 cat conftest.err >&5
61469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61470 (exit $ac_status); } &&
61471 { ac_try='test -z "$ac_cxx_werror_flag"
61472 || test ! -s conftest.err'
61473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61474 (eval $ac_try) 2>&5
61475 ac_status=$?
61476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61477 (exit $ac_status); }; } &&
61478 { ac_try='test -s conftest.$ac_objext'
61479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61480 (eval $ac_try) 2>&5
61481 ac_status=$?
61482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61483 (exit $ac_status); }; }; then
61484 glibcxx_cv_func__isinff_use=yes
61485 else
61486 echo "$as_me: failed program was:" >&5
61487 sed 's/^/| /' conftest.$ac_ext >&5
61489 glibcxx_cv_func__isinff_use=no
61491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61492 ac_ext=c
61493 ac_cpp='$CPP $CPPFLAGS'
61494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61502 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
61503 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
61505 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
61507 for ac_func in _isinff
61509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61510 echo "$as_me:$LINENO: checking for $ac_func" >&5
61511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61512 if eval "test \"\${$as_ac_var+set}\" = set"; then
61513 echo $ECHO_N "(cached) $ECHO_C" >&6
61514 else
61515 if test x$gcc_no_link = xyes; then
61516 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61518 { (exit 1); exit 1; }; }
61520 cat >conftest.$ac_ext <<_ACEOF
61521 /* confdefs.h. */
61522 _ACEOF
61523 cat confdefs.h >>conftest.$ac_ext
61524 cat >>conftest.$ac_ext <<_ACEOF
61525 /* end confdefs.h. */
61526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61528 #define $ac_func innocuous_$ac_func
61530 /* System header to define __stub macros and hopefully few prototypes,
61531 which can conflict with char $ac_func (); below.
61532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61533 <limits.h> exists even on freestanding compilers. */
61535 #ifdef __STDC__
61536 # include <limits.h>
61537 #else
61538 # include <assert.h>
61539 #endif
61541 #undef $ac_func
61543 /* Override any gcc2 internal prototype to avoid an error. */
61544 #ifdef __cplusplus
61545 extern "C"
61547 #endif
61548 /* We use char because int might match the return type of a gcc2
61549 builtin and then its argument prototype would still apply. */
61550 char $ac_func ();
61551 /* The GNU C library defines this for functions which it implements
61552 to always fail with ENOSYS. Some functions are actually named
61553 something starting with __ and the normal name is an alias. */
61554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61555 choke me
61556 #else
61557 char (*f) () = $ac_func;
61558 #endif
61559 #ifdef __cplusplus
61561 #endif
61564 main ()
61566 return f != $ac_func;
61568 return 0;
61570 _ACEOF
61571 rm -f conftest.$ac_objext conftest$ac_exeext
61572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61573 (eval $ac_link) 2>conftest.er1
61574 ac_status=$?
61575 grep -v '^ *+' conftest.er1 >conftest.err
61576 rm -f conftest.er1
61577 cat conftest.err >&5
61578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61579 (exit $ac_status); } &&
61580 { ac_try='test -z "$ac_c_werror_flag"
61581 || test ! -s conftest.err'
61582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61583 (eval $ac_try) 2>&5
61584 ac_status=$?
61585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61586 (exit $ac_status); }; } &&
61587 { ac_try='test -s conftest$ac_exeext'
61588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61589 (eval $ac_try) 2>&5
61590 ac_status=$?
61591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61592 (exit $ac_status); }; }; then
61593 eval "$as_ac_var=yes"
61594 else
61595 echo "$as_me: failed program was:" >&5
61596 sed 's/^/| /' conftest.$ac_ext >&5
61598 eval "$as_ac_var=no"
61600 rm -f conftest.err conftest.$ac_objext \
61601 conftest$ac_exeext conftest.$ac_ext
61603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61605 if test `eval echo '${'$as_ac_var'}'` = yes; then
61606 cat >>confdefs.h <<_ACEOF
61607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61608 _ACEOF
61611 done
61621 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
61622 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
61623 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
61624 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
61625 echo $ECHO_N "(cached) $ECHO_C" >&6
61626 else
61630 ac_ext=cc
61631 ac_cpp='$CXXCPP $CPPFLAGS'
61632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61636 cat >conftest.$ac_ext <<_ACEOF
61637 /* confdefs.h. */
61638 _ACEOF
61639 cat confdefs.h >>conftest.$ac_ext
61640 cat >>conftest.$ac_ext <<_ACEOF
61641 /* end confdefs.h. */
61642 #include <math.h>
61644 main ()
61646 atan2f(0, 0);
61648 return 0;
61650 _ACEOF
61651 rm -f conftest.$ac_objext
61652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61653 (eval $ac_compile) 2>conftest.er1
61654 ac_status=$?
61655 grep -v '^ *+' conftest.er1 >conftest.err
61656 rm -f conftest.er1
61657 cat conftest.err >&5
61658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61659 (exit $ac_status); } &&
61660 { ac_try='test -z "$ac_cxx_werror_flag"
61661 || test ! -s conftest.err'
61662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61663 (eval $ac_try) 2>&5
61664 ac_status=$?
61665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61666 (exit $ac_status); }; } &&
61667 { ac_try='test -s conftest.$ac_objext'
61668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61669 (eval $ac_try) 2>&5
61670 ac_status=$?
61671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61672 (exit $ac_status); }; }; then
61673 glibcxx_cv_func_atan2f_use=yes
61674 else
61675 echo "$as_me: failed program was:" >&5
61676 sed 's/^/| /' conftest.$ac_ext >&5
61678 glibcxx_cv_func_atan2f_use=no
61680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61681 ac_ext=c
61682 ac_cpp='$CPP $CPPFLAGS'
61683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61691 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
61692 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
61694 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
61696 for ac_func in atan2f
61698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61699 echo "$as_me:$LINENO: checking for $ac_func" >&5
61700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61701 if eval "test \"\${$as_ac_var+set}\" = set"; then
61702 echo $ECHO_N "(cached) $ECHO_C" >&6
61703 else
61704 if test x$gcc_no_link = xyes; then
61705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61707 { (exit 1); exit 1; }; }
61709 cat >conftest.$ac_ext <<_ACEOF
61710 /* confdefs.h. */
61711 _ACEOF
61712 cat confdefs.h >>conftest.$ac_ext
61713 cat >>conftest.$ac_ext <<_ACEOF
61714 /* end confdefs.h. */
61715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61717 #define $ac_func innocuous_$ac_func
61719 /* System header to define __stub macros and hopefully few prototypes,
61720 which can conflict with char $ac_func (); below.
61721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61722 <limits.h> exists even on freestanding compilers. */
61724 #ifdef __STDC__
61725 # include <limits.h>
61726 #else
61727 # include <assert.h>
61728 #endif
61730 #undef $ac_func
61732 /* Override any gcc2 internal prototype to avoid an error. */
61733 #ifdef __cplusplus
61734 extern "C"
61736 #endif
61737 /* We use char because int might match the return type of a gcc2
61738 builtin and then its argument prototype would still apply. */
61739 char $ac_func ();
61740 /* The GNU C library defines this for functions which it implements
61741 to always fail with ENOSYS. Some functions are actually named
61742 something starting with __ and the normal name is an alias. */
61743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61744 choke me
61745 #else
61746 char (*f) () = $ac_func;
61747 #endif
61748 #ifdef __cplusplus
61750 #endif
61753 main ()
61755 return f != $ac_func;
61757 return 0;
61759 _ACEOF
61760 rm -f conftest.$ac_objext conftest$ac_exeext
61761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61762 (eval $ac_link) 2>conftest.er1
61763 ac_status=$?
61764 grep -v '^ *+' conftest.er1 >conftest.err
61765 rm -f conftest.er1
61766 cat conftest.err >&5
61767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61768 (exit $ac_status); } &&
61769 { ac_try='test -z "$ac_c_werror_flag"
61770 || test ! -s conftest.err'
61771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61772 (eval $ac_try) 2>&5
61773 ac_status=$?
61774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61775 (exit $ac_status); }; } &&
61776 { ac_try='test -s conftest$ac_exeext'
61777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61778 (eval $ac_try) 2>&5
61779 ac_status=$?
61780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61781 (exit $ac_status); }; }; then
61782 eval "$as_ac_var=yes"
61783 else
61784 echo "$as_me: failed program was:" >&5
61785 sed 's/^/| /' conftest.$ac_ext >&5
61787 eval "$as_ac_var=no"
61789 rm -f conftest.err conftest.$ac_objext \
61790 conftest$ac_exeext conftest.$ac_ext
61792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61794 if test `eval echo '${'$as_ac_var'}'` = yes; then
61795 cat >>confdefs.h <<_ACEOF
61796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61797 _ACEOF
61800 done
61802 else
61804 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
61805 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
61806 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
61807 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
61808 echo $ECHO_N "(cached) $ECHO_C" >&6
61809 else
61813 ac_ext=cc
61814 ac_cpp='$CXXCPP $CPPFLAGS'
61815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61819 cat >conftest.$ac_ext <<_ACEOF
61820 /* confdefs.h. */
61821 _ACEOF
61822 cat confdefs.h >>conftest.$ac_ext
61823 cat >>conftest.$ac_ext <<_ACEOF
61824 /* end confdefs.h. */
61825 #include <math.h>
61827 main ()
61829 _atan2f(0, 0);
61831 return 0;
61833 _ACEOF
61834 rm -f conftest.$ac_objext
61835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61836 (eval $ac_compile) 2>conftest.er1
61837 ac_status=$?
61838 grep -v '^ *+' conftest.er1 >conftest.err
61839 rm -f conftest.er1
61840 cat conftest.err >&5
61841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61842 (exit $ac_status); } &&
61843 { ac_try='test -z "$ac_cxx_werror_flag"
61844 || test ! -s conftest.err'
61845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61846 (eval $ac_try) 2>&5
61847 ac_status=$?
61848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61849 (exit $ac_status); }; } &&
61850 { ac_try='test -s conftest.$ac_objext'
61851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61852 (eval $ac_try) 2>&5
61853 ac_status=$?
61854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61855 (exit $ac_status); }; }; then
61856 glibcxx_cv_func__atan2f_use=yes
61857 else
61858 echo "$as_me: failed program was:" >&5
61859 sed 's/^/| /' conftest.$ac_ext >&5
61861 glibcxx_cv_func__atan2f_use=no
61863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61864 ac_ext=c
61865 ac_cpp='$CPP $CPPFLAGS'
61866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61874 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
61875 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
61877 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
61879 for ac_func in _atan2f
61881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61882 echo "$as_me:$LINENO: checking for $ac_func" >&5
61883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61884 if eval "test \"\${$as_ac_var+set}\" = set"; then
61885 echo $ECHO_N "(cached) $ECHO_C" >&6
61886 else
61887 if test x$gcc_no_link = xyes; then
61888 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61890 { (exit 1); exit 1; }; }
61892 cat >conftest.$ac_ext <<_ACEOF
61893 /* confdefs.h. */
61894 _ACEOF
61895 cat confdefs.h >>conftest.$ac_ext
61896 cat >>conftest.$ac_ext <<_ACEOF
61897 /* end confdefs.h. */
61898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61900 #define $ac_func innocuous_$ac_func
61902 /* System header to define __stub macros and hopefully few prototypes,
61903 which can conflict with char $ac_func (); below.
61904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61905 <limits.h> exists even on freestanding compilers. */
61907 #ifdef __STDC__
61908 # include <limits.h>
61909 #else
61910 # include <assert.h>
61911 #endif
61913 #undef $ac_func
61915 /* Override any gcc2 internal prototype to avoid an error. */
61916 #ifdef __cplusplus
61917 extern "C"
61919 #endif
61920 /* We use char because int might match the return type of a gcc2
61921 builtin and then its argument prototype would still apply. */
61922 char $ac_func ();
61923 /* The GNU C library defines this for functions which it implements
61924 to always fail with ENOSYS. Some functions are actually named
61925 something starting with __ and the normal name is an alias. */
61926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61927 choke me
61928 #else
61929 char (*f) () = $ac_func;
61930 #endif
61931 #ifdef __cplusplus
61933 #endif
61936 main ()
61938 return f != $ac_func;
61940 return 0;
61942 _ACEOF
61943 rm -f conftest.$ac_objext conftest$ac_exeext
61944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61945 (eval $ac_link) 2>conftest.er1
61946 ac_status=$?
61947 grep -v '^ *+' conftest.er1 >conftest.err
61948 rm -f conftest.er1
61949 cat conftest.err >&5
61950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61951 (exit $ac_status); } &&
61952 { ac_try='test -z "$ac_c_werror_flag"
61953 || test ! -s conftest.err'
61954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61955 (eval $ac_try) 2>&5
61956 ac_status=$?
61957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61958 (exit $ac_status); }; } &&
61959 { ac_try='test -s conftest$ac_exeext'
61960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61961 (eval $ac_try) 2>&5
61962 ac_status=$?
61963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61964 (exit $ac_status); }; }; then
61965 eval "$as_ac_var=yes"
61966 else
61967 echo "$as_me: failed program was:" >&5
61968 sed 's/^/| /' conftest.$ac_ext >&5
61970 eval "$as_ac_var=no"
61972 rm -f conftest.err conftest.$ac_objext \
61973 conftest$ac_exeext conftest.$ac_ext
61975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61977 if test `eval echo '${'$as_ac_var'}'` = yes; then
61978 cat >>confdefs.h <<_ACEOF
61979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61980 _ACEOF
61983 done
61993 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
61994 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
61995 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
61996 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
61997 echo $ECHO_N "(cached) $ECHO_C" >&6
61998 else
62002 ac_ext=cc
62003 ac_cpp='$CXXCPP $CPPFLAGS'
62004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62008 cat >conftest.$ac_ext <<_ACEOF
62009 /* confdefs.h. */
62010 _ACEOF
62011 cat confdefs.h >>conftest.$ac_ext
62012 cat >>conftest.$ac_ext <<_ACEOF
62013 /* end confdefs.h. */
62014 #include <math.h>
62015 #ifdef HAVE_IEEEFP_H
62016 #include <ieeefp.h>
62017 #endif
62020 main ()
62022 fabsf(0);
62024 return 0;
62026 _ACEOF
62027 rm -f conftest.$ac_objext
62028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62029 (eval $ac_compile) 2>conftest.er1
62030 ac_status=$?
62031 grep -v '^ *+' conftest.er1 >conftest.err
62032 rm -f conftest.er1
62033 cat conftest.err >&5
62034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62035 (exit $ac_status); } &&
62036 { ac_try='test -z "$ac_cxx_werror_flag"
62037 || test ! -s conftest.err'
62038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62039 (eval $ac_try) 2>&5
62040 ac_status=$?
62041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62042 (exit $ac_status); }; } &&
62043 { ac_try='test -s conftest.$ac_objext'
62044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62045 (eval $ac_try) 2>&5
62046 ac_status=$?
62047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62048 (exit $ac_status); }; }; then
62049 glibcxx_cv_func_fabsf_use=yes
62050 else
62051 echo "$as_me: failed program was:" >&5
62052 sed 's/^/| /' conftest.$ac_ext >&5
62054 glibcxx_cv_func_fabsf_use=no
62056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62057 ac_ext=c
62058 ac_cpp='$CPP $CPPFLAGS'
62059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62067 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
62068 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
62070 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62072 for ac_func in fabsf
62074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62075 echo "$as_me:$LINENO: checking for $ac_func" >&5
62076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62077 if eval "test \"\${$as_ac_var+set}\" = set"; then
62078 echo $ECHO_N "(cached) $ECHO_C" >&6
62079 else
62080 if test x$gcc_no_link = xyes; then
62081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62083 { (exit 1); exit 1; }; }
62085 cat >conftest.$ac_ext <<_ACEOF
62086 /* confdefs.h. */
62087 _ACEOF
62088 cat confdefs.h >>conftest.$ac_ext
62089 cat >>conftest.$ac_ext <<_ACEOF
62090 /* end confdefs.h. */
62091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62093 #define $ac_func innocuous_$ac_func
62095 /* System header to define __stub macros and hopefully few prototypes,
62096 which can conflict with char $ac_func (); below.
62097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62098 <limits.h> exists even on freestanding compilers. */
62100 #ifdef __STDC__
62101 # include <limits.h>
62102 #else
62103 # include <assert.h>
62104 #endif
62106 #undef $ac_func
62108 /* Override any gcc2 internal prototype to avoid an error. */
62109 #ifdef __cplusplus
62110 extern "C"
62112 #endif
62113 /* We use char because int might match the return type of a gcc2
62114 builtin and then its argument prototype would still apply. */
62115 char $ac_func ();
62116 /* The GNU C library defines this for functions which it implements
62117 to always fail with ENOSYS. Some functions are actually named
62118 something starting with __ and the normal name is an alias. */
62119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62120 choke me
62121 #else
62122 char (*f) () = $ac_func;
62123 #endif
62124 #ifdef __cplusplus
62126 #endif
62129 main ()
62131 return f != $ac_func;
62133 return 0;
62135 _ACEOF
62136 rm -f conftest.$ac_objext conftest$ac_exeext
62137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62138 (eval $ac_link) 2>conftest.er1
62139 ac_status=$?
62140 grep -v '^ *+' conftest.er1 >conftest.err
62141 rm -f conftest.er1
62142 cat conftest.err >&5
62143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62144 (exit $ac_status); } &&
62145 { ac_try='test -z "$ac_c_werror_flag"
62146 || test ! -s conftest.err'
62147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62148 (eval $ac_try) 2>&5
62149 ac_status=$?
62150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62151 (exit $ac_status); }; } &&
62152 { ac_try='test -s conftest$ac_exeext'
62153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62154 (eval $ac_try) 2>&5
62155 ac_status=$?
62156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62157 (exit $ac_status); }; }; then
62158 eval "$as_ac_var=yes"
62159 else
62160 echo "$as_me: failed program was:" >&5
62161 sed 's/^/| /' conftest.$ac_ext >&5
62163 eval "$as_ac_var=no"
62165 rm -f conftest.err conftest.$ac_objext \
62166 conftest$ac_exeext conftest.$ac_ext
62168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62170 if test `eval echo '${'$as_ac_var'}'` = yes; then
62171 cat >>confdefs.h <<_ACEOF
62172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62173 _ACEOF
62176 done
62178 else
62180 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
62181 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
62182 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62183 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
62184 echo $ECHO_N "(cached) $ECHO_C" >&6
62185 else
62189 ac_ext=cc
62190 ac_cpp='$CXXCPP $CPPFLAGS'
62191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62195 cat >conftest.$ac_ext <<_ACEOF
62196 /* confdefs.h. */
62197 _ACEOF
62198 cat confdefs.h >>conftest.$ac_ext
62199 cat >>conftest.$ac_ext <<_ACEOF
62200 /* end confdefs.h. */
62201 #include <math.h>
62202 #ifdef HAVE_IEEEFP_H
62203 #include <ieeefp.h>
62204 #endif
62207 main ()
62209 _fabsf(0);
62211 return 0;
62213 _ACEOF
62214 rm -f conftest.$ac_objext
62215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62216 (eval $ac_compile) 2>conftest.er1
62217 ac_status=$?
62218 grep -v '^ *+' conftest.er1 >conftest.err
62219 rm -f conftest.er1
62220 cat conftest.err >&5
62221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62222 (exit $ac_status); } &&
62223 { ac_try='test -z "$ac_cxx_werror_flag"
62224 || test ! -s conftest.err'
62225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62226 (eval $ac_try) 2>&5
62227 ac_status=$?
62228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62229 (exit $ac_status); }; } &&
62230 { ac_try='test -s conftest.$ac_objext'
62231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62232 (eval $ac_try) 2>&5
62233 ac_status=$?
62234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62235 (exit $ac_status); }; }; then
62236 glibcxx_cv_func__fabsf_use=yes
62237 else
62238 echo "$as_me: failed program was:" >&5
62239 sed 's/^/| /' conftest.$ac_ext >&5
62241 glibcxx_cv_func__fabsf_use=no
62243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62244 ac_ext=c
62245 ac_cpp='$CPP $CPPFLAGS'
62246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62254 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
62255 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
62257 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62259 for ac_func in _fabsf
62261 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62262 echo "$as_me:$LINENO: checking for $ac_func" >&5
62263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62264 if eval "test \"\${$as_ac_var+set}\" = set"; then
62265 echo $ECHO_N "(cached) $ECHO_C" >&6
62266 else
62267 if test x$gcc_no_link = xyes; then
62268 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62270 { (exit 1); exit 1; }; }
62272 cat >conftest.$ac_ext <<_ACEOF
62273 /* confdefs.h. */
62274 _ACEOF
62275 cat confdefs.h >>conftest.$ac_ext
62276 cat >>conftest.$ac_ext <<_ACEOF
62277 /* end confdefs.h. */
62278 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62279 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62280 #define $ac_func innocuous_$ac_func
62282 /* System header to define __stub macros and hopefully few prototypes,
62283 which can conflict with char $ac_func (); below.
62284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62285 <limits.h> exists even on freestanding compilers. */
62287 #ifdef __STDC__
62288 # include <limits.h>
62289 #else
62290 # include <assert.h>
62291 #endif
62293 #undef $ac_func
62295 /* Override any gcc2 internal prototype to avoid an error. */
62296 #ifdef __cplusplus
62297 extern "C"
62299 #endif
62300 /* We use char because int might match the return type of a gcc2
62301 builtin and then its argument prototype would still apply. */
62302 char $ac_func ();
62303 /* The GNU C library defines this for functions which it implements
62304 to always fail with ENOSYS. Some functions are actually named
62305 something starting with __ and the normal name is an alias. */
62306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62307 choke me
62308 #else
62309 char (*f) () = $ac_func;
62310 #endif
62311 #ifdef __cplusplus
62313 #endif
62316 main ()
62318 return f != $ac_func;
62320 return 0;
62322 _ACEOF
62323 rm -f conftest.$ac_objext conftest$ac_exeext
62324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62325 (eval $ac_link) 2>conftest.er1
62326 ac_status=$?
62327 grep -v '^ *+' conftest.er1 >conftest.err
62328 rm -f conftest.er1
62329 cat conftest.err >&5
62330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62331 (exit $ac_status); } &&
62332 { ac_try='test -z "$ac_c_werror_flag"
62333 || test ! -s conftest.err'
62334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62335 (eval $ac_try) 2>&5
62336 ac_status=$?
62337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62338 (exit $ac_status); }; } &&
62339 { ac_try='test -s conftest$ac_exeext'
62340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62341 (eval $ac_try) 2>&5
62342 ac_status=$?
62343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62344 (exit $ac_status); }; }; then
62345 eval "$as_ac_var=yes"
62346 else
62347 echo "$as_me: failed program was:" >&5
62348 sed 's/^/| /' conftest.$ac_ext >&5
62350 eval "$as_ac_var=no"
62352 rm -f conftest.err conftest.$ac_objext \
62353 conftest$ac_exeext conftest.$ac_ext
62355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62356 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62357 if test `eval echo '${'$as_ac_var'}'` = yes; then
62358 cat >>confdefs.h <<_ACEOF
62359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62360 _ACEOF
62363 done
62373 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
62374 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
62375 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62376 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
62377 echo $ECHO_N "(cached) $ECHO_C" >&6
62378 else
62382 ac_ext=cc
62383 ac_cpp='$CXXCPP $CPPFLAGS'
62384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62388 cat >conftest.$ac_ext <<_ACEOF
62389 /* confdefs.h. */
62390 _ACEOF
62391 cat confdefs.h >>conftest.$ac_ext
62392 cat >>conftest.$ac_ext <<_ACEOF
62393 /* end confdefs.h. */
62394 #include <math.h>
62396 main ()
62398 fmodf(0, 0);
62400 return 0;
62402 _ACEOF
62403 rm -f conftest.$ac_objext
62404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62405 (eval $ac_compile) 2>conftest.er1
62406 ac_status=$?
62407 grep -v '^ *+' conftest.er1 >conftest.err
62408 rm -f conftest.er1
62409 cat conftest.err >&5
62410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62411 (exit $ac_status); } &&
62412 { ac_try='test -z "$ac_cxx_werror_flag"
62413 || test ! -s conftest.err'
62414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62415 (eval $ac_try) 2>&5
62416 ac_status=$?
62417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62418 (exit $ac_status); }; } &&
62419 { ac_try='test -s conftest.$ac_objext'
62420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62421 (eval $ac_try) 2>&5
62422 ac_status=$?
62423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62424 (exit $ac_status); }; }; then
62425 glibcxx_cv_func_fmodf_use=yes
62426 else
62427 echo "$as_me: failed program was:" >&5
62428 sed 's/^/| /' conftest.$ac_ext >&5
62430 glibcxx_cv_func_fmodf_use=no
62432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62433 ac_ext=c
62434 ac_cpp='$CPP $CPPFLAGS'
62435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62443 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
62444 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
62446 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62448 for ac_func in fmodf
62450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62451 echo "$as_me:$LINENO: checking for $ac_func" >&5
62452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62453 if eval "test \"\${$as_ac_var+set}\" = set"; then
62454 echo $ECHO_N "(cached) $ECHO_C" >&6
62455 else
62456 if test x$gcc_no_link = xyes; then
62457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62459 { (exit 1); exit 1; }; }
62461 cat >conftest.$ac_ext <<_ACEOF
62462 /* confdefs.h. */
62463 _ACEOF
62464 cat confdefs.h >>conftest.$ac_ext
62465 cat >>conftest.$ac_ext <<_ACEOF
62466 /* end confdefs.h. */
62467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62469 #define $ac_func innocuous_$ac_func
62471 /* System header to define __stub macros and hopefully few prototypes,
62472 which can conflict with char $ac_func (); below.
62473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62474 <limits.h> exists even on freestanding compilers. */
62476 #ifdef __STDC__
62477 # include <limits.h>
62478 #else
62479 # include <assert.h>
62480 #endif
62482 #undef $ac_func
62484 /* Override any gcc2 internal prototype to avoid an error. */
62485 #ifdef __cplusplus
62486 extern "C"
62488 #endif
62489 /* We use char because int might match the return type of a gcc2
62490 builtin and then its argument prototype would still apply. */
62491 char $ac_func ();
62492 /* The GNU C library defines this for functions which it implements
62493 to always fail with ENOSYS. Some functions are actually named
62494 something starting with __ and the normal name is an alias. */
62495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62496 choke me
62497 #else
62498 char (*f) () = $ac_func;
62499 #endif
62500 #ifdef __cplusplus
62502 #endif
62505 main ()
62507 return f != $ac_func;
62509 return 0;
62511 _ACEOF
62512 rm -f conftest.$ac_objext conftest$ac_exeext
62513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62514 (eval $ac_link) 2>conftest.er1
62515 ac_status=$?
62516 grep -v '^ *+' conftest.er1 >conftest.err
62517 rm -f conftest.er1
62518 cat conftest.err >&5
62519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62520 (exit $ac_status); } &&
62521 { ac_try='test -z "$ac_c_werror_flag"
62522 || test ! -s conftest.err'
62523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62524 (eval $ac_try) 2>&5
62525 ac_status=$?
62526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62527 (exit $ac_status); }; } &&
62528 { ac_try='test -s conftest$ac_exeext'
62529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62530 (eval $ac_try) 2>&5
62531 ac_status=$?
62532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62533 (exit $ac_status); }; }; then
62534 eval "$as_ac_var=yes"
62535 else
62536 echo "$as_me: failed program was:" >&5
62537 sed 's/^/| /' conftest.$ac_ext >&5
62539 eval "$as_ac_var=no"
62541 rm -f conftest.err conftest.$ac_objext \
62542 conftest$ac_exeext conftest.$ac_ext
62544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62546 if test `eval echo '${'$as_ac_var'}'` = yes; then
62547 cat >>confdefs.h <<_ACEOF
62548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62549 _ACEOF
62552 done
62554 else
62556 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
62557 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
62558 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62559 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
62560 echo $ECHO_N "(cached) $ECHO_C" >&6
62561 else
62565 ac_ext=cc
62566 ac_cpp='$CXXCPP $CPPFLAGS'
62567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62571 cat >conftest.$ac_ext <<_ACEOF
62572 /* confdefs.h. */
62573 _ACEOF
62574 cat confdefs.h >>conftest.$ac_ext
62575 cat >>conftest.$ac_ext <<_ACEOF
62576 /* end confdefs.h. */
62577 #include <math.h>
62579 main ()
62581 _fmodf(0, 0);
62583 return 0;
62585 _ACEOF
62586 rm -f conftest.$ac_objext
62587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62588 (eval $ac_compile) 2>conftest.er1
62589 ac_status=$?
62590 grep -v '^ *+' conftest.er1 >conftest.err
62591 rm -f conftest.er1
62592 cat conftest.err >&5
62593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62594 (exit $ac_status); } &&
62595 { ac_try='test -z "$ac_cxx_werror_flag"
62596 || test ! -s conftest.err'
62597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62598 (eval $ac_try) 2>&5
62599 ac_status=$?
62600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62601 (exit $ac_status); }; } &&
62602 { ac_try='test -s conftest.$ac_objext'
62603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62604 (eval $ac_try) 2>&5
62605 ac_status=$?
62606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62607 (exit $ac_status); }; }; then
62608 glibcxx_cv_func__fmodf_use=yes
62609 else
62610 echo "$as_me: failed program was:" >&5
62611 sed 's/^/| /' conftest.$ac_ext >&5
62613 glibcxx_cv_func__fmodf_use=no
62615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62616 ac_ext=c
62617 ac_cpp='$CPP $CPPFLAGS'
62618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62626 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
62627 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
62629 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62631 for ac_func in _fmodf
62633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62634 echo "$as_me:$LINENO: checking for $ac_func" >&5
62635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62636 if eval "test \"\${$as_ac_var+set}\" = set"; then
62637 echo $ECHO_N "(cached) $ECHO_C" >&6
62638 else
62639 if test x$gcc_no_link = xyes; then
62640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62642 { (exit 1); exit 1; }; }
62644 cat >conftest.$ac_ext <<_ACEOF
62645 /* confdefs.h. */
62646 _ACEOF
62647 cat confdefs.h >>conftest.$ac_ext
62648 cat >>conftest.$ac_ext <<_ACEOF
62649 /* end confdefs.h. */
62650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62652 #define $ac_func innocuous_$ac_func
62654 /* System header to define __stub macros and hopefully few prototypes,
62655 which can conflict with char $ac_func (); below.
62656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62657 <limits.h> exists even on freestanding compilers. */
62659 #ifdef __STDC__
62660 # include <limits.h>
62661 #else
62662 # include <assert.h>
62663 #endif
62665 #undef $ac_func
62667 /* Override any gcc2 internal prototype to avoid an error. */
62668 #ifdef __cplusplus
62669 extern "C"
62671 #endif
62672 /* We use char because int might match the return type of a gcc2
62673 builtin and then its argument prototype would still apply. */
62674 char $ac_func ();
62675 /* The GNU C library defines this for functions which it implements
62676 to always fail with ENOSYS. Some functions are actually named
62677 something starting with __ and the normal name is an alias. */
62678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62679 choke me
62680 #else
62681 char (*f) () = $ac_func;
62682 #endif
62683 #ifdef __cplusplus
62685 #endif
62688 main ()
62690 return f != $ac_func;
62692 return 0;
62694 _ACEOF
62695 rm -f conftest.$ac_objext conftest$ac_exeext
62696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62697 (eval $ac_link) 2>conftest.er1
62698 ac_status=$?
62699 grep -v '^ *+' conftest.er1 >conftest.err
62700 rm -f conftest.er1
62701 cat conftest.err >&5
62702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62703 (exit $ac_status); } &&
62704 { ac_try='test -z "$ac_c_werror_flag"
62705 || test ! -s conftest.err'
62706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62707 (eval $ac_try) 2>&5
62708 ac_status=$?
62709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62710 (exit $ac_status); }; } &&
62711 { ac_try='test -s conftest$ac_exeext'
62712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62713 (eval $ac_try) 2>&5
62714 ac_status=$?
62715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62716 (exit $ac_status); }; }; then
62717 eval "$as_ac_var=yes"
62718 else
62719 echo "$as_me: failed program was:" >&5
62720 sed 's/^/| /' conftest.$ac_ext >&5
62722 eval "$as_ac_var=no"
62724 rm -f conftest.err conftest.$ac_objext \
62725 conftest$ac_exeext conftest.$ac_ext
62727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62729 if test `eval echo '${'$as_ac_var'}'` = yes; then
62730 cat >>confdefs.h <<_ACEOF
62731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62732 _ACEOF
62735 done
62745 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
62746 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
62747 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62748 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
62749 echo $ECHO_N "(cached) $ECHO_C" >&6
62750 else
62754 ac_ext=cc
62755 ac_cpp='$CXXCPP $CPPFLAGS'
62756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62760 cat >conftest.$ac_ext <<_ACEOF
62761 /* confdefs.h. */
62762 _ACEOF
62763 cat confdefs.h >>conftest.$ac_ext
62764 cat >>conftest.$ac_ext <<_ACEOF
62765 /* end confdefs.h. */
62766 #include <math.h>
62768 main ()
62770 frexpf(0, 0);
62772 return 0;
62774 _ACEOF
62775 rm -f conftest.$ac_objext
62776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62777 (eval $ac_compile) 2>conftest.er1
62778 ac_status=$?
62779 grep -v '^ *+' conftest.er1 >conftest.err
62780 rm -f conftest.er1
62781 cat conftest.err >&5
62782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62783 (exit $ac_status); } &&
62784 { ac_try='test -z "$ac_cxx_werror_flag"
62785 || test ! -s conftest.err'
62786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62787 (eval $ac_try) 2>&5
62788 ac_status=$?
62789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62790 (exit $ac_status); }; } &&
62791 { ac_try='test -s conftest.$ac_objext'
62792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62793 (eval $ac_try) 2>&5
62794 ac_status=$?
62795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62796 (exit $ac_status); }; }; then
62797 glibcxx_cv_func_frexpf_use=yes
62798 else
62799 echo "$as_me: failed program was:" >&5
62800 sed 's/^/| /' conftest.$ac_ext >&5
62802 glibcxx_cv_func_frexpf_use=no
62804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62805 ac_ext=c
62806 ac_cpp='$CPP $CPPFLAGS'
62807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62815 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
62816 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
62818 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62820 for ac_func in frexpf
62822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62823 echo "$as_me:$LINENO: checking for $ac_func" >&5
62824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62825 if eval "test \"\${$as_ac_var+set}\" = set"; then
62826 echo $ECHO_N "(cached) $ECHO_C" >&6
62827 else
62828 if test x$gcc_no_link = xyes; then
62829 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62831 { (exit 1); exit 1; }; }
62833 cat >conftest.$ac_ext <<_ACEOF
62834 /* confdefs.h. */
62835 _ACEOF
62836 cat confdefs.h >>conftest.$ac_ext
62837 cat >>conftest.$ac_ext <<_ACEOF
62838 /* end confdefs.h. */
62839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62841 #define $ac_func innocuous_$ac_func
62843 /* System header to define __stub macros and hopefully few prototypes,
62844 which can conflict with char $ac_func (); below.
62845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62846 <limits.h> exists even on freestanding compilers. */
62848 #ifdef __STDC__
62849 # include <limits.h>
62850 #else
62851 # include <assert.h>
62852 #endif
62854 #undef $ac_func
62856 /* Override any gcc2 internal prototype to avoid an error. */
62857 #ifdef __cplusplus
62858 extern "C"
62860 #endif
62861 /* We use char because int might match the return type of a gcc2
62862 builtin and then its argument prototype would still apply. */
62863 char $ac_func ();
62864 /* The GNU C library defines this for functions which it implements
62865 to always fail with ENOSYS. Some functions are actually named
62866 something starting with __ and the normal name is an alias. */
62867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62868 choke me
62869 #else
62870 char (*f) () = $ac_func;
62871 #endif
62872 #ifdef __cplusplus
62874 #endif
62877 main ()
62879 return f != $ac_func;
62881 return 0;
62883 _ACEOF
62884 rm -f conftest.$ac_objext conftest$ac_exeext
62885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62886 (eval $ac_link) 2>conftest.er1
62887 ac_status=$?
62888 grep -v '^ *+' conftest.er1 >conftest.err
62889 rm -f conftest.er1
62890 cat conftest.err >&5
62891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62892 (exit $ac_status); } &&
62893 { ac_try='test -z "$ac_c_werror_flag"
62894 || test ! -s conftest.err'
62895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62896 (eval $ac_try) 2>&5
62897 ac_status=$?
62898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62899 (exit $ac_status); }; } &&
62900 { ac_try='test -s conftest$ac_exeext'
62901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62902 (eval $ac_try) 2>&5
62903 ac_status=$?
62904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62905 (exit $ac_status); }; }; then
62906 eval "$as_ac_var=yes"
62907 else
62908 echo "$as_me: failed program was:" >&5
62909 sed 's/^/| /' conftest.$ac_ext >&5
62911 eval "$as_ac_var=no"
62913 rm -f conftest.err conftest.$ac_objext \
62914 conftest$ac_exeext conftest.$ac_ext
62916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62918 if test `eval echo '${'$as_ac_var'}'` = yes; then
62919 cat >>confdefs.h <<_ACEOF
62920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62921 _ACEOF
62924 done
62926 else
62928 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
62929 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
62930 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62931 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
62932 echo $ECHO_N "(cached) $ECHO_C" >&6
62933 else
62937 ac_ext=cc
62938 ac_cpp='$CXXCPP $CPPFLAGS'
62939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62943 cat >conftest.$ac_ext <<_ACEOF
62944 /* confdefs.h. */
62945 _ACEOF
62946 cat confdefs.h >>conftest.$ac_ext
62947 cat >>conftest.$ac_ext <<_ACEOF
62948 /* end confdefs.h. */
62949 #include <math.h>
62951 main ()
62953 _frexpf(0, 0);
62955 return 0;
62957 _ACEOF
62958 rm -f conftest.$ac_objext
62959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62960 (eval $ac_compile) 2>conftest.er1
62961 ac_status=$?
62962 grep -v '^ *+' conftest.er1 >conftest.err
62963 rm -f conftest.er1
62964 cat conftest.err >&5
62965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62966 (exit $ac_status); } &&
62967 { ac_try='test -z "$ac_cxx_werror_flag"
62968 || test ! -s conftest.err'
62969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62970 (eval $ac_try) 2>&5
62971 ac_status=$?
62972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62973 (exit $ac_status); }; } &&
62974 { ac_try='test -s conftest.$ac_objext'
62975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62976 (eval $ac_try) 2>&5
62977 ac_status=$?
62978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62979 (exit $ac_status); }; }; then
62980 glibcxx_cv_func__frexpf_use=yes
62981 else
62982 echo "$as_me: failed program was:" >&5
62983 sed 's/^/| /' conftest.$ac_ext >&5
62985 glibcxx_cv_func__frexpf_use=no
62987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62988 ac_ext=c
62989 ac_cpp='$CPP $CPPFLAGS'
62990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62998 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
62999 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
63001 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
63003 for ac_func in _frexpf
63005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63006 echo "$as_me:$LINENO: checking for $ac_func" >&5
63007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63008 if eval "test \"\${$as_ac_var+set}\" = set"; then
63009 echo $ECHO_N "(cached) $ECHO_C" >&6
63010 else
63011 if test x$gcc_no_link = xyes; then
63012 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63014 { (exit 1); exit 1; }; }
63016 cat >conftest.$ac_ext <<_ACEOF
63017 /* confdefs.h. */
63018 _ACEOF
63019 cat confdefs.h >>conftest.$ac_ext
63020 cat >>conftest.$ac_ext <<_ACEOF
63021 /* end confdefs.h. */
63022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63024 #define $ac_func innocuous_$ac_func
63026 /* System header to define __stub macros and hopefully few prototypes,
63027 which can conflict with char $ac_func (); below.
63028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63029 <limits.h> exists even on freestanding compilers. */
63031 #ifdef __STDC__
63032 # include <limits.h>
63033 #else
63034 # include <assert.h>
63035 #endif
63037 #undef $ac_func
63039 /* Override any gcc2 internal prototype to avoid an error. */
63040 #ifdef __cplusplus
63041 extern "C"
63043 #endif
63044 /* We use char because int might match the return type of a gcc2
63045 builtin and then its argument prototype would still apply. */
63046 char $ac_func ();
63047 /* The GNU C library defines this for functions which it implements
63048 to always fail with ENOSYS. Some functions are actually named
63049 something starting with __ and the normal name is an alias. */
63050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63051 choke me
63052 #else
63053 char (*f) () = $ac_func;
63054 #endif
63055 #ifdef __cplusplus
63057 #endif
63060 main ()
63062 return f != $ac_func;
63064 return 0;
63066 _ACEOF
63067 rm -f conftest.$ac_objext conftest$ac_exeext
63068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63069 (eval $ac_link) 2>conftest.er1
63070 ac_status=$?
63071 grep -v '^ *+' conftest.er1 >conftest.err
63072 rm -f conftest.er1
63073 cat conftest.err >&5
63074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63075 (exit $ac_status); } &&
63076 { ac_try='test -z "$ac_c_werror_flag"
63077 || test ! -s conftest.err'
63078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63079 (eval $ac_try) 2>&5
63080 ac_status=$?
63081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63082 (exit $ac_status); }; } &&
63083 { ac_try='test -s conftest$ac_exeext'
63084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63085 (eval $ac_try) 2>&5
63086 ac_status=$?
63087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63088 (exit $ac_status); }; }; then
63089 eval "$as_ac_var=yes"
63090 else
63091 echo "$as_me: failed program was:" >&5
63092 sed 's/^/| /' conftest.$ac_ext >&5
63094 eval "$as_ac_var=no"
63096 rm -f conftest.err conftest.$ac_objext \
63097 conftest$ac_exeext conftest.$ac_ext
63099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63101 if test `eval echo '${'$as_ac_var'}'` = yes; then
63102 cat >>confdefs.h <<_ACEOF
63103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63104 _ACEOF
63107 done
63117 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
63118 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
63119 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
63120 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
63121 echo $ECHO_N "(cached) $ECHO_C" >&6
63122 else
63126 ac_ext=cc
63127 ac_cpp='$CXXCPP $CPPFLAGS'
63128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63132 cat >conftest.$ac_ext <<_ACEOF
63133 /* confdefs.h. */
63134 _ACEOF
63135 cat confdefs.h >>conftest.$ac_ext
63136 cat >>conftest.$ac_ext <<_ACEOF
63137 /* end confdefs.h. */
63138 #include <math.h>
63140 main ()
63142 hypotf(0, 0);
63144 return 0;
63146 _ACEOF
63147 rm -f conftest.$ac_objext
63148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63149 (eval $ac_compile) 2>conftest.er1
63150 ac_status=$?
63151 grep -v '^ *+' conftest.er1 >conftest.err
63152 rm -f conftest.er1
63153 cat conftest.err >&5
63154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63155 (exit $ac_status); } &&
63156 { ac_try='test -z "$ac_cxx_werror_flag"
63157 || test ! -s conftest.err'
63158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63159 (eval $ac_try) 2>&5
63160 ac_status=$?
63161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63162 (exit $ac_status); }; } &&
63163 { ac_try='test -s conftest.$ac_objext'
63164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63165 (eval $ac_try) 2>&5
63166 ac_status=$?
63167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63168 (exit $ac_status); }; }; then
63169 glibcxx_cv_func_hypotf_use=yes
63170 else
63171 echo "$as_me: failed program was:" >&5
63172 sed 's/^/| /' conftest.$ac_ext >&5
63174 glibcxx_cv_func_hypotf_use=no
63176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63177 ac_ext=c
63178 ac_cpp='$CPP $CPPFLAGS'
63179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63187 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
63188 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
63190 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
63192 for ac_func in hypotf
63194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63195 echo "$as_me:$LINENO: checking for $ac_func" >&5
63196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63197 if eval "test \"\${$as_ac_var+set}\" = set"; then
63198 echo $ECHO_N "(cached) $ECHO_C" >&6
63199 else
63200 if test x$gcc_no_link = xyes; then
63201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63203 { (exit 1); exit 1; }; }
63205 cat >conftest.$ac_ext <<_ACEOF
63206 /* confdefs.h. */
63207 _ACEOF
63208 cat confdefs.h >>conftest.$ac_ext
63209 cat >>conftest.$ac_ext <<_ACEOF
63210 /* end confdefs.h. */
63211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63213 #define $ac_func innocuous_$ac_func
63215 /* System header to define __stub macros and hopefully few prototypes,
63216 which can conflict with char $ac_func (); below.
63217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63218 <limits.h> exists even on freestanding compilers. */
63220 #ifdef __STDC__
63221 # include <limits.h>
63222 #else
63223 # include <assert.h>
63224 #endif
63226 #undef $ac_func
63228 /* Override any gcc2 internal prototype to avoid an error. */
63229 #ifdef __cplusplus
63230 extern "C"
63232 #endif
63233 /* We use char because int might match the return type of a gcc2
63234 builtin and then its argument prototype would still apply. */
63235 char $ac_func ();
63236 /* The GNU C library defines this for functions which it implements
63237 to always fail with ENOSYS. Some functions are actually named
63238 something starting with __ and the normal name is an alias. */
63239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63240 choke me
63241 #else
63242 char (*f) () = $ac_func;
63243 #endif
63244 #ifdef __cplusplus
63246 #endif
63249 main ()
63251 return f != $ac_func;
63253 return 0;
63255 _ACEOF
63256 rm -f conftest.$ac_objext conftest$ac_exeext
63257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63258 (eval $ac_link) 2>conftest.er1
63259 ac_status=$?
63260 grep -v '^ *+' conftest.er1 >conftest.err
63261 rm -f conftest.er1
63262 cat conftest.err >&5
63263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63264 (exit $ac_status); } &&
63265 { ac_try='test -z "$ac_c_werror_flag"
63266 || test ! -s conftest.err'
63267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63268 (eval $ac_try) 2>&5
63269 ac_status=$?
63270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63271 (exit $ac_status); }; } &&
63272 { ac_try='test -s conftest$ac_exeext'
63273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63274 (eval $ac_try) 2>&5
63275 ac_status=$?
63276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63277 (exit $ac_status); }; }; then
63278 eval "$as_ac_var=yes"
63279 else
63280 echo "$as_me: failed program was:" >&5
63281 sed 's/^/| /' conftest.$ac_ext >&5
63283 eval "$as_ac_var=no"
63285 rm -f conftest.err conftest.$ac_objext \
63286 conftest$ac_exeext conftest.$ac_ext
63288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63290 if test `eval echo '${'$as_ac_var'}'` = yes; then
63291 cat >>confdefs.h <<_ACEOF
63292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63293 _ACEOF
63296 done
63298 else
63300 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
63301 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
63302 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
63303 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
63304 echo $ECHO_N "(cached) $ECHO_C" >&6
63305 else
63309 ac_ext=cc
63310 ac_cpp='$CXXCPP $CPPFLAGS'
63311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63315 cat >conftest.$ac_ext <<_ACEOF
63316 /* confdefs.h. */
63317 _ACEOF
63318 cat confdefs.h >>conftest.$ac_ext
63319 cat >>conftest.$ac_ext <<_ACEOF
63320 /* end confdefs.h. */
63321 #include <math.h>
63323 main ()
63325 _hypotf(0, 0);
63327 return 0;
63329 _ACEOF
63330 rm -f conftest.$ac_objext
63331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63332 (eval $ac_compile) 2>conftest.er1
63333 ac_status=$?
63334 grep -v '^ *+' conftest.er1 >conftest.err
63335 rm -f conftest.er1
63336 cat conftest.err >&5
63337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63338 (exit $ac_status); } &&
63339 { ac_try='test -z "$ac_cxx_werror_flag"
63340 || test ! -s conftest.err'
63341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63342 (eval $ac_try) 2>&5
63343 ac_status=$?
63344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63345 (exit $ac_status); }; } &&
63346 { ac_try='test -s conftest.$ac_objext'
63347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63348 (eval $ac_try) 2>&5
63349 ac_status=$?
63350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63351 (exit $ac_status); }; }; then
63352 glibcxx_cv_func__hypotf_use=yes
63353 else
63354 echo "$as_me: failed program was:" >&5
63355 sed 's/^/| /' conftest.$ac_ext >&5
63357 glibcxx_cv_func__hypotf_use=no
63359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63360 ac_ext=c
63361 ac_cpp='$CPP $CPPFLAGS'
63362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63370 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
63371 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
63373 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
63375 for ac_func in _hypotf
63377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63378 echo "$as_me:$LINENO: checking for $ac_func" >&5
63379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63380 if eval "test \"\${$as_ac_var+set}\" = set"; then
63381 echo $ECHO_N "(cached) $ECHO_C" >&6
63382 else
63383 if test x$gcc_no_link = xyes; then
63384 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63386 { (exit 1); exit 1; }; }
63388 cat >conftest.$ac_ext <<_ACEOF
63389 /* confdefs.h. */
63390 _ACEOF
63391 cat confdefs.h >>conftest.$ac_ext
63392 cat >>conftest.$ac_ext <<_ACEOF
63393 /* end confdefs.h. */
63394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63396 #define $ac_func innocuous_$ac_func
63398 /* System header to define __stub macros and hopefully few prototypes,
63399 which can conflict with char $ac_func (); below.
63400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63401 <limits.h> exists even on freestanding compilers. */
63403 #ifdef __STDC__
63404 # include <limits.h>
63405 #else
63406 # include <assert.h>
63407 #endif
63409 #undef $ac_func
63411 /* Override any gcc2 internal prototype to avoid an error. */
63412 #ifdef __cplusplus
63413 extern "C"
63415 #endif
63416 /* We use char because int might match the return type of a gcc2
63417 builtin and then its argument prototype would still apply. */
63418 char $ac_func ();
63419 /* The GNU C library defines this for functions which it implements
63420 to always fail with ENOSYS. Some functions are actually named
63421 something starting with __ and the normal name is an alias. */
63422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63423 choke me
63424 #else
63425 char (*f) () = $ac_func;
63426 #endif
63427 #ifdef __cplusplus
63429 #endif
63432 main ()
63434 return f != $ac_func;
63436 return 0;
63438 _ACEOF
63439 rm -f conftest.$ac_objext conftest$ac_exeext
63440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63441 (eval $ac_link) 2>conftest.er1
63442 ac_status=$?
63443 grep -v '^ *+' conftest.er1 >conftest.err
63444 rm -f conftest.er1
63445 cat conftest.err >&5
63446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63447 (exit $ac_status); } &&
63448 { ac_try='test -z "$ac_c_werror_flag"
63449 || test ! -s conftest.err'
63450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63451 (eval $ac_try) 2>&5
63452 ac_status=$?
63453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63454 (exit $ac_status); }; } &&
63455 { ac_try='test -s conftest$ac_exeext'
63456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63457 (eval $ac_try) 2>&5
63458 ac_status=$?
63459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63460 (exit $ac_status); }; }; then
63461 eval "$as_ac_var=yes"
63462 else
63463 echo "$as_me: failed program was:" >&5
63464 sed 's/^/| /' conftest.$ac_ext >&5
63466 eval "$as_ac_var=no"
63468 rm -f conftest.err conftest.$ac_objext \
63469 conftest$ac_exeext conftest.$ac_ext
63471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63473 if test `eval echo '${'$as_ac_var'}'` = yes; then
63474 cat >>confdefs.h <<_ACEOF
63475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63476 _ACEOF
63479 done
63489 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
63490 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
63491 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
63492 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
63493 echo $ECHO_N "(cached) $ECHO_C" >&6
63494 else
63498 ac_ext=cc
63499 ac_cpp='$CXXCPP $CPPFLAGS'
63500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63504 cat >conftest.$ac_ext <<_ACEOF
63505 /* confdefs.h. */
63506 _ACEOF
63507 cat confdefs.h >>conftest.$ac_ext
63508 cat >>conftest.$ac_ext <<_ACEOF
63509 /* end confdefs.h. */
63510 #include <math.h>
63512 main ()
63514 ldexpf(0, 0);
63516 return 0;
63518 _ACEOF
63519 rm -f conftest.$ac_objext
63520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63521 (eval $ac_compile) 2>conftest.er1
63522 ac_status=$?
63523 grep -v '^ *+' conftest.er1 >conftest.err
63524 rm -f conftest.er1
63525 cat conftest.err >&5
63526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63527 (exit $ac_status); } &&
63528 { ac_try='test -z "$ac_cxx_werror_flag"
63529 || test ! -s conftest.err'
63530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63531 (eval $ac_try) 2>&5
63532 ac_status=$?
63533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63534 (exit $ac_status); }; } &&
63535 { ac_try='test -s conftest.$ac_objext'
63536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63537 (eval $ac_try) 2>&5
63538 ac_status=$?
63539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63540 (exit $ac_status); }; }; then
63541 glibcxx_cv_func_ldexpf_use=yes
63542 else
63543 echo "$as_me: failed program was:" >&5
63544 sed 's/^/| /' conftest.$ac_ext >&5
63546 glibcxx_cv_func_ldexpf_use=no
63548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63549 ac_ext=c
63550 ac_cpp='$CPP $CPPFLAGS'
63551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63559 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
63560 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
63562 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
63564 for ac_func in ldexpf
63566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63567 echo "$as_me:$LINENO: checking for $ac_func" >&5
63568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63569 if eval "test \"\${$as_ac_var+set}\" = set"; then
63570 echo $ECHO_N "(cached) $ECHO_C" >&6
63571 else
63572 if test x$gcc_no_link = xyes; then
63573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63575 { (exit 1); exit 1; }; }
63577 cat >conftest.$ac_ext <<_ACEOF
63578 /* confdefs.h. */
63579 _ACEOF
63580 cat confdefs.h >>conftest.$ac_ext
63581 cat >>conftest.$ac_ext <<_ACEOF
63582 /* end confdefs.h. */
63583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63585 #define $ac_func innocuous_$ac_func
63587 /* System header to define __stub macros and hopefully few prototypes,
63588 which can conflict with char $ac_func (); below.
63589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63590 <limits.h> exists even on freestanding compilers. */
63592 #ifdef __STDC__
63593 # include <limits.h>
63594 #else
63595 # include <assert.h>
63596 #endif
63598 #undef $ac_func
63600 /* Override any gcc2 internal prototype to avoid an error. */
63601 #ifdef __cplusplus
63602 extern "C"
63604 #endif
63605 /* We use char because int might match the return type of a gcc2
63606 builtin and then its argument prototype would still apply. */
63607 char $ac_func ();
63608 /* The GNU C library defines this for functions which it implements
63609 to always fail with ENOSYS. Some functions are actually named
63610 something starting with __ and the normal name is an alias. */
63611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63612 choke me
63613 #else
63614 char (*f) () = $ac_func;
63615 #endif
63616 #ifdef __cplusplus
63618 #endif
63621 main ()
63623 return f != $ac_func;
63625 return 0;
63627 _ACEOF
63628 rm -f conftest.$ac_objext conftest$ac_exeext
63629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63630 (eval $ac_link) 2>conftest.er1
63631 ac_status=$?
63632 grep -v '^ *+' conftest.er1 >conftest.err
63633 rm -f conftest.er1
63634 cat conftest.err >&5
63635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63636 (exit $ac_status); } &&
63637 { ac_try='test -z "$ac_c_werror_flag"
63638 || test ! -s conftest.err'
63639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63640 (eval $ac_try) 2>&5
63641 ac_status=$?
63642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63643 (exit $ac_status); }; } &&
63644 { ac_try='test -s conftest$ac_exeext'
63645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63646 (eval $ac_try) 2>&5
63647 ac_status=$?
63648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63649 (exit $ac_status); }; }; then
63650 eval "$as_ac_var=yes"
63651 else
63652 echo "$as_me: failed program was:" >&5
63653 sed 's/^/| /' conftest.$ac_ext >&5
63655 eval "$as_ac_var=no"
63657 rm -f conftest.err conftest.$ac_objext \
63658 conftest$ac_exeext conftest.$ac_ext
63660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63662 if test `eval echo '${'$as_ac_var'}'` = yes; then
63663 cat >>confdefs.h <<_ACEOF
63664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63665 _ACEOF
63668 done
63670 else
63672 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
63673 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
63674 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
63675 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
63676 echo $ECHO_N "(cached) $ECHO_C" >&6
63677 else
63681 ac_ext=cc
63682 ac_cpp='$CXXCPP $CPPFLAGS'
63683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63687 cat >conftest.$ac_ext <<_ACEOF
63688 /* confdefs.h. */
63689 _ACEOF
63690 cat confdefs.h >>conftest.$ac_ext
63691 cat >>conftest.$ac_ext <<_ACEOF
63692 /* end confdefs.h. */
63693 #include <math.h>
63695 main ()
63697 _ldexpf(0, 0);
63699 return 0;
63701 _ACEOF
63702 rm -f conftest.$ac_objext
63703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63704 (eval $ac_compile) 2>conftest.er1
63705 ac_status=$?
63706 grep -v '^ *+' conftest.er1 >conftest.err
63707 rm -f conftest.er1
63708 cat conftest.err >&5
63709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63710 (exit $ac_status); } &&
63711 { ac_try='test -z "$ac_cxx_werror_flag"
63712 || test ! -s conftest.err'
63713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63714 (eval $ac_try) 2>&5
63715 ac_status=$?
63716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63717 (exit $ac_status); }; } &&
63718 { ac_try='test -s conftest.$ac_objext'
63719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63720 (eval $ac_try) 2>&5
63721 ac_status=$?
63722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63723 (exit $ac_status); }; }; then
63724 glibcxx_cv_func__ldexpf_use=yes
63725 else
63726 echo "$as_me: failed program was:" >&5
63727 sed 's/^/| /' conftest.$ac_ext >&5
63729 glibcxx_cv_func__ldexpf_use=no
63731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63732 ac_ext=c
63733 ac_cpp='$CPP $CPPFLAGS'
63734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63742 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
63743 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
63745 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
63747 for ac_func in _ldexpf
63749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63750 echo "$as_me:$LINENO: checking for $ac_func" >&5
63751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63752 if eval "test \"\${$as_ac_var+set}\" = set"; then
63753 echo $ECHO_N "(cached) $ECHO_C" >&6
63754 else
63755 if test x$gcc_no_link = xyes; then
63756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63758 { (exit 1); exit 1; }; }
63760 cat >conftest.$ac_ext <<_ACEOF
63761 /* confdefs.h. */
63762 _ACEOF
63763 cat confdefs.h >>conftest.$ac_ext
63764 cat >>conftest.$ac_ext <<_ACEOF
63765 /* end confdefs.h. */
63766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63768 #define $ac_func innocuous_$ac_func
63770 /* System header to define __stub macros and hopefully few prototypes,
63771 which can conflict with char $ac_func (); below.
63772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63773 <limits.h> exists even on freestanding compilers. */
63775 #ifdef __STDC__
63776 # include <limits.h>
63777 #else
63778 # include <assert.h>
63779 #endif
63781 #undef $ac_func
63783 /* Override any gcc2 internal prototype to avoid an error. */
63784 #ifdef __cplusplus
63785 extern "C"
63787 #endif
63788 /* We use char because int might match the return type of a gcc2
63789 builtin and then its argument prototype would still apply. */
63790 char $ac_func ();
63791 /* The GNU C library defines this for functions which it implements
63792 to always fail with ENOSYS. Some functions are actually named
63793 something starting with __ and the normal name is an alias. */
63794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63795 choke me
63796 #else
63797 char (*f) () = $ac_func;
63798 #endif
63799 #ifdef __cplusplus
63801 #endif
63804 main ()
63806 return f != $ac_func;
63808 return 0;
63810 _ACEOF
63811 rm -f conftest.$ac_objext conftest$ac_exeext
63812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63813 (eval $ac_link) 2>conftest.er1
63814 ac_status=$?
63815 grep -v '^ *+' conftest.er1 >conftest.err
63816 rm -f conftest.er1
63817 cat conftest.err >&5
63818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63819 (exit $ac_status); } &&
63820 { ac_try='test -z "$ac_c_werror_flag"
63821 || test ! -s conftest.err'
63822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63823 (eval $ac_try) 2>&5
63824 ac_status=$?
63825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63826 (exit $ac_status); }; } &&
63827 { ac_try='test -s conftest$ac_exeext'
63828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63829 (eval $ac_try) 2>&5
63830 ac_status=$?
63831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63832 (exit $ac_status); }; }; then
63833 eval "$as_ac_var=yes"
63834 else
63835 echo "$as_me: failed program was:" >&5
63836 sed 's/^/| /' conftest.$ac_ext >&5
63838 eval "$as_ac_var=no"
63840 rm -f conftest.err conftest.$ac_objext \
63841 conftest$ac_exeext conftest.$ac_ext
63843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63845 if test `eval echo '${'$as_ac_var'}'` = yes; then
63846 cat >>confdefs.h <<_ACEOF
63847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63848 _ACEOF
63851 done
63861 echo "$as_me:$LINENO: checking for logf declaration" >&5
63862 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
63863 if test x${glibcxx_cv_func_logf_use+set} != xset; then
63864 if test "${glibcxx_cv_func_logf_use+set}" = set; then
63865 echo $ECHO_N "(cached) $ECHO_C" >&6
63866 else
63870 ac_ext=cc
63871 ac_cpp='$CXXCPP $CPPFLAGS'
63872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63876 cat >conftest.$ac_ext <<_ACEOF
63877 /* confdefs.h. */
63878 _ACEOF
63879 cat confdefs.h >>conftest.$ac_ext
63880 cat >>conftest.$ac_ext <<_ACEOF
63881 /* end confdefs.h. */
63882 #include <math.h>
63883 #ifdef HAVE_IEEEFP_H
63884 #include <ieeefp.h>
63885 #endif
63888 main ()
63890 logf(0);
63892 return 0;
63894 _ACEOF
63895 rm -f conftest.$ac_objext
63896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63897 (eval $ac_compile) 2>conftest.er1
63898 ac_status=$?
63899 grep -v '^ *+' conftest.er1 >conftest.err
63900 rm -f conftest.er1
63901 cat conftest.err >&5
63902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63903 (exit $ac_status); } &&
63904 { ac_try='test -z "$ac_cxx_werror_flag"
63905 || test ! -s conftest.err'
63906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63907 (eval $ac_try) 2>&5
63908 ac_status=$?
63909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63910 (exit $ac_status); }; } &&
63911 { ac_try='test -s conftest.$ac_objext'
63912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63913 (eval $ac_try) 2>&5
63914 ac_status=$?
63915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63916 (exit $ac_status); }; }; then
63917 glibcxx_cv_func_logf_use=yes
63918 else
63919 echo "$as_me: failed program was:" >&5
63920 sed 's/^/| /' conftest.$ac_ext >&5
63922 glibcxx_cv_func_logf_use=no
63924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63925 ac_ext=c
63926 ac_cpp='$CPP $CPPFLAGS'
63927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63935 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
63936 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
63938 if test x$glibcxx_cv_func_logf_use = x"yes"; then
63940 for ac_func in logf
63942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63943 echo "$as_me:$LINENO: checking for $ac_func" >&5
63944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63945 if eval "test \"\${$as_ac_var+set}\" = set"; then
63946 echo $ECHO_N "(cached) $ECHO_C" >&6
63947 else
63948 if test x$gcc_no_link = xyes; then
63949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63951 { (exit 1); exit 1; }; }
63953 cat >conftest.$ac_ext <<_ACEOF
63954 /* confdefs.h. */
63955 _ACEOF
63956 cat confdefs.h >>conftest.$ac_ext
63957 cat >>conftest.$ac_ext <<_ACEOF
63958 /* end confdefs.h. */
63959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63961 #define $ac_func innocuous_$ac_func
63963 /* System header to define __stub macros and hopefully few prototypes,
63964 which can conflict with char $ac_func (); below.
63965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63966 <limits.h> exists even on freestanding compilers. */
63968 #ifdef __STDC__
63969 # include <limits.h>
63970 #else
63971 # include <assert.h>
63972 #endif
63974 #undef $ac_func
63976 /* Override any gcc2 internal prototype to avoid an error. */
63977 #ifdef __cplusplus
63978 extern "C"
63980 #endif
63981 /* We use char because int might match the return type of a gcc2
63982 builtin and then its argument prototype would still apply. */
63983 char $ac_func ();
63984 /* The GNU C library defines this for functions which it implements
63985 to always fail with ENOSYS. Some functions are actually named
63986 something starting with __ and the normal name is an alias. */
63987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63988 choke me
63989 #else
63990 char (*f) () = $ac_func;
63991 #endif
63992 #ifdef __cplusplus
63994 #endif
63997 main ()
63999 return f != $ac_func;
64001 return 0;
64003 _ACEOF
64004 rm -f conftest.$ac_objext conftest$ac_exeext
64005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64006 (eval $ac_link) 2>conftest.er1
64007 ac_status=$?
64008 grep -v '^ *+' conftest.er1 >conftest.err
64009 rm -f conftest.er1
64010 cat conftest.err >&5
64011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64012 (exit $ac_status); } &&
64013 { ac_try='test -z "$ac_c_werror_flag"
64014 || test ! -s conftest.err'
64015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64016 (eval $ac_try) 2>&5
64017 ac_status=$?
64018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64019 (exit $ac_status); }; } &&
64020 { ac_try='test -s conftest$ac_exeext'
64021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64022 (eval $ac_try) 2>&5
64023 ac_status=$?
64024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64025 (exit $ac_status); }; }; then
64026 eval "$as_ac_var=yes"
64027 else
64028 echo "$as_me: failed program was:" >&5
64029 sed 's/^/| /' conftest.$ac_ext >&5
64031 eval "$as_ac_var=no"
64033 rm -f conftest.err conftest.$ac_objext \
64034 conftest$ac_exeext conftest.$ac_ext
64036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64038 if test `eval echo '${'$as_ac_var'}'` = yes; then
64039 cat >>confdefs.h <<_ACEOF
64040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64041 _ACEOF
64044 done
64046 else
64048 echo "$as_me:$LINENO: checking for _logf declaration" >&5
64049 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
64050 if test x${glibcxx_cv_func__logf_use+set} != xset; then
64051 if test "${glibcxx_cv_func__logf_use+set}" = set; then
64052 echo $ECHO_N "(cached) $ECHO_C" >&6
64053 else
64057 ac_ext=cc
64058 ac_cpp='$CXXCPP $CPPFLAGS'
64059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64063 cat >conftest.$ac_ext <<_ACEOF
64064 /* confdefs.h. */
64065 _ACEOF
64066 cat confdefs.h >>conftest.$ac_ext
64067 cat >>conftest.$ac_ext <<_ACEOF
64068 /* end confdefs.h. */
64069 #include <math.h>
64070 #ifdef HAVE_IEEEFP_H
64071 #include <ieeefp.h>
64072 #endif
64075 main ()
64077 _logf(0);
64079 return 0;
64081 _ACEOF
64082 rm -f conftest.$ac_objext
64083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64084 (eval $ac_compile) 2>conftest.er1
64085 ac_status=$?
64086 grep -v '^ *+' conftest.er1 >conftest.err
64087 rm -f conftest.er1
64088 cat conftest.err >&5
64089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64090 (exit $ac_status); } &&
64091 { ac_try='test -z "$ac_cxx_werror_flag"
64092 || test ! -s conftest.err'
64093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64094 (eval $ac_try) 2>&5
64095 ac_status=$?
64096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64097 (exit $ac_status); }; } &&
64098 { ac_try='test -s conftest.$ac_objext'
64099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64100 (eval $ac_try) 2>&5
64101 ac_status=$?
64102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64103 (exit $ac_status); }; }; then
64104 glibcxx_cv_func__logf_use=yes
64105 else
64106 echo "$as_me: failed program was:" >&5
64107 sed 's/^/| /' conftest.$ac_ext >&5
64109 glibcxx_cv_func__logf_use=no
64111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64112 ac_ext=c
64113 ac_cpp='$CPP $CPPFLAGS'
64114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64122 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
64123 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
64125 if test x$glibcxx_cv_func__logf_use = x"yes"; then
64127 for ac_func in _logf
64129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64130 echo "$as_me:$LINENO: checking for $ac_func" >&5
64131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64132 if eval "test \"\${$as_ac_var+set}\" = set"; then
64133 echo $ECHO_N "(cached) $ECHO_C" >&6
64134 else
64135 if test x$gcc_no_link = xyes; then
64136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64138 { (exit 1); exit 1; }; }
64140 cat >conftest.$ac_ext <<_ACEOF
64141 /* confdefs.h. */
64142 _ACEOF
64143 cat confdefs.h >>conftest.$ac_ext
64144 cat >>conftest.$ac_ext <<_ACEOF
64145 /* end confdefs.h. */
64146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64148 #define $ac_func innocuous_$ac_func
64150 /* System header to define __stub macros and hopefully few prototypes,
64151 which can conflict with char $ac_func (); below.
64152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64153 <limits.h> exists even on freestanding compilers. */
64155 #ifdef __STDC__
64156 # include <limits.h>
64157 #else
64158 # include <assert.h>
64159 #endif
64161 #undef $ac_func
64163 /* Override any gcc2 internal prototype to avoid an error. */
64164 #ifdef __cplusplus
64165 extern "C"
64167 #endif
64168 /* We use char because int might match the return type of a gcc2
64169 builtin and then its argument prototype would still apply. */
64170 char $ac_func ();
64171 /* The GNU C library defines this for functions which it implements
64172 to always fail with ENOSYS. Some functions are actually named
64173 something starting with __ and the normal name is an alias. */
64174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64175 choke me
64176 #else
64177 char (*f) () = $ac_func;
64178 #endif
64179 #ifdef __cplusplus
64181 #endif
64184 main ()
64186 return f != $ac_func;
64188 return 0;
64190 _ACEOF
64191 rm -f conftest.$ac_objext conftest$ac_exeext
64192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64193 (eval $ac_link) 2>conftest.er1
64194 ac_status=$?
64195 grep -v '^ *+' conftest.er1 >conftest.err
64196 rm -f conftest.er1
64197 cat conftest.err >&5
64198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64199 (exit $ac_status); } &&
64200 { ac_try='test -z "$ac_c_werror_flag"
64201 || test ! -s conftest.err'
64202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64203 (eval $ac_try) 2>&5
64204 ac_status=$?
64205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64206 (exit $ac_status); }; } &&
64207 { ac_try='test -s conftest$ac_exeext'
64208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64209 (eval $ac_try) 2>&5
64210 ac_status=$?
64211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64212 (exit $ac_status); }; }; then
64213 eval "$as_ac_var=yes"
64214 else
64215 echo "$as_me: failed program was:" >&5
64216 sed 's/^/| /' conftest.$ac_ext >&5
64218 eval "$as_ac_var=no"
64220 rm -f conftest.err conftest.$ac_objext \
64221 conftest$ac_exeext conftest.$ac_ext
64223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64225 if test `eval echo '${'$as_ac_var'}'` = yes; then
64226 cat >>confdefs.h <<_ACEOF
64227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64228 _ACEOF
64231 done
64241 echo "$as_me:$LINENO: checking for log10f declaration" >&5
64242 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
64243 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
64244 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
64245 echo $ECHO_N "(cached) $ECHO_C" >&6
64246 else
64250 ac_ext=cc
64251 ac_cpp='$CXXCPP $CPPFLAGS'
64252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64256 cat >conftest.$ac_ext <<_ACEOF
64257 /* confdefs.h. */
64258 _ACEOF
64259 cat confdefs.h >>conftest.$ac_ext
64260 cat >>conftest.$ac_ext <<_ACEOF
64261 /* end confdefs.h. */
64262 #include <math.h>
64263 #ifdef HAVE_IEEEFP_H
64264 #include <ieeefp.h>
64265 #endif
64268 main ()
64270 log10f(0);
64272 return 0;
64274 _ACEOF
64275 rm -f conftest.$ac_objext
64276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64277 (eval $ac_compile) 2>conftest.er1
64278 ac_status=$?
64279 grep -v '^ *+' conftest.er1 >conftest.err
64280 rm -f conftest.er1
64281 cat conftest.err >&5
64282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64283 (exit $ac_status); } &&
64284 { ac_try='test -z "$ac_cxx_werror_flag"
64285 || test ! -s conftest.err'
64286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64287 (eval $ac_try) 2>&5
64288 ac_status=$?
64289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64290 (exit $ac_status); }; } &&
64291 { ac_try='test -s conftest.$ac_objext'
64292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64293 (eval $ac_try) 2>&5
64294 ac_status=$?
64295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64296 (exit $ac_status); }; }; then
64297 glibcxx_cv_func_log10f_use=yes
64298 else
64299 echo "$as_me: failed program was:" >&5
64300 sed 's/^/| /' conftest.$ac_ext >&5
64302 glibcxx_cv_func_log10f_use=no
64304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64305 ac_ext=c
64306 ac_cpp='$CPP $CPPFLAGS'
64307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64315 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
64316 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
64318 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
64320 for ac_func in log10f
64322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64323 echo "$as_me:$LINENO: checking for $ac_func" >&5
64324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64325 if eval "test \"\${$as_ac_var+set}\" = set"; then
64326 echo $ECHO_N "(cached) $ECHO_C" >&6
64327 else
64328 if test x$gcc_no_link = xyes; then
64329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64331 { (exit 1); exit 1; }; }
64333 cat >conftest.$ac_ext <<_ACEOF
64334 /* confdefs.h. */
64335 _ACEOF
64336 cat confdefs.h >>conftest.$ac_ext
64337 cat >>conftest.$ac_ext <<_ACEOF
64338 /* end confdefs.h. */
64339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64341 #define $ac_func innocuous_$ac_func
64343 /* System header to define __stub macros and hopefully few prototypes,
64344 which can conflict with char $ac_func (); below.
64345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64346 <limits.h> exists even on freestanding compilers. */
64348 #ifdef __STDC__
64349 # include <limits.h>
64350 #else
64351 # include <assert.h>
64352 #endif
64354 #undef $ac_func
64356 /* Override any gcc2 internal prototype to avoid an error. */
64357 #ifdef __cplusplus
64358 extern "C"
64360 #endif
64361 /* We use char because int might match the return type of a gcc2
64362 builtin and then its argument prototype would still apply. */
64363 char $ac_func ();
64364 /* The GNU C library defines this for functions which it implements
64365 to always fail with ENOSYS. Some functions are actually named
64366 something starting with __ and the normal name is an alias. */
64367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64368 choke me
64369 #else
64370 char (*f) () = $ac_func;
64371 #endif
64372 #ifdef __cplusplus
64374 #endif
64377 main ()
64379 return f != $ac_func;
64381 return 0;
64383 _ACEOF
64384 rm -f conftest.$ac_objext conftest$ac_exeext
64385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64386 (eval $ac_link) 2>conftest.er1
64387 ac_status=$?
64388 grep -v '^ *+' conftest.er1 >conftest.err
64389 rm -f conftest.er1
64390 cat conftest.err >&5
64391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64392 (exit $ac_status); } &&
64393 { ac_try='test -z "$ac_c_werror_flag"
64394 || test ! -s conftest.err'
64395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64396 (eval $ac_try) 2>&5
64397 ac_status=$?
64398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64399 (exit $ac_status); }; } &&
64400 { ac_try='test -s conftest$ac_exeext'
64401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64402 (eval $ac_try) 2>&5
64403 ac_status=$?
64404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64405 (exit $ac_status); }; }; then
64406 eval "$as_ac_var=yes"
64407 else
64408 echo "$as_me: failed program was:" >&5
64409 sed 's/^/| /' conftest.$ac_ext >&5
64411 eval "$as_ac_var=no"
64413 rm -f conftest.err conftest.$ac_objext \
64414 conftest$ac_exeext conftest.$ac_ext
64416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64418 if test `eval echo '${'$as_ac_var'}'` = yes; then
64419 cat >>confdefs.h <<_ACEOF
64420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64421 _ACEOF
64424 done
64426 else
64428 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
64429 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
64430 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
64431 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
64432 echo $ECHO_N "(cached) $ECHO_C" >&6
64433 else
64437 ac_ext=cc
64438 ac_cpp='$CXXCPP $CPPFLAGS'
64439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64443 cat >conftest.$ac_ext <<_ACEOF
64444 /* confdefs.h. */
64445 _ACEOF
64446 cat confdefs.h >>conftest.$ac_ext
64447 cat >>conftest.$ac_ext <<_ACEOF
64448 /* end confdefs.h. */
64449 #include <math.h>
64450 #ifdef HAVE_IEEEFP_H
64451 #include <ieeefp.h>
64452 #endif
64455 main ()
64457 _log10f(0);
64459 return 0;
64461 _ACEOF
64462 rm -f conftest.$ac_objext
64463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64464 (eval $ac_compile) 2>conftest.er1
64465 ac_status=$?
64466 grep -v '^ *+' conftest.er1 >conftest.err
64467 rm -f conftest.er1
64468 cat conftest.err >&5
64469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64470 (exit $ac_status); } &&
64471 { ac_try='test -z "$ac_cxx_werror_flag"
64472 || test ! -s conftest.err'
64473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64474 (eval $ac_try) 2>&5
64475 ac_status=$?
64476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64477 (exit $ac_status); }; } &&
64478 { ac_try='test -s conftest.$ac_objext'
64479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64480 (eval $ac_try) 2>&5
64481 ac_status=$?
64482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64483 (exit $ac_status); }; }; then
64484 glibcxx_cv_func__log10f_use=yes
64485 else
64486 echo "$as_me: failed program was:" >&5
64487 sed 's/^/| /' conftest.$ac_ext >&5
64489 glibcxx_cv_func__log10f_use=no
64491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64492 ac_ext=c
64493 ac_cpp='$CPP $CPPFLAGS'
64494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64502 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
64503 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
64505 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
64507 for ac_func in _log10f
64509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64510 echo "$as_me:$LINENO: checking for $ac_func" >&5
64511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64512 if eval "test \"\${$as_ac_var+set}\" = set"; then
64513 echo $ECHO_N "(cached) $ECHO_C" >&6
64514 else
64515 if test x$gcc_no_link = xyes; then
64516 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64518 { (exit 1); exit 1; }; }
64520 cat >conftest.$ac_ext <<_ACEOF
64521 /* confdefs.h. */
64522 _ACEOF
64523 cat confdefs.h >>conftest.$ac_ext
64524 cat >>conftest.$ac_ext <<_ACEOF
64525 /* end confdefs.h. */
64526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64528 #define $ac_func innocuous_$ac_func
64530 /* System header to define __stub macros and hopefully few prototypes,
64531 which can conflict with char $ac_func (); below.
64532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64533 <limits.h> exists even on freestanding compilers. */
64535 #ifdef __STDC__
64536 # include <limits.h>
64537 #else
64538 # include <assert.h>
64539 #endif
64541 #undef $ac_func
64543 /* Override any gcc2 internal prototype to avoid an error. */
64544 #ifdef __cplusplus
64545 extern "C"
64547 #endif
64548 /* We use char because int might match the return type of a gcc2
64549 builtin and then its argument prototype would still apply. */
64550 char $ac_func ();
64551 /* The GNU C library defines this for functions which it implements
64552 to always fail with ENOSYS. Some functions are actually named
64553 something starting with __ and the normal name is an alias. */
64554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64555 choke me
64556 #else
64557 char (*f) () = $ac_func;
64558 #endif
64559 #ifdef __cplusplus
64561 #endif
64564 main ()
64566 return f != $ac_func;
64568 return 0;
64570 _ACEOF
64571 rm -f conftest.$ac_objext conftest$ac_exeext
64572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64573 (eval $ac_link) 2>conftest.er1
64574 ac_status=$?
64575 grep -v '^ *+' conftest.er1 >conftest.err
64576 rm -f conftest.er1
64577 cat conftest.err >&5
64578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64579 (exit $ac_status); } &&
64580 { ac_try='test -z "$ac_c_werror_flag"
64581 || test ! -s conftest.err'
64582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64583 (eval $ac_try) 2>&5
64584 ac_status=$?
64585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64586 (exit $ac_status); }; } &&
64587 { ac_try='test -s conftest$ac_exeext'
64588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64589 (eval $ac_try) 2>&5
64590 ac_status=$?
64591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64592 (exit $ac_status); }; }; then
64593 eval "$as_ac_var=yes"
64594 else
64595 echo "$as_me: failed program was:" >&5
64596 sed 's/^/| /' conftest.$ac_ext >&5
64598 eval "$as_ac_var=no"
64600 rm -f conftest.err conftest.$ac_objext \
64601 conftest$ac_exeext conftest.$ac_ext
64603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64605 if test `eval echo '${'$as_ac_var'}'` = yes; then
64606 cat >>confdefs.h <<_ACEOF
64607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64608 _ACEOF
64611 done
64621 echo "$as_me:$LINENO: checking for modff declaration" >&5
64622 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
64623 if test x${glibcxx_cv_func_modff_use+set} != xset; then
64624 if test "${glibcxx_cv_func_modff_use+set}" = set; then
64625 echo $ECHO_N "(cached) $ECHO_C" >&6
64626 else
64630 ac_ext=cc
64631 ac_cpp='$CXXCPP $CPPFLAGS'
64632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64636 cat >conftest.$ac_ext <<_ACEOF
64637 /* confdefs.h. */
64638 _ACEOF
64639 cat confdefs.h >>conftest.$ac_ext
64640 cat >>conftest.$ac_ext <<_ACEOF
64641 /* end confdefs.h. */
64642 #include <math.h>
64644 main ()
64646 modff(0, 0);
64648 return 0;
64650 _ACEOF
64651 rm -f conftest.$ac_objext
64652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64653 (eval $ac_compile) 2>conftest.er1
64654 ac_status=$?
64655 grep -v '^ *+' conftest.er1 >conftest.err
64656 rm -f conftest.er1
64657 cat conftest.err >&5
64658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64659 (exit $ac_status); } &&
64660 { ac_try='test -z "$ac_cxx_werror_flag"
64661 || test ! -s conftest.err'
64662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64663 (eval $ac_try) 2>&5
64664 ac_status=$?
64665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64666 (exit $ac_status); }; } &&
64667 { ac_try='test -s conftest.$ac_objext'
64668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64669 (eval $ac_try) 2>&5
64670 ac_status=$?
64671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64672 (exit $ac_status); }; }; then
64673 glibcxx_cv_func_modff_use=yes
64674 else
64675 echo "$as_me: failed program was:" >&5
64676 sed 's/^/| /' conftest.$ac_ext >&5
64678 glibcxx_cv_func_modff_use=no
64680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64681 ac_ext=c
64682 ac_cpp='$CPP $CPPFLAGS'
64683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64691 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
64692 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
64694 if test x$glibcxx_cv_func_modff_use = x"yes"; then
64696 for ac_func in modff
64698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64699 echo "$as_me:$LINENO: checking for $ac_func" >&5
64700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64701 if eval "test \"\${$as_ac_var+set}\" = set"; then
64702 echo $ECHO_N "(cached) $ECHO_C" >&6
64703 else
64704 if test x$gcc_no_link = xyes; then
64705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64707 { (exit 1); exit 1; }; }
64709 cat >conftest.$ac_ext <<_ACEOF
64710 /* confdefs.h. */
64711 _ACEOF
64712 cat confdefs.h >>conftest.$ac_ext
64713 cat >>conftest.$ac_ext <<_ACEOF
64714 /* end confdefs.h. */
64715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64717 #define $ac_func innocuous_$ac_func
64719 /* System header to define __stub macros and hopefully few prototypes,
64720 which can conflict with char $ac_func (); below.
64721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64722 <limits.h> exists even on freestanding compilers. */
64724 #ifdef __STDC__
64725 # include <limits.h>
64726 #else
64727 # include <assert.h>
64728 #endif
64730 #undef $ac_func
64732 /* Override any gcc2 internal prototype to avoid an error. */
64733 #ifdef __cplusplus
64734 extern "C"
64736 #endif
64737 /* We use char because int might match the return type of a gcc2
64738 builtin and then its argument prototype would still apply. */
64739 char $ac_func ();
64740 /* The GNU C library defines this for functions which it implements
64741 to always fail with ENOSYS. Some functions are actually named
64742 something starting with __ and the normal name is an alias. */
64743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64744 choke me
64745 #else
64746 char (*f) () = $ac_func;
64747 #endif
64748 #ifdef __cplusplus
64750 #endif
64753 main ()
64755 return f != $ac_func;
64757 return 0;
64759 _ACEOF
64760 rm -f conftest.$ac_objext conftest$ac_exeext
64761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64762 (eval $ac_link) 2>conftest.er1
64763 ac_status=$?
64764 grep -v '^ *+' conftest.er1 >conftest.err
64765 rm -f conftest.er1
64766 cat conftest.err >&5
64767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64768 (exit $ac_status); } &&
64769 { ac_try='test -z "$ac_c_werror_flag"
64770 || test ! -s conftest.err'
64771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64772 (eval $ac_try) 2>&5
64773 ac_status=$?
64774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64775 (exit $ac_status); }; } &&
64776 { ac_try='test -s conftest$ac_exeext'
64777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64778 (eval $ac_try) 2>&5
64779 ac_status=$?
64780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64781 (exit $ac_status); }; }; then
64782 eval "$as_ac_var=yes"
64783 else
64784 echo "$as_me: failed program was:" >&5
64785 sed 's/^/| /' conftest.$ac_ext >&5
64787 eval "$as_ac_var=no"
64789 rm -f conftest.err conftest.$ac_objext \
64790 conftest$ac_exeext conftest.$ac_ext
64792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64794 if test `eval echo '${'$as_ac_var'}'` = yes; then
64795 cat >>confdefs.h <<_ACEOF
64796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64797 _ACEOF
64800 done
64802 else
64804 echo "$as_me:$LINENO: checking for _modff declaration" >&5
64805 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
64806 if test x${glibcxx_cv_func__modff_use+set} != xset; then
64807 if test "${glibcxx_cv_func__modff_use+set}" = set; then
64808 echo $ECHO_N "(cached) $ECHO_C" >&6
64809 else
64813 ac_ext=cc
64814 ac_cpp='$CXXCPP $CPPFLAGS'
64815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64819 cat >conftest.$ac_ext <<_ACEOF
64820 /* confdefs.h. */
64821 _ACEOF
64822 cat confdefs.h >>conftest.$ac_ext
64823 cat >>conftest.$ac_ext <<_ACEOF
64824 /* end confdefs.h. */
64825 #include <math.h>
64827 main ()
64829 _modff(0, 0);
64831 return 0;
64833 _ACEOF
64834 rm -f conftest.$ac_objext
64835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64836 (eval $ac_compile) 2>conftest.er1
64837 ac_status=$?
64838 grep -v '^ *+' conftest.er1 >conftest.err
64839 rm -f conftest.er1
64840 cat conftest.err >&5
64841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64842 (exit $ac_status); } &&
64843 { ac_try='test -z "$ac_cxx_werror_flag"
64844 || test ! -s conftest.err'
64845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64846 (eval $ac_try) 2>&5
64847 ac_status=$?
64848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64849 (exit $ac_status); }; } &&
64850 { ac_try='test -s conftest.$ac_objext'
64851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64852 (eval $ac_try) 2>&5
64853 ac_status=$?
64854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64855 (exit $ac_status); }; }; then
64856 glibcxx_cv_func__modff_use=yes
64857 else
64858 echo "$as_me: failed program was:" >&5
64859 sed 's/^/| /' conftest.$ac_ext >&5
64861 glibcxx_cv_func__modff_use=no
64863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64864 ac_ext=c
64865 ac_cpp='$CPP $CPPFLAGS'
64866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64874 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
64875 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
64877 if test x$glibcxx_cv_func__modff_use = x"yes"; then
64879 for ac_func in _modff
64881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64882 echo "$as_me:$LINENO: checking for $ac_func" >&5
64883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64884 if eval "test \"\${$as_ac_var+set}\" = set"; then
64885 echo $ECHO_N "(cached) $ECHO_C" >&6
64886 else
64887 if test x$gcc_no_link = xyes; then
64888 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64890 { (exit 1); exit 1; }; }
64892 cat >conftest.$ac_ext <<_ACEOF
64893 /* confdefs.h. */
64894 _ACEOF
64895 cat confdefs.h >>conftest.$ac_ext
64896 cat >>conftest.$ac_ext <<_ACEOF
64897 /* end confdefs.h. */
64898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64900 #define $ac_func innocuous_$ac_func
64902 /* System header to define __stub macros and hopefully few prototypes,
64903 which can conflict with char $ac_func (); below.
64904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64905 <limits.h> exists even on freestanding compilers. */
64907 #ifdef __STDC__
64908 # include <limits.h>
64909 #else
64910 # include <assert.h>
64911 #endif
64913 #undef $ac_func
64915 /* Override any gcc2 internal prototype to avoid an error. */
64916 #ifdef __cplusplus
64917 extern "C"
64919 #endif
64920 /* We use char because int might match the return type of a gcc2
64921 builtin and then its argument prototype would still apply. */
64922 char $ac_func ();
64923 /* The GNU C library defines this for functions which it implements
64924 to always fail with ENOSYS. Some functions are actually named
64925 something starting with __ and the normal name is an alias. */
64926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64927 choke me
64928 #else
64929 char (*f) () = $ac_func;
64930 #endif
64931 #ifdef __cplusplus
64933 #endif
64936 main ()
64938 return f != $ac_func;
64940 return 0;
64942 _ACEOF
64943 rm -f conftest.$ac_objext conftest$ac_exeext
64944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64945 (eval $ac_link) 2>conftest.er1
64946 ac_status=$?
64947 grep -v '^ *+' conftest.er1 >conftest.err
64948 rm -f conftest.er1
64949 cat conftest.err >&5
64950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64951 (exit $ac_status); } &&
64952 { ac_try='test -z "$ac_c_werror_flag"
64953 || test ! -s conftest.err'
64954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64955 (eval $ac_try) 2>&5
64956 ac_status=$?
64957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64958 (exit $ac_status); }; } &&
64959 { ac_try='test -s conftest$ac_exeext'
64960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64961 (eval $ac_try) 2>&5
64962 ac_status=$?
64963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64964 (exit $ac_status); }; }; then
64965 eval "$as_ac_var=yes"
64966 else
64967 echo "$as_me: failed program was:" >&5
64968 sed 's/^/| /' conftest.$ac_ext >&5
64970 eval "$as_ac_var=no"
64972 rm -f conftest.err conftest.$ac_objext \
64973 conftest$ac_exeext conftest.$ac_ext
64975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64977 if test `eval echo '${'$as_ac_var'}'` = yes; then
64978 cat >>confdefs.h <<_ACEOF
64979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64980 _ACEOF
64983 done
64993 echo "$as_me:$LINENO: checking for modf declaration" >&5
64994 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
64995 if test x${glibcxx_cv_func_modf_use+set} != xset; then
64996 if test "${glibcxx_cv_func_modf_use+set}" = set; then
64997 echo $ECHO_N "(cached) $ECHO_C" >&6
64998 else
65002 ac_ext=cc
65003 ac_cpp='$CXXCPP $CPPFLAGS'
65004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65008 cat >conftest.$ac_ext <<_ACEOF
65009 /* confdefs.h. */
65010 _ACEOF
65011 cat confdefs.h >>conftest.$ac_ext
65012 cat >>conftest.$ac_ext <<_ACEOF
65013 /* end confdefs.h. */
65014 #include <math.h>
65016 main ()
65018 modf(0, 0);
65020 return 0;
65022 _ACEOF
65023 rm -f conftest.$ac_objext
65024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65025 (eval $ac_compile) 2>conftest.er1
65026 ac_status=$?
65027 grep -v '^ *+' conftest.er1 >conftest.err
65028 rm -f conftest.er1
65029 cat conftest.err >&5
65030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65031 (exit $ac_status); } &&
65032 { ac_try='test -z "$ac_cxx_werror_flag"
65033 || test ! -s conftest.err'
65034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65035 (eval $ac_try) 2>&5
65036 ac_status=$?
65037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65038 (exit $ac_status); }; } &&
65039 { ac_try='test -s conftest.$ac_objext'
65040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65041 (eval $ac_try) 2>&5
65042 ac_status=$?
65043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65044 (exit $ac_status); }; }; then
65045 glibcxx_cv_func_modf_use=yes
65046 else
65047 echo "$as_me: failed program was:" >&5
65048 sed 's/^/| /' conftest.$ac_ext >&5
65050 glibcxx_cv_func_modf_use=no
65052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65053 ac_ext=c
65054 ac_cpp='$CPP $CPPFLAGS'
65055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65063 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
65064 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
65066 if test x$glibcxx_cv_func_modf_use = x"yes"; then
65068 for ac_func in modf
65070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65071 echo "$as_me:$LINENO: checking for $ac_func" >&5
65072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65073 if eval "test \"\${$as_ac_var+set}\" = set"; then
65074 echo $ECHO_N "(cached) $ECHO_C" >&6
65075 else
65076 if test x$gcc_no_link = xyes; then
65077 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65079 { (exit 1); exit 1; }; }
65081 cat >conftest.$ac_ext <<_ACEOF
65082 /* confdefs.h. */
65083 _ACEOF
65084 cat confdefs.h >>conftest.$ac_ext
65085 cat >>conftest.$ac_ext <<_ACEOF
65086 /* end confdefs.h. */
65087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65089 #define $ac_func innocuous_$ac_func
65091 /* System header to define __stub macros and hopefully few prototypes,
65092 which can conflict with char $ac_func (); below.
65093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65094 <limits.h> exists even on freestanding compilers. */
65096 #ifdef __STDC__
65097 # include <limits.h>
65098 #else
65099 # include <assert.h>
65100 #endif
65102 #undef $ac_func
65104 /* Override any gcc2 internal prototype to avoid an error. */
65105 #ifdef __cplusplus
65106 extern "C"
65108 #endif
65109 /* We use char because int might match the return type of a gcc2
65110 builtin and then its argument prototype would still apply. */
65111 char $ac_func ();
65112 /* The GNU C library defines this for functions which it implements
65113 to always fail with ENOSYS. Some functions are actually named
65114 something starting with __ and the normal name is an alias. */
65115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65116 choke me
65117 #else
65118 char (*f) () = $ac_func;
65119 #endif
65120 #ifdef __cplusplus
65122 #endif
65125 main ()
65127 return f != $ac_func;
65129 return 0;
65131 _ACEOF
65132 rm -f conftest.$ac_objext conftest$ac_exeext
65133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65134 (eval $ac_link) 2>conftest.er1
65135 ac_status=$?
65136 grep -v '^ *+' conftest.er1 >conftest.err
65137 rm -f conftest.er1
65138 cat conftest.err >&5
65139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65140 (exit $ac_status); } &&
65141 { ac_try='test -z "$ac_c_werror_flag"
65142 || test ! -s conftest.err'
65143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65144 (eval $ac_try) 2>&5
65145 ac_status=$?
65146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65147 (exit $ac_status); }; } &&
65148 { ac_try='test -s conftest$ac_exeext'
65149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65150 (eval $ac_try) 2>&5
65151 ac_status=$?
65152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65153 (exit $ac_status); }; }; then
65154 eval "$as_ac_var=yes"
65155 else
65156 echo "$as_me: failed program was:" >&5
65157 sed 's/^/| /' conftest.$ac_ext >&5
65159 eval "$as_ac_var=no"
65161 rm -f conftest.err conftest.$ac_objext \
65162 conftest$ac_exeext conftest.$ac_ext
65164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65166 if test `eval echo '${'$as_ac_var'}'` = yes; then
65167 cat >>confdefs.h <<_ACEOF
65168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65169 _ACEOF
65172 done
65174 else
65176 echo "$as_me:$LINENO: checking for _modf declaration" >&5
65177 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
65178 if test x${glibcxx_cv_func__modf_use+set} != xset; then
65179 if test "${glibcxx_cv_func__modf_use+set}" = set; then
65180 echo $ECHO_N "(cached) $ECHO_C" >&6
65181 else
65185 ac_ext=cc
65186 ac_cpp='$CXXCPP $CPPFLAGS'
65187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65191 cat >conftest.$ac_ext <<_ACEOF
65192 /* confdefs.h. */
65193 _ACEOF
65194 cat confdefs.h >>conftest.$ac_ext
65195 cat >>conftest.$ac_ext <<_ACEOF
65196 /* end confdefs.h. */
65197 #include <math.h>
65199 main ()
65201 _modf(0, 0);
65203 return 0;
65205 _ACEOF
65206 rm -f conftest.$ac_objext
65207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65208 (eval $ac_compile) 2>conftest.er1
65209 ac_status=$?
65210 grep -v '^ *+' conftest.er1 >conftest.err
65211 rm -f conftest.er1
65212 cat conftest.err >&5
65213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65214 (exit $ac_status); } &&
65215 { ac_try='test -z "$ac_cxx_werror_flag"
65216 || test ! -s conftest.err'
65217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65218 (eval $ac_try) 2>&5
65219 ac_status=$?
65220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65221 (exit $ac_status); }; } &&
65222 { ac_try='test -s conftest.$ac_objext'
65223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65224 (eval $ac_try) 2>&5
65225 ac_status=$?
65226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65227 (exit $ac_status); }; }; then
65228 glibcxx_cv_func__modf_use=yes
65229 else
65230 echo "$as_me: failed program was:" >&5
65231 sed 's/^/| /' conftest.$ac_ext >&5
65233 glibcxx_cv_func__modf_use=no
65235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65236 ac_ext=c
65237 ac_cpp='$CPP $CPPFLAGS'
65238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65246 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
65247 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
65249 if test x$glibcxx_cv_func__modf_use = x"yes"; then
65251 for ac_func in _modf
65253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65254 echo "$as_me:$LINENO: checking for $ac_func" >&5
65255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65256 if eval "test \"\${$as_ac_var+set}\" = set"; then
65257 echo $ECHO_N "(cached) $ECHO_C" >&6
65258 else
65259 if test x$gcc_no_link = xyes; then
65260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65262 { (exit 1); exit 1; }; }
65264 cat >conftest.$ac_ext <<_ACEOF
65265 /* confdefs.h. */
65266 _ACEOF
65267 cat confdefs.h >>conftest.$ac_ext
65268 cat >>conftest.$ac_ext <<_ACEOF
65269 /* end confdefs.h. */
65270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65272 #define $ac_func innocuous_$ac_func
65274 /* System header to define __stub macros and hopefully few prototypes,
65275 which can conflict with char $ac_func (); below.
65276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65277 <limits.h> exists even on freestanding compilers. */
65279 #ifdef __STDC__
65280 # include <limits.h>
65281 #else
65282 # include <assert.h>
65283 #endif
65285 #undef $ac_func
65287 /* Override any gcc2 internal prototype to avoid an error. */
65288 #ifdef __cplusplus
65289 extern "C"
65291 #endif
65292 /* We use char because int might match the return type of a gcc2
65293 builtin and then its argument prototype would still apply. */
65294 char $ac_func ();
65295 /* The GNU C library defines this for functions which it implements
65296 to always fail with ENOSYS. Some functions are actually named
65297 something starting with __ and the normal name is an alias. */
65298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65299 choke me
65300 #else
65301 char (*f) () = $ac_func;
65302 #endif
65303 #ifdef __cplusplus
65305 #endif
65308 main ()
65310 return f != $ac_func;
65312 return 0;
65314 _ACEOF
65315 rm -f conftest.$ac_objext conftest$ac_exeext
65316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65317 (eval $ac_link) 2>conftest.er1
65318 ac_status=$?
65319 grep -v '^ *+' conftest.er1 >conftest.err
65320 rm -f conftest.er1
65321 cat conftest.err >&5
65322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65323 (exit $ac_status); } &&
65324 { ac_try='test -z "$ac_c_werror_flag"
65325 || test ! -s conftest.err'
65326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65327 (eval $ac_try) 2>&5
65328 ac_status=$?
65329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65330 (exit $ac_status); }; } &&
65331 { ac_try='test -s conftest$ac_exeext'
65332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65333 (eval $ac_try) 2>&5
65334 ac_status=$?
65335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65336 (exit $ac_status); }; }; then
65337 eval "$as_ac_var=yes"
65338 else
65339 echo "$as_me: failed program was:" >&5
65340 sed 's/^/| /' conftest.$ac_ext >&5
65342 eval "$as_ac_var=no"
65344 rm -f conftest.err conftest.$ac_objext \
65345 conftest$ac_exeext conftest.$ac_ext
65347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65349 if test `eval echo '${'$as_ac_var'}'` = yes; then
65350 cat >>confdefs.h <<_ACEOF
65351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65352 _ACEOF
65355 done
65365 echo "$as_me:$LINENO: checking for powf declaration" >&5
65366 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
65367 if test x${glibcxx_cv_func_powf_use+set} != xset; then
65368 if test "${glibcxx_cv_func_powf_use+set}" = set; then
65369 echo $ECHO_N "(cached) $ECHO_C" >&6
65370 else
65374 ac_ext=cc
65375 ac_cpp='$CXXCPP $CPPFLAGS'
65376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65380 cat >conftest.$ac_ext <<_ACEOF
65381 /* confdefs.h. */
65382 _ACEOF
65383 cat confdefs.h >>conftest.$ac_ext
65384 cat >>conftest.$ac_ext <<_ACEOF
65385 /* end confdefs.h. */
65386 #include <math.h>
65388 main ()
65390 powf(0, 0);
65392 return 0;
65394 _ACEOF
65395 rm -f conftest.$ac_objext
65396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65397 (eval $ac_compile) 2>conftest.er1
65398 ac_status=$?
65399 grep -v '^ *+' conftest.er1 >conftest.err
65400 rm -f conftest.er1
65401 cat conftest.err >&5
65402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65403 (exit $ac_status); } &&
65404 { ac_try='test -z "$ac_cxx_werror_flag"
65405 || test ! -s conftest.err'
65406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65407 (eval $ac_try) 2>&5
65408 ac_status=$?
65409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65410 (exit $ac_status); }; } &&
65411 { ac_try='test -s conftest.$ac_objext'
65412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65413 (eval $ac_try) 2>&5
65414 ac_status=$?
65415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65416 (exit $ac_status); }; }; then
65417 glibcxx_cv_func_powf_use=yes
65418 else
65419 echo "$as_me: failed program was:" >&5
65420 sed 's/^/| /' conftest.$ac_ext >&5
65422 glibcxx_cv_func_powf_use=no
65424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65425 ac_ext=c
65426 ac_cpp='$CPP $CPPFLAGS'
65427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65435 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
65436 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
65438 if test x$glibcxx_cv_func_powf_use = x"yes"; then
65440 for ac_func in powf
65442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65443 echo "$as_me:$LINENO: checking for $ac_func" >&5
65444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65445 if eval "test \"\${$as_ac_var+set}\" = set"; then
65446 echo $ECHO_N "(cached) $ECHO_C" >&6
65447 else
65448 if test x$gcc_no_link = xyes; then
65449 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65451 { (exit 1); exit 1; }; }
65453 cat >conftest.$ac_ext <<_ACEOF
65454 /* confdefs.h. */
65455 _ACEOF
65456 cat confdefs.h >>conftest.$ac_ext
65457 cat >>conftest.$ac_ext <<_ACEOF
65458 /* end confdefs.h. */
65459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65461 #define $ac_func innocuous_$ac_func
65463 /* System header to define __stub macros and hopefully few prototypes,
65464 which can conflict with char $ac_func (); below.
65465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65466 <limits.h> exists even on freestanding compilers. */
65468 #ifdef __STDC__
65469 # include <limits.h>
65470 #else
65471 # include <assert.h>
65472 #endif
65474 #undef $ac_func
65476 /* Override any gcc2 internal prototype to avoid an error. */
65477 #ifdef __cplusplus
65478 extern "C"
65480 #endif
65481 /* We use char because int might match the return type of a gcc2
65482 builtin and then its argument prototype would still apply. */
65483 char $ac_func ();
65484 /* The GNU C library defines this for functions which it implements
65485 to always fail with ENOSYS. Some functions are actually named
65486 something starting with __ and the normal name is an alias. */
65487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65488 choke me
65489 #else
65490 char (*f) () = $ac_func;
65491 #endif
65492 #ifdef __cplusplus
65494 #endif
65497 main ()
65499 return f != $ac_func;
65501 return 0;
65503 _ACEOF
65504 rm -f conftest.$ac_objext conftest$ac_exeext
65505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65506 (eval $ac_link) 2>conftest.er1
65507 ac_status=$?
65508 grep -v '^ *+' conftest.er1 >conftest.err
65509 rm -f conftest.er1
65510 cat conftest.err >&5
65511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65512 (exit $ac_status); } &&
65513 { ac_try='test -z "$ac_c_werror_flag"
65514 || test ! -s conftest.err'
65515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65516 (eval $ac_try) 2>&5
65517 ac_status=$?
65518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65519 (exit $ac_status); }; } &&
65520 { ac_try='test -s conftest$ac_exeext'
65521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65522 (eval $ac_try) 2>&5
65523 ac_status=$?
65524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65525 (exit $ac_status); }; }; then
65526 eval "$as_ac_var=yes"
65527 else
65528 echo "$as_me: failed program was:" >&5
65529 sed 's/^/| /' conftest.$ac_ext >&5
65531 eval "$as_ac_var=no"
65533 rm -f conftest.err conftest.$ac_objext \
65534 conftest$ac_exeext conftest.$ac_ext
65536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65538 if test `eval echo '${'$as_ac_var'}'` = yes; then
65539 cat >>confdefs.h <<_ACEOF
65540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65541 _ACEOF
65544 done
65546 else
65548 echo "$as_me:$LINENO: checking for _powf declaration" >&5
65549 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
65550 if test x${glibcxx_cv_func__powf_use+set} != xset; then
65551 if test "${glibcxx_cv_func__powf_use+set}" = set; then
65552 echo $ECHO_N "(cached) $ECHO_C" >&6
65553 else
65557 ac_ext=cc
65558 ac_cpp='$CXXCPP $CPPFLAGS'
65559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65563 cat >conftest.$ac_ext <<_ACEOF
65564 /* confdefs.h. */
65565 _ACEOF
65566 cat confdefs.h >>conftest.$ac_ext
65567 cat >>conftest.$ac_ext <<_ACEOF
65568 /* end confdefs.h. */
65569 #include <math.h>
65571 main ()
65573 _powf(0, 0);
65575 return 0;
65577 _ACEOF
65578 rm -f conftest.$ac_objext
65579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65580 (eval $ac_compile) 2>conftest.er1
65581 ac_status=$?
65582 grep -v '^ *+' conftest.er1 >conftest.err
65583 rm -f conftest.er1
65584 cat conftest.err >&5
65585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65586 (exit $ac_status); } &&
65587 { ac_try='test -z "$ac_cxx_werror_flag"
65588 || test ! -s conftest.err'
65589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65590 (eval $ac_try) 2>&5
65591 ac_status=$?
65592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65593 (exit $ac_status); }; } &&
65594 { ac_try='test -s conftest.$ac_objext'
65595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65596 (eval $ac_try) 2>&5
65597 ac_status=$?
65598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65599 (exit $ac_status); }; }; then
65600 glibcxx_cv_func__powf_use=yes
65601 else
65602 echo "$as_me: failed program was:" >&5
65603 sed 's/^/| /' conftest.$ac_ext >&5
65605 glibcxx_cv_func__powf_use=no
65607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65608 ac_ext=c
65609 ac_cpp='$CPP $CPPFLAGS'
65610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65618 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
65619 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
65621 if test x$glibcxx_cv_func__powf_use = x"yes"; then
65623 for ac_func in _powf
65625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65626 echo "$as_me:$LINENO: checking for $ac_func" >&5
65627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65628 if eval "test \"\${$as_ac_var+set}\" = set"; then
65629 echo $ECHO_N "(cached) $ECHO_C" >&6
65630 else
65631 if test x$gcc_no_link = xyes; then
65632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65634 { (exit 1); exit 1; }; }
65636 cat >conftest.$ac_ext <<_ACEOF
65637 /* confdefs.h. */
65638 _ACEOF
65639 cat confdefs.h >>conftest.$ac_ext
65640 cat >>conftest.$ac_ext <<_ACEOF
65641 /* end confdefs.h. */
65642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65644 #define $ac_func innocuous_$ac_func
65646 /* System header to define __stub macros and hopefully few prototypes,
65647 which can conflict with char $ac_func (); below.
65648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65649 <limits.h> exists even on freestanding compilers. */
65651 #ifdef __STDC__
65652 # include <limits.h>
65653 #else
65654 # include <assert.h>
65655 #endif
65657 #undef $ac_func
65659 /* Override any gcc2 internal prototype to avoid an error. */
65660 #ifdef __cplusplus
65661 extern "C"
65663 #endif
65664 /* We use char because int might match the return type of a gcc2
65665 builtin and then its argument prototype would still apply. */
65666 char $ac_func ();
65667 /* The GNU C library defines this for functions which it implements
65668 to always fail with ENOSYS. Some functions are actually named
65669 something starting with __ and the normal name is an alias. */
65670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65671 choke me
65672 #else
65673 char (*f) () = $ac_func;
65674 #endif
65675 #ifdef __cplusplus
65677 #endif
65680 main ()
65682 return f != $ac_func;
65684 return 0;
65686 _ACEOF
65687 rm -f conftest.$ac_objext conftest$ac_exeext
65688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65689 (eval $ac_link) 2>conftest.er1
65690 ac_status=$?
65691 grep -v '^ *+' conftest.er1 >conftest.err
65692 rm -f conftest.er1
65693 cat conftest.err >&5
65694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65695 (exit $ac_status); } &&
65696 { ac_try='test -z "$ac_c_werror_flag"
65697 || test ! -s conftest.err'
65698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65699 (eval $ac_try) 2>&5
65700 ac_status=$?
65701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65702 (exit $ac_status); }; } &&
65703 { ac_try='test -s conftest$ac_exeext'
65704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65705 (eval $ac_try) 2>&5
65706 ac_status=$?
65707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65708 (exit $ac_status); }; }; then
65709 eval "$as_ac_var=yes"
65710 else
65711 echo "$as_me: failed program was:" >&5
65712 sed 's/^/| /' conftest.$ac_ext >&5
65714 eval "$as_ac_var=no"
65716 rm -f conftest.err conftest.$ac_objext \
65717 conftest$ac_exeext conftest.$ac_ext
65719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65721 if test `eval echo '${'$as_ac_var'}'` = yes; then
65722 cat >>confdefs.h <<_ACEOF
65723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65724 _ACEOF
65727 done
65737 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
65738 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
65739 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
65740 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
65741 echo $ECHO_N "(cached) $ECHO_C" >&6
65742 else
65746 ac_ext=cc
65747 ac_cpp='$CXXCPP $CPPFLAGS'
65748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65752 cat >conftest.$ac_ext <<_ACEOF
65753 /* confdefs.h. */
65754 _ACEOF
65755 cat confdefs.h >>conftest.$ac_ext
65756 cat >>conftest.$ac_ext <<_ACEOF
65757 /* end confdefs.h. */
65758 #include <math.h>
65759 #ifdef HAVE_IEEEFP_H
65760 #include <ieeefp.h>
65761 #endif
65764 main ()
65766 sqrtf(0);
65768 return 0;
65770 _ACEOF
65771 rm -f conftest.$ac_objext
65772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65773 (eval $ac_compile) 2>conftest.er1
65774 ac_status=$?
65775 grep -v '^ *+' conftest.er1 >conftest.err
65776 rm -f conftest.er1
65777 cat conftest.err >&5
65778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65779 (exit $ac_status); } &&
65780 { ac_try='test -z "$ac_cxx_werror_flag"
65781 || test ! -s conftest.err'
65782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65783 (eval $ac_try) 2>&5
65784 ac_status=$?
65785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65786 (exit $ac_status); }; } &&
65787 { ac_try='test -s conftest.$ac_objext'
65788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65789 (eval $ac_try) 2>&5
65790 ac_status=$?
65791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65792 (exit $ac_status); }; }; then
65793 glibcxx_cv_func_sqrtf_use=yes
65794 else
65795 echo "$as_me: failed program was:" >&5
65796 sed 's/^/| /' conftest.$ac_ext >&5
65798 glibcxx_cv_func_sqrtf_use=no
65800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65801 ac_ext=c
65802 ac_cpp='$CPP $CPPFLAGS'
65803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65811 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
65812 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
65814 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
65816 for ac_func in sqrtf
65818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65819 echo "$as_me:$LINENO: checking for $ac_func" >&5
65820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65821 if eval "test \"\${$as_ac_var+set}\" = set"; then
65822 echo $ECHO_N "(cached) $ECHO_C" >&6
65823 else
65824 if test x$gcc_no_link = xyes; then
65825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65827 { (exit 1); exit 1; }; }
65829 cat >conftest.$ac_ext <<_ACEOF
65830 /* confdefs.h. */
65831 _ACEOF
65832 cat confdefs.h >>conftest.$ac_ext
65833 cat >>conftest.$ac_ext <<_ACEOF
65834 /* end confdefs.h. */
65835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65837 #define $ac_func innocuous_$ac_func
65839 /* System header to define __stub macros and hopefully few prototypes,
65840 which can conflict with char $ac_func (); below.
65841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65842 <limits.h> exists even on freestanding compilers. */
65844 #ifdef __STDC__
65845 # include <limits.h>
65846 #else
65847 # include <assert.h>
65848 #endif
65850 #undef $ac_func
65852 /* Override any gcc2 internal prototype to avoid an error. */
65853 #ifdef __cplusplus
65854 extern "C"
65856 #endif
65857 /* We use char because int might match the return type of a gcc2
65858 builtin and then its argument prototype would still apply. */
65859 char $ac_func ();
65860 /* The GNU C library defines this for functions which it implements
65861 to always fail with ENOSYS. Some functions are actually named
65862 something starting with __ and the normal name is an alias. */
65863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65864 choke me
65865 #else
65866 char (*f) () = $ac_func;
65867 #endif
65868 #ifdef __cplusplus
65870 #endif
65873 main ()
65875 return f != $ac_func;
65877 return 0;
65879 _ACEOF
65880 rm -f conftest.$ac_objext conftest$ac_exeext
65881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65882 (eval $ac_link) 2>conftest.er1
65883 ac_status=$?
65884 grep -v '^ *+' conftest.er1 >conftest.err
65885 rm -f conftest.er1
65886 cat conftest.err >&5
65887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65888 (exit $ac_status); } &&
65889 { ac_try='test -z "$ac_c_werror_flag"
65890 || test ! -s conftest.err'
65891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65892 (eval $ac_try) 2>&5
65893 ac_status=$?
65894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65895 (exit $ac_status); }; } &&
65896 { ac_try='test -s conftest$ac_exeext'
65897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65898 (eval $ac_try) 2>&5
65899 ac_status=$?
65900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65901 (exit $ac_status); }; }; then
65902 eval "$as_ac_var=yes"
65903 else
65904 echo "$as_me: failed program was:" >&5
65905 sed 's/^/| /' conftest.$ac_ext >&5
65907 eval "$as_ac_var=no"
65909 rm -f conftest.err conftest.$ac_objext \
65910 conftest$ac_exeext conftest.$ac_ext
65912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65914 if test `eval echo '${'$as_ac_var'}'` = yes; then
65915 cat >>confdefs.h <<_ACEOF
65916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65917 _ACEOF
65920 done
65922 else
65924 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
65925 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
65926 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
65927 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
65928 echo $ECHO_N "(cached) $ECHO_C" >&6
65929 else
65933 ac_ext=cc
65934 ac_cpp='$CXXCPP $CPPFLAGS'
65935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65939 cat >conftest.$ac_ext <<_ACEOF
65940 /* confdefs.h. */
65941 _ACEOF
65942 cat confdefs.h >>conftest.$ac_ext
65943 cat >>conftest.$ac_ext <<_ACEOF
65944 /* end confdefs.h. */
65945 #include <math.h>
65946 #ifdef HAVE_IEEEFP_H
65947 #include <ieeefp.h>
65948 #endif
65951 main ()
65953 _sqrtf(0);
65955 return 0;
65957 _ACEOF
65958 rm -f conftest.$ac_objext
65959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65960 (eval $ac_compile) 2>conftest.er1
65961 ac_status=$?
65962 grep -v '^ *+' conftest.er1 >conftest.err
65963 rm -f conftest.er1
65964 cat conftest.err >&5
65965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65966 (exit $ac_status); } &&
65967 { ac_try='test -z "$ac_cxx_werror_flag"
65968 || test ! -s conftest.err'
65969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65970 (eval $ac_try) 2>&5
65971 ac_status=$?
65972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65973 (exit $ac_status); }; } &&
65974 { ac_try='test -s conftest.$ac_objext'
65975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65976 (eval $ac_try) 2>&5
65977 ac_status=$?
65978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65979 (exit $ac_status); }; }; then
65980 glibcxx_cv_func__sqrtf_use=yes
65981 else
65982 echo "$as_me: failed program was:" >&5
65983 sed 's/^/| /' conftest.$ac_ext >&5
65985 glibcxx_cv_func__sqrtf_use=no
65987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65988 ac_ext=c
65989 ac_cpp='$CPP $CPPFLAGS'
65990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65998 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
65999 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
66001 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
66003 for ac_func in _sqrtf
66005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66006 echo "$as_me:$LINENO: checking for $ac_func" >&5
66007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66008 if eval "test \"\${$as_ac_var+set}\" = set"; then
66009 echo $ECHO_N "(cached) $ECHO_C" >&6
66010 else
66011 if test x$gcc_no_link = xyes; then
66012 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66014 { (exit 1); exit 1; }; }
66016 cat >conftest.$ac_ext <<_ACEOF
66017 /* confdefs.h. */
66018 _ACEOF
66019 cat confdefs.h >>conftest.$ac_ext
66020 cat >>conftest.$ac_ext <<_ACEOF
66021 /* end confdefs.h. */
66022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66024 #define $ac_func innocuous_$ac_func
66026 /* System header to define __stub macros and hopefully few prototypes,
66027 which can conflict with char $ac_func (); below.
66028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66029 <limits.h> exists even on freestanding compilers. */
66031 #ifdef __STDC__
66032 # include <limits.h>
66033 #else
66034 # include <assert.h>
66035 #endif
66037 #undef $ac_func
66039 /* Override any gcc2 internal prototype to avoid an error. */
66040 #ifdef __cplusplus
66041 extern "C"
66043 #endif
66044 /* We use char because int might match the return type of a gcc2
66045 builtin and then its argument prototype would still apply. */
66046 char $ac_func ();
66047 /* The GNU C library defines this for functions which it implements
66048 to always fail with ENOSYS. Some functions are actually named
66049 something starting with __ and the normal name is an alias. */
66050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66051 choke me
66052 #else
66053 char (*f) () = $ac_func;
66054 #endif
66055 #ifdef __cplusplus
66057 #endif
66060 main ()
66062 return f != $ac_func;
66064 return 0;
66066 _ACEOF
66067 rm -f conftest.$ac_objext conftest$ac_exeext
66068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66069 (eval $ac_link) 2>conftest.er1
66070 ac_status=$?
66071 grep -v '^ *+' conftest.er1 >conftest.err
66072 rm -f conftest.er1
66073 cat conftest.err >&5
66074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66075 (exit $ac_status); } &&
66076 { ac_try='test -z "$ac_c_werror_flag"
66077 || test ! -s conftest.err'
66078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66079 (eval $ac_try) 2>&5
66080 ac_status=$?
66081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66082 (exit $ac_status); }; } &&
66083 { ac_try='test -s conftest$ac_exeext'
66084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66085 (eval $ac_try) 2>&5
66086 ac_status=$?
66087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66088 (exit $ac_status); }; }; then
66089 eval "$as_ac_var=yes"
66090 else
66091 echo "$as_me: failed program was:" >&5
66092 sed 's/^/| /' conftest.$ac_ext >&5
66094 eval "$as_ac_var=no"
66096 rm -f conftest.err conftest.$ac_objext \
66097 conftest$ac_exeext conftest.$ac_ext
66099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66101 if test `eval echo '${'$as_ac_var'}'` = yes; then
66102 cat >>confdefs.h <<_ACEOF
66103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66104 _ACEOF
66107 done
66117 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
66118 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
66119 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
66120 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
66121 echo $ECHO_N "(cached) $ECHO_C" >&6
66122 else
66126 ac_ext=cc
66127 ac_cpp='$CXXCPP $CPPFLAGS'
66128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66132 cat >conftest.$ac_ext <<_ACEOF
66133 /* confdefs.h. */
66134 _ACEOF
66135 cat confdefs.h >>conftest.$ac_ext
66136 cat >>conftest.$ac_ext <<_ACEOF
66137 /* end confdefs.h. */
66138 #include <math.h>
66140 main ()
66142 sincosf(0, 0, 0);
66144 return 0;
66146 _ACEOF
66147 rm -f conftest.$ac_objext
66148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66149 (eval $ac_compile) 2>conftest.er1
66150 ac_status=$?
66151 grep -v '^ *+' conftest.er1 >conftest.err
66152 rm -f conftest.er1
66153 cat conftest.err >&5
66154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66155 (exit $ac_status); } &&
66156 { ac_try='test -z "$ac_cxx_werror_flag"
66157 || test ! -s conftest.err'
66158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66159 (eval $ac_try) 2>&5
66160 ac_status=$?
66161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66162 (exit $ac_status); }; } &&
66163 { ac_try='test -s conftest.$ac_objext'
66164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66165 (eval $ac_try) 2>&5
66166 ac_status=$?
66167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66168 (exit $ac_status); }; }; then
66169 glibcxx_cv_func_sincosf_use=yes
66170 else
66171 echo "$as_me: failed program was:" >&5
66172 sed 's/^/| /' conftest.$ac_ext >&5
66174 glibcxx_cv_func_sincosf_use=no
66176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66177 ac_ext=c
66178 ac_cpp='$CPP $CPPFLAGS'
66179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66187 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
66188 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
66190 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
66192 for ac_func in sincosf
66194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66195 echo "$as_me:$LINENO: checking for $ac_func" >&5
66196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66197 if eval "test \"\${$as_ac_var+set}\" = set"; then
66198 echo $ECHO_N "(cached) $ECHO_C" >&6
66199 else
66200 if test x$gcc_no_link = xyes; then
66201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66203 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66213 #define $ac_func innocuous_$ac_func
66215 /* System header to define __stub macros and hopefully few prototypes,
66216 which can conflict with char $ac_func (); below.
66217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66218 <limits.h> exists even on freestanding compilers. */
66220 #ifdef __STDC__
66221 # include <limits.h>
66222 #else
66223 # include <assert.h>
66224 #endif
66226 #undef $ac_func
66228 /* Override any gcc2 internal prototype to avoid an error. */
66229 #ifdef __cplusplus
66230 extern "C"
66232 #endif
66233 /* We use char because int might match the return type of a gcc2
66234 builtin and then its argument prototype would still apply. */
66235 char $ac_func ();
66236 /* The GNU C library defines this for functions which it implements
66237 to always fail with ENOSYS. Some functions are actually named
66238 something starting with __ and the normal name is an alias. */
66239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66240 choke me
66241 #else
66242 char (*f) () = $ac_func;
66243 #endif
66244 #ifdef __cplusplus
66246 #endif
66249 main ()
66251 return f != $ac_func;
66253 return 0;
66255 _ACEOF
66256 rm -f conftest.$ac_objext conftest$ac_exeext
66257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66258 (eval $ac_link) 2>conftest.er1
66259 ac_status=$?
66260 grep -v '^ *+' conftest.er1 >conftest.err
66261 rm -f conftest.er1
66262 cat conftest.err >&5
66263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66264 (exit $ac_status); } &&
66265 { ac_try='test -z "$ac_c_werror_flag"
66266 || test ! -s conftest.err'
66267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66268 (eval $ac_try) 2>&5
66269 ac_status=$?
66270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66271 (exit $ac_status); }; } &&
66272 { ac_try='test -s conftest$ac_exeext'
66273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66274 (eval $ac_try) 2>&5
66275 ac_status=$?
66276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66277 (exit $ac_status); }; }; then
66278 eval "$as_ac_var=yes"
66279 else
66280 echo "$as_me: failed program was:" >&5
66281 sed 's/^/| /' conftest.$ac_ext >&5
66283 eval "$as_ac_var=no"
66285 rm -f conftest.err conftest.$ac_objext \
66286 conftest$ac_exeext conftest.$ac_ext
66288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66290 if test `eval echo '${'$as_ac_var'}'` = yes; then
66291 cat >>confdefs.h <<_ACEOF
66292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66293 _ACEOF
66296 done
66298 else
66300 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
66301 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
66302 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
66303 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
66304 echo $ECHO_N "(cached) $ECHO_C" >&6
66305 else
66309 ac_ext=cc
66310 ac_cpp='$CXXCPP $CPPFLAGS'
66311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66315 cat >conftest.$ac_ext <<_ACEOF
66316 /* confdefs.h. */
66317 _ACEOF
66318 cat confdefs.h >>conftest.$ac_ext
66319 cat >>conftest.$ac_ext <<_ACEOF
66320 /* end confdefs.h. */
66321 #include <math.h>
66323 main ()
66325 _sincosf(0, 0, 0);
66327 return 0;
66329 _ACEOF
66330 rm -f conftest.$ac_objext
66331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66332 (eval $ac_compile) 2>conftest.er1
66333 ac_status=$?
66334 grep -v '^ *+' conftest.er1 >conftest.err
66335 rm -f conftest.er1
66336 cat conftest.err >&5
66337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66338 (exit $ac_status); } &&
66339 { ac_try='test -z "$ac_cxx_werror_flag"
66340 || test ! -s conftest.err'
66341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66342 (eval $ac_try) 2>&5
66343 ac_status=$?
66344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66345 (exit $ac_status); }; } &&
66346 { ac_try='test -s conftest.$ac_objext'
66347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66348 (eval $ac_try) 2>&5
66349 ac_status=$?
66350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66351 (exit $ac_status); }; }; then
66352 glibcxx_cv_func__sincosf_use=yes
66353 else
66354 echo "$as_me: failed program was:" >&5
66355 sed 's/^/| /' conftest.$ac_ext >&5
66357 glibcxx_cv_func__sincosf_use=no
66359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66360 ac_ext=c
66361 ac_cpp='$CPP $CPPFLAGS'
66362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66370 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
66371 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
66373 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
66375 for ac_func in _sincosf
66377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66378 echo "$as_me:$LINENO: checking for $ac_func" >&5
66379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66380 if eval "test \"\${$as_ac_var+set}\" = set"; then
66381 echo $ECHO_N "(cached) $ECHO_C" >&6
66382 else
66383 if test x$gcc_no_link = xyes; then
66384 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66386 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66396 #define $ac_func innocuous_$ac_func
66398 /* System header to define __stub macros and hopefully few prototypes,
66399 which can conflict with char $ac_func (); below.
66400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66401 <limits.h> exists even on freestanding compilers. */
66403 #ifdef __STDC__
66404 # include <limits.h>
66405 #else
66406 # include <assert.h>
66407 #endif
66409 #undef $ac_func
66411 /* Override any gcc2 internal prototype to avoid an error. */
66412 #ifdef __cplusplus
66413 extern "C"
66415 #endif
66416 /* We use char because int might match the return type of a gcc2
66417 builtin and then its argument prototype would still apply. */
66418 char $ac_func ();
66419 /* The GNU C library defines this for functions which it implements
66420 to always fail with ENOSYS. Some functions are actually named
66421 something starting with __ and the normal name is an alias. */
66422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66423 choke me
66424 #else
66425 char (*f) () = $ac_func;
66426 #endif
66427 #ifdef __cplusplus
66429 #endif
66432 main ()
66434 return f != $ac_func;
66436 return 0;
66438 _ACEOF
66439 rm -f conftest.$ac_objext conftest$ac_exeext
66440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66441 (eval $ac_link) 2>conftest.er1
66442 ac_status=$?
66443 grep -v '^ *+' conftest.er1 >conftest.err
66444 rm -f conftest.er1
66445 cat conftest.err >&5
66446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66447 (exit $ac_status); } &&
66448 { ac_try='test -z "$ac_c_werror_flag"
66449 || test ! -s conftest.err'
66450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66451 (eval $ac_try) 2>&5
66452 ac_status=$?
66453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66454 (exit $ac_status); }; } &&
66455 { ac_try='test -s conftest$ac_exeext'
66456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66457 (eval $ac_try) 2>&5
66458 ac_status=$?
66459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66460 (exit $ac_status); }; }; then
66461 eval "$as_ac_var=yes"
66462 else
66463 echo "$as_me: failed program was:" >&5
66464 sed 's/^/| /' conftest.$ac_ext >&5
66466 eval "$as_ac_var=no"
66468 rm -f conftest.err conftest.$ac_objext \
66469 conftest$ac_exeext conftest.$ac_ext
66471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66473 if test `eval echo '${'$as_ac_var'}'` = yes; then
66474 cat >>confdefs.h <<_ACEOF
66475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66476 _ACEOF
66479 done
66489 echo "$as_me:$LINENO: checking for finitef declaration" >&5
66490 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
66491 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
66492 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
66493 echo $ECHO_N "(cached) $ECHO_C" >&6
66494 else
66498 ac_ext=cc
66499 ac_cpp='$CXXCPP $CPPFLAGS'
66500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66504 cat >conftest.$ac_ext <<_ACEOF
66505 /* confdefs.h. */
66506 _ACEOF
66507 cat confdefs.h >>conftest.$ac_ext
66508 cat >>conftest.$ac_ext <<_ACEOF
66509 /* end confdefs.h. */
66510 #include <math.h>
66511 #ifdef HAVE_IEEEFP_H
66512 #include <ieeefp.h>
66513 #endif
66516 main ()
66518 finitef(0);
66520 return 0;
66522 _ACEOF
66523 rm -f conftest.$ac_objext
66524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66525 (eval $ac_compile) 2>conftest.er1
66526 ac_status=$?
66527 grep -v '^ *+' conftest.er1 >conftest.err
66528 rm -f conftest.er1
66529 cat conftest.err >&5
66530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66531 (exit $ac_status); } &&
66532 { ac_try='test -z "$ac_cxx_werror_flag"
66533 || test ! -s conftest.err'
66534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66535 (eval $ac_try) 2>&5
66536 ac_status=$?
66537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66538 (exit $ac_status); }; } &&
66539 { ac_try='test -s conftest.$ac_objext'
66540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66541 (eval $ac_try) 2>&5
66542 ac_status=$?
66543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66544 (exit $ac_status); }; }; then
66545 glibcxx_cv_func_finitef_use=yes
66546 else
66547 echo "$as_me: failed program was:" >&5
66548 sed 's/^/| /' conftest.$ac_ext >&5
66550 glibcxx_cv_func_finitef_use=no
66552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66553 ac_ext=c
66554 ac_cpp='$CPP $CPPFLAGS'
66555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66563 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
66564 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
66566 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
66568 for ac_func in finitef
66570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66571 echo "$as_me:$LINENO: checking for $ac_func" >&5
66572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66573 if eval "test \"\${$as_ac_var+set}\" = set"; then
66574 echo $ECHO_N "(cached) $ECHO_C" >&6
66575 else
66576 if test x$gcc_no_link = xyes; then
66577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66579 { (exit 1); exit 1; }; }
66581 cat >conftest.$ac_ext <<_ACEOF
66582 /* confdefs.h. */
66583 _ACEOF
66584 cat confdefs.h >>conftest.$ac_ext
66585 cat >>conftest.$ac_ext <<_ACEOF
66586 /* end confdefs.h. */
66587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66589 #define $ac_func innocuous_$ac_func
66591 /* System header to define __stub macros and hopefully few prototypes,
66592 which can conflict with char $ac_func (); below.
66593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66594 <limits.h> exists even on freestanding compilers. */
66596 #ifdef __STDC__
66597 # include <limits.h>
66598 #else
66599 # include <assert.h>
66600 #endif
66602 #undef $ac_func
66604 /* Override any gcc2 internal prototype to avoid an error. */
66605 #ifdef __cplusplus
66606 extern "C"
66608 #endif
66609 /* We use char because int might match the return type of a gcc2
66610 builtin and then its argument prototype would still apply. */
66611 char $ac_func ();
66612 /* The GNU C library defines this for functions which it implements
66613 to always fail with ENOSYS. Some functions are actually named
66614 something starting with __ and the normal name is an alias. */
66615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66616 choke me
66617 #else
66618 char (*f) () = $ac_func;
66619 #endif
66620 #ifdef __cplusplus
66622 #endif
66625 main ()
66627 return f != $ac_func;
66629 return 0;
66631 _ACEOF
66632 rm -f conftest.$ac_objext conftest$ac_exeext
66633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66634 (eval $ac_link) 2>conftest.er1
66635 ac_status=$?
66636 grep -v '^ *+' conftest.er1 >conftest.err
66637 rm -f conftest.er1
66638 cat conftest.err >&5
66639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66640 (exit $ac_status); } &&
66641 { ac_try='test -z "$ac_c_werror_flag"
66642 || test ! -s conftest.err'
66643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66644 (eval $ac_try) 2>&5
66645 ac_status=$?
66646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66647 (exit $ac_status); }; } &&
66648 { ac_try='test -s conftest$ac_exeext'
66649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66650 (eval $ac_try) 2>&5
66651 ac_status=$?
66652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66653 (exit $ac_status); }; }; then
66654 eval "$as_ac_var=yes"
66655 else
66656 echo "$as_me: failed program was:" >&5
66657 sed 's/^/| /' conftest.$ac_ext >&5
66659 eval "$as_ac_var=no"
66661 rm -f conftest.err conftest.$ac_objext \
66662 conftest$ac_exeext conftest.$ac_ext
66664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66666 if test `eval echo '${'$as_ac_var'}'` = yes; then
66667 cat >>confdefs.h <<_ACEOF
66668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66669 _ACEOF
66672 done
66674 else
66676 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
66677 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
66678 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
66679 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
66680 echo $ECHO_N "(cached) $ECHO_C" >&6
66681 else
66685 ac_ext=cc
66686 ac_cpp='$CXXCPP $CPPFLAGS'
66687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66691 cat >conftest.$ac_ext <<_ACEOF
66692 /* confdefs.h. */
66693 _ACEOF
66694 cat confdefs.h >>conftest.$ac_ext
66695 cat >>conftest.$ac_ext <<_ACEOF
66696 /* end confdefs.h. */
66697 #include <math.h>
66698 #ifdef HAVE_IEEEFP_H
66699 #include <ieeefp.h>
66700 #endif
66703 main ()
66705 _finitef(0);
66707 return 0;
66709 _ACEOF
66710 rm -f conftest.$ac_objext
66711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66712 (eval $ac_compile) 2>conftest.er1
66713 ac_status=$?
66714 grep -v '^ *+' conftest.er1 >conftest.err
66715 rm -f conftest.er1
66716 cat conftest.err >&5
66717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66718 (exit $ac_status); } &&
66719 { ac_try='test -z "$ac_cxx_werror_flag"
66720 || test ! -s conftest.err'
66721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66722 (eval $ac_try) 2>&5
66723 ac_status=$?
66724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66725 (exit $ac_status); }; } &&
66726 { ac_try='test -s conftest.$ac_objext'
66727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66728 (eval $ac_try) 2>&5
66729 ac_status=$?
66730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66731 (exit $ac_status); }; }; then
66732 glibcxx_cv_func__finitef_use=yes
66733 else
66734 echo "$as_me: failed program was:" >&5
66735 sed 's/^/| /' conftest.$ac_ext >&5
66737 glibcxx_cv_func__finitef_use=no
66739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66740 ac_ext=c
66741 ac_cpp='$CPP $CPPFLAGS'
66742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66750 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
66751 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
66753 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
66755 for ac_func in _finitef
66757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66758 echo "$as_me:$LINENO: checking for $ac_func" >&5
66759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66760 if eval "test \"\${$as_ac_var+set}\" = set"; then
66761 echo $ECHO_N "(cached) $ECHO_C" >&6
66762 else
66763 if test x$gcc_no_link = xyes; then
66764 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66766 { (exit 1); exit 1; }; }
66768 cat >conftest.$ac_ext <<_ACEOF
66769 /* confdefs.h. */
66770 _ACEOF
66771 cat confdefs.h >>conftest.$ac_ext
66772 cat >>conftest.$ac_ext <<_ACEOF
66773 /* end confdefs.h. */
66774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66776 #define $ac_func innocuous_$ac_func
66778 /* System header to define __stub macros and hopefully few prototypes,
66779 which can conflict with char $ac_func (); below.
66780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66781 <limits.h> exists even on freestanding compilers. */
66783 #ifdef __STDC__
66784 # include <limits.h>
66785 #else
66786 # include <assert.h>
66787 #endif
66789 #undef $ac_func
66791 /* Override any gcc2 internal prototype to avoid an error. */
66792 #ifdef __cplusplus
66793 extern "C"
66795 #endif
66796 /* We use char because int might match the return type of a gcc2
66797 builtin and then its argument prototype would still apply. */
66798 char $ac_func ();
66799 /* The GNU C library defines this for functions which it implements
66800 to always fail with ENOSYS. Some functions are actually named
66801 something starting with __ and the normal name is an alias. */
66802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66803 choke me
66804 #else
66805 char (*f) () = $ac_func;
66806 #endif
66807 #ifdef __cplusplus
66809 #endif
66812 main ()
66814 return f != $ac_func;
66816 return 0;
66818 _ACEOF
66819 rm -f conftest.$ac_objext conftest$ac_exeext
66820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66821 (eval $ac_link) 2>conftest.er1
66822 ac_status=$?
66823 grep -v '^ *+' conftest.er1 >conftest.err
66824 rm -f conftest.er1
66825 cat conftest.err >&5
66826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66827 (exit $ac_status); } &&
66828 { ac_try='test -z "$ac_c_werror_flag"
66829 || test ! -s conftest.err'
66830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66831 (eval $ac_try) 2>&5
66832 ac_status=$?
66833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66834 (exit $ac_status); }; } &&
66835 { ac_try='test -s conftest$ac_exeext'
66836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66837 (eval $ac_try) 2>&5
66838 ac_status=$?
66839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66840 (exit $ac_status); }; }; then
66841 eval "$as_ac_var=yes"
66842 else
66843 echo "$as_me: failed program was:" >&5
66844 sed 's/^/| /' conftest.$ac_ext >&5
66846 eval "$as_ac_var=no"
66848 rm -f conftest.err conftest.$ac_objext \
66849 conftest$ac_exeext conftest.$ac_ext
66851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66853 if test `eval echo '${'$as_ac_var'}'` = yes; then
66854 cat >>confdefs.h <<_ACEOF
66855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66856 _ACEOF
66859 done
66869 echo "$as_me:$LINENO: checking for long double trig functions" >&5
66870 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
66871 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
66872 echo $ECHO_N "(cached) $ECHO_C" >&6
66873 else
66877 ac_ext=cc
66878 ac_cpp='$CXXCPP $CPPFLAGS'
66879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66883 cat >conftest.$ac_ext <<_ACEOF
66884 /* confdefs.h. */
66885 _ACEOF
66886 cat confdefs.h >>conftest.$ac_ext
66887 cat >>conftest.$ac_ext <<_ACEOF
66888 /* end confdefs.h. */
66889 #include <math.h>
66891 main ()
66893 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
66895 return 0;
66897 _ACEOF
66898 rm -f conftest.$ac_objext
66899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66900 (eval $ac_compile) 2>conftest.er1
66901 ac_status=$?
66902 grep -v '^ *+' conftest.er1 >conftest.err
66903 rm -f conftest.er1
66904 cat conftest.err >&5
66905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66906 (exit $ac_status); } &&
66907 { ac_try='test -z "$ac_cxx_werror_flag"
66908 || test ! -s conftest.err'
66909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66910 (eval $ac_try) 2>&5
66911 ac_status=$?
66912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66913 (exit $ac_status); }; } &&
66914 { ac_try='test -s conftest.$ac_objext'
66915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66916 (eval $ac_try) 2>&5
66917 ac_status=$?
66918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66919 (exit $ac_status); }; }; then
66920 glibcxx_cv_func_long_double_trig_use=yes
66921 else
66922 echo "$as_me: failed program was:" >&5
66923 sed 's/^/| /' conftest.$ac_ext >&5
66925 glibcxx_cv_func_long_double_trig_use=no
66927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66928 ac_ext=c
66929 ac_cpp='$CPP $CPPFLAGS'
66930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66936 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
66937 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
66938 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
66948 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
66950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66951 echo "$as_me:$LINENO: checking for $ac_func" >&5
66952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66953 if eval "test \"\${$as_ac_var+set}\" = set"; then
66954 echo $ECHO_N "(cached) $ECHO_C" >&6
66955 else
66956 if test x$gcc_no_link = xyes; then
66957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66959 { (exit 1); exit 1; }; }
66961 cat >conftest.$ac_ext <<_ACEOF
66962 /* confdefs.h. */
66963 _ACEOF
66964 cat confdefs.h >>conftest.$ac_ext
66965 cat >>conftest.$ac_ext <<_ACEOF
66966 /* end confdefs.h. */
66967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66969 #define $ac_func innocuous_$ac_func
66971 /* System header to define __stub macros and hopefully few prototypes,
66972 which can conflict with char $ac_func (); below.
66973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66974 <limits.h> exists even on freestanding compilers. */
66976 #ifdef __STDC__
66977 # include <limits.h>
66978 #else
66979 # include <assert.h>
66980 #endif
66982 #undef $ac_func
66984 /* Override any gcc2 internal prototype to avoid an error. */
66985 #ifdef __cplusplus
66986 extern "C"
66988 #endif
66989 /* We use char because int might match the return type of a gcc2
66990 builtin and then its argument prototype would still apply. */
66991 char $ac_func ();
66992 /* The GNU C library defines this for functions which it implements
66993 to always fail with ENOSYS. Some functions are actually named
66994 something starting with __ and the normal name is an alias. */
66995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66996 choke me
66997 #else
66998 char (*f) () = $ac_func;
66999 #endif
67000 #ifdef __cplusplus
67002 #endif
67005 main ()
67007 return f != $ac_func;
67009 return 0;
67011 _ACEOF
67012 rm -f conftest.$ac_objext conftest$ac_exeext
67013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67014 (eval $ac_link) 2>conftest.er1
67015 ac_status=$?
67016 grep -v '^ *+' conftest.er1 >conftest.err
67017 rm -f conftest.er1
67018 cat conftest.err >&5
67019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67020 (exit $ac_status); } &&
67021 { ac_try='test -z "$ac_c_werror_flag"
67022 || test ! -s conftest.err'
67023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67024 (eval $ac_try) 2>&5
67025 ac_status=$?
67026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67027 (exit $ac_status); }; } &&
67028 { ac_try='test -s conftest$ac_exeext'
67029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67030 (eval $ac_try) 2>&5
67031 ac_status=$?
67032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67033 (exit $ac_status); }; }; then
67034 eval "$as_ac_var=yes"
67035 else
67036 echo "$as_me: failed program was:" >&5
67037 sed 's/^/| /' conftest.$ac_ext >&5
67039 eval "$as_ac_var=no"
67041 rm -f conftest.err conftest.$ac_objext \
67042 conftest$ac_exeext conftest.$ac_ext
67044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67046 if test `eval echo '${'$as_ac_var'}'` = yes; then
67047 cat >>confdefs.h <<_ACEOF
67048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67049 _ACEOF
67052 done
67054 else
67055 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
67056 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
67057 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
67058 echo $ECHO_N "(cached) $ECHO_C" >&6
67059 else
67063 ac_ext=cc
67064 ac_cpp='$CXXCPP $CPPFLAGS'
67065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67069 cat >conftest.$ac_ext <<_ACEOF
67070 /* confdefs.h. */
67071 _ACEOF
67072 cat confdefs.h >>conftest.$ac_ext
67073 cat >>conftest.$ac_ext <<_ACEOF
67074 /* end confdefs.h. */
67075 #include <math.h>
67077 main ()
67079 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
67081 return 0;
67083 _ACEOF
67084 rm -f conftest.$ac_objext
67085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67086 (eval $ac_compile) 2>conftest.er1
67087 ac_status=$?
67088 grep -v '^ *+' conftest.er1 >conftest.err
67089 rm -f conftest.er1
67090 cat conftest.err >&5
67091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67092 (exit $ac_status); } &&
67093 { ac_try='test -z "$ac_cxx_werror_flag"
67094 || test ! -s conftest.err'
67095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67096 (eval $ac_try) 2>&5
67097 ac_status=$?
67098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67099 (exit $ac_status); }; } &&
67100 { ac_try='test -s conftest.$ac_objext'
67101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67102 (eval $ac_try) 2>&5
67103 ac_status=$?
67104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67105 (exit $ac_status); }; }; then
67106 glibcxx_cv_func__long_double_trig_use=yes
67107 else
67108 echo "$as_me: failed program was:" >&5
67109 sed 's/^/| /' conftest.$ac_ext >&5
67111 glibcxx_cv_func__long_double_trig_use=no
67113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67114 ac_ext=c
67115 ac_cpp='$CPP $CPPFLAGS'
67116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67122 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
67123 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
67124 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
67134 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
67136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67137 echo "$as_me:$LINENO: checking for $ac_func" >&5
67138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67139 if eval "test \"\${$as_ac_var+set}\" = set"; then
67140 echo $ECHO_N "(cached) $ECHO_C" >&6
67141 else
67142 if test x$gcc_no_link = xyes; then
67143 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67145 { (exit 1); exit 1; }; }
67147 cat >conftest.$ac_ext <<_ACEOF
67148 /* confdefs.h. */
67149 _ACEOF
67150 cat confdefs.h >>conftest.$ac_ext
67151 cat >>conftest.$ac_ext <<_ACEOF
67152 /* end confdefs.h. */
67153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67155 #define $ac_func innocuous_$ac_func
67157 /* System header to define __stub macros and hopefully few prototypes,
67158 which can conflict with char $ac_func (); below.
67159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67160 <limits.h> exists even on freestanding compilers. */
67162 #ifdef __STDC__
67163 # include <limits.h>
67164 #else
67165 # include <assert.h>
67166 #endif
67168 #undef $ac_func
67170 /* Override any gcc2 internal prototype to avoid an error. */
67171 #ifdef __cplusplus
67172 extern "C"
67174 #endif
67175 /* We use char because int might match the return type of a gcc2
67176 builtin and then its argument prototype would still apply. */
67177 char $ac_func ();
67178 /* The GNU C library defines this for functions which it implements
67179 to always fail with ENOSYS. Some functions are actually named
67180 something starting with __ and the normal name is an alias. */
67181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67182 choke me
67183 #else
67184 char (*f) () = $ac_func;
67185 #endif
67186 #ifdef __cplusplus
67188 #endif
67191 main ()
67193 return f != $ac_func;
67195 return 0;
67197 _ACEOF
67198 rm -f conftest.$ac_objext conftest$ac_exeext
67199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67200 (eval $ac_link) 2>conftest.er1
67201 ac_status=$?
67202 grep -v '^ *+' conftest.er1 >conftest.err
67203 rm -f conftest.er1
67204 cat conftest.err >&5
67205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67206 (exit $ac_status); } &&
67207 { ac_try='test -z "$ac_c_werror_flag"
67208 || test ! -s conftest.err'
67209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67210 (eval $ac_try) 2>&5
67211 ac_status=$?
67212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67213 (exit $ac_status); }; } &&
67214 { ac_try='test -s conftest$ac_exeext'
67215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67216 (eval $ac_try) 2>&5
67217 ac_status=$?
67218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67219 (exit $ac_status); }; }; then
67220 eval "$as_ac_var=yes"
67221 else
67222 echo "$as_me: failed program was:" >&5
67223 sed 's/^/| /' conftest.$ac_ext >&5
67225 eval "$as_ac_var=no"
67227 rm -f conftest.err conftest.$ac_objext \
67228 conftest$ac_exeext conftest.$ac_ext
67230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67232 if test `eval echo '${'$as_ac_var'}'` = yes; then
67233 cat >>confdefs.h <<_ACEOF
67234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67235 _ACEOF
67238 done
67256 echo "$as_me:$LINENO: checking for long double round functions" >&5
67257 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
67258 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
67259 echo $ECHO_N "(cached) $ECHO_C" >&6
67260 else
67264 ac_ext=cc
67265 ac_cpp='$CXXCPP $CPPFLAGS'
67266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67270 cat >conftest.$ac_ext <<_ACEOF
67271 /* confdefs.h. */
67272 _ACEOF
67273 cat confdefs.h >>conftest.$ac_ext
67274 cat >>conftest.$ac_ext <<_ACEOF
67275 /* end confdefs.h. */
67276 #include <math.h>
67278 main ()
67280 ceill (0); floorl (0);
67282 return 0;
67284 _ACEOF
67285 rm -f conftest.$ac_objext
67286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67287 (eval $ac_compile) 2>conftest.er1
67288 ac_status=$?
67289 grep -v '^ *+' conftest.er1 >conftest.err
67290 rm -f conftest.er1
67291 cat conftest.err >&5
67292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67293 (exit $ac_status); } &&
67294 { ac_try='test -z "$ac_cxx_werror_flag"
67295 || test ! -s conftest.err'
67296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67297 (eval $ac_try) 2>&5
67298 ac_status=$?
67299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67300 (exit $ac_status); }; } &&
67301 { ac_try='test -s conftest.$ac_objext'
67302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67303 (eval $ac_try) 2>&5
67304 ac_status=$?
67305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67306 (exit $ac_status); }; }; then
67307 glibcxx_cv_func_long_double_round_use=yes
67308 else
67309 echo "$as_me: failed program was:" >&5
67310 sed 's/^/| /' conftest.$ac_ext >&5
67312 glibcxx_cv_func_long_double_round_use=no
67314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67315 ac_ext=c
67316 ac_cpp='$CPP $CPPFLAGS'
67317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67323 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
67324 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
67325 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
67328 for ac_func in ceill floorl
67330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67331 echo "$as_me:$LINENO: checking for $ac_func" >&5
67332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67333 if eval "test \"\${$as_ac_var+set}\" = set"; then
67334 echo $ECHO_N "(cached) $ECHO_C" >&6
67335 else
67336 if test x$gcc_no_link = xyes; then
67337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67339 { (exit 1); exit 1; }; }
67341 cat >conftest.$ac_ext <<_ACEOF
67342 /* confdefs.h. */
67343 _ACEOF
67344 cat confdefs.h >>conftest.$ac_ext
67345 cat >>conftest.$ac_ext <<_ACEOF
67346 /* end confdefs.h. */
67347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67349 #define $ac_func innocuous_$ac_func
67351 /* System header to define __stub macros and hopefully few prototypes,
67352 which can conflict with char $ac_func (); below.
67353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67354 <limits.h> exists even on freestanding compilers. */
67356 #ifdef __STDC__
67357 # include <limits.h>
67358 #else
67359 # include <assert.h>
67360 #endif
67362 #undef $ac_func
67364 /* Override any gcc2 internal prototype to avoid an error. */
67365 #ifdef __cplusplus
67366 extern "C"
67368 #endif
67369 /* We use char because int might match the return type of a gcc2
67370 builtin and then its argument prototype would still apply. */
67371 char $ac_func ();
67372 /* The GNU C library defines this for functions which it implements
67373 to always fail with ENOSYS. Some functions are actually named
67374 something starting with __ and the normal name is an alias. */
67375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67376 choke me
67377 #else
67378 char (*f) () = $ac_func;
67379 #endif
67380 #ifdef __cplusplus
67382 #endif
67385 main ()
67387 return f != $ac_func;
67389 return 0;
67391 _ACEOF
67392 rm -f conftest.$ac_objext conftest$ac_exeext
67393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67394 (eval $ac_link) 2>conftest.er1
67395 ac_status=$?
67396 grep -v '^ *+' conftest.er1 >conftest.err
67397 rm -f conftest.er1
67398 cat conftest.err >&5
67399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67400 (exit $ac_status); } &&
67401 { ac_try='test -z "$ac_c_werror_flag"
67402 || test ! -s conftest.err'
67403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67404 (eval $ac_try) 2>&5
67405 ac_status=$?
67406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67407 (exit $ac_status); }; } &&
67408 { ac_try='test -s conftest$ac_exeext'
67409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67410 (eval $ac_try) 2>&5
67411 ac_status=$?
67412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67413 (exit $ac_status); }; }; then
67414 eval "$as_ac_var=yes"
67415 else
67416 echo "$as_me: failed program was:" >&5
67417 sed 's/^/| /' conftest.$ac_ext >&5
67419 eval "$as_ac_var=no"
67421 rm -f conftest.err conftest.$ac_objext \
67422 conftest$ac_exeext conftest.$ac_ext
67424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67426 if test `eval echo '${'$as_ac_var'}'` = yes; then
67427 cat >>confdefs.h <<_ACEOF
67428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67429 _ACEOF
67432 done
67434 else
67435 echo "$as_me:$LINENO: checking for _long double round functions" >&5
67436 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
67437 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
67438 echo $ECHO_N "(cached) $ECHO_C" >&6
67439 else
67443 ac_ext=cc
67444 ac_cpp='$CXXCPP $CPPFLAGS'
67445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67449 cat >conftest.$ac_ext <<_ACEOF
67450 /* confdefs.h. */
67451 _ACEOF
67452 cat confdefs.h >>conftest.$ac_ext
67453 cat >>conftest.$ac_ext <<_ACEOF
67454 /* end confdefs.h. */
67455 #include <math.h>
67457 main ()
67459 _ceill (0); _floorl (0);
67461 return 0;
67463 _ACEOF
67464 rm -f conftest.$ac_objext
67465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67466 (eval $ac_compile) 2>conftest.er1
67467 ac_status=$?
67468 grep -v '^ *+' conftest.er1 >conftest.err
67469 rm -f conftest.er1
67470 cat conftest.err >&5
67471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67472 (exit $ac_status); } &&
67473 { ac_try='test -z "$ac_cxx_werror_flag"
67474 || test ! -s conftest.err'
67475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67476 (eval $ac_try) 2>&5
67477 ac_status=$?
67478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67479 (exit $ac_status); }; } &&
67480 { ac_try='test -s conftest.$ac_objext'
67481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67482 (eval $ac_try) 2>&5
67483 ac_status=$?
67484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67485 (exit $ac_status); }; }; then
67486 glibcxx_cv_func__long_double_round_use=yes
67487 else
67488 echo "$as_me: failed program was:" >&5
67489 sed 's/^/| /' conftest.$ac_ext >&5
67491 glibcxx_cv_func__long_double_round_use=no
67493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67494 ac_ext=c
67495 ac_cpp='$CPP $CPPFLAGS'
67496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67502 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
67503 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
67504 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
67507 for ac_func in _ceill _floorl
67509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67510 echo "$as_me:$LINENO: checking for $ac_func" >&5
67511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67512 if eval "test \"\${$as_ac_var+set}\" = set"; then
67513 echo $ECHO_N "(cached) $ECHO_C" >&6
67514 else
67515 if test x$gcc_no_link = xyes; then
67516 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67518 { (exit 1); exit 1; }; }
67520 cat >conftest.$ac_ext <<_ACEOF
67521 /* confdefs.h. */
67522 _ACEOF
67523 cat confdefs.h >>conftest.$ac_ext
67524 cat >>conftest.$ac_ext <<_ACEOF
67525 /* end confdefs.h. */
67526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67528 #define $ac_func innocuous_$ac_func
67530 /* System header to define __stub macros and hopefully few prototypes,
67531 which can conflict with char $ac_func (); below.
67532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67533 <limits.h> exists even on freestanding compilers. */
67535 #ifdef __STDC__
67536 # include <limits.h>
67537 #else
67538 # include <assert.h>
67539 #endif
67541 #undef $ac_func
67543 /* Override any gcc2 internal prototype to avoid an error. */
67544 #ifdef __cplusplus
67545 extern "C"
67547 #endif
67548 /* We use char because int might match the return type of a gcc2
67549 builtin and then its argument prototype would still apply. */
67550 char $ac_func ();
67551 /* The GNU C library defines this for functions which it implements
67552 to always fail with ENOSYS. Some functions are actually named
67553 something starting with __ and the normal name is an alias. */
67554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67555 choke me
67556 #else
67557 char (*f) () = $ac_func;
67558 #endif
67559 #ifdef __cplusplus
67561 #endif
67564 main ()
67566 return f != $ac_func;
67568 return 0;
67570 _ACEOF
67571 rm -f conftest.$ac_objext conftest$ac_exeext
67572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67573 (eval $ac_link) 2>conftest.er1
67574 ac_status=$?
67575 grep -v '^ *+' conftest.er1 >conftest.err
67576 rm -f conftest.er1
67577 cat conftest.err >&5
67578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67579 (exit $ac_status); } &&
67580 { ac_try='test -z "$ac_c_werror_flag"
67581 || test ! -s conftest.err'
67582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67583 (eval $ac_try) 2>&5
67584 ac_status=$?
67585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67586 (exit $ac_status); }; } &&
67587 { ac_try='test -s conftest$ac_exeext'
67588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67589 (eval $ac_try) 2>&5
67590 ac_status=$?
67591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67592 (exit $ac_status); }; }; then
67593 eval "$as_ac_var=yes"
67594 else
67595 echo "$as_me: failed program was:" >&5
67596 sed 's/^/| /' conftest.$ac_ext >&5
67598 eval "$as_ac_var=no"
67600 rm -f conftest.err conftest.$ac_objext \
67601 conftest$ac_exeext conftest.$ac_ext
67603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67605 if test `eval echo '${'$as_ac_var'}'` = yes; then
67606 cat >>confdefs.h <<_ACEOF
67607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67608 _ACEOF
67611 done
67623 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
67624 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
67625 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
67626 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
67627 echo $ECHO_N "(cached) $ECHO_C" >&6
67628 else
67632 ac_ext=cc
67633 ac_cpp='$CXXCPP $CPPFLAGS'
67634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67638 cat >conftest.$ac_ext <<_ACEOF
67639 /* confdefs.h. */
67640 _ACEOF
67641 cat confdefs.h >>conftest.$ac_ext
67642 cat >>conftest.$ac_ext <<_ACEOF
67643 /* end confdefs.h. */
67644 #include <math.h>
67645 #ifdef HAVE_IEEEFP_H
67646 #include <ieeefp.h>
67647 #endif
67650 main ()
67652 isnanl(0);
67654 return 0;
67656 _ACEOF
67657 rm -f conftest.$ac_objext
67658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67659 (eval $ac_compile) 2>conftest.er1
67660 ac_status=$?
67661 grep -v '^ *+' conftest.er1 >conftest.err
67662 rm -f conftest.er1
67663 cat conftest.err >&5
67664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67665 (exit $ac_status); } &&
67666 { ac_try='test -z "$ac_cxx_werror_flag"
67667 || test ! -s conftest.err'
67668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67669 (eval $ac_try) 2>&5
67670 ac_status=$?
67671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67672 (exit $ac_status); }; } &&
67673 { ac_try='test -s conftest.$ac_objext'
67674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67675 (eval $ac_try) 2>&5
67676 ac_status=$?
67677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67678 (exit $ac_status); }; }; then
67679 glibcxx_cv_func_isnanl_use=yes
67680 else
67681 echo "$as_me: failed program was:" >&5
67682 sed 's/^/| /' conftest.$ac_ext >&5
67684 glibcxx_cv_func_isnanl_use=no
67686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67687 ac_ext=c
67688 ac_cpp='$CPP $CPPFLAGS'
67689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67697 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
67698 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
67700 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
67702 for ac_func in isnanl
67704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67705 echo "$as_me:$LINENO: checking for $ac_func" >&5
67706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67707 if eval "test \"\${$as_ac_var+set}\" = set"; then
67708 echo $ECHO_N "(cached) $ECHO_C" >&6
67709 else
67710 if test x$gcc_no_link = xyes; then
67711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67713 { (exit 1); exit 1; }; }
67715 cat >conftest.$ac_ext <<_ACEOF
67716 /* confdefs.h. */
67717 _ACEOF
67718 cat confdefs.h >>conftest.$ac_ext
67719 cat >>conftest.$ac_ext <<_ACEOF
67720 /* end confdefs.h. */
67721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67723 #define $ac_func innocuous_$ac_func
67725 /* System header to define __stub macros and hopefully few prototypes,
67726 which can conflict with char $ac_func (); below.
67727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67728 <limits.h> exists even on freestanding compilers. */
67730 #ifdef __STDC__
67731 # include <limits.h>
67732 #else
67733 # include <assert.h>
67734 #endif
67736 #undef $ac_func
67738 /* Override any gcc2 internal prototype to avoid an error. */
67739 #ifdef __cplusplus
67740 extern "C"
67742 #endif
67743 /* We use char because int might match the return type of a gcc2
67744 builtin and then its argument prototype would still apply. */
67745 char $ac_func ();
67746 /* The GNU C library defines this for functions which it implements
67747 to always fail with ENOSYS. Some functions are actually named
67748 something starting with __ and the normal name is an alias. */
67749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67750 choke me
67751 #else
67752 char (*f) () = $ac_func;
67753 #endif
67754 #ifdef __cplusplus
67756 #endif
67759 main ()
67761 return f != $ac_func;
67763 return 0;
67765 _ACEOF
67766 rm -f conftest.$ac_objext conftest$ac_exeext
67767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67768 (eval $ac_link) 2>conftest.er1
67769 ac_status=$?
67770 grep -v '^ *+' conftest.er1 >conftest.err
67771 rm -f conftest.er1
67772 cat conftest.err >&5
67773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67774 (exit $ac_status); } &&
67775 { ac_try='test -z "$ac_c_werror_flag"
67776 || test ! -s conftest.err'
67777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67778 (eval $ac_try) 2>&5
67779 ac_status=$?
67780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67781 (exit $ac_status); }; } &&
67782 { ac_try='test -s conftest$ac_exeext'
67783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67784 (eval $ac_try) 2>&5
67785 ac_status=$?
67786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67787 (exit $ac_status); }; }; then
67788 eval "$as_ac_var=yes"
67789 else
67790 echo "$as_me: failed program was:" >&5
67791 sed 's/^/| /' conftest.$ac_ext >&5
67793 eval "$as_ac_var=no"
67795 rm -f conftest.err conftest.$ac_objext \
67796 conftest$ac_exeext conftest.$ac_ext
67798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67800 if test `eval echo '${'$as_ac_var'}'` = yes; then
67801 cat >>confdefs.h <<_ACEOF
67802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67803 _ACEOF
67806 done
67808 else
67810 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
67811 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
67812 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
67813 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
67814 echo $ECHO_N "(cached) $ECHO_C" >&6
67815 else
67819 ac_ext=cc
67820 ac_cpp='$CXXCPP $CPPFLAGS'
67821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67825 cat >conftest.$ac_ext <<_ACEOF
67826 /* confdefs.h. */
67827 _ACEOF
67828 cat confdefs.h >>conftest.$ac_ext
67829 cat >>conftest.$ac_ext <<_ACEOF
67830 /* end confdefs.h. */
67831 #include <math.h>
67832 #ifdef HAVE_IEEEFP_H
67833 #include <ieeefp.h>
67834 #endif
67837 main ()
67839 _isnanl(0);
67841 return 0;
67843 _ACEOF
67844 rm -f conftest.$ac_objext
67845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67846 (eval $ac_compile) 2>conftest.er1
67847 ac_status=$?
67848 grep -v '^ *+' conftest.er1 >conftest.err
67849 rm -f conftest.er1
67850 cat conftest.err >&5
67851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67852 (exit $ac_status); } &&
67853 { ac_try='test -z "$ac_cxx_werror_flag"
67854 || test ! -s conftest.err'
67855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67856 (eval $ac_try) 2>&5
67857 ac_status=$?
67858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67859 (exit $ac_status); }; } &&
67860 { ac_try='test -s conftest.$ac_objext'
67861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67862 (eval $ac_try) 2>&5
67863 ac_status=$?
67864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67865 (exit $ac_status); }; }; then
67866 glibcxx_cv_func__isnanl_use=yes
67867 else
67868 echo "$as_me: failed program was:" >&5
67869 sed 's/^/| /' conftest.$ac_ext >&5
67871 glibcxx_cv_func__isnanl_use=no
67873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67874 ac_ext=c
67875 ac_cpp='$CPP $CPPFLAGS'
67876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67884 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
67885 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
67887 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
67889 for ac_func in _isnanl
67891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67892 echo "$as_me:$LINENO: checking for $ac_func" >&5
67893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67894 if eval "test \"\${$as_ac_var+set}\" = set"; then
67895 echo $ECHO_N "(cached) $ECHO_C" >&6
67896 else
67897 if test x$gcc_no_link = xyes; then
67898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67900 { (exit 1); exit 1; }; }
67902 cat >conftest.$ac_ext <<_ACEOF
67903 /* confdefs.h. */
67904 _ACEOF
67905 cat confdefs.h >>conftest.$ac_ext
67906 cat >>conftest.$ac_ext <<_ACEOF
67907 /* end confdefs.h. */
67908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67910 #define $ac_func innocuous_$ac_func
67912 /* System header to define __stub macros and hopefully few prototypes,
67913 which can conflict with char $ac_func (); below.
67914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67915 <limits.h> exists even on freestanding compilers. */
67917 #ifdef __STDC__
67918 # include <limits.h>
67919 #else
67920 # include <assert.h>
67921 #endif
67923 #undef $ac_func
67925 /* Override any gcc2 internal prototype to avoid an error. */
67926 #ifdef __cplusplus
67927 extern "C"
67929 #endif
67930 /* We use char because int might match the return type of a gcc2
67931 builtin and then its argument prototype would still apply. */
67932 char $ac_func ();
67933 /* The GNU C library defines this for functions which it implements
67934 to always fail with ENOSYS. Some functions are actually named
67935 something starting with __ and the normal name is an alias. */
67936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67937 choke me
67938 #else
67939 char (*f) () = $ac_func;
67940 #endif
67941 #ifdef __cplusplus
67943 #endif
67946 main ()
67948 return f != $ac_func;
67950 return 0;
67952 _ACEOF
67953 rm -f conftest.$ac_objext conftest$ac_exeext
67954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67955 (eval $ac_link) 2>conftest.er1
67956 ac_status=$?
67957 grep -v '^ *+' conftest.er1 >conftest.err
67958 rm -f conftest.er1
67959 cat conftest.err >&5
67960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67961 (exit $ac_status); } &&
67962 { ac_try='test -z "$ac_c_werror_flag"
67963 || test ! -s conftest.err'
67964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67965 (eval $ac_try) 2>&5
67966 ac_status=$?
67967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67968 (exit $ac_status); }; } &&
67969 { ac_try='test -s conftest$ac_exeext'
67970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67971 (eval $ac_try) 2>&5
67972 ac_status=$?
67973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67974 (exit $ac_status); }; }; then
67975 eval "$as_ac_var=yes"
67976 else
67977 echo "$as_me: failed program was:" >&5
67978 sed 's/^/| /' conftest.$ac_ext >&5
67980 eval "$as_ac_var=no"
67982 rm -f conftest.err conftest.$ac_objext \
67983 conftest$ac_exeext conftest.$ac_ext
67985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67987 if test `eval echo '${'$as_ac_var'}'` = yes; then
67988 cat >>confdefs.h <<_ACEOF
67989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67990 _ACEOF
67993 done
68003 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
68004 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
68005 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
68006 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
68007 echo $ECHO_N "(cached) $ECHO_C" >&6
68008 else
68012 ac_ext=cc
68013 ac_cpp='$CXXCPP $CPPFLAGS'
68014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68018 cat >conftest.$ac_ext <<_ACEOF
68019 /* confdefs.h. */
68020 _ACEOF
68021 cat confdefs.h >>conftest.$ac_ext
68022 cat >>conftest.$ac_ext <<_ACEOF
68023 /* end confdefs.h. */
68024 #include <math.h>
68025 #ifdef HAVE_IEEEFP_H
68026 #include <ieeefp.h>
68027 #endif
68030 main ()
68032 isinfl(0);
68034 return 0;
68036 _ACEOF
68037 rm -f conftest.$ac_objext
68038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68039 (eval $ac_compile) 2>conftest.er1
68040 ac_status=$?
68041 grep -v '^ *+' conftest.er1 >conftest.err
68042 rm -f conftest.er1
68043 cat conftest.err >&5
68044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68045 (exit $ac_status); } &&
68046 { ac_try='test -z "$ac_cxx_werror_flag"
68047 || test ! -s conftest.err'
68048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68049 (eval $ac_try) 2>&5
68050 ac_status=$?
68051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68052 (exit $ac_status); }; } &&
68053 { ac_try='test -s conftest.$ac_objext'
68054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68055 (eval $ac_try) 2>&5
68056 ac_status=$?
68057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68058 (exit $ac_status); }; }; then
68059 glibcxx_cv_func_isinfl_use=yes
68060 else
68061 echo "$as_me: failed program was:" >&5
68062 sed 's/^/| /' conftest.$ac_ext >&5
68064 glibcxx_cv_func_isinfl_use=no
68066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68067 ac_ext=c
68068 ac_cpp='$CPP $CPPFLAGS'
68069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68077 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
68078 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
68080 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
68082 for ac_func in isinfl
68084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68085 echo "$as_me:$LINENO: checking for $ac_func" >&5
68086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68087 if eval "test \"\${$as_ac_var+set}\" = set"; then
68088 echo $ECHO_N "(cached) $ECHO_C" >&6
68089 else
68090 if test x$gcc_no_link = xyes; then
68091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68093 { (exit 1); exit 1; }; }
68095 cat >conftest.$ac_ext <<_ACEOF
68096 /* confdefs.h. */
68097 _ACEOF
68098 cat confdefs.h >>conftest.$ac_ext
68099 cat >>conftest.$ac_ext <<_ACEOF
68100 /* end confdefs.h. */
68101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68103 #define $ac_func innocuous_$ac_func
68105 /* System header to define __stub macros and hopefully few prototypes,
68106 which can conflict with char $ac_func (); below.
68107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68108 <limits.h> exists even on freestanding compilers. */
68110 #ifdef __STDC__
68111 # include <limits.h>
68112 #else
68113 # include <assert.h>
68114 #endif
68116 #undef $ac_func
68118 /* Override any gcc2 internal prototype to avoid an error. */
68119 #ifdef __cplusplus
68120 extern "C"
68122 #endif
68123 /* We use char because int might match the return type of a gcc2
68124 builtin and then its argument prototype would still apply. */
68125 char $ac_func ();
68126 /* The GNU C library defines this for functions which it implements
68127 to always fail with ENOSYS. Some functions are actually named
68128 something starting with __ and the normal name is an alias. */
68129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68130 choke me
68131 #else
68132 char (*f) () = $ac_func;
68133 #endif
68134 #ifdef __cplusplus
68136 #endif
68139 main ()
68141 return f != $ac_func;
68143 return 0;
68145 _ACEOF
68146 rm -f conftest.$ac_objext conftest$ac_exeext
68147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68148 (eval $ac_link) 2>conftest.er1
68149 ac_status=$?
68150 grep -v '^ *+' conftest.er1 >conftest.err
68151 rm -f conftest.er1
68152 cat conftest.err >&5
68153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68154 (exit $ac_status); } &&
68155 { ac_try='test -z "$ac_c_werror_flag"
68156 || test ! -s conftest.err'
68157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68158 (eval $ac_try) 2>&5
68159 ac_status=$?
68160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68161 (exit $ac_status); }; } &&
68162 { ac_try='test -s conftest$ac_exeext'
68163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68164 (eval $ac_try) 2>&5
68165 ac_status=$?
68166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68167 (exit $ac_status); }; }; then
68168 eval "$as_ac_var=yes"
68169 else
68170 echo "$as_me: failed program was:" >&5
68171 sed 's/^/| /' conftest.$ac_ext >&5
68173 eval "$as_ac_var=no"
68175 rm -f conftest.err conftest.$ac_objext \
68176 conftest$ac_exeext conftest.$ac_ext
68178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68180 if test `eval echo '${'$as_ac_var'}'` = yes; then
68181 cat >>confdefs.h <<_ACEOF
68182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68183 _ACEOF
68186 done
68188 else
68190 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
68191 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
68192 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
68193 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
68194 echo $ECHO_N "(cached) $ECHO_C" >&6
68195 else
68199 ac_ext=cc
68200 ac_cpp='$CXXCPP $CPPFLAGS'
68201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68205 cat >conftest.$ac_ext <<_ACEOF
68206 /* confdefs.h. */
68207 _ACEOF
68208 cat confdefs.h >>conftest.$ac_ext
68209 cat >>conftest.$ac_ext <<_ACEOF
68210 /* end confdefs.h. */
68211 #include <math.h>
68212 #ifdef HAVE_IEEEFP_H
68213 #include <ieeefp.h>
68214 #endif
68217 main ()
68219 _isinfl(0);
68221 return 0;
68223 _ACEOF
68224 rm -f conftest.$ac_objext
68225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68226 (eval $ac_compile) 2>conftest.er1
68227 ac_status=$?
68228 grep -v '^ *+' conftest.er1 >conftest.err
68229 rm -f conftest.er1
68230 cat conftest.err >&5
68231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68232 (exit $ac_status); } &&
68233 { ac_try='test -z "$ac_cxx_werror_flag"
68234 || test ! -s conftest.err'
68235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68236 (eval $ac_try) 2>&5
68237 ac_status=$?
68238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68239 (exit $ac_status); }; } &&
68240 { ac_try='test -s conftest.$ac_objext'
68241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68242 (eval $ac_try) 2>&5
68243 ac_status=$?
68244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68245 (exit $ac_status); }; }; then
68246 glibcxx_cv_func__isinfl_use=yes
68247 else
68248 echo "$as_me: failed program was:" >&5
68249 sed 's/^/| /' conftest.$ac_ext >&5
68251 glibcxx_cv_func__isinfl_use=no
68253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68254 ac_ext=c
68255 ac_cpp='$CPP $CPPFLAGS'
68256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68264 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
68265 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
68267 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
68269 for ac_func in _isinfl
68271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68272 echo "$as_me:$LINENO: checking for $ac_func" >&5
68273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68274 if eval "test \"\${$as_ac_var+set}\" = set"; then
68275 echo $ECHO_N "(cached) $ECHO_C" >&6
68276 else
68277 if test x$gcc_no_link = xyes; then
68278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68280 { (exit 1); exit 1; }; }
68282 cat >conftest.$ac_ext <<_ACEOF
68283 /* confdefs.h. */
68284 _ACEOF
68285 cat confdefs.h >>conftest.$ac_ext
68286 cat >>conftest.$ac_ext <<_ACEOF
68287 /* end confdefs.h. */
68288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68290 #define $ac_func innocuous_$ac_func
68292 /* System header to define __stub macros and hopefully few prototypes,
68293 which can conflict with char $ac_func (); below.
68294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68295 <limits.h> exists even on freestanding compilers. */
68297 #ifdef __STDC__
68298 # include <limits.h>
68299 #else
68300 # include <assert.h>
68301 #endif
68303 #undef $ac_func
68305 /* Override any gcc2 internal prototype to avoid an error. */
68306 #ifdef __cplusplus
68307 extern "C"
68309 #endif
68310 /* We use char because int might match the return type of a gcc2
68311 builtin and then its argument prototype would still apply. */
68312 char $ac_func ();
68313 /* The GNU C library defines this for functions which it implements
68314 to always fail with ENOSYS. Some functions are actually named
68315 something starting with __ and the normal name is an alias. */
68316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68317 choke me
68318 #else
68319 char (*f) () = $ac_func;
68320 #endif
68321 #ifdef __cplusplus
68323 #endif
68326 main ()
68328 return f != $ac_func;
68330 return 0;
68332 _ACEOF
68333 rm -f conftest.$ac_objext conftest$ac_exeext
68334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68335 (eval $ac_link) 2>conftest.er1
68336 ac_status=$?
68337 grep -v '^ *+' conftest.er1 >conftest.err
68338 rm -f conftest.er1
68339 cat conftest.err >&5
68340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68341 (exit $ac_status); } &&
68342 { ac_try='test -z "$ac_c_werror_flag"
68343 || test ! -s conftest.err'
68344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68345 (eval $ac_try) 2>&5
68346 ac_status=$?
68347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68348 (exit $ac_status); }; } &&
68349 { ac_try='test -s conftest$ac_exeext'
68350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68351 (eval $ac_try) 2>&5
68352 ac_status=$?
68353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68354 (exit $ac_status); }; }; then
68355 eval "$as_ac_var=yes"
68356 else
68357 echo "$as_me: failed program was:" >&5
68358 sed 's/^/| /' conftest.$ac_ext >&5
68360 eval "$as_ac_var=no"
68362 rm -f conftest.err conftest.$ac_objext \
68363 conftest$ac_exeext conftest.$ac_ext
68365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68367 if test `eval echo '${'$as_ac_var'}'` = yes; then
68368 cat >>confdefs.h <<_ACEOF
68369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68370 _ACEOF
68373 done
68383 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
68384 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
68385 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
68386 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
68387 echo $ECHO_N "(cached) $ECHO_C" >&6
68388 else
68392 ac_ext=cc
68393 ac_cpp='$CXXCPP $CPPFLAGS'
68394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68398 cat >conftest.$ac_ext <<_ACEOF
68399 /* confdefs.h. */
68400 _ACEOF
68401 cat confdefs.h >>conftest.$ac_ext
68402 cat >>conftest.$ac_ext <<_ACEOF
68403 /* end confdefs.h. */
68404 #include <math.h>
68406 main ()
68408 copysignl(0, 0);
68410 return 0;
68412 _ACEOF
68413 rm -f conftest.$ac_objext
68414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68415 (eval $ac_compile) 2>conftest.er1
68416 ac_status=$?
68417 grep -v '^ *+' conftest.er1 >conftest.err
68418 rm -f conftest.er1
68419 cat conftest.err >&5
68420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68421 (exit $ac_status); } &&
68422 { ac_try='test -z "$ac_cxx_werror_flag"
68423 || test ! -s conftest.err'
68424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68425 (eval $ac_try) 2>&5
68426 ac_status=$?
68427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68428 (exit $ac_status); }; } &&
68429 { ac_try='test -s conftest.$ac_objext'
68430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68431 (eval $ac_try) 2>&5
68432 ac_status=$?
68433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68434 (exit $ac_status); }; }; then
68435 glibcxx_cv_func_copysignl_use=yes
68436 else
68437 echo "$as_me: failed program was:" >&5
68438 sed 's/^/| /' conftest.$ac_ext >&5
68440 glibcxx_cv_func_copysignl_use=no
68442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68443 ac_ext=c
68444 ac_cpp='$CPP $CPPFLAGS'
68445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68453 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
68454 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
68456 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
68458 for ac_func in copysignl
68460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68461 echo "$as_me:$LINENO: checking for $ac_func" >&5
68462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68463 if eval "test \"\${$as_ac_var+set}\" = set"; then
68464 echo $ECHO_N "(cached) $ECHO_C" >&6
68465 else
68466 if test x$gcc_no_link = xyes; then
68467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68469 { (exit 1); exit 1; }; }
68471 cat >conftest.$ac_ext <<_ACEOF
68472 /* confdefs.h. */
68473 _ACEOF
68474 cat confdefs.h >>conftest.$ac_ext
68475 cat >>conftest.$ac_ext <<_ACEOF
68476 /* end confdefs.h. */
68477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68479 #define $ac_func innocuous_$ac_func
68481 /* System header to define __stub macros and hopefully few prototypes,
68482 which can conflict with char $ac_func (); below.
68483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68484 <limits.h> exists even on freestanding compilers. */
68486 #ifdef __STDC__
68487 # include <limits.h>
68488 #else
68489 # include <assert.h>
68490 #endif
68492 #undef $ac_func
68494 /* Override any gcc2 internal prototype to avoid an error. */
68495 #ifdef __cplusplus
68496 extern "C"
68498 #endif
68499 /* We use char because int might match the return type of a gcc2
68500 builtin and then its argument prototype would still apply. */
68501 char $ac_func ();
68502 /* The GNU C library defines this for functions which it implements
68503 to always fail with ENOSYS. Some functions are actually named
68504 something starting with __ and the normal name is an alias. */
68505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68506 choke me
68507 #else
68508 char (*f) () = $ac_func;
68509 #endif
68510 #ifdef __cplusplus
68512 #endif
68515 main ()
68517 return f != $ac_func;
68519 return 0;
68521 _ACEOF
68522 rm -f conftest.$ac_objext conftest$ac_exeext
68523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68524 (eval $ac_link) 2>conftest.er1
68525 ac_status=$?
68526 grep -v '^ *+' conftest.er1 >conftest.err
68527 rm -f conftest.er1
68528 cat conftest.err >&5
68529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68530 (exit $ac_status); } &&
68531 { ac_try='test -z "$ac_c_werror_flag"
68532 || test ! -s conftest.err'
68533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68534 (eval $ac_try) 2>&5
68535 ac_status=$?
68536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68537 (exit $ac_status); }; } &&
68538 { ac_try='test -s conftest$ac_exeext'
68539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68540 (eval $ac_try) 2>&5
68541 ac_status=$?
68542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68543 (exit $ac_status); }; }; then
68544 eval "$as_ac_var=yes"
68545 else
68546 echo "$as_me: failed program was:" >&5
68547 sed 's/^/| /' conftest.$ac_ext >&5
68549 eval "$as_ac_var=no"
68551 rm -f conftest.err conftest.$ac_objext \
68552 conftest$ac_exeext conftest.$ac_ext
68554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68556 if test `eval echo '${'$as_ac_var'}'` = yes; then
68557 cat >>confdefs.h <<_ACEOF
68558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68559 _ACEOF
68562 done
68564 else
68566 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
68567 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
68568 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
68569 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
68570 echo $ECHO_N "(cached) $ECHO_C" >&6
68571 else
68575 ac_ext=cc
68576 ac_cpp='$CXXCPP $CPPFLAGS'
68577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68581 cat >conftest.$ac_ext <<_ACEOF
68582 /* confdefs.h. */
68583 _ACEOF
68584 cat confdefs.h >>conftest.$ac_ext
68585 cat >>conftest.$ac_ext <<_ACEOF
68586 /* end confdefs.h. */
68587 #include <math.h>
68589 main ()
68591 _copysignl(0, 0);
68593 return 0;
68595 _ACEOF
68596 rm -f conftest.$ac_objext
68597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68598 (eval $ac_compile) 2>conftest.er1
68599 ac_status=$?
68600 grep -v '^ *+' conftest.er1 >conftest.err
68601 rm -f conftest.er1
68602 cat conftest.err >&5
68603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68604 (exit $ac_status); } &&
68605 { ac_try='test -z "$ac_cxx_werror_flag"
68606 || test ! -s conftest.err'
68607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68608 (eval $ac_try) 2>&5
68609 ac_status=$?
68610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68611 (exit $ac_status); }; } &&
68612 { ac_try='test -s conftest.$ac_objext'
68613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68614 (eval $ac_try) 2>&5
68615 ac_status=$?
68616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68617 (exit $ac_status); }; }; then
68618 glibcxx_cv_func__copysignl_use=yes
68619 else
68620 echo "$as_me: failed program was:" >&5
68621 sed 's/^/| /' conftest.$ac_ext >&5
68623 glibcxx_cv_func__copysignl_use=no
68625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68626 ac_ext=c
68627 ac_cpp='$CPP $CPPFLAGS'
68628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68636 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
68637 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
68639 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
68641 for ac_func in _copysignl
68643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68644 echo "$as_me:$LINENO: checking for $ac_func" >&5
68645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68646 if eval "test \"\${$as_ac_var+set}\" = set"; then
68647 echo $ECHO_N "(cached) $ECHO_C" >&6
68648 else
68649 if test x$gcc_no_link = xyes; then
68650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68652 { (exit 1); exit 1; }; }
68654 cat >conftest.$ac_ext <<_ACEOF
68655 /* confdefs.h. */
68656 _ACEOF
68657 cat confdefs.h >>conftest.$ac_ext
68658 cat >>conftest.$ac_ext <<_ACEOF
68659 /* end confdefs.h. */
68660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68662 #define $ac_func innocuous_$ac_func
68664 /* System header to define __stub macros and hopefully few prototypes,
68665 which can conflict with char $ac_func (); below.
68666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68667 <limits.h> exists even on freestanding compilers. */
68669 #ifdef __STDC__
68670 # include <limits.h>
68671 #else
68672 # include <assert.h>
68673 #endif
68675 #undef $ac_func
68677 /* Override any gcc2 internal prototype to avoid an error. */
68678 #ifdef __cplusplus
68679 extern "C"
68681 #endif
68682 /* We use char because int might match the return type of a gcc2
68683 builtin and then its argument prototype would still apply. */
68684 char $ac_func ();
68685 /* The GNU C library defines this for functions which it implements
68686 to always fail with ENOSYS. Some functions are actually named
68687 something starting with __ and the normal name is an alias. */
68688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68689 choke me
68690 #else
68691 char (*f) () = $ac_func;
68692 #endif
68693 #ifdef __cplusplus
68695 #endif
68698 main ()
68700 return f != $ac_func;
68702 return 0;
68704 _ACEOF
68705 rm -f conftest.$ac_objext conftest$ac_exeext
68706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68707 (eval $ac_link) 2>conftest.er1
68708 ac_status=$?
68709 grep -v '^ *+' conftest.er1 >conftest.err
68710 rm -f conftest.er1
68711 cat conftest.err >&5
68712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68713 (exit $ac_status); } &&
68714 { ac_try='test -z "$ac_c_werror_flag"
68715 || test ! -s conftest.err'
68716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68717 (eval $ac_try) 2>&5
68718 ac_status=$?
68719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68720 (exit $ac_status); }; } &&
68721 { ac_try='test -s conftest$ac_exeext'
68722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68723 (eval $ac_try) 2>&5
68724 ac_status=$?
68725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68726 (exit $ac_status); }; }; then
68727 eval "$as_ac_var=yes"
68728 else
68729 echo "$as_me: failed program was:" >&5
68730 sed 's/^/| /' conftest.$ac_ext >&5
68732 eval "$as_ac_var=no"
68734 rm -f conftest.err conftest.$ac_objext \
68735 conftest$ac_exeext conftest.$ac_ext
68737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68739 if test `eval echo '${'$as_ac_var'}'` = yes; then
68740 cat >>confdefs.h <<_ACEOF
68741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68742 _ACEOF
68745 done
68755 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
68756 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
68757 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
68758 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
68759 echo $ECHO_N "(cached) $ECHO_C" >&6
68760 else
68764 ac_ext=cc
68765 ac_cpp='$CXXCPP $CPPFLAGS'
68766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68770 cat >conftest.$ac_ext <<_ACEOF
68771 /* confdefs.h. */
68772 _ACEOF
68773 cat confdefs.h >>conftest.$ac_ext
68774 cat >>conftest.$ac_ext <<_ACEOF
68775 /* end confdefs.h. */
68776 #include <math.h>
68778 main ()
68780 atan2l(0, 0);
68782 return 0;
68784 _ACEOF
68785 rm -f conftest.$ac_objext
68786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68787 (eval $ac_compile) 2>conftest.er1
68788 ac_status=$?
68789 grep -v '^ *+' conftest.er1 >conftest.err
68790 rm -f conftest.er1
68791 cat conftest.err >&5
68792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68793 (exit $ac_status); } &&
68794 { ac_try='test -z "$ac_cxx_werror_flag"
68795 || test ! -s conftest.err'
68796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68797 (eval $ac_try) 2>&5
68798 ac_status=$?
68799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68800 (exit $ac_status); }; } &&
68801 { ac_try='test -s conftest.$ac_objext'
68802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68803 (eval $ac_try) 2>&5
68804 ac_status=$?
68805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68806 (exit $ac_status); }; }; then
68807 glibcxx_cv_func_atan2l_use=yes
68808 else
68809 echo "$as_me: failed program was:" >&5
68810 sed 's/^/| /' conftest.$ac_ext >&5
68812 glibcxx_cv_func_atan2l_use=no
68814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68815 ac_ext=c
68816 ac_cpp='$CPP $CPPFLAGS'
68817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68825 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
68826 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
68828 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
68830 for ac_func in atan2l
68832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68833 echo "$as_me:$LINENO: checking for $ac_func" >&5
68834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68835 if eval "test \"\${$as_ac_var+set}\" = set"; then
68836 echo $ECHO_N "(cached) $ECHO_C" >&6
68837 else
68838 if test x$gcc_no_link = xyes; then
68839 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68841 { (exit 1); exit 1; }; }
68843 cat >conftest.$ac_ext <<_ACEOF
68844 /* confdefs.h. */
68845 _ACEOF
68846 cat confdefs.h >>conftest.$ac_ext
68847 cat >>conftest.$ac_ext <<_ACEOF
68848 /* end confdefs.h. */
68849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68851 #define $ac_func innocuous_$ac_func
68853 /* System header to define __stub macros and hopefully few prototypes,
68854 which can conflict with char $ac_func (); below.
68855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68856 <limits.h> exists even on freestanding compilers. */
68858 #ifdef __STDC__
68859 # include <limits.h>
68860 #else
68861 # include <assert.h>
68862 #endif
68864 #undef $ac_func
68866 /* Override any gcc2 internal prototype to avoid an error. */
68867 #ifdef __cplusplus
68868 extern "C"
68870 #endif
68871 /* We use char because int might match the return type of a gcc2
68872 builtin and then its argument prototype would still apply. */
68873 char $ac_func ();
68874 /* The GNU C library defines this for functions which it implements
68875 to always fail with ENOSYS. Some functions are actually named
68876 something starting with __ and the normal name is an alias. */
68877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68878 choke me
68879 #else
68880 char (*f) () = $ac_func;
68881 #endif
68882 #ifdef __cplusplus
68884 #endif
68887 main ()
68889 return f != $ac_func;
68891 return 0;
68893 _ACEOF
68894 rm -f conftest.$ac_objext conftest$ac_exeext
68895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68896 (eval $ac_link) 2>conftest.er1
68897 ac_status=$?
68898 grep -v '^ *+' conftest.er1 >conftest.err
68899 rm -f conftest.er1
68900 cat conftest.err >&5
68901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68902 (exit $ac_status); } &&
68903 { ac_try='test -z "$ac_c_werror_flag"
68904 || test ! -s conftest.err'
68905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68906 (eval $ac_try) 2>&5
68907 ac_status=$?
68908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68909 (exit $ac_status); }; } &&
68910 { ac_try='test -s conftest$ac_exeext'
68911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68912 (eval $ac_try) 2>&5
68913 ac_status=$?
68914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68915 (exit $ac_status); }; }; then
68916 eval "$as_ac_var=yes"
68917 else
68918 echo "$as_me: failed program was:" >&5
68919 sed 's/^/| /' conftest.$ac_ext >&5
68921 eval "$as_ac_var=no"
68923 rm -f conftest.err conftest.$ac_objext \
68924 conftest$ac_exeext conftest.$ac_ext
68926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68928 if test `eval echo '${'$as_ac_var'}'` = yes; then
68929 cat >>confdefs.h <<_ACEOF
68930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68931 _ACEOF
68934 done
68936 else
68938 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
68939 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
68940 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
68941 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
68942 echo $ECHO_N "(cached) $ECHO_C" >&6
68943 else
68947 ac_ext=cc
68948 ac_cpp='$CXXCPP $CPPFLAGS'
68949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68953 cat >conftest.$ac_ext <<_ACEOF
68954 /* confdefs.h. */
68955 _ACEOF
68956 cat confdefs.h >>conftest.$ac_ext
68957 cat >>conftest.$ac_ext <<_ACEOF
68958 /* end confdefs.h. */
68959 #include <math.h>
68961 main ()
68963 _atan2l(0, 0);
68965 return 0;
68967 _ACEOF
68968 rm -f conftest.$ac_objext
68969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68970 (eval $ac_compile) 2>conftest.er1
68971 ac_status=$?
68972 grep -v '^ *+' conftest.er1 >conftest.err
68973 rm -f conftest.er1
68974 cat conftest.err >&5
68975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68976 (exit $ac_status); } &&
68977 { ac_try='test -z "$ac_cxx_werror_flag"
68978 || test ! -s conftest.err'
68979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68980 (eval $ac_try) 2>&5
68981 ac_status=$?
68982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68983 (exit $ac_status); }; } &&
68984 { ac_try='test -s conftest.$ac_objext'
68985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68986 (eval $ac_try) 2>&5
68987 ac_status=$?
68988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68989 (exit $ac_status); }; }; then
68990 glibcxx_cv_func__atan2l_use=yes
68991 else
68992 echo "$as_me: failed program was:" >&5
68993 sed 's/^/| /' conftest.$ac_ext >&5
68995 glibcxx_cv_func__atan2l_use=no
68997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68998 ac_ext=c
68999 ac_cpp='$CPP $CPPFLAGS'
69000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69008 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
69009 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
69011 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
69013 for ac_func in _atan2l
69015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69016 echo "$as_me:$LINENO: checking for $ac_func" >&5
69017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69018 if eval "test \"\${$as_ac_var+set}\" = set"; then
69019 echo $ECHO_N "(cached) $ECHO_C" >&6
69020 else
69021 if test x$gcc_no_link = xyes; then
69022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69024 { (exit 1); exit 1; }; }
69026 cat >conftest.$ac_ext <<_ACEOF
69027 /* confdefs.h. */
69028 _ACEOF
69029 cat confdefs.h >>conftest.$ac_ext
69030 cat >>conftest.$ac_ext <<_ACEOF
69031 /* end confdefs.h. */
69032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69034 #define $ac_func innocuous_$ac_func
69036 /* System header to define __stub macros and hopefully few prototypes,
69037 which can conflict with char $ac_func (); below.
69038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69039 <limits.h> exists even on freestanding compilers. */
69041 #ifdef __STDC__
69042 # include <limits.h>
69043 #else
69044 # include <assert.h>
69045 #endif
69047 #undef $ac_func
69049 /* Override any gcc2 internal prototype to avoid an error. */
69050 #ifdef __cplusplus
69051 extern "C"
69053 #endif
69054 /* We use char because int might match the return type of a gcc2
69055 builtin and then its argument prototype would still apply. */
69056 char $ac_func ();
69057 /* The GNU C library defines this for functions which it implements
69058 to always fail with ENOSYS. Some functions are actually named
69059 something starting with __ and the normal name is an alias. */
69060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69061 choke me
69062 #else
69063 char (*f) () = $ac_func;
69064 #endif
69065 #ifdef __cplusplus
69067 #endif
69070 main ()
69072 return f != $ac_func;
69074 return 0;
69076 _ACEOF
69077 rm -f conftest.$ac_objext conftest$ac_exeext
69078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69079 (eval $ac_link) 2>conftest.er1
69080 ac_status=$?
69081 grep -v '^ *+' conftest.er1 >conftest.err
69082 rm -f conftest.er1
69083 cat conftest.err >&5
69084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69085 (exit $ac_status); } &&
69086 { ac_try='test -z "$ac_c_werror_flag"
69087 || test ! -s conftest.err'
69088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69089 (eval $ac_try) 2>&5
69090 ac_status=$?
69091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69092 (exit $ac_status); }; } &&
69093 { ac_try='test -s conftest$ac_exeext'
69094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69095 (eval $ac_try) 2>&5
69096 ac_status=$?
69097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69098 (exit $ac_status); }; }; then
69099 eval "$as_ac_var=yes"
69100 else
69101 echo "$as_me: failed program was:" >&5
69102 sed 's/^/| /' conftest.$ac_ext >&5
69104 eval "$as_ac_var=no"
69106 rm -f conftest.err conftest.$ac_objext \
69107 conftest$ac_exeext conftest.$ac_ext
69109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69111 if test `eval echo '${'$as_ac_var'}'` = yes; then
69112 cat >>confdefs.h <<_ACEOF
69113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69114 _ACEOF
69117 done
69127 echo "$as_me:$LINENO: checking for expl declaration" >&5
69128 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
69129 if test x${glibcxx_cv_func_expl_use+set} != xset; then
69130 if test "${glibcxx_cv_func_expl_use+set}" = set; then
69131 echo $ECHO_N "(cached) $ECHO_C" >&6
69132 else
69136 ac_ext=cc
69137 ac_cpp='$CXXCPP $CPPFLAGS'
69138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69142 cat >conftest.$ac_ext <<_ACEOF
69143 /* confdefs.h. */
69144 _ACEOF
69145 cat confdefs.h >>conftest.$ac_ext
69146 cat >>conftest.$ac_ext <<_ACEOF
69147 /* end confdefs.h. */
69148 #include <math.h>
69149 #ifdef HAVE_IEEEFP_H
69150 #include <ieeefp.h>
69151 #endif
69154 main ()
69156 expl(0);
69158 return 0;
69160 _ACEOF
69161 rm -f conftest.$ac_objext
69162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69163 (eval $ac_compile) 2>conftest.er1
69164 ac_status=$?
69165 grep -v '^ *+' conftest.er1 >conftest.err
69166 rm -f conftest.er1
69167 cat conftest.err >&5
69168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69169 (exit $ac_status); } &&
69170 { ac_try='test -z "$ac_cxx_werror_flag"
69171 || test ! -s conftest.err'
69172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69173 (eval $ac_try) 2>&5
69174 ac_status=$?
69175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69176 (exit $ac_status); }; } &&
69177 { ac_try='test -s conftest.$ac_objext'
69178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69179 (eval $ac_try) 2>&5
69180 ac_status=$?
69181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69182 (exit $ac_status); }; }; then
69183 glibcxx_cv_func_expl_use=yes
69184 else
69185 echo "$as_me: failed program was:" >&5
69186 sed 's/^/| /' conftest.$ac_ext >&5
69188 glibcxx_cv_func_expl_use=no
69190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69191 ac_ext=c
69192 ac_cpp='$CPP $CPPFLAGS'
69193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69201 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
69202 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
69204 if test x$glibcxx_cv_func_expl_use = x"yes"; then
69206 for ac_func in expl
69208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69209 echo "$as_me:$LINENO: checking for $ac_func" >&5
69210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69211 if eval "test \"\${$as_ac_var+set}\" = set"; then
69212 echo $ECHO_N "(cached) $ECHO_C" >&6
69213 else
69214 if test x$gcc_no_link = xyes; then
69215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69217 { (exit 1); exit 1; }; }
69219 cat >conftest.$ac_ext <<_ACEOF
69220 /* confdefs.h. */
69221 _ACEOF
69222 cat confdefs.h >>conftest.$ac_ext
69223 cat >>conftest.$ac_ext <<_ACEOF
69224 /* end confdefs.h. */
69225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69227 #define $ac_func innocuous_$ac_func
69229 /* System header to define __stub macros and hopefully few prototypes,
69230 which can conflict with char $ac_func (); below.
69231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69232 <limits.h> exists even on freestanding compilers. */
69234 #ifdef __STDC__
69235 # include <limits.h>
69236 #else
69237 # include <assert.h>
69238 #endif
69240 #undef $ac_func
69242 /* Override any gcc2 internal prototype to avoid an error. */
69243 #ifdef __cplusplus
69244 extern "C"
69246 #endif
69247 /* We use char because int might match the return type of a gcc2
69248 builtin and then its argument prototype would still apply. */
69249 char $ac_func ();
69250 /* The GNU C library defines this for functions which it implements
69251 to always fail with ENOSYS. Some functions are actually named
69252 something starting with __ and the normal name is an alias. */
69253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69254 choke me
69255 #else
69256 char (*f) () = $ac_func;
69257 #endif
69258 #ifdef __cplusplus
69260 #endif
69263 main ()
69265 return f != $ac_func;
69267 return 0;
69269 _ACEOF
69270 rm -f conftest.$ac_objext conftest$ac_exeext
69271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69272 (eval $ac_link) 2>conftest.er1
69273 ac_status=$?
69274 grep -v '^ *+' conftest.er1 >conftest.err
69275 rm -f conftest.er1
69276 cat conftest.err >&5
69277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69278 (exit $ac_status); } &&
69279 { ac_try='test -z "$ac_c_werror_flag"
69280 || test ! -s conftest.err'
69281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69282 (eval $ac_try) 2>&5
69283 ac_status=$?
69284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69285 (exit $ac_status); }; } &&
69286 { ac_try='test -s conftest$ac_exeext'
69287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69288 (eval $ac_try) 2>&5
69289 ac_status=$?
69290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69291 (exit $ac_status); }; }; then
69292 eval "$as_ac_var=yes"
69293 else
69294 echo "$as_me: failed program was:" >&5
69295 sed 's/^/| /' conftest.$ac_ext >&5
69297 eval "$as_ac_var=no"
69299 rm -f conftest.err conftest.$ac_objext \
69300 conftest$ac_exeext conftest.$ac_ext
69302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69304 if test `eval echo '${'$as_ac_var'}'` = yes; then
69305 cat >>confdefs.h <<_ACEOF
69306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69307 _ACEOF
69310 done
69312 else
69314 echo "$as_me:$LINENO: checking for _expl declaration" >&5
69315 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
69316 if test x${glibcxx_cv_func__expl_use+set} != xset; then
69317 if test "${glibcxx_cv_func__expl_use+set}" = set; then
69318 echo $ECHO_N "(cached) $ECHO_C" >&6
69319 else
69323 ac_ext=cc
69324 ac_cpp='$CXXCPP $CPPFLAGS'
69325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69329 cat >conftest.$ac_ext <<_ACEOF
69330 /* confdefs.h. */
69331 _ACEOF
69332 cat confdefs.h >>conftest.$ac_ext
69333 cat >>conftest.$ac_ext <<_ACEOF
69334 /* end confdefs.h. */
69335 #include <math.h>
69336 #ifdef HAVE_IEEEFP_H
69337 #include <ieeefp.h>
69338 #endif
69341 main ()
69343 _expl(0);
69345 return 0;
69347 _ACEOF
69348 rm -f conftest.$ac_objext
69349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69350 (eval $ac_compile) 2>conftest.er1
69351 ac_status=$?
69352 grep -v '^ *+' conftest.er1 >conftest.err
69353 rm -f conftest.er1
69354 cat conftest.err >&5
69355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69356 (exit $ac_status); } &&
69357 { ac_try='test -z "$ac_cxx_werror_flag"
69358 || test ! -s conftest.err'
69359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69360 (eval $ac_try) 2>&5
69361 ac_status=$?
69362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69363 (exit $ac_status); }; } &&
69364 { ac_try='test -s conftest.$ac_objext'
69365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69366 (eval $ac_try) 2>&5
69367 ac_status=$?
69368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69369 (exit $ac_status); }; }; then
69370 glibcxx_cv_func__expl_use=yes
69371 else
69372 echo "$as_me: failed program was:" >&5
69373 sed 's/^/| /' conftest.$ac_ext >&5
69375 glibcxx_cv_func__expl_use=no
69377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69378 ac_ext=c
69379 ac_cpp='$CPP $CPPFLAGS'
69380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69388 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
69389 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
69391 if test x$glibcxx_cv_func__expl_use = x"yes"; then
69393 for ac_func in _expl
69395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69396 echo "$as_me:$LINENO: checking for $ac_func" >&5
69397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69398 if eval "test \"\${$as_ac_var+set}\" = set"; then
69399 echo $ECHO_N "(cached) $ECHO_C" >&6
69400 else
69401 if test x$gcc_no_link = xyes; then
69402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69404 { (exit 1); exit 1; }; }
69406 cat >conftest.$ac_ext <<_ACEOF
69407 /* confdefs.h. */
69408 _ACEOF
69409 cat confdefs.h >>conftest.$ac_ext
69410 cat >>conftest.$ac_ext <<_ACEOF
69411 /* end confdefs.h. */
69412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69414 #define $ac_func innocuous_$ac_func
69416 /* System header to define __stub macros and hopefully few prototypes,
69417 which can conflict with char $ac_func (); below.
69418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69419 <limits.h> exists even on freestanding compilers. */
69421 #ifdef __STDC__
69422 # include <limits.h>
69423 #else
69424 # include <assert.h>
69425 #endif
69427 #undef $ac_func
69429 /* Override any gcc2 internal prototype to avoid an error. */
69430 #ifdef __cplusplus
69431 extern "C"
69433 #endif
69434 /* We use char because int might match the return type of a gcc2
69435 builtin and then its argument prototype would still apply. */
69436 char $ac_func ();
69437 /* The GNU C library defines this for functions which it implements
69438 to always fail with ENOSYS. Some functions are actually named
69439 something starting with __ and the normal name is an alias. */
69440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69441 choke me
69442 #else
69443 char (*f) () = $ac_func;
69444 #endif
69445 #ifdef __cplusplus
69447 #endif
69450 main ()
69452 return f != $ac_func;
69454 return 0;
69456 _ACEOF
69457 rm -f conftest.$ac_objext conftest$ac_exeext
69458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69459 (eval $ac_link) 2>conftest.er1
69460 ac_status=$?
69461 grep -v '^ *+' conftest.er1 >conftest.err
69462 rm -f conftest.er1
69463 cat conftest.err >&5
69464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69465 (exit $ac_status); } &&
69466 { ac_try='test -z "$ac_c_werror_flag"
69467 || test ! -s conftest.err'
69468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69469 (eval $ac_try) 2>&5
69470 ac_status=$?
69471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69472 (exit $ac_status); }; } &&
69473 { ac_try='test -s conftest$ac_exeext'
69474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69475 (eval $ac_try) 2>&5
69476 ac_status=$?
69477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69478 (exit $ac_status); }; }; then
69479 eval "$as_ac_var=yes"
69480 else
69481 echo "$as_me: failed program was:" >&5
69482 sed 's/^/| /' conftest.$ac_ext >&5
69484 eval "$as_ac_var=no"
69486 rm -f conftest.err conftest.$ac_objext \
69487 conftest$ac_exeext conftest.$ac_ext
69489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69491 if test `eval echo '${'$as_ac_var'}'` = yes; then
69492 cat >>confdefs.h <<_ACEOF
69493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69494 _ACEOF
69497 done
69507 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
69508 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
69509 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
69510 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
69511 echo $ECHO_N "(cached) $ECHO_C" >&6
69512 else
69516 ac_ext=cc
69517 ac_cpp='$CXXCPP $CPPFLAGS'
69518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69522 cat >conftest.$ac_ext <<_ACEOF
69523 /* confdefs.h. */
69524 _ACEOF
69525 cat confdefs.h >>conftest.$ac_ext
69526 cat >>conftest.$ac_ext <<_ACEOF
69527 /* end confdefs.h. */
69528 #include <math.h>
69529 #ifdef HAVE_IEEEFP_H
69530 #include <ieeefp.h>
69531 #endif
69534 main ()
69536 fabsl(0);
69538 return 0;
69540 _ACEOF
69541 rm -f conftest.$ac_objext
69542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69543 (eval $ac_compile) 2>conftest.er1
69544 ac_status=$?
69545 grep -v '^ *+' conftest.er1 >conftest.err
69546 rm -f conftest.er1
69547 cat conftest.err >&5
69548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69549 (exit $ac_status); } &&
69550 { ac_try='test -z "$ac_cxx_werror_flag"
69551 || test ! -s conftest.err'
69552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69553 (eval $ac_try) 2>&5
69554 ac_status=$?
69555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69556 (exit $ac_status); }; } &&
69557 { ac_try='test -s conftest.$ac_objext'
69558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69559 (eval $ac_try) 2>&5
69560 ac_status=$?
69561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69562 (exit $ac_status); }; }; then
69563 glibcxx_cv_func_fabsl_use=yes
69564 else
69565 echo "$as_me: failed program was:" >&5
69566 sed 's/^/| /' conftest.$ac_ext >&5
69568 glibcxx_cv_func_fabsl_use=no
69570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69571 ac_ext=c
69572 ac_cpp='$CPP $CPPFLAGS'
69573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69581 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
69582 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
69584 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
69586 for ac_func in fabsl
69588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69589 echo "$as_me:$LINENO: checking for $ac_func" >&5
69590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69591 if eval "test \"\${$as_ac_var+set}\" = set"; then
69592 echo $ECHO_N "(cached) $ECHO_C" >&6
69593 else
69594 if test x$gcc_no_link = xyes; then
69595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69597 { (exit 1); exit 1; }; }
69599 cat >conftest.$ac_ext <<_ACEOF
69600 /* confdefs.h. */
69601 _ACEOF
69602 cat confdefs.h >>conftest.$ac_ext
69603 cat >>conftest.$ac_ext <<_ACEOF
69604 /* end confdefs.h. */
69605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69607 #define $ac_func innocuous_$ac_func
69609 /* System header to define __stub macros and hopefully few prototypes,
69610 which can conflict with char $ac_func (); below.
69611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69612 <limits.h> exists even on freestanding compilers. */
69614 #ifdef __STDC__
69615 # include <limits.h>
69616 #else
69617 # include <assert.h>
69618 #endif
69620 #undef $ac_func
69622 /* Override any gcc2 internal prototype to avoid an error. */
69623 #ifdef __cplusplus
69624 extern "C"
69626 #endif
69627 /* We use char because int might match the return type of a gcc2
69628 builtin and then its argument prototype would still apply. */
69629 char $ac_func ();
69630 /* The GNU C library defines this for functions which it implements
69631 to always fail with ENOSYS. Some functions are actually named
69632 something starting with __ and the normal name is an alias. */
69633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69634 choke me
69635 #else
69636 char (*f) () = $ac_func;
69637 #endif
69638 #ifdef __cplusplus
69640 #endif
69643 main ()
69645 return f != $ac_func;
69647 return 0;
69649 _ACEOF
69650 rm -f conftest.$ac_objext conftest$ac_exeext
69651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69652 (eval $ac_link) 2>conftest.er1
69653 ac_status=$?
69654 grep -v '^ *+' conftest.er1 >conftest.err
69655 rm -f conftest.er1
69656 cat conftest.err >&5
69657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69658 (exit $ac_status); } &&
69659 { ac_try='test -z "$ac_c_werror_flag"
69660 || test ! -s conftest.err'
69661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69662 (eval $ac_try) 2>&5
69663 ac_status=$?
69664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69665 (exit $ac_status); }; } &&
69666 { ac_try='test -s conftest$ac_exeext'
69667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69668 (eval $ac_try) 2>&5
69669 ac_status=$?
69670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69671 (exit $ac_status); }; }; then
69672 eval "$as_ac_var=yes"
69673 else
69674 echo "$as_me: failed program was:" >&5
69675 sed 's/^/| /' conftest.$ac_ext >&5
69677 eval "$as_ac_var=no"
69679 rm -f conftest.err conftest.$ac_objext \
69680 conftest$ac_exeext conftest.$ac_ext
69682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69684 if test `eval echo '${'$as_ac_var'}'` = yes; then
69685 cat >>confdefs.h <<_ACEOF
69686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69687 _ACEOF
69690 done
69692 else
69694 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
69695 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
69696 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69697 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
69698 echo $ECHO_N "(cached) $ECHO_C" >&6
69699 else
69703 ac_ext=cc
69704 ac_cpp='$CXXCPP $CPPFLAGS'
69705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69709 cat >conftest.$ac_ext <<_ACEOF
69710 /* confdefs.h. */
69711 _ACEOF
69712 cat confdefs.h >>conftest.$ac_ext
69713 cat >>conftest.$ac_ext <<_ACEOF
69714 /* end confdefs.h. */
69715 #include <math.h>
69716 #ifdef HAVE_IEEEFP_H
69717 #include <ieeefp.h>
69718 #endif
69721 main ()
69723 _fabsl(0);
69725 return 0;
69727 _ACEOF
69728 rm -f conftest.$ac_objext
69729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69730 (eval $ac_compile) 2>conftest.er1
69731 ac_status=$?
69732 grep -v '^ *+' conftest.er1 >conftest.err
69733 rm -f conftest.er1
69734 cat conftest.err >&5
69735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69736 (exit $ac_status); } &&
69737 { ac_try='test -z "$ac_cxx_werror_flag"
69738 || test ! -s conftest.err'
69739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69740 (eval $ac_try) 2>&5
69741 ac_status=$?
69742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69743 (exit $ac_status); }; } &&
69744 { ac_try='test -s conftest.$ac_objext'
69745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69746 (eval $ac_try) 2>&5
69747 ac_status=$?
69748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69749 (exit $ac_status); }; }; then
69750 glibcxx_cv_func__fabsl_use=yes
69751 else
69752 echo "$as_me: failed program was:" >&5
69753 sed 's/^/| /' conftest.$ac_ext >&5
69755 glibcxx_cv_func__fabsl_use=no
69757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69758 ac_ext=c
69759 ac_cpp='$CPP $CPPFLAGS'
69760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69768 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
69769 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
69771 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69773 for ac_func in _fabsl
69775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69776 echo "$as_me:$LINENO: checking for $ac_func" >&5
69777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69778 if eval "test \"\${$as_ac_var+set}\" = set"; then
69779 echo $ECHO_N "(cached) $ECHO_C" >&6
69780 else
69781 if test x$gcc_no_link = xyes; then
69782 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69784 { (exit 1); exit 1; }; }
69786 cat >conftest.$ac_ext <<_ACEOF
69787 /* confdefs.h. */
69788 _ACEOF
69789 cat confdefs.h >>conftest.$ac_ext
69790 cat >>conftest.$ac_ext <<_ACEOF
69791 /* end confdefs.h. */
69792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69794 #define $ac_func innocuous_$ac_func
69796 /* System header to define __stub macros and hopefully few prototypes,
69797 which can conflict with char $ac_func (); below.
69798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69799 <limits.h> exists even on freestanding compilers. */
69801 #ifdef __STDC__
69802 # include <limits.h>
69803 #else
69804 # include <assert.h>
69805 #endif
69807 #undef $ac_func
69809 /* Override any gcc2 internal prototype to avoid an error. */
69810 #ifdef __cplusplus
69811 extern "C"
69813 #endif
69814 /* We use char because int might match the return type of a gcc2
69815 builtin and then its argument prototype would still apply. */
69816 char $ac_func ();
69817 /* The GNU C library defines this for functions which it implements
69818 to always fail with ENOSYS. Some functions are actually named
69819 something starting with __ and the normal name is an alias. */
69820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69821 choke me
69822 #else
69823 char (*f) () = $ac_func;
69824 #endif
69825 #ifdef __cplusplus
69827 #endif
69830 main ()
69832 return f != $ac_func;
69834 return 0;
69836 _ACEOF
69837 rm -f conftest.$ac_objext conftest$ac_exeext
69838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69839 (eval $ac_link) 2>conftest.er1
69840 ac_status=$?
69841 grep -v '^ *+' conftest.er1 >conftest.err
69842 rm -f conftest.er1
69843 cat conftest.err >&5
69844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69845 (exit $ac_status); } &&
69846 { ac_try='test -z "$ac_c_werror_flag"
69847 || test ! -s conftest.err'
69848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69849 (eval $ac_try) 2>&5
69850 ac_status=$?
69851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69852 (exit $ac_status); }; } &&
69853 { ac_try='test -s conftest$ac_exeext'
69854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69855 (eval $ac_try) 2>&5
69856 ac_status=$?
69857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69858 (exit $ac_status); }; }; then
69859 eval "$as_ac_var=yes"
69860 else
69861 echo "$as_me: failed program was:" >&5
69862 sed 's/^/| /' conftest.$ac_ext >&5
69864 eval "$as_ac_var=no"
69866 rm -f conftest.err conftest.$ac_objext \
69867 conftest$ac_exeext conftest.$ac_ext
69869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69871 if test `eval echo '${'$as_ac_var'}'` = yes; then
69872 cat >>confdefs.h <<_ACEOF
69873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69874 _ACEOF
69877 done
69887 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
69888 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
69889 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69890 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
69891 echo $ECHO_N "(cached) $ECHO_C" >&6
69892 else
69896 ac_ext=cc
69897 ac_cpp='$CXXCPP $CPPFLAGS'
69898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69902 cat >conftest.$ac_ext <<_ACEOF
69903 /* confdefs.h. */
69904 _ACEOF
69905 cat confdefs.h >>conftest.$ac_ext
69906 cat >>conftest.$ac_ext <<_ACEOF
69907 /* end confdefs.h. */
69908 #include <math.h>
69910 main ()
69912 fmodl(0, 0);
69914 return 0;
69916 _ACEOF
69917 rm -f conftest.$ac_objext
69918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69919 (eval $ac_compile) 2>conftest.er1
69920 ac_status=$?
69921 grep -v '^ *+' conftest.er1 >conftest.err
69922 rm -f conftest.er1
69923 cat conftest.err >&5
69924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69925 (exit $ac_status); } &&
69926 { ac_try='test -z "$ac_cxx_werror_flag"
69927 || test ! -s conftest.err'
69928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69929 (eval $ac_try) 2>&5
69930 ac_status=$?
69931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69932 (exit $ac_status); }; } &&
69933 { ac_try='test -s conftest.$ac_objext'
69934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69935 (eval $ac_try) 2>&5
69936 ac_status=$?
69937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69938 (exit $ac_status); }; }; then
69939 glibcxx_cv_func_fmodl_use=yes
69940 else
69941 echo "$as_me: failed program was:" >&5
69942 sed 's/^/| /' conftest.$ac_ext >&5
69944 glibcxx_cv_func_fmodl_use=no
69946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69947 ac_ext=c
69948 ac_cpp='$CPP $CPPFLAGS'
69949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69957 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
69958 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
69960 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69962 for ac_func in fmodl
69964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69965 echo "$as_me:$LINENO: checking for $ac_func" >&5
69966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69967 if eval "test \"\${$as_ac_var+set}\" = set"; then
69968 echo $ECHO_N "(cached) $ECHO_C" >&6
69969 else
69970 if test x$gcc_no_link = xyes; then
69971 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69973 { (exit 1); exit 1; }; }
69975 cat >conftest.$ac_ext <<_ACEOF
69976 /* confdefs.h. */
69977 _ACEOF
69978 cat confdefs.h >>conftest.$ac_ext
69979 cat >>conftest.$ac_ext <<_ACEOF
69980 /* end confdefs.h. */
69981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69983 #define $ac_func innocuous_$ac_func
69985 /* System header to define __stub macros and hopefully few prototypes,
69986 which can conflict with char $ac_func (); below.
69987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69988 <limits.h> exists even on freestanding compilers. */
69990 #ifdef __STDC__
69991 # include <limits.h>
69992 #else
69993 # include <assert.h>
69994 #endif
69996 #undef $ac_func
69998 /* Override any gcc2 internal prototype to avoid an error. */
69999 #ifdef __cplusplus
70000 extern "C"
70002 #endif
70003 /* We use char because int might match the return type of a gcc2
70004 builtin and then its argument prototype would still apply. */
70005 char $ac_func ();
70006 /* The GNU C library defines this for functions which it implements
70007 to always fail with ENOSYS. Some functions are actually named
70008 something starting with __ and the normal name is an alias. */
70009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70010 choke me
70011 #else
70012 char (*f) () = $ac_func;
70013 #endif
70014 #ifdef __cplusplus
70016 #endif
70019 main ()
70021 return f != $ac_func;
70023 return 0;
70025 _ACEOF
70026 rm -f conftest.$ac_objext conftest$ac_exeext
70027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70028 (eval $ac_link) 2>conftest.er1
70029 ac_status=$?
70030 grep -v '^ *+' conftest.er1 >conftest.err
70031 rm -f conftest.er1
70032 cat conftest.err >&5
70033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70034 (exit $ac_status); } &&
70035 { ac_try='test -z "$ac_c_werror_flag"
70036 || test ! -s conftest.err'
70037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70038 (eval $ac_try) 2>&5
70039 ac_status=$?
70040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70041 (exit $ac_status); }; } &&
70042 { ac_try='test -s conftest$ac_exeext'
70043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70044 (eval $ac_try) 2>&5
70045 ac_status=$?
70046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70047 (exit $ac_status); }; }; then
70048 eval "$as_ac_var=yes"
70049 else
70050 echo "$as_me: failed program was:" >&5
70051 sed 's/^/| /' conftest.$ac_ext >&5
70053 eval "$as_ac_var=no"
70055 rm -f conftest.err conftest.$ac_objext \
70056 conftest$ac_exeext conftest.$ac_ext
70058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70060 if test `eval echo '${'$as_ac_var'}'` = yes; then
70061 cat >>confdefs.h <<_ACEOF
70062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70063 _ACEOF
70066 done
70068 else
70070 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
70071 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
70072 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
70073 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
70074 echo $ECHO_N "(cached) $ECHO_C" >&6
70075 else
70079 ac_ext=cc
70080 ac_cpp='$CXXCPP $CPPFLAGS'
70081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70085 cat >conftest.$ac_ext <<_ACEOF
70086 /* confdefs.h. */
70087 _ACEOF
70088 cat confdefs.h >>conftest.$ac_ext
70089 cat >>conftest.$ac_ext <<_ACEOF
70090 /* end confdefs.h. */
70091 #include <math.h>
70093 main ()
70095 _fmodl(0, 0);
70097 return 0;
70099 _ACEOF
70100 rm -f conftest.$ac_objext
70101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70102 (eval $ac_compile) 2>conftest.er1
70103 ac_status=$?
70104 grep -v '^ *+' conftest.er1 >conftest.err
70105 rm -f conftest.er1
70106 cat conftest.err >&5
70107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70108 (exit $ac_status); } &&
70109 { ac_try='test -z "$ac_cxx_werror_flag"
70110 || test ! -s conftest.err'
70111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70112 (eval $ac_try) 2>&5
70113 ac_status=$?
70114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70115 (exit $ac_status); }; } &&
70116 { ac_try='test -s conftest.$ac_objext'
70117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70118 (eval $ac_try) 2>&5
70119 ac_status=$?
70120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70121 (exit $ac_status); }; }; then
70122 glibcxx_cv_func__fmodl_use=yes
70123 else
70124 echo "$as_me: failed program was:" >&5
70125 sed 's/^/| /' conftest.$ac_ext >&5
70127 glibcxx_cv_func__fmodl_use=no
70129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70130 ac_ext=c
70131 ac_cpp='$CPP $CPPFLAGS'
70132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70140 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
70141 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
70143 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
70145 for ac_func in _fmodl
70147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70148 echo "$as_me:$LINENO: checking for $ac_func" >&5
70149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70150 if eval "test \"\${$as_ac_var+set}\" = set"; then
70151 echo $ECHO_N "(cached) $ECHO_C" >&6
70152 else
70153 if test x$gcc_no_link = xyes; then
70154 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70156 { (exit 1); exit 1; }; }
70158 cat >conftest.$ac_ext <<_ACEOF
70159 /* confdefs.h. */
70160 _ACEOF
70161 cat confdefs.h >>conftest.$ac_ext
70162 cat >>conftest.$ac_ext <<_ACEOF
70163 /* end confdefs.h. */
70164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70166 #define $ac_func innocuous_$ac_func
70168 /* System header to define __stub macros and hopefully few prototypes,
70169 which can conflict with char $ac_func (); below.
70170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70171 <limits.h> exists even on freestanding compilers. */
70173 #ifdef __STDC__
70174 # include <limits.h>
70175 #else
70176 # include <assert.h>
70177 #endif
70179 #undef $ac_func
70181 /* Override any gcc2 internal prototype to avoid an error. */
70182 #ifdef __cplusplus
70183 extern "C"
70185 #endif
70186 /* We use char because int might match the return type of a gcc2
70187 builtin and then its argument prototype would still apply. */
70188 char $ac_func ();
70189 /* The GNU C library defines this for functions which it implements
70190 to always fail with ENOSYS. Some functions are actually named
70191 something starting with __ and the normal name is an alias. */
70192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70193 choke me
70194 #else
70195 char (*f) () = $ac_func;
70196 #endif
70197 #ifdef __cplusplus
70199 #endif
70202 main ()
70204 return f != $ac_func;
70206 return 0;
70208 _ACEOF
70209 rm -f conftest.$ac_objext conftest$ac_exeext
70210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70211 (eval $ac_link) 2>conftest.er1
70212 ac_status=$?
70213 grep -v '^ *+' conftest.er1 >conftest.err
70214 rm -f conftest.er1
70215 cat conftest.err >&5
70216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70217 (exit $ac_status); } &&
70218 { ac_try='test -z "$ac_c_werror_flag"
70219 || test ! -s conftest.err'
70220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70221 (eval $ac_try) 2>&5
70222 ac_status=$?
70223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70224 (exit $ac_status); }; } &&
70225 { ac_try='test -s conftest$ac_exeext'
70226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70227 (eval $ac_try) 2>&5
70228 ac_status=$?
70229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70230 (exit $ac_status); }; }; then
70231 eval "$as_ac_var=yes"
70232 else
70233 echo "$as_me: failed program was:" >&5
70234 sed 's/^/| /' conftest.$ac_ext >&5
70236 eval "$as_ac_var=no"
70238 rm -f conftest.err conftest.$ac_objext \
70239 conftest$ac_exeext conftest.$ac_ext
70241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70243 if test `eval echo '${'$as_ac_var'}'` = yes; then
70244 cat >>confdefs.h <<_ACEOF
70245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70246 _ACEOF
70249 done
70259 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
70260 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
70261 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
70262 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
70263 echo $ECHO_N "(cached) $ECHO_C" >&6
70264 else
70268 ac_ext=cc
70269 ac_cpp='$CXXCPP $CPPFLAGS'
70270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70274 cat >conftest.$ac_ext <<_ACEOF
70275 /* confdefs.h. */
70276 _ACEOF
70277 cat confdefs.h >>conftest.$ac_ext
70278 cat >>conftest.$ac_ext <<_ACEOF
70279 /* end confdefs.h. */
70280 #include <math.h>
70282 main ()
70284 frexpl(0, 0);
70286 return 0;
70288 _ACEOF
70289 rm -f conftest.$ac_objext
70290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70291 (eval $ac_compile) 2>conftest.er1
70292 ac_status=$?
70293 grep -v '^ *+' conftest.er1 >conftest.err
70294 rm -f conftest.er1
70295 cat conftest.err >&5
70296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70297 (exit $ac_status); } &&
70298 { ac_try='test -z "$ac_cxx_werror_flag"
70299 || test ! -s conftest.err'
70300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70301 (eval $ac_try) 2>&5
70302 ac_status=$?
70303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70304 (exit $ac_status); }; } &&
70305 { ac_try='test -s conftest.$ac_objext'
70306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70307 (eval $ac_try) 2>&5
70308 ac_status=$?
70309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70310 (exit $ac_status); }; }; then
70311 glibcxx_cv_func_frexpl_use=yes
70312 else
70313 echo "$as_me: failed program was:" >&5
70314 sed 's/^/| /' conftest.$ac_ext >&5
70316 glibcxx_cv_func_frexpl_use=no
70318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70319 ac_ext=c
70320 ac_cpp='$CPP $CPPFLAGS'
70321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70329 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
70330 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
70332 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
70334 for ac_func in frexpl
70336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70337 echo "$as_me:$LINENO: checking for $ac_func" >&5
70338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70339 if eval "test \"\${$as_ac_var+set}\" = set"; then
70340 echo $ECHO_N "(cached) $ECHO_C" >&6
70341 else
70342 if test x$gcc_no_link = xyes; then
70343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70345 { (exit 1); exit 1; }; }
70347 cat >conftest.$ac_ext <<_ACEOF
70348 /* confdefs.h. */
70349 _ACEOF
70350 cat confdefs.h >>conftest.$ac_ext
70351 cat >>conftest.$ac_ext <<_ACEOF
70352 /* end confdefs.h. */
70353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70355 #define $ac_func innocuous_$ac_func
70357 /* System header to define __stub macros and hopefully few prototypes,
70358 which can conflict with char $ac_func (); below.
70359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70360 <limits.h> exists even on freestanding compilers. */
70362 #ifdef __STDC__
70363 # include <limits.h>
70364 #else
70365 # include <assert.h>
70366 #endif
70368 #undef $ac_func
70370 /* Override any gcc2 internal prototype to avoid an error. */
70371 #ifdef __cplusplus
70372 extern "C"
70374 #endif
70375 /* We use char because int might match the return type of a gcc2
70376 builtin and then its argument prototype would still apply. */
70377 char $ac_func ();
70378 /* The GNU C library defines this for functions which it implements
70379 to always fail with ENOSYS. Some functions are actually named
70380 something starting with __ and the normal name is an alias. */
70381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70382 choke me
70383 #else
70384 char (*f) () = $ac_func;
70385 #endif
70386 #ifdef __cplusplus
70388 #endif
70391 main ()
70393 return f != $ac_func;
70395 return 0;
70397 _ACEOF
70398 rm -f conftest.$ac_objext conftest$ac_exeext
70399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70400 (eval $ac_link) 2>conftest.er1
70401 ac_status=$?
70402 grep -v '^ *+' conftest.er1 >conftest.err
70403 rm -f conftest.er1
70404 cat conftest.err >&5
70405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70406 (exit $ac_status); } &&
70407 { ac_try='test -z "$ac_c_werror_flag"
70408 || test ! -s conftest.err'
70409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70410 (eval $ac_try) 2>&5
70411 ac_status=$?
70412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70413 (exit $ac_status); }; } &&
70414 { ac_try='test -s conftest$ac_exeext'
70415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70416 (eval $ac_try) 2>&5
70417 ac_status=$?
70418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70419 (exit $ac_status); }; }; then
70420 eval "$as_ac_var=yes"
70421 else
70422 echo "$as_me: failed program was:" >&5
70423 sed 's/^/| /' conftest.$ac_ext >&5
70425 eval "$as_ac_var=no"
70427 rm -f conftest.err conftest.$ac_objext \
70428 conftest$ac_exeext conftest.$ac_ext
70430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70432 if test `eval echo '${'$as_ac_var'}'` = yes; then
70433 cat >>confdefs.h <<_ACEOF
70434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70435 _ACEOF
70438 done
70440 else
70442 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
70443 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
70444 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
70445 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
70446 echo $ECHO_N "(cached) $ECHO_C" >&6
70447 else
70451 ac_ext=cc
70452 ac_cpp='$CXXCPP $CPPFLAGS'
70453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70457 cat >conftest.$ac_ext <<_ACEOF
70458 /* confdefs.h. */
70459 _ACEOF
70460 cat confdefs.h >>conftest.$ac_ext
70461 cat >>conftest.$ac_ext <<_ACEOF
70462 /* end confdefs.h. */
70463 #include <math.h>
70465 main ()
70467 _frexpl(0, 0);
70469 return 0;
70471 _ACEOF
70472 rm -f conftest.$ac_objext
70473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70474 (eval $ac_compile) 2>conftest.er1
70475 ac_status=$?
70476 grep -v '^ *+' conftest.er1 >conftest.err
70477 rm -f conftest.er1
70478 cat conftest.err >&5
70479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70480 (exit $ac_status); } &&
70481 { ac_try='test -z "$ac_cxx_werror_flag"
70482 || test ! -s conftest.err'
70483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70484 (eval $ac_try) 2>&5
70485 ac_status=$?
70486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70487 (exit $ac_status); }; } &&
70488 { ac_try='test -s conftest.$ac_objext'
70489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70490 (eval $ac_try) 2>&5
70491 ac_status=$?
70492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70493 (exit $ac_status); }; }; then
70494 glibcxx_cv_func__frexpl_use=yes
70495 else
70496 echo "$as_me: failed program was:" >&5
70497 sed 's/^/| /' conftest.$ac_ext >&5
70499 glibcxx_cv_func__frexpl_use=no
70501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70502 ac_ext=c
70503 ac_cpp='$CPP $CPPFLAGS'
70504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70512 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
70513 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
70515 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
70517 for ac_func in _frexpl
70519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70520 echo "$as_me:$LINENO: checking for $ac_func" >&5
70521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70522 if eval "test \"\${$as_ac_var+set}\" = set"; then
70523 echo $ECHO_N "(cached) $ECHO_C" >&6
70524 else
70525 if test x$gcc_no_link = xyes; then
70526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70528 { (exit 1); exit 1; }; }
70530 cat >conftest.$ac_ext <<_ACEOF
70531 /* confdefs.h. */
70532 _ACEOF
70533 cat confdefs.h >>conftest.$ac_ext
70534 cat >>conftest.$ac_ext <<_ACEOF
70535 /* end confdefs.h. */
70536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70538 #define $ac_func innocuous_$ac_func
70540 /* System header to define __stub macros and hopefully few prototypes,
70541 which can conflict with char $ac_func (); below.
70542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70543 <limits.h> exists even on freestanding compilers. */
70545 #ifdef __STDC__
70546 # include <limits.h>
70547 #else
70548 # include <assert.h>
70549 #endif
70551 #undef $ac_func
70553 /* Override any gcc2 internal prototype to avoid an error. */
70554 #ifdef __cplusplus
70555 extern "C"
70557 #endif
70558 /* We use char because int might match the return type of a gcc2
70559 builtin and then its argument prototype would still apply. */
70560 char $ac_func ();
70561 /* The GNU C library defines this for functions which it implements
70562 to always fail with ENOSYS. Some functions are actually named
70563 something starting with __ and the normal name is an alias. */
70564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70565 choke me
70566 #else
70567 char (*f) () = $ac_func;
70568 #endif
70569 #ifdef __cplusplus
70571 #endif
70574 main ()
70576 return f != $ac_func;
70578 return 0;
70580 _ACEOF
70581 rm -f conftest.$ac_objext conftest$ac_exeext
70582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70583 (eval $ac_link) 2>conftest.er1
70584 ac_status=$?
70585 grep -v '^ *+' conftest.er1 >conftest.err
70586 rm -f conftest.er1
70587 cat conftest.err >&5
70588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70589 (exit $ac_status); } &&
70590 { ac_try='test -z "$ac_c_werror_flag"
70591 || test ! -s conftest.err'
70592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70593 (eval $ac_try) 2>&5
70594 ac_status=$?
70595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70596 (exit $ac_status); }; } &&
70597 { ac_try='test -s conftest$ac_exeext'
70598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70599 (eval $ac_try) 2>&5
70600 ac_status=$?
70601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70602 (exit $ac_status); }; }; then
70603 eval "$as_ac_var=yes"
70604 else
70605 echo "$as_me: failed program was:" >&5
70606 sed 's/^/| /' conftest.$ac_ext >&5
70608 eval "$as_ac_var=no"
70610 rm -f conftest.err conftest.$ac_objext \
70611 conftest$ac_exeext conftest.$ac_ext
70613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70615 if test `eval echo '${'$as_ac_var'}'` = yes; then
70616 cat >>confdefs.h <<_ACEOF
70617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70618 _ACEOF
70621 done
70631 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
70632 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
70633 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
70634 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
70635 echo $ECHO_N "(cached) $ECHO_C" >&6
70636 else
70640 ac_ext=cc
70641 ac_cpp='$CXXCPP $CPPFLAGS'
70642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70646 cat >conftest.$ac_ext <<_ACEOF
70647 /* confdefs.h. */
70648 _ACEOF
70649 cat confdefs.h >>conftest.$ac_ext
70650 cat >>conftest.$ac_ext <<_ACEOF
70651 /* end confdefs.h. */
70652 #include <math.h>
70654 main ()
70656 hypotl(0, 0);
70658 return 0;
70660 _ACEOF
70661 rm -f conftest.$ac_objext
70662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70663 (eval $ac_compile) 2>conftest.er1
70664 ac_status=$?
70665 grep -v '^ *+' conftest.er1 >conftest.err
70666 rm -f conftest.er1
70667 cat conftest.err >&5
70668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70669 (exit $ac_status); } &&
70670 { ac_try='test -z "$ac_cxx_werror_flag"
70671 || test ! -s conftest.err'
70672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70673 (eval $ac_try) 2>&5
70674 ac_status=$?
70675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70676 (exit $ac_status); }; } &&
70677 { ac_try='test -s conftest.$ac_objext'
70678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70679 (eval $ac_try) 2>&5
70680 ac_status=$?
70681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70682 (exit $ac_status); }; }; then
70683 glibcxx_cv_func_hypotl_use=yes
70684 else
70685 echo "$as_me: failed program was:" >&5
70686 sed 's/^/| /' conftest.$ac_ext >&5
70688 glibcxx_cv_func_hypotl_use=no
70690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70691 ac_ext=c
70692 ac_cpp='$CPP $CPPFLAGS'
70693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70701 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
70702 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
70704 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
70706 for ac_func in hypotl
70708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70709 echo "$as_me:$LINENO: checking for $ac_func" >&5
70710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70711 if eval "test \"\${$as_ac_var+set}\" = set"; then
70712 echo $ECHO_N "(cached) $ECHO_C" >&6
70713 else
70714 if test x$gcc_no_link = xyes; then
70715 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70717 { (exit 1); exit 1; }; }
70719 cat >conftest.$ac_ext <<_ACEOF
70720 /* confdefs.h. */
70721 _ACEOF
70722 cat confdefs.h >>conftest.$ac_ext
70723 cat >>conftest.$ac_ext <<_ACEOF
70724 /* end confdefs.h. */
70725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70727 #define $ac_func innocuous_$ac_func
70729 /* System header to define __stub macros and hopefully few prototypes,
70730 which can conflict with char $ac_func (); below.
70731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70732 <limits.h> exists even on freestanding compilers. */
70734 #ifdef __STDC__
70735 # include <limits.h>
70736 #else
70737 # include <assert.h>
70738 #endif
70740 #undef $ac_func
70742 /* Override any gcc2 internal prototype to avoid an error. */
70743 #ifdef __cplusplus
70744 extern "C"
70746 #endif
70747 /* We use char because int might match the return type of a gcc2
70748 builtin and then its argument prototype would still apply. */
70749 char $ac_func ();
70750 /* The GNU C library defines this for functions which it implements
70751 to always fail with ENOSYS. Some functions are actually named
70752 something starting with __ and the normal name is an alias. */
70753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70754 choke me
70755 #else
70756 char (*f) () = $ac_func;
70757 #endif
70758 #ifdef __cplusplus
70760 #endif
70763 main ()
70765 return f != $ac_func;
70767 return 0;
70769 _ACEOF
70770 rm -f conftest.$ac_objext conftest$ac_exeext
70771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70772 (eval $ac_link) 2>conftest.er1
70773 ac_status=$?
70774 grep -v '^ *+' conftest.er1 >conftest.err
70775 rm -f conftest.er1
70776 cat conftest.err >&5
70777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70778 (exit $ac_status); } &&
70779 { ac_try='test -z "$ac_c_werror_flag"
70780 || test ! -s conftest.err'
70781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70782 (eval $ac_try) 2>&5
70783 ac_status=$?
70784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70785 (exit $ac_status); }; } &&
70786 { ac_try='test -s conftest$ac_exeext'
70787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70788 (eval $ac_try) 2>&5
70789 ac_status=$?
70790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70791 (exit $ac_status); }; }; then
70792 eval "$as_ac_var=yes"
70793 else
70794 echo "$as_me: failed program was:" >&5
70795 sed 's/^/| /' conftest.$ac_ext >&5
70797 eval "$as_ac_var=no"
70799 rm -f conftest.err conftest.$ac_objext \
70800 conftest$ac_exeext conftest.$ac_ext
70802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70804 if test `eval echo '${'$as_ac_var'}'` = yes; then
70805 cat >>confdefs.h <<_ACEOF
70806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70807 _ACEOF
70810 done
70812 else
70814 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
70815 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
70816 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
70817 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
70818 echo $ECHO_N "(cached) $ECHO_C" >&6
70819 else
70823 ac_ext=cc
70824 ac_cpp='$CXXCPP $CPPFLAGS'
70825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70829 cat >conftest.$ac_ext <<_ACEOF
70830 /* confdefs.h. */
70831 _ACEOF
70832 cat confdefs.h >>conftest.$ac_ext
70833 cat >>conftest.$ac_ext <<_ACEOF
70834 /* end confdefs.h. */
70835 #include <math.h>
70837 main ()
70839 _hypotl(0, 0);
70841 return 0;
70843 _ACEOF
70844 rm -f conftest.$ac_objext
70845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70846 (eval $ac_compile) 2>conftest.er1
70847 ac_status=$?
70848 grep -v '^ *+' conftest.er1 >conftest.err
70849 rm -f conftest.er1
70850 cat conftest.err >&5
70851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70852 (exit $ac_status); } &&
70853 { ac_try='test -z "$ac_cxx_werror_flag"
70854 || test ! -s conftest.err'
70855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70856 (eval $ac_try) 2>&5
70857 ac_status=$?
70858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70859 (exit $ac_status); }; } &&
70860 { ac_try='test -s conftest.$ac_objext'
70861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70862 (eval $ac_try) 2>&5
70863 ac_status=$?
70864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70865 (exit $ac_status); }; }; then
70866 glibcxx_cv_func__hypotl_use=yes
70867 else
70868 echo "$as_me: failed program was:" >&5
70869 sed 's/^/| /' conftest.$ac_ext >&5
70871 glibcxx_cv_func__hypotl_use=no
70873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70874 ac_ext=c
70875 ac_cpp='$CPP $CPPFLAGS'
70876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70884 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
70885 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
70887 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
70889 for ac_func in _hypotl
70891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70892 echo "$as_me:$LINENO: checking for $ac_func" >&5
70893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70894 if eval "test \"\${$as_ac_var+set}\" = set"; then
70895 echo $ECHO_N "(cached) $ECHO_C" >&6
70896 else
70897 if test x$gcc_no_link = xyes; then
70898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70900 { (exit 1); exit 1; }; }
70902 cat >conftest.$ac_ext <<_ACEOF
70903 /* confdefs.h. */
70904 _ACEOF
70905 cat confdefs.h >>conftest.$ac_ext
70906 cat >>conftest.$ac_ext <<_ACEOF
70907 /* end confdefs.h. */
70908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70910 #define $ac_func innocuous_$ac_func
70912 /* System header to define __stub macros and hopefully few prototypes,
70913 which can conflict with char $ac_func (); below.
70914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70915 <limits.h> exists even on freestanding compilers. */
70917 #ifdef __STDC__
70918 # include <limits.h>
70919 #else
70920 # include <assert.h>
70921 #endif
70923 #undef $ac_func
70925 /* Override any gcc2 internal prototype to avoid an error. */
70926 #ifdef __cplusplus
70927 extern "C"
70929 #endif
70930 /* We use char because int might match the return type of a gcc2
70931 builtin and then its argument prototype would still apply. */
70932 char $ac_func ();
70933 /* The GNU C library defines this for functions which it implements
70934 to always fail with ENOSYS. Some functions are actually named
70935 something starting with __ and the normal name is an alias. */
70936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70937 choke me
70938 #else
70939 char (*f) () = $ac_func;
70940 #endif
70941 #ifdef __cplusplus
70943 #endif
70946 main ()
70948 return f != $ac_func;
70950 return 0;
70952 _ACEOF
70953 rm -f conftest.$ac_objext conftest$ac_exeext
70954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70955 (eval $ac_link) 2>conftest.er1
70956 ac_status=$?
70957 grep -v '^ *+' conftest.er1 >conftest.err
70958 rm -f conftest.er1
70959 cat conftest.err >&5
70960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70961 (exit $ac_status); } &&
70962 { ac_try='test -z "$ac_c_werror_flag"
70963 || test ! -s conftest.err'
70964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70965 (eval $ac_try) 2>&5
70966 ac_status=$?
70967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70968 (exit $ac_status); }; } &&
70969 { ac_try='test -s conftest$ac_exeext'
70970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70971 (eval $ac_try) 2>&5
70972 ac_status=$?
70973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70974 (exit $ac_status); }; }; then
70975 eval "$as_ac_var=yes"
70976 else
70977 echo "$as_me: failed program was:" >&5
70978 sed 's/^/| /' conftest.$ac_ext >&5
70980 eval "$as_ac_var=no"
70982 rm -f conftest.err conftest.$ac_objext \
70983 conftest$ac_exeext conftest.$ac_ext
70985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70987 if test `eval echo '${'$as_ac_var'}'` = yes; then
70988 cat >>confdefs.h <<_ACEOF
70989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70990 _ACEOF
70993 done
71003 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
71004 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
71005 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71006 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
71007 echo $ECHO_N "(cached) $ECHO_C" >&6
71008 else
71012 ac_ext=cc
71013 ac_cpp='$CXXCPP $CPPFLAGS'
71014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71018 cat >conftest.$ac_ext <<_ACEOF
71019 /* confdefs.h. */
71020 _ACEOF
71021 cat confdefs.h >>conftest.$ac_ext
71022 cat >>conftest.$ac_ext <<_ACEOF
71023 /* end confdefs.h. */
71024 #include <math.h>
71026 main ()
71028 ldexpl(0, 0);
71030 return 0;
71032 _ACEOF
71033 rm -f conftest.$ac_objext
71034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71035 (eval $ac_compile) 2>conftest.er1
71036 ac_status=$?
71037 grep -v '^ *+' conftest.er1 >conftest.err
71038 rm -f conftest.er1
71039 cat conftest.err >&5
71040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71041 (exit $ac_status); } &&
71042 { ac_try='test -z "$ac_cxx_werror_flag"
71043 || test ! -s conftest.err'
71044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71045 (eval $ac_try) 2>&5
71046 ac_status=$?
71047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71048 (exit $ac_status); }; } &&
71049 { ac_try='test -s conftest.$ac_objext'
71050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71051 (eval $ac_try) 2>&5
71052 ac_status=$?
71053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71054 (exit $ac_status); }; }; then
71055 glibcxx_cv_func_ldexpl_use=yes
71056 else
71057 echo "$as_me: failed program was:" >&5
71058 sed 's/^/| /' conftest.$ac_ext >&5
71060 glibcxx_cv_func_ldexpl_use=no
71062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71063 ac_ext=c
71064 ac_cpp='$CPP $CPPFLAGS'
71065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71073 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
71074 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
71076 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71078 for ac_func in ldexpl
71080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71081 echo "$as_me:$LINENO: checking for $ac_func" >&5
71082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71083 if eval "test \"\${$as_ac_var+set}\" = set"; then
71084 echo $ECHO_N "(cached) $ECHO_C" >&6
71085 else
71086 if test x$gcc_no_link = xyes; then
71087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71089 { (exit 1); exit 1; }; }
71091 cat >conftest.$ac_ext <<_ACEOF
71092 /* confdefs.h. */
71093 _ACEOF
71094 cat confdefs.h >>conftest.$ac_ext
71095 cat >>conftest.$ac_ext <<_ACEOF
71096 /* end confdefs.h. */
71097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71099 #define $ac_func innocuous_$ac_func
71101 /* System header to define __stub macros and hopefully few prototypes,
71102 which can conflict with char $ac_func (); below.
71103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71104 <limits.h> exists even on freestanding compilers. */
71106 #ifdef __STDC__
71107 # include <limits.h>
71108 #else
71109 # include <assert.h>
71110 #endif
71112 #undef $ac_func
71114 /* Override any gcc2 internal prototype to avoid an error. */
71115 #ifdef __cplusplus
71116 extern "C"
71118 #endif
71119 /* We use char because int might match the return type of a gcc2
71120 builtin and then its argument prototype would still apply. */
71121 char $ac_func ();
71122 /* The GNU C library defines this for functions which it implements
71123 to always fail with ENOSYS. Some functions are actually named
71124 something starting with __ and the normal name is an alias. */
71125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71126 choke me
71127 #else
71128 char (*f) () = $ac_func;
71129 #endif
71130 #ifdef __cplusplus
71132 #endif
71135 main ()
71137 return f != $ac_func;
71139 return 0;
71141 _ACEOF
71142 rm -f conftest.$ac_objext conftest$ac_exeext
71143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71144 (eval $ac_link) 2>conftest.er1
71145 ac_status=$?
71146 grep -v '^ *+' conftest.er1 >conftest.err
71147 rm -f conftest.er1
71148 cat conftest.err >&5
71149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71150 (exit $ac_status); } &&
71151 { ac_try='test -z "$ac_c_werror_flag"
71152 || test ! -s conftest.err'
71153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71154 (eval $ac_try) 2>&5
71155 ac_status=$?
71156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71157 (exit $ac_status); }; } &&
71158 { ac_try='test -s conftest$ac_exeext'
71159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71160 (eval $ac_try) 2>&5
71161 ac_status=$?
71162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71163 (exit $ac_status); }; }; then
71164 eval "$as_ac_var=yes"
71165 else
71166 echo "$as_me: failed program was:" >&5
71167 sed 's/^/| /' conftest.$ac_ext >&5
71169 eval "$as_ac_var=no"
71171 rm -f conftest.err conftest.$ac_objext \
71172 conftest$ac_exeext conftest.$ac_ext
71174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71176 if test `eval echo '${'$as_ac_var'}'` = yes; then
71177 cat >>confdefs.h <<_ACEOF
71178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71179 _ACEOF
71182 done
71184 else
71186 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
71187 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
71188 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71189 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
71190 echo $ECHO_N "(cached) $ECHO_C" >&6
71191 else
71195 ac_ext=cc
71196 ac_cpp='$CXXCPP $CPPFLAGS'
71197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71201 cat >conftest.$ac_ext <<_ACEOF
71202 /* confdefs.h. */
71203 _ACEOF
71204 cat confdefs.h >>conftest.$ac_ext
71205 cat >>conftest.$ac_ext <<_ACEOF
71206 /* end confdefs.h. */
71207 #include <math.h>
71209 main ()
71211 _ldexpl(0, 0);
71213 return 0;
71215 _ACEOF
71216 rm -f conftest.$ac_objext
71217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71218 (eval $ac_compile) 2>conftest.er1
71219 ac_status=$?
71220 grep -v '^ *+' conftest.er1 >conftest.err
71221 rm -f conftest.er1
71222 cat conftest.err >&5
71223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71224 (exit $ac_status); } &&
71225 { ac_try='test -z "$ac_cxx_werror_flag"
71226 || test ! -s conftest.err'
71227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71228 (eval $ac_try) 2>&5
71229 ac_status=$?
71230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71231 (exit $ac_status); }; } &&
71232 { ac_try='test -s conftest.$ac_objext'
71233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71234 (eval $ac_try) 2>&5
71235 ac_status=$?
71236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71237 (exit $ac_status); }; }; then
71238 glibcxx_cv_func__ldexpl_use=yes
71239 else
71240 echo "$as_me: failed program was:" >&5
71241 sed 's/^/| /' conftest.$ac_ext >&5
71243 glibcxx_cv_func__ldexpl_use=no
71245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71246 ac_ext=c
71247 ac_cpp='$CPP $CPPFLAGS'
71248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71256 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
71257 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
71259 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71261 for ac_func in _ldexpl
71263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71264 echo "$as_me:$LINENO: checking for $ac_func" >&5
71265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71266 if eval "test \"\${$as_ac_var+set}\" = set"; then
71267 echo $ECHO_N "(cached) $ECHO_C" >&6
71268 else
71269 if test x$gcc_no_link = xyes; then
71270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71272 { (exit 1); exit 1; }; }
71274 cat >conftest.$ac_ext <<_ACEOF
71275 /* confdefs.h. */
71276 _ACEOF
71277 cat confdefs.h >>conftest.$ac_ext
71278 cat >>conftest.$ac_ext <<_ACEOF
71279 /* end confdefs.h. */
71280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71282 #define $ac_func innocuous_$ac_func
71284 /* System header to define __stub macros and hopefully few prototypes,
71285 which can conflict with char $ac_func (); below.
71286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71287 <limits.h> exists even on freestanding compilers. */
71289 #ifdef __STDC__
71290 # include <limits.h>
71291 #else
71292 # include <assert.h>
71293 #endif
71295 #undef $ac_func
71297 /* Override any gcc2 internal prototype to avoid an error. */
71298 #ifdef __cplusplus
71299 extern "C"
71301 #endif
71302 /* We use char because int might match the return type of a gcc2
71303 builtin and then its argument prototype would still apply. */
71304 char $ac_func ();
71305 /* The GNU C library defines this for functions which it implements
71306 to always fail with ENOSYS. Some functions are actually named
71307 something starting with __ and the normal name is an alias. */
71308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71309 choke me
71310 #else
71311 char (*f) () = $ac_func;
71312 #endif
71313 #ifdef __cplusplus
71315 #endif
71318 main ()
71320 return f != $ac_func;
71322 return 0;
71324 _ACEOF
71325 rm -f conftest.$ac_objext conftest$ac_exeext
71326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71327 (eval $ac_link) 2>conftest.er1
71328 ac_status=$?
71329 grep -v '^ *+' conftest.er1 >conftest.err
71330 rm -f conftest.er1
71331 cat conftest.err >&5
71332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71333 (exit $ac_status); } &&
71334 { ac_try='test -z "$ac_c_werror_flag"
71335 || test ! -s conftest.err'
71336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71337 (eval $ac_try) 2>&5
71338 ac_status=$?
71339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71340 (exit $ac_status); }; } &&
71341 { ac_try='test -s conftest$ac_exeext'
71342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71343 (eval $ac_try) 2>&5
71344 ac_status=$?
71345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71346 (exit $ac_status); }; }; then
71347 eval "$as_ac_var=yes"
71348 else
71349 echo "$as_me: failed program was:" >&5
71350 sed 's/^/| /' conftest.$ac_ext >&5
71352 eval "$as_ac_var=no"
71354 rm -f conftest.err conftest.$ac_objext \
71355 conftest$ac_exeext conftest.$ac_ext
71357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71359 if test `eval echo '${'$as_ac_var'}'` = yes; then
71360 cat >>confdefs.h <<_ACEOF
71361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71362 _ACEOF
71365 done
71375 echo "$as_me:$LINENO: checking for logl declaration" >&5
71376 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
71377 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71378 if test "${glibcxx_cv_func_logl_use+set}" = set; then
71379 echo $ECHO_N "(cached) $ECHO_C" >&6
71380 else
71384 ac_ext=cc
71385 ac_cpp='$CXXCPP $CPPFLAGS'
71386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71390 cat >conftest.$ac_ext <<_ACEOF
71391 /* confdefs.h. */
71392 _ACEOF
71393 cat confdefs.h >>conftest.$ac_ext
71394 cat >>conftest.$ac_ext <<_ACEOF
71395 /* end confdefs.h. */
71396 #include <math.h>
71397 #ifdef HAVE_IEEEFP_H
71398 #include <ieeefp.h>
71399 #endif
71402 main ()
71404 logl(0);
71406 return 0;
71408 _ACEOF
71409 rm -f conftest.$ac_objext
71410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71411 (eval $ac_compile) 2>conftest.er1
71412 ac_status=$?
71413 grep -v '^ *+' conftest.er1 >conftest.err
71414 rm -f conftest.er1
71415 cat conftest.err >&5
71416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71417 (exit $ac_status); } &&
71418 { ac_try='test -z "$ac_cxx_werror_flag"
71419 || test ! -s conftest.err'
71420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71421 (eval $ac_try) 2>&5
71422 ac_status=$?
71423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71424 (exit $ac_status); }; } &&
71425 { ac_try='test -s conftest.$ac_objext'
71426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71427 (eval $ac_try) 2>&5
71428 ac_status=$?
71429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71430 (exit $ac_status); }; }; then
71431 glibcxx_cv_func_logl_use=yes
71432 else
71433 echo "$as_me: failed program was:" >&5
71434 sed 's/^/| /' conftest.$ac_ext >&5
71436 glibcxx_cv_func_logl_use=no
71438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71439 ac_ext=c
71440 ac_cpp='$CPP $CPPFLAGS'
71441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71449 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
71450 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
71452 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71454 for ac_func in logl
71456 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71457 echo "$as_me:$LINENO: checking for $ac_func" >&5
71458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71459 if eval "test \"\${$as_ac_var+set}\" = set"; then
71460 echo $ECHO_N "(cached) $ECHO_C" >&6
71461 else
71462 if test x$gcc_no_link = xyes; then
71463 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71465 { (exit 1); exit 1; }; }
71467 cat >conftest.$ac_ext <<_ACEOF
71468 /* confdefs.h. */
71469 _ACEOF
71470 cat confdefs.h >>conftest.$ac_ext
71471 cat >>conftest.$ac_ext <<_ACEOF
71472 /* end confdefs.h. */
71473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71475 #define $ac_func innocuous_$ac_func
71477 /* System header to define __stub macros and hopefully few prototypes,
71478 which can conflict with char $ac_func (); below.
71479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71480 <limits.h> exists even on freestanding compilers. */
71482 #ifdef __STDC__
71483 # include <limits.h>
71484 #else
71485 # include <assert.h>
71486 #endif
71488 #undef $ac_func
71490 /* Override any gcc2 internal prototype to avoid an error. */
71491 #ifdef __cplusplus
71492 extern "C"
71494 #endif
71495 /* We use char because int might match the return type of a gcc2
71496 builtin and then its argument prototype would still apply. */
71497 char $ac_func ();
71498 /* The GNU C library defines this for functions which it implements
71499 to always fail with ENOSYS. Some functions are actually named
71500 something starting with __ and the normal name is an alias. */
71501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71502 choke me
71503 #else
71504 char (*f) () = $ac_func;
71505 #endif
71506 #ifdef __cplusplus
71508 #endif
71511 main ()
71513 return f != $ac_func;
71515 return 0;
71517 _ACEOF
71518 rm -f conftest.$ac_objext conftest$ac_exeext
71519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71520 (eval $ac_link) 2>conftest.er1
71521 ac_status=$?
71522 grep -v '^ *+' conftest.er1 >conftest.err
71523 rm -f conftest.er1
71524 cat conftest.err >&5
71525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71526 (exit $ac_status); } &&
71527 { ac_try='test -z "$ac_c_werror_flag"
71528 || test ! -s conftest.err'
71529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71530 (eval $ac_try) 2>&5
71531 ac_status=$?
71532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71533 (exit $ac_status); }; } &&
71534 { ac_try='test -s conftest$ac_exeext'
71535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71536 (eval $ac_try) 2>&5
71537 ac_status=$?
71538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71539 (exit $ac_status); }; }; then
71540 eval "$as_ac_var=yes"
71541 else
71542 echo "$as_me: failed program was:" >&5
71543 sed 's/^/| /' conftest.$ac_ext >&5
71545 eval "$as_ac_var=no"
71547 rm -f conftest.err conftest.$ac_objext \
71548 conftest$ac_exeext conftest.$ac_ext
71550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71552 if test `eval echo '${'$as_ac_var'}'` = yes; then
71553 cat >>confdefs.h <<_ACEOF
71554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71555 _ACEOF
71558 done
71560 else
71562 echo "$as_me:$LINENO: checking for _logl declaration" >&5
71563 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
71564 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71565 if test "${glibcxx_cv_func__logl_use+set}" = set; then
71566 echo $ECHO_N "(cached) $ECHO_C" >&6
71567 else
71571 ac_ext=cc
71572 ac_cpp='$CXXCPP $CPPFLAGS'
71573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71577 cat >conftest.$ac_ext <<_ACEOF
71578 /* confdefs.h. */
71579 _ACEOF
71580 cat confdefs.h >>conftest.$ac_ext
71581 cat >>conftest.$ac_ext <<_ACEOF
71582 /* end confdefs.h. */
71583 #include <math.h>
71584 #ifdef HAVE_IEEEFP_H
71585 #include <ieeefp.h>
71586 #endif
71589 main ()
71591 _logl(0);
71593 return 0;
71595 _ACEOF
71596 rm -f conftest.$ac_objext
71597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71598 (eval $ac_compile) 2>conftest.er1
71599 ac_status=$?
71600 grep -v '^ *+' conftest.er1 >conftest.err
71601 rm -f conftest.er1
71602 cat conftest.err >&5
71603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71604 (exit $ac_status); } &&
71605 { ac_try='test -z "$ac_cxx_werror_flag"
71606 || test ! -s conftest.err'
71607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71608 (eval $ac_try) 2>&5
71609 ac_status=$?
71610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71611 (exit $ac_status); }; } &&
71612 { ac_try='test -s conftest.$ac_objext'
71613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71614 (eval $ac_try) 2>&5
71615 ac_status=$?
71616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71617 (exit $ac_status); }; }; then
71618 glibcxx_cv_func__logl_use=yes
71619 else
71620 echo "$as_me: failed program was:" >&5
71621 sed 's/^/| /' conftest.$ac_ext >&5
71623 glibcxx_cv_func__logl_use=no
71625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71626 ac_ext=c
71627 ac_cpp='$CPP $CPPFLAGS'
71628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71636 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
71637 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
71639 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71641 for ac_func in _logl
71643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71644 echo "$as_me:$LINENO: checking for $ac_func" >&5
71645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71646 if eval "test \"\${$as_ac_var+set}\" = set"; then
71647 echo $ECHO_N "(cached) $ECHO_C" >&6
71648 else
71649 if test x$gcc_no_link = xyes; then
71650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71652 { (exit 1); exit 1; }; }
71654 cat >conftest.$ac_ext <<_ACEOF
71655 /* confdefs.h. */
71656 _ACEOF
71657 cat confdefs.h >>conftest.$ac_ext
71658 cat >>conftest.$ac_ext <<_ACEOF
71659 /* end confdefs.h. */
71660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71662 #define $ac_func innocuous_$ac_func
71664 /* System header to define __stub macros and hopefully few prototypes,
71665 which can conflict with char $ac_func (); below.
71666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71667 <limits.h> exists even on freestanding compilers. */
71669 #ifdef __STDC__
71670 # include <limits.h>
71671 #else
71672 # include <assert.h>
71673 #endif
71675 #undef $ac_func
71677 /* Override any gcc2 internal prototype to avoid an error. */
71678 #ifdef __cplusplus
71679 extern "C"
71681 #endif
71682 /* We use char because int might match the return type of a gcc2
71683 builtin and then its argument prototype would still apply. */
71684 char $ac_func ();
71685 /* The GNU C library defines this for functions which it implements
71686 to always fail with ENOSYS. Some functions are actually named
71687 something starting with __ and the normal name is an alias. */
71688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71689 choke me
71690 #else
71691 char (*f) () = $ac_func;
71692 #endif
71693 #ifdef __cplusplus
71695 #endif
71698 main ()
71700 return f != $ac_func;
71702 return 0;
71704 _ACEOF
71705 rm -f conftest.$ac_objext conftest$ac_exeext
71706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71707 (eval $ac_link) 2>conftest.er1
71708 ac_status=$?
71709 grep -v '^ *+' conftest.er1 >conftest.err
71710 rm -f conftest.er1
71711 cat conftest.err >&5
71712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71713 (exit $ac_status); } &&
71714 { ac_try='test -z "$ac_c_werror_flag"
71715 || test ! -s conftest.err'
71716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71717 (eval $ac_try) 2>&5
71718 ac_status=$?
71719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71720 (exit $ac_status); }; } &&
71721 { ac_try='test -s conftest$ac_exeext'
71722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71723 (eval $ac_try) 2>&5
71724 ac_status=$?
71725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71726 (exit $ac_status); }; }; then
71727 eval "$as_ac_var=yes"
71728 else
71729 echo "$as_me: failed program was:" >&5
71730 sed 's/^/| /' conftest.$ac_ext >&5
71732 eval "$as_ac_var=no"
71734 rm -f conftest.err conftest.$ac_objext \
71735 conftest$ac_exeext conftest.$ac_ext
71737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71739 if test `eval echo '${'$as_ac_var'}'` = yes; then
71740 cat >>confdefs.h <<_ACEOF
71741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71742 _ACEOF
71745 done
71755 echo "$as_me:$LINENO: checking for log10l declaration" >&5
71756 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
71757 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71758 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
71759 echo $ECHO_N "(cached) $ECHO_C" >&6
71760 else
71764 ac_ext=cc
71765 ac_cpp='$CXXCPP $CPPFLAGS'
71766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71770 cat >conftest.$ac_ext <<_ACEOF
71771 /* confdefs.h. */
71772 _ACEOF
71773 cat confdefs.h >>conftest.$ac_ext
71774 cat >>conftest.$ac_ext <<_ACEOF
71775 /* end confdefs.h. */
71776 #include <math.h>
71777 #ifdef HAVE_IEEEFP_H
71778 #include <ieeefp.h>
71779 #endif
71782 main ()
71784 log10l(0);
71786 return 0;
71788 _ACEOF
71789 rm -f conftest.$ac_objext
71790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71791 (eval $ac_compile) 2>conftest.er1
71792 ac_status=$?
71793 grep -v '^ *+' conftest.er1 >conftest.err
71794 rm -f conftest.er1
71795 cat conftest.err >&5
71796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71797 (exit $ac_status); } &&
71798 { ac_try='test -z "$ac_cxx_werror_flag"
71799 || test ! -s conftest.err'
71800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71801 (eval $ac_try) 2>&5
71802 ac_status=$?
71803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71804 (exit $ac_status); }; } &&
71805 { ac_try='test -s conftest.$ac_objext'
71806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71807 (eval $ac_try) 2>&5
71808 ac_status=$?
71809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71810 (exit $ac_status); }; }; then
71811 glibcxx_cv_func_log10l_use=yes
71812 else
71813 echo "$as_me: failed program was:" >&5
71814 sed 's/^/| /' conftest.$ac_ext >&5
71816 glibcxx_cv_func_log10l_use=no
71818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71819 ac_ext=c
71820 ac_cpp='$CPP $CPPFLAGS'
71821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71829 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
71830 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
71832 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71834 for ac_func in log10l
71836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71837 echo "$as_me:$LINENO: checking for $ac_func" >&5
71838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71839 if eval "test \"\${$as_ac_var+set}\" = set"; then
71840 echo $ECHO_N "(cached) $ECHO_C" >&6
71841 else
71842 if test x$gcc_no_link = xyes; then
71843 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71845 { (exit 1); exit 1; }; }
71847 cat >conftest.$ac_ext <<_ACEOF
71848 /* confdefs.h. */
71849 _ACEOF
71850 cat confdefs.h >>conftest.$ac_ext
71851 cat >>conftest.$ac_ext <<_ACEOF
71852 /* end confdefs.h. */
71853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71855 #define $ac_func innocuous_$ac_func
71857 /* System header to define __stub macros and hopefully few prototypes,
71858 which can conflict with char $ac_func (); below.
71859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71860 <limits.h> exists even on freestanding compilers. */
71862 #ifdef __STDC__
71863 # include <limits.h>
71864 #else
71865 # include <assert.h>
71866 #endif
71868 #undef $ac_func
71870 /* Override any gcc2 internal prototype to avoid an error. */
71871 #ifdef __cplusplus
71872 extern "C"
71874 #endif
71875 /* We use char because int might match the return type of a gcc2
71876 builtin and then its argument prototype would still apply. */
71877 char $ac_func ();
71878 /* The GNU C library defines this for functions which it implements
71879 to always fail with ENOSYS. Some functions are actually named
71880 something starting with __ and the normal name is an alias. */
71881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71882 choke me
71883 #else
71884 char (*f) () = $ac_func;
71885 #endif
71886 #ifdef __cplusplus
71888 #endif
71891 main ()
71893 return f != $ac_func;
71895 return 0;
71897 _ACEOF
71898 rm -f conftest.$ac_objext conftest$ac_exeext
71899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71900 (eval $ac_link) 2>conftest.er1
71901 ac_status=$?
71902 grep -v '^ *+' conftest.er1 >conftest.err
71903 rm -f conftest.er1
71904 cat conftest.err >&5
71905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71906 (exit $ac_status); } &&
71907 { ac_try='test -z "$ac_c_werror_flag"
71908 || test ! -s conftest.err'
71909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71910 (eval $ac_try) 2>&5
71911 ac_status=$?
71912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71913 (exit $ac_status); }; } &&
71914 { ac_try='test -s conftest$ac_exeext'
71915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71916 (eval $ac_try) 2>&5
71917 ac_status=$?
71918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71919 (exit $ac_status); }; }; then
71920 eval "$as_ac_var=yes"
71921 else
71922 echo "$as_me: failed program was:" >&5
71923 sed 's/^/| /' conftest.$ac_ext >&5
71925 eval "$as_ac_var=no"
71927 rm -f conftest.err conftest.$ac_objext \
71928 conftest$ac_exeext conftest.$ac_ext
71930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71932 if test `eval echo '${'$as_ac_var'}'` = yes; then
71933 cat >>confdefs.h <<_ACEOF
71934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71935 _ACEOF
71938 done
71940 else
71942 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
71943 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
71944 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71945 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
71946 echo $ECHO_N "(cached) $ECHO_C" >&6
71947 else
71951 ac_ext=cc
71952 ac_cpp='$CXXCPP $CPPFLAGS'
71953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71957 cat >conftest.$ac_ext <<_ACEOF
71958 /* confdefs.h. */
71959 _ACEOF
71960 cat confdefs.h >>conftest.$ac_ext
71961 cat >>conftest.$ac_ext <<_ACEOF
71962 /* end confdefs.h. */
71963 #include <math.h>
71964 #ifdef HAVE_IEEEFP_H
71965 #include <ieeefp.h>
71966 #endif
71969 main ()
71971 _log10l(0);
71973 return 0;
71975 _ACEOF
71976 rm -f conftest.$ac_objext
71977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71978 (eval $ac_compile) 2>conftest.er1
71979 ac_status=$?
71980 grep -v '^ *+' conftest.er1 >conftest.err
71981 rm -f conftest.er1
71982 cat conftest.err >&5
71983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71984 (exit $ac_status); } &&
71985 { ac_try='test -z "$ac_cxx_werror_flag"
71986 || test ! -s conftest.err'
71987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71988 (eval $ac_try) 2>&5
71989 ac_status=$?
71990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71991 (exit $ac_status); }; } &&
71992 { ac_try='test -s conftest.$ac_objext'
71993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71994 (eval $ac_try) 2>&5
71995 ac_status=$?
71996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71997 (exit $ac_status); }; }; then
71998 glibcxx_cv_func__log10l_use=yes
71999 else
72000 echo "$as_me: failed program was:" >&5
72001 sed 's/^/| /' conftest.$ac_ext >&5
72003 glibcxx_cv_func__log10l_use=no
72005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72006 ac_ext=c
72007 ac_cpp='$CPP $CPPFLAGS'
72008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72016 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
72017 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
72019 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
72021 for ac_func in _log10l
72023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72024 echo "$as_me:$LINENO: checking for $ac_func" >&5
72025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72026 if eval "test \"\${$as_ac_var+set}\" = set"; then
72027 echo $ECHO_N "(cached) $ECHO_C" >&6
72028 else
72029 if test x$gcc_no_link = xyes; then
72030 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72032 { (exit 1); exit 1; }; }
72034 cat >conftest.$ac_ext <<_ACEOF
72035 /* confdefs.h. */
72036 _ACEOF
72037 cat confdefs.h >>conftest.$ac_ext
72038 cat >>conftest.$ac_ext <<_ACEOF
72039 /* end confdefs.h. */
72040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72042 #define $ac_func innocuous_$ac_func
72044 /* System header to define __stub macros and hopefully few prototypes,
72045 which can conflict with char $ac_func (); below.
72046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72047 <limits.h> exists even on freestanding compilers. */
72049 #ifdef __STDC__
72050 # include <limits.h>
72051 #else
72052 # include <assert.h>
72053 #endif
72055 #undef $ac_func
72057 /* Override any gcc2 internal prototype to avoid an error. */
72058 #ifdef __cplusplus
72059 extern "C"
72061 #endif
72062 /* We use char because int might match the return type of a gcc2
72063 builtin and then its argument prototype would still apply. */
72064 char $ac_func ();
72065 /* The GNU C library defines this for functions which it implements
72066 to always fail with ENOSYS. Some functions are actually named
72067 something starting with __ and the normal name is an alias. */
72068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72069 choke me
72070 #else
72071 char (*f) () = $ac_func;
72072 #endif
72073 #ifdef __cplusplus
72075 #endif
72078 main ()
72080 return f != $ac_func;
72082 return 0;
72084 _ACEOF
72085 rm -f conftest.$ac_objext conftest$ac_exeext
72086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72087 (eval $ac_link) 2>conftest.er1
72088 ac_status=$?
72089 grep -v '^ *+' conftest.er1 >conftest.err
72090 rm -f conftest.er1
72091 cat conftest.err >&5
72092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72093 (exit $ac_status); } &&
72094 { ac_try='test -z "$ac_c_werror_flag"
72095 || test ! -s conftest.err'
72096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72097 (eval $ac_try) 2>&5
72098 ac_status=$?
72099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72100 (exit $ac_status); }; } &&
72101 { ac_try='test -s conftest$ac_exeext'
72102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72103 (eval $ac_try) 2>&5
72104 ac_status=$?
72105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72106 (exit $ac_status); }; }; then
72107 eval "$as_ac_var=yes"
72108 else
72109 echo "$as_me: failed program was:" >&5
72110 sed 's/^/| /' conftest.$ac_ext >&5
72112 eval "$as_ac_var=no"
72114 rm -f conftest.err conftest.$ac_objext \
72115 conftest$ac_exeext conftest.$ac_ext
72117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72119 if test `eval echo '${'$as_ac_var'}'` = yes; then
72120 cat >>confdefs.h <<_ACEOF
72121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72122 _ACEOF
72125 done
72135 echo "$as_me:$LINENO: checking for modfl declaration" >&5
72136 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
72137 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
72138 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
72139 echo $ECHO_N "(cached) $ECHO_C" >&6
72140 else
72144 ac_ext=cc
72145 ac_cpp='$CXXCPP $CPPFLAGS'
72146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72150 cat >conftest.$ac_ext <<_ACEOF
72151 /* confdefs.h. */
72152 _ACEOF
72153 cat confdefs.h >>conftest.$ac_ext
72154 cat >>conftest.$ac_ext <<_ACEOF
72155 /* end confdefs.h. */
72156 #include <math.h>
72158 main ()
72160 modfl(0, 0);
72162 return 0;
72164 _ACEOF
72165 rm -f conftest.$ac_objext
72166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72167 (eval $ac_compile) 2>conftest.er1
72168 ac_status=$?
72169 grep -v '^ *+' conftest.er1 >conftest.err
72170 rm -f conftest.er1
72171 cat conftest.err >&5
72172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72173 (exit $ac_status); } &&
72174 { ac_try='test -z "$ac_cxx_werror_flag"
72175 || test ! -s conftest.err'
72176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72177 (eval $ac_try) 2>&5
72178 ac_status=$?
72179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72180 (exit $ac_status); }; } &&
72181 { ac_try='test -s conftest.$ac_objext'
72182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72183 (eval $ac_try) 2>&5
72184 ac_status=$?
72185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72186 (exit $ac_status); }; }; then
72187 glibcxx_cv_func_modfl_use=yes
72188 else
72189 echo "$as_me: failed program was:" >&5
72190 sed 's/^/| /' conftest.$ac_ext >&5
72192 glibcxx_cv_func_modfl_use=no
72194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72195 ac_ext=c
72196 ac_cpp='$CPP $CPPFLAGS'
72197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72205 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
72206 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
72208 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
72210 for ac_func in modfl
72212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72213 echo "$as_me:$LINENO: checking for $ac_func" >&5
72214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72215 if eval "test \"\${$as_ac_var+set}\" = set"; then
72216 echo $ECHO_N "(cached) $ECHO_C" >&6
72217 else
72218 if test x$gcc_no_link = xyes; then
72219 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72221 { (exit 1); exit 1; }; }
72223 cat >conftest.$ac_ext <<_ACEOF
72224 /* confdefs.h. */
72225 _ACEOF
72226 cat confdefs.h >>conftest.$ac_ext
72227 cat >>conftest.$ac_ext <<_ACEOF
72228 /* end confdefs.h. */
72229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72231 #define $ac_func innocuous_$ac_func
72233 /* System header to define __stub macros and hopefully few prototypes,
72234 which can conflict with char $ac_func (); below.
72235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72236 <limits.h> exists even on freestanding compilers. */
72238 #ifdef __STDC__
72239 # include <limits.h>
72240 #else
72241 # include <assert.h>
72242 #endif
72244 #undef $ac_func
72246 /* Override any gcc2 internal prototype to avoid an error. */
72247 #ifdef __cplusplus
72248 extern "C"
72250 #endif
72251 /* We use char because int might match the return type of a gcc2
72252 builtin and then its argument prototype would still apply. */
72253 char $ac_func ();
72254 /* The GNU C library defines this for functions which it implements
72255 to always fail with ENOSYS. Some functions are actually named
72256 something starting with __ and the normal name is an alias. */
72257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72258 choke me
72259 #else
72260 char (*f) () = $ac_func;
72261 #endif
72262 #ifdef __cplusplus
72264 #endif
72267 main ()
72269 return f != $ac_func;
72271 return 0;
72273 _ACEOF
72274 rm -f conftest.$ac_objext conftest$ac_exeext
72275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72276 (eval $ac_link) 2>conftest.er1
72277 ac_status=$?
72278 grep -v '^ *+' conftest.er1 >conftest.err
72279 rm -f conftest.er1
72280 cat conftest.err >&5
72281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72282 (exit $ac_status); } &&
72283 { ac_try='test -z "$ac_c_werror_flag"
72284 || test ! -s conftest.err'
72285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72286 (eval $ac_try) 2>&5
72287 ac_status=$?
72288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72289 (exit $ac_status); }; } &&
72290 { ac_try='test -s conftest$ac_exeext'
72291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72292 (eval $ac_try) 2>&5
72293 ac_status=$?
72294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72295 (exit $ac_status); }; }; then
72296 eval "$as_ac_var=yes"
72297 else
72298 echo "$as_me: failed program was:" >&5
72299 sed 's/^/| /' conftest.$ac_ext >&5
72301 eval "$as_ac_var=no"
72303 rm -f conftest.err conftest.$ac_objext \
72304 conftest$ac_exeext conftest.$ac_ext
72306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72308 if test `eval echo '${'$as_ac_var'}'` = yes; then
72309 cat >>confdefs.h <<_ACEOF
72310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72311 _ACEOF
72314 done
72316 else
72318 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
72319 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
72320 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
72321 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
72322 echo $ECHO_N "(cached) $ECHO_C" >&6
72323 else
72327 ac_ext=cc
72328 ac_cpp='$CXXCPP $CPPFLAGS'
72329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72333 cat >conftest.$ac_ext <<_ACEOF
72334 /* confdefs.h. */
72335 _ACEOF
72336 cat confdefs.h >>conftest.$ac_ext
72337 cat >>conftest.$ac_ext <<_ACEOF
72338 /* end confdefs.h. */
72339 #include <math.h>
72341 main ()
72343 _modfl(0, 0);
72345 return 0;
72347 _ACEOF
72348 rm -f conftest.$ac_objext
72349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72350 (eval $ac_compile) 2>conftest.er1
72351 ac_status=$?
72352 grep -v '^ *+' conftest.er1 >conftest.err
72353 rm -f conftest.er1
72354 cat conftest.err >&5
72355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72356 (exit $ac_status); } &&
72357 { ac_try='test -z "$ac_cxx_werror_flag"
72358 || test ! -s conftest.err'
72359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72360 (eval $ac_try) 2>&5
72361 ac_status=$?
72362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72363 (exit $ac_status); }; } &&
72364 { ac_try='test -s conftest.$ac_objext'
72365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72366 (eval $ac_try) 2>&5
72367 ac_status=$?
72368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72369 (exit $ac_status); }; }; then
72370 glibcxx_cv_func__modfl_use=yes
72371 else
72372 echo "$as_me: failed program was:" >&5
72373 sed 's/^/| /' conftest.$ac_ext >&5
72375 glibcxx_cv_func__modfl_use=no
72377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72378 ac_ext=c
72379 ac_cpp='$CPP $CPPFLAGS'
72380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72388 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
72389 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
72391 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
72393 for ac_func in _modfl
72395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72396 echo "$as_me:$LINENO: checking for $ac_func" >&5
72397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72398 if eval "test \"\${$as_ac_var+set}\" = set"; then
72399 echo $ECHO_N "(cached) $ECHO_C" >&6
72400 else
72401 if test x$gcc_no_link = xyes; then
72402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72404 { (exit 1); exit 1; }; }
72406 cat >conftest.$ac_ext <<_ACEOF
72407 /* confdefs.h. */
72408 _ACEOF
72409 cat confdefs.h >>conftest.$ac_ext
72410 cat >>conftest.$ac_ext <<_ACEOF
72411 /* end confdefs.h. */
72412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72414 #define $ac_func innocuous_$ac_func
72416 /* System header to define __stub macros and hopefully few prototypes,
72417 which can conflict with char $ac_func (); below.
72418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72419 <limits.h> exists even on freestanding compilers. */
72421 #ifdef __STDC__
72422 # include <limits.h>
72423 #else
72424 # include <assert.h>
72425 #endif
72427 #undef $ac_func
72429 /* Override any gcc2 internal prototype to avoid an error. */
72430 #ifdef __cplusplus
72431 extern "C"
72433 #endif
72434 /* We use char because int might match the return type of a gcc2
72435 builtin and then its argument prototype would still apply. */
72436 char $ac_func ();
72437 /* The GNU C library defines this for functions which it implements
72438 to always fail with ENOSYS. Some functions are actually named
72439 something starting with __ and the normal name is an alias. */
72440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72441 choke me
72442 #else
72443 char (*f) () = $ac_func;
72444 #endif
72445 #ifdef __cplusplus
72447 #endif
72450 main ()
72452 return f != $ac_func;
72454 return 0;
72456 _ACEOF
72457 rm -f conftest.$ac_objext conftest$ac_exeext
72458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72459 (eval $ac_link) 2>conftest.er1
72460 ac_status=$?
72461 grep -v '^ *+' conftest.er1 >conftest.err
72462 rm -f conftest.er1
72463 cat conftest.err >&5
72464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72465 (exit $ac_status); } &&
72466 { ac_try='test -z "$ac_c_werror_flag"
72467 || test ! -s conftest.err'
72468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72469 (eval $ac_try) 2>&5
72470 ac_status=$?
72471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72472 (exit $ac_status); }; } &&
72473 { ac_try='test -s conftest$ac_exeext'
72474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72475 (eval $ac_try) 2>&5
72476 ac_status=$?
72477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72478 (exit $ac_status); }; }; then
72479 eval "$as_ac_var=yes"
72480 else
72481 echo "$as_me: failed program was:" >&5
72482 sed 's/^/| /' conftest.$ac_ext >&5
72484 eval "$as_ac_var=no"
72486 rm -f conftest.err conftest.$ac_objext \
72487 conftest$ac_exeext conftest.$ac_ext
72489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72491 if test `eval echo '${'$as_ac_var'}'` = yes; then
72492 cat >>confdefs.h <<_ACEOF
72493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72494 _ACEOF
72497 done
72507 echo "$as_me:$LINENO: checking for powl declaration" >&5
72508 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
72509 if test x${glibcxx_cv_func_powl_use+set} != xset; then
72510 if test "${glibcxx_cv_func_powl_use+set}" = set; then
72511 echo $ECHO_N "(cached) $ECHO_C" >&6
72512 else
72516 ac_ext=cc
72517 ac_cpp='$CXXCPP $CPPFLAGS'
72518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72522 cat >conftest.$ac_ext <<_ACEOF
72523 /* confdefs.h. */
72524 _ACEOF
72525 cat confdefs.h >>conftest.$ac_ext
72526 cat >>conftest.$ac_ext <<_ACEOF
72527 /* end confdefs.h. */
72528 #include <math.h>
72530 main ()
72532 powl(0, 0);
72534 return 0;
72536 _ACEOF
72537 rm -f conftest.$ac_objext
72538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72539 (eval $ac_compile) 2>conftest.er1
72540 ac_status=$?
72541 grep -v '^ *+' conftest.er1 >conftest.err
72542 rm -f conftest.er1
72543 cat conftest.err >&5
72544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72545 (exit $ac_status); } &&
72546 { ac_try='test -z "$ac_cxx_werror_flag"
72547 || test ! -s conftest.err'
72548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72549 (eval $ac_try) 2>&5
72550 ac_status=$?
72551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72552 (exit $ac_status); }; } &&
72553 { ac_try='test -s conftest.$ac_objext'
72554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72555 (eval $ac_try) 2>&5
72556 ac_status=$?
72557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72558 (exit $ac_status); }; }; then
72559 glibcxx_cv_func_powl_use=yes
72560 else
72561 echo "$as_me: failed program was:" >&5
72562 sed 's/^/| /' conftest.$ac_ext >&5
72564 glibcxx_cv_func_powl_use=no
72566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72567 ac_ext=c
72568 ac_cpp='$CPP $CPPFLAGS'
72569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72577 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
72578 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
72580 if test x$glibcxx_cv_func_powl_use = x"yes"; then
72582 for ac_func in powl
72584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72585 echo "$as_me:$LINENO: checking for $ac_func" >&5
72586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72587 if eval "test \"\${$as_ac_var+set}\" = set"; then
72588 echo $ECHO_N "(cached) $ECHO_C" >&6
72589 else
72590 if test x$gcc_no_link = xyes; then
72591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72593 { (exit 1); exit 1; }; }
72595 cat >conftest.$ac_ext <<_ACEOF
72596 /* confdefs.h. */
72597 _ACEOF
72598 cat confdefs.h >>conftest.$ac_ext
72599 cat >>conftest.$ac_ext <<_ACEOF
72600 /* end confdefs.h. */
72601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72603 #define $ac_func innocuous_$ac_func
72605 /* System header to define __stub macros and hopefully few prototypes,
72606 which can conflict with char $ac_func (); below.
72607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72608 <limits.h> exists even on freestanding compilers. */
72610 #ifdef __STDC__
72611 # include <limits.h>
72612 #else
72613 # include <assert.h>
72614 #endif
72616 #undef $ac_func
72618 /* Override any gcc2 internal prototype to avoid an error. */
72619 #ifdef __cplusplus
72620 extern "C"
72622 #endif
72623 /* We use char because int might match the return type of a gcc2
72624 builtin and then its argument prototype would still apply. */
72625 char $ac_func ();
72626 /* The GNU C library defines this for functions which it implements
72627 to always fail with ENOSYS. Some functions are actually named
72628 something starting with __ and the normal name is an alias. */
72629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72630 choke me
72631 #else
72632 char (*f) () = $ac_func;
72633 #endif
72634 #ifdef __cplusplus
72636 #endif
72639 main ()
72641 return f != $ac_func;
72643 return 0;
72645 _ACEOF
72646 rm -f conftest.$ac_objext conftest$ac_exeext
72647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72648 (eval $ac_link) 2>conftest.er1
72649 ac_status=$?
72650 grep -v '^ *+' conftest.er1 >conftest.err
72651 rm -f conftest.er1
72652 cat conftest.err >&5
72653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72654 (exit $ac_status); } &&
72655 { ac_try='test -z "$ac_c_werror_flag"
72656 || test ! -s conftest.err'
72657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72658 (eval $ac_try) 2>&5
72659 ac_status=$?
72660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72661 (exit $ac_status); }; } &&
72662 { ac_try='test -s conftest$ac_exeext'
72663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72664 (eval $ac_try) 2>&5
72665 ac_status=$?
72666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72667 (exit $ac_status); }; }; then
72668 eval "$as_ac_var=yes"
72669 else
72670 echo "$as_me: failed program was:" >&5
72671 sed 's/^/| /' conftest.$ac_ext >&5
72673 eval "$as_ac_var=no"
72675 rm -f conftest.err conftest.$ac_objext \
72676 conftest$ac_exeext conftest.$ac_ext
72678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72680 if test `eval echo '${'$as_ac_var'}'` = yes; then
72681 cat >>confdefs.h <<_ACEOF
72682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72683 _ACEOF
72686 done
72688 else
72690 echo "$as_me:$LINENO: checking for _powl declaration" >&5
72691 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
72692 if test x${glibcxx_cv_func__powl_use+set} != xset; then
72693 if test "${glibcxx_cv_func__powl_use+set}" = set; then
72694 echo $ECHO_N "(cached) $ECHO_C" >&6
72695 else
72699 ac_ext=cc
72700 ac_cpp='$CXXCPP $CPPFLAGS'
72701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72705 cat >conftest.$ac_ext <<_ACEOF
72706 /* confdefs.h. */
72707 _ACEOF
72708 cat confdefs.h >>conftest.$ac_ext
72709 cat >>conftest.$ac_ext <<_ACEOF
72710 /* end confdefs.h. */
72711 #include <math.h>
72713 main ()
72715 _powl(0, 0);
72717 return 0;
72719 _ACEOF
72720 rm -f conftest.$ac_objext
72721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72722 (eval $ac_compile) 2>conftest.er1
72723 ac_status=$?
72724 grep -v '^ *+' conftest.er1 >conftest.err
72725 rm -f conftest.er1
72726 cat conftest.err >&5
72727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72728 (exit $ac_status); } &&
72729 { ac_try='test -z "$ac_cxx_werror_flag"
72730 || test ! -s conftest.err'
72731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72732 (eval $ac_try) 2>&5
72733 ac_status=$?
72734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72735 (exit $ac_status); }; } &&
72736 { ac_try='test -s conftest.$ac_objext'
72737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72738 (eval $ac_try) 2>&5
72739 ac_status=$?
72740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72741 (exit $ac_status); }; }; then
72742 glibcxx_cv_func__powl_use=yes
72743 else
72744 echo "$as_me: failed program was:" >&5
72745 sed 's/^/| /' conftest.$ac_ext >&5
72747 glibcxx_cv_func__powl_use=no
72749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72750 ac_ext=c
72751 ac_cpp='$CPP $CPPFLAGS'
72752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72760 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
72761 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
72763 if test x$glibcxx_cv_func__powl_use = x"yes"; then
72765 for ac_func in _powl
72767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72768 echo "$as_me:$LINENO: checking for $ac_func" >&5
72769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72770 if eval "test \"\${$as_ac_var+set}\" = set"; then
72771 echo $ECHO_N "(cached) $ECHO_C" >&6
72772 else
72773 if test x$gcc_no_link = xyes; then
72774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72776 { (exit 1); exit 1; }; }
72778 cat >conftest.$ac_ext <<_ACEOF
72779 /* confdefs.h. */
72780 _ACEOF
72781 cat confdefs.h >>conftest.$ac_ext
72782 cat >>conftest.$ac_ext <<_ACEOF
72783 /* end confdefs.h. */
72784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72786 #define $ac_func innocuous_$ac_func
72788 /* System header to define __stub macros and hopefully few prototypes,
72789 which can conflict with char $ac_func (); below.
72790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72791 <limits.h> exists even on freestanding compilers. */
72793 #ifdef __STDC__
72794 # include <limits.h>
72795 #else
72796 # include <assert.h>
72797 #endif
72799 #undef $ac_func
72801 /* Override any gcc2 internal prototype to avoid an error. */
72802 #ifdef __cplusplus
72803 extern "C"
72805 #endif
72806 /* We use char because int might match the return type of a gcc2
72807 builtin and then its argument prototype would still apply. */
72808 char $ac_func ();
72809 /* The GNU C library defines this for functions which it implements
72810 to always fail with ENOSYS. Some functions are actually named
72811 something starting with __ and the normal name is an alias. */
72812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72813 choke me
72814 #else
72815 char (*f) () = $ac_func;
72816 #endif
72817 #ifdef __cplusplus
72819 #endif
72822 main ()
72824 return f != $ac_func;
72826 return 0;
72828 _ACEOF
72829 rm -f conftest.$ac_objext conftest$ac_exeext
72830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72831 (eval $ac_link) 2>conftest.er1
72832 ac_status=$?
72833 grep -v '^ *+' conftest.er1 >conftest.err
72834 rm -f conftest.er1
72835 cat conftest.err >&5
72836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72837 (exit $ac_status); } &&
72838 { ac_try='test -z "$ac_c_werror_flag"
72839 || test ! -s conftest.err'
72840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72841 (eval $ac_try) 2>&5
72842 ac_status=$?
72843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72844 (exit $ac_status); }; } &&
72845 { ac_try='test -s conftest$ac_exeext'
72846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72847 (eval $ac_try) 2>&5
72848 ac_status=$?
72849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72850 (exit $ac_status); }; }; then
72851 eval "$as_ac_var=yes"
72852 else
72853 echo "$as_me: failed program was:" >&5
72854 sed 's/^/| /' conftest.$ac_ext >&5
72856 eval "$as_ac_var=no"
72858 rm -f conftest.err conftest.$ac_objext \
72859 conftest$ac_exeext conftest.$ac_ext
72861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72863 if test `eval echo '${'$as_ac_var'}'` = yes; then
72864 cat >>confdefs.h <<_ACEOF
72865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72866 _ACEOF
72869 done
72879 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
72880 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
72881 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
72882 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
72883 echo $ECHO_N "(cached) $ECHO_C" >&6
72884 else
72888 ac_ext=cc
72889 ac_cpp='$CXXCPP $CPPFLAGS'
72890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72894 cat >conftest.$ac_ext <<_ACEOF
72895 /* confdefs.h. */
72896 _ACEOF
72897 cat confdefs.h >>conftest.$ac_ext
72898 cat >>conftest.$ac_ext <<_ACEOF
72899 /* end confdefs.h. */
72900 #include <math.h>
72901 #ifdef HAVE_IEEEFP_H
72902 #include <ieeefp.h>
72903 #endif
72906 main ()
72908 sqrtl(0);
72910 return 0;
72912 _ACEOF
72913 rm -f conftest.$ac_objext
72914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72915 (eval $ac_compile) 2>conftest.er1
72916 ac_status=$?
72917 grep -v '^ *+' conftest.er1 >conftest.err
72918 rm -f conftest.er1
72919 cat conftest.err >&5
72920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72921 (exit $ac_status); } &&
72922 { ac_try='test -z "$ac_cxx_werror_flag"
72923 || test ! -s conftest.err'
72924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72925 (eval $ac_try) 2>&5
72926 ac_status=$?
72927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72928 (exit $ac_status); }; } &&
72929 { ac_try='test -s conftest.$ac_objext'
72930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72931 (eval $ac_try) 2>&5
72932 ac_status=$?
72933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72934 (exit $ac_status); }; }; then
72935 glibcxx_cv_func_sqrtl_use=yes
72936 else
72937 echo "$as_me: failed program was:" >&5
72938 sed 's/^/| /' conftest.$ac_ext >&5
72940 glibcxx_cv_func_sqrtl_use=no
72942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72943 ac_ext=c
72944 ac_cpp='$CPP $CPPFLAGS'
72945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72953 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
72954 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
72956 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
72958 for ac_func in sqrtl
72960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72961 echo "$as_me:$LINENO: checking for $ac_func" >&5
72962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72963 if eval "test \"\${$as_ac_var+set}\" = set"; then
72964 echo $ECHO_N "(cached) $ECHO_C" >&6
72965 else
72966 if test x$gcc_no_link = xyes; then
72967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72969 { (exit 1); exit 1; }; }
72971 cat >conftest.$ac_ext <<_ACEOF
72972 /* confdefs.h. */
72973 _ACEOF
72974 cat confdefs.h >>conftest.$ac_ext
72975 cat >>conftest.$ac_ext <<_ACEOF
72976 /* end confdefs.h. */
72977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72979 #define $ac_func innocuous_$ac_func
72981 /* System header to define __stub macros and hopefully few prototypes,
72982 which can conflict with char $ac_func (); below.
72983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72984 <limits.h> exists even on freestanding compilers. */
72986 #ifdef __STDC__
72987 # include <limits.h>
72988 #else
72989 # include <assert.h>
72990 #endif
72992 #undef $ac_func
72994 /* Override any gcc2 internal prototype to avoid an error. */
72995 #ifdef __cplusplus
72996 extern "C"
72998 #endif
72999 /* We use char because int might match the return type of a gcc2
73000 builtin and then its argument prototype would still apply. */
73001 char $ac_func ();
73002 /* The GNU C library defines this for functions which it implements
73003 to always fail with ENOSYS. Some functions are actually named
73004 something starting with __ and the normal name is an alias. */
73005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73006 choke me
73007 #else
73008 char (*f) () = $ac_func;
73009 #endif
73010 #ifdef __cplusplus
73012 #endif
73015 main ()
73017 return f != $ac_func;
73019 return 0;
73021 _ACEOF
73022 rm -f conftest.$ac_objext conftest$ac_exeext
73023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73024 (eval $ac_link) 2>conftest.er1
73025 ac_status=$?
73026 grep -v '^ *+' conftest.er1 >conftest.err
73027 rm -f conftest.er1
73028 cat conftest.err >&5
73029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73030 (exit $ac_status); } &&
73031 { ac_try='test -z "$ac_c_werror_flag"
73032 || test ! -s conftest.err'
73033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73034 (eval $ac_try) 2>&5
73035 ac_status=$?
73036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73037 (exit $ac_status); }; } &&
73038 { ac_try='test -s conftest$ac_exeext'
73039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73040 (eval $ac_try) 2>&5
73041 ac_status=$?
73042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73043 (exit $ac_status); }; }; then
73044 eval "$as_ac_var=yes"
73045 else
73046 echo "$as_me: failed program was:" >&5
73047 sed 's/^/| /' conftest.$ac_ext >&5
73049 eval "$as_ac_var=no"
73051 rm -f conftest.err conftest.$ac_objext \
73052 conftest$ac_exeext conftest.$ac_ext
73054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73056 if test `eval echo '${'$as_ac_var'}'` = yes; then
73057 cat >>confdefs.h <<_ACEOF
73058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73059 _ACEOF
73062 done
73064 else
73066 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
73067 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
73068 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
73069 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
73070 echo $ECHO_N "(cached) $ECHO_C" >&6
73071 else
73075 ac_ext=cc
73076 ac_cpp='$CXXCPP $CPPFLAGS'
73077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73081 cat >conftest.$ac_ext <<_ACEOF
73082 /* confdefs.h. */
73083 _ACEOF
73084 cat confdefs.h >>conftest.$ac_ext
73085 cat >>conftest.$ac_ext <<_ACEOF
73086 /* end confdefs.h. */
73087 #include <math.h>
73088 #ifdef HAVE_IEEEFP_H
73089 #include <ieeefp.h>
73090 #endif
73093 main ()
73095 _sqrtl(0);
73097 return 0;
73099 _ACEOF
73100 rm -f conftest.$ac_objext
73101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73102 (eval $ac_compile) 2>conftest.er1
73103 ac_status=$?
73104 grep -v '^ *+' conftest.er1 >conftest.err
73105 rm -f conftest.er1
73106 cat conftest.err >&5
73107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73108 (exit $ac_status); } &&
73109 { ac_try='test -z "$ac_cxx_werror_flag"
73110 || test ! -s conftest.err'
73111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73112 (eval $ac_try) 2>&5
73113 ac_status=$?
73114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73115 (exit $ac_status); }; } &&
73116 { ac_try='test -s conftest.$ac_objext'
73117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73118 (eval $ac_try) 2>&5
73119 ac_status=$?
73120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73121 (exit $ac_status); }; }; then
73122 glibcxx_cv_func__sqrtl_use=yes
73123 else
73124 echo "$as_me: failed program was:" >&5
73125 sed 's/^/| /' conftest.$ac_ext >&5
73127 glibcxx_cv_func__sqrtl_use=no
73129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73130 ac_ext=c
73131 ac_cpp='$CPP $CPPFLAGS'
73132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73140 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
73141 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
73143 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
73145 for ac_func in _sqrtl
73147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73148 echo "$as_me:$LINENO: checking for $ac_func" >&5
73149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73150 if eval "test \"\${$as_ac_var+set}\" = set"; then
73151 echo $ECHO_N "(cached) $ECHO_C" >&6
73152 else
73153 if test x$gcc_no_link = xyes; then
73154 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73156 { (exit 1); exit 1; }; }
73158 cat >conftest.$ac_ext <<_ACEOF
73159 /* confdefs.h. */
73160 _ACEOF
73161 cat confdefs.h >>conftest.$ac_ext
73162 cat >>conftest.$ac_ext <<_ACEOF
73163 /* end confdefs.h. */
73164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73166 #define $ac_func innocuous_$ac_func
73168 /* System header to define __stub macros and hopefully few prototypes,
73169 which can conflict with char $ac_func (); below.
73170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73171 <limits.h> exists even on freestanding compilers. */
73173 #ifdef __STDC__
73174 # include <limits.h>
73175 #else
73176 # include <assert.h>
73177 #endif
73179 #undef $ac_func
73181 /* Override any gcc2 internal prototype to avoid an error. */
73182 #ifdef __cplusplus
73183 extern "C"
73185 #endif
73186 /* We use char because int might match the return type of a gcc2
73187 builtin and then its argument prototype would still apply. */
73188 char $ac_func ();
73189 /* The GNU C library defines this for functions which it implements
73190 to always fail with ENOSYS. Some functions are actually named
73191 something starting with __ and the normal name is an alias. */
73192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73193 choke me
73194 #else
73195 char (*f) () = $ac_func;
73196 #endif
73197 #ifdef __cplusplus
73199 #endif
73202 main ()
73204 return f != $ac_func;
73206 return 0;
73208 _ACEOF
73209 rm -f conftest.$ac_objext conftest$ac_exeext
73210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73211 (eval $ac_link) 2>conftest.er1
73212 ac_status=$?
73213 grep -v '^ *+' conftest.er1 >conftest.err
73214 rm -f conftest.er1
73215 cat conftest.err >&5
73216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73217 (exit $ac_status); } &&
73218 { ac_try='test -z "$ac_c_werror_flag"
73219 || test ! -s conftest.err'
73220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73221 (eval $ac_try) 2>&5
73222 ac_status=$?
73223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73224 (exit $ac_status); }; } &&
73225 { ac_try='test -s conftest$ac_exeext'
73226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73227 (eval $ac_try) 2>&5
73228 ac_status=$?
73229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73230 (exit $ac_status); }; }; then
73231 eval "$as_ac_var=yes"
73232 else
73233 echo "$as_me: failed program was:" >&5
73234 sed 's/^/| /' conftest.$ac_ext >&5
73236 eval "$as_ac_var=no"
73238 rm -f conftest.err conftest.$ac_objext \
73239 conftest$ac_exeext conftest.$ac_ext
73241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73243 if test `eval echo '${'$as_ac_var'}'` = yes; then
73244 cat >>confdefs.h <<_ACEOF
73245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73246 _ACEOF
73249 done
73259 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
73260 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
73261 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
73262 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
73263 echo $ECHO_N "(cached) $ECHO_C" >&6
73264 else
73268 ac_ext=cc
73269 ac_cpp='$CXXCPP $CPPFLAGS'
73270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73274 cat >conftest.$ac_ext <<_ACEOF
73275 /* confdefs.h. */
73276 _ACEOF
73277 cat confdefs.h >>conftest.$ac_ext
73278 cat >>conftest.$ac_ext <<_ACEOF
73279 /* end confdefs.h. */
73280 #include <math.h>
73282 main ()
73284 sincosl(0, 0, 0);
73286 return 0;
73288 _ACEOF
73289 rm -f conftest.$ac_objext
73290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73291 (eval $ac_compile) 2>conftest.er1
73292 ac_status=$?
73293 grep -v '^ *+' conftest.er1 >conftest.err
73294 rm -f conftest.er1
73295 cat conftest.err >&5
73296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73297 (exit $ac_status); } &&
73298 { ac_try='test -z "$ac_cxx_werror_flag"
73299 || test ! -s conftest.err'
73300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73301 (eval $ac_try) 2>&5
73302 ac_status=$?
73303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73304 (exit $ac_status); }; } &&
73305 { ac_try='test -s conftest.$ac_objext'
73306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73307 (eval $ac_try) 2>&5
73308 ac_status=$?
73309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73310 (exit $ac_status); }; }; then
73311 glibcxx_cv_func_sincosl_use=yes
73312 else
73313 echo "$as_me: failed program was:" >&5
73314 sed 's/^/| /' conftest.$ac_ext >&5
73316 glibcxx_cv_func_sincosl_use=no
73318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73319 ac_ext=c
73320 ac_cpp='$CPP $CPPFLAGS'
73321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73329 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
73330 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
73332 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
73334 for ac_func in sincosl
73336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73337 echo "$as_me:$LINENO: checking for $ac_func" >&5
73338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73339 if eval "test \"\${$as_ac_var+set}\" = set"; then
73340 echo $ECHO_N "(cached) $ECHO_C" >&6
73341 else
73342 if test x$gcc_no_link = xyes; then
73343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73345 { (exit 1); exit 1; }; }
73347 cat >conftest.$ac_ext <<_ACEOF
73348 /* confdefs.h. */
73349 _ACEOF
73350 cat confdefs.h >>conftest.$ac_ext
73351 cat >>conftest.$ac_ext <<_ACEOF
73352 /* end confdefs.h. */
73353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73355 #define $ac_func innocuous_$ac_func
73357 /* System header to define __stub macros and hopefully few prototypes,
73358 which can conflict with char $ac_func (); below.
73359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73360 <limits.h> exists even on freestanding compilers. */
73362 #ifdef __STDC__
73363 # include <limits.h>
73364 #else
73365 # include <assert.h>
73366 #endif
73368 #undef $ac_func
73370 /* Override any gcc2 internal prototype to avoid an error. */
73371 #ifdef __cplusplus
73372 extern "C"
73374 #endif
73375 /* We use char because int might match the return type of a gcc2
73376 builtin and then its argument prototype would still apply. */
73377 char $ac_func ();
73378 /* The GNU C library defines this for functions which it implements
73379 to always fail with ENOSYS. Some functions are actually named
73380 something starting with __ and the normal name is an alias. */
73381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73382 choke me
73383 #else
73384 char (*f) () = $ac_func;
73385 #endif
73386 #ifdef __cplusplus
73388 #endif
73391 main ()
73393 return f != $ac_func;
73395 return 0;
73397 _ACEOF
73398 rm -f conftest.$ac_objext conftest$ac_exeext
73399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73400 (eval $ac_link) 2>conftest.er1
73401 ac_status=$?
73402 grep -v '^ *+' conftest.er1 >conftest.err
73403 rm -f conftest.er1
73404 cat conftest.err >&5
73405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73406 (exit $ac_status); } &&
73407 { ac_try='test -z "$ac_c_werror_flag"
73408 || test ! -s conftest.err'
73409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73410 (eval $ac_try) 2>&5
73411 ac_status=$?
73412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73413 (exit $ac_status); }; } &&
73414 { ac_try='test -s conftest$ac_exeext'
73415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73416 (eval $ac_try) 2>&5
73417 ac_status=$?
73418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73419 (exit $ac_status); }; }; then
73420 eval "$as_ac_var=yes"
73421 else
73422 echo "$as_me: failed program was:" >&5
73423 sed 's/^/| /' conftest.$ac_ext >&5
73425 eval "$as_ac_var=no"
73427 rm -f conftest.err conftest.$ac_objext \
73428 conftest$ac_exeext conftest.$ac_ext
73430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73432 if test `eval echo '${'$as_ac_var'}'` = yes; then
73433 cat >>confdefs.h <<_ACEOF
73434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73435 _ACEOF
73438 done
73440 else
73442 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
73443 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
73444 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
73445 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
73446 echo $ECHO_N "(cached) $ECHO_C" >&6
73447 else
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
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 <math.h>
73465 main ()
73467 _sincosl(0, 0, 0);
73469 return 0;
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__sincosl_use=yes
73495 else
73496 echo "$as_me: failed program was:" >&5
73497 sed 's/^/| /' conftest.$ac_ext >&5
73499 glibcxx_cv_func__sincosl_use=no
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
73512 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
73513 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
73515 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
73517 for ac_func in _sincosl
73519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73520 echo "$as_me:$LINENO: checking for $ac_func" >&5
73521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73522 if eval "test \"\${$as_ac_var+set}\" = set"; then
73523 echo $ECHO_N "(cached) $ECHO_C" >&6
73524 else
73525 if test x$gcc_no_link = xyes; then
73526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73528 { (exit 1); exit 1; }; }
73530 cat >conftest.$ac_ext <<_ACEOF
73531 /* confdefs.h. */
73532 _ACEOF
73533 cat confdefs.h >>conftest.$ac_ext
73534 cat >>conftest.$ac_ext <<_ACEOF
73535 /* end confdefs.h. */
73536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73538 #define $ac_func innocuous_$ac_func
73540 /* System header to define __stub macros and hopefully few prototypes,
73541 which can conflict with char $ac_func (); below.
73542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73543 <limits.h> exists even on freestanding compilers. */
73545 #ifdef __STDC__
73546 # include <limits.h>
73547 #else
73548 # include <assert.h>
73549 #endif
73551 #undef $ac_func
73553 /* Override any gcc2 internal prototype to avoid an error. */
73554 #ifdef __cplusplus
73555 extern "C"
73557 #endif
73558 /* We use char because int might match the return type of a gcc2
73559 builtin and then its argument prototype would still apply. */
73560 char $ac_func ();
73561 /* The GNU C library defines this for functions which it implements
73562 to always fail with ENOSYS. Some functions are actually named
73563 something starting with __ and the normal name is an alias. */
73564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73565 choke me
73566 #else
73567 char (*f) () = $ac_func;
73568 #endif
73569 #ifdef __cplusplus
73571 #endif
73574 main ()
73576 return f != $ac_func;
73578 return 0;
73580 _ACEOF
73581 rm -f conftest.$ac_objext conftest$ac_exeext
73582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73583 (eval $ac_link) 2>conftest.er1
73584 ac_status=$?
73585 grep -v '^ *+' conftest.er1 >conftest.err
73586 rm -f conftest.er1
73587 cat conftest.err >&5
73588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73589 (exit $ac_status); } &&
73590 { ac_try='test -z "$ac_c_werror_flag"
73591 || test ! -s conftest.err'
73592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73593 (eval $ac_try) 2>&5
73594 ac_status=$?
73595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73596 (exit $ac_status); }; } &&
73597 { ac_try='test -s conftest$ac_exeext'
73598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73599 (eval $ac_try) 2>&5
73600 ac_status=$?
73601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73602 (exit $ac_status); }; }; then
73603 eval "$as_ac_var=yes"
73604 else
73605 echo "$as_me: failed program was:" >&5
73606 sed 's/^/| /' conftest.$ac_ext >&5
73608 eval "$as_ac_var=no"
73610 rm -f conftest.err conftest.$ac_objext \
73611 conftest$ac_exeext conftest.$ac_ext
73613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73615 if test `eval echo '${'$as_ac_var'}'` = yes; then
73616 cat >>confdefs.h <<_ACEOF
73617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73618 _ACEOF
73621 done
73631 echo "$as_me:$LINENO: checking for finitel declaration" >&5
73632 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
73633 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
73634 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
73635 echo $ECHO_N "(cached) $ECHO_C" >&6
73636 else
73640 ac_ext=cc
73641 ac_cpp='$CXXCPP $CPPFLAGS'
73642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73646 cat >conftest.$ac_ext <<_ACEOF
73647 /* confdefs.h. */
73648 _ACEOF
73649 cat confdefs.h >>conftest.$ac_ext
73650 cat >>conftest.$ac_ext <<_ACEOF
73651 /* end confdefs.h. */
73652 #include <math.h>
73653 #ifdef HAVE_IEEEFP_H
73654 #include <ieeefp.h>
73655 #endif
73658 main ()
73660 finitel(0);
73662 return 0;
73664 _ACEOF
73665 rm -f conftest.$ac_objext
73666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73667 (eval $ac_compile) 2>conftest.er1
73668 ac_status=$?
73669 grep -v '^ *+' conftest.er1 >conftest.err
73670 rm -f conftest.er1
73671 cat conftest.err >&5
73672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73673 (exit $ac_status); } &&
73674 { ac_try='test -z "$ac_cxx_werror_flag"
73675 || test ! -s conftest.err'
73676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73677 (eval $ac_try) 2>&5
73678 ac_status=$?
73679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73680 (exit $ac_status); }; } &&
73681 { ac_try='test -s conftest.$ac_objext'
73682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73683 (eval $ac_try) 2>&5
73684 ac_status=$?
73685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73686 (exit $ac_status); }; }; then
73687 glibcxx_cv_func_finitel_use=yes
73688 else
73689 echo "$as_me: failed program was:" >&5
73690 sed 's/^/| /' conftest.$ac_ext >&5
73692 glibcxx_cv_func_finitel_use=no
73694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73695 ac_ext=c
73696 ac_cpp='$CPP $CPPFLAGS'
73697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73705 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
73706 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
73708 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
73710 for ac_func in finitel
73712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73713 echo "$as_me:$LINENO: checking for $ac_func" >&5
73714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73715 if eval "test \"\${$as_ac_var+set}\" = set"; then
73716 echo $ECHO_N "(cached) $ECHO_C" >&6
73717 else
73718 if test x$gcc_no_link = xyes; then
73719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73721 { (exit 1); exit 1; }; }
73723 cat >conftest.$ac_ext <<_ACEOF
73724 /* confdefs.h. */
73725 _ACEOF
73726 cat confdefs.h >>conftest.$ac_ext
73727 cat >>conftest.$ac_ext <<_ACEOF
73728 /* end confdefs.h. */
73729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73731 #define $ac_func innocuous_$ac_func
73733 /* System header to define __stub macros and hopefully few prototypes,
73734 which can conflict with char $ac_func (); below.
73735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73736 <limits.h> exists even on freestanding compilers. */
73738 #ifdef __STDC__
73739 # include <limits.h>
73740 #else
73741 # include <assert.h>
73742 #endif
73744 #undef $ac_func
73746 /* Override any gcc2 internal prototype to avoid an error. */
73747 #ifdef __cplusplus
73748 extern "C"
73750 #endif
73751 /* We use char because int might match the return type of a gcc2
73752 builtin and then its argument prototype would still apply. */
73753 char $ac_func ();
73754 /* The GNU C library defines this for functions which it implements
73755 to always fail with ENOSYS. Some functions are actually named
73756 something starting with __ and the normal name is an alias. */
73757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73758 choke me
73759 #else
73760 char (*f) () = $ac_func;
73761 #endif
73762 #ifdef __cplusplus
73764 #endif
73767 main ()
73769 return f != $ac_func;
73771 return 0;
73773 _ACEOF
73774 rm -f conftest.$ac_objext conftest$ac_exeext
73775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73776 (eval $ac_link) 2>conftest.er1
73777 ac_status=$?
73778 grep -v '^ *+' conftest.er1 >conftest.err
73779 rm -f conftest.er1
73780 cat conftest.err >&5
73781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73782 (exit $ac_status); } &&
73783 { ac_try='test -z "$ac_c_werror_flag"
73784 || test ! -s conftest.err'
73785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73786 (eval $ac_try) 2>&5
73787 ac_status=$?
73788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73789 (exit $ac_status); }; } &&
73790 { ac_try='test -s conftest$ac_exeext'
73791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73792 (eval $ac_try) 2>&5
73793 ac_status=$?
73794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73795 (exit $ac_status); }; }; then
73796 eval "$as_ac_var=yes"
73797 else
73798 echo "$as_me: failed program was:" >&5
73799 sed 's/^/| /' conftest.$ac_ext >&5
73801 eval "$as_ac_var=no"
73803 rm -f conftest.err conftest.$ac_objext \
73804 conftest$ac_exeext conftest.$ac_ext
73806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73808 if test `eval echo '${'$as_ac_var'}'` = yes; then
73809 cat >>confdefs.h <<_ACEOF
73810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73811 _ACEOF
73814 done
73816 else
73818 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
73819 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
73820 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
73821 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
73822 echo $ECHO_N "(cached) $ECHO_C" >&6
73823 else
73827 ac_ext=cc
73828 ac_cpp='$CXXCPP $CPPFLAGS'
73829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73833 cat >conftest.$ac_ext <<_ACEOF
73834 /* confdefs.h. */
73835 _ACEOF
73836 cat confdefs.h >>conftest.$ac_ext
73837 cat >>conftest.$ac_ext <<_ACEOF
73838 /* end confdefs.h. */
73839 #include <math.h>
73840 #ifdef HAVE_IEEEFP_H
73841 #include <ieeefp.h>
73842 #endif
73845 main ()
73847 _finitel(0);
73849 return 0;
73851 _ACEOF
73852 rm -f conftest.$ac_objext
73853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73854 (eval $ac_compile) 2>conftest.er1
73855 ac_status=$?
73856 grep -v '^ *+' conftest.er1 >conftest.err
73857 rm -f conftest.er1
73858 cat conftest.err >&5
73859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73860 (exit $ac_status); } &&
73861 { ac_try='test -z "$ac_cxx_werror_flag"
73862 || test ! -s conftest.err'
73863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73864 (eval $ac_try) 2>&5
73865 ac_status=$?
73866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73867 (exit $ac_status); }; } &&
73868 { ac_try='test -s conftest.$ac_objext'
73869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73870 (eval $ac_try) 2>&5
73871 ac_status=$?
73872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73873 (exit $ac_status); }; }; then
73874 glibcxx_cv_func__finitel_use=yes
73875 else
73876 echo "$as_me: failed program was:" >&5
73877 sed 's/^/| /' conftest.$ac_ext >&5
73879 glibcxx_cv_func__finitel_use=no
73881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73882 ac_ext=c
73883 ac_cpp='$CPP $CPPFLAGS'
73884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73892 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
73893 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
73895 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
73897 for ac_func in _finitel
73899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73900 echo "$as_me:$LINENO: checking for $ac_func" >&5
73901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73902 if eval "test \"\${$as_ac_var+set}\" = set"; then
73903 echo $ECHO_N "(cached) $ECHO_C" >&6
73904 else
73905 if test x$gcc_no_link = xyes; then
73906 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73908 { (exit 1); exit 1; }; }
73910 cat >conftest.$ac_ext <<_ACEOF
73911 /* confdefs.h. */
73912 _ACEOF
73913 cat confdefs.h >>conftest.$ac_ext
73914 cat >>conftest.$ac_ext <<_ACEOF
73915 /* end confdefs.h. */
73916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73918 #define $ac_func innocuous_$ac_func
73920 /* System header to define __stub macros and hopefully few prototypes,
73921 which can conflict with char $ac_func (); below.
73922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73923 <limits.h> exists even on freestanding compilers. */
73925 #ifdef __STDC__
73926 # include <limits.h>
73927 #else
73928 # include <assert.h>
73929 #endif
73931 #undef $ac_func
73933 /* Override any gcc2 internal prototype to avoid an error. */
73934 #ifdef __cplusplus
73935 extern "C"
73937 #endif
73938 /* We use char because int might match the return type of a gcc2
73939 builtin and then its argument prototype would still apply. */
73940 char $ac_func ();
73941 /* The GNU C library defines this for functions which it implements
73942 to always fail with ENOSYS. Some functions are actually named
73943 something starting with __ and the normal name is an alias. */
73944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73945 choke me
73946 #else
73947 char (*f) () = $ac_func;
73948 #endif
73949 #ifdef __cplusplus
73951 #endif
73954 main ()
73956 return f != $ac_func;
73958 return 0;
73960 _ACEOF
73961 rm -f conftest.$ac_objext conftest$ac_exeext
73962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73963 (eval $ac_link) 2>conftest.er1
73964 ac_status=$?
73965 grep -v '^ *+' conftest.er1 >conftest.err
73966 rm -f conftest.er1
73967 cat conftest.err >&5
73968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73969 (exit $ac_status); } &&
73970 { ac_try='test -z "$ac_c_werror_flag"
73971 || test ! -s conftest.err'
73972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73973 (eval $ac_try) 2>&5
73974 ac_status=$?
73975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73976 (exit $ac_status); }; } &&
73977 { ac_try='test -s conftest$ac_exeext'
73978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73979 (eval $ac_try) 2>&5
73980 ac_status=$?
73981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73982 (exit $ac_status); }; }; then
73983 eval "$as_ac_var=yes"
73984 else
73985 echo "$as_me: failed program was:" >&5
73986 sed 's/^/| /' conftest.$ac_ext >&5
73988 eval "$as_ac_var=no"
73990 rm -f conftest.err conftest.$ac_objext \
73991 conftest$ac_exeext conftest.$ac_ext
73993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73995 if test `eval echo '${'$as_ac_var'}'` = yes; then
73996 cat >>confdefs.h <<_ACEOF
73997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73998 _ACEOF
74001 done
74010 LIBS="$ac_save_LIBS"
74011 CXXFLAGS="$ac_save_CXXFLAGS"
74015 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
74016 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
74017 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
74018 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
74019 echo $ECHO_N "(cached) $ECHO_C" >&6
74020 else
74024 ac_ext=cc
74025 ac_cpp='$CXXCPP $CPPFLAGS'
74026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74030 cat >conftest.$ac_ext <<_ACEOF
74031 /* confdefs.h. */
74032 _ACEOF
74033 cat confdefs.h >>conftest.$ac_ext
74034 cat >>conftest.$ac_ext <<_ACEOF
74035 /* end confdefs.h. */
74036 #include <math.h>
74038 main ()
74040 __builtin_abs(0);
74042 return 0;
74044 _ACEOF
74045 rm -f conftest.$ac_objext
74046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74047 (eval $ac_compile) 2>conftest.er1
74048 ac_status=$?
74049 grep -v '^ *+' conftest.er1 >conftest.err
74050 rm -f conftest.er1
74051 cat conftest.err >&5
74052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74053 (exit $ac_status); } &&
74054 { ac_try='test -z "$ac_cxx_werror_flag"
74055 || test ! -s conftest.err'
74056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74057 (eval $ac_try) 2>&5
74058 ac_status=$?
74059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74060 (exit $ac_status); }; } &&
74061 { ac_try='test -s conftest.$ac_objext'
74062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74063 (eval $ac_try) 2>&5
74064 ac_status=$?
74065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74066 (exit $ac_status); }; }; then
74067 glibcxx_cv_func___builtin_abs_use=yes
74068 else
74069 echo "$as_me: failed program was:" >&5
74070 sed 's/^/| /' conftest.$ac_ext >&5
74072 glibcxx_cv_func___builtin_abs_use=no
74074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74075 ac_ext=c
74076 ac_cpp='$CPP $CPPFLAGS'
74077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74085 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
74086 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
74087 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
74088 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
74089 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
74090 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
74091 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
74092 echo $ECHO_N "(cached) $ECHO_C" >&6
74093 else
74095 if test x$gcc_no_link = xyes; then
74096 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74098 { (exit 1); exit 1; }; }
74100 cat >conftest.$ac_ext <<_ACEOF
74101 /* confdefs.h. */
74102 _ACEOF
74103 cat confdefs.h >>conftest.$ac_ext
74104 cat >>conftest.$ac_ext <<_ACEOF
74105 /* end confdefs.h. */
74106 #include <math.h>
74108 main ()
74110 __builtin_abs(0);
74112 return 0;
74114 _ACEOF
74115 rm -f conftest.$ac_objext conftest$ac_exeext
74116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74117 (eval $ac_link) 2>conftest.er1
74118 ac_status=$?
74119 grep -v '^ *+' conftest.er1 >conftest.err
74120 rm -f conftest.er1
74121 cat conftest.err >&5
74122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74123 (exit $ac_status); } &&
74124 { ac_try='test -z "$ac_c_werror_flag"
74125 || test ! -s conftest.err'
74126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74127 (eval $ac_try) 2>&5
74128 ac_status=$?
74129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74130 (exit $ac_status); }; } &&
74131 { ac_try='test -s conftest$ac_exeext'
74132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74133 (eval $ac_try) 2>&5
74134 ac_status=$?
74135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74136 (exit $ac_status); }; }; then
74137 glibcxx_cv_func___builtin_abs_link=yes
74138 else
74139 echo "$as_me: failed program was:" >&5
74140 sed 's/^/| /' conftest.$ac_ext >&5
74142 glibcxx_cv_func___builtin_abs_link=no
74144 rm -f conftest.err conftest.$ac_objext \
74145 conftest$ac_exeext conftest.$ac_ext
74150 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
74151 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
74153 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
74155 cat >>confdefs.h <<\_ACEOF
74156 #define HAVE___BUILTIN_ABS 1
74157 _ACEOF
74164 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
74165 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
74166 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
74167 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
74168 echo $ECHO_N "(cached) $ECHO_C" >&6
74169 else
74173 ac_ext=cc
74174 ac_cpp='$CXXCPP $CPPFLAGS'
74175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74179 cat >conftest.$ac_ext <<_ACEOF
74180 /* confdefs.h. */
74181 _ACEOF
74182 cat confdefs.h >>conftest.$ac_ext
74183 cat >>conftest.$ac_ext <<_ACEOF
74184 /* end confdefs.h. */
74185 #include <math.h>
74187 main ()
74189 __builtin_fabsf(0);
74191 return 0;
74193 _ACEOF
74194 rm -f conftest.$ac_objext
74195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74196 (eval $ac_compile) 2>conftest.er1
74197 ac_status=$?
74198 grep -v '^ *+' conftest.er1 >conftest.err
74199 rm -f conftest.er1
74200 cat conftest.err >&5
74201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74202 (exit $ac_status); } &&
74203 { ac_try='test -z "$ac_cxx_werror_flag"
74204 || test ! -s conftest.err'
74205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74206 (eval $ac_try) 2>&5
74207 ac_status=$?
74208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74209 (exit $ac_status); }; } &&
74210 { ac_try='test -s conftest.$ac_objext'
74211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74212 (eval $ac_try) 2>&5
74213 ac_status=$?
74214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74215 (exit $ac_status); }; }; then
74216 glibcxx_cv_func___builtin_fabsf_use=yes
74217 else
74218 echo "$as_me: failed program was:" >&5
74219 sed 's/^/| /' conftest.$ac_ext >&5
74221 glibcxx_cv_func___builtin_fabsf_use=no
74223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74224 ac_ext=c
74225 ac_cpp='$CPP $CPPFLAGS'
74226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74234 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
74235 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
74236 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
74237 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
74238 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
74239 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
74240 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
74241 echo $ECHO_N "(cached) $ECHO_C" >&6
74242 else
74244 if test x$gcc_no_link = xyes; then
74245 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74247 { (exit 1); exit 1; }; }
74249 cat >conftest.$ac_ext <<_ACEOF
74250 /* confdefs.h. */
74251 _ACEOF
74252 cat confdefs.h >>conftest.$ac_ext
74253 cat >>conftest.$ac_ext <<_ACEOF
74254 /* end confdefs.h. */
74255 #include <math.h>
74257 main ()
74259 __builtin_fabsf(0);
74261 return 0;
74263 _ACEOF
74264 rm -f conftest.$ac_objext conftest$ac_exeext
74265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74266 (eval $ac_link) 2>conftest.er1
74267 ac_status=$?
74268 grep -v '^ *+' conftest.er1 >conftest.err
74269 rm -f conftest.er1
74270 cat conftest.err >&5
74271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74272 (exit $ac_status); } &&
74273 { ac_try='test -z "$ac_c_werror_flag"
74274 || test ! -s conftest.err'
74275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74276 (eval $ac_try) 2>&5
74277 ac_status=$?
74278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74279 (exit $ac_status); }; } &&
74280 { ac_try='test -s conftest$ac_exeext'
74281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74282 (eval $ac_try) 2>&5
74283 ac_status=$?
74284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74285 (exit $ac_status); }; }; then
74286 glibcxx_cv_func___builtin_fabsf_link=yes
74287 else
74288 echo "$as_me: failed program was:" >&5
74289 sed 's/^/| /' conftest.$ac_ext >&5
74291 glibcxx_cv_func___builtin_fabsf_link=no
74293 rm -f conftest.err conftest.$ac_objext \
74294 conftest$ac_exeext conftest.$ac_ext
74299 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
74300 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
74302 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
74304 cat >>confdefs.h <<\_ACEOF
74305 #define HAVE___BUILTIN_FABSF 1
74306 _ACEOF
74313 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
74314 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
74315 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
74316 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
74317 echo $ECHO_N "(cached) $ECHO_C" >&6
74318 else
74322 ac_ext=cc
74323 ac_cpp='$CXXCPP $CPPFLAGS'
74324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74328 cat >conftest.$ac_ext <<_ACEOF
74329 /* confdefs.h. */
74330 _ACEOF
74331 cat confdefs.h >>conftest.$ac_ext
74332 cat >>conftest.$ac_ext <<_ACEOF
74333 /* end confdefs.h. */
74334 #include <math.h>
74336 main ()
74338 __builtin_fabs(0);
74340 return 0;
74342 _ACEOF
74343 rm -f conftest.$ac_objext
74344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74345 (eval $ac_compile) 2>conftest.er1
74346 ac_status=$?
74347 grep -v '^ *+' conftest.er1 >conftest.err
74348 rm -f conftest.er1
74349 cat conftest.err >&5
74350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74351 (exit $ac_status); } &&
74352 { ac_try='test -z "$ac_cxx_werror_flag"
74353 || test ! -s conftest.err'
74354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74355 (eval $ac_try) 2>&5
74356 ac_status=$?
74357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74358 (exit $ac_status); }; } &&
74359 { ac_try='test -s conftest.$ac_objext'
74360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74361 (eval $ac_try) 2>&5
74362 ac_status=$?
74363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74364 (exit $ac_status); }; }; then
74365 glibcxx_cv_func___builtin_fabs_use=yes
74366 else
74367 echo "$as_me: failed program was:" >&5
74368 sed 's/^/| /' conftest.$ac_ext >&5
74370 glibcxx_cv_func___builtin_fabs_use=no
74372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74373 ac_ext=c
74374 ac_cpp='$CPP $CPPFLAGS'
74375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74383 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
74384 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
74385 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
74386 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
74387 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
74388 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
74389 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
74390 echo $ECHO_N "(cached) $ECHO_C" >&6
74391 else
74393 if test x$gcc_no_link = xyes; then
74394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74396 { (exit 1); exit 1; }; }
74398 cat >conftest.$ac_ext <<_ACEOF
74399 /* confdefs.h. */
74400 _ACEOF
74401 cat confdefs.h >>conftest.$ac_ext
74402 cat >>conftest.$ac_ext <<_ACEOF
74403 /* end confdefs.h. */
74404 #include <math.h>
74406 main ()
74408 __builtin_fabs(0);
74410 return 0;
74412 _ACEOF
74413 rm -f conftest.$ac_objext conftest$ac_exeext
74414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74415 (eval $ac_link) 2>conftest.er1
74416 ac_status=$?
74417 grep -v '^ *+' conftest.er1 >conftest.err
74418 rm -f conftest.er1
74419 cat conftest.err >&5
74420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74421 (exit $ac_status); } &&
74422 { ac_try='test -z "$ac_c_werror_flag"
74423 || test ! -s conftest.err'
74424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74425 (eval $ac_try) 2>&5
74426 ac_status=$?
74427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74428 (exit $ac_status); }; } &&
74429 { ac_try='test -s conftest$ac_exeext'
74430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74431 (eval $ac_try) 2>&5
74432 ac_status=$?
74433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74434 (exit $ac_status); }; }; then
74435 glibcxx_cv_func___builtin_fabs_link=yes
74436 else
74437 echo "$as_me: failed program was:" >&5
74438 sed 's/^/| /' conftest.$ac_ext >&5
74440 glibcxx_cv_func___builtin_fabs_link=no
74442 rm -f conftest.err conftest.$ac_objext \
74443 conftest$ac_exeext conftest.$ac_ext
74448 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
74449 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
74451 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
74453 cat >>confdefs.h <<\_ACEOF
74454 #define HAVE___BUILTIN_FABS 1
74455 _ACEOF
74462 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
74463 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
74464 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
74465 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
74466 echo $ECHO_N "(cached) $ECHO_C" >&6
74467 else
74471 ac_ext=cc
74472 ac_cpp='$CXXCPP $CPPFLAGS'
74473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74477 cat >conftest.$ac_ext <<_ACEOF
74478 /* confdefs.h. */
74479 _ACEOF
74480 cat confdefs.h >>conftest.$ac_ext
74481 cat >>conftest.$ac_ext <<_ACEOF
74482 /* end confdefs.h. */
74483 #include <math.h>
74485 main ()
74487 __builtin_fabsl(0);
74489 return 0;
74491 _ACEOF
74492 rm -f conftest.$ac_objext
74493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74494 (eval $ac_compile) 2>conftest.er1
74495 ac_status=$?
74496 grep -v '^ *+' conftest.er1 >conftest.err
74497 rm -f conftest.er1
74498 cat conftest.err >&5
74499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74500 (exit $ac_status); } &&
74501 { ac_try='test -z "$ac_cxx_werror_flag"
74502 || test ! -s conftest.err'
74503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74504 (eval $ac_try) 2>&5
74505 ac_status=$?
74506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74507 (exit $ac_status); }; } &&
74508 { ac_try='test -s conftest.$ac_objext'
74509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74510 (eval $ac_try) 2>&5
74511 ac_status=$?
74512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74513 (exit $ac_status); }; }; then
74514 glibcxx_cv_func___builtin_fabsl_use=yes
74515 else
74516 echo "$as_me: failed program was:" >&5
74517 sed 's/^/| /' conftest.$ac_ext >&5
74519 glibcxx_cv_func___builtin_fabsl_use=no
74521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74522 ac_ext=c
74523 ac_cpp='$CPP $CPPFLAGS'
74524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74532 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
74533 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
74534 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
74535 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
74536 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
74537 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
74538 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
74539 echo $ECHO_N "(cached) $ECHO_C" >&6
74540 else
74542 if test x$gcc_no_link = xyes; then
74543 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74545 { (exit 1); exit 1; }; }
74547 cat >conftest.$ac_ext <<_ACEOF
74548 /* confdefs.h. */
74549 _ACEOF
74550 cat confdefs.h >>conftest.$ac_ext
74551 cat >>conftest.$ac_ext <<_ACEOF
74552 /* end confdefs.h. */
74553 #include <math.h>
74555 main ()
74557 __builtin_fabsl(0);
74559 return 0;
74561 _ACEOF
74562 rm -f conftest.$ac_objext conftest$ac_exeext
74563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74564 (eval $ac_link) 2>conftest.er1
74565 ac_status=$?
74566 grep -v '^ *+' conftest.er1 >conftest.err
74567 rm -f conftest.er1
74568 cat conftest.err >&5
74569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74570 (exit $ac_status); } &&
74571 { ac_try='test -z "$ac_c_werror_flag"
74572 || test ! -s conftest.err'
74573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74574 (eval $ac_try) 2>&5
74575 ac_status=$?
74576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74577 (exit $ac_status); }; } &&
74578 { ac_try='test -s conftest$ac_exeext'
74579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74580 (eval $ac_try) 2>&5
74581 ac_status=$?
74582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74583 (exit $ac_status); }; }; then
74584 glibcxx_cv_func___builtin_fabsl_link=yes
74585 else
74586 echo "$as_me: failed program was:" >&5
74587 sed 's/^/| /' conftest.$ac_ext >&5
74589 glibcxx_cv_func___builtin_fabsl_link=no
74591 rm -f conftest.err conftest.$ac_objext \
74592 conftest$ac_exeext conftest.$ac_ext
74597 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
74598 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
74600 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
74602 cat >>confdefs.h <<\_ACEOF
74603 #define HAVE___BUILTIN_FABSL 1
74604 _ACEOF
74611 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
74612 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
74613 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
74614 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
74615 echo $ECHO_N "(cached) $ECHO_C" >&6
74616 else
74620 ac_ext=cc
74621 ac_cpp='$CXXCPP $CPPFLAGS'
74622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74626 cat >conftest.$ac_ext <<_ACEOF
74627 /* confdefs.h. */
74628 _ACEOF
74629 cat confdefs.h >>conftest.$ac_ext
74630 cat >>conftest.$ac_ext <<_ACEOF
74631 /* end confdefs.h. */
74632 #include <math.h>
74634 main ()
74636 __builtin_labs(0);
74638 return 0;
74640 _ACEOF
74641 rm -f conftest.$ac_objext
74642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74643 (eval $ac_compile) 2>conftest.er1
74644 ac_status=$?
74645 grep -v '^ *+' conftest.er1 >conftest.err
74646 rm -f conftest.er1
74647 cat conftest.err >&5
74648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74649 (exit $ac_status); } &&
74650 { ac_try='test -z "$ac_cxx_werror_flag"
74651 || test ! -s conftest.err'
74652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74653 (eval $ac_try) 2>&5
74654 ac_status=$?
74655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74656 (exit $ac_status); }; } &&
74657 { ac_try='test -s conftest.$ac_objext'
74658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74659 (eval $ac_try) 2>&5
74660 ac_status=$?
74661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74662 (exit $ac_status); }; }; then
74663 glibcxx_cv_func___builtin_labs_use=yes
74664 else
74665 echo "$as_me: failed program was:" >&5
74666 sed 's/^/| /' conftest.$ac_ext >&5
74668 glibcxx_cv_func___builtin_labs_use=no
74670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74671 ac_ext=c
74672 ac_cpp='$CPP $CPPFLAGS'
74673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74681 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
74682 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
74683 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
74684 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
74685 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
74686 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
74687 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
74688 echo $ECHO_N "(cached) $ECHO_C" >&6
74689 else
74691 if test x$gcc_no_link = xyes; then
74692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74694 { (exit 1); exit 1; }; }
74696 cat >conftest.$ac_ext <<_ACEOF
74697 /* confdefs.h. */
74698 _ACEOF
74699 cat confdefs.h >>conftest.$ac_ext
74700 cat >>conftest.$ac_ext <<_ACEOF
74701 /* end confdefs.h. */
74702 #include <math.h>
74704 main ()
74706 __builtin_labs(0);
74708 return 0;
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 glibcxx_cv_func___builtin_labs_link=yes
74734 else
74735 echo "$as_me: failed program was:" >&5
74736 sed 's/^/| /' conftest.$ac_ext >&5
74738 glibcxx_cv_func___builtin_labs_link=no
74740 rm -f conftest.err conftest.$ac_objext \
74741 conftest$ac_exeext conftest.$ac_ext
74746 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
74747 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
74749 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
74751 cat >>confdefs.h <<\_ACEOF
74752 #define HAVE___BUILTIN_LABS 1
74753 _ACEOF
74761 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
74762 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
74763 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
74764 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
74765 echo $ECHO_N "(cached) $ECHO_C" >&6
74766 else
74770 ac_ext=cc
74771 ac_cpp='$CXXCPP $CPPFLAGS'
74772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74776 cat >conftest.$ac_ext <<_ACEOF
74777 /* confdefs.h. */
74778 _ACEOF
74779 cat confdefs.h >>conftest.$ac_ext
74780 cat >>conftest.$ac_ext <<_ACEOF
74781 /* end confdefs.h. */
74782 #include <math.h>
74784 main ()
74786 __builtin_sqrtf(0);
74788 return 0;
74790 _ACEOF
74791 rm -f conftest.$ac_objext
74792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74793 (eval $ac_compile) 2>conftest.er1
74794 ac_status=$?
74795 grep -v '^ *+' conftest.er1 >conftest.err
74796 rm -f conftest.er1
74797 cat conftest.err >&5
74798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74799 (exit $ac_status); } &&
74800 { ac_try='test -z "$ac_cxx_werror_flag"
74801 || test ! -s conftest.err'
74802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74803 (eval $ac_try) 2>&5
74804 ac_status=$?
74805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74806 (exit $ac_status); }; } &&
74807 { ac_try='test -s conftest.$ac_objext'
74808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74809 (eval $ac_try) 2>&5
74810 ac_status=$?
74811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74812 (exit $ac_status); }; }; then
74813 glibcxx_cv_func___builtin_sqrtf_use=yes
74814 else
74815 echo "$as_me: failed program was:" >&5
74816 sed 's/^/| /' conftest.$ac_ext >&5
74818 glibcxx_cv_func___builtin_sqrtf_use=no
74820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74821 ac_ext=c
74822 ac_cpp='$CPP $CPPFLAGS'
74823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74831 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
74832 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
74833 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
74834 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
74835 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
74836 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
74837 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
74838 echo $ECHO_N "(cached) $ECHO_C" >&6
74839 else
74841 if test x$gcc_no_link = xyes; then
74842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74844 { (exit 1); exit 1; }; }
74846 cat >conftest.$ac_ext <<_ACEOF
74847 /* confdefs.h. */
74848 _ACEOF
74849 cat confdefs.h >>conftest.$ac_ext
74850 cat >>conftest.$ac_ext <<_ACEOF
74851 /* end confdefs.h. */
74852 #include <math.h>
74854 main ()
74856 __builtin_sqrtf(0);
74858 return 0;
74860 _ACEOF
74861 rm -f conftest.$ac_objext conftest$ac_exeext
74862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74863 (eval $ac_link) 2>conftest.er1
74864 ac_status=$?
74865 grep -v '^ *+' conftest.er1 >conftest.err
74866 rm -f conftest.er1
74867 cat conftest.err >&5
74868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74869 (exit $ac_status); } &&
74870 { ac_try='test -z "$ac_c_werror_flag"
74871 || test ! -s conftest.err'
74872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74873 (eval $ac_try) 2>&5
74874 ac_status=$?
74875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74876 (exit $ac_status); }; } &&
74877 { ac_try='test -s conftest$ac_exeext'
74878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74879 (eval $ac_try) 2>&5
74880 ac_status=$?
74881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74882 (exit $ac_status); }; }; then
74883 glibcxx_cv_func___builtin_sqrtf_link=yes
74884 else
74885 echo "$as_me: failed program was:" >&5
74886 sed 's/^/| /' conftest.$ac_ext >&5
74888 glibcxx_cv_func___builtin_sqrtf_link=no
74890 rm -f conftest.err conftest.$ac_objext \
74891 conftest$ac_exeext conftest.$ac_ext
74896 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
74897 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
74899 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
74901 cat >>confdefs.h <<\_ACEOF
74902 #define HAVE___BUILTIN_SQRTF 1
74903 _ACEOF
74910 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
74911 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
74912 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
74913 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
74914 echo $ECHO_N "(cached) $ECHO_C" >&6
74915 else
74919 ac_ext=cc
74920 ac_cpp='$CXXCPP $CPPFLAGS'
74921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74925 cat >conftest.$ac_ext <<_ACEOF
74926 /* confdefs.h. */
74927 _ACEOF
74928 cat confdefs.h >>conftest.$ac_ext
74929 cat >>conftest.$ac_ext <<_ACEOF
74930 /* end confdefs.h. */
74931 #include <math.h>
74933 main ()
74935 __builtin_sqrt(0);
74937 return 0;
74939 _ACEOF
74940 rm -f conftest.$ac_objext
74941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74942 (eval $ac_compile) 2>conftest.er1
74943 ac_status=$?
74944 grep -v '^ *+' conftest.er1 >conftest.err
74945 rm -f conftest.er1
74946 cat conftest.err >&5
74947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74948 (exit $ac_status); } &&
74949 { ac_try='test -z "$ac_cxx_werror_flag"
74950 || test ! -s conftest.err'
74951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74952 (eval $ac_try) 2>&5
74953 ac_status=$?
74954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74955 (exit $ac_status); }; } &&
74956 { ac_try='test -s conftest.$ac_objext'
74957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74958 (eval $ac_try) 2>&5
74959 ac_status=$?
74960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74961 (exit $ac_status); }; }; then
74962 glibcxx_cv_func___builtin_sqrt_use=yes
74963 else
74964 echo "$as_me: failed program was:" >&5
74965 sed 's/^/| /' conftest.$ac_ext >&5
74967 glibcxx_cv_func___builtin_sqrt_use=no
74969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74970 ac_ext=c
74971 ac_cpp='$CPP $CPPFLAGS'
74972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74980 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
74981 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
74982 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
74983 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
74984 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
74985 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
74986 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
74987 echo $ECHO_N "(cached) $ECHO_C" >&6
74988 else
74990 if test x$gcc_no_link = xyes; then
74991 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74993 { (exit 1); exit 1; }; }
74995 cat >conftest.$ac_ext <<_ACEOF
74996 /* confdefs.h. */
74997 _ACEOF
74998 cat confdefs.h >>conftest.$ac_ext
74999 cat >>conftest.$ac_ext <<_ACEOF
75000 /* end confdefs.h. */
75001 #include <math.h>
75003 main ()
75005 __builtin_sqrt(0);
75007 return 0;
75009 _ACEOF
75010 rm -f conftest.$ac_objext conftest$ac_exeext
75011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75012 (eval $ac_link) 2>conftest.er1
75013 ac_status=$?
75014 grep -v '^ *+' conftest.er1 >conftest.err
75015 rm -f conftest.er1
75016 cat conftest.err >&5
75017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75018 (exit $ac_status); } &&
75019 { ac_try='test -z "$ac_c_werror_flag"
75020 || test ! -s conftest.err'
75021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75022 (eval $ac_try) 2>&5
75023 ac_status=$?
75024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75025 (exit $ac_status); }; } &&
75026 { ac_try='test -s conftest$ac_exeext'
75027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75028 (eval $ac_try) 2>&5
75029 ac_status=$?
75030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75031 (exit $ac_status); }; }; then
75032 glibcxx_cv_func___builtin_sqrt_link=yes
75033 else
75034 echo "$as_me: failed program was:" >&5
75035 sed 's/^/| /' conftest.$ac_ext >&5
75037 glibcxx_cv_func___builtin_sqrt_link=no
75039 rm -f conftest.err conftest.$ac_objext \
75040 conftest$ac_exeext conftest.$ac_ext
75045 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
75046 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
75048 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
75050 cat >>confdefs.h <<\_ACEOF
75051 #define HAVE___BUILTIN_SQRT 1
75052 _ACEOF
75059 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
75060 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
75061 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
75062 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
75063 echo $ECHO_N "(cached) $ECHO_C" >&6
75064 else
75068 ac_ext=cc
75069 ac_cpp='$CXXCPP $CPPFLAGS'
75070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75074 cat >conftest.$ac_ext <<_ACEOF
75075 /* confdefs.h. */
75076 _ACEOF
75077 cat confdefs.h >>conftest.$ac_ext
75078 cat >>conftest.$ac_ext <<_ACEOF
75079 /* end confdefs.h. */
75080 #include <math.h>
75082 main ()
75084 __builtin_sqrtl(0);
75086 return 0;
75088 _ACEOF
75089 rm -f conftest.$ac_objext
75090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75091 (eval $ac_compile) 2>conftest.er1
75092 ac_status=$?
75093 grep -v '^ *+' conftest.er1 >conftest.err
75094 rm -f conftest.er1
75095 cat conftest.err >&5
75096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75097 (exit $ac_status); } &&
75098 { ac_try='test -z "$ac_cxx_werror_flag"
75099 || test ! -s conftest.err'
75100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75101 (eval $ac_try) 2>&5
75102 ac_status=$?
75103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75104 (exit $ac_status); }; } &&
75105 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
75111 glibcxx_cv_func___builtin_sqrtl_use=yes
75112 else
75113 echo "$as_me: failed program was:" >&5
75114 sed 's/^/| /' conftest.$ac_ext >&5
75116 glibcxx_cv_func___builtin_sqrtl_use=no
75118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75119 ac_ext=c
75120 ac_cpp='$CPP $CPPFLAGS'
75121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75129 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
75130 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
75131 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
75132 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
75133 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
75134 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
75135 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
75136 echo $ECHO_N "(cached) $ECHO_C" >&6
75137 else
75139 if test x$gcc_no_link = xyes; then
75140 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75142 { (exit 1); exit 1; }; }
75144 cat >conftest.$ac_ext <<_ACEOF
75145 /* confdefs.h. */
75146 _ACEOF
75147 cat confdefs.h >>conftest.$ac_ext
75148 cat >>conftest.$ac_ext <<_ACEOF
75149 /* end confdefs.h. */
75150 #include <math.h>
75152 main ()
75154 __builtin_sqrtl(0);
75156 return 0;
75158 _ACEOF
75159 rm -f conftest.$ac_objext conftest$ac_exeext
75160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75161 (eval $ac_link) 2>conftest.er1
75162 ac_status=$?
75163 grep -v '^ *+' conftest.er1 >conftest.err
75164 rm -f conftest.er1
75165 cat conftest.err >&5
75166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75167 (exit $ac_status); } &&
75168 { ac_try='test -z "$ac_c_werror_flag"
75169 || test ! -s conftest.err'
75170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75171 (eval $ac_try) 2>&5
75172 ac_status=$?
75173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75174 (exit $ac_status); }; } &&
75175 { ac_try='test -s conftest$ac_exeext'
75176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75177 (eval $ac_try) 2>&5
75178 ac_status=$?
75179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75180 (exit $ac_status); }; }; then
75181 glibcxx_cv_func___builtin_sqrtl_link=yes
75182 else
75183 echo "$as_me: failed program was:" >&5
75184 sed 's/^/| /' conftest.$ac_ext >&5
75186 glibcxx_cv_func___builtin_sqrtl_link=no
75188 rm -f conftest.err conftest.$ac_objext \
75189 conftest$ac_exeext conftest.$ac_ext
75194 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
75195 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
75197 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
75199 cat >>confdefs.h <<\_ACEOF
75200 #define HAVE___BUILTIN_SQRTL 1
75201 _ACEOF
75209 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
75210 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
75211 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
75212 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
75213 echo $ECHO_N "(cached) $ECHO_C" >&6
75214 else
75218 ac_ext=cc
75219 ac_cpp='$CXXCPP $CPPFLAGS'
75220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75224 cat >conftest.$ac_ext <<_ACEOF
75225 /* confdefs.h. */
75226 _ACEOF
75227 cat confdefs.h >>conftest.$ac_ext
75228 cat >>conftest.$ac_ext <<_ACEOF
75229 /* end confdefs.h. */
75230 #include <math.h>
75232 main ()
75234 __builtin_sinf(0);
75236 return 0;
75238 _ACEOF
75239 rm -f conftest.$ac_objext
75240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75241 (eval $ac_compile) 2>conftest.er1
75242 ac_status=$?
75243 grep -v '^ *+' conftest.er1 >conftest.err
75244 rm -f conftest.er1
75245 cat conftest.err >&5
75246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75247 (exit $ac_status); } &&
75248 { ac_try='test -z "$ac_cxx_werror_flag"
75249 || test ! -s conftest.err'
75250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75251 (eval $ac_try) 2>&5
75252 ac_status=$?
75253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75254 (exit $ac_status); }; } &&
75255 { ac_try='test -s conftest.$ac_objext'
75256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75257 (eval $ac_try) 2>&5
75258 ac_status=$?
75259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75260 (exit $ac_status); }; }; then
75261 glibcxx_cv_func___builtin_sinf_use=yes
75262 else
75263 echo "$as_me: failed program was:" >&5
75264 sed 's/^/| /' conftest.$ac_ext >&5
75266 glibcxx_cv_func___builtin_sinf_use=no
75268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75269 ac_ext=c
75270 ac_cpp='$CPP $CPPFLAGS'
75271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75279 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
75280 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
75281 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
75282 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
75283 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
75284 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
75285 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
75286 echo $ECHO_N "(cached) $ECHO_C" >&6
75287 else
75289 if test x$gcc_no_link = xyes; then
75290 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75292 { (exit 1); exit 1; }; }
75294 cat >conftest.$ac_ext <<_ACEOF
75295 /* confdefs.h. */
75296 _ACEOF
75297 cat confdefs.h >>conftest.$ac_ext
75298 cat >>conftest.$ac_ext <<_ACEOF
75299 /* end confdefs.h. */
75300 #include <math.h>
75302 main ()
75304 __builtin_sinf(0);
75306 return 0;
75308 _ACEOF
75309 rm -f conftest.$ac_objext conftest$ac_exeext
75310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75311 (eval $ac_link) 2>conftest.er1
75312 ac_status=$?
75313 grep -v '^ *+' conftest.er1 >conftest.err
75314 rm -f conftest.er1
75315 cat conftest.err >&5
75316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75317 (exit $ac_status); } &&
75318 { ac_try='test -z "$ac_c_werror_flag"
75319 || test ! -s conftest.err'
75320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75321 (eval $ac_try) 2>&5
75322 ac_status=$?
75323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75324 (exit $ac_status); }; } &&
75325 { ac_try='test -s conftest$ac_exeext'
75326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75327 (eval $ac_try) 2>&5
75328 ac_status=$?
75329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75330 (exit $ac_status); }; }; then
75331 glibcxx_cv_func___builtin_sinf_link=yes
75332 else
75333 echo "$as_me: failed program was:" >&5
75334 sed 's/^/| /' conftest.$ac_ext >&5
75336 glibcxx_cv_func___builtin_sinf_link=no
75338 rm -f conftest.err conftest.$ac_objext \
75339 conftest$ac_exeext conftest.$ac_ext
75344 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
75345 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
75347 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
75349 cat >>confdefs.h <<\_ACEOF
75350 #define HAVE___BUILTIN_SINF 1
75351 _ACEOF
75358 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
75359 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
75360 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
75361 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
75362 echo $ECHO_N "(cached) $ECHO_C" >&6
75363 else
75367 ac_ext=cc
75368 ac_cpp='$CXXCPP $CPPFLAGS'
75369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75373 cat >conftest.$ac_ext <<_ACEOF
75374 /* confdefs.h. */
75375 _ACEOF
75376 cat confdefs.h >>conftest.$ac_ext
75377 cat >>conftest.$ac_ext <<_ACEOF
75378 /* end confdefs.h. */
75379 #include <math.h>
75381 main ()
75383 __builtin_sin(0);
75385 return 0;
75387 _ACEOF
75388 rm -f conftest.$ac_objext
75389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75390 (eval $ac_compile) 2>conftest.er1
75391 ac_status=$?
75392 grep -v '^ *+' conftest.er1 >conftest.err
75393 rm -f conftest.er1
75394 cat conftest.err >&5
75395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75396 (exit $ac_status); } &&
75397 { ac_try='test -z "$ac_cxx_werror_flag"
75398 || test ! -s conftest.err'
75399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75400 (eval $ac_try) 2>&5
75401 ac_status=$?
75402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75403 (exit $ac_status); }; } &&
75404 { ac_try='test -s conftest.$ac_objext'
75405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75406 (eval $ac_try) 2>&5
75407 ac_status=$?
75408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75409 (exit $ac_status); }; }; then
75410 glibcxx_cv_func___builtin_sin_use=yes
75411 else
75412 echo "$as_me: failed program was:" >&5
75413 sed 's/^/| /' conftest.$ac_ext >&5
75415 glibcxx_cv_func___builtin_sin_use=no
75417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75418 ac_ext=c
75419 ac_cpp='$CPP $CPPFLAGS'
75420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75428 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
75429 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
75430 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
75431 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
75432 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
75433 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
75434 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
75435 echo $ECHO_N "(cached) $ECHO_C" >&6
75436 else
75438 if test x$gcc_no_link = xyes; then
75439 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75441 { (exit 1); exit 1; }; }
75443 cat >conftest.$ac_ext <<_ACEOF
75444 /* confdefs.h. */
75445 _ACEOF
75446 cat confdefs.h >>conftest.$ac_ext
75447 cat >>conftest.$ac_ext <<_ACEOF
75448 /* end confdefs.h. */
75449 #include <math.h>
75451 main ()
75453 __builtin_sin(0);
75455 return 0;
75457 _ACEOF
75458 rm -f conftest.$ac_objext conftest$ac_exeext
75459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75460 (eval $ac_link) 2>conftest.er1
75461 ac_status=$?
75462 grep -v '^ *+' conftest.er1 >conftest.err
75463 rm -f conftest.er1
75464 cat conftest.err >&5
75465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75466 (exit $ac_status); } &&
75467 { ac_try='test -z "$ac_c_werror_flag"
75468 || test ! -s conftest.err'
75469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75470 (eval $ac_try) 2>&5
75471 ac_status=$?
75472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75473 (exit $ac_status); }; } &&
75474 { ac_try='test -s conftest$ac_exeext'
75475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75476 (eval $ac_try) 2>&5
75477 ac_status=$?
75478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75479 (exit $ac_status); }; }; then
75480 glibcxx_cv_func___builtin_sin_link=yes
75481 else
75482 echo "$as_me: failed program was:" >&5
75483 sed 's/^/| /' conftest.$ac_ext >&5
75485 glibcxx_cv_func___builtin_sin_link=no
75487 rm -f conftest.err conftest.$ac_objext \
75488 conftest$ac_exeext conftest.$ac_ext
75493 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
75494 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
75496 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
75498 cat >>confdefs.h <<\_ACEOF
75499 #define HAVE___BUILTIN_SIN 1
75500 _ACEOF
75507 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
75508 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
75509 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
75510 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
75511 echo $ECHO_N "(cached) $ECHO_C" >&6
75512 else
75516 ac_ext=cc
75517 ac_cpp='$CXXCPP $CPPFLAGS'
75518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75522 cat >conftest.$ac_ext <<_ACEOF
75523 /* confdefs.h. */
75524 _ACEOF
75525 cat confdefs.h >>conftest.$ac_ext
75526 cat >>conftest.$ac_ext <<_ACEOF
75527 /* end confdefs.h. */
75528 #include <math.h>
75530 main ()
75532 __builtin_sinl(0);
75534 return 0;
75536 _ACEOF
75537 rm -f conftest.$ac_objext
75538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75539 (eval $ac_compile) 2>conftest.er1
75540 ac_status=$?
75541 grep -v '^ *+' conftest.er1 >conftest.err
75542 rm -f conftest.er1
75543 cat conftest.err >&5
75544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75545 (exit $ac_status); } &&
75546 { ac_try='test -z "$ac_cxx_werror_flag"
75547 || test ! -s conftest.err'
75548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75549 (eval $ac_try) 2>&5
75550 ac_status=$?
75551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75552 (exit $ac_status); }; } &&
75553 { ac_try='test -s conftest.$ac_objext'
75554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75555 (eval $ac_try) 2>&5
75556 ac_status=$?
75557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75558 (exit $ac_status); }; }; then
75559 glibcxx_cv_func___builtin_sinl_use=yes
75560 else
75561 echo "$as_me: failed program was:" >&5
75562 sed 's/^/| /' conftest.$ac_ext >&5
75564 glibcxx_cv_func___builtin_sinl_use=no
75566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75567 ac_ext=c
75568 ac_cpp='$CPP $CPPFLAGS'
75569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75577 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
75578 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
75579 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
75580 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
75581 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
75582 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
75583 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
75584 echo $ECHO_N "(cached) $ECHO_C" >&6
75585 else
75587 if test x$gcc_no_link = xyes; then
75588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75590 { (exit 1); exit 1; }; }
75592 cat >conftest.$ac_ext <<_ACEOF
75593 /* confdefs.h. */
75594 _ACEOF
75595 cat confdefs.h >>conftest.$ac_ext
75596 cat >>conftest.$ac_ext <<_ACEOF
75597 /* end confdefs.h. */
75598 #include <math.h>
75600 main ()
75602 __builtin_sinl(0);
75604 return 0;
75606 _ACEOF
75607 rm -f conftest.$ac_objext conftest$ac_exeext
75608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75609 (eval $ac_link) 2>conftest.er1
75610 ac_status=$?
75611 grep -v '^ *+' conftest.er1 >conftest.err
75612 rm -f conftest.er1
75613 cat conftest.err >&5
75614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75615 (exit $ac_status); } &&
75616 { ac_try='test -z "$ac_c_werror_flag"
75617 || test ! -s conftest.err'
75618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75619 (eval $ac_try) 2>&5
75620 ac_status=$?
75621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75622 (exit $ac_status); }; } &&
75623 { ac_try='test -s conftest$ac_exeext'
75624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75625 (eval $ac_try) 2>&5
75626 ac_status=$?
75627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75628 (exit $ac_status); }; }; then
75629 glibcxx_cv_func___builtin_sinl_link=yes
75630 else
75631 echo "$as_me: failed program was:" >&5
75632 sed 's/^/| /' conftest.$ac_ext >&5
75634 glibcxx_cv_func___builtin_sinl_link=no
75636 rm -f conftest.err conftest.$ac_objext \
75637 conftest$ac_exeext conftest.$ac_ext
75642 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
75643 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
75645 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
75647 cat >>confdefs.h <<\_ACEOF
75648 #define HAVE___BUILTIN_SINL 1
75649 _ACEOF
75657 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
75658 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
75659 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
75660 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
75661 echo $ECHO_N "(cached) $ECHO_C" >&6
75662 else
75666 ac_ext=cc
75667 ac_cpp='$CXXCPP $CPPFLAGS'
75668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75672 cat >conftest.$ac_ext <<_ACEOF
75673 /* confdefs.h. */
75674 _ACEOF
75675 cat confdefs.h >>conftest.$ac_ext
75676 cat >>conftest.$ac_ext <<_ACEOF
75677 /* end confdefs.h. */
75678 #include <math.h>
75680 main ()
75682 __builtin_cosf(0);
75684 return 0;
75686 _ACEOF
75687 rm -f conftest.$ac_objext
75688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75689 (eval $ac_compile) 2>conftest.er1
75690 ac_status=$?
75691 grep -v '^ *+' conftest.er1 >conftest.err
75692 rm -f conftest.er1
75693 cat conftest.err >&5
75694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75695 (exit $ac_status); } &&
75696 { ac_try='test -z "$ac_cxx_werror_flag"
75697 || test ! -s conftest.err'
75698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75699 (eval $ac_try) 2>&5
75700 ac_status=$?
75701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75702 (exit $ac_status); }; } &&
75703 { ac_try='test -s conftest.$ac_objext'
75704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75705 (eval $ac_try) 2>&5
75706 ac_status=$?
75707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75708 (exit $ac_status); }; }; then
75709 glibcxx_cv_func___builtin_cosf_use=yes
75710 else
75711 echo "$as_me: failed program was:" >&5
75712 sed 's/^/| /' conftest.$ac_ext >&5
75714 glibcxx_cv_func___builtin_cosf_use=no
75716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75717 ac_ext=c
75718 ac_cpp='$CPP $CPPFLAGS'
75719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75727 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
75728 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
75729 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
75730 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
75731 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
75732 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
75733 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
75734 echo $ECHO_N "(cached) $ECHO_C" >&6
75735 else
75737 if test x$gcc_no_link = xyes; then
75738 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75740 { (exit 1); exit 1; }; }
75742 cat >conftest.$ac_ext <<_ACEOF
75743 /* confdefs.h. */
75744 _ACEOF
75745 cat confdefs.h >>conftest.$ac_ext
75746 cat >>conftest.$ac_ext <<_ACEOF
75747 /* end confdefs.h. */
75748 #include <math.h>
75750 main ()
75752 __builtin_cosf(0);
75754 return 0;
75756 _ACEOF
75757 rm -f conftest.$ac_objext conftest$ac_exeext
75758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75759 (eval $ac_link) 2>conftest.er1
75760 ac_status=$?
75761 grep -v '^ *+' conftest.er1 >conftest.err
75762 rm -f conftest.er1
75763 cat conftest.err >&5
75764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75765 (exit $ac_status); } &&
75766 { ac_try='test -z "$ac_c_werror_flag"
75767 || test ! -s conftest.err'
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); }; } &&
75773 { ac_try='test -s conftest$ac_exeext'
75774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75775 (eval $ac_try) 2>&5
75776 ac_status=$?
75777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75778 (exit $ac_status); }; }; then
75779 glibcxx_cv_func___builtin_cosf_link=yes
75780 else
75781 echo "$as_me: failed program was:" >&5
75782 sed 's/^/| /' conftest.$ac_ext >&5
75784 glibcxx_cv_func___builtin_cosf_link=no
75786 rm -f conftest.err conftest.$ac_objext \
75787 conftest$ac_exeext conftest.$ac_ext
75792 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
75793 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
75795 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
75797 cat >>confdefs.h <<\_ACEOF
75798 #define HAVE___BUILTIN_COSF 1
75799 _ACEOF
75806 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
75807 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
75808 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
75809 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
75810 echo $ECHO_N "(cached) $ECHO_C" >&6
75811 else
75815 ac_ext=cc
75816 ac_cpp='$CXXCPP $CPPFLAGS'
75817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75821 cat >conftest.$ac_ext <<_ACEOF
75822 /* confdefs.h. */
75823 _ACEOF
75824 cat confdefs.h >>conftest.$ac_ext
75825 cat >>conftest.$ac_ext <<_ACEOF
75826 /* end confdefs.h. */
75827 #include <math.h>
75829 main ()
75831 __builtin_cos(0);
75833 return 0;
75835 _ACEOF
75836 rm -f conftest.$ac_objext
75837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75838 (eval $ac_compile) 2>conftest.er1
75839 ac_status=$?
75840 grep -v '^ *+' conftest.er1 >conftest.err
75841 rm -f conftest.er1
75842 cat conftest.err >&5
75843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75844 (exit $ac_status); } &&
75845 { ac_try='test -z "$ac_cxx_werror_flag"
75846 || test ! -s conftest.err'
75847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75848 (eval $ac_try) 2>&5
75849 ac_status=$?
75850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75851 (exit $ac_status); }; } &&
75852 { ac_try='test -s conftest.$ac_objext'
75853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75854 (eval $ac_try) 2>&5
75855 ac_status=$?
75856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75857 (exit $ac_status); }; }; then
75858 glibcxx_cv_func___builtin_cos_use=yes
75859 else
75860 echo "$as_me: failed program was:" >&5
75861 sed 's/^/| /' conftest.$ac_ext >&5
75863 glibcxx_cv_func___builtin_cos_use=no
75865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75866 ac_ext=c
75867 ac_cpp='$CPP $CPPFLAGS'
75868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75876 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
75877 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
75878 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
75879 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
75880 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
75881 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
75882 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
75883 echo $ECHO_N "(cached) $ECHO_C" >&6
75884 else
75886 if test x$gcc_no_link = xyes; then
75887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75889 { (exit 1); exit 1; }; }
75891 cat >conftest.$ac_ext <<_ACEOF
75892 /* confdefs.h. */
75893 _ACEOF
75894 cat confdefs.h >>conftest.$ac_ext
75895 cat >>conftest.$ac_ext <<_ACEOF
75896 /* end confdefs.h. */
75897 #include <math.h>
75899 main ()
75901 __builtin_cos(0);
75903 return 0;
75905 _ACEOF
75906 rm -f conftest.$ac_objext conftest$ac_exeext
75907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75908 (eval $ac_link) 2>conftest.er1
75909 ac_status=$?
75910 grep -v '^ *+' conftest.er1 >conftest.err
75911 rm -f conftest.er1
75912 cat conftest.err >&5
75913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75914 (exit $ac_status); } &&
75915 { ac_try='test -z "$ac_c_werror_flag"
75916 || test ! -s conftest.err'
75917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75918 (eval $ac_try) 2>&5
75919 ac_status=$?
75920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75921 (exit $ac_status); }; } &&
75922 { ac_try='test -s conftest$ac_exeext'
75923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75924 (eval $ac_try) 2>&5
75925 ac_status=$?
75926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75927 (exit $ac_status); }; }; then
75928 glibcxx_cv_func___builtin_cos_link=yes
75929 else
75930 echo "$as_me: failed program was:" >&5
75931 sed 's/^/| /' conftest.$ac_ext >&5
75933 glibcxx_cv_func___builtin_cos_link=no
75935 rm -f conftest.err conftest.$ac_objext \
75936 conftest$ac_exeext conftest.$ac_ext
75941 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
75942 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
75944 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
75946 cat >>confdefs.h <<\_ACEOF
75947 #define HAVE___BUILTIN_COS 1
75948 _ACEOF
75955 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
75956 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
75957 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
75958 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
75959 echo $ECHO_N "(cached) $ECHO_C" >&6
75960 else
75964 ac_ext=cc
75965 ac_cpp='$CXXCPP $CPPFLAGS'
75966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75970 cat >conftest.$ac_ext <<_ACEOF
75971 /* confdefs.h. */
75972 _ACEOF
75973 cat confdefs.h >>conftest.$ac_ext
75974 cat >>conftest.$ac_ext <<_ACEOF
75975 /* end confdefs.h. */
75976 #include <math.h>
75978 main ()
75980 __builtin_cosl(0);
75982 return 0;
75984 _ACEOF
75985 rm -f conftest.$ac_objext
75986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75987 (eval $ac_compile) 2>conftest.er1
75988 ac_status=$?
75989 grep -v '^ *+' conftest.er1 >conftest.err
75990 rm -f conftest.er1
75991 cat conftest.err >&5
75992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75993 (exit $ac_status); } &&
75994 { ac_try='test -z "$ac_cxx_werror_flag"
75995 || test ! -s conftest.err'
75996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75997 (eval $ac_try) 2>&5
75998 ac_status=$?
75999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76000 (exit $ac_status); }; } &&
76001 { ac_try='test -s conftest.$ac_objext'
76002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76003 (eval $ac_try) 2>&5
76004 ac_status=$?
76005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76006 (exit $ac_status); }; }; then
76007 glibcxx_cv_func___builtin_cosl_use=yes
76008 else
76009 echo "$as_me: failed program was:" >&5
76010 sed 's/^/| /' conftest.$ac_ext >&5
76012 glibcxx_cv_func___builtin_cosl_use=no
76014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76015 ac_ext=c
76016 ac_cpp='$CPP $CPPFLAGS'
76017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76025 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
76026 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
76027 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
76028 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
76029 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
76030 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
76031 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
76032 echo $ECHO_N "(cached) $ECHO_C" >&6
76033 else
76035 if test x$gcc_no_link = xyes; then
76036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76038 { (exit 1); exit 1; }; }
76040 cat >conftest.$ac_ext <<_ACEOF
76041 /* confdefs.h. */
76042 _ACEOF
76043 cat confdefs.h >>conftest.$ac_ext
76044 cat >>conftest.$ac_ext <<_ACEOF
76045 /* end confdefs.h. */
76046 #include <math.h>
76048 main ()
76050 __builtin_cosl(0);
76052 return 0;
76054 _ACEOF
76055 rm -f conftest.$ac_objext conftest$ac_exeext
76056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76057 (eval $ac_link) 2>conftest.er1
76058 ac_status=$?
76059 grep -v '^ *+' conftest.er1 >conftest.err
76060 rm -f conftest.er1
76061 cat conftest.err >&5
76062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76063 (exit $ac_status); } &&
76064 { ac_try='test -z "$ac_c_werror_flag"
76065 || test ! -s conftest.err'
76066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76067 (eval $ac_try) 2>&5
76068 ac_status=$?
76069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76070 (exit $ac_status); }; } &&
76071 { ac_try='test -s conftest$ac_exeext'
76072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76073 (eval $ac_try) 2>&5
76074 ac_status=$?
76075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76076 (exit $ac_status); }; }; then
76077 glibcxx_cv_func___builtin_cosl_link=yes
76078 else
76079 echo "$as_me: failed program was:" >&5
76080 sed 's/^/| /' conftest.$ac_ext >&5
76082 glibcxx_cv_func___builtin_cosl_link=no
76084 rm -f conftest.err conftest.$ac_objext \
76085 conftest$ac_exeext conftest.$ac_ext
76090 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
76091 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
76093 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
76095 cat >>confdefs.h <<\_ACEOF
76096 #define HAVE___BUILTIN_COSL 1
76097 _ACEOF
76106 echo "$as_me:$LINENO: checking for main in -lm" >&5
76107 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
76108 if test "${ac_cv_lib_m_main+set}" = set; then
76109 echo $ECHO_N "(cached) $ECHO_C" >&6
76110 else
76111 ac_check_lib_save_LIBS=$LIBS
76112 LIBS="-lm $LIBS"
76113 if test x$gcc_no_link = xyes; then
76114 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76116 { (exit 1); exit 1; }; }
76118 cat >conftest.$ac_ext <<_ACEOF
76119 /* confdefs.h. */
76120 _ACEOF
76121 cat confdefs.h >>conftest.$ac_ext
76122 cat >>conftest.$ac_ext <<_ACEOF
76123 /* end confdefs.h. */
76127 main ()
76129 main ();
76131 return 0;
76133 _ACEOF
76134 rm -f conftest.$ac_objext conftest$ac_exeext
76135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76136 (eval $ac_link) 2>conftest.er1
76137 ac_status=$?
76138 grep -v '^ *+' conftest.er1 >conftest.err
76139 rm -f conftest.er1
76140 cat conftest.err >&5
76141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76142 (exit $ac_status); } &&
76143 { ac_try='test -z "$ac_c_werror_flag"
76144 || test ! -s conftest.err'
76145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76146 (eval $ac_try) 2>&5
76147 ac_status=$?
76148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76149 (exit $ac_status); }; } &&
76150 { ac_try='test -s conftest$ac_exeext'
76151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76152 (eval $ac_try) 2>&5
76153 ac_status=$?
76154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76155 (exit $ac_status); }; }; then
76156 ac_cv_lib_m_main=yes
76157 else
76158 echo "$as_me: failed program was:" >&5
76159 sed 's/^/| /' conftest.$ac_ext >&5
76161 ac_cv_lib_m_main=no
76163 rm -f conftest.err conftest.$ac_objext \
76164 conftest$ac_exeext conftest.$ac_ext
76165 LIBS=$ac_check_lib_save_LIBS
76167 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
76168 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
76169 if test $ac_cv_lib_m_main = yes; then
76170 cat >>confdefs.h <<_ACEOF
76171 #define HAVE_LIBM 1
76172 _ACEOF
76174 LIBS="-lm $LIBS"
76179 for ac_func in copysignf
76181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76182 echo "$as_me:$LINENO: checking for $ac_func" >&5
76183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76184 if eval "test \"\${$as_ac_var+set}\" = set"; then
76185 echo $ECHO_N "(cached) $ECHO_C" >&6
76186 else
76187 if test x$gcc_no_link = xyes; then
76188 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76190 { (exit 1); exit 1; }; }
76192 cat >conftest.$ac_ext <<_ACEOF
76193 /* confdefs.h. */
76194 _ACEOF
76195 cat confdefs.h >>conftest.$ac_ext
76196 cat >>conftest.$ac_ext <<_ACEOF
76197 /* end confdefs.h. */
76198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76200 #define $ac_func innocuous_$ac_func
76202 /* System header to define __stub macros and hopefully few prototypes,
76203 which can conflict with char $ac_func (); below.
76204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76205 <limits.h> exists even on freestanding compilers. */
76207 #ifdef __STDC__
76208 # include <limits.h>
76209 #else
76210 # include <assert.h>
76211 #endif
76213 #undef $ac_func
76215 /* Override any gcc2 internal prototype to avoid an error. */
76216 #ifdef __cplusplus
76217 extern "C"
76219 #endif
76220 /* We use char because int might match the return type of a gcc2
76221 builtin and then its argument prototype would still apply. */
76222 char $ac_func ();
76223 /* The GNU C library defines this for functions which it implements
76224 to always fail with ENOSYS. Some functions are actually named
76225 something starting with __ and the normal name is an alias. */
76226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76227 choke me
76228 #else
76229 char (*f) () = $ac_func;
76230 #endif
76231 #ifdef __cplusplus
76233 #endif
76236 main ()
76238 return f != $ac_func;
76240 return 0;
76242 _ACEOF
76243 rm -f conftest.$ac_objext conftest$ac_exeext
76244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76245 (eval $ac_link) 2>conftest.er1
76246 ac_status=$?
76247 grep -v '^ *+' conftest.er1 >conftest.err
76248 rm -f conftest.er1
76249 cat conftest.err >&5
76250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76251 (exit $ac_status); } &&
76252 { ac_try='test -z "$ac_c_werror_flag"
76253 || test ! -s conftest.err'
76254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76255 (eval $ac_try) 2>&5
76256 ac_status=$?
76257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76258 (exit $ac_status); }; } &&
76259 { ac_try='test -s conftest$ac_exeext'
76260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76261 (eval $ac_try) 2>&5
76262 ac_status=$?
76263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76264 (exit $ac_status); }; }; then
76265 eval "$as_ac_var=yes"
76266 else
76267 echo "$as_me: failed program was:" >&5
76268 sed 's/^/| /' conftest.$ac_ext >&5
76270 eval "$as_ac_var=no"
76272 rm -f conftest.err conftest.$ac_objext \
76273 conftest$ac_exeext conftest.$ac_ext
76275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76277 if test `eval echo '${'$as_ac_var'}'` = yes; then
76278 cat >>confdefs.h <<_ACEOF
76279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76280 _ACEOF
76282 else
76283 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
76285 done
76289 for ac_func in __signbit
76291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76292 echo "$as_me:$LINENO: checking for $ac_func" >&5
76293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76294 if eval "test \"\${$as_ac_var+set}\" = set"; then
76295 echo $ECHO_N "(cached) $ECHO_C" >&6
76296 else
76297 if test x$gcc_no_link = xyes; then
76298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76300 { (exit 1); exit 1; }; }
76302 cat >conftest.$ac_ext <<_ACEOF
76303 /* confdefs.h. */
76304 _ACEOF
76305 cat confdefs.h >>conftest.$ac_ext
76306 cat >>conftest.$ac_ext <<_ACEOF
76307 /* end confdefs.h. */
76308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76310 #define $ac_func innocuous_$ac_func
76312 /* System header to define __stub macros and hopefully few prototypes,
76313 which can conflict with char $ac_func (); below.
76314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76315 <limits.h> exists even on freestanding compilers. */
76317 #ifdef __STDC__
76318 # include <limits.h>
76319 #else
76320 # include <assert.h>
76321 #endif
76323 #undef $ac_func
76325 /* Override any gcc2 internal prototype to avoid an error. */
76326 #ifdef __cplusplus
76327 extern "C"
76329 #endif
76330 /* We use char because int might match the return type of a gcc2
76331 builtin and then its argument prototype would still apply. */
76332 char $ac_func ();
76333 /* The GNU C library defines this for functions which it implements
76334 to always fail with ENOSYS. Some functions are actually named
76335 something starting with __ and the normal name is an alias. */
76336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76337 choke me
76338 #else
76339 char (*f) () = $ac_func;
76340 #endif
76341 #ifdef __cplusplus
76343 #endif
76346 main ()
76348 return f != $ac_func;
76350 return 0;
76352 _ACEOF
76353 rm -f conftest.$ac_objext conftest$ac_exeext
76354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76355 (eval $ac_link) 2>conftest.er1
76356 ac_status=$?
76357 grep -v '^ *+' conftest.er1 >conftest.err
76358 rm -f conftest.er1
76359 cat conftest.err >&5
76360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76361 (exit $ac_status); } &&
76362 { ac_try='test -z "$ac_c_werror_flag"
76363 || test ! -s conftest.err'
76364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76365 (eval $ac_try) 2>&5
76366 ac_status=$?
76367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76368 (exit $ac_status); }; } &&
76369 { ac_try='test -s conftest$ac_exeext'
76370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76371 (eval $ac_try) 2>&5
76372 ac_status=$?
76373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76374 (exit $ac_status); }; }; then
76375 eval "$as_ac_var=yes"
76376 else
76377 echo "$as_me: failed program was:" >&5
76378 sed 's/^/| /' conftest.$ac_ext >&5
76380 eval "$as_ac_var=no"
76382 rm -f conftest.err conftest.$ac_objext \
76383 conftest$ac_exeext conftest.$ac_ext
76385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76387 if test `eval echo '${'$as_ac_var'}'` = yes; then
76388 cat >>confdefs.h <<_ACEOF
76389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76390 _ACEOF
76392 else
76393 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
76395 done
76399 for ac_func in __signbitf
76401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76402 echo "$as_me:$LINENO: checking for $ac_func" >&5
76403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76404 if eval "test \"\${$as_ac_var+set}\" = set"; then
76405 echo $ECHO_N "(cached) $ECHO_C" >&6
76406 else
76407 if test x$gcc_no_link = xyes; then
76408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76410 { (exit 1); exit 1; }; }
76412 cat >conftest.$ac_ext <<_ACEOF
76413 /* confdefs.h. */
76414 _ACEOF
76415 cat confdefs.h >>conftest.$ac_ext
76416 cat >>conftest.$ac_ext <<_ACEOF
76417 /* end confdefs.h. */
76418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76420 #define $ac_func innocuous_$ac_func
76422 /* System header to define __stub macros and hopefully few prototypes,
76423 which can conflict with char $ac_func (); below.
76424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76425 <limits.h> exists even on freestanding compilers. */
76427 #ifdef __STDC__
76428 # include <limits.h>
76429 #else
76430 # include <assert.h>
76431 #endif
76433 #undef $ac_func
76435 /* Override any gcc2 internal prototype to avoid an error. */
76436 #ifdef __cplusplus
76437 extern "C"
76439 #endif
76440 /* We use char because int might match the return type of a gcc2
76441 builtin and then its argument prototype would still apply. */
76442 char $ac_func ();
76443 /* The GNU C library defines this for functions which it implements
76444 to always fail with ENOSYS. Some functions are actually named
76445 something starting with __ and the normal name is an alias. */
76446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76447 choke me
76448 #else
76449 char (*f) () = $ac_func;
76450 #endif
76451 #ifdef __cplusplus
76453 #endif
76456 main ()
76458 return f != $ac_func;
76460 return 0;
76462 _ACEOF
76463 rm -f conftest.$ac_objext conftest$ac_exeext
76464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76465 (eval $ac_link) 2>conftest.er1
76466 ac_status=$?
76467 grep -v '^ *+' conftest.er1 >conftest.err
76468 rm -f conftest.er1
76469 cat conftest.err >&5
76470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76471 (exit $ac_status); } &&
76472 { ac_try='test -z "$ac_c_werror_flag"
76473 || test ! -s conftest.err'
76474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76475 (eval $ac_try) 2>&5
76476 ac_status=$?
76477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76478 (exit $ac_status); }; } &&
76479 { ac_try='test -s conftest$ac_exeext'
76480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76481 (eval $ac_try) 2>&5
76482 ac_status=$?
76483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76484 (exit $ac_status); }; }; then
76485 eval "$as_ac_var=yes"
76486 else
76487 echo "$as_me: failed program was:" >&5
76488 sed 's/^/| /' conftest.$ac_ext >&5
76490 eval "$as_ac_var=no"
76492 rm -f conftest.err conftest.$ac_objext \
76493 conftest$ac_exeext conftest.$ac_ext
76495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76497 if test `eval echo '${'$as_ac_var'}'` = yes; then
76498 cat >>confdefs.h <<_ACEOF
76499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76500 _ACEOF
76502 else
76503 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
76505 done
76508 if test x$ac_cv_func_copysignl = x"yes"; then
76510 for ac_func in __signbitl
76512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76513 echo "$as_me:$LINENO: checking for $ac_func" >&5
76514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76515 if eval "test \"\${$as_ac_var+set}\" = set"; then
76516 echo $ECHO_N "(cached) $ECHO_C" >&6
76517 else
76518 if test x$gcc_no_link = xyes; then
76519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76521 { (exit 1); exit 1; }; }
76523 cat >conftest.$ac_ext <<_ACEOF
76524 /* confdefs.h. */
76525 _ACEOF
76526 cat confdefs.h >>conftest.$ac_ext
76527 cat >>conftest.$ac_ext <<_ACEOF
76528 /* end confdefs.h. */
76529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76531 #define $ac_func innocuous_$ac_func
76533 /* System header to define __stub macros and hopefully few prototypes,
76534 which can conflict with char $ac_func (); below.
76535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76536 <limits.h> exists even on freestanding compilers. */
76538 #ifdef __STDC__
76539 # include <limits.h>
76540 #else
76541 # include <assert.h>
76542 #endif
76544 #undef $ac_func
76546 /* Override any gcc2 internal prototype to avoid an error. */
76547 #ifdef __cplusplus
76548 extern "C"
76550 #endif
76551 /* We use char because int might match the return type of a gcc2
76552 builtin and then its argument prototype would still apply. */
76553 char $ac_func ();
76554 /* The GNU C library defines this for functions which it implements
76555 to always fail with ENOSYS. Some functions are actually named
76556 something starting with __ and the normal name is an alias. */
76557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76558 choke me
76559 #else
76560 char (*f) () = $ac_func;
76561 #endif
76562 #ifdef __cplusplus
76564 #endif
76567 main ()
76569 return f != $ac_func;
76571 return 0;
76573 _ACEOF
76574 rm -f conftest.$ac_objext conftest$ac_exeext
76575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76576 (eval $ac_link) 2>conftest.er1
76577 ac_status=$?
76578 grep -v '^ *+' conftest.er1 >conftest.err
76579 rm -f conftest.er1
76580 cat conftest.err >&5
76581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76582 (exit $ac_status); } &&
76583 { ac_try='test -z "$ac_c_werror_flag"
76584 || test ! -s conftest.err'
76585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76586 (eval $ac_try) 2>&5
76587 ac_status=$?
76588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76589 (exit $ac_status); }; } &&
76590 { ac_try='test -s conftest$ac_exeext'
76591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76592 (eval $ac_try) 2>&5
76593 ac_status=$?
76594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76595 (exit $ac_status); }; }; then
76596 eval "$as_ac_var=yes"
76597 else
76598 echo "$as_me: failed program was:" >&5
76599 sed 's/^/| /' conftest.$ac_ext >&5
76601 eval "$as_ac_var=no"
76603 rm -f conftest.err conftest.$ac_objext \
76604 conftest$ac_exeext conftest.$ac_ext
76606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76608 if test `eval echo '${'$as_ac_var'}'` = yes; then
76609 cat >>confdefs.h <<_ACEOF
76610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76611 _ACEOF
76613 else
76614 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
76616 done
76620 # Used in libmath/Makefile.am.
76621 if test -n "$LIBMATHOBJS"; then
76622 need_libmath=yes
76627 ac_test_CXXFLAGS="${CXXFLAGS+set}"
76628 ac_save_CXXFLAGS="$CXXFLAGS"
76629 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
76632 echo "$as_me:$LINENO: checking for strtold declaration" >&5
76633 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
76634 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
76635 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
76636 echo $ECHO_N "(cached) $ECHO_C" >&6
76637 else
76641 ac_ext=cc
76642 ac_cpp='$CXXCPP $CPPFLAGS'
76643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76647 cat >conftest.$ac_ext <<_ACEOF
76648 /* confdefs.h. */
76649 _ACEOF
76650 cat confdefs.h >>conftest.$ac_ext
76651 cat >>conftest.$ac_ext <<_ACEOF
76652 /* end confdefs.h. */
76653 #include <stdlib.h>
76655 main ()
76657 strtold(0, 0);
76659 return 0;
76661 _ACEOF
76662 rm -f conftest.$ac_objext
76663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76664 (eval $ac_compile) 2>conftest.er1
76665 ac_status=$?
76666 grep -v '^ *+' conftest.er1 >conftest.err
76667 rm -f conftest.er1
76668 cat conftest.err >&5
76669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76670 (exit $ac_status); } &&
76671 { ac_try='test -z "$ac_cxx_werror_flag"
76672 || test ! -s conftest.err'
76673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76674 (eval $ac_try) 2>&5
76675 ac_status=$?
76676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76677 (exit $ac_status); }; } &&
76678 { ac_try='test -s conftest.$ac_objext'
76679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76680 (eval $ac_try) 2>&5
76681 ac_status=$?
76682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76683 (exit $ac_status); }; }; then
76684 glibcxx_cv_func_strtold_use=yes
76685 else
76686 echo "$as_me: failed program was:" >&5
76687 sed 's/^/| /' conftest.$ac_ext >&5
76689 glibcxx_cv_func_strtold_use=no
76691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76692 ac_ext=c
76693 ac_cpp='$CPP $CPPFLAGS'
76694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76702 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
76703 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
76704 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
76706 for ac_func in strtold
76708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76709 echo "$as_me:$LINENO: checking for $ac_func" >&5
76710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76711 if eval "test \"\${$as_ac_var+set}\" = set"; then
76712 echo $ECHO_N "(cached) $ECHO_C" >&6
76713 else
76714 if test x$gcc_no_link = xyes; then
76715 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76717 { (exit 1); exit 1; }; }
76719 cat >conftest.$ac_ext <<_ACEOF
76720 /* confdefs.h. */
76721 _ACEOF
76722 cat confdefs.h >>conftest.$ac_ext
76723 cat >>conftest.$ac_ext <<_ACEOF
76724 /* end confdefs.h. */
76725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76727 #define $ac_func innocuous_$ac_func
76729 /* System header to define __stub macros and hopefully few prototypes,
76730 which can conflict with char $ac_func (); below.
76731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76732 <limits.h> exists even on freestanding compilers. */
76734 #ifdef __STDC__
76735 # include <limits.h>
76736 #else
76737 # include <assert.h>
76738 #endif
76740 #undef $ac_func
76742 /* Override any gcc2 internal prototype to avoid an error. */
76743 #ifdef __cplusplus
76744 extern "C"
76746 #endif
76747 /* We use char because int might match the return type of a gcc2
76748 builtin and then its argument prototype would still apply. */
76749 char $ac_func ();
76750 /* The GNU C library defines this for functions which it implements
76751 to always fail with ENOSYS. Some functions are actually named
76752 something starting with __ and the normal name is an alias. */
76753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76754 choke me
76755 #else
76756 char (*f) () = $ac_func;
76757 #endif
76758 #ifdef __cplusplus
76760 #endif
76763 main ()
76765 return f != $ac_func;
76767 return 0;
76769 _ACEOF
76770 rm -f conftest.$ac_objext conftest$ac_exeext
76771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76772 (eval $ac_link) 2>conftest.er1
76773 ac_status=$?
76774 grep -v '^ *+' conftest.er1 >conftest.err
76775 rm -f conftest.er1
76776 cat conftest.err >&5
76777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76778 (exit $ac_status); } &&
76779 { ac_try='test -z "$ac_c_werror_flag"
76780 || test ! -s conftest.err'
76781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76782 (eval $ac_try) 2>&5
76783 ac_status=$?
76784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76785 (exit $ac_status); }; } &&
76786 { ac_try='test -s conftest$ac_exeext'
76787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76788 (eval $ac_try) 2>&5
76789 ac_status=$?
76790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76791 (exit $ac_status); }; }; then
76792 eval "$as_ac_var=yes"
76793 else
76794 echo "$as_me: failed program was:" >&5
76795 sed 's/^/| /' conftest.$ac_ext >&5
76797 eval "$as_ac_var=no"
76799 rm -f conftest.err conftest.$ac_objext \
76800 conftest$ac_exeext conftest.$ac_ext
76802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76804 if test `eval echo '${'$as_ac_var'}'` = yes; then
76805 cat >>confdefs.h <<_ACEOF
76806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76807 _ACEOF
76810 done
76818 echo "$as_me:$LINENO: checking for strtof declaration" >&5
76819 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
76820 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
76821 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
76822 echo $ECHO_N "(cached) $ECHO_C" >&6
76823 else
76827 ac_ext=cc
76828 ac_cpp='$CXXCPP $CPPFLAGS'
76829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76833 cat >conftest.$ac_ext <<_ACEOF
76834 /* confdefs.h. */
76835 _ACEOF
76836 cat confdefs.h >>conftest.$ac_ext
76837 cat >>conftest.$ac_ext <<_ACEOF
76838 /* end confdefs.h. */
76839 #include <stdlib.h>
76841 main ()
76843 strtof(0, 0);
76845 return 0;
76847 _ACEOF
76848 rm -f conftest.$ac_objext
76849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76850 (eval $ac_compile) 2>conftest.er1
76851 ac_status=$?
76852 grep -v '^ *+' conftest.er1 >conftest.err
76853 rm -f conftest.er1
76854 cat conftest.err >&5
76855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76856 (exit $ac_status); } &&
76857 { ac_try='test -z "$ac_cxx_werror_flag"
76858 || test ! -s conftest.err'
76859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76860 (eval $ac_try) 2>&5
76861 ac_status=$?
76862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76863 (exit $ac_status); }; } &&
76864 { ac_try='test -s conftest.$ac_objext'
76865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76866 (eval $ac_try) 2>&5
76867 ac_status=$?
76868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76869 (exit $ac_status); }; }; then
76870 glibcxx_cv_func_strtof_use=yes
76871 else
76872 echo "$as_me: failed program was:" >&5
76873 sed 's/^/| /' conftest.$ac_ext >&5
76875 glibcxx_cv_func_strtof_use=no
76877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76878 ac_ext=c
76879 ac_cpp='$CPP $CPPFLAGS'
76880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76888 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
76889 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
76890 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
76892 for ac_func in strtof
76894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76895 echo "$as_me:$LINENO: checking for $ac_func" >&5
76896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76897 if eval "test \"\${$as_ac_var+set}\" = set"; then
76898 echo $ECHO_N "(cached) $ECHO_C" >&6
76899 else
76900 if test x$gcc_no_link = xyes; then
76901 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76903 { (exit 1); exit 1; }; }
76905 cat >conftest.$ac_ext <<_ACEOF
76906 /* confdefs.h. */
76907 _ACEOF
76908 cat confdefs.h >>conftest.$ac_ext
76909 cat >>conftest.$ac_ext <<_ACEOF
76910 /* end confdefs.h. */
76911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76913 #define $ac_func innocuous_$ac_func
76915 /* System header to define __stub macros and hopefully few prototypes,
76916 which can conflict with char $ac_func (); below.
76917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76918 <limits.h> exists even on freestanding compilers. */
76920 #ifdef __STDC__
76921 # include <limits.h>
76922 #else
76923 # include <assert.h>
76924 #endif
76926 #undef $ac_func
76928 /* Override any gcc2 internal prototype to avoid an error. */
76929 #ifdef __cplusplus
76930 extern "C"
76932 #endif
76933 /* We use char because int might match the return type of a gcc2
76934 builtin and then its argument prototype would still apply. */
76935 char $ac_func ();
76936 /* The GNU C library defines this for functions which it implements
76937 to always fail with ENOSYS. Some functions are actually named
76938 something starting with __ and the normal name is an alias. */
76939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76940 choke me
76941 #else
76942 char (*f) () = $ac_func;
76943 #endif
76944 #ifdef __cplusplus
76946 #endif
76949 main ()
76951 return f != $ac_func;
76953 return 0;
76955 _ACEOF
76956 rm -f conftest.$ac_objext conftest$ac_exeext
76957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76958 (eval $ac_link) 2>conftest.er1
76959 ac_status=$?
76960 grep -v '^ *+' conftest.er1 >conftest.err
76961 rm -f conftest.er1
76962 cat conftest.err >&5
76963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76964 (exit $ac_status); } &&
76965 { ac_try='test -z "$ac_c_werror_flag"
76966 || test ! -s conftest.err'
76967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76968 (eval $ac_try) 2>&5
76969 ac_status=$?
76970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76971 (exit $ac_status); }; } &&
76972 { ac_try='test -s conftest$ac_exeext'
76973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76974 (eval $ac_try) 2>&5
76975 ac_status=$?
76976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76977 (exit $ac_status); }; }; then
76978 eval "$as_ac_var=yes"
76979 else
76980 echo "$as_me: failed program was:" >&5
76981 sed 's/^/| /' conftest.$ac_ext >&5
76983 eval "$as_ac_var=no"
76985 rm -f conftest.err conftest.$ac_objext \
76986 conftest$ac_exeext conftest.$ac_ext
76988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76990 if test `eval echo '${'$as_ac_var'}'` = yes; then
76991 cat >>confdefs.h <<_ACEOF
76992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76993 _ACEOF
76996 done
77004 CXXFLAGS="$ac_save_CXXFLAGS"
77007 # For LFS.
77008 cat >>confdefs.h <<\_ACEOF
77009 #define HAVE_INT64_T 1
77010 _ACEOF
77015 ac_ext=cc
77016 ac_cpp='$CXXCPP $CPPFLAGS'
77017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77021 ac_save_CXXFLAGS="$CXXFLAGS"
77022 CXXFLAGS="$CXXFLAGS -fno-exceptions"
77023 echo "$as_me:$LINENO: checking for LFS support" >&5
77024 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
77025 if test "${glibcxx_cv_LFS+set}" = set; then
77026 echo $ECHO_N "(cached) $ECHO_C" >&6
77027 else
77029 if test x$gcc_no_link = xyes; then
77030 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77032 { (exit 1); exit 1; }; }
77034 cat >conftest.$ac_ext <<_ACEOF
77035 /* confdefs.h. */
77036 _ACEOF
77037 cat confdefs.h >>conftest.$ac_ext
77038 cat >>conftest.$ac_ext <<_ACEOF
77039 /* end confdefs.h. */
77040 #include <unistd.h>
77041 #include <stdio.h>
77042 #include <sys/stat.h>
77045 main ()
77047 FILE* fp;
77048 fopen64("t", "w");
77049 fseeko64(fp, 0, SEEK_CUR);
77050 ftello64(fp);
77051 lseek64(1, 0, SEEK_CUR);
77052 struct stat64 buf;
77053 fstat64(1, &buf);
77055 return 0;
77057 _ACEOF
77058 rm -f conftest.$ac_objext conftest$ac_exeext
77059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77060 (eval $ac_link) 2>conftest.er1
77061 ac_status=$?
77062 grep -v '^ *+' conftest.er1 >conftest.err
77063 rm -f conftest.er1
77064 cat conftest.err >&5
77065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77066 (exit $ac_status); } &&
77067 { ac_try='test -z "$ac_cxx_werror_flag"
77068 || test ! -s conftest.err'
77069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77070 (eval $ac_try) 2>&5
77071 ac_status=$?
77072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77073 (exit $ac_status); }; } &&
77074 { ac_try='test -s conftest$ac_exeext'
77075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77076 (eval $ac_try) 2>&5
77077 ac_status=$?
77078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77079 (exit $ac_status); }; }; then
77080 glibcxx_cv_LFS=yes
77081 else
77082 echo "$as_me: failed program was:" >&5
77083 sed 's/^/| /' conftest.$ac_ext >&5
77085 glibcxx_cv_LFS=no
77087 rm -f conftest.err conftest.$ac_objext \
77088 conftest$ac_exeext conftest.$ac_ext
77092 if test $glibcxx_cv_LFS = yes; then
77094 cat >>confdefs.h <<\_ACEOF
77095 #define _GLIBCXX_USE_LFS 1
77096 _ACEOF
77099 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
77100 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
77101 CXXFLAGS="$ac_save_CXXFLAGS"
77102 ac_ext=c
77103 ac_cpp='$CPP $CPPFLAGS'
77104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77110 # For showmanyc_helper().
77113 for ac_header in sys/ioctl.h sys/filio.h
77115 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77117 echo "$as_me:$LINENO: checking for $ac_header" >&5
77118 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77119 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77120 echo $ECHO_N "(cached) $ECHO_C" >&6
77122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77123 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77124 else
77125 # Is the header compilable?
77126 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77127 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77128 cat >conftest.$ac_ext <<_ACEOF
77129 /* confdefs.h. */
77130 _ACEOF
77131 cat confdefs.h >>conftest.$ac_ext
77132 cat >>conftest.$ac_ext <<_ACEOF
77133 /* end confdefs.h. */
77134 $ac_includes_default
77135 #include <$ac_header>
77136 _ACEOF
77137 rm -f conftest.$ac_objext
77138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77139 (eval $ac_compile) 2>conftest.er1
77140 ac_status=$?
77141 grep -v '^ *+' conftest.er1 >conftest.err
77142 rm -f conftest.er1
77143 cat conftest.err >&5
77144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77145 (exit $ac_status); } &&
77146 { ac_try='test -z "$ac_c_werror_flag"
77147 || test ! -s conftest.err'
77148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77149 (eval $ac_try) 2>&5
77150 ac_status=$?
77151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77152 (exit $ac_status); }; } &&
77153 { ac_try='test -s conftest.$ac_objext'
77154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77155 (eval $ac_try) 2>&5
77156 ac_status=$?
77157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77158 (exit $ac_status); }; }; then
77159 ac_header_compiler=yes
77160 else
77161 echo "$as_me: failed program was:" >&5
77162 sed 's/^/| /' conftest.$ac_ext >&5
77164 ac_header_compiler=no
77166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77167 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77168 echo "${ECHO_T}$ac_header_compiler" >&6
77170 # Is the header present?
77171 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77172 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77173 cat >conftest.$ac_ext <<_ACEOF
77174 /* confdefs.h. */
77175 _ACEOF
77176 cat confdefs.h >>conftest.$ac_ext
77177 cat >>conftest.$ac_ext <<_ACEOF
77178 /* end confdefs.h. */
77179 #include <$ac_header>
77180 _ACEOF
77181 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77182 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77183 ac_status=$?
77184 grep -v '^ *+' conftest.er1 >conftest.err
77185 rm -f conftest.er1
77186 cat conftest.err >&5
77187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77188 (exit $ac_status); } >/dev/null; then
77189 if test -s conftest.err; then
77190 ac_cpp_err=$ac_c_preproc_warn_flag
77191 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77192 else
77193 ac_cpp_err=
77195 else
77196 ac_cpp_err=yes
77198 if test -z "$ac_cpp_err"; then
77199 ac_header_preproc=yes
77200 else
77201 echo "$as_me: failed program was:" >&5
77202 sed 's/^/| /' conftest.$ac_ext >&5
77204 ac_header_preproc=no
77206 rm -f conftest.err conftest.$ac_ext
77207 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77208 echo "${ECHO_T}$ac_header_preproc" >&6
77210 # So? What about this header?
77211 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77212 yes:no: )
77213 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77214 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77215 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77216 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77217 ac_header_preproc=yes
77219 no:yes:* )
77220 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77221 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77222 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
77223 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
77224 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77225 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77226 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
77227 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
77228 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77229 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77230 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77231 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77233 cat <<\_ASBOX
77234 ## ----------------------------------------- ##
77235 ## Report this to the package-unused lists. ##
77236 ## ----------------------------------------- ##
77237 _ASBOX
77239 sed "s/^/$as_me: WARNING: /" >&2
77241 esac
77242 echo "$as_me:$LINENO: checking for $ac_header" >&5
77243 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77244 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77245 echo $ECHO_N "(cached) $ECHO_C" >&6
77246 else
77247 eval "$as_ac_Header=\$ac_header_preproc"
77249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77250 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77253 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77254 cat >>confdefs.h <<_ACEOF
77255 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77256 _ACEOF
77260 done
77263 echo "$as_me:$LINENO: checking for poll" >&5
77264 echo $ECHO_N "checking for poll... $ECHO_C" >&6
77265 if test "${glibcxx_cv_POLL+set}" = set; then
77266 echo $ECHO_N "(cached) $ECHO_C" >&6
77267 else
77269 if test x$gcc_no_link = xyes; then
77270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77272 { (exit 1); exit 1; }; }
77274 cat >conftest.$ac_ext <<_ACEOF
77275 /* confdefs.h. */
77276 _ACEOF
77277 cat confdefs.h >>conftest.$ac_ext
77278 cat >>conftest.$ac_ext <<_ACEOF
77279 /* end confdefs.h. */
77280 #include <poll.h>
77282 main ()
77284 struct pollfd pfd[1];
77285 pfd[0].events = POLLIN;
77286 poll(pfd, 1, 0);
77288 return 0;
77290 _ACEOF
77291 rm -f conftest.$ac_objext conftest$ac_exeext
77292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77293 (eval $ac_link) 2>conftest.er1
77294 ac_status=$?
77295 grep -v '^ *+' conftest.er1 >conftest.err
77296 rm -f conftest.er1
77297 cat conftest.err >&5
77298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77299 (exit $ac_status); } &&
77300 { ac_try='test -z "$ac_c_werror_flag"
77301 || test ! -s conftest.err'
77302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77303 (eval $ac_try) 2>&5
77304 ac_status=$?
77305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77306 (exit $ac_status); }; } &&
77307 { ac_try='test -s conftest$ac_exeext'
77308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77309 (eval $ac_try) 2>&5
77310 ac_status=$?
77311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77312 (exit $ac_status); }; }; then
77313 glibcxx_cv_POLL=yes
77314 else
77315 echo "$as_me: failed program was:" >&5
77316 sed 's/^/| /' conftest.$ac_ext >&5
77318 glibcxx_cv_POLL=no
77320 rm -f conftest.err conftest.$ac_objext \
77321 conftest$ac_exeext conftest.$ac_ext
77325 if test $glibcxx_cv_POLL = yes; then
77327 cat >>confdefs.h <<\_ACEOF
77328 #define HAVE_POLL 1
77329 _ACEOF
77332 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
77333 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
77336 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
77337 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
77338 if test "${glibcxx_cv_S_ISREG+set}" = set; then
77339 echo $ECHO_N "(cached) $ECHO_C" >&6
77340 else
77342 if test x$gcc_no_link = xyes; then
77343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77345 { (exit 1); exit 1; }; }
77347 cat >conftest.$ac_ext <<_ACEOF
77348 /* confdefs.h. */
77349 _ACEOF
77350 cat confdefs.h >>conftest.$ac_ext
77351 cat >>conftest.$ac_ext <<_ACEOF
77352 /* end confdefs.h. */
77353 #include <sys/stat.h>
77355 main ()
77357 struct stat buffer;
77358 fstat(0, &buffer);
77359 S_ISREG(buffer.st_mode);
77361 return 0;
77363 _ACEOF
77364 rm -f conftest.$ac_objext conftest$ac_exeext
77365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77366 (eval $ac_link) 2>conftest.er1
77367 ac_status=$?
77368 grep -v '^ *+' conftest.er1 >conftest.err
77369 rm -f conftest.er1
77370 cat conftest.err >&5
77371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77372 (exit $ac_status); } &&
77373 { ac_try='test -z "$ac_c_werror_flag"
77374 || test ! -s conftest.err'
77375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77376 (eval $ac_try) 2>&5
77377 ac_status=$?
77378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77379 (exit $ac_status); }; } &&
77380 { ac_try='test -s conftest$ac_exeext'
77381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77382 (eval $ac_try) 2>&5
77383 ac_status=$?
77384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77385 (exit $ac_status); }; }; then
77386 glibcxx_cv_S_ISREG=yes
77387 else
77388 echo "$as_me: failed program was:" >&5
77389 sed 's/^/| /' conftest.$ac_ext >&5
77391 glibcxx_cv_S_ISREG=no
77393 rm -f conftest.err conftest.$ac_objext \
77394 conftest$ac_exeext conftest.$ac_ext
77398 if test "${glibcxx_cv_S_IFREG+set}" = set; then
77399 echo $ECHO_N "(cached) $ECHO_C" >&6
77400 else
77402 if test x$gcc_no_link = xyes; then
77403 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77405 { (exit 1); exit 1; }; }
77407 cat >conftest.$ac_ext <<_ACEOF
77408 /* confdefs.h. */
77409 _ACEOF
77410 cat confdefs.h >>conftest.$ac_ext
77411 cat >>conftest.$ac_ext <<_ACEOF
77412 /* end confdefs.h. */
77413 #include <sys/stat.h>
77415 main ()
77417 struct stat buffer;
77418 fstat(0, &buffer);
77419 S_IFREG & buffer.st_mode;
77421 return 0;
77423 _ACEOF
77424 rm -f conftest.$ac_objext conftest$ac_exeext
77425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77426 (eval $ac_link) 2>conftest.er1
77427 ac_status=$?
77428 grep -v '^ *+' conftest.er1 >conftest.err
77429 rm -f conftest.er1
77430 cat conftest.err >&5
77431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77432 (exit $ac_status); } &&
77433 { ac_try='test -z "$ac_c_werror_flag"
77434 || test ! -s conftest.err'
77435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77436 (eval $ac_try) 2>&5
77437 ac_status=$?
77438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77439 (exit $ac_status); }; } &&
77440 { ac_try='test -s conftest$ac_exeext'
77441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77442 (eval $ac_try) 2>&5
77443 ac_status=$?
77444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77445 (exit $ac_status); }; }; then
77446 glibcxx_cv_S_IFREG=yes
77447 else
77448 echo "$as_me: failed program was:" >&5
77449 sed 's/^/| /' conftest.$ac_ext >&5
77451 glibcxx_cv_S_IFREG=no
77453 rm -f conftest.err conftest.$ac_objext \
77454 conftest$ac_exeext conftest.$ac_ext
77458 res=no
77459 if test $glibcxx_cv_S_ISREG = yes; then
77461 cat >>confdefs.h <<\_ACEOF
77462 #define HAVE_S_ISREG 1
77463 _ACEOF
77465 res=S_ISREG
77466 elif test $glibcxx_cv_S_IFREG = yes; then
77468 cat >>confdefs.h <<\_ACEOF
77469 #define HAVE_S_IFREG 1
77470 _ACEOF
77472 res=S_IFREG
77474 echo "$as_me:$LINENO: result: $res" >&5
77475 echo "${ECHO_T}$res" >&6
77478 # For xsputn_2().
77480 for ac_header in sys/uio.h
77482 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77483 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77484 echo "$as_me:$LINENO: checking for $ac_header" >&5
77485 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77487 echo $ECHO_N "(cached) $ECHO_C" >&6
77489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77490 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77491 else
77492 # Is the header compilable?
77493 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77494 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77495 cat >conftest.$ac_ext <<_ACEOF
77496 /* confdefs.h. */
77497 _ACEOF
77498 cat confdefs.h >>conftest.$ac_ext
77499 cat >>conftest.$ac_ext <<_ACEOF
77500 /* end confdefs.h. */
77501 $ac_includes_default
77502 #include <$ac_header>
77503 _ACEOF
77504 rm -f conftest.$ac_objext
77505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77506 (eval $ac_compile) 2>conftest.er1
77507 ac_status=$?
77508 grep -v '^ *+' conftest.er1 >conftest.err
77509 rm -f conftest.er1
77510 cat conftest.err >&5
77511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77512 (exit $ac_status); } &&
77513 { ac_try='test -z "$ac_c_werror_flag"
77514 || test ! -s conftest.err'
77515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77516 (eval $ac_try) 2>&5
77517 ac_status=$?
77518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77519 (exit $ac_status); }; } &&
77520 { ac_try='test -s conftest.$ac_objext'
77521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77522 (eval $ac_try) 2>&5
77523 ac_status=$?
77524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77525 (exit $ac_status); }; }; then
77526 ac_header_compiler=yes
77527 else
77528 echo "$as_me: failed program was:" >&5
77529 sed 's/^/| /' conftest.$ac_ext >&5
77531 ac_header_compiler=no
77533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77534 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77535 echo "${ECHO_T}$ac_header_compiler" >&6
77537 # Is the header present?
77538 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77539 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77540 cat >conftest.$ac_ext <<_ACEOF
77541 /* confdefs.h. */
77542 _ACEOF
77543 cat confdefs.h >>conftest.$ac_ext
77544 cat >>conftest.$ac_ext <<_ACEOF
77545 /* end confdefs.h. */
77546 #include <$ac_header>
77547 _ACEOF
77548 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77549 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
77556 if test -s conftest.err; then
77557 ac_cpp_err=$ac_c_preproc_warn_flag
77558 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77559 else
77560 ac_cpp_err=
77562 else
77563 ac_cpp_err=yes
77565 if test -z "$ac_cpp_err"; then
77566 ac_header_preproc=yes
77567 else
77568 echo "$as_me: failed program was:" >&5
77569 sed 's/^/| /' conftest.$ac_ext >&5
77571 ac_header_preproc=no
77573 rm -f conftest.err conftest.$ac_ext
77574 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77575 echo "${ECHO_T}$ac_header_preproc" >&6
77577 # So? What about this header?
77578 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77579 yes:no: )
77580 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77581 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77582 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77583 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77584 ac_header_preproc=yes
77586 no:yes:* )
77587 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77588 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77589 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
77590 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
77591 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77592 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77593 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
77594 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
77595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77596 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77597 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77598 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77600 cat <<\_ASBOX
77601 ## ----------------------------------------- ##
77602 ## Report this to the package-unused lists. ##
77603 ## ----------------------------------------- ##
77604 _ASBOX
77606 sed "s/^/$as_me: WARNING: /" >&2
77608 esac
77609 echo "$as_me:$LINENO: checking for $ac_header" >&5
77610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77611 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77612 echo $ECHO_N "(cached) $ECHO_C" >&6
77613 else
77614 eval "$as_ac_Header=\$ac_header_preproc"
77616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77617 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77620 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77621 cat >>confdefs.h <<_ACEOF
77622 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77623 _ACEOF
77627 done
77630 echo "$as_me:$LINENO: checking for writev" >&5
77631 echo $ECHO_N "checking for writev... $ECHO_C" >&6
77632 if test "${glibcxx_cv_WRITEV+set}" = set; then
77633 echo $ECHO_N "(cached) $ECHO_C" >&6
77634 else
77636 if test x$gcc_no_link = xyes; then
77637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77639 { (exit 1); exit 1; }; }
77641 cat >conftest.$ac_ext <<_ACEOF
77642 /* confdefs.h. */
77643 _ACEOF
77644 cat confdefs.h >>conftest.$ac_ext
77645 cat >>conftest.$ac_ext <<_ACEOF
77646 /* end confdefs.h. */
77647 #include <sys/uio.h>
77649 main ()
77651 struct iovec iov[2];
77652 writev(0, iov, 0);
77654 return 0;
77656 _ACEOF
77657 rm -f conftest.$ac_objext conftest$ac_exeext
77658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77659 (eval $ac_link) 2>conftest.er1
77660 ac_status=$?
77661 grep -v '^ *+' conftest.er1 >conftest.err
77662 rm -f conftest.er1
77663 cat conftest.err >&5
77664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77665 (exit $ac_status); } &&
77666 { ac_try='test -z "$ac_c_werror_flag"
77667 || test ! -s conftest.err'
77668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77669 (eval $ac_try) 2>&5
77670 ac_status=$?
77671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77672 (exit $ac_status); }; } &&
77673 { ac_try='test -s conftest$ac_exeext'
77674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77675 (eval $ac_try) 2>&5
77676 ac_status=$?
77677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77678 (exit $ac_status); }; }; then
77679 glibcxx_cv_WRITEV=yes
77680 else
77681 echo "$as_me: failed program was:" >&5
77682 sed 's/^/| /' conftest.$ac_ext >&5
77684 glibcxx_cv_WRITEV=no
77686 rm -f conftest.err conftest.$ac_objext \
77687 conftest$ac_exeext conftest.$ac_ext
77691 if test $glibcxx_cv_WRITEV = yes; then
77693 cat >>confdefs.h <<\_ACEOF
77694 #define HAVE_WRITEV 1
77695 _ACEOF
77698 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
77699 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
77702 *-mingw32*)
77706 for ac_header in sys/types.h locale.h float.h
77708 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77709 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77710 echo "$as_me:$LINENO: checking for $ac_header" >&5
77711 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77712 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77713 echo $ECHO_N "(cached) $ECHO_C" >&6
77715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77716 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77717 else
77718 # Is the header compilable?
77719 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77720 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77721 cat >conftest.$ac_ext <<_ACEOF
77722 /* confdefs.h. */
77723 _ACEOF
77724 cat confdefs.h >>conftest.$ac_ext
77725 cat >>conftest.$ac_ext <<_ACEOF
77726 /* end confdefs.h. */
77727 $ac_includes_default
77728 #include <$ac_header>
77729 _ACEOF
77730 rm -f conftest.$ac_objext
77731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77732 (eval $ac_compile) 2>conftest.er1
77733 ac_status=$?
77734 grep -v '^ *+' conftest.er1 >conftest.err
77735 rm -f conftest.er1
77736 cat conftest.err >&5
77737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77738 (exit $ac_status); } &&
77739 { ac_try='test -z "$ac_c_werror_flag"
77740 || test ! -s conftest.err'
77741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77742 (eval $ac_try) 2>&5
77743 ac_status=$?
77744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77745 (exit $ac_status); }; } &&
77746 { ac_try='test -s conftest.$ac_objext'
77747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77748 (eval $ac_try) 2>&5
77749 ac_status=$?
77750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77751 (exit $ac_status); }; }; then
77752 ac_header_compiler=yes
77753 else
77754 echo "$as_me: failed program was:" >&5
77755 sed 's/^/| /' conftest.$ac_ext >&5
77757 ac_header_compiler=no
77759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77760 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77761 echo "${ECHO_T}$ac_header_compiler" >&6
77763 # Is the header present?
77764 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77765 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77766 cat >conftest.$ac_ext <<_ACEOF
77767 /* confdefs.h. */
77768 _ACEOF
77769 cat confdefs.h >>conftest.$ac_ext
77770 cat >>conftest.$ac_ext <<_ACEOF
77771 /* end confdefs.h. */
77772 #include <$ac_header>
77773 _ACEOF
77774 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77775 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77776 ac_status=$?
77777 grep -v '^ *+' conftest.er1 >conftest.err
77778 rm -f conftest.er1
77779 cat conftest.err >&5
77780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77781 (exit $ac_status); } >/dev/null; then
77782 if test -s conftest.err; then
77783 ac_cpp_err=$ac_c_preproc_warn_flag
77784 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77785 else
77786 ac_cpp_err=
77788 else
77789 ac_cpp_err=yes
77791 if test -z "$ac_cpp_err"; then
77792 ac_header_preproc=yes
77793 else
77794 echo "$as_me: failed program was:" >&5
77795 sed 's/^/| /' conftest.$ac_ext >&5
77797 ac_header_preproc=no
77799 rm -f conftest.err conftest.$ac_ext
77800 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77801 echo "${ECHO_T}$ac_header_preproc" >&6
77803 # So? What about this header?
77804 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77805 yes:no: )
77806 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77807 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77808 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77809 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77810 ac_header_preproc=yes
77812 no:yes:* )
77813 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77814 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77815 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
77816 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
77817 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77818 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77819 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
77820 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
77821 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77822 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77823 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77824 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77826 cat <<\_ASBOX
77827 ## ----------------------------------------- ##
77828 ## Report this to the package-unused lists. ##
77829 ## ----------------------------------------- ##
77830 _ASBOX
77832 sed "s/^/$as_me: WARNING: /" >&2
77834 esac
77835 echo "$as_me:$LINENO: checking for $ac_header" >&5
77836 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77837 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77838 echo $ECHO_N "(cached) $ECHO_C" >&6
77839 else
77840 eval "$as_ac_Header=\$ac_header_preproc"
77842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77843 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77846 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77847 cat >>confdefs.h <<_ACEOF
77848 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77849 _ACEOF
77853 done
77856 # If we're not using GNU ld, then there's no point in even trying these
77857 # tests. Check for that first. We should have already tested for gld
77858 # by now (in libtool), but require it now just to be safe...
77859 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
77860 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
77864 # The name set by libtool depends on the version of libtool. Shame on us
77865 # for depending on an impl detail, but c'est la vie. Older versions used
77866 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
77867 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
77868 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
77869 # set (hence we're using an older libtool), then set it.
77870 if test x${with_gnu_ld+set} != xset; then
77871 if test x${ac_cv_prog_gnu_ld+set} != xset; then
77872 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
77873 with_gnu_ld=no
77874 else
77875 with_gnu_ld=$ac_cv_prog_gnu_ld
77879 # Start by getting the version number. I think the libtool test already
77880 # does some of this, but throws away the result.
77881 if test x"$with_gnu_ld" = x"yes"; then
77882 echo "$as_me:$LINENO: checking for ld version" >&5
77883 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
77885 ldver=`$LD --version 2>/dev/null | head -1 | \
77886 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
77888 glibcxx_gnu_ld_version=`echo $ldver | \
77889 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
77890 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
77891 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
77894 # Set --gc-sections.
77895 glibcxx_gcsections_min_ld=21602
77896 if test x"$with_gnu_ld" = x"yes" &&
77897 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
77899 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
77900 # NB: This flag only works reliably after 2.16.1. Configure tests
77901 # for this are difficult, so hard wire a value that should work.
77903 # All these tests are for C++, but run with the "C" compiler driver.
77904 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
77905 ac_test_CFLAGS="${CFLAGS+set}"
77906 ac_save_CFLAGS="$CFLAGS"
77907 CFLAGS='-x c++ -Wl,--gc-sections'
77909 # Check for -Wl,--gc-sections
77910 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77911 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77912 if test x$gcc_no_link = xyes; then
77913 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77915 { (exit 1); exit 1; }; }
77917 cat >conftest.$ac_ext <<_ACEOF
77918 /* confdefs.h. */
77919 _ACEOF
77920 cat confdefs.h >>conftest.$ac_ext
77921 cat >>conftest.$ac_ext <<_ACEOF
77922 /* end confdefs.h. */
77923 int one(void) { return 1; }
77924 int two(void) { return 2; }
77927 main ()
77929 two();
77931 return 0;
77933 _ACEOF
77934 rm -f conftest.$ac_objext conftest$ac_exeext
77935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77936 (eval $ac_link) 2>conftest.er1
77937 ac_status=$?
77938 grep -v '^ *+' conftest.er1 >conftest.err
77939 rm -f conftest.er1
77940 cat conftest.err >&5
77941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77942 (exit $ac_status); } &&
77943 { ac_try='test -z "$ac_c_werror_flag"
77944 || test ! -s conftest.err'
77945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77946 (eval $ac_try) 2>&5
77947 ac_status=$?
77948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77949 (exit $ac_status); }; } &&
77950 { ac_try='test -s conftest$ac_exeext'
77951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77952 (eval $ac_try) 2>&5
77953 ac_status=$?
77954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77955 (exit $ac_status); }; }; then
77956 ac_gcsections=yes
77957 else
77958 echo "$as_me: failed program was:" >&5
77959 sed 's/^/| /' conftest.$ac_ext >&5
77961 ac_gcsections=no
77963 rm -f conftest.err conftest.$ac_objext \
77964 conftest$ac_exeext conftest.$ac_ext
77965 if test "$ac_gcsections" = "yes"; then
77966 rm -f conftest.c
77967 touch conftest.c
77968 if $CC -c conftest.c; then
77969 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
77970 grep "Warning: gc-sections option ignored" > /dev/null; then
77971 ac_gcsections=no
77974 rm -f conftest.c conftest.o conftest
77976 if test "$ac_gcsections" = "yes"; then
77977 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77979 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
77980 echo "${ECHO_T}$ac_gcsections" >&6
77982 if test "$ac_test_CFLAGS" = set; then
77983 CFLAGS="$ac_save_CFLAGS"
77984 else
77985 # this is the suspicious part
77986 CFLAGS=''
77990 # Set -z,relro.
77991 # Note this is only for shared objects.
77992 ac_ld_relro=no
77993 if test x"$with_gnu_ld" = x"yes"; then
77994 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
77995 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
77996 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
77997 if test -n "$cxx_z_relo"; then
77998 OPT_LDFLAGS="-Wl,-z,relro"
77999 ac_ld_relro=yes
78001 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
78002 echo "${ECHO_T}$ac_ld_relro" >&6
78005 # Set linker optimization flags.
78006 if test x"$with_gnu_ld" = x"yes"; then
78007 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
78015 echo "$as_me:$LINENO: checking for main in -lm" >&5
78016 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
78017 if test "${ac_cv_lib_m_main+set}" = set; then
78018 echo $ECHO_N "(cached) $ECHO_C" >&6
78019 else
78020 ac_check_lib_save_LIBS=$LIBS
78021 LIBS="-lm $LIBS"
78022 if test x$gcc_no_link = xyes; then
78023 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78025 { (exit 1); exit 1; }; }
78027 cat >conftest.$ac_ext <<_ACEOF
78028 /* confdefs.h. */
78029 _ACEOF
78030 cat confdefs.h >>conftest.$ac_ext
78031 cat >>conftest.$ac_ext <<_ACEOF
78032 /* end confdefs.h. */
78036 main ()
78038 main ();
78040 return 0;
78042 _ACEOF
78043 rm -f conftest.$ac_objext conftest$ac_exeext
78044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78045 (eval $ac_link) 2>conftest.er1
78046 ac_status=$?
78047 grep -v '^ *+' conftest.er1 >conftest.err
78048 rm -f conftest.er1
78049 cat conftest.err >&5
78050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78051 (exit $ac_status); } &&
78052 { ac_try='test -z "$ac_c_werror_flag"
78053 || test ! -s conftest.err'
78054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78055 (eval $ac_try) 2>&5
78056 ac_status=$?
78057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78058 (exit $ac_status); }; } &&
78059 { ac_try='test -s conftest$ac_exeext'
78060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78061 (eval $ac_try) 2>&5
78062 ac_status=$?
78063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78064 (exit $ac_status); }; }; then
78065 ac_cv_lib_m_main=yes
78066 else
78067 echo "$as_me: failed program was:" >&5
78068 sed 's/^/| /' conftest.$ac_ext >&5
78070 ac_cv_lib_m_main=no
78072 rm -f conftest.err conftest.$ac_objext \
78073 conftest$ac_exeext conftest.$ac_ext
78074 LIBS=$ac_check_lib_save_LIBS
78076 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
78077 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
78078 if test $ac_cv_lib_m_main = yes; then
78079 cat >>confdefs.h <<_ACEOF
78080 #define HAVE_LIBM 1
78081 _ACEOF
78083 LIBS="-lm $LIBS"
78088 for ac_func in copysignf
78090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78091 echo "$as_me:$LINENO: checking for $ac_func" >&5
78092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78093 if eval "test \"\${$as_ac_var+set}\" = set"; then
78094 echo $ECHO_N "(cached) $ECHO_C" >&6
78095 else
78096 if test x$gcc_no_link = xyes; then
78097 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78099 { (exit 1); exit 1; }; }
78101 cat >conftest.$ac_ext <<_ACEOF
78102 /* confdefs.h. */
78103 _ACEOF
78104 cat confdefs.h >>conftest.$ac_ext
78105 cat >>conftest.$ac_ext <<_ACEOF
78106 /* end confdefs.h. */
78107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78109 #define $ac_func innocuous_$ac_func
78111 /* System header to define __stub macros and hopefully few prototypes,
78112 which can conflict with char $ac_func (); below.
78113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78114 <limits.h> exists even on freestanding compilers. */
78116 #ifdef __STDC__
78117 # include <limits.h>
78118 #else
78119 # include <assert.h>
78120 #endif
78122 #undef $ac_func
78124 /* Override any gcc2 internal prototype to avoid an error. */
78125 #ifdef __cplusplus
78126 extern "C"
78128 #endif
78129 /* We use char because int might match the return type of a gcc2
78130 builtin and then its argument prototype would still apply. */
78131 char $ac_func ();
78132 /* The GNU C library defines this for functions which it implements
78133 to always fail with ENOSYS. Some functions are actually named
78134 something starting with __ and the normal name is an alias. */
78135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78136 choke me
78137 #else
78138 char (*f) () = $ac_func;
78139 #endif
78140 #ifdef __cplusplus
78142 #endif
78145 main ()
78147 return f != $ac_func;
78149 return 0;
78151 _ACEOF
78152 rm -f conftest.$ac_objext conftest$ac_exeext
78153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78154 (eval $ac_link) 2>conftest.er1
78155 ac_status=$?
78156 grep -v '^ *+' conftest.er1 >conftest.err
78157 rm -f conftest.er1
78158 cat conftest.err >&5
78159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78160 (exit $ac_status); } &&
78161 { ac_try='test -z "$ac_c_werror_flag"
78162 || test ! -s conftest.err'
78163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78164 (eval $ac_try) 2>&5
78165 ac_status=$?
78166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78167 (exit $ac_status); }; } &&
78168 { ac_try='test -s conftest$ac_exeext'
78169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78170 (eval $ac_try) 2>&5
78171 ac_status=$?
78172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78173 (exit $ac_status); }; }; then
78174 eval "$as_ac_var=yes"
78175 else
78176 echo "$as_me: failed program was:" >&5
78177 sed 's/^/| /' conftest.$ac_ext >&5
78179 eval "$as_ac_var=no"
78181 rm -f conftest.err conftest.$ac_objext \
78182 conftest$ac_exeext conftest.$ac_ext
78184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78186 if test `eval echo '${'$as_ac_var'}'` = yes; then
78187 cat >>confdefs.h <<_ACEOF
78188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78189 _ACEOF
78191 else
78192 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
78194 done
78198 for ac_func in __signbit
78200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78201 echo "$as_me:$LINENO: checking for $ac_func" >&5
78202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78203 if eval "test \"\${$as_ac_var+set}\" = set"; then
78204 echo $ECHO_N "(cached) $ECHO_C" >&6
78205 else
78206 if test x$gcc_no_link = xyes; then
78207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78209 { (exit 1); exit 1; }; }
78211 cat >conftest.$ac_ext <<_ACEOF
78212 /* confdefs.h. */
78213 _ACEOF
78214 cat confdefs.h >>conftest.$ac_ext
78215 cat >>conftest.$ac_ext <<_ACEOF
78216 /* end confdefs.h. */
78217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78219 #define $ac_func innocuous_$ac_func
78221 /* System header to define __stub macros and hopefully few prototypes,
78222 which can conflict with char $ac_func (); below.
78223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78224 <limits.h> exists even on freestanding compilers. */
78226 #ifdef __STDC__
78227 # include <limits.h>
78228 #else
78229 # include <assert.h>
78230 #endif
78232 #undef $ac_func
78234 /* Override any gcc2 internal prototype to avoid an error. */
78235 #ifdef __cplusplus
78236 extern "C"
78238 #endif
78239 /* We use char because int might match the return type of a gcc2
78240 builtin and then its argument prototype would still apply. */
78241 char $ac_func ();
78242 /* The GNU C library defines this for functions which it implements
78243 to always fail with ENOSYS. Some functions are actually named
78244 something starting with __ and the normal name is an alias. */
78245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78246 choke me
78247 #else
78248 char (*f) () = $ac_func;
78249 #endif
78250 #ifdef __cplusplus
78252 #endif
78255 main ()
78257 return f != $ac_func;
78259 return 0;
78261 _ACEOF
78262 rm -f conftest.$ac_objext conftest$ac_exeext
78263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78264 (eval $ac_link) 2>conftest.er1
78265 ac_status=$?
78266 grep -v '^ *+' conftest.er1 >conftest.err
78267 rm -f conftest.er1
78268 cat conftest.err >&5
78269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78270 (exit $ac_status); } &&
78271 { ac_try='test -z "$ac_c_werror_flag"
78272 || test ! -s conftest.err'
78273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78274 (eval $ac_try) 2>&5
78275 ac_status=$?
78276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78277 (exit $ac_status); }; } &&
78278 { ac_try='test -s conftest$ac_exeext'
78279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78280 (eval $ac_try) 2>&5
78281 ac_status=$?
78282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78283 (exit $ac_status); }; }; then
78284 eval "$as_ac_var=yes"
78285 else
78286 echo "$as_me: failed program was:" >&5
78287 sed 's/^/| /' conftest.$ac_ext >&5
78289 eval "$as_ac_var=no"
78291 rm -f conftest.err conftest.$ac_objext \
78292 conftest$ac_exeext conftest.$ac_ext
78294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78296 if test `eval echo '${'$as_ac_var'}'` = yes; then
78297 cat >>confdefs.h <<_ACEOF
78298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78299 _ACEOF
78301 else
78302 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
78304 done
78308 for ac_func in __signbitf
78310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78311 echo "$as_me:$LINENO: checking for $ac_func" >&5
78312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78313 if eval "test \"\${$as_ac_var+set}\" = set"; then
78314 echo $ECHO_N "(cached) $ECHO_C" >&6
78315 else
78316 if test x$gcc_no_link = xyes; then
78317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78319 { (exit 1); exit 1; }; }
78321 cat >conftest.$ac_ext <<_ACEOF
78322 /* confdefs.h. */
78323 _ACEOF
78324 cat confdefs.h >>conftest.$ac_ext
78325 cat >>conftest.$ac_ext <<_ACEOF
78326 /* end confdefs.h. */
78327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78329 #define $ac_func innocuous_$ac_func
78331 /* System header to define __stub macros and hopefully few prototypes,
78332 which can conflict with char $ac_func (); below.
78333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78334 <limits.h> exists even on freestanding compilers. */
78336 #ifdef __STDC__
78337 # include <limits.h>
78338 #else
78339 # include <assert.h>
78340 #endif
78342 #undef $ac_func
78344 /* Override any gcc2 internal prototype to avoid an error. */
78345 #ifdef __cplusplus
78346 extern "C"
78348 #endif
78349 /* We use char because int might match the return type of a gcc2
78350 builtin and then its argument prototype would still apply. */
78351 char $ac_func ();
78352 /* The GNU C library defines this for functions which it implements
78353 to always fail with ENOSYS. Some functions are actually named
78354 something starting with __ and the normal name is an alias. */
78355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78356 choke me
78357 #else
78358 char (*f) () = $ac_func;
78359 #endif
78360 #ifdef __cplusplus
78362 #endif
78365 main ()
78367 return f != $ac_func;
78369 return 0;
78371 _ACEOF
78372 rm -f conftest.$ac_objext conftest$ac_exeext
78373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78374 (eval $ac_link) 2>conftest.er1
78375 ac_status=$?
78376 grep -v '^ *+' conftest.er1 >conftest.err
78377 rm -f conftest.er1
78378 cat conftest.err >&5
78379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78380 (exit $ac_status); } &&
78381 { ac_try='test -z "$ac_c_werror_flag"
78382 || test ! -s conftest.err'
78383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78384 (eval $ac_try) 2>&5
78385 ac_status=$?
78386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78387 (exit $ac_status); }; } &&
78388 { ac_try='test -s conftest$ac_exeext'
78389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78390 (eval $ac_try) 2>&5
78391 ac_status=$?
78392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78393 (exit $ac_status); }; }; then
78394 eval "$as_ac_var=yes"
78395 else
78396 echo "$as_me: failed program was:" >&5
78397 sed 's/^/| /' conftest.$ac_ext >&5
78399 eval "$as_ac_var=no"
78401 rm -f conftest.err conftest.$ac_objext \
78402 conftest$ac_exeext conftest.$ac_ext
78404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78406 if test `eval echo '${'$as_ac_var'}'` = yes; then
78407 cat >>confdefs.h <<_ACEOF
78408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78409 _ACEOF
78411 else
78412 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
78414 done
78417 if test x$ac_cv_func_copysignl = x"yes"; then
78419 for ac_func in __signbitl
78421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78422 echo "$as_me:$LINENO: checking for $ac_func" >&5
78423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78424 if eval "test \"\${$as_ac_var+set}\" = set"; then
78425 echo $ECHO_N "(cached) $ECHO_C" >&6
78426 else
78427 if test x$gcc_no_link = xyes; then
78428 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78430 { (exit 1); exit 1; }; }
78432 cat >conftest.$ac_ext <<_ACEOF
78433 /* confdefs.h. */
78434 _ACEOF
78435 cat confdefs.h >>conftest.$ac_ext
78436 cat >>conftest.$ac_ext <<_ACEOF
78437 /* end confdefs.h. */
78438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78440 #define $ac_func innocuous_$ac_func
78442 /* System header to define __stub macros and hopefully few prototypes,
78443 which can conflict with char $ac_func (); below.
78444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78445 <limits.h> exists even on freestanding compilers. */
78447 #ifdef __STDC__
78448 # include <limits.h>
78449 #else
78450 # include <assert.h>
78451 #endif
78453 #undef $ac_func
78455 /* Override any gcc2 internal prototype to avoid an error. */
78456 #ifdef __cplusplus
78457 extern "C"
78459 #endif
78460 /* We use char because int might match the return type of a gcc2
78461 builtin and then its argument prototype would still apply. */
78462 char $ac_func ();
78463 /* The GNU C library defines this for functions which it implements
78464 to always fail with ENOSYS. Some functions are actually named
78465 something starting with __ and the normal name is an alias. */
78466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78467 choke me
78468 #else
78469 char (*f) () = $ac_func;
78470 #endif
78471 #ifdef __cplusplus
78473 #endif
78476 main ()
78478 return f != $ac_func;
78480 return 0;
78482 _ACEOF
78483 rm -f conftest.$ac_objext conftest$ac_exeext
78484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78485 (eval $ac_link) 2>conftest.er1
78486 ac_status=$?
78487 grep -v '^ *+' conftest.er1 >conftest.err
78488 rm -f conftest.er1
78489 cat conftest.err >&5
78490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78491 (exit $ac_status); } &&
78492 { ac_try='test -z "$ac_c_werror_flag"
78493 || test ! -s conftest.err'
78494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78495 (eval $ac_try) 2>&5
78496 ac_status=$?
78497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78498 (exit $ac_status); }; } &&
78499 { ac_try='test -s conftest$ac_exeext'
78500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78501 (eval $ac_try) 2>&5
78502 ac_status=$?
78503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78504 (exit $ac_status); }; }; then
78505 eval "$as_ac_var=yes"
78506 else
78507 echo "$as_me: failed program was:" >&5
78508 sed 's/^/| /' conftest.$ac_ext >&5
78510 eval "$as_ac_var=no"
78512 rm -f conftest.err conftest.$ac_objext \
78513 conftest$ac_exeext conftest.$ac_ext
78515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78517 if test `eval echo '${'$as_ac_var'}'` = yes; then
78518 cat >>confdefs.h <<_ACEOF
78519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78520 _ACEOF
78522 else
78523 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
78525 done
78529 # Used in libmath/Makefile.am.
78530 if test -n "$LIBMATHOBJS"; then
78531 need_libmath=yes
78536 *-netbsd*)
78549 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
78550 machine/endian.h machine/param.h sys/machine.h sys/types.h \
78551 fp.h locale.h float.h inttypes.h
78553 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78554 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78555 echo "$as_me:$LINENO: checking for $ac_header" >&5
78556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78558 echo $ECHO_N "(cached) $ECHO_C" >&6
78560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78561 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78562 else
78563 # Is the header compilable?
78564 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78565 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78566 cat >conftest.$ac_ext <<_ACEOF
78567 /* confdefs.h. */
78568 _ACEOF
78569 cat confdefs.h >>conftest.$ac_ext
78570 cat >>conftest.$ac_ext <<_ACEOF
78571 /* end confdefs.h. */
78572 $ac_includes_default
78573 #include <$ac_header>
78574 _ACEOF
78575 rm -f conftest.$ac_objext
78576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78577 (eval $ac_compile) 2>conftest.er1
78578 ac_status=$?
78579 grep -v '^ *+' conftest.er1 >conftest.err
78580 rm -f conftest.er1
78581 cat conftest.err >&5
78582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78583 (exit $ac_status); } &&
78584 { ac_try='test -z "$ac_c_werror_flag"
78585 || test ! -s conftest.err'
78586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78587 (eval $ac_try) 2>&5
78588 ac_status=$?
78589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78590 (exit $ac_status); }; } &&
78591 { ac_try='test -s conftest.$ac_objext'
78592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78593 (eval $ac_try) 2>&5
78594 ac_status=$?
78595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78596 (exit $ac_status); }; }; then
78597 ac_header_compiler=yes
78598 else
78599 echo "$as_me: failed program was:" >&5
78600 sed 's/^/| /' conftest.$ac_ext >&5
78602 ac_header_compiler=no
78604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78605 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78606 echo "${ECHO_T}$ac_header_compiler" >&6
78608 # Is the header present?
78609 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78610 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78611 cat >conftest.$ac_ext <<_ACEOF
78612 /* confdefs.h. */
78613 _ACEOF
78614 cat confdefs.h >>conftest.$ac_ext
78615 cat >>conftest.$ac_ext <<_ACEOF
78616 /* end confdefs.h. */
78617 #include <$ac_header>
78618 _ACEOF
78619 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78620 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78621 ac_status=$?
78622 grep -v '^ *+' conftest.er1 >conftest.err
78623 rm -f conftest.er1
78624 cat conftest.err >&5
78625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78626 (exit $ac_status); } >/dev/null; then
78627 if test -s conftest.err; then
78628 ac_cpp_err=$ac_c_preproc_warn_flag
78629 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78630 else
78631 ac_cpp_err=
78633 else
78634 ac_cpp_err=yes
78636 if test -z "$ac_cpp_err"; then
78637 ac_header_preproc=yes
78638 else
78639 echo "$as_me: failed program was:" >&5
78640 sed 's/^/| /' conftest.$ac_ext >&5
78642 ac_header_preproc=no
78644 rm -f conftest.err conftest.$ac_ext
78645 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78646 echo "${ECHO_T}$ac_header_preproc" >&6
78648 # So? What about this header?
78649 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78650 yes:no: )
78651 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78652 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78653 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78654 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78655 ac_header_preproc=yes
78657 no:yes:* )
78658 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78659 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78660 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78661 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78662 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78663 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78664 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78665 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78666 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78667 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78668 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78669 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78671 cat <<\_ASBOX
78672 ## ----------------------------------------- ##
78673 ## Report this to the package-unused lists. ##
78674 ## ----------------------------------------- ##
78675 _ASBOX
78677 sed "s/^/$as_me: WARNING: /" >&2
78679 esac
78680 echo "$as_me:$LINENO: checking for $ac_header" >&5
78681 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78683 echo $ECHO_N "(cached) $ECHO_C" >&6
78684 else
78685 eval "$as_ac_Header=\$ac_header_preproc"
78687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78688 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78691 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78692 cat >>confdefs.h <<_ACEOF
78693 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78694 _ACEOF
78698 done
78700 SECTION_FLAGS='-ffunction-sections -fdata-sections'
78703 # If we're not using GNU ld, then there's no point in even trying these
78704 # tests. Check for that first. We should have already tested for gld
78705 # by now (in libtool), but require it now just to be safe...
78706 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
78707 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
78711 # The name set by libtool depends on the version of libtool. Shame on us
78712 # for depending on an impl detail, but c'est la vie. Older versions used
78713 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
78714 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
78715 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
78716 # set (hence we're using an older libtool), then set it.
78717 if test x${with_gnu_ld+set} != xset; then
78718 if test x${ac_cv_prog_gnu_ld+set} != xset; then
78719 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
78720 with_gnu_ld=no
78721 else
78722 with_gnu_ld=$ac_cv_prog_gnu_ld
78726 # Start by getting the version number. I think the libtool test already
78727 # does some of this, but throws away the result.
78728 if test x"$with_gnu_ld" = x"yes"; then
78729 echo "$as_me:$LINENO: checking for ld version" >&5
78730 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
78732 ldver=`$LD --version 2>/dev/null | head -1 | \
78733 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
78735 glibcxx_gnu_ld_version=`echo $ldver | \
78736 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
78737 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
78738 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
78741 # Set --gc-sections.
78742 glibcxx_gcsections_min_ld=21602
78743 if test x"$with_gnu_ld" = x"yes" &&
78744 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
78746 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
78747 # NB: This flag only works reliably after 2.16.1. Configure tests
78748 # for this are difficult, so hard wire a value that should work.
78750 # All these tests are for C++, but run with the "C" compiler driver.
78751 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
78752 ac_test_CFLAGS="${CFLAGS+set}"
78753 ac_save_CFLAGS="$CFLAGS"
78754 CFLAGS='-x c++ -Wl,--gc-sections'
78756 # Check for -Wl,--gc-sections
78757 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
78758 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
78759 if test x$gcc_no_link = xyes; then
78760 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78762 { (exit 1); exit 1; }; }
78764 cat >conftest.$ac_ext <<_ACEOF
78765 /* confdefs.h. */
78766 _ACEOF
78767 cat confdefs.h >>conftest.$ac_ext
78768 cat >>conftest.$ac_ext <<_ACEOF
78769 /* end confdefs.h. */
78770 int one(void) { return 1; }
78771 int two(void) { return 2; }
78774 main ()
78776 two();
78778 return 0;
78780 _ACEOF
78781 rm -f conftest.$ac_objext conftest$ac_exeext
78782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78783 (eval $ac_link) 2>conftest.er1
78784 ac_status=$?
78785 grep -v '^ *+' conftest.er1 >conftest.err
78786 rm -f conftest.er1
78787 cat conftest.err >&5
78788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78789 (exit $ac_status); } &&
78790 { ac_try='test -z "$ac_c_werror_flag"
78791 || test ! -s conftest.err'
78792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78793 (eval $ac_try) 2>&5
78794 ac_status=$?
78795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78796 (exit $ac_status); }; } &&
78797 { ac_try='test -s conftest$ac_exeext'
78798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78799 (eval $ac_try) 2>&5
78800 ac_status=$?
78801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78802 (exit $ac_status); }; }; then
78803 ac_gcsections=yes
78804 else
78805 echo "$as_me: failed program was:" >&5
78806 sed 's/^/| /' conftest.$ac_ext >&5
78808 ac_gcsections=no
78810 rm -f conftest.err conftest.$ac_objext \
78811 conftest$ac_exeext conftest.$ac_ext
78812 if test "$ac_gcsections" = "yes"; then
78813 rm -f conftest.c
78814 touch conftest.c
78815 if $CC -c conftest.c; then
78816 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
78817 grep "Warning: gc-sections option ignored" > /dev/null; then
78818 ac_gcsections=no
78821 rm -f conftest.c conftest.o conftest
78823 if test "$ac_gcsections" = "yes"; then
78824 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
78826 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
78827 echo "${ECHO_T}$ac_gcsections" >&6
78829 if test "$ac_test_CFLAGS" = set; then
78830 CFLAGS="$ac_save_CFLAGS"
78831 else
78832 # this is the suspicious part
78833 CFLAGS=''
78837 # Set -z,relro.
78838 # Note this is only for shared objects.
78839 ac_ld_relro=no
78840 if test x"$with_gnu_ld" = x"yes"; then
78841 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
78842 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
78843 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
78844 if test -n "$cxx_z_relo"; then
78845 OPT_LDFLAGS="-Wl,-z,relro"
78846 ac_ld_relro=yes
78848 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
78849 echo "${ECHO_T}$ac_ld_relro" >&6
78852 # Set linker optimization flags.
78853 if test x"$with_gnu_ld" = x"yes"; then
78854 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
78862 echo "$as_me:$LINENO: checking for main in -lm" >&5
78863 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
78864 if test "${ac_cv_lib_m_main+set}" = set; then
78865 echo $ECHO_N "(cached) $ECHO_C" >&6
78866 else
78867 ac_check_lib_save_LIBS=$LIBS
78868 LIBS="-lm $LIBS"
78869 if test x$gcc_no_link = xyes; then
78870 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78872 { (exit 1); exit 1; }; }
78874 cat >conftest.$ac_ext <<_ACEOF
78875 /* confdefs.h. */
78876 _ACEOF
78877 cat confdefs.h >>conftest.$ac_ext
78878 cat >>conftest.$ac_ext <<_ACEOF
78879 /* end confdefs.h. */
78883 main ()
78885 main ();
78887 return 0;
78889 _ACEOF
78890 rm -f conftest.$ac_objext conftest$ac_exeext
78891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78892 (eval $ac_link) 2>conftest.er1
78893 ac_status=$?
78894 grep -v '^ *+' conftest.er1 >conftest.err
78895 rm -f conftest.er1
78896 cat conftest.err >&5
78897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78898 (exit $ac_status); } &&
78899 { ac_try='test -z "$ac_c_werror_flag"
78900 || test ! -s conftest.err'
78901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78902 (eval $ac_try) 2>&5
78903 ac_status=$?
78904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78905 (exit $ac_status); }; } &&
78906 { ac_try='test -s conftest$ac_exeext'
78907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78908 (eval $ac_try) 2>&5
78909 ac_status=$?
78910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78911 (exit $ac_status); }; }; then
78912 ac_cv_lib_m_main=yes
78913 else
78914 echo "$as_me: failed program was:" >&5
78915 sed 's/^/| /' conftest.$ac_ext >&5
78917 ac_cv_lib_m_main=no
78919 rm -f conftest.err conftest.$ac_objext \
78920 conftest$ac_exeext conftest.$ac_ext
78921 LIBS=$ac_check_lib_save_LIBS
78923 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
78924 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
78925 if test $ac_cv_lib_m_main = yes; then
78926 cat >>confdefs.h <<_ACEOF
78927 #define HAVE_LIBM 1
78928 _ACEOF
78930 LIBS="-lm $LIBS"
78935 for ac_func in copysignf
78937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78938 echo "$as_me:$LINENO: checking for $ac_func" >&5
78939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78940 if eval "test \"\${$as_ac_var+set}\" = set"; then
78941 echo $ECHO_N "(cached) $ECHO_C" >&6
78942 else
78943 if test x$gcc_no_link = xyes; then
78944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78946 { (exit 1); exit 1; }; }
78948 cat >conftest.$ac_ext <<_ACEOF
78949 /* confdefs.h. */
78950 _ACEOF
78951 cat confdefs.h >>conftest.$ac_ext
78952 cat >>conftest.$ac_ext <<_ACEOF
78953 /* end confdefs.h. */
78954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78956 #define $ac_func innocuous_$ac_func
78958 /* System header to define __stub macros and hopefully few prototypes,
78959 which can conflict with char $ac_func (); below.
78960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78961 <limits.h> exists even on freestanding compilers. */
78963 #ifdef __STDC__
78964 # include <limits.h>
78965 #else
78966 # include <assert.h>
78967 #endif
78969 #undef $ac_func
78971 /* Override any gcc2 internal prototype to avoid an error. */
78972 #ifdef __cplusplus
78973 extern "C"
78975 #endif
78976 /* We use char because int might match the return type of a gcc2
78977 builtin and then its argument prototype would still apply. */
78978 char $ac_func ();
78979 /* The GNU C library defines this for functions which it implements
78980 to always fail with ENOSYS. Some functions are actually named
78981 something starting with __ and the normal name is an alias. */
78982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78983 choke me
78984 #else
78985 char (*f) () = $ac_func;
78986 #endif
78987 #ifdef __cplusplus
78989 #endif
78992 main ()
78994 return f != $ac_func;
78996 return 0;
78998 _ACEOF
78999 rm -f conftest.$ac_objext conftest$ac_exeext
79000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79001 (eval $ac_link) 2>conftest.er1
79002 ac_status=$?
79003 grep -v '^ *+' conftest.er1 >conftest.err
79004 rm -f conftest.er1
79005 cat conftest.err >&5
79006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79007 (exit $ac_status); } &&
79008 { ac_try='test -z "$ac_c_werror_flag"
79009 || test ! -s conftest.err'
79010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79011 (eval $ac_try) 2>&5
79012 ac_status=$?
79013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79014 (exit $ac_status); }; } &&
79015 { ac_try='test -s conftest$ac_exeext'
79016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79017 (eval $ac_try) 2>&5
79018 ac_status=$?
79019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79020 (exit $ac_status); }; }; then
79021 eval "$as_ac_var=yes"
79022 else
79023 echo "$as_me: failed program was:" >&5
79024 sed 's/^/| /' conftest.$ac_ext >&5
79026 eval "$as_ac_var=no"
79028 rm -f conftest.err conftest.$ac_objext \
79029 conftest$ac_exeext conftest.$ac_ext
79031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79033 if test `eval echo '${'$as_ac_var'}'` = yes; then
79034 cat >>confdefs.h <<_ACEOF
79035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79036 _ACEOF
79038 else
79039 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
79041 done
79045 for ac_func in __signbit
79047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79048 echo "$as_me:$LINENO: checking for $ac_func" >&5
79049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79050 if eval "test \"\${$as_ac_var+set}\" = set"; then
79051 echo $ECHO_N "(cached) $ECHO_C" >&6
79052 else
79053 if test x$gcc_no_link = xyes; then
79054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79056 { (exit 1); exit 1; }; }
79058 cat >conftest.$ac_ext <<_ACEOF
79059 /* confdefs.h. */
79060 _ACEOF
79061 cat confdefs.h >>conftest.$ac_ext
79062 cat >>conftest.$ac_ext <<_ACEOF
79063 /* end confdefs.h. */
79064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79066 #define $ac_func innocuous_$ac_func
79068 /* System header to define __stub macros and hopefully few prototypes,
79069 which can conflict with char $ac_func (); below.
79070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79071 <limits.h> exists even on freestanding compilers. */
79073 #ifdef __STDC__
79074 # include <limits.h>
79075 #else
79076 # include <assert.h>
79077 #endif
79079 #undef $ac_func
79081 /* Override any gcc2 internal prototype to avoid an error. */
79082 #ifdef __cplusplus
79083 extern "C"
79085 #endif
79086 /* We use char because int might match the return type of a gcc2
79087 builtin and then its argument prototype would still apply. */
79088 char $ac_func ();
79089 /* The GNU C library defines this for functions which it implements
79090 to always fail with ENOSYS. Some functions are actually named
79091 something starting with __ and the normal name is an alias. */
79092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79093 choke me
79094 #else
79095 char (*f) () = $ac_func;
79096 #endif
79097 #ifdef __cplusplus
79099 #endif
79102 main ()
79104 return f != $ac_func;
79106 return 0;
79108 _ACEOF
79109 rm -f conftest.$ac_objext conftest$ac_exeext
79110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79111 (eval $ac_link) 2>conftest.er1
79112 ac_status=$?
79113 grep -v '^ *+' conftest.er1 >conftest.err
79114 rm -f conftest.er1
79115 cat conftest.err >&5
79116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79117 (exit $ac_status); } &&
79118 { ac_try='test -z "$ac_c_werror_flag"
79119 || test ! -s conftest.err'
79120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79121 (eval $ac_try) 2>&5
79122 ac_status=$?
79123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79124 (exit $ac_status); }; } &&
79125 { ac_try='test -s conftest$ac_exeext'
79126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79127 (eval $ac_try) 2>&5
79128 ac_status=$?
79129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79130 (exit $ac_status); }; }; then
79131 eval "$as_ac_var=yes"
79132 else
79133 echo "$as_me: failed program was:" >&5
79134 sed 's/^/| /' conftest.$ac_ext >&5
79136 eval "$as_ac_var=no"
79138 rm -f conftest.err conftest.$ac_objext \
79139 conftest$ac_exeext conftest.$ac_ext
79141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79143 if test `eval echo '${'$as_ac_var'}'` = yes; then
79144 cat >>confdefs.h <<_ACEOF
79145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79146 _ACEOF
79148 else
79149 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
79151 done
79155 for ac_func in __signbitf
79157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79158 echo "$as_me:$LINENO: checking for $ac_func" >&5
79159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79160 if eval "test \"\${$as_ac_var+set}\" = set"; then
79161 echo $ECHO_N "(cached) $ECHO_C" >&6
79162 else
79163 if test x$gcc_no_link = xyes; then
79164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79166 { (exit 1); exit 1; }; }
79168 cat >conftest.$ac_ext <<_ACEOF
79169 /* confdefs.h. */
79170 _ACEOF
79171 cat confdefs.h >>conftest.$ac_ext
79172 cat >>conftest.$ac_ext <<_ACEOF
79173 /* end confdefs.h. */
79174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79176 #define $ac_func innocuous_$ac_func
79178 /* System header to define __stub macros and hopefully few prototypes,
79179 which can conflict with char $ac_func (); below.
79180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79181 <limits.h> exists even on freestanding compilers. */
79183 #ifdef __STDC__
79184 # include <limits.h>
79185 #else
79186 # include <assert.h>
79187 #endif
79189 #undef $ac_func
79191 /* Override any gcc2 internal prototype to avoid an error. */
79192 #ifdef __cplusplus
79193 extern "C"
79195 #endif
79196 /* We use char because int might match the return type of a gcc2
79197 builtin and then its argument prototype would still apply. */
79198 char $ac_func ();
79199 /* The GNU C library defines this for functions which it implements
79200 to always fail with ENOSYS. Some functions are actually named
79201 something starting with __ and the normal name is an alias. */
79202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79203 choke me
79204 #else
79205 char (*f) () = $ac_func;
79206 #endif
79207 #ifdef __cplusplus
79209 #endif
79212 main ()
79214 return f != $ac_func;
79216 return 0;
79218 _ACEOF
79219 rm -f conftest.$ac_objext conftest$ac_exeext
79220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79221 (eval $ac_link) 2>conftest.er1
79222 ac_status=$?
79223 grep -v '^ *+' conftest.er1 >conftest.err
79224 rm -f conftest.er1
79225 cat conftest.err >&5
79226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79227 (exit $ac_status); } &&
79228 { ac_try='test -z "$ac_c_werror_flag"
79229 || test ! -s conftest.err'
79230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79231 (eval $ac_try) 2>&5
79232 ac_status=$?
79233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79234 (exit $ac_status); }; } &&
79235 { ac_try='test -s conftest$ac_exeext'
79236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79237 (eval $ac_try) 2>&5
79238 ac_status=$?
79239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79240 (exit $ac_status); }; }; then
79241 eval "$as_ac_var=yes"
79242 else
79243 echo "$as_me: failed program was:" >&5
79244 sed 's/^/| /' conftest.$ac_ext >&5
79246 eval "$as_ac_var=no"
79248 rm -f conftest.err conftest.$ac_objext \
79249 conftest$ac_exeext conftest.$ac_ext
79251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79253 if test `eval echo '${'$as_ac_var'}'` = yes; then
79254 cat >>confdefs.h <<_ACEOF
79255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79256 _ACEOF
79258 else
79259 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
79261 done
79264 if test x$ac_cv_func_copysignl = x"yes"; then
79266 for ac_func in __signbitl
79268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79269 echo "$as_me:$LINENO: checking for $ac_func" >&5
79270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79271 if eval "test \"\${$as_ac_var+set}\" = set"; then
79272 echo $ECHO_N "(cached) $ECHO_C" >&6
79273 else
79274 if test x$gcc_no_link = xyes; then
79275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79277 { (exit 1); exit 1; }; }
79279 cat >conftest.$ac_ext <<_ACEOF
79280 /* confdefs.h. */
79281 _ACEOF
79282 cat confdefs.h >>conftest.$ac_ext
79283 cat >>conftest.$ac_ext <<_ACEOF
79284 /* end confdefs.h. */
79285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79287 #define $ac_func innocuous_$ac_func
79289 /* System header to define __stub macros and hopefully few prototypes,
79290 which can conflict with char $ac_func (); below.
79291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79292 <limits.h> exists even on freestanding compilers. */
79294 #ifdef __STDC__
79295 # include <limits.h>
79296 #else
79297 # include <assert.h>
79298 #endif
79300 #undef $ac_func
79302 /* Override any gcc2 internal prototype to avoid an error. */
79303 #ifdef __cplusplus
79304 extern "C"
79306 #endif
79307 /* We use char because int might match the return type of a gcc2
79308 builtin and then its argument prototype would still apply. */
79309 char $ac_func ();
79310 /* The GNU C library defines this for functions which it implements
79311 to always fail with ENOSYS. Some functions are actually named
79312 something starting with __ and the normal name is an alias. */
79313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79314 choke me
79315 #else
79316 char (*f) () = $ac_func;
79317 #endif
79318 #ifdef __cplusplus
79320 #endif
79323 main ()
79325 return f != $ac_func;
79327 return 0;
79329 _ACEOF
79330 rm -f conftest.$ac_objext conftest$ac_exeext
79331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79332 (eval $ac_link) 2>conftest.er1
79333 ac_status=$?
79334 grep -v '^ *+' conftest.er1 >conftest.err
79335 rm -f conftest.er1
79336 cat conftest.err >&5
79337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79338 (exit $ac_status); } &&
79339 { ac_try='test -z "$ac_c_werror_flag"
79340 || test ! -s conftest.err'
79341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79342 (eval $ac_try) 2>&5
79343 ac_status=$?
79344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79345 (exit $ac_status); }; } &&
79346 { ac_try='test -s conftest$ac_exeext'
79347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79348 (eval $ac_try) 2>&5
79349 ac_status=$?
79350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79351 (exit $ac_status); }; }; then
79352 eval "$as_ac_var=yes"
79353 else
79354 echo "$as_me: failed program was:" >&5
79355 sed 's/^/| /' conftest.$ac_ext >&5
79357 eval "$as_ac_var=no"
79359 rm -f conftest.err conftest.$ac_objext \
79360 conftest$ac_exeext conftest.$ac_ext
79362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79364 if test `eval echo '${'$as_ac_var'}'` = yes; then
79365 cat >>confdefs.h <<_ACEOF
79366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79367 _ACEOF
79369 else
79370 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
79372 done
79376 # Used in libmath/Makefile.am.
79377 if test -n "$LIBMATHOBJS"; then
79378 need_libmath=yes
79382 cat >>confdefs.h <<\_ACEOF
79383 #define HAVE_COPYSIGN 1
79384 _ACEOF
79386 cat >>confdefs.h <<\_ACEOF
79387 #define HAVE_COPYSIGNF 1
79388 _ACEOF
79390 cat >>confdefs.h <<\_ACEOF
79391 #define HAVE_FINITEF 1
79392 _ACEOF
79394 cat >>confdefs.h <<\_ACEOF
79395 #define HAVE_FINITE 1
79396 _ACEOF
79398 cat >>confdefs.h <<\_ACEOF
79399 #define HAVE_FREXPF 1
79400 _ACEOF
79402 cat >>confdefs.h <<\_ACEOF
79403 #define HAVE_HYPOTF 1
79404 _ACEOF
79406 cat >>confdefs.h <<\_ACEOF
79407 #define HAVE_ISINF 1
79408 _ACEOF
79410 cat >>confdefs.h <<\_ACEOF
79411 #define HAVE_ISINFF 1
79412 _ACEOF
79414 cat >>confdefs.h <<\_ACEOF
79415 #define HAVE_ISNAN 1
79416 _ACEOF
79418 cat >>confdefs.h <<\_ACEOF
79419 #define HAVE_ISNANF 1
79420 _ACEOF
79422 if test x"long_double_math_on_this_cpu" = x"yes"; then
79423 cat >>confdefs.h <<\_ACEOF
79424 #define HAVE_FINITEL 1
79425 _ACEOF
79427 cat >>confdefs.h <<\_ACEOF
79428 #define HAVE_ISINFL 1
79429 _ACEOF
79431 cat >>confdefs.h <<\_ACEOF
79432 #define HAVE_ISNANL 1
79433 _ACEOF
79437 *-netware)
79446 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
79447 sys/types.h locale.h float.h inttypes.h
79449 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79450 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79451 echo "$as_me:$LINENO: checking for $ac_header" >&5
79452 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79453 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79454 echo $ECHO_N "(cached) $ECHO_C" >&6
79456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79457 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79458 else
79459 # Is the header compilable?
79460 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79461 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79462 cat >conftest.$ac_ext <<_ACEOF
79463 /* confdefs.h. */
79464 _ACEOF
79465 cat confdefs.h >>conftest.$ac_ext
79466 cat >>conftest.$ac_ext <<_ACEOF
79467 /* end confdefs.h. */
79468 $ac_includes_default
79469 #include <$ac_header>
79470 _ACEOF
79471 rm -f conftest.$ac_objext
79472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79473 (eval $ac_compile) 2>conftest.er1
79474 ac_status=$?
79475 grep -v '^ *+' conftest.er1 >conftest.err
79476 rm -f conftest.er1
79477 cat conftest.err >&5
79478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79479 (exit $ac_status); } &&
79480 { ac_try='test -z "$ac_c_werror_flag"
79481 || test ! -s conftest.err'
79482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79483 (eval $ac_try) 2>&5
79484 ac_status=$?
79485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79486 (exit $ac_status); }; } &&
79487 { ac_try='test -s conftest.$ac_objext'
79488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79489 (eval $ac_try) 2>&5
79490 ac_status=$?
79491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79492 (exit $ac_status); }; }; then
79493 ac_header_compiler=yes
79494 else
79495 echo "$as_me: failed program was:" >&5
79496 sed 's/^/| /' conftest.$ac_ext >&5
79498 ac_header_compiler=no
79500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79501 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79502 echo "${ECHO_T}$ac_header_compiler" >&6
79504 # Is the header present?
79505 echo "$as_me:$LINENO: checking $ac_header presence" >&5
79506 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
79507 cat >conftest.$ac_ext <<_ACEOF
79508 /* confdefs.h. */
79509 _ACEOF
79510 cat confdefs.h >>conftest.$ac_ext
79511 cat >>conftest.$ac_ext <<_ACEOF
79512 /* end confdefs.h. */
79513 #include <$ac_header>
79514 _ACEOF
79515 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79516 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79517 ac_status=$?
79518 grep -v '^ *+' conftest.er1 >conftest.err
79519 rm -f conftest.er1
79520 cat conftest.err >&5
79521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79522 (exit $ac_status); } >/dev/null; then
79523 if test -s conftest.err; then
79524 ac_cpp_err=$ac_c_preproc_warn_flag
79525 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79526 else
79527 ac_cpp_err=
79529 else
79530 ac_cpp_err=yes
79532 if test -z "$ac_cpp_err"; then
79533 ac_header_preproc=yes
79534 else
79535 echo "$as_me: failed program was:" >&5
79536 sed 's/^/| /' conftest.$ac_ext >&5
79538 ac_header_preproc=no
79540 rm -f conftest.err conftest.$ac_ext
79541 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79542 echo "${ECHO_T}$ac_header_preproc" >&6
79544 # So? What about this header?
79545 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79546 yes:no: )
79547 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
79548 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
79549 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
79550 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
79551 ac_header_preproc=yes
79553 no:yes:* )
79554 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
79555 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
79556 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
79557 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
79558 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
79559 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
79560 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
79561 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
79562 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79563 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79564 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
79565 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
79567 cat <<\_ASBOX
79568 ## ----------------------------------------- ##
79569 ## Report this to the package-unused lists. ##
79570 ## ----------------------------------------- ##
79571 _ASBOX
79573 sed "s/^/$as_me: WARNING: /" >&2
79575 esac
79576 echo "$as_me:$LINENO: checking for $ac_header" >&5
79577 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79578 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79579 echo $ECHO_N "(cached) $ECHO_C" >&6
79580 else
79581 eval "$as_ac_Header=\$ac_header_preproc"
79583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79584 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79587 if test `eval echo '${'$as_ac_Header'}'` = yes; then
79588 cat >>confdefs.h <<_ACEOF
79589 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
79590 _ACEOF
79594 done
79596 SECTION_FLAGS='-ffunction-sections -fdata-sections'
79599 # If we're not using GNU ld, then there's no point in even trying these
79600 # tests. Check for that first. We should have already tested for gld
79601 # by now (in libtool), but require it now just to be safe...
79602 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
79603 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
79607 # The name set by libtool depends on the version of libtool. Shame on us
79608 # for depending on an impl detail, but c'est la vie. Older versions used
79609 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
79610 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
79611 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
79612 # set (hence we're using an older libtool), then set it.
79613 if test x${with_gnu_ld+set} != xset; then
79614 if test x${ac_cv_prog_gnu_ld+set} != xset; then
79615 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
79616 with_gnu_ld=no
79617 else
79618 with_gnu_ld=$ac_cv_prog_gnu_ld
79622 # Start by getting the version number. I think the libtool test already
79623 # does some of this, but throws away the result.
79624 if test x"$with_gnu_ld" = x"yes"; then
79625 echo "$as_me:$LINENO: checking for ld version" >&5
79626 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
79628 ldver=`$LD --version 2>/dev/null | head -1 | \
79629 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
79631 glibcxx_gnu_ld_version=`echo $ldver | \
79632 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
79633 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
79634 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
79637 # Set --gc-sections.
79638 glibcxx_gcsections_min_ld=21602
79639 if test x"$with_gnu_ld" = x"yes" &&
79640 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
79642 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
79643 # NB: This flag only works reliably after 2.16.1. Configure tests
79644 # for this are difficult, so hard wire a value that should work.
79646 # All these tests are for C++, but run with the "C" compiler driver.
79647 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
79648 ac_test_CFLAGS="${CFLAGS+set}"
79649 ac_save_CFLAGS="$CFLAGS"
79650 CFLAGS='-x c++ -Wl,--gc-sections'
79652 # Check for -Wl,--gc-sections
79653 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
79654 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
79655 if test x$gcc_no_link = xyes; then
79656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79658 { (exit 1); exit 1; }; }
79660 cat >conftest.$ac_ext <<_ACEOF
79661 /* confdefs.h. */
79662 _ACEOF
79663 cat confdefs.h >>conftest.$ac_ext
79664 cat >>conftest.$ac_ext <<_ACEOF
79665 /* end confdefs.h. */
79666 int one(void) { return 1; }
79667 int two(void) { return 2; }
79670 main ()
79672 two();
79674 return 0;
79676 _ACEOF
79677 rm -f conftest.$ac_objext conftest$ac_exeext
79678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79679 (eval $ac_link) 2>conftest.er1
79680 ac_status=$?
79681 grep -v '^ *+' conftest.er1 >conftest.err
79682 rm -f conftest.er1
79683 cat conftest.err >&5
79684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79685 (exit $ac_status); } &&
79686 { ac_try='test -z "$ac_c_werror_flag"
79687 || test ! -s conftest.err'
79688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79689 (eval $ac_try) 2>&5
79690 ac_status=$?
79691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79692 (exit $ac_status); }; } &&
79693 { ac_try='test -s conftest$ac_exeext'
79694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79695 (eval $ac_try) 2>&5
79696 ac_status=$?
79697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79698 (exit $ac_status); }; }; then
79699 ac_gcsections=yes
79700 else
79701 echo "$as_me: failed program was:" >&5
79702 sed 's/^/| /' conftest.$ac_ext >&5
79704 ac_gcsections=no
79706 rm -f conftest.err conftest.$ac_objext \
79707 conftest$ac_exeext conftest.$ac_ext
79708 if test "$ac_gcsections" = "yes"; then
79709 rm -f conftest.c
79710 touch conftest.c
79711 if $CC -c conftest.c; then
79712 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
79713 grep "Warning: gc-sections option ignored" > /dev/null; then
79714 ac_gcsections=no
79717 rm -f conftest.c conftest.o conftest
79719 if test "$ac_gcsections" = "yes"; then
79720 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
79722 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
79723 echo "${ECHO_T}$ac_gcsections" >&6
79725 if test "$ac_test_CFLAGS" = set; then
79726 CFLAGS="$ac_save_CFLAGS"
79727 else
79728 # this is the suspicious part
79729 CFLAGS=''
79733 # Set -z,relro.
79734 # Note this is only for shared objects.
79735 ac_ld_relro=no
79736 if test x"$with_gnu_ld" = x"yes"; then
79737 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
79738 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
79739 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
79740 if test -n "$cxx_z_relo"; then
79741 OPT_LDFLAGS="-Wl,-z,relro"
79742 ac_ld_relro=yes
79744 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
79745 echo "${ECHO_T}$ac_ld_relro" >&6
79748 # Set linker optimization flags.
79749 if test x"$with_gnu_ld" = x"yes"; then
79750 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
79758 echo "$as_me:$LINENO: checking for main in -lm" >&5
79759 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
79760 if test "${ac_cv_lib_m_main+set}" = set; then
79761 echo $ECHO_N "(cached) $ECHO_C" >&6
79762 else
79763 ac_check_lib_save_LIBS=$LIBS
79764 LIBS="-lm $LIBS"
79765 if test x$gcc_no_link = xyes; then
79766 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79768 { (exit 1); exit 1; }; }
79770 cat >conftest.$ac_ext <<_ACEOF
79771 /* confdefs.h. */
79772 _ACEOF
79773 cat confdefs.h >>conftest.$ac_ext
79774 cat >>conftest.$ac_ext <<_ACEOF
79775 /* end confdefs.h. */
79779 main ()
79781 main ();
79783 return 0;
79785 _ACEOF
79786 rm -f conftest.$ac_objext conftest$ac_exeext
79787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79788 (eval $ac_link) 2>conftest.er1
79789 ac_status=$?
79790 grep -v '^ *+' conftest.er1 >conftest.err
79791 rm -f conftest.er1
79792 cat conftest.err >&5
79793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79794 (exit $ac_status); } &&
79795 { ac_try='test -z "$ac_c_werror_flag"
79796 || test ! -s conftest.err'
79797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79798 (eval $ac_try) 2>&5
79799 ac_status=$?
79800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79801 (exit $ac_status); }; } &&
79802 { ac_try='test -s conftest$ac_exeext'
79803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79804 (eval $ac_try) 2>&5
79805 ac_status=$?
79806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79807 (exit $ac_status); }; }; then
79808 ac_cv_lib_m_main=yes
79809 else
79810 echo "$as_me: failed program was:" >&5
79811 sed 's/^/| /' conftest.$ac_ext >&5
79813 ac_cv_lib_m_main=no
79815 rm -f conftest.err conftest.$ac_objext \
79816 conftest$ac_exeext conftest.$ac_ext
79817 LIBS=$ac_check_lib_save_LIBS
79819 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
79820 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
79821 if test $ac_cv_lib_m_main = yes; then
79822 cat >>confdefs.h <<_ACEOF
79823 #define HAVE_LIBM 1
79824 _ACEOF
79826 LIBS="-lm $LIBS"
79831 for ac_func in copysignf
79833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79834 echo "$as_me:$LINENO: checking for $ac_func" >&5
79835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79836 if eval "test \"\${$as_ac_var+set}\" = set"; then
79837 echo $ECHO_N "(cached) $ECHO_C" >&6
79838 else
79839 if test x$gcc_no_link = xyes; then
79840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79842 { (exit 1); exit 1; }; }
79844 cat >conftest.$ac_ext <<_ACEOF
79845 /* confdefs.h. */
79846 _ACEOF
79847 cat confdefs.h >>conftest.$ac_ext
79848 cat >>conftest.$ac_ext <<_ACEOF
79849 /* end confdefs.h. */
79850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79852 #define $ac_func innocuous_$ac_func
79854 /* System header to define __stub macros and hopefully few prototypes,
79855 which can conflict with char $ac_func (); below.
79856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79857 <limits.h> exists even on freestanding compilers. */
79859 #ifdef __STDC__
79860 # include <limits.h>
79861 #else
79862 # include <assert.h>
79863 #endif
79865 #undef $ac_func
79867 /* Override any gcc2 internal prototype to avoid an error. */
79868 #ifdef __cplusplus
79869 extern "C"
79871 #endif
79872 /* We use char because int might match the return type of a gcc2
79873 builtin and then its argument prototype would still apply. */
79874 char $ac_func ();
79875 /* The GNU C library defines this for functions which it implements
79876 to always fail with ENOSYS. Some functions are actually named
79877 something starting with __ and the normal name is an alias. */
79878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79879 choke me
79880 #else
79881 char (*f) () = $ac_func;
79882 #endif
79883 #ifdef __cplusplus
79885 #endif
79888 main ()
79890 return f != $ac_func;
79892 return 0;
79894 _ACEOF
79895 rm -f conftest.$ac_objext conftest$ac_exeext
79896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79897 (eval $ac_link) 2>conftest.er1
79898 ac_status=$?
79899 grep -v '^ *+' conftest.er1 >conftest.err
79900 rm -f conftest.er1
79901 cat conftest.err >&5
79902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79903 (exit $ac_status); } &&
79904 { ac_try='test -z "$ac_c_werror_flag"
79905 || test ! -s conftest.err'
79906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79907 (eval $ac_try) 2>&5
79908 ac_status=$?
79909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79910 (exit $ac_status); }; } &&
79911 { ac_try='test -s conftest$ac_exeext'
79912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79913 (eval $ac_try) 2>&5
79914 ac_status=$?
79915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79916 (exit $ac_status); }; }; then
79917 eval "$as_ac_var=yes"
79918 else
79919 echo "$as_me: failed program was:" >&5
79920 sed 's/^/| /' conftest.$ac_ext >&5
79922 eval "$as_ac_var=no"
79924 rm -f conftest.err conftest.$ac_objext \
79925 conftest$ac_exeext conftest.$ac_ext
79927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79929 if test `eval echo '${'$as_ac_var'}'` = yes; then
79930 cat >>confdefs.h <<_ACEOF
79931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79932 _ACEOF
79934 else
79935 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
79937 done
79941 for ac_func in __signbit
79943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79944 echo "$as_me:$LINENO: checking for $ac_func" >&5
79945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79946 if eval "test \"\${$as_ac_var+set}\" = set"; then
79947 echo $ECHO_N "(cached) $ECHO_C" >&6
79948 else
79949 if test x$gcc_no_link = xyes; then
79950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79952 { (exit 1); exit 1; }; }
79954 cat >conftest.$ac_ext <<_ACEOF
79955 /* confdefs.h. */
79956 _ACEOF
79957 cat confdefs.h >>conftest.$ac_ext
79958 cat >>conftest.$ac_ext <<_ACEOF
79959 /* end confdefs.h. */
79960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79962 #define $ac_func innocuous_$ac_func
79964 /* System header to define __stub macros and hopefully few prototypes,
79965 which can conflict with char $ac_func (); below.
79966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79967 <limits.h> exists even on freestanding compilers. */
79969 #ifdef __STDC__
79970 # include <limits.h>
79971 #else
79972 # include <assert.h>
79973 #endif
79975 #undef $ac_func
79977 /* Override any gcc2 internal prototype to avoid an error. */
79978 #ifdef __cplusplus
79979 extern "C"
79981 #endif
79982 /* We use char because int might match the return type of a gcc2
79983 builtin and then its argument prototype would still apply. */
79984 char $ac_func ();
79985 /* The GNU C library defines this for functions which it implements
79986 to always fail with ENOSYS. Some functions are actually named
79987 something starting with __ and the normal name is an alias. */
79988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79989 choke me
79990 #else
79991 char (*f) () = $ac_func;
79992 #endif
79993 #ifdef __cplusplus
79995 #endif
79998 main ()
80000 return f != $ac_func;
80002 return 0;
80004 _ACEOF
80005 rm -f conftest.$ac_objext conftest$ac_exeext
80006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80007 (eval $ac_link) 2>conftest.er1
80008 ac_status=$?
80009 grep -v '^ *+' conftest.er1 >conftest.err
80010 rm -f conftest.er1
80011 cat conftest.err >&5
80012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80013 (exit $ac_status); } &&
80014 { ac_try='test -z "$ac_c_werror_flag"
80015 || test ! -s conftest.err'
80016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80017 (eval $ac_try) 2>&5
80018 ac_status=$?
80019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80020 (exit $ac_status); }; } &&
80021 { ac_try='test -s conftest$ac_exeext'
80022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80023 (eval $ac_try) 2>&5
80024 ac_status=$?
80025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80026 (exit $ac_status); }; }; then
80027 eval "$as_ac_var=yes"
80028 else
80029 echo "$as_me: failed program was:" >&5
80030 sed 's/^/| /' conftest.$ac_ext >&5
80032 eval "$as_ac_var=no"
80034 rm -f conftest.err conftest.$ac_objext \
80035 conftest$ac_exeext conftest.$ac_ext
80037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80039 if test `eval echo '${'$as_ac_var'}'` = yes; then
80040 cat >>confdefs.h <<_ACEOF
80041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80042 _ACEOF
80044 else
80045 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
80047 done
80051 for ac_func in __signbitf
80053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80054 echo "$as_me:$LINENO: checking for $ac_func" >&5
80055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80056 if eval "test \"\${$as_ac_var+set}\" = set"; then
80057 echo $ECHO_N "(cached) $ECHO_C" >&6
80058 else
80059 if test x$gcc_no_link = xyes; then
80060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80062 { (exit 1); exit 1; }; }
80064 cat >conftest.$ac_ext <<_ACEOF
80065 /* confdefs.h. */
80066 _ACEOF
80067 cat confdefs.h >>conftest.$ac_ext
80068 cat >>conftest.$ac_ext <<_ACEOF
80069 /* end confdefs.h. */
80070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80072 #define $ac_func innocuous_$ac_func
80074 /* System header to define __stub macros and hopefully few prototypes,
80075 which can conflict with char $ac_func (); below.
80076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80077 <limits.h> exists even on freestanding compilers. */
80079 #ifdef __STDC__
80080 # include <limits.h>
80081 #else
80082 # include <assert.h>
80083 #endif
80085 #undef $ac_func
80087 /* Override any gcc2 internal prototype to avoid an error. */
80088 #ifdef __cplusplus
80089 extern "C"
80091 #endif
80092 /* We use char because int might match the return type of a gcc2
80093 builtin and then its argument prototype would still apply. */
80094 char $ac_func ();
80095 /* The GNU C library defines this for functions which it implements
80096 to always fail with ENOSYS. Some functions are actually named
80097 something starting with __ and the normal name is an alias. */
80098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80099 choke me
80100 #else
80101 char (*f) () = $ac_func;
80102 #endif
80103 #ifdef __cplusplus
80105 #endif
80108 main ()
80110 return f != $ac_func;
80112 return 0;
80114 _ACEOF
80115 rm -f conftest.$ac_objext conftest$ac_exeext
80116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80117 (eval $ac_link) 2>conftest.er1
80118 ac_status=$?
80119 grep -v '^ *+' conftest.er1 >conftest.err
80120 rm -f conftest.er1
80121 cat conftest.err >&5
80122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80123 (exit $ac_status); } &&
80124 { ac_try='test -z "$ac_c_werror_flag"
80125 || test ! -s conftest.err'
80126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80127 (eval $ac_try) 2>&5
80128 ac_status=$?
80129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80130 (exit $ac_status); }; } &&
80131 { ac_try='test -s conftest$ac_exeext'
80132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80133 (eval $ac_try) 2>&5
80134 ac_status=$?
80135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80136 (exit $ac_status); }; }; then
80137 eval "$as_ac_var=yes"
80138 else
80139 echo "$as_me: failed program was:" >&5
80140 sed 's/^/| /' conftest.$ac_ext >&5
80142 eval "$as_ac_var=no"
80144 rm -f conftest.err conftest.$ac_objext \
80145 conftest$ac_exeext conftest.$ac_ext
80147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80149 if test `eval echo '${'$as_ac_var'}'` = yes; then
80150 cat >>confdefs.h <<_ACEOF
80151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80152 _ACEOF
80154 else
80155 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
80157 done
80160 if test x$ac_cv_func_copysignl = x"yes"; then
80162 for ac_func in __signbitl
80164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80165 echo "$as_me:$LINENO: checking for $ac_func" >&5
80166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80167 if eval "test \"\${$as_ac_var+set}\" = set"; then
80168 echo $ECHO_N "(cached) $ECHO_C" >&6
80169 else
80170 if test x$gcc_no_link = xyes; then
80171 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80173 { (exit 1); exit 1; }; }
80175 cat >conftest.$ac_ext <<_ACEOF
80176 /* confdefs.h. */
80177 _ACEOF
80178 cat confdefs.h >>conftest.$ac_ext
80179 cat >>conftest.$ac_ext <<_ACEOF
80180 /* end confdefs.h. */
80181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80183 #define $ac_func innocuous_$ac_func
80185 /* System header to define __stub macros and hopefully few prototypes,
80186 which can conflict with char $ac_func (); below.
80187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80188 <limits.h> exists even on freestanding compilers. */
80190 #ifdef __STDC__
80191 # include <limits.h>
80192 #else
80193 # include <assert.h>
80194 #endif
80196 #undef $ac_func
80198 /* Override any gcc2 internal prototype to avoid an error. */
80199 #ifdef __cplusplus
80200 extern "C"
80202 #endif
80203 /* We use char because int might match the return type of a gcc2
80204 builtin and then its argument prototype would still apply. */
80205 char $ac_func ();
80206 /* The GNU C library defines this for functions which it implements
80207 to always fail with ENOSYS. Some functions are actually named
80208 something starting with __ and the normal name is an alias. */
80209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80210 choke me
80211 #else
80212 char (*f) () = $ac_func;
80213 #endif
80214 #ifdef __cplusplus
80216 #endif
80219 main ()
80221 return f != $ac_func;
80223 return 0;
80225 _ACEOF
80226 rm -f conftest.$ac_objext conftest$ac_exeext
80227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80228 (eval $ac_link) 2>conftest.er1
80229 ac_status=$?
80230 grep -v '^ *+' conftest.er1 >conftest.err
80231 rm -f conftest.er1
80232 cat conftest.err >&5
80233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80234 (exit $ac_status); } &&
80235 { ac_try='test -z "$ac_c_werror_flag"
80236 || test ! -s conftest.err'
80237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80238 (eval $ac_try) 2>&5
80239 ac_status=$?
80240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80241 (exit $ac_status); }; } &&
80242 { ac_try='test -s conftest$ac_exeext'
80243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80244 (eval $ac_try) 2>&5
80245 ac_status=$?
80246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80247 (exit $ac_status); }; }; then
80248 eval "$as_ac_var=yes"
80249 else
80250 echo "$as_me: failed program was:" >&5
80251 sed 's/^/| /' conftest.$ac_ext >&5
80253 eval "$as_ac_var=no"
80255 rm -f conftest.err conftest.$ac_objext \
80256 conftest$ac_exeext conftest.$ac_ext
80258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80260 if test `eval echo '${'$as_ac_var'}'` = yes; then
80261 cat >>confdefs.h <<_ACEOF
80262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80263 _ACEOF
80265 else
80266 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
80268 done
80272 # Used in libmath/Makefile.am.
80273 if test -n "$LIBMATHOBJS"; then
80274 need_libmath=yes
80278 cat >>confdefs.h <<\_ACEOF
80279 #define HAVE_HYPOT 1
80280 _ACEOF
80282 cat >>confdefs.h <<\_ACEOF
80283 #define HAVE_ISINF 1
80284 _ACEOF
80286 cat >>confdefs.h <<\_ACEOF
80287 #define HAVE_ISNAN 1
80288 _ACEOF
80291 # For showmanyc_helper().
80294 for ac_header in sys/ioctl.h sys/filio.h
80296 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80297 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80298 echo "$as_me:$LINENO: checking for $ac_header" >&5
80299 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80300 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80301 echo $ECHO_N "(cached) $ECHO_C" >&6
80303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80304 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80305 else
80306 # Is the header compilable?
80307 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80308 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80309 cat >conftest.$ac_ext <<_ACEOF
80310 /* confdefs.h. */
80311 _ACEOF
80312 cat confdefs.h >>conftest.$ac_ext
80313 cat >>conftest.$ac_ext <<_ACEOF
80314 /* end confdefs.h. */
80315 $ac_includes_default
80316 #include <$ac_header>
80317 _ACEOF
80318 rm -f conftest.$ac_objext
80319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80320 (eval $ac_compile) 2>conftest.er1
80321 ac_status=$?
80322 grep -v '^ *+' conftest.er1 >conftest.err
80323 rm -f conftest.er1
80324 cat conftest.err >&5
80325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80326 (exit $ac_status); } &&
80327 { ac_try='test -z "$ac_c_werror_flag"
80328 || test ! -s conftest.err'
80329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80330 (eval $ac_try) 2>&5
80331 ac_status=$?
80332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80333 (exit $ac_status); }; } &&
80334 { ac_try='test -s conftest.$ac_objext'
80335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80336 (eval $ac_try) 2>&5
80337 ac_status=$?
80338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80339 (exit $ac_status); }; }; then
80340 ac_header_compiler=yes
80341 else
80342 echo "$as_me: failed program was:" >&5
80343 sed 's/^/| /' conftest.$ac_ext >&5
80345 ac_header_compiler=no
80347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80348 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80349 echo "${ECHO_T}$ac_header_compiler" >&6
80351 # Is the header present?
80352 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80353 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80354 cat >conftest.$ac_ext <<_ACEOF
80355 /* confdefs.h. */
80356 _ACEOF
80357 cat confdefs.h >>conftest.$ac_ext
80358 cat >>conftest.$ac_ext <<_ACEOF
80359 /* end confdefs.h. */
80360 #include <$ac_header>
80361 _ACEOF
80362 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80363 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80364 ac_status=$?
80365 grep -v '^ *+' conftest.er1 >conftest.err
80366 rm -f conftest.er1
80367 cat conftest.err >&5
80368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80369 (exit $ac_status); } >/dev/null; then
80370 if test -s conftest.err; then
80371 ac_cpp_err=$ac_c_preproc_warn_flag
80372 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80373 else
80374 ac_cpp_err=
80376 else
80377 ac_cpp_err=yes
80379 if test -z "$ac_cpp_err"; then
80380 ac_header_preproc=yes
80381 else
80382 echo "$as_me: failed program was:" >&5
80383 sed 's/^/| /' conftest.$ac_ext >&5
80385 ac_header_preproc=no
80387 rm -f conftest.err conftest.$ac_ext
80388 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80389 echo "${ECHO_T}$ac_header_preproc" >&6
80391 # So? What about this header?
80392 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80393 yes:no: )
80394 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80395 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80396 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80397 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80398 ac_header_preproc=yes
80400 no:yes:* )
80401 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80402 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80403 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80404 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80405 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80406 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80407 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
80408 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
80409 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80410 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80411 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80412 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80414 cat <<\_ASBOX
80415 ## ----------------------------------------- ##
80416 ## Report this to the package-unused lists. ##
80417 ## ----------------------------------------- ##
80418 _ASBOX
80420 sed "s/^/$as_me: WARNING: /" >&2
80422 esac
80423 echo "$as_me:$LINENO: checking for $ac_header" >&5
80424 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80425 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80426 echo $ECHO_N "(cached) $ECHO_C" >&6
80427 else
80428 eval "$as_ac_Header=\$ac_header_preproc"
80430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80431 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80434 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80435 cat >>confdefs.h <<_ACEOF
80436 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80437 _ACEOF
80441 done
80444 echo "$as_me:$LINENO: checking for poll" >&5
80445 echo $ECHO_N "checking for poll... $ECHO_C" >&6
80446 if test "${glibcxx_cv_POLL+set}" = set; then
80447 echo $ECHO_N "(cached) $ECHO_C" >&6
80448 else
80450 if test x$gcc_no_link = xyes; then
80451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80453 { (exit 1); exit 1; }; }
80455 cat >conftest.$ac_ext <<_ACEOF
80456 /* confdefs.h. */
80457 _ACEOF
80458 cat confdefs.h >>conftest.$ac_ext
80459 cat >>conftest.$ac_ext <<_ACEOF
80460 /* end confdefs.h. */
80461 #include <poll.h>
80463 main ()
80465 struct pollfd pfd[1];
80466 pfd[0].events = POLLIN;
80467 poll(pfd, 1, 0);
80469 return 0;
80471 _ACEOF
80472 rm -f conftest.$ac_objext conftest$ac_exeext
80473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80474 (eval $ac_link) 2>conftest.er1
80475 ac_status=$?
80476 grep -v '^ *+' conftest.er1 >conftest.err
80477 rm -f conftest.er1
80478 cat conftest.err >&5
80479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80480 (exit $ac_status); } &&
80481 { ac_try='test -z "$ac_c_werror_flag"
80482 || test ! -s conftest.err'
80483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80484 (eval $ac_try) 2>&5
80485 ac_status=$?
80486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80487 (exit $ac_status); }; } &&
80488 { ac_try='test -s conftest$ac_exeext'
80489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80490 (eval $ac_try) 2>&5
80491 ac_status=$?
80492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80493 (exit $ac_status); }; }; then
80494 glibcxx_cv_POLL=yes
80495 else
80496 echo "$as_me: failed program was:" >&5
80497 sed 's/^/| /' conftest.$ac_ext >&5
80499 glibcxx_cv_POLL=no
80501 rm -f conftest.err conftest.$ac_objext \
80502 conftest$ac_exeext conftest.$ac_ext
80506 if test $glibcxx_cv_POLL = yes; then
80508 cat >>confdefs.h <<\_ACEOF
80509 #define HAVE_POLL 1
80510 _ACEOF
80513 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
80514 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
80517 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
80518 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
80519 if test "${glibcxx_cv_S_ISREG+set}" = set; then
80520 echo $ECHO_N "(cached) $ECHO_C" >&6
80521 else
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; }; }
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 #include <sys/stat.h>
80536 main ()
80538 struct stat buffer;
80539 fstat(0, &buffer);
80540 S_ISREG(buffer.st_mode);
80542 return 0;
80544 _ACEOF
80545 rm -f conftest.$ac_objext conftest$ac_exeext
80546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80547 (eval $ac_link) 2>conftest.er1
80548 ac_status=$?
80549 grep -v '^ *+' conftest.er1 >conftest.err
80550 rm -f conftest.er1
80551 cat conftest.err >&5
80552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80553 (exit $ac_status); } &&
80554 { ac_try='test -z "$ac_c_werror_flag"
80555 || test ! -s conftest.err'
80556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80557 (eval $ac_try) 2>&5
80558 ac_status=$?
80559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80560 (exit $ac_status); }; } &&
80561 { ac_try='test -s conftest$ac_exeext'
80562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80563 (eval $ac_try) 2>&5
80564 ac_status=$?
80565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80566 (exit $ac_status); }; }; then
80567 glibcxx_cv_S_ISREG=yes
80568 else
80569 echo "$as_me: failed program was:" >&5
80570 sed 's/^/| /' conftest.$ac_ext >&5
80572 glibcxx_cv_S_ISREG=no
80574 rm -f conftest.err conftest.$ac_objext \
80575 conftest$ac_exeext conftest.$ac_ext
80579 if test "${glibcxx_cv_S_IFREG+set}" = set; then
80580 echo $ECHO_N "(cached) $ECHO_C" >&6
80581 else
80583 if test x$gcc_no_link = xyes; then
80584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80586 { (exit 1); exit 1; }; }
80588 cat >conftest.$ac_ext <<_ACEOF
80589 /* confdefs.h. */
80590 _ACEOF
80591 cat confdefs.h >>conftest.$ac_ext
80592 cat >>conftest.$ac_ext <<_ACEOF
80593 /* end confdefs.h. */
80594 #include <sys/stat.h>
80596 main ()
80598 struct stat buffer;
80599 fstat(0, &buffer);
80600 S_IFREG & buffer.st_mode;
80602 return 0;
80604 _ACEOF
80605 rm -f conftest.$ac_objext conftest$ac_exeext
80606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80607 (eval $ac_link) 2>conftest.er1
80608 ac_status=$?
80609 grep -v '^ *+' conftest.er1 >conftest.err
80610 rm -f conftest.er1
80611 cat conftest.err >&5
80612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80613 (exit $ac_status); } &&
80614 { ac_try='test -z "$ac_c_werror_flag"
80615 || test ! -s conftest.err'
80616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80617 (eval $ac_try) 2>&5
80618 ac_status=$?
80619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80620 (exit $ac_status); }; } &&
80621 { ac_try='test -s conftest$ac_exeext'
80622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80623 (eval $ac_try) 2>&5
80624 ac_status=$?
80625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80626 (exit $ac_status); }; }; then
80627 glibcxx_cv_S_IFREG=yes
80628 else
80629 echo "$as_me: failed program was:" >&5
80630 sed 's/^/| /' conftest.$ac_ext >&5
80632 glibcxx_cv_S_IFREG=no
80634 rm -f conftest.err conftest.$ac_objext \
80635 conftest$ac_exeext conftest.$ac_ext
80639 res=no
80640 if test $glibcxx_cv_S_ISREG = yes; then
80642 cat >>confdefs.h <<\_ACEOF
80643 #define HAVE_S_ISREG 1
80644 _ACEOF
80646 res=S_ISREG
80647 elif test $glibcxx_cv_S_IFREG = yes; then
80649 cat >>confdefs.h <<\_ACEOF
80650 #define HAVE_S_IFREG 1
80651 _ACEOF
80653 res=S_IFREG
80655 echo "$as_me:$LINENO: result: $res" >&5
80656 echo "${ECHO_T}$res" >&6
80659 # For xsputn_2().
80661 for ac_header in sys/uio.h
80663 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80664 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80665 echo "$as_me:$LINENO: checking for $ac_header" >&5
80666 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80667 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80668 echo $ECHO_N "(cached) $ECHO_C" >&6
80670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80671 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80672 else
80673 # Is the header compilable?
80674 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80675 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80676 cat >conftest.$ac_ext <<_ACEOF
80677 /* confdefs.h. */
80678 _ACEOF
80679 cat confdefs.h >>conftest.$ac_ext
80680 cat >>conftest.$ac_ext <<_ACEOF
80681 /* end confdefs.h. */
80682 $ac_includes_default
80683 #include <$ac_header>
80684 _ACEOF
80685 rm -f conftest.$ac_objext
80686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80687 (eval $ac_compile) 2>conftest.er1
80688 ac_status=$?
80689 grep -v '^ *+' conftest.er1 >conftest.err
80690 rm -f conftest.er1
80691 cat conftest.err >&5
80692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80693 (exit $ac_status); } &&
80694 { ac_try='test -z "$ac_c_werror_flag"
80695 || test ! -s conftest.err'
80696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80697 (eval $ac_try) 2>&5
80698 ac_status=$?
80699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80700 (exit $ac_status); }; } &&
80701 { ac_try='test -s conftest.$ac_objext'
80702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80703 (eval $ac_try) 2>&5
80704 ac_status=$?
80705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80706 (exit $ac_status); }; }; then
80707 ac_header_compiler=yes
80708 else
80709 echo "$as_me: failed program was:" >&5
80710 sed 's/^/| /' conftest.$ac_ext >&5
80712 ac_header_compiler=no
80714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80715 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80716 echo "${ECHO_T}$ac_header_compiler" >&6
80718 # Is the header present?
80719 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80720 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80721 cat >conftest.$ac_ext <<_ACEOF
80722 /* confdefs.h. */
80723 _ACEOF
80724 cat confdefs.h >>conftest.$ac_ext
80725 cat >>conftest.$ac_ext <<_ACEOF
80726 /* end confdefs.h. */
80727 #include <$ac_header>
80728 _ACEOF
80729 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80730 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80731 ac_status=$?
80732 grep -v '^ *+' conftest.er1 >conftest.err
80733 rm -f conftest.er1
80734 cat conftest.err >&5
80735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80736 (exit $ac_status); } >/dev/null; then
80737 if test -s conftest.err; then
80738 ac_cpp_err=$ac_c_preproc_warn_flag
80739 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80740 else
80741 ac_cpp_err=
80743 else
80744 ac_cpp_err=yes
80746 if test -z "$ac_cpp_err"; then
80747 ac_header_preproc=yes
80748 else
80749 echo "$as_me: failed program was:" >&5
80750 sed 's/^/| /' conftest.$ac_ext >&5
80752 ac_header_preproc=no
80754 rm -f conftest.err conftest.$ac_ext
80755 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80756 echo "${ECHO_T}$ac_header_preproc" >&6
80758 # So? What about this header?
80759 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80760 yes:no: )
80761 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80762 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80763 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80764 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80765 ac_header_preproc=yes
80767 no:yes:* )
80768 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80769 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80770 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80771 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80772 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80773 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80774 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
80775 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
80776 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80777 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80778 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80779 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80781 cat <<\_ASBOX
80782 ## ----------------------------------------- ##
80783 ## Report this to the package-unused lists. ##
80784 ## ----------------------------------------- ##
80785 _ASBOX
80787 sed "s/^/$as_me: WARNING: /" >&2
80789 esac
80790 echo "$as_me:$LINENO: checking for $ac_header" >&5
80791 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80792 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80793 echo $ECHO_N "(cached) $ECHO_C" >&6
80794 else
80795 eval "$as_ac_Header=\$ac_header_preproc"
80797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80798 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80801 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80802 cat >>confdefs.h <<_ACEOF
80803 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80804 _ACEOF
80808 done
80811 echo "$as_me:$LINENO: checking for writev" >&5
80812 echo $ECHO_N "checking for writev... $ECHO_C" >&6
80813 if test "${glibcxx_cv_WRITEV+set}" = set; then
80814 echo $ECHO_N "(cached) $ECHO_C" >&6
80815 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; }; }
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 #include <sys/uio.h>
80830 main ()
80832 struct iovec iov[2];
80833 writev(0, iov, 0);
80835 return 0;
80837 _ACEOF
80838 rm -f conftest.$ac_objext conftest$ac_exeext
80839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80840 (eval $ac_link) 2>conftest.er1
80841 ac_status=$?
80842 grep -v '^ *+' conftest.er1 >conftest.err
80843 rm -f conftest.er1
80844 cat conftest.err >&5
80845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80846 (exit $ac_status); } &&
80847 { ac_try='test -z "$ac_c_werror_flag"
80848 || test ! -s conftest.err'
80849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80850 (eval $ac_try) 2>&5
80851 ac_status=$?
80852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80853 (exit $ac_status); }; } &&
80854 { ac_try='test -s conftest$ac_exeext'
80855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80856 (eval $ac_try) 2>&5
80857 ac_status=$?
80858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80859 (exit $ac_status); }; }; then
80860 glibcxx_cv_WRITEV=yes
80861 else
80862 echo "$as_me: failed program was:" >&5
80863 sed 's/^/| /' conftest.$ac_ext >&5
80865 glibcxx_cv_WRITEV=no
80867 rm -f conftest.err conftest.$ac_objext \
80868 conftest$ac_exeext conftest.$ac_ext
80872 if test $glibcxx_cv_WRITEV = yes; then
80874 cat >>confdefs.h <<\_ACEOF
80875 #define HAVE_WRITEV 1
80876 _ACEOF
80879 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
80880 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
80883 *-qnx6.1* | *-qnx6.2*)
80884 SECTION_FLAGS='-ffunction-sections -fdata-sections'
80887 # If we're not using GNU ld, then there's no point in even trying these
80888 # tests. Check for that first. We should have already tested for gld
80889 # by now (in libtool), but require it now just to be safe...
80890 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
80891 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
80895 # The name set by libtool depends on the version of libtool. Shame on us
80896 # for depending on an impl detail, but c'est la vie. Older versions used
80897 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
80898 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
80899 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
80900 # set (hence we're using an older libtool), then set it.
80901 if test x${with_gnu_ld+set} != xset; then
80902 if test x${ac_cv_prog_gnu_ld+set} != xset; then
80903 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
80904 with_gnu_ld=no
80905 else
80906 with_gnu_ld=$ac_cv_prog_gnu_ld
80910 # Start by getting the version number. I think the libtool test already
80911 # does some of this, but throws away the result.
80912 if test x"$with_gnu_ld" = x"yes"; then
80913 echo "$as_me:$LINENO: checking for ld version" >&5
80914 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
80916 ldver=`$LD --version 2>/dev/null | head -1 | \
80917 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
80919 glibcxx_gnu_ld_version=`echo $ldver | \
80920 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
80921 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
80922 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
80925 # Set --gc-sections.
80926 glibcxx_gcsections_min_ld=21602
80927 if test x"$with_gnu_ld" = x"yes" &&
80928 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
80930 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
80931 # NB: This flag only works reliably after 2.16.1. Configure tests
80932 # for this are difficult, so hard wire a value that should work.
80934 # All these tests are for C++, but run with the "C" compiler driver.
80935 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
80936 ac_test_CFLAGS="${CFLAGS+set}"
80937 ac_save_CFLAGS="$CFLAGS"
80938 CFLAGS='-x c++ -Wl,--gc-sections'
80940 # Check for -Wl,--gc-sections
80941 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
80942 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
80943 if test x$gcc_no_link = xyes; then
80944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80946 { (exit 1); exit 1; }; }
80948 cat >conftest.$ac_ext <<_ACEOF
80949 /* confdefs.h. */
80950 _ACEOF
80951 cat confdefs.h >>conftest.$ac_ext
80952 cat >>conftest.$ac_ext <<_ACEOF
80953 /* end confdefs.h. */
80954 int one(void) { return 1; }
80955 int two(void) { return 2; }
80958 main ()
80960 two();
80962 return 0;
80964 _ACEOF
80965 rm -f conftest.$ac_objext conftest$ac_exeext
80966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80967 (eval $ac_link) 2>conftest.er1
80968 ac_status=$?
80969 grep -v '^ *+' conftest.er1 >conftest.err
80970 rm -f conftest.er1
80971 cat conftest.err >&5
80972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80973 (exit $ac_status); } &&
80974 { ac_try='test -z "$ac_c_werror_flag"
80975 || test ! -s conftest.err'
80976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80977 (eval $ac_try) 2>&5
80978 ac_status=$?
80979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80980 (exit $ac_status); }; } &&
80981 { ac_try='test -s conftest$ac_exeext'
80982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80983 (eval $ac_try) 2>&5
80984 ac_status=$?
80985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80986 (exit $ac_status); }; }; then
80987 ac_gcsections=yes
80988 else
80989 echo "$as_me: failed program was:" >&5
80990 sed 's/^/| /' conftest.$ac_ext >&5
80992 ac_gcsections=no
80994 rm -f conftest.err conftest.$ac_objext \
80995 conftest$ac_exeext conftest.$ac_ext
80996 if test "$ac_gcsections" = "yes"; then
80997 rm -f conftest.c
80998 touch conftest.c
80999 if $CC -c conftest.c; then
81000 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
81001 grep "Warning: gc-sections option ignored" > /dev/null; then
81002 ac_gcsections=no
81005 rm -f conftest.c conftest.o conftest
81007 if test "$ac_gcsections" = "yes"; then
81008 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
81010 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
81011 echo "${ECHO_T}$ac_gcsections" >&6
81013 if test "$ac_test_CFLAGS" = set; then
81014 CFLAGS="$ac_save_CFLAGS"
81015 else
81016 # this is the suspicious part
81017 CFLAGS=''
81021 # Set -z,relro.
81022 # Note this is only for shared objects.
81023 ac_ld_relro=no
81024 if test x"$with_gnu_ld" = x"yes"; then
81025 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
81026 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
81027 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
81028 if test -n "$cxx_z_relo"; then
81029 OPT_LDFLAGS="-Wl,-z,relro"
81030 ac_ld_relro=yes
81032 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
81033 echo "${ECHO_T}$ac_ld_relro" >&6
81036 # Set linker optimization flags.
81037 if test x"$with_gnu_ld" = x"yes"; then
81038 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
81046 echo "$as_me:$LINENO: checking for main in -lm" >&5
81047 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
81048 if test "${ac_cv_lib_m_main+set}" = set; then
81049 echo $ECHO_N "(cached) $ECHO_C" >&6
81050 else
81051 ac_check_lib_save_LIBS=$LIBS
81052 LIBS="-lm $LIBS"
81053 if test x$gcc_no_link = xyes; then
81054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81056 { (exit 1); exit 1; }; }
81058 cat >conftest.$ac_ext <<_ACEOF
81059 /* confdefs.h. */
81060 _ACEOF
81061 cat confdefs.h >>conftest.$ac_ext
81062 cat >>conftest.$ac_ext <<_ACEOF
81063 /* end confdefs.h. */
81067 main ()
81069 main ();
81071 return 0;
81073 _ACEOF
81074 rm -f conftest.$ac_objext conftest$ac_exeext
81075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81076 (eval $ac_link) 2>conftest.er1
81077 ac_status=$?
81078 grep -v '^ *+' conftest.er1 >conftest.err
81079 rm -f conftest.er1
81080 cat conftest.err >&5
81081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81082 (exit $ac_status); } &&
81083 { ac_try='test -z "$ac_c_werror_flag"
81084 || test ! -s conftest.err'
81085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81086 (eval $ac_try) 2>&5
81087 ac_status=$?
81088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81089 (exit $ac_status); }; } &&
81090 { ac_try='test -s conftest$ac_exeext'
81091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81092 (eval $ac_try) 2>&5
81093 ac_status=$?
81094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81095 (exit $ac_status); }; }; then
81096 ac_cv_lib_m_main=yes
81097 else
81098 echo "$as_me: failed program was:" >&5
81099 sed 's/^/| /' conftest.$ac_ext >&5
81101 ac_cv_lib_m_main=no
81103 rm -f conftest.err conftest.$ac_objext \
81104 conftest$ac_exeext conftest.$ac_ext
81105 LIBS=$ac_check_lib_save_LIBS
81107 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
81108 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
81109 if test $ac_cv_lib_m_main = yes; then
81110 cat >>confdefs.h <<_ACEOF
81111 #define HAVE_LIBM 1
81112 _ACEOF
81114 LIBS="-lm $LIBS"
81119 for ac_func in copysignf
81121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81122 echo "$as_me:$LINENO: checking for $ac_func" >&5
81123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81124 if eval "test \"\${$as_ac_var+set}\" = set"; then
81125 echo $ECHO_N "(cached) $ECHO_C" >&6
81126 else
81127 if test x$gcc_no_link = xyes; then
81128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81130 { (exit 1); exit 1; }; }
81132 cat >conftest.$ac_ext <<_ACEOF
81133 /* confdefs.h. */
81134 _ACEOF
81135 cat confdefs.h >>conftest.$ac_ext
81136 cat >>conftest.$ac_ext <<_ACEOF
81137 /* end confdefs.h. */
81138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81140 #define $ac_func innocuous_$ac_func
81142 /* System header to define __stub macros and hopefully few prototypes,
81143 which can conflict with char $ac_func (); below.
81144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81145 <limits.h> exists even on freestanding compilers. */
81147 #ifdef __STDC__
81148 # include <limits.h>
81149 #else
81150 # include <assert.h>
81151 #endif
81153 #undef $ac_func
81155 /* Override any gcc2 internal prototype to avoid an error. */
81156 #ifdef __cplusplus
81157 extern "C"
81159 #endif
81160 /* We use char because int might match the return type of a gcc2
81161 builtin and then its argument prototype would still apply. */
81162 char $ac_func ();
81163 /* The GNU C library defines this for functions which it implements
81164 to always fail with ENOSYS. Some functions are actually named
81165 something starting with __ and the normal name is an alias. */
81166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81167 choke me
81168 #else
81169 char (*f) () = $ac_func;
81170 #endif
81171 #ifdef __cplusplus
81173 #endif
81176 main ()
81178 return f != $ac_func;
81180 return 0;
81182 _ACEOF
81183 rm -f conftest.$ac_objext conftest$ac_exeext
81184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81185 (eval $ac_link) 2>conftest.er1
81186 ac_status=$?
81187 grep -v '^ *+' conftest.er1 >conftest.err
81188 rm -f conftest.er1
81189 cat conftest.err >&5
81190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81191 (exit $ac_status); } &&
81192 { ac_try='test -z "$ac_c_werror_flag"
81193 || test ! -s conftest.err'
81194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81195 (eval $ac_try) 2>&5
81196 ac_status=$?
81197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81198 (exit $ac_status); }; } &&
81199 { ac_try='test -s conftest$ac_exeext'
81200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81201 (eval $ac_try) 2>&5
81202 ac_status=$?
81203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81204 (exit $ac_status); }; }; then
81205 eval "$as_ac_var=yes"
81206 else
81207 echo "$as_me: failed program was:" >&5
81208 sed 's/^/| /' conftest.$ac_ext >&5
81210 eval "$as_ac_var=no"
81212 rm -f conftest.err conftest.$ac_objext \
81213 conftest$ac_exeext conftest.$ac_ext
81215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81217 if test `eval echo '${'$as_ac_var'}'` = yes; then
81218 cat >>confdefs.h <<_ACEOF
81219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81220 _ACEOF
81222 else
81223 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
81225 done
81229 for ac_func in __signbit
81231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81232 echo "$as_me:$LINENO: checking for $ac_func" >&5
81233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81234 if eval "test \"\${$as_ac_var+set}\" = set"; then
81235 echo $ECHO_N "(cached) $ECHO_C" >&6
81236 else
81237 if test x$gcc_no_link = xyes; then
81238 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81240 { (exit 1); exit 1; }; }
81242 cat >conftest.$ac_ext <<_ACEOF
81243 /* confdefs.h. */
81244 _ACEOF
81245 cat confdefs.h >>conftest.$ac_ext
81246 cat >>conftest.$ac_ext <<_ACEOF
81247 /* end confdefs.h. */
81248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81250 #define $ac_func innocuous_$ac_func
81252 /* System header to define __stub macros and hopefully few prototypes,
81253 which can conflict with char $ac_func (); below.
81254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81255 <limits.h> exists even on freestanding compilers. */
81257 #ifdef __STDC__
81258 # include <limits.h>
81259 #else
81260 # include <assert.h>
81261 #endif
81263 #undef $ac_func
81265 /* Override any gcc2 internal prototype to avoid an error. */
81266 #ifdef __cplusplus
81267 extern "C"
81269 #endif
81270 /* We use char because int might match the return type of a gcc2
81271 builtin and then its argument prototype would still apply. */
81272 char $ac_func ();
81273 /* The GNU C library defines this for functions which it implements
81274 to always fail with ENOSYS. Some functions are actually named
81275 something starting with __ and the normal name is an alias. */
81276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81277 choke me
81278 #else
81279 char (*f) () = $ac_func;
81280 #endif
81281 #ifdef __cplusplus
81283 #endif
81286 main ()
81288 return f != $ac_func;
81290 return 0;
81292 _ACEOF
81293 rm -f conftest.$ac_objext conftest$ac_exeext
81294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81295 (eval $ac_link) 2>conftest.er1
81296 ac_status=$?
81297 grep -v '^ *+' conftest.er1 >conftest.err
81298 rm -f conftest.er1
81299 cat conftest.err >&5
81300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81301 (exit $ac_status); } &&
81302 { ac_try='test -z "$ac_c_werror_flag"
81303 || test ! -s conftest.err'
81304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81305 (eval $ac_try) 2>&5
81306 ac_status=$?
81307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81308 (exit $ac_status); }; } &&
81309 { ac_try='test -s conftest$ac_exeext'
81310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81311 (eval $ac_try) 2>&5
81312 ac_status=$?
81313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81314 (exit $ac_status); }; }; then
81315 eval "$as_ac_var=yes"
81316 else
81317 echo "$as_me: failed program was:" >&5
81318 sed 's/^/| /' conftest.$ac_ext >&5
81320 eval "$as_ac_var=no"
81322 rm -f conftest.err conftest.$ac_objext \
81323 conftest$ac_exeext conftest.$ac_ext
81325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81327 if test `eval echo '${'$as_ac_var'}'` = yes; then
81328 cat >>confdefs.h <<_ACEOF
81329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81330 _ACEOF
81332 else
81333 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
81335 done
81339 for ac_func in __signbitf
81341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81342 echo "$as_me:$LINENO: checking for $ac_func" >&5
81343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81344 if eval "test \"\${$as_ac_var+set}\" = set"; then
81345 echo $ECHO_N "(cached) $ECHO_C" >&6
81346 else
81347 if test x$gcc_no_link = xyes; then
81348 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81350 { (exit 1); exit 1; }; }
81352 cat >conftest.$ac_ext <<_ACEOF
81353 /* confdefs.h. */
81354 _ACEOF
81355 cat confdefs.h >>conftest.$ac_ext
81356 cat >>conftest.$ac_ext <<_ACEOF
81357 /* end confdefs.h. */
81358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81360 #define $ac_func innocuous_$ac_func
81362 /* System header to define __stub macros and hopefully few prototypes,
81363 which can conflict with char $ac_func (); below.
81364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81365 <limits.h> exists even on freestanding compilers. */
81367 #ifdef __STDC__
81368 # include <limits.h>
81369 #else
81370 # include <assert.h>
81371 #endif
81373 #undef $ac_func
81375 /* Override any gcc2 internal prototype to avoid an error. */
81376 #ifdef __cplusplus
81377 extern "C"
81379 #endif
81380 /* We use char because int might match the return type of a gcc2
81381 builtin and then its argument prototype would still apply. */
81382 char $ac_func ();
81383 /* The GNU C library defines this for functions which it implements
81384 to always fail with ENOSYS. Some functions are actually named
81385 something starting with __ and the normal name is an alias. */
81386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81387 choke me
81388 #else
81389 char (*f) () = $ac_func;
81390 #endif
81391 #ifdef __cplusplus
81393 #endif
81396 main ()
81398 return f != $ac_func;
81400 return 0;
81402 _ACEOF
81403 rm -f conftest.$ac_objext conftest$ac_exeext
81404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81405 (eval $ac_link) 2>conftest.er1
81406 ac_status=$?
81407 grep -v '^ *+' conftest.er1 >conftest.err
81408 rm -f conftest.er1
81409 cat conftest.err >&5
81410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81411 (exit $ac_status); } &&
81412 { ac_try='test -z "$ac_c_werror_flag"
81413 || test ! -s conftest.err'
81414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81415 (eval $ac_try) 2>&5
81416 ac_status=$?
81417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81418 (exit $ac_status); }; } &&
81419 { ac_try='test -s conftest$ac_exeext'
81420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81421 (eval $ac_try) 2>&5
81422 ac_status=$?
81423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81424 (exit $ac_status); }; }; then
81425 eval "$as_ac_var=yes"
81426 else
81427 echo "$as_me: failed program was:" >&5
81428 sed 's/^/| /' conftest.$ac_ext >&5
81430 eval "$as_ac_var=no"
81432 rm -f conftest.err conftest.$ac_objext \
81433 conftest$ac_exeext conftest.$ac_ext
81435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81437 if test `eval echo '${'$as_ac_var'}'` = yes; then
81438 cat >>confdefs.h <<_ACEOF
81439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81440 _ACEOF
81442 else
81443 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
81445 done
81448 if test x$ac_cv_func_copysignl = x"yes"; then
81450 for ac_func in __signbitl
81452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81453 echo "$as_me:$LINENO: checking for $ac_func" >&5
81454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81455 if eval "test \"\${$as_ac_var+set}\" = set"; then
81456 echo $ECHO_N "(cached) $ECHO_C" >&6
81457 else
81458 if test x$gcc_no_link = xyes; then
81459 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81461 { (exit 1); exit 1; }; }
81463 cat >conftest.$ac_ext <<_ACEOF
81464 /* confdefs.h. */
81465 _ACEOF
81466 cat confdefs.h >>conftest.$ac_ext
81467 cat >>conftest.$ac_ext <<_ACEOF
81468 /* end confdefs.h. */
81469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81471 #define $ac_func innocuous_$ac_func
81473 /* System header to define __stub macros and hopefully few prototypes,
81474 which can conflict with char $ac_func (); below.
81475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81476 <limits.h> exists even on freestanding compilers. */
81478 #ifdef __STDC__
81479 # include <limits.h>
81480 #else
81481 # include <assert.h>
81482 #endif
81484 #undef $ac_func
81486 /* Override any gcc2 internal prototype to avoid an error. */
81487 #ifdef __cplusplus
81488 extern "C"
81490 #endif
81491 /* We use char because int might match the return type of a gcc2
81492 builtin and then its argument prototype would still apply. */
81493 char $ac_func ();
81494 /* The GNU C library defines this for functions which it implements
81495 to always fail with ENOSYS. Some functions are actually named
81496 something starting with __ and the normal name is an alias. */
81497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81498 choke me
81499 #else
81500 char (*f) () = $ac_func;
81501 #endif
81502 #ifdef __cplusplus
81504 #endif
81507 main ()
81509 return f != $ac_func;
81511 return 0;
81513 _ACEOF
81514 rm -f conftest.$ac_objext conftest$ac_exeext
81515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81516 (eval $ac_link) 2>conftest.er1
81517 ac_status=$?
81518 grep -v '^ *+' conftest.er1 >conftest.err
81519 rm -f conftest.er1
81520 cat conftest.err >&5
81521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81522 (exit $ac_status); } &&
81523 { ac_try='test -z "$ac_c_werror_flag"
81524 || test ! -s conftest.err'
81525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81526 (eval $ac_try) 2>&5
81527 ac_status=$?
81528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81529 (exit $ac_status); }; } &&
81530 { ac_try='test -s conftest$ac_exeext'
81531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81532 (eval $ac_try) 2>&5
81533 ac_status=$?
81534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81535 (exit $ac_status); }; }; then
81536 eval "$as_ac_var=yes"
81537 else
81538 echo "$as_me: failed program was:" >&5
81539 sed 's/^/| /' conftest.$ac_ext >&5
81541 eval "$as_ac_var=no"
81543 rm -f conftest.err conftest.$ac_objext \
81544 conftest$ac_exeext conftest.$ac_ext
81546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81548 if test `eval echo '${'$as_ac_var'}'` = yes; then
81549 cat >>confdefs.h <<_ACEOF
81550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81551 _ACEOF
81553 else
81554 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
81556 done
81560 # Used in libmath/Makefile.am.
81561 if test -n "$LIBMATHOBJS"; then
81562 need_libmath=yes
81566 cat >>confdefs.h <<\_ACEOF
81567 #define HAVE_COSF 1
81568 _ACEOF
81570 cat >>confdefs.h <<\_ACEOF
81571 #define HAVE_COSL 1
81572 _ACEOF
81574 cat >>confdefs.h <<\_ACEOF
81575 #define HAVE_COSHF 1
81576 _ACEOF
81578 cat >>confdefs.h <<\_ACEOF
81579 #define HAVE_COSHL 1
81580 _ACEOF
81582 cat >>confdefs.h <<\_ACEOF
81583 #define HAVE_LOGF 1
81584 _ACEOF
81586 cat >>confdefs.h <<\_ACEOF
81587 #define HAVE_LOGL 1
81588 _ACEOF
81590 cat >>confdefs.h <<\_ACEOF
81591 #define HAVE_LOG10F 1
81592 _ACEOF
81594 cat >>confdefs.h <<\_ACEOF
81595 #define HAVE_LOG10L 1
81596 _ACEOF
81598 cat >>confdefs.h <<\_ACEOF
81599 #define HAVE_SINF 1
81600 _ACEOF
81602 cat >>confdefs.h <<\_ACEOF
81603 #define HAVE_SINL 1
81604 _ACEOF
81606 cat >>confdefs.h <<\_ACEOF
81607 #define HAVE_SINHF 1
81608 _ACEOF
81610 cat >>confdefs.h <<\_ACEOF
81611 #define HAVE_SINHL 1
81612 _ACEOF
81615 *-solaris*)
81616 case "$target" in
81617 # *-solaris2.5)
81618 # os_include_dir="os/solaris/solaris2.5"
81619 # ;;
81620 # *-solaris2.6)
81621 # os_include_dir="os/solaris/solaris2.6"
81622 # ;;
81623 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
81625 # If we're not using GNU ld, then there's no point in even trying these
81626 # tests. Check for that first. We should have already tested for gld
81627 # by now (in libtool), but require it now just to be safe...
81628 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
81629 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
81633 # The name set by libtool depends on the version of libtool. Shame on us
81634 # for depending on an impl detail, but c'est la vie. Older versions used
81635 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
81636 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
81637 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
81638 # set (hence we're using an older libtool), then set it.
81639 if test x${with_gnu_ld+set} != xset; then
81640 if test x${ac_cv_prog_gnu_ld+set} != xset; then
81641 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
81642 with_gnu_ld=no
81643 else
81644 with_gnu_ld=$ac_cv_prog_gnu_ld
81648 # Start by getting the version number. I think the libtool test already
81649 # does some of this, but throws away the result.
81650 if test x"$with_gnu_ld" = x"yes"; then
81651 echo "$as_me:$LINENO: checking for ld version" >&5
81652 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
81654 ldver=`$LD --version 2>/dev/null | head -1 | \
81655 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
81657 glibcxx_gnu_ld_version=`echo $ldver | \
81658 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
81659 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
81660 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
81663 # Set --gc-sections.
81664 glibcxx_gcsections_min_ld=21602
81665 if test x"$with_gnu_ld" = x"yes" &&
81666 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
81668 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
81669 # NB: This flag only works reliably after 2.16.1. Configure tests
81670 # for this are difficult, so hard wire a value that should work.
81672 # All these tests are for C++, but run with the "C" compiler driver.
81673 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
81674 ac_test_CFLAGS="${CFLAGS+set}"
81675 ac_save_CFLAGS="$CFLAGS"
81676 CFLAGS='-x c++ -Wl,--gc-sections'
81678 # Check for -Wl,--gc-sections
81679 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
81680 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
81681 if test x$gcc_no_link = xyes; then
81682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81684 { (exit 1); exit 1; }; }
81686 cat >conftest.$ac_ext <<_ACEOF
81687 /* confdefs.h. */
81688 _ACEOF
81689 cat confdefs.h >>conftest.$ac_ext
81690 cat >>conftest.$ac_ext <<_ACEOF
81691 /* end confdefs.h. */
81692 int one(void) { return 1; }
81693 int two(void) { return 2; }
81696 main ()
81698 two();
81700 return 0;
81702 _ACEOF
81703 rm -f conftest.$ac_objext conftest$ac_exeext
81704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81705 (eval $ac_link) 2>conftest.er1
81706 ac_status=$?
81707 grep -v '^ *+' conftest.er1 >conftest.err
81708 rm -f conftest.er1
81709 cat conftest.err >&5
81710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81711 (exit $ac_status); } &&
81712 { ac_try='test -z "$ac_c_werror_flag"
81713 || test ! -s conftest.err'
81714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81715 (eval $ac_try) 2>&5
81716 ac_status=$?
81717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81718 (exit $ac_status); }; } &&
81719 { ac_try='test -s conftest$ac_exeext'
81720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81721 (eval $ac_try) 2>&5
81722 ac_status=$?
81723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81724 (exit $ac_status); }; }; then
81725 ac_gcsections=yes
81726 else
81727 echo "$as_me: failed program was:" >&5
81728 sed 's/^/| /' conftest.$ac_ext >&5
81730 ac_gcsections=no
81732 rm -f conftest.err conftest.$ac_objext \
81733 conftest$ac_exeext conftest.$ac_ext
81734 if test "$ac_gcsections" = "yes"; then
81735 rm -f conftest.c
81736 touch conftest.c
81737 if $CC -c conftest.c; then
81738 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
81739 grep "Warning: gc-sections option ignored" > /dev/null; then
81740 ac_gcsections=no
81743 rm -f conftest.c conftest.o conftest
81745 if test "$ac_gcsections" = "yes"; then
81746 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
81748 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
81749 echo "${ECHO_T}$ac_gcsections" >&6
81751 if test "$ac_test_CFLAGS" = set; then
81752 CFLAGS="$ac_save_CFLAGS"
81753 else
81754 # this is the suspicious part
81755 CFLAGS=''
81759 # Set -z,relro.
81760 # Note this is only for shared objects.
81761 ac_ld_relro=no
81762 if test x"$with_gnu_ld" = x"yes"; then
81763 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
81764 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
81765 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
81766 if test -n "$cxx_z_relo"; then
81767 OPT_LDFLAGS="-Wl,-z,relro"
81768 ac_ld_relro=yes
81770 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
81771 echo "${ECHO_T}$ac_ld_relro" >&6
81774 # Set linker optimization flags.
81775 if test x"$with_gnu_ld" = x"yes"; then
81776 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
81782 cat >>confdefs.h <<\_ACEOF
81783 #define HAVE_GETPAGESIZE 1
81784 _ACEOF
81786 cat >>confdefs.h <<\_ACEOF
81787 #define HAVE_SIGSETJMP 1
81788 _ACEOF
81790 cat >>confdefs.h <<\_ACEOF
81791 #define HAVE_MBSTATE_T 1
81792 _ACEOF
81794 cat >>confdefs.h <<\_ACEOF
81795 #define HAVE_POLL 1
81796 _ACEOF
81798 cat >>confdefs.h <<\_ACEOF
81799 #define HAVE_S_ISREG 1
81800 _ACEOF
81802 cat >>confdefs.h <<\_ACEOF
81803 #define HAVE_LC_MESSAGES 1
81804 _ACEOF
81806 cat >>confdefs.h <<\_ACEOF
81807 #define HAVE_FINITE 1
81808 _ACEOF
81810 cat >>confdefs.h <<\_ACEOF
81811 #define HAVE_FPCLASS 1
81812 _ACEOF
81814 cat >>confdefs.h <<\_ACEOF
81815 #define HAVE_GETPAGESIZE 1
81816 _ACEOF
81818 # All of the dependencies for wide character support are here, so
81819 # turn it on.
81820 cat >>confdefs.h <<\_ACEOF
81821 #define _GLIBCXX_USE_WCHAR_T 1
81822 _ACEOF
81824 # Are these tested for even when cross?
81825 cat >>confdefs.h <<\_ACEOF
81826 #define HAVE_FLOAT_H 1
81827 _ACEOF
81829 cat >>confdefs.h <<\_ACEOF
81830 #define HAVE_IEEEFP_H 1
81831 _ACEOF
81833 cat >>confdefs.h <<\_ACEOF
81834 #define HAVE_INTTYPES_H 1
81835 _ACEOF
81837 cat >>confdefs.h <<\_ACEOF
81838 #define HAVE_LOCALE_H 1
81839 _ACEOF
81841 cat >>confdefs.h <<\_ACEOF
81842 #define HAVE_NAN_H 1
81843 _ACEOF
81845 cat >>confdefs.h <<\_ACEOF
81846 #define HAVE_SYS_FILIO_H 1
81847 _ACEOF
81849 cat >>confdefs.h <<\_ACEOF
81850 #define HAVE_SYS_IOCTL_H 1
81851 _ACEOF
81853 cat >>confdefs.h <<\_ACEOF
81854 #define HAVE_SYS_ISA_DEFS_H 1
81855 _ACEOF
81857 cat >>confdefs.h <<\_ACEOF
81858 #define HAVE_SYS_RESOURCE_H 1
81859 _ACEOF
81861 cat >>confdefs.h <<\_ACEOF
81862 #define HAVE_SYS_TIME_H 1
81863 _ACEOF
81865 cat >>confdefs.h <<\_ACEOF
81866 #define HAVE_SYS_TYPES_H 1
81867 _ACEOF
81869 cat >>confdefs.h <<\_ACEOF
81870 #define HAVE_UNISTD_H 1
81871 _ACEOF
81873 cat >>confdefs.h <<\_ACEOF
81874 #define HAVE_WCHAR_H 1
81875 _ACEOF
81877 cat >>confdefs.h <<\_ACEOF
81878 #define HAVE_WCTYPE_H 1
81879 _ACEOF
81881 cat >>confdefs.h <<\_ACEOF
81882 #define HAVE_LIBM 1
81883 _ACEOF
81886 esac
81887 case "$target" in
81888 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
81889 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
81890 cat >>confdefs.h <<\_ACEOF
81891 #define HAVE___BUILTIN_ABS 1
81892 _ACEOF
81894 cat >>confdefs.h <<\_ACEOF
81895 #define HAVE___BUILTIN_LABS 1
81896 _ACEOF
81898 cat >>confdefs.h <<\_ACEOF
81899 #define HAVE___BUILTIN_FABS 1
81900 _ACEOF
81902 cat >>confdefs.h <<\_ACEOF
81903 #define HAVE___BUILTIN_FABSF 1
81904 _ACEOF
81906 cat >>confdefs.h <<\_ACEOF
81907 #define HAVE___BUILTIN_FABSL 1
81908 _ACEOF
81910 cat >>confdefs.h <<\_ACEOF
81911 #define HAVE___BUILTIN_COS 1
81912 _ACEOF
81914 cat >>confdefs.h <<\_ACEOF
81915 #define HAVE___BUILTIN_COSF 1
81916 _ACEOF
81918 cat >>confdefs.h <<\_ACEOF
81919 #define HAVE___BUILTIN_SIN 1
81920 _ACEOF
81922 cat >>confdefs.h <<\_ACEOF
81923 #define HAVE___BUILTIN_SINF 1
81924 _ACEOF
81927 esac
81928 case "$target" in
81929 *-*-solaris2.10)
81930 # These two C99 functions are present only in Solaris >= 10
81931 cat >>confdefs.h <<\_ACEOF
81932 #define HAVE_STRTOF 1
81933 _ACEOF
81935 cat >>confdefs.h <<\_ACEOF
81936 #define HAVE_STRTOLD 1
81937 _ACEOF
81940 esac
81941 cat >>confdefs.h <<\_ACEOF
81942 #define HAVE_MMAP 1
81943 _ACEOF
81945 cat >>confdefs.h <<\_ACEOF
81946 #define HAVE_COPYSIGN 1
81947 _ACEOF
81949 cat >>confdefs.h <<\_ACEOF
81950 #define HAVE_ISNAN 1
81951 _ACEOF
81953 cat >>confdefs.h <<\_ACEOF
81954 #define HAVE_ISNANF 1
81955 _ACEOF
81957 cat >>confdefs.h <<\_ACEOF
81958 #define HAVE_MODFF 1
81959 _ACEOF
81961 cat >>confdefs.h <<\_ACEOF
81962 #define HAVE_HYPOT 1
81963 _ACEOF
81966 *-tpf)
81975 for ac_header in nan.h endian.h machine/endian.h \
81976 sys/param.h sys/types.h locale.h float.h inttypes.h
81978 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81979 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81980 echo "$as_me:$LINENO: checking for $ac_header" >&5
81981 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81982 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81983 echo $ECHO_N "(cached) $ECHO_C" >&6
81985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81986 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81987 else
81988 # Is the header compilable?
81989 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81990 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
81991 cat >conftest.$ac_ext <<_ACEOF
81992 /* confdefs.h. */
81993 _ACEOF
81994 cat confdefs.h >>conftest.$ac_ext
81995 cat >>conftest.$ac_ext <<_ACEOF
81996 /* end confdefs.h. */
81997 $ac_includes_default
81998 #include <$ac_header>
81999 _ACEOF
82000 rm -f conftest.$ac_objext
82001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82002 (eval $ac_compile) 2>conftest.er1
82003 ac_status=$?
82004 grep -v '^ *+' conftest.er1 >conftest.err
82005 rm -f conftest.er1
82006 cat conftest.err >&5
82007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82008 (exit $ac_status); } &&
82009 { ac_try='test -z "$ac_c_werror_flag"
82010 || test ! -s conftest.err'
82011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82012 (eval $ac_try) 2>&5
82013 ac_status=$?
82014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82015 (exit $ac_status); }; } &&
82016 { ac_try='test -s conftest.$ac_objext'
82017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82018 (eval $ac_try) 2>&5
82019 ac_status=$?
82020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82021 (exit $ac_status); }; }; then
82022 ac_header_compiler=yes
82023 else
82024 echo "$as_me: failed program was:" >&5
82025 sed 's/^/| /' conftest.$ac_ext >&5
82027 ac_header_compiler=no
82029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82030 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82031 echo "${ECHO_T}$ac_header_compiler" >&6
82033 # Is the header present?
82034 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82035 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82036 cat >conftest.$ac_ext <<_ACEOF
82037 /* confdefs.h. */
82038 _ACEOF
82039 cat confdefs.h >>conftest.$ac_ext
82040 cat >>conftest.$ac_ext <<_ACEOF
82041 /* end confdefs.h. */
82042 #include <$ac_header>
82043 _ACEOF
82044 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82045 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82046 ac_status=$?
82047 grep -v '^ *+' conftest.er1 >conftest.err
82048 rm -f conftest.er1
82049 cat conftest.err >&5
82050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82051 (exit $ac_status); } >/dev/null; then
82052 if test -s conftest.err; then
82053 ac_cpp_err=$ac_c_preproc_warn_flag
82054 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82055 else
82056 ac_cpp_err=
82058 else
82059 ac_cpp_err=yes
82061 if test -z "$ac_cpp_err"; then
82062 ac_header_preproc=yes
82063 else
82064 echo "$as_me: failed program was:" >&5
82065 sed 's/^/| /' conftest.$ac_ext >&5
82067 ac_header_preproc=no
82069 rm -f conftest.err conftest.$ac_ext
82070 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82071 echo "${ECHO_T}$ac_header_preproc" >&6
82073 # So? What about this header?
82074 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82075 yes:no: )
82076 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82077 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82078 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82079 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82080 ac_header_preproc=yes
82082 no:yes:* )
82083 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82084 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82085 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
82086 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
82087 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82088 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82089 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
82090 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
82091 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82092 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82093 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82094 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82096 cat <<\_ASBOX
82097 ## ----------------------------------------- ##
82098 ## Report this to the package-unused lists. ##
82099 ## ----------------------------------------- ##
82100 _ASBOX
82102 sed "s/^/$as_me: WARNING: /" >&2
82104 esac
82105 echo "$as_me:$LINENO: checking for $ac_header" >&5
82106 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82107 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82108 echo $ECHO_N "(cached) $ECHO_C" >&6
82109 else
82110 eval "$as_ac_Header=\$ac_header_preproc"
82112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82113 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82116 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82117 cat >>confdefs.h <<_ACEOF
82118 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82119 _ACEOF
82123 done
82125 SECTION_FLAGS='-ffunction-sections -fdata-sections'
82128 # If we're not using GNU ld, then there's no point in even trying these
82129 # tests. Check for that first. We should have already tested for gld
82130 # by now (in libtool), but require it now just to be safe...
82131 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
82132 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
82136 # The name set by libtool depends on the version of libtool. Shame on us
82137 # for depending on an impl detail, but c'est la vie. Older versions used
82138 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
82139 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
82140 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
82141 # set (hence we're using an older libtool), then set it.
82142 if test x${with_gnu_ld+set} != xset; then
82143 if test x${ac_cv_prog_gnu_ld+set} != xset; then
82144 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
82145 with_gnu_ld=no
82146 else
82147 with_gnu_ld=$ac_cv_prog_gnu_ld
82151 # Start by getting the version number. I think the libtool test already
82152 # does some of this, but throws away the result.
82153 if test x"$with_gnu_ld" = x"yes"; then
82154 echo "$as_me:$LINENO: checking for ld version" >&5
82155 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
82157 ldver=`$LD --version 2>/dev/null | head -1 | \
82158 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
82160 glibcxx_gnu_ld_version=`echo $ldver | \
82161 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
82162 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
82163 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
82166 # Set --gc-sections.
82167 glibcxx_gcsections_min_ld=21602
82168 if test x"$with_gnu_ld" = x"yes" &&
82169 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
82171 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
82172 # NB: This flag only works reliably after 2.16.1. Configure tests
82173 # for this are difficult, so hard wire a value that should work.
82175 # All these tests are for C++, but run with the "C" compiler driver.
82176 # Need to do this so that g++ won't try to link in libstdc++/libsupc++.
82177 ac_test_CFLAGS="${CFLAGS+set}"
82178 ac_save_CFLAGS="$CFLAGS"
82179 CFLAGS='-x c++ -Wl,--gc-sections'
82181 # Check for -Wl,--gc-sections
82182 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
82183 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
82184 if test x$gcc_no_link = xyes; then
82185 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82187 { (exit 1); exit 1; }; }
82189 cat >conftest.$ac_ext <<_ACEOF
82190 /* confdefs.h. */
82191 _ACEOF
82192 cat confdefs.h >>conftest.$ac_ext
82193 cat >>conftest.$ac_ext <<_ACEOF
82194 /* end confdefs.h. */
82195 int one(void) { return 1; }
82196 int two(void) { return 2; }
82199 main ()
82201 two();
82203 return 0;
82205 _ACEOF
82206 rm -f conftest.$ac_objext conftest$ac_exeext
82207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82208 (eval $ac_link) 2>conftest.er1
82209 ac_status=$?
82210 grep -v '^ *+' conftest.er1 >conftest.err
82211 rm -f conftest.er1
82212 cat conftest.err >&5
82213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82214 (exit $ac_status); } &&
82215 { ac_try='test -z "$ac_c_werror_flag"
82216 || test ! -s conftest.err'
82217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82218 (eval $ac_try) 2>&5
82219 ac_status=$?
82220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82221 (exit $ac_status); }; } &&
82222 { ac_try='test -s conftest$ac_exeext'
82223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82224 (eval $ac_try) 2>&5
82225 ac_status=$?
82226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82227 (exit $ac_status); }; }; then
82228 ac_gcsections=yes
82229 else
82230 echo "$as_me: failed program was:" >&5
82231 sed 's/^/| /' conftest.$ac_ext >&5
82233 ac_gcsections=no
82235 rm -f conftest.err conftest.$ac_objext \
82236 conftest$ac_exeext conftest.$ac_ext
82237 if test "$ac_gcsections" = "yes"; then
82238 rm -f conftest.c
82239 touch conftest.c
82240 if $CC -c conftest.c; then
82241 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
82242 grep "Warning: gc-sections option ignored" > /dev/null; then
82243 ac_gcsections=no
82246 rm -f conftest.c conftest.o conftest
82248 if test "$ac_gcsections" = "yes"; then
82249 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
82251 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
82252 echo "${ECHO_T}$ac_gcsections" >&6
82254 if test "$ac_test_CFLAGS" = set; then
82255 CFLAGS="$ac_save_CFLAGS"
82256 else
82257 # this is the suspicious part
82258 CFLAGS=''
82262 # Set -z,relro.
82263 # Note this is only for shared objects.
82264 ac_ld_relro=no
82265 if test x"$with_gnu_ld" = x"yes"; then
82266 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
82267 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
82268 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
82269 if test -n "$cxx_z_relo"; then
82270 OPT_LDFLAGS="-Wl,-z,relro"
82271 ac_ld_relro=yes
82273 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
82274 echo "${ECHO_T}$ac_ld_relro" >&6
82277 # Set linker optimization flags.
82278 if test x"$with_gnu_ld" = x"yes"; then
82279 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
82287 echo "$as_me:$LINENO: checking for main in -lm" >&5
82288 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
82289 if test "${ac_cv_lib_m_main+set}" = set; then
82290 echo $ECHO_N "(cached) $ECHO_C" >&6
82291 else
82292 ac_check_lib_save_LIBS=$LIBS
82293 LIBS="-lm $LIBS"
82294 if test x$gcc_no_link = xyes; then
82295 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82297 { (exit 1); exit 1; }; }
82299 cat >conftest.$ac_ext <<_ACEOF
82300 /* confdefs.h. */
82301 _ACEOF
82302 cat confdefs.h >>conftest.$ac_ext
82303 cat >>conftest.$ac_ext <<_ACEOF
82304 /* end confdefs.h. */
82308 main ()
82310 main ();
82312 return 0;
82314 _ACEOF
82315 rm -f conftest.$ac_objext conftest$ac_exeext
82316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82317 (eval $ac_link) 2>conftest.er1
82318 ac_status=$?
82319 grep -v '^ *+' conftest.er1 >conftest.err
82320 rm -f conftest.er1
82321 cat conftest.err >&5
82322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82323 (exit $ac_status); } &&
82324 { ac_try='test -z "$ac_c_werror_flag"
82325 || test ! -s conftest.err'
82326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82327 (eval $ac_try) 2>&5
82328 ac_status=$?
82329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82330 (exit $ac_status); }; } &&
82331 { ac_try='test -s conftest$ac_exeext'
82332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82333 (eval $ac_try) 2>&5
82334 ac_status=$?
82335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82336 (exit $ac_status); }; }; then
82337 ac_cv_lib_m_main=yes
82338 else
82339 echo "$as_me: failed program was:" >&5
82340 sed 's/^/| /' conftest.$ac_ext >&5
82342 ac_cv_lib_m_main=no
82344 rm -f conftest.err conftest.$ac_objext \
82345 conftest$ac_exeext conftest.$ac_ext
82346 LIBS=$ac_check_lib_save_LIBS
82348 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
82349 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
82350 if test $ac_cv_lib_m_main = yes; then
82351 cat >>confdefs.h <<_ACEOF
82352 #define HAVE_LIBM 1
82353 _ACEOF
82355 LIBS="-lm $LIBS"
82360 for ac_func in copysignf
82362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82363 echo "$as_me:$LINENO: checking for $ac_func" >&5
82364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82365 if eval "test \"\${$as_ac_var+set}\" = set"; then
82366 echo $ECHO_N "(cached) $ECHO_C" >&6
82367 else
82368 if test x$gcc_no_link = xyes; then
82369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82371 { (exit 1); exit 1; }; }
82373 cat >conftest.$ac_ext <<_ACEOF
82374 /* confdefs.h. */
82375 _ACEOF
82376 cat confdefs.h >>conftest.$ac_ext
82377 cat >>conftest.$ac_ext <<_ACEOF
82378 /* end confdefs.h. */
82379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82381 #define $ac_func innocuous_$ac_func
82383 /* System header to define __stub macros and hopefully few prototypes,
82384 which can conflict with char $ac_func (); below.
82385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82386 <limits.h> exists even on freestanding compilers. */
82388 #ifdef __STDC__
82389 # include <limits.h>
82390 #else
82391 # include <assert.h>
82392 #endif
82394 #undef $ac_func
82396 /* Override any gcc2 internal prototype to avoid an error. */
82397 #ifdef __cplusplus
82398 extern "C"
82400 #endif
82401 /* We use char because int might match the return type of a gcc2
82402 builtin and then its argument prototype would still apply. */
82403 char $ac_func ();
82404 /* The GNU C library defines this for functions which it implements
82405 to always fail with ENOSYS. Some functions are actually named
82406 something starting with __ and the normal name is an alias. */
82407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82408 choke me
82409 #else
82410 char (*f) () = $ac_func;
82411 #endif
82412 #ifdef __cplusplus
82414 #endif
82417 main ()
82419 return f != $ac_func;
82421 return 0;
82423 _ACEOF
82424 rm -f conftest.$ac_objext conftest$ac_exeext
82425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82426 (eval $ac_link) 2>conftest.er1
82427 ac_status=$?
82428 grep -v '^ *+' conftest.er1 >conftest.err
82429 rm -f conftest.er1
82430 cat conftest.err >&5
82431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82432 (exit $ac_status); } &&
82433 { ac_try='test -z "$ac_c_werror_flag"
82434 || test ! -s conftest.err'
82435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82436 (eval $ac_try) 2>&5
82437 ac_status=$?
82438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82439 (exit $ac_status); }; } &&
82440 { ac_try='test -s conftest$ac_exeext'
82441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82442 (eval $ac_try) 2>&5
82443 ac_status=$?
82444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82445 (exit $ac_status); }; }; then
82446 eval "$as_ac_var=yes"
82447 else
82448 echo "$as_me: failed program was:" >&5
82449 sed 's/^/| /' conftest.$ac_ext >&5
82451 eval "$as_ac_var=no"
82453 rm -f conftest.err conftest.$ac_objext \
82454 conftest$ac_exeext conftest.$ac_ext
82456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82458 if test `eval echo '${'$as_ac_var'}'` = yes; then
82459 cat >>confdefs.h <<_ACEOF
82460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82461 _ACEOF
82463 else
82464 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
82466 done
82470 for ac_func in __signbit
82472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82473 echo "$as_me:$LINENO: checking for $ac_func" >&5
82474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82475 if eval "test \"\${$as_ac_var+set}\" = set"; then
82476 echo $ECHO_N "(cached) $ECHO_C" >&6
82477 else
82478 if test x$gcc_no_link = xyes; then
82479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82481 { (exit 1); exit 1; }; }
82483 cat >conftest.$ac_ext <<_ACEOF
82484 /* confdefs.h. */
82485 _ACEOF
82486 cat confdefs.h >>conftest.$ac_ext
82487 cat >>conftest.$ac_ext <<_ACEOF
82488 /* end confdefs.h. */
82489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82491 #define $ac_func innocuous_$ac_func
82493 /* System header to define __stub macros and hopefully few prototypes,
82494 which can conflict with char $ac_func (); below.
82495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82496 <limits.h> exists even on freestanding compilers. */
82498 #ifdef __STDC__
82499 # include <limits.h>
82500 #else
82501 # include <assert.h>
82502 #endif
82504 #undef $ac_func
82506 /* Override any gcc2 internal prototype to avoid an error. */
82507 #ifdef __cplusplus
82508 extern "C"
82510 #endif
82511 /* We use char because int might match the return type of a gcc2
82512 builtin and then its argument prototype would still apply. */
82513 char $ac_func ();
82514 /* The GNU C library defines this for functions which it implements
82515 to always fail with ENOSYS. Some functions are actually named
82516 something starting with __ and the normal name is an alias. */
82517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82518 choke me
82519 #else
82520 char (*f) () = $ac_func;
82521 #endif
82522 #ifdef __cplusplus
82524 #endif
82527 main ()
82529 return f != $ac_func;
82531 return 0;
82533 _ACEOF
82534 rm -f conftest.$ac_objext conftest$ac_exeext
82535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82536 (eval $ac_link) 2>conftest.er1
82537 ac_status=$?
82538 grep -v '^ *+' conftest.er1 >conftest.err
82539 rm -f conftest.er1
82540 cat conftest.err >&5
82541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82542 (exit $ac_status); } &&
82543 { ac_try='test -z "$ac_c_werror_flag"
82544 || test ! -s conftest.err'
82545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82546 (eval $ac_try) 2>&5
82547 ac_status=$?
82548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82549 (exit $ac_status); }; } &&
82550 { ac_try='test -s conftest$ac_exeext'
82551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82552 (eval $ac_try) 2>&5
82553 ac_status=$?
82554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82555 (exit $ac_status); }; }; then
82556 eval "$as_ac_var=yes"
82557 else
82558 echo "$as_me: failed program was:" >&5
82559 sed 's/^/| /' conftest.$ac_ext >&5
82561 eval "$as_ac_var=no"
82563 rm -f conftest.err conftest.$ac_objext \
82564 conftest$ac_exeext conftest.$ac_ext
82566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82568 if test `eval echo '${'$as_ac_var'}'` = yes; then
82569 cat >>confdefs.h <<_ACEOF
82570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82571 _ACEOF
82573 else
82574 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
82576 done
82580 for ac_func in __signbitf
82582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82583 echo "$as_me:$LINENO: checking for $ac_func" >&5
82584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82585 if eval "test \"\${$as_ac_var+set}\" = set"; then
82586 echo $ECHO_N "(cached) $ECHO_C" >&6
82587 else
82588 if test x$gcc_no_link = xyes; then
82589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82591 { (exit 1); exit 1; }; }
82593 cat >conftest.$ac_ext <<_ACEOF
82594 /* confdefs.h. */
82595 _ACEOF
82596 cat confdefs.h >>conftest.$ac_ext
82597 cat >>conftest.$ac_ext <<_ACEOF
82598 /* end confdefs.h. */
82599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82601 #define $ac_func innocuous_$ac_func
82603 /* System header to define __stub macros and hopefully few prototypes,
82604 which can conflict with char $ac_func (); below.
82605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82606 <limits.h> exists even on freestanding compilers. */
82608 #ifdef __STDC__
82609 # include <limits.h>
82610 #else
82611 # include <assert.h>
82612 #endif
82614 #undef $ac_func
82616 /* Override any gcc2 internal prototype to avoid an error. */
82617 #ifdef __cplusplus
82618 extern "C"
82620 #endif
82621 /* We use char because int might match the return type of a gcc2
82622 builtin and then its argument prototype would still apply. */
82623 char $ac_func ();
82624 /* The GNU C library defines this for functions which it implements
82625 to always fail with ENOSYS. Some functions are actually named
82626 something starting with __ and the normal name is an alias. */
82627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82628 choke me
82629 #else
82630 char (*f) () = $ac_func;
82631 #endif
82632 #ifdef __cplusplus
82634 #endif
82637 main ()
82639 return f != $ac_func;
82641 return 0;
82643 _ACEOF
82644 rm -f conftest.$ac_objext conftest$ac_exeext
82645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82646 (eval $ac_link) 2>conftest.er1
82647 ac_status=$?
82648 grep -v '^ *+' conftest.er1 >conftest.err
82649 rm -f conftest.er1
82650 cat conftest.err >&5
82651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82652 (exit $ac_status); } &&
82653 { ac_try='test -z "$ac_c_werror_flag"
82654 || test ! -s conftest.err'
82655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82656 (eval $ac_try) 2>&5
82657 ac_status=$?
82658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82659 (exit $ac_status); }; } &&
82660 { ac_try='test -s conftest$ac_exeext'
82661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82662 (eval $ac_try) 2>&5
82663 ac_status=$?
82664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82665 (exit $ac_status); }; }; then
82666 eval "$as_ac_var=yes"
82667 else
82668 echo "$as_me: failed program was:" >&5
82669 sed 's/^/| /' conftest.$ac_ext >&5
82671 eval "$as_ac_var=no"
82673 rm -f conftest.err conftest.$ac_objext \
82674 conftest$ac_exeext conftest.$ac_ext
82676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82677 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82678 if test `eval echo '${'$as_ac_var'}'` = yes; then
82679 cat >>confdefs.h <<_ACEOF
82680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82681 _ACEOF
82683 else
82684 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
82686 done
82689 if test x$ac_cv_func_copysignl = x"yes"; then
82691 for ac_func in __signbitl
82693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82694 echo "$as_me:$LINENO: checking for $ac_func" >&5
82695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82696 if eval "test \"\${$as_ac_var+set}\" = set"; then
82697 echo $ECHO_N "(cached) $ECHO_C" >&6
82698 else
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; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82712 #define $ac_func innocuous_$ac_func
82714 /* System header to define __stub macros and hopefully few prototypes,
82715 which can conflict with char $ac_func (); below.
82716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82717 <limits.h> exists even on freestanding compilers. */
82719 #ifdef __STDC__
82720 # include <limits.h>
82721 #else
82722 # include <assert.h>
82723 #endif
82725 #undef $ac_func
82727 /* Override any gcc2 internal prototype to avoid an error. */
82728 #ifdef __cplusplus
82729 extern "C"
82731 #endif
82732 /* We use char because int might match the return type of a gcc2
82733 builtin and then its argument prototype would still apply. */
82734 char $ac_func ();
82735 /* The GNU C library defines this for functions which it implements
82736 to always fail with ENOSYS. Some functions are actually named
82737 something starting with __ and the normal name is an alias. */
82738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82739 choke me
82740 #else
82741 char (*f) () = $ac_func;
82742 #endif
82743 #ifdef __cplusplus
82745 #endif
82748 main ()
82750 return f != $ac_func;
82752 return 0;
82754 _ACEOF
82755 rm -f conftest.$ac_objext conftest$ac_exeext
82756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82757 (eval $ac_link) 2>conftest.er1
82758 ac_status=$?
82759 grep -v '^ *+' conftest.er1 >conftest.err
82760 rm -f conftest.er1
82761 cat conftest.err >&5
82762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82763 (exit $ac_status); } &&
82764 { ac_try='test -z "$ac_c_werror_flag"
82765 || test ! -s conftest.err'
82766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82767 (eval $ac_try) 2>&5
82768 ac_status=$?
82769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82770 (exit $ac_status); }; } &&
82771 { ac_try='test -s conftest$ac_exeext'
82772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82773 (eval $ac_try) 2>&5
82774 ac_status=$?
82775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82776 (exit $ac_status); }; }; then
82777 eval "$as_ac_var=yes"
82778 else
82779 echo "$as_me: failed program was:" >&5
82780 sed 's/^/| /' conftest.$ac_ext >&5
82782 eval "$as_ac_var=no"
82784 rm -f conftest.err conftest.$ac_objext \
82785 conftest$ac_exeext conftest.$ac_ext
82787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82789 if test `eval echo '${'$as_ac_var'}'` = yes; then
82790 cat >>confdefs.h <<_ACEOF
82791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82792 _ACEOF
82794 else
82795 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
82797 done
82801 # Used in libmath/Makefile.am.
82802 if test -n "$LIBMATHOBJS"; then
82803 need_libmath=yes
82807 cat >>confdefs.h <<\_ACEOF
82808 #define HAVE_COPYSIGN 1
82809 _ACEOF
82811 cat >>confdefs.h <<\_ACEOF
82812 #define HAVE_COPYSIGNF 1
82813 _ACEOF
82815 cat >>confdefs.h <<\_ACEOF
82816 #define HAVE_FINITE 1
82817 _ACEOF
82819 cat >>confdefs.h <<\_ACEOF
82820 #define HAVE_FINITEF 1
82821 _ACEOF
82823 cat >>confdefs.h <<\_ACEOF
82824 #define HAVE_FREXPF 1
82825 _ACEOF
82827 cat >>confdefs.h <<\_ACEOF
82828 #define HAVE_HYPOTF 1
82829 _ACEOF
82831 cat >>confdefs.h <<\_ACEOF
82832 #define HAVE_ISINF 1
82833 _ACEOF
82835 cat >>confdefs.h <<\_ACEOF
82836 #define HAVE_ISINFF 1
82837 _ACEOF
82839 cat >>confdefs.h <<\_ACEOF
82840 #define HAVE_ISNAN 1
82841 _ACEOF
82843 cat >>confdefs.h <<\_ACEOF
82844 #define HAVE_ISNANF 1
82845 _ACEOF
82847 cat >>confdefs.h <<\_ACEOF
82848 #define HAVE_SINCOS 1
82849 _ACEOF
82851 cat >>confdefs.h <<\_ACEOF
82852 #define HAVE_SINCOSF 1
82853 _ACEOF
82855 if test x"long_double_math_on_this_cpu" = x"yes"; then
82856 cat >>confdefs.h <<\_ACEOF
82857 #define HAVE_FINITEL 1
82858 _ACEOF
82860 cat >>confdefs.h <<\_ACEOF
82861 #define HAVE_HYPOTL 1
82862 _ACEOF
82864 cat >>confdefs.h <<\_ACEOF
82865 #define HAVE_ISINFL 1
82866 _ACEOF
82868 cat >>confdefs.h <<\_ACEOF
82869 #define HAVE_ISNANL 1
82870 _ACEOF
82874 *-vxworks)
82875 cat >>confdefs.h <<\_ACEOF
82876 #define HAVE_MMAP 1
82877 _ACEOF
82879 cat >>confdefs.h <<\_ACEOF
82880 #define HAVE_ACOSF 1
82881 _ACEOF
82883 cat >>confdefs.h <<\_ACEOF
82884 #define HAVE_ASINF 1
82885 _ACEOF
82887 cat >>confdefs.h <<\_ACEOF
82888 #define HAVE_ATAN2F 1
82889 _ACEOF
82891 cat >>confdefs.h <<\_ACEOF
82892 #define HAVE_ATANF 1
82893 _ACEOF
82895 cat >>confdefs.h <<\_ACEOF
82896 #define HAVE_CEILF 1
82897 _ACEOF
82899 cat >>confdefs.h <<\_ACEOF
82900 #define HAVE_COSF 1
82901 _ACEOF
82903 cat >>confdefs.h <<\_ACEOF
82904 #define HAVE_COSHF 1
82905 _ACEOF
82907 cat >>confdefs.h <<\_ACEOF
82908 #define HAVE_EXPF 1
82909 _ACEOF
82911 cat >>confdefs.h <<\_ACEOF
82912 #define HAVE_FABSF 1
82913 _ACEOF
82915 cat >>confdefs.h <<\_ACEOF
82916 #define HAVE_FLOORF 1
82917 _ACEOF
82919 cat >>confdefs.h <<\_ACEOF
82920 #define HAVE_FMODF 1
82921 _ACEOF
82923 cat >>confdefs.h <<\_ACEOF
82924 #define HAVE_HYPOT 1
82925 _ACEOF
82927 cat >>confdefs.h <<\_ACEOF
82928 #define HAVE_LOG10F 1
82929 _ACEOF
82931 cat >>confdefs.h <<\_ACEOF
82932 #define HAVE_LOGF 1
82933 _ACEOF
82935 cat >>confdefs.h <<\_ACEOF
82936 #define HAVE_POWF 1
82937 _ACEOF
82939 cat >>confdefs.h <<\_ACEOF
82940 #define HAVE_SINF 1
82941 _ACEOF
82943 cat >>confdefs.h <<\_ACEOF
82944 #define HAVE_SINHF 1
82945 _ACEOF
82947 cat >>confdefs.h <<\_ACEOF
82948 #define HAVE_SQRTF 1
82949 _ACEOF
82951 cat >>confdefs.h <<\_ACEOF
82952 #define HAVE_TANF 1
82953 _ACEOF
82955 cat >>confdefs.h <<\_ACEOF
82956 #define HAVE_TANHF 1
82957 _ACEOF
82960 *-windiss*)
82961 cat >>confdefs.h <<\_ACEOF
82962 #define HAVE_ACOSF 1
82963 _ACEOF
82965 cat >>confdefs.h <<\_ACEOF
82966 #define HAVE_ACOSL 1
82967 _ACEOF
82969 cat >>confdefs.h <<\_ACEOF
82970 #define HAVE_ASINF 1
82971 _ACEOF
82973 cat >>confdefs.h <<\_ACEOF
82974 #define HAVE_ASINL 1
82975 _ACEOF
82977 cat >>confdefs.h <<\_ACEOF
82978 #define HAVE_ATAN2F 1
82979 _ACEOF
82981 cat >>confdefs.h <<\_ACEOF
82982 #define HAVE_ATAN2L 1
82983 _ACEOF
82985 cat >>confdefs.h <<\_ACEOF
82986 #define HAVE_ATANF 1
82987 _ACEOF
82989 cat >>confdefs.h <<\_ACEOF
82990 #define HAVE_ATANL 1
82991 _ACEOF
82993 cat >>confdefs.h <<\_ACEOF
82994 #define HAVE_CEILF 1
82995 _ACEOF
82997 cat >>confdefs.h <<\_ACEOF
82998 #define HAVE_CEILL 1
82999 _ACEOF
83001 cat >>confdefs.h <<\_ACEOF
83002 #define HAVE_COPYSIGN 1
83003 _ACEOF
83005 cat >>confdefs.h <<\_ACEOF
83006 #define HAVE_COPYSIGNF 1
83007 _ACEOF
83009 cat >>confdefs.h <<\_ACEOF
83010 #define HAVE_COSF 1
83011 _ACEOF
83013 cat >>confdefs.h <<\_ACEOF
83014 #define HAVE_COSL 1
83015 _ACEOF
83017 cat >>confdefs.h <<\_ACEOF
83018 #define HAVE_COSHF 1
83019 _ACEOF
83021 cat >>confdefs.h <<\_ACEOF
83022 #define HAVE_COSHL 1
83023 _ACEOF
83025 cat >>confdefs.h <<\_ACEOF
83026 #define HAVE_EXPF 1
83027 _ACEOF
83029 cat >>confdefs.h <<\_ACEOF
83030 #define HAVE_EXPL 1
83031 _ACEOF
83033 cat >>confdefs.h <<\_ACEOF
83034 #define HAVE_FABSF 1
83035 _ACEOF
83037 cat >>confdefs.h <<\_ACEOF
83038 #define HAVE_FABSL 1
83039 _ACEOF
83041 cat >>confdefs.h <<\_ACEOF
83042 #define HAVE_FLOORF 1
83043 _ACEOF
83045 cat >>confdefs.h <<\_ACEOF
83046 #define HAVE_FLOORL 1
83047 _ACEOF
83049 cat >>confdefs.h <<\_ACEOF
83050 #define HAVE_FMODF 1
83051 _ACEOF
83053 cat >>confdefs.h <<\_ACEOF
83054 #define HAVE_FMODL 1
83055 _ACEOF
83057 cat >>confdefs.h <<\_ACEOF
83058 #define HAVE_FREXPF 1
83059 _ACEOF
83061 cat >>confdefs.h <<\_ACEOF
83062 #define HAVE_FREXPL 1
83063 _ACEOF
83065 cat >>confdefs.h <<\_ACEOF
83066 #define HAVE_LDEXPF 1
83067 _ACEOF
83069 cat >>confdefs.h <<\_ACEOF
83070 #define HAVE_LDEXPL 1
83071 _ACEOF
83073 cat >>confdefs.h <<\_ACEOF
83074 #define HAVE_LOG10F 1
83075 _ACEOF
83077 cat >>confdefs.h <<\_ACEOF
83078 #define HAVE_LOG10L 1
83079 _ACEOF
83081 cat >>confdefs.h <<\_ACEOF
83082 #define HAVE_LOGF 1
83083 _ACEOF
83085 cat >>confdefs.h <<\_ACEOF
83086 #define HAVE_MODFF 1
83087 _ACEOF
83089 cat >>confdefs.h <<\_ACEOF
83090 #define HAVE_MODFL 1
83091 _ACEOF
83093 cat >>confdefs.h <<\_ACEOF
83094 #define HAVE_POWF 1
83095 _ACEOF
83097 cat >>confdefs.h <<\_ACEOF
83098 #define HAVE_POWL 1
83099 _ACEOF
83101 cat >>confdefs.h <<\_ACEOF
83102 #define HAVE_SINF 1
83103 _ACEOF
83105 cat >>confdefs.h <<\_ACEOF
83106 #define HAVE_SINL 1
83107 _ACEOF
83109 cat >>confdefs.h <<\_ACEOF
83110 #define HAVE_SINHF 1
83111 _ACEOF
83113 cat >>confdefs.h <<\_ACEOF
83114 #define HAVE_SINHL 1
83115 _ACEOF
83117 cat >>confdefs.h <<\_ACEOF
83118 #define HAVE_SQRTF 1
83119 _ACEOF
83121 cat >>confdefs.h <<\_ACEOF
83122 #define HAVE_SQRTL 1
83123 _ACEOF
83125 cat >>confdefs.h <<\_ACEOF
83126 #define HAVE_TANF 1
83127 _ACEOF
83129 cat >>confdefs.h <<\_ACEOF
83130 #define HAVE_TANL 1
83131 _ACEOF
83133 cat >>confdefs.h <<\_ACEOF
83134 #define HAVE_TANHF 1
83135 _ACEOF
83137 cat >>confdefs.h <<\_ACEOF
83138 #define HAVE_TANHL 1
83139 _ACEOF
83143 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
83144 echo "$as_me: error: No support for this host/target combination." >&2;}
83145 { (exit 1); exit 1; }; }
83147 esac
83151 # At some point, we should differentiate between architectures
83152 # like x86, which have long double versions, and alpha/powerpc/etc.,
83153 # which don't. For the time being, punt.
83154 if test x"long_double_math_on_this_cpu" = x"yes"; then
83155 cat >>confdefs.h <<\_ACEOF
83156 #define HAVE_ACOSL 1
83157 _ACEOF
83159 cat >>confdefs.h <<\_ACEOF
83160 #define HAVE_ASINL 1
83161 _ACEOF
83163 cat >>confdefs.h <<\_ACEOF
83164 #define HAVE_ATAN2L 1
83165 _ACEOF
83167 cat >>confdefs.h <<\_ACEOF
83168 #define HAVE_ATANL 1
83169 _ACEOF
83171 cat >>confdefs.h <<\_ACEOF
83172 #define HAVE_CEILL 1
83173 _ACEOF
83175 cat >>confdefs.h <<\_ACEOF
83176 #define HAVE_COPYSIGNL 1
83177 _ACEOF
83179 cat >>confdefs.h <<\_ACEOF
83180 #define HAVE_COSL 1
83181 _ACEOF
83183 cat >>confdefs.h <<\_ACEOF
83184 #define HAVE_COSHL 1
83185 _ACEOF
83187 cat >>confdefs.h <<\_ACEOF
83188 #define HAVE_EXPL 1
83189 _ACEOF
83191 cat >>confdefs.h <<\_ACEOF
83192 #define HAVE_FABSL 1
83193 _ACEOF
83195 cat >>confdefs.h <<\_ACEOF
83196 #define HAVE_FLOORL 1
83197 _ACEOF
83199 cat >>confdefs.h <<\_ACEOF
83200 #define HAVE_FMODL 1
83201 _ACEOF
83203 cat >>confdefs.h <<\_ACEOF
83204 #define HAVE_FREXPL 1
83205 _ACEOF
83207 cat >>confdefs.h <<\_ACEOF
83208 #define HAVE_LDEXPL 1
83209 _ACEOF
83211 cat >>confdefs.h <<\_ACEOF
83212 #define HAVE_LOG10L 1
83213 _ACEOF
83215 cat >>confdefs.h <<\_ACEOF
83216 #define HAVE_LOGL 1
83217 _ACEOF
83219 cat >>confdefs.h <<\_ACEOF
83220 #define HAVE_MODFL 1
83221 _ACEOF
83223 cat >>confdefs.h <<\_ACEOF
83224 #define HAVE_POWL 1
83225 _ACEOF
83227 cat >>confdefs.h <<\_ACEOF
83228 #define HAVE_SINCOSL 1
83229 _ACEOF
83231 cat >>confdefs.h <<\_ACEOF
83232 #define HAVE_SINL 1
83233 _ACEOF
83235 cat >>confdefs.h <<\_ACEOF
83236 #define HAVE_SINHL 1
83237 _ACEOF
83239 cat >>confdefs.h <<\_ACEOF
83240 #define HAVE_SQRTL 1
83241 _ACEOF
83243 cat >>confdefs.h <<\_ACEOF
83244 #define HAVE_TANL 1
83245 _ACEOF
83247 cat >>confdefs.h <<\_ACEOF
83248 #define HAVE_TANHL 1
83249 _ACEOF
83253 # Assume we have _Unwind_GetIPInfo for cross-compiles.
83254 cat >>confdefs.h <<\_ACEOF
83255 #define HAVE_GETIPINFO 1
83256 _ACEOF
83261 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
83264 # Check whether --enable-symvers or --disable-symvers was given.
83265 if test "${enable_symvers+set}" = set; then
83266 enableval="$enable_symvers"
83268 case "$enableval" in
83269 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
83270 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
83271 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
83272 { (exit 1); exit 1; }; } ;;
83273 esac
83275 else
83276 enable_symvers=yes
83280 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
83281 # don't know enough about $LD to do tricks...
83284 # Turn a 'yes' into a suitable default.
83285 if test x$enable_symvers = xyes ; then
83286 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
83287 enable_symvers=no
83288 else
83289 if test $with_gnu_ld = yes ; then
83290 enable_symvers=gnu
83291 else
83292 case ${target_os} in
83293 darwin*)
83294 enable_symvers=darwin ;;
83296 enable_symvers=no ;;
83297 esac
83302 # Check to see if 'darwin' or 'darwin-export' can win.
83303 if test x$enable_symvers = xdarwin-export ; then
83304 enable_symvers=darwin
83307 # Check to see if 'gnu' can win.
83308 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
83309 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
83310 echo "$as_me:$LINENO: checking for shared libgcc" >&5
83311 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
83312 ac_save_CFLAGS="$CFLAGS"
83313 CFLAGS=' -lgcc_s'
83314 if test x$gcc_no_link = xyes; then
83315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83317 { (exit 1); exit 1; }; }
83319 cat >conftest.$ac_ext <<_ACEOF
83320 /* confdefs.h. */
83321 _ACEOF
83322 cat confdefs.h >>conftest.$ac_ext
83323 cat >>conftest.$ac_ext <<_ACEOF
83324 /* end confdefs.h. */
83327 main ()
83329 return 0;
83331 return 0;
83333 _ACEOF
83334 rm -f conftest.$ac_objext conftest$ac_exeext
83335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83336 (eval $ac_link) 2>conftest.er1
83337 ac_status=$?
83338 grep -v '^ *+' conftest.er1 >conftest.err
83339 rm -f conftest.er1
83340 cat conftest.err >&5
83341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83342 (exit $ac_status); } &&
83343 { ac_try='test -z "$ac_c_werror_flag"
83344 || test ! -s conftest.err'
83345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83346 (eval $ac_try) 2>&5
83347 ac_status=$?
83348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83349 (exit $ac_status); }; } &&
83350 { ac_try='test -s conftest$ac_exeext'
83351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83352 (eval $ac_try) 2>&5
83353 ac_status=$?
83354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83355 (exit $ac_status); }; }; then
83356 glibcxx_shared_libgcc=yes
83357 else
83358 echo "$as_me: failed program was:" >&5
83359 sed 's/^/| /' conftest.$ac_ext >&5
83361 glibcxx_shared_libgcc=no
83363 rm -f conftest.err conftest.$ac_objext \
83364 conftest$ac_exeext conftest.$ac_ext
83365 CFLAGS="$ac_save_CFLAGS"
83366 if test $glibcxx_shared_libgcc = no; then
83367 cat > conftest.c <<EOF
83368 int main (void) { return 0; }
83370 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
83371 -shared -shared-libgcc -o conftest.so \
83372 conftest.c -v 2>&1 >/dev/null \
83373 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
83374 rm -f conftest.c conftest.so
83375 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
83376 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
83377 if test x$gcc_no_link = xyes; then
83378 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83380 { (exit 1); exit 1; }; }
83382 cat >conftest.$ac_ext <<_ACEOF
83383 /* confdefs.h. */
83384 _ACEOF
83385 cat confdefs.h >>conftest.$ac_ext
83386 cat >>conftest.$ac_ext <<_ACEOF
83387 /* end confdefs.h. */
83390 main ()
83392 return 0;
83394 return 0;
83396 _ACEOF
83397 rm -f conftest.$ac_objext conftest$ac_exeext
83398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83399 (eval $ac_link) 2>conftest.er1
83400 ac_status=$?
83401 grep -v '^ *+' conftest.er1 >conftest.err
83402 rm -f conftest.er1
83403 cat conftest.err >&5
83404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83405 (exit $ac_status); } &&
83406 { ac_try='test -z "$ac_c_werror_flag"
83407 || test ! -s conftest.err'
83408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83409 (eval $ac_try) 2>&5
83410 ac_status=$?
83411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83412 (exit $ac_status); }; } &&
83413 { ac_try='test -s conftest$ac_exeext'
83414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83415 (eval $ac_try) 2>&5
83416 ac_status=$?
83417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83418 (exit $ac_status); }; }; then
83419 glibcxx_shared_libgcc=yes
83420 else
83421 echo "$as_me: failed program was:" >&5
83422 sed 's/^/| /' conftest.$ac_ext >&5
83425 rm -f conftest.err conftest.$ac_objext \
83426 conftest$ac_exeext conftest.$ac_ext
83427 CFLAGS="$ac_save_CFLAGS"
83430 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
83431 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
83433 # For GNU ld, we need at least this version. The format is described in
83434 # GLIBCXX_CHECK_LINKER_FEATURES above.
83435 glibcxx_min_gnu_ld_version=21400
83437 # If no shared libgcc, can't win.
83438 if test $glibcxx_shared_libgcc != yes; then
83439 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
83440 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
83441 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
83442 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
83443 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
83444 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
83445 enable_symvers=no
83446 elif test $with_gnu_ld != yes ; then
83447 # just fail for now
83448 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
83449 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
83450 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
83451 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
83452 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
83453 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
83454 enable_symvers=no
83455 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
83456 # The right tools, the right setup, but too old. Fallbacks?
83457 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
83458 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
83459 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
83460 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
83461 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
83462 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
83463 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
83464 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
83465 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
83466 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
83467 enable_symvers=no
83471 # Everything parsed; figure out what file to use.
83472 case $enable_symvers in
83474 SYMVER_FILE=config/abi/pre/none.ver
83476 gnu)
83477 SYMVER_FILE=config/abi/pre/gnu.ver
83479 cat >>confdefs.h <<\_ACEOF
83480 #define _GLIBCXX_SYMVER_GNU 1
83481 _ACEOF
83484 gnu-versioned-namespace)
83485 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
83487 cat >>confdefs.h <<\_ACEOF
83488 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
83489 _ACEOF
83492 darwin)
83493 SYMVER_FILE=config/abi/pre/gnu.ver
83495 cat >>confdefs.h <<\_ACEOF
83496 #define _GLIBCXX_SYMVER_DARWIN 1
83497 _ACEOF
83500 esac
83502 if test x$enable_symvers != xno ; then
83504 cat >>confdefs.h <<\_ACEOF
83505 #define _GLIBCXX_SYMVER 1
83506 _ACEOF
83516 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
83517 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
83519 # Now, set up compatibility support, if any.
83520 # In addition, need this to deal with std::size_t mangling in
83521 # src/compatibility.cc. In a perfect world, could use
83522 # typeid(std::size_t).name()[0] to do direct substitution.
83523 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
83524 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
83525 ac_save_CFLAGS="$CFLAGS"
83526 CFLAGS="-Werror"
83527 cat >conftest.$ac_ext <<_ACEOF
83528 /* confdefs.h. */
83529 _ACEOF
83530 cat confdefs.h >>conftest.$ac_ext
83531 cat >>conftest.$ac_ext <<_ACEOF
83532 /* end confdefs.h. */
83535 main ()
83537 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
83539 return 0;
83541 _ACEOF
83542 rm -f conftest.$ac_objext
83543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83544 (eval $ac_compile) 2>conftest.er1
83545 ac_status=$?
83546 grep -v '^ *+' conftest.er1 >conftest.err
83547 rm -f conftest.er1
83548 cat conftest.err >&5
83549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83550 (exit $ac_status); } &&
83551 { ac_try='test -z "$ac_c_werror_flag"
83552 || test ! -s conftest.err'
83553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83554 (eval $ac_try) 2>&5
83555 ac_status=$?
83556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83557 (exit $ac_status); }; } &&
83558 { ac_try='test -s conftest.$ac_objext'
83559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83560 (eval $ac_try) 2>&5
83561 ac_status=$?
83562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83563 (exit $ac_status); }; }; then
83564 glibcxx_size_t_is_i=yes
83565 else
83566 echo "$as_me: failed program was:" >&5
83567 sed 's/^/| /' conftest.$ac_ext >&5
83569 glibcxx_size_t_is_i=no
83571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83572 CFLAGS=$ac_save_CFLAGS
83573 if test "$glibcxx_size_t_is_i" = yes; then
83575 cat >>confdefs.h <<\_ACEOF
83576 #define _GLIBCXX_SIZE_T_IS_UINT 1
83577 _ACEOF
83580 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
83581 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
83583 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
83584 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
83585 ac_save_CFLAGS="$CFLAGS"
83586 CFLAGS="-Werror"
83587 cat >conftest.$ac_ext <<_ACEOF
83588 /* confdefs.h. */
83589 _ACEOF
83590 cat confdefs.h >>conftest.$ac_ext
83591 cat >>conftest.$ac_ext <<_ACEOF
83592 /* end confdefs.h. */
83595 main ()
83597 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
83599 return 0;
83601 _ACEOF
83602 rm -f conftest.$ac_objext
83603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83604 (eval $ac_compile) 2>conftest.er1
83605 ac_status=$?
83606 grep -v '^ *+' conftest.er1 >conftest.err
83607 rm -f conftest.er1
83608 cat conftest.err >&5
83609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83610 (exit $ac_status); } &&
83611 { ac_try='test -z "$ac_c_werror_flag"
83612 || test ! -s conftest.err'
83613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83614 (eval $ac_try) 2>&5
83615 ac_status=$?
83616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83617 (exit $ac_status); }; } &&
83618 { ac_try='test -s conftest.$ac_objext'
83619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83620 (eval $ac_try) 2>&5
83621 ac_status=$?
83622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83623 (exit $ac_status); }; }; then
83624 glibcxx_ptrdiff_t_is_i=yes
83625 else
83626 echo "$as_me: failed program was:" >&5
83627 sed 's/^/| /' conftest.$ac_ext >&5
83629 glibcxx_ptrdiff_t_is_i=no
83631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83632 CFLAGS=$ac_save_CFLAGS
83633 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
83635 cat >>confdefs.h <<\_ACEOF
83636 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
83637 _ACEOF
83640 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
83641 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
83644 # Check whether --enable-visibility or --disable-visibility was given.
83645 if test "${enable_visibility+set}" = set; then
83646 enableval="$enable_visibility"
83648 case "$enableval" in
83649 yes|no) ;;
83650 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
83651 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
83652 { (exit 1); exit 1; }; } ;;
83653 esac
83655 else
83656 enable_visibility=yes
83660 if test x$enable_visibility = xyes ; then
83661 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
83662 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
83663 if test "${have_attribute_visibility+set}" = set; then
83664 echo $ECHO_N "(cached) $ECHO_C" >&6
83665 else
83667 save_CFLAGS="$CFLAGS"
83668 CFLAGS="$CFLAGS -Werror"
83669 cat >conftest.$ac_ext <<_ACEOF
83670 /* confdefs.h. */
83671 _ACEOF
83672 cat confdefs.h >>conftest.$ac_ext
83673 cat >>conftest.$ac_ext <<_ACEOF
83674 /* end confdefs.h. */
83675 void __attribute__((visibility("hidden"))) foo(void) { }
83677 main ()
83681 return 0;
83683 _ACEOF
83684 rm -f conftest.$ac_objext
83685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83686 (eval $ac_compile) 2>conftest.er1
83687 ac_status=$?
83688 grep -v '^ *+' conftest.er1 >conftest.err
83689 rm -f conftest.er1
83690 cat conftest.err >&5
83691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83692 (exit $ac_status); } &&
83693 { ac_try='test -z "$ac_c_werror_flag"
83694 || test ! -s conftest.err'
83695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83696 (eval $ac_try) 2>&5
83697 ac_status=$?
83698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83699 (exit $ac_status); }; } &&
83700 { ac_try='test -s conftest.$ac_objext'
83701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83702 (eval $ac_try) 2>&5
83703 ac_status=$?
83704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83705 (exit $ac_status); }; }; then
83706 have_attribute_visibility=yes
83707 else
83708 echo "$as_me: failed program was:" >&5
83709 sed 's/^/| /' conftest.$ac_ext >&5
83711 have_attribute_visibility=no
83713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83714 CFLAGS="$save_CFLAGS"
83716 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
83717 echo "${ECHO_T}$have_attribute_visibility" >&6
83718 if test $have_attribute_visibility = no; then
83719 enable_visibility=no
83724 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
83725 echo "$as_me: visibility supported: $enable_visibility" >&6;}
83728 ac_ldbl_compat=no
83729 case "$target" in
83730 powerpc*-*-*gnu* | \
83731 sparc*-*-linux* | \
83732 s390*-*-linux* | \
83733 alpha*-*-linux*)
83734 cat >conftest.$ac_ext <<_ACEOF
83735 /* confdefs.h. */
83736 _ACEOF
83737 cat confdefs.h >>conftest.$ac_ext
83738 cat >>conftest.$ac_ext <<_ACEOF
83739 /* end confdefs.h. */
83742 main ()
83745 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
83746 #error no need for long double compatibility
83747 #endif
83750 return 0;
83752 _ACEOF
83753 rm -f conftest.$ac_objext
83754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83755 (eval $ac_compile) 2>conftest.er1
83756 ac_status=$?
83757 grep -v '^ *+' conftest.er1 >conftest.err
83758 rm -f conftest.er1
83759 cat conftest.err >&5
83760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83761 (exit $ac_status); } &&
83762 { ac_try='test -z "$ac_c_werror_flag"
83763 || test ! -s conftest.err'
83764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83765 (eval $ac_try) 2>&5
83766 ac_status=$?
83767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83768 (exit $ac_status); }; } &&
83769 { ac_try='test -s conftest.$ac_objext'
83770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83771 (eval $ac_try) 2>&5
83772 ac_status=$?
83773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83774 (exit $ac_status); }; }; then
83775 ac_ldbl_compat=yes
83776 else
83777 echo "$as_me: failed program was:" >&5
83778 sed 's/^/| /' conftest.$ac_ext >&5
83780 ac_ldbl_compat=no
83782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83783 if test "$ac_ldbl_compat" = yes; then
83785 cat >>confdefs.h <<\_ACEOF
83786 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
83787 _ACEOF
83789 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
83791 esac
83794 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
83796 if $GLIBCXX_IS_NATIVE ; then
83797 # Do checks for resource limit functions.
83799 setrlimit_have_headers=yes
83803 for ac_header in unistd.h sys/time.h sys/resource.h
83805 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83806 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83807 echo "$as_me:$LINENO: checking for $ac_header" >&5
83808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83810 echo $ECHO_N "(cached) $ECHO_C" >&6
83812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83813 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83814 else
83815 # Is the header compilable?
83816 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83817 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83818 cat >conftest.$ac_ext <<_ACEOF
83819 /* confdefs.h. */
83820 _ACEOF
83821 cat confdefs.h >>conftest.$ac_ext
83822 cat >>conftest.$ac_ext <<_ACEOF
83823 /* end confdefs.h. */
83824 $ac_includes_default
83825 #include <$ac_header>
83826 _ACEOF
83827 rm -f conftest.$ac_objext
83828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83829 (eval $ac_compile) 2>conftest.er1
83830 ac_status=$?
83831 grep -v '^ *+' conftest.er1 >conftest.err
83832 rm -f conftest.er1
83833 cat conftest.err >&5
83834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83835 (exit $ac_status); } &&
83836 { ac_try='test -z "$ac_c_werror_flag"
83837 || test ! -s conftest.err'
83838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83839 (eval $ac_try) 2>&5
83840 ac_status=$?
83841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83842 (exit $ac_status); }; } &&
83843 { ac_try='test -s conftest.$ac_objext'
83844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83845 (eval $ac_try) 2>&5
83846 ac_status=$?
83847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83848 (exit $ac_status); }; }; then
83849 ac_header_compiler=yes
83850 else
83851 echo "$as_me: failed program was:" >&5
83852 sed 's/^/| /' conftest.$ac_ext >&5
83854 ac_header_compiler=no
83856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83857 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83858 echo "${ECHO_T}$ac_header_compiler" >&6
83860 # Is the header present?
83861 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83862 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83863 cat >conftest.$ac_ext <<_ACEOF
83864 /* confdefs.h. */
83865 _ACEOF
83866 cat confdefs.h >>conftest.$ac_ext
83867 cat >>conftest.$ac_ext <<_ACEOF
83868 /* end confdefs.h. */
83869 #include <$ac_header>
83870 _ACEOF
83871 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83872 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83873 ac_status=$?
83874 grep -v '^ *+' conftest.er1 >conftest.err
83875 rm -f conftest.er1
83876 cat conftest.err >&5
83877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83878 (exit $ac_status); } >/dev/null; then
83879 if test -s conftest.err; then
83880 ac_cpp_err=$ac_c_preproc_warn_flag
83881 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83882 else
83883 ac_cpp_err=
83885 else
83886 ac_cpp_err=yes
83888 if test -z "$ac_cpp_err"; then
83889 ac_header_preproc=yes
83890 else
83891 echo "$as_me: failed program was:" >&5
83892 sed 's/^/| /' conftest.$ac_ext >&5
83894 ac_header_preproc=no
83896 rm -f conftest.err conftest.$ac_ext
83897 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83898 echo "${ECHO_T}$ac_header_preproc" >&6
83900 # So? What about this header?
83901 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83902 yes:no: )
83903 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83904 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83905 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83906 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83907 ac_header_preproc=yes
83909 no:yes:* )
83910 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83911 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83912 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83913 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83914 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83915 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83916 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83917 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83918 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83919 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83920 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83921 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83923 cat <<\_ASBOX
83924 ## ----------------------------------------- ##
83925 ## Report this to the package-unused lists. ##
83926 ## ----------------------------------------- ##
83927 _ASBOX
83929 sed "s/^/$as_me: WARNING: /" >&2
83931 esac
83932 echo "$as_me:$LINENO: checking for $ac_header" >&5
83933 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83934 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83935 echo $ECHO_N "(cached) $ECHO_C" >&6
83936 else
83937 eval "$as_ac_Header=\$ac_header_preproc"
83939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83940 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83943 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83944 cat >>confdefs.h <<_ACEOF
83945 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83946 _ACEOF
83948 else
83949 setrlimit_have_headers=no
83952 done
83954 # If don't have the headers, then we can't run the tests now, and we
83955 # won't be seeing any of these during testsuite compilation.
83956 if test $setrlimit_have_headers = yes; then
83957 # Can't do these in a loop, else the resulting syntax is wrong.
83959 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
83960 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
83961 cat >conftest.$ac_ext <<_ACEOF
83962 /* confdefs.h. */
83963 _ACEOF
83964 cat confdefs.h >>conftest.$ac_ext
83965 cat >>conftest.$ac_ext <<_ACEOF
83966 /* end confdefs.h. */
83967 #include <unistd.h>
83968 #include <sys/time.h>
83969 #include <sys/resource.h>
83972 main ()
83974 int f = RLIMIT_DATA ;
83976 return 0;
83978 _ACEOF
83979 rm -f conftest.$ac_objext
83980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83981 (eval $ac_compile) 2>conftest.er1
83982 ac_status=$?
83983 grep -v '^ *+' conftest.er1 >conftest.err
83984 rm -f conftest.er1
83985 cat conftest.err >&5
83986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83987 (exit $ac_status); } &&
83988 { ac_try='test -z "$ac_c_werror_flag"
83989 || test ! -s conftest.err'
83990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83991 (eval $ac_try) 2>&5
83992 ac_status=$?
83993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83994 (exit $ac_status); }; } &&
83995 { ac_try='test -s conftest.$ac_objext'
83996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83997 (eval $ac_try) 2>&5
83998 ac_status=$?
83999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84000 (exit $ac_status); }; }; then
84001 glibcxx_mresult=1
84002 else
84003 echo "$as_me: failed program was:" >&5
84004 sed 's/^/| /' conftest.$ac_ext >&5
84006 glibcxx_mresult=0
84008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84010 cat >>confdefs.h <<_ACEOF
84011 #define HAVE_LIMIT_DATA $glibcxx_mresult
84012 _ACEOF
84014 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
84015 echo "$as_me:$LINENO: result: $res" >&5
84016 echo "${ECHO_T}$res" >&6
84019 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
84020 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
84021 cat >conftest.$ac_ext <<_ACEOF
84022 /* confdefs.h. */
84023 _ACEOF
84024 cat confdefs.h >>conftest.$ac_ext
84025 cat >>conftest.$ac_ext <<_ACEOF
84026 /* end confdefs.h. */
84027 #include <unistd.h>
84028 #include <sys/time.h>
84029 #include <sys/resource.h>
84032 main ()
84034 int f = RLIMIT_RSS ;
84036 return 0;
84038 _ACEOF
84039 rm -f conftest.$ac_objext
84040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84041 (eval $ac_compile) 2>conftest.er1
84042 ac_status=$?
84043 grep -v '^ *+' conftest.er1 >conftest.err
84044 rm -f conftest.er1
84045 cat conftest.err >&5
84046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84047 (exit $ac_status); } &&
84048 { ac_try='test -z "$ac_c_werror_flag"
84049 || test ! -s conftest.err'
84050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84051 (eval $ac_try) 2>&5
84052 ac_status=$?
84053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84054 (exit $ac_status); }; } &&
84055 { ac_try='test -s conftest.$ac_objext'
84056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84057 (eval $ac_try) 2>&5
84058 ac_status=$?
84059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84060 (exit $ac_status); }; }; then
84061 glibcxx_mresult=1
84062 else
84063 echo "$as_me: failed program was:" >&5
84064 sed 's/^/| /' conftest.$ac_ext >&5
84066 glibcxx_mresult=0
84068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84070 cat >>confdefs.h <<_ACEOF
84071 #define HAVE_LIMIT_RSS $glibcxx_mresult
84072 _ACEOF
84074 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
84075 echo "$as_me:$LINENO: result: $res" >&5
84076 echo "${ECHO_T}$res" >&6
84079 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
84080 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
84081 cat >conftest.$ac_ext <<_ACEOF
84082 /* confdefs.h. */
84083 _ACEOF
84084 cat confdefs.h >>conftest.$ac_ext
84085 cat >>conftest.$ac_ext <<_ACEOF
84086 /* end confdefs.h. */
84087 #include <unistd.h>
84088 #include <sys/time.h>
84089 #include <sys/resource.h>
84092 main ()
84094 int f = RLIMIT_VMEM ;
84096 return 0;
84098 _ACEOF
84099 rm -f conftest.$ac_objext
84100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84101 (eval $ac_compile) 2>conftest.er1
84102 ac_status=$?
84103 grep -v '^ *+' conftest.er1 >conftest.err
84104 rm -f conftest.er1
84105 cat conftest.err >&5
84106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84107 (exit $ac_status); } &&
84108 { ac_try='test -z "$ac_c_werror_flag"
84109 || test ! -s conftest.err'
84110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84111 (eval $ac_try) 2>&5
84112 ac_status=$?
84113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84114 (exit $ac_status); }; } &&
84115 { ac_try='test -s conftest.$ac_objext'
84116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84117 (eval $ac_try) 2>&5
84118 ac_status=$?
84119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84120 (exit $ac_status); }; }; then
84121 glibcxx_mresult=1
84122 else
84123 echo "$as_me: failed program was:" >&5
84124 sed 's/^/| /' conftest.$ac_ext >&5
84126 glibcxx_mresult=0
84128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84130 cat >>confdefs.h <<_ACEOF
84131 #define HAVE_LIMIT_VMEM $glibcxx_mresult
84132 _ACEOF
84134 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
84135 echo "$as_me:$LINENO: result: $res" >&5
84136 echo "${ECHO_T}$res" >&6
84139 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
84140 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
84141 cat >conftest.$ac_ext <<_ACEOF
84142 /* confdefs.h. */
84143 _ACEOF
84144 cat confdefs.h >>conftest.$ac_ext
84145 cat >>conftest.$ac_ext <<_ACEOF
84146 /* end confdefs.h. */
84147 #include <unistd.h>
84148 #include <sys/time.h>
84149 #include <sys/resource.h>
84152 main ()
84154 int f = RLIMIT_AS ;
84156 return 0;
84158 _ACEOF
84159 rm -f conftest.$ac_objext
84160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84161 (eval $ac_compile) 2>conftest.er1
84162 ac_status=$?
84163 grep -v '^ *+' conftest.er1 >conftest.err
84164 rm -f conftest.er1
84165 cat conftest.err >&5
84166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84167 (exit $ac_status); } &&
84168 { ac_try='test -z "$ac_c_werror_flag"
84169 || test ! -s conftest.err'
84170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84171 (eval $ac_try) 2>&5
84172 ac_status=$?
84173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84174 (exit $ac_status); }; } &&
84175 { ac_try='test -s conftest.$ac_objext'
84176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84177 (eval $ac_try) 2>&5
84178 ac_status=$?
84179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84180 (exit $ac_status); }; }; then
84181 glibcxx_mresult=1
84182 else
84183 echo "$as_me: failed program was:" >&5
84184 sed 's/^/| /' conftest.$ac_ext >&5
84186 glibcxx_mresult=0
84188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84190 cat >>confdefs.h <<_ACEOF
84191 #define HAVE_LIMIT_AS $glibcxx_mresult
84192 _ACEOF
84194 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
84195 echo "$as_me:$LINENO: result: $res" >&5
84196 echo "${ECHO_T}$res" >&6
84199 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
84200 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
84201 cat >conftest.$ac_ext <<_ACEOF
84202 /* confdefs.h. */
84203 _ACEOF
84204 cat confdefs.h >>conftest.$ac_ext
84205 cat >>conftest.$ac_ext <<_ACEOF
84206 /* end confdefs.h. */
84207 #include <unistd.h>
84208 #include <sys/time.h>
84209 #include <sys/resource.h>
84212 main ()
84214 int f = RLIMIT_FSIZE ;
84216 return 0;
84218 _ACEOF
84219 rm -f conftest.$ac_objext
84220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84221 (eval $ac_compile) 2>conftest.er1
84222 ac_status=$?
84223 grep -v '^ *+' conftest.er1 >conftest.err
84224 rm -f conftest.er1
84225 cat conftest.err >&5
84226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84227 (exit $ac_status); } &&
84228 { ac_try='test -z "$ac_c_werror_flag"
84229 || test ! -s conftest.err'
84230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84231 (eval $ac_try) 2>&5
84232 ac_status=$?
84233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84234 (exit $ac_status); }; } &&
84235 { ac_try='test -s conftest.$ac_objext'
84236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84237 (eval $ac_try) 2>&5
84238 ac_status=$?
84239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84240 (exit $ac_status); }; }; then
84241 glibcxx_mresult=1
84242 else
84243 echo "$as_me: failed program was:" >&5
84244 sed 's/^/| /' conftest.$ac_ext >&5
84246 glibcxx_mresult=0
84248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84250 cat >>confdefs.h <<_ACEOF
84251 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
84252 _ACEOF
84254 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
84255 echo "$as_me:$LINENO: result: $res" >&5
84256 echo "${ECHO_T}$res" >&6
84259 # Check for rlimit, setrlimit.
84260 if test "${ac_setrlimit+set}" = set; then
84261 echo $ECHO_N "(cached) $ECHO_C" >&6
84262 else
84264 cat >conftest.$ac_ext <<_ACEOF
84265 /* confdefs.h. */
84266 _ACEOF
84267 cat confdefs.h >>conftest.$ac_ext
84268 cat >>conftest.$ac_ext <<_ACEOF
84269 /* end confdefs.h. */
84270 #include <unistd.h>
84271 #include <sys/time.h>
84272 #include <sys/resource.h>
84275 main ()
84277 struct rlimit r;
84278 setrlimit(0, &r);
84280 return 0;
84282 _ACEOF
84283 rm -f conftest.$ac_objext
84284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84285 (eval $ac_compile) 2>conftest.er1
84286 ac_status=$?
84287 grep -v '^ *+' conftest.er1 >conftest.err
84288 rm -f conftest.er1
84289 cat conftest.err >&5
84290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84291 (exit $ac_status); } &&
84292 { ac_try='test -z "$ac_c_werror_flag"
84293 || test ! -s conftest.err'
84294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84295 (eval $ac_try) 2>&5
84296 ac_status=$?
84297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84298 (exit $ac_status); }; } &&
84299 { ac_try='test -s conftest.$ac_objext'
84300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84301 (eval $ac_try) 2>&5
84302 ac_status=$?
84303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84304 (exit $ac_status); }; }; then
84305 ac_setrlimit=yes
84306 else
84307 echo "$as_me: failed program was:" >&5
84308 sed 's/^/| /' conftest.$ac_ext >&5
84310 ac_setrlimit=no
84312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84318 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
84319 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
84320 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
84321 ac_res_limits=yes
84323 cat >>confdefs.h <<\_ACEOF
84324 #define _GLIBCXX_RES_LIMITS 1
84325 _ACEOF
84327 else
84328 ac_res_limits=no
84330 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
84331 echo "${ECHO_T}$ac_res_limits" >&6
84334 # Look for setenv, so that extended locale tests can be performed.
84336 echo "$as_me:$LINENO: checking for setenv declaration" >&5
84337 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
84338 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
84339 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
84340 echo $ECHO_N "(cached) $ECHO_C" >&6
84341 else
84345 ac_ext=cc
84346 ac_cpp='$CXXCPP $CPPFLAGS'
84347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84351 cat >conftest.$ac_ext <<_ACEOF
84352 /* confdefs.h. */
84353 _ACEOF
84354 cat confdefs.h >>conftest.$ac_ext
84355 cat >>conftest.$ac_ext <<_ACEOF
84356 /* end confdefs.h. */
84357 #include <stdlib.h>
84359 main ()
84361 setenv(0, 0, 0);
84363 return 0;
84365 _ACEOF
84366 rm -f conftest.$ac_objext
84367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84368 (eval $ac_compile) 2>conftest.er1
84369 ac_status=$?
84370 grep -v '^ *+' conftest.er1 >conftest.err
84371 rm -f conftest.er1
84372 cat conftest.err >&5
84373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84374 (exit $ac_status); } &&
84375 { ac_try='test -z "$ac_cxx_werror_flag"
84376 || test ! -s conftest.err'
84377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84378 (eval $ac_try) 2>&5
84379 ac_status=$?
84380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84381 (exit $ac_status); }; } &&
84382 { ac_try='test -s conftest.$ac_objext'
84383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84384 (eval $ac_try) 2>&5
84385 ac_status=$?
84386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84387 (exit $ac_status); }; }; then
84388 glibcxx_cv_func_setenv_use=yes
84389 else
84390 echo "$as_me: failed program was:" >&5
84391 sed 's/^/| /' conftest.$ac_ext >&5
84393 glibcxx_cv_func_setenv_use=no
84395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84396 ac_ext=c
84397 ac_cpp='$CPP $CPPFLAGS'
84398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84406 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
84407 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
84408 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
84410 for ac_func in setenv
84412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84413 echo "$as_me:$LINENO: checking for $ac_func" >&5
84414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84415 if eval "test \"\${$as_ac_var+set}\" = set"; then
84416 echo $ECHO_N "(cached) $ECHO_C" >&6
84417 else
84418 if test x$gcc_no_link = xyes; then
84419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84421 { (exit 1); exit 1; }; }
84423 cat >conftest.$ac_ext <<_ACEOF
84424 /* confdefs.h. */
84425 _ACEOF
84426 cat confdefs.h >>conftest.$ac_ext
84427 cat >>conftest.$ac_ext <<_ACEOF
84428 /* end confdefs.h. */
84429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84431 #define $ac_func innocuous_$ac_func
84433 /* System header to define __stub macros and hopefully few prototypes,
84434 which can conflict with char $ac_func (); below.
84435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84436 <limits.h> exists even on freestanding compilers. */
84438 #ifdef __STDC__
84439 # include <limits.h>
84440 #else
84441 # include <assert.h>
84442 #endif
84444 #undef $ac_func
84446 /* Override any gcc2 internal prototype to avoid an error. */
84447 #ifdef __cplusplus
84448 extern "C"
84450 #endif
84451 /* We use char because int might match the return type of a gcc2
84452 builtin and then its argument prototype would still apply. */
84453 char $ac_func ();
84454 /* The GNU C library defines this for functions which it implements
84455 to always fail with ENOSYS. Some functions are actually named
84456 something starting with __ and the normal name is an alias. */
84457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84458 choke me
84459 #else
84460 char (*f) () = $ac_func;
84461 #endif
84462 #ifdef __cplusplus
84464 #endif
84467 main ()
84469 return f != $ac_func;
84471 return 0;
84473 _ACEOF
84474 rm -f conftest.$ac_objext conftest$ac_exeext
84475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84476 (eval $ac_link) 2>conftest.er1
84477 ac_status=$?
84478 grep -v '^ *+' conftest.er1 >conftest.err
84479 rm -f conftest.er1
84480 cat conftest.err >&5
84481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84482 (exit $ac_status); } &&
84483 { ac_try='test -z "$ac_c_werror_flag"
84484 || test ! -s conftest.err'
84485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84486 (eval $ac_try) 2>&5
84487 ac_status=$?
84488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84489 (exit $ac_status); }; } &&
84490 { ac_try='test -s conftest$ac_exeext'
84491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84492 (eval $ac_try) 2>&5
84493 ac_status=$?
84494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84495 (exit $ac_status); }; }; then
84496 eval "$as_ac_var=yes"
84497 else
84498 echo "$as_me: failed program was:" >&5
84499 sed 's/^/| /' conftest.$ac_ext >&5
84501 eval "$as_ac_var=no"
84503 rm -f conftest.err conftest.$ac_objext \
84504 conftest$ac_exeext conftest.$ac_ext
84506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84508 if test `eval echo '${'$as_ac_var'}'` = yes; then
84509 cat >>confdefs.h <<_ACEOF
84510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84511 _ACEOF
84514 done
84520 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
84521 test $enable_symvers != no; then
84522 case "$host" in
84523 *-*-cygwin*)
84524 enable_abi_check=no ;;
84526 enable_abi_check=yes ;;
84527 esac
84528 else
84529 # Only build this as native, since automake does not understand
84530 # CXX_FOR_BUILD.
84531 enable_abi_check=no
84534 # Export file names for ABI checking.
84535 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
84539 # Propagate the target-specific source directories through the build chain.
84540 ATOMICITY_SRCDIR=config/${atomicity_dir}
84541 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
84542 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
84543 OS_INC_SRCDIR=config/${os_include_dir}
84544 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
84552 # Determine cross-compile flags and AM_CONDITIONALs.
84553 #AC_SUBST(GLIBCXX_IS_NATIVE)
84554 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
84555 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
84556 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
84559 if test $is_hosted = yes; then
84560 GLIBCXX_HOSTED_TRUE=
84561 GLIBCXX_HOSTED_FALSE='#'
84562 else
84563 GLIBCXX_HOSTED_TRUE='#'
84564 GLIBCXX_HOSTED_FALSE=
84570 if test $enable_libstdcxx_pch = yes; then
84571 GLIBCXX_BUILD_PCH_TRUE=
84572 GLIBCXX_BUILD_PCH_FALSE='#'
84573 else
84574 GLIBCXX_BUILD_PCH_TRUE='#'
84575 GLIBCXX_BUILD_PCH_FALSE=
84581 if test $enable_cheaders = c; then
84582 GLIBCXX_C_HEADERS_C_TRUE=
84583 GLIBCXX_C_HEADERS_C_FALSE='#'
84584 else
84585 GLIBCXX_C_HEADERS_C_TRUE='#'
84586 GLIBCXX_C_HEADERS_C_FALSE=
84592 if test $enable_cheaders = c_std; then
84593 GLIBCXX_C_HEADERS_C_STD_TRUE=
84594 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
84595 else
84596 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
84597 GLIBCXX_C_HEADERS_C_STD_FALSE=
84603 if test $c_compatibility = yes; then
84604 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
84605 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
84606 else
84607 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
84608 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
84614 if test $enable_libstdcxx_debug = yes; then
84615 GLIBCXX_BUILD_DEBUG_TRUE=
84616 GLIBCXX_BUILD_DEBUG_FALSE='#'
84617 else
84618 GLIBCXX_BUILD_DEBUG_TRUE='#'
84619 GLIBCXX_BUILD_DEBUG_FALSE=
84625 if test $enable_symvers != no; then
84626 ENABLE_SYMVERS_TRUE=
84627 ENABLE_SYMVERS_FALSE='#'
84628 else
84629 ENABLE_SYMVERS_TRUE='#'
84630 ENABLE_SYMVERS_FALSE=
84636 if test $enable_symvers = gnu; then
84637 ENABLE_SYMVERS_GNU_TRUE=
84638 ENABLE_SYMVERS_GNU_FALSE='#'
84639 else
84640 ENABLE_SYMVERS_GNU_TRUE='#'
84641 ENABLE_SYMVERS_GNU_FALSE=
84647 if test $enable_symvers = gnu-versioned-namespace; then
84648 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
84649 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
84650 else
84651 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
84652 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
84658 if test $enable_symvers = darwin; then
84659 ENABLE_SYMVERS_DARWIN_TRUE=
84660 ENABLE_SYMVERS_DARWIN_FALSE='#'
84661 else
84662 ENABLE_SYMVERS_DARWIN_TRUE='#'
84663 ENABLE_SYMVERS_DARWIN_FALSE=
84669 if test $enable_visibility = yes; then
84670 ENABLE_VISIBILITY_TRUE=
84671 ENABLE_VISIBILITY_FALSE='#'
84672 else
84673 ENABLE_VISIBILITY_TRUE='#'
84674 ENABLE_VISIBILITY_FALSE=
84680 if test $ac_ldbl_compat = yes; then
84681 GLIBCXX_LDBL_COMPAT_TRUE=
84682 GLIBCXX_LDBL_COMPAT_FALSE='#'
84683 else
84684 GLIBCXX_LDBL_COMPAT_TRUE='#'
84685 GLIBCXX_LDBL_COMPAT_FALSE=
84691 cat >confcache <<\_ACEOF
84692 # This file is a shell script that caches the results of configure
84693 # tests run on this system so they can be shared between configure
84694 # scripts and configure runs, see configure's option --config-cache.
84695 # It is not useful on other systems. If it contains results you don't
84696 # want to keep, you may remove or edit it.
84698 # config.status only pays attention to the cache file if you give it
84699 # the --recheck option to rerun configure.
84701 # `ac_cv_env_foo' variables (set or unset) will be overridden when
84702 # loading this file, other *unset* `ac_cv_foo' will be assigned the
84703 # following values.
84705 _ACEOF
84707 # The following way of writing the cache mishandles newlines in values,
84708 # but we know of no workaround that is simple, portable, and efficient.
84709 # So, don't put newlines in cache variables' values.
84710 # Ultrix sh set writes to stderr and can't be redirected directly,
84711 # and sets the high bit in the cache file unless we assign to the vars.
84713 (set) 2>&1 |
84714 case `(ac_space=' '; set | grep ac_space) 2>&1` in
84715 *ac_space=\ *)
84716 # `set' does not quote correctly, so add quotes (double-quote
84717 # substitution turns \\\\ into \\, and sed turns \\ into \).
84718 sed -n \
84719 "s/'/'\\\\''/g;
84720 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
84723 # `set' quotes correctly as required by POSIX, so do not add quotes.
84724 sed -n \
84725 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
84727 esac;
84729 sed '
84730 t clear
84731 : clear
84732 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
84733 t end
84734 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
84735 : end' >>confcache
84736 if diff $cache_file confcache >/dev/null 2>&1; then :; else
84737 if test -w $cache_file; then
84738 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
84739 cat confcache >$cache_file
84740 else
84741 echo "not updating unwritable cache $cache_file"
84744 rm -f confcache
84746 if test ${multilib} = yes; then
84747 multilib_arg="--enable-multilib"
84748 else
84749 multilib_arg=
84752 # Export all the install information.
84754 glibcxx_toolexecdir=no
84755 glibcxx_toolexeclibdir=no
84756 glibcxx_prefixdir=$prefix
84758 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
84759 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
84761 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
84762 if test "${with_gxx_include_dir+set}" = set; then
84763 withval="$with_gxx_include_dir"
84764 case "$withval" in
84765 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
84766 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
84767 { (exit 1); exit 1; }; } ;;
84768 no) gxx_include_dir=no ;;
84769 *) gxx_include_dir=$withval ;;
84770 esac
84771 else
84772 gxx_include_dir=no
84774 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
84775 echo "${ECHO_T}$gxx_include_dir" >&6
84777 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
84778 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
84779 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
84780 if test "${enable_version_specific_runtime_libs+set}" = set; then
84781 enableval="$enable_version_specific_runtime_libs"
84782 case "$enableval" in
84783 yes) version_specific_libs=yes ;;
84784 no) version_specific_libs=no ;;
84785 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
84786 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
84787 { (exit 1); exit 1; }; };;
84788 esac
84789 else
84790 version_specific_libs=no
84792 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
84793 echo "${ECHO_T}$version_specific_libs" >&6
84795 # Default case for install directory for include files.
84796 if test $version_specific_libs = no && test $gxx_include_dir = no; then
84797 gxx_include_dir='include/c++/${gcc_version}'
84798 if test -n "$with_cross_host" &&
84799 test x"$with_cross_host" != x"no"; then
84800 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
84801 else
84802 gxx_include_dir='${prefix}/'"$gxx_include_dir"
84806 # Version-specific runtime libs processing.
84807 if test $version_specific_libs = yes; then
84808 # Need the gcc compiler version to know where to install libraries
84809 # and header files if --enable-version-specific-runtime-libs option
84810 # is selected. FIXME: these variables are misnamed, there are
84811 # no executables installed in _toolexecdir or _toolexeclibdir.
84812 if test x"$gxx_include_dir" = x"no"; then
84813 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
84815 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
84816 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
84819 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
84820 # Install a library built with a cross compiler in tooldir, not libdir.
84821 if test x"$glibcxx_toolexecdir" = x"no"; then
84822 if test -n "$with_cross_host" &&
84823 test x"$with_cross_host" != x"no"; then
84824 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
84825 glibcxx_toolexeclibdir='${toolexecdir}/lib'
84826 else
84827 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
84828 glibcxx_toolexeclibdir='${libdir}'
84830 multi_os_directory=`$CXX -print-multi-os-directory`
84831 case $multi_os_directory in
84832 .) ;; # Avoid trailing /.
84833 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
84834 esac
84837 echo "$as_me:$LINENO: checking for install location" >&5
84838 echo $ECHO_N "checking for install location... $ECHO_C" >&6
84839 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
84840 echo "${ECHO_T}$gxx_include_dir" >&6
84848 # Export all the include and flag information to Makefiles.
84850 # Used for every C++ compile we perform.
84851 GLIBCXX_INCLUDES="\
84852 -I$glibcxx_builddir/include/$host_alias \
84853 -I$glibcxx_builddir/include \
84854 -I$glibcxx_srcdir/libsupc++"
84856 # For Canadian crosses, pick this up too.
84857 if test $CANADIAN = yes; then
84858 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
84861 # Stuff in the actual top level. Currently only used by libsupc++ to
84862 # get unwind* headers from the gcc dir.
84863 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
84864 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
84866 # Now, export this to all the little Makefiles....
84871 # Optimization flags that are probably a good idea for thrill-seekers. Just
84872 # uncomment the lines below and make, everything else is ready to go...
84873 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
84874 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
84877 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
84881 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
84882 grep "enable shared" > /dev/null;
84883 then
84884 LIBSUPCXX_PICFLAGS=-prefer-pic
84885 else
84886 LIBSUPCXX_PICFLAGS=
84890 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
84892 ac_config_files="$ac_config_files scripts/testsuite_flags"
84895 ac_config_commands="$ac_config_commands default"
84898 cat >confcache <<\_ACEOF
84899 # This file is a shell script that caches the results of configure
84900 # tests run on this system so they can be shared between configure
84901 # scripts and configure runs, see configure's option --config-cache.
84902 # It is not useful on other systems. If it contains results you don't
84903 # want to keep, you may remove or edit it.
84905 # config.status only pays attention to the cache file if you give it
84906 # the --recheck option to rerun configure.
84908 # `ac_cv_env_foo' variables (set or unset) will be overridden when
84909 # loading this file, other *unset* `ac_cv_foo' will be assigned the
84910 # following values.
84912 _ACEOF
84914 # The following way of writing the cache mishandles newlines in values,
84915 # but we know of no workaround that is simple, portable, and efficient.
84916 # So, don't put newlines in cache variables' values.
84917 # Ultrix sh set writes to stderr and can't be redirected directly,
84918 # and sets the high bit in the cache file unless we assign to the vars.
84920 (set) 2>&1 |
84921 case `(ac_space=' '; set | grep ac_space) 2>&1` in
84922 *ac_space=\ *)
84923 # `set' does not quote correctly, so add quotes (double-quote
84924 # substitution turns \\\\ into \\, and sed turns \\ into \).
84925 sed -n \
84926 "s/'/'\\\\''/g;
84927 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
84930 # `set' quotes correctly as required by POSIX, so do not add quotes.
84931 sed -n \
84932 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
84934 esac;
84936 sed '
84937 t clear
84938 : clear
84939 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
84940 t end
84941 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
84942 : end' >>confcache
84943 if diff $cache_file confcache >/dev/null 2>&1; then :; else
84944 if test -w $cache_file; then
84945 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
84946 cat confcache >$cache_file
84947 else
84948 echo "not updating unwritable cache $cache_file"
84951 rm -f confcache
84953 test "x$prefix" = xNONE && prefix=$ac_default_prefix
84954 # Let make expand exec_prefix.
84955 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
84957 # VPATH may cause trouble with some makes, so we remove $(srcdir),
84958 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
84959 # trailing colons and then remove the whole line if VPATH becomes empty
84960 # (actually we leave an empty line to preserve line numbers).
84961 if test "x$srcdir" = x.; then
84962 ac_vpsub='/^[ ]*VPATH[ ]*=/{
84963 s/:*\$(srcdir):*/:/;
84964 s/:*\${srcdir}:*/:/;
84965 s/:*@srcdir@:*/:/;
84966 s/^\([^=]*=[ ]*\):*/\1/;
84967 s/:*$//;
84968 s/^[^=]*=[ ]*$//;
84972 DEFS=-DHAVE_CONFIG_H
84974 ac_libobjs=
84975 ac_ltlibobjs=
84976 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
84977 # 1. Remove the extension, and $U if already installed.
84978 ac_i=`echo "$ac_i" |
84979 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
84980 # 2. Add them.
84981 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
84982 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
84983 done
84984 LIBOBJS=$ac_libobjs
84986 LTLIBOBJS=$ac_ltlibobjs
84989 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
84990 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
84991 Usually this means the macro was only invoked conditionally." >&5
84992 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
84993 Usually this means the macro was only invoked conditionally." >&2;}
84994 { (exit 1); exit 1; }; }
84996 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
84997 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
84998 Usually this means the macro was only invoked conditionally." >&5
84999 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
85000 Usually this means the macro was only invoked conditionally." >&2;}
85001 { (exit 1); exit 1; }; }
85003 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
85004 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
85005 Usually this means the macro was only invoked conditionally." >&5
85006 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
85007 Usually this means the macro was only invoked conditionally." >&2;}
85008 { (exit 1); exit 1; }; }
85010 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
85011 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
85012 Usually this means the macro was only invoked conditionally." >&5
85013 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
85014 Usually this means the macro was only invoked conditionally." >&2;}
85015 { (exit 1); exit 1; }; }
85017 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
85018 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
85019 Usually this means the macro was only invoked conditionally." >&5
85020 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
85021 Usually this means the macro was only invoked conditionally." >&2;}
85022 { (exit 1); exit 1; }; }
85024 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
85025 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
85026 Usually this means the macro was only invoked conditionally." >&5
85027 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
85028 Usually this means the macro was only invoked conditionally." >&2;}
85029 { (exit 1); exit 1; }; }
85031 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
85032 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
85033 Usually this means the macro was only invoked conditionally." >&5
85034 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
85035 Usually this means the macro was only invoked conditionally." >&2;}
85036 { (exit 1); exit 1; }; }
85038 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
85039 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
85040 Usually this means the macro was only invoked conditionally." >&5
85041 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
85042 Usually this means the macro was only invoked conditionally." >&2;}
85043 { (exit 1); exit 1; }; }
85045 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
85046 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
85047 Usually this means the macro was only invoked conditionally." >&5
85048 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
85049 Usually this means the macro was only invoked conditionally." >&2;}
85050 { (exit 1); exit 1; }; }
85052 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
85053 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
85054 Usually this means the macro was only invoked conditionally." >&5
85055 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
85056 Usually this means the macro was only invoked conditionally." >&2;}
85057 { (exit 1); exit 1; }; }
85059 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
85060 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
85061 Usually this means the macro was only invoked conditionally." >&5
85062 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
85063 Usually this means the macro was only invoked conditionally." >&2;}
85064 { (exit 1); exit 1; }; }
85066 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
85067 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
85068 Usually this means the macro was only invoked conditionally." >&5
85069 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
85070 Usually this means the macro was only invoked conditionally." >&2;}
85071 { (exit 1); exit 1; }; }
85073 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
85074 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
85075 Usually this means the macro was only invoked conditionally." >&5
85076 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
85077 Usually this means the macro was only invoked conditionally." >&2;}
85078 { (exit 1); exit 1; }; }
85081 : ${CONFIG_STATUS=./config.status}
85082 ac_clean_files_save=$ac_clean_files
85083 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
85084 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
85085 echo "$as_me: creating $CONFIG_STATUS" >&6;}
85086 cat >$CONFIG_STATUS <<_ACEOF
85087 #! $SHELL
85088 # Generated by $as_me.
85089 # Run this file to recreate the current configuration.
85090 # Compiler output produced by configure, useful for debugging
85091 # configure, is in config.log if it exists.
85093 debug=false
85094 ac_cs_recheck=false
85095 ac_cs_silent=false
85096 SHELL=\${CONFIG_SHELL-$SHELL}
85097 _ACEOF
85099 cat >>$CONFIG_STATUS <<\_ACEOF
85100 ## --------------------- ##
85101 ## M4sh Initialization. ##
85102 ## --------------------- ##
85104 # Be Bourne compatible
85105 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
85106 emulate sh
85107 NULLCMD=:
85108 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
85109 # is contrary to our usage. Disable this feature.
85110 alias -g '${1+"$@"}'='"$@"'
85111 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
85112 set -o posix
85114 DUALCASE=1; export DUALCASE # for MKS sh
85116 # Support unset when possible.
85117 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85118 as_unset=unset
85119 else
85120 as_unset=false
85124 # Work around bugs in pre-3.0 UWIN ksh.
85125 $as_unset ENV MAIL MAILPATH
85126 PS1='$ '
85127 PS2='> '
85128 PS4='+ '
85130 # NLS nuisances.
85131 for as_var in \
85132 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
85133 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
85134 LC_TELEPHONE LC_TIME
85136 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
85137 eval $as_var=C; export $as_var
85138 else
85139 $as_unset $as_var
85141 done
85143 # Required to use basename.
85144 if expr a : '\(a\)' >/dev/null 2>&1; then
85145 as_expr=expr
85146 else
85147 as_expr=false
85150 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
85151 as_basename=basename
85152 else
85153 as_basename=false
85157 # Name of the executable.
85158 as_me=`$as_basename "$0" ||
85159 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
85160 X"$0" : 'X\(//\)$' \| \
85161 X"$0" : 'X\(/\)$' \| \
85162 . : '\(.\)' 2>/dev/null ||
85163 echo X/"$0" |
85164 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
85165 /^X\/\(\/\/\)$/{ s//\1/; q; }
85166 /^X\/\(\/\).*/{ s//\1/; q; }
85167 s/.*/./; q'`
85170 # PATH needs CR, and LINENO needs CR and PATH.
85171 # Avoid depending upon Character Ranges.
85172 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
85173 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85174 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85175 as_cr_digits='0123456789'
85176 as_cr_alnum=$as_cr_Letters$as_cr_digits
85178 # The user is always right.
85179 if test "${PATH_SEPARATOR+set}" != set; then
85180 echo "#! /bin/sh" >conf$$.sh
85181 echo "exit 0" >>conf$$.sh
85182 chmod +x conf$$.sh
85183 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
85184 PATH_SEPARATOR=';'
85185 else
85186 PATH_SEPARATOR=:
85188 rm -f conf$$.sh
85192 as_lineno_1=$LINENO
85193 as_lineno_2=$LINENO
85194 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
85195 test "x$as_lineno_1" != "x$as_lineno_2" &&
85196 test "x$as_lineno_3" = "x$as_lineno_2" || {
85197 # Find who we are. Look in the path if we contain no path at all
85198 # relative or not.
85199 case $0 in
85200 *[\\/]* ) as_myself=$0 ;;
85201 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
85202 for as_dir in $PATH
85204 IFS=$as_save_IFS
85205 test -z "$as_dir" && as_dir=.
85206 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
85207 done
85210 esac
85211 # We did not find ourselves, most probably we were run as `sh COMMAND'
85212 # in which case we are not to be found in the path.
85213 if test "x$as_myself" = x; then
85214 as_myself=$0
85216 if test ! -f "$as_myself"; then
85217 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
85218 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
85219 { (exit 1); exit 1; }; }
85221 case $CONFIG_SHELL in
85223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
85224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
85226 IFS=$as_save_IFS
85227 test -z "$as_dir" && as_dir=.
85228 for as_base in sh bash ksh sh5; do
85229 case $as_dir in
85231 if ("$as_dir/$as_base" -c '
85232 as_lineno_1=$LINENO
85233 as_lineno_2=$LINENO
85234 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
85235 test "x$as_lineno_1" != "x$as_lineno_2" &&
85236 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
85237 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
85238 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
85239 CONFIG_SHELL=$as_dir/$as_base
85240 export CONFIG_SHELL
85241 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
85242 fi;;
85243 esac
85244 done
85245 done
85247 esac
85249 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
85250 # uniformly replaced by the line number. The first 'sed' inserts a
85251 # line-number line before each line; the second 'sed' does the real
85252 # work. The second script uses 'N' to pair each line-number line
85253 # with the numbered line, and appends trailing '-' during
85254 # substitution so that $LINENO is not a special case at line end.
85255 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
85256 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
85257 sed '=' <$as_myself |
85258 sed '
85260 s,$,-,
85261 : loop
85262 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
85263 t loop
85264 s,-$,,
85265 s,^['$as_cr_digits']*\n,,
85266 ' >$as_me.lineno &&
85267 chmod +x $as_me.lineno ||
85268 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
85269 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
85270 { (exit 1); exit 1; }; }
85272 # Don't try to exec as it changes $[0], causing all sort of problems
85273 # (the dirname of $[0] is not the place where we might find the
85274 # original and so on. Autoconf is especially sensible to this).
85275 . ./$as_me.lineno
85276 # Exit status is that of the last command.
85277 exit
85281 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
85282 *c*,-n*) ECHO_N= ECHO_C='
85283 ' ECHO_T=' ' ;;
85284 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
85285 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
85286 esac
85288 if expr a : '\(a\)' >/dev/null 2>&1; then
85289 as_expr=expr
85290 else
85291 as_expr=false
85294 rm -f conf$$ conf$$.exe conf$$.file
85295 echo >conf$$.file
85296 if ln -s conf$$.file conf$$ 2>/dev/null; then
85297 # We could just check for DJGPP; but this test a) works b) is more generic
85298 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
85299 if test -f conf$$.exe; then
85300 # Don't use ln at all; we don't have any links
85301 as_ln_s='cp -p'
85302 else
85303 as_ln_s='ln -s'
85305 elif ln conf$$.file conf$$ 2>/dev/null; then
85306 as_ln_s=ln
85307 else
85308 as_ln_s='cp -p'
85310 rm -f conf$$ conf$$.exe conf$$.file
85312 if mkdir -p . 2>/dev/null; then
85313 as_mkdir_p=:
85314 else
85315 test -d ./-p && rmdir ./-p
85316 as_mkdir_p=false
85319 as_executable_p="test -f"
85321 # Sed expression to map a string onto a valid CPP name.
85322 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
85324 # Sed expression to map a string onto a valid variable name.
85325 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
85328 # IFS
85329 # We need space, tab and new line, in precisely that order.
85330 as_nl='
85332 IFS=" $as_nl"
85334 # CDPATH.
85335 $as_unset CDPATH
85337 exec 6>&1
85339 # Open the log real soon, to keep \$[0] and so on meaningful, and to
85340 # report actual input values of CONFIG_FILES etc. instead of their
85341 # values after options handling. Logging --version etc. is OK.
85342 exec 5>>config.log
85344 echo
85345 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
85346 ## Running $as_me. ##
85347 _ASBOX
85348 } >&5
85349 cat >&5 <<_CSEOF
85351 This file was extended by package-unused $as_me version-unused, which was
85352 generated by GNU Autoconf 2.59. Invocation command line was
85354 CONFIG_FILES = $CONFIG_FILES
85355 CONFIG_HEADERS = $CONFIG_HEADERS
85356 CONFIG_LINKS = $CONFIG_LINKS
85357 CONFIG_COMMANDS = $CONFIG_COMMANDS
85358 $ $0 $@
85360 _CSEOF
85361 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
85362 echo >&5
85363 _ACEOF
85365 # Files that config.status was made for.
85366 if test -n "$ac_config_files"; then
85367 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
85370 if test -n "$ac_config_headers"; then
85371 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
85374 if test -n "$ac_config_links"; then
85375 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
85378 if test -n "$ac_config_commands"; then
85379 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
85382 cat >>$CONFIG_STATUS <<\_ACEOF
85384 ac_cs_usage="\
85385 \`$as_me' instantiates files from templates according to the
85386 current configuration.
85388 Usage: $0 [OPTIONS] [FILE]...
85390 -h, --help print this help, then exit
85391 -V, --version print version number, then exit
85392 -q, --quiet do not print progress messages
85393 -d, --debug don't remove temporary files
85394 --recheck update $as_me by reconfiguring in the same conditions
85395 --file=FILE[:TEMPLATE]
85396 instantiate the configuration file FILE
85397 --header=FILE[:TEMPLATE]
85398 instantiate the configuration header FILE
85400 Configuration files:
85401 $config_files
85403 Configuration headers:
85404 $config_headers
85406 Configuration commands:
85407 $config_commands
85409 Report bugs to <bug-autoconf@gnu.org>."
85410 _ACEOF
85412 cat >>$CONFIG_STATUS <<_ACEOF
85413 ac_cs_version="\\
85414 package-unused config.status version-unused
85415 configured by $0, generated by GNU Autoconf 2.59,
85416 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
85418 Copyright (C) 2003 Free Software Foundation, Inc.
85419 This config.status script is free software; the Free Software Foundation
85420 gives unlimited permission to copy, distribute and modify it."
85421 srcdir=$srcdir
85422 INSTALL="$INSTALL"
85423 _ACEOF
85425 cat >>$CONFIG_STATUS <<\_ACEOF
85426 # If no file are specified by the user, then we need to provide default
85427 # value. By we need to know if files were specified by the user.
85428 ac_need_defaults=:
85429 while test $# != 0
85431 case $1 in
85432 --*=*)
85433 ac_option=`expr "x$1" : 'x\([^=]*\)='`
85434 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
85435 ac_shift=:
85438 ac_option=$1
85439 ac_optarg=$2
85440 ac_shift=shift
85442 *) # This is not an option, so the user has probably given explicit
85443 # arguments.
85444 ac_option=$1
85445 ac_need_defaults=false;;
85446 esac
85448 case $ac_option in
85449 # Handling of the options.
85450 _ACEOF
85451 cat >>$CONFIG_STATUS <<\_ACEOF
85452 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
85453 ac_cs_recheck=: ;;
85454 --version | --vers* | -V )
85455 echo "$ac_cs_version"; exit 0 ;;
85456 --he | --h)
85457 # Conflict between --help and --header
85458 { { echo "$as_me:$LINENO: error: ambiguous option: $1
85459 Try \`$0 --help' for more information." >&5
85460 echo "$as_me: error: ambiguous option: $1
85461 Try \`$0 --help' for more information." >&2;}
85462 { (exit 1); exit 1; }; };;
85463 --help | --hel | -h )
85464 echo "$ac_cs_usage"; exit 0 ;;
85465 --debug | --d* | -d )
85466 debug=: ;;
85467 --file | --fil | --fi | --f )
85468 $ac_shift
85469 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
85470 ac_need_defaults=false;;
85471 --header | --heade | --head | --hea )
85472 $ac_shift
85473 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
85474 ac_need_defaults=false;;
85475 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
85476 | -silent | --silent | --silen | --sile | --sil | --si | --s)
85477 ac_cs_silent=: ;;
85479 # This is an error.
85480 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
85481 Try \`$0 --help' for more information." >&5
85482 echo "$as_me: error: unrecognized option: $1
85483 Try \`$0 --help' for more information." >&2;}
85484 { (exit 1); exit 1; }; } ;;
85486 *) ac_config_targets="$ac_config_targets $1" ;;
85488 esac
85489 shift
85490 done
85492 ac_configure_extra_args=
85494 if $ac_cs_silent; then
85495 exec 6>/dev/null
85496 ac_configure_extra_args="$ac_configure_extra_args --silent"
85499 _ACEOF
85500 cat >>$CONFIG_STATUS <<_ACEOF
85501 if \$ac_cs_recheck; then
85502 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
85503 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
85506 _ACEOF
85508 cat >>$CONFIG_STATUS <<_ACEOF
85510 # INIT-COMMANDS section.
85514 srcdir="$srcdir"
85515 host="$host"
85516 target="$target"
85517 with_multisubdir="$with_multisubdir"
85518 with_multisrctop="$with_multisrctop"
85519 with_target_subdir="$with_target_subdir"
85520 ac_configure_args="${multilib_arg} ${ac_configure_args}"
85521 multi_basedir="$multi_basedir"
85522 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
85523 CC="$CC"
85525 # Variables needed in config.status (file generation) which aren't already
85526 # passed by autoconf.
85527 SUBDIRS="$SUBDIRS"
85530 _ACEOF
85534 cat >>$CONFIG_STATUS <<\_ACEOF
85535 for ac_config_target in $ac_config_targets
85537 case "$ac_config_target" in
85538 # Handling of arguments.
85539 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
85540 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
85541 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
85542 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
85543 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
85544 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
85545 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
85546 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
85547 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
85548 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
85549 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
85550 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
85551 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
85552 { (exit 1); exit 1; }; };;
85553 esac
85554 done
85556 # If the user did not use the arguments to specify the items to instantiate,
85557 # then the envvar interface is used. Set only those that are not.
85558 # We use the long form for the default assignment because of an extremely
85559 # bizarre bug on SunOS 4.1.3.
85560 if $ac_need_defaults; then
85561 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
85562 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
85563 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
85566 # Have a temporary directory for convenience. Make it in the build tree
85567 # simply because there is no reason to put it here, and in addition,
85568 # creating and moving files from /tmp can sometimes cause problems.
85569 # Create a temporary directory, and hook for its removal unless debugging.
85570 $debug ||
85572 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
85573 trap '{ (exit 1); exit 1; }' 1 2 13 15
85576 # Create a (secure) tmp directory for tmp files.
85579 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
85580 test -n "$tmp" && test -d "$tmp"
85581 } ||
85583 tmp=./confstat$$-$RANDOM
85584 (umask 077 && mkdir $tmp)
85585 } ||
85587 echo "$me: cannot create a temporary directory in ." >&2
85588 { (exit 1); exit 1; }
85591 _ACEOF
85593 cat >>$CONFIG_STATUS <<_ACEOF
85596 # CONFIG_FILES section.
85599 # No need to generate the scripts if there are no CONFIG_FILES.
85600 # This happens for instance when ./config.status config.h
85601 if test -n "\$CONFIG_FILES"; then
85602 # Protect against being on the right side of a sed subst in config.status.
85603 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
85604 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
85605 s,@SHELL@,$SHELL,;t t
85606 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
85607 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
85608 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
85609 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
85610 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
85611 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
85612 s,@exec_prefix@,$exec_prefix,;t t
85613 s,@prefix@,$prefix,;t t
85614 s,@program_transform_name@,$program_transform_name,;t t
85615 s,@bindir@,$bindir,;t t
85616 s,@sbindir@,$sbindir,;t t
85617 s,@libexecdir@,$libexecdir,;t t
85618 s,@datadir@,$datadir,;t t
85619 s,@sysconfdir@,$sysconfdir,;t t
85620 s,@sharedstatedir@,$sharedstatedir,;t t
85621 s,@localstatedir@,$localstatedir,;t t
85622 s,@libdir@,$libdir,;t t
85623 s,@includedir@,$includedir,;t t
85624 s,@oldincludedir@,$oldincludedir,;t t
85625 s,@infodir@,$infodir,;t t
85626 s,@mandir@,$mandir,;t t
85627 s,@build_alias@,$build_alias,;t t
85628 s,@host_alias@,$host_alias,;t t
85629 s,@target_alias@,$target_alias,;t t
85630 s,@DEFS@,$DEFS,;t t
85631 s,@ECHO_C@,$ECHO_C,;t t
85632 s,@ECHO_N@,$ECHO_N,;t t
85633 s,@ECHO_T@,$ECHO_T,;t t
85634 s,@LIBS@,$LIBS,;t t
85635 s,@libtool_VERSION@,$libtool_VERSION,;t t
85636 s,@multi_basedir@,$multi_basedir,;t t
85637 s,@build@,$build,;t t
85638 s,@build_cpu@,$build_cpu,;t t
85639 s,@build_vendor@,$build_vendor,;t t
85640 s,@build_os@,$build_os,;t t
85641 s,@host@,$host,;t t
85642 s,@host_cpu@,$host_cpu,;t t
85643 s,@host_vendor@,$host_vendor,;t t
85644 s,@host_os@,$host_os,;t t
85645 s,@target@,$target,;t t
85646 s,@target_cpu@,$target_cpu,;t t
85647 s,@target_vendor@,$target_vendor,;t t
85648 s,@target_os@,$target_os,;t t
85649 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
85650 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
85651 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
85652 s,@CYGPATH_W@,$CYGPATH_W,;t t
85653 s,@PACKAGE@,$PACKAGE,;t t
85654 s,@VERSION@,$VERSION,;t t
85655 s,@ACLOCAL@,$ACLOCAL,;t t
85656 s,@AUTOCONF@,$AUTOCONF,;t t
85657 s,@AUTOMAKE@,$AUTOMAKE,;t t
85658 s,@AUTOHEADER@,$AUTOHEADER,;t t
85659 s,@MAKEINFO@,$MAKEINFO,;t t
85660 s,@install_sh@,$install_sh,;t t
85661 s,@STRIP@,$STRIP,;t t
85662 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
85663 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
85664 s,@mkdir_p@,$mkdir_p,;t t
85665 s,@AWK@,$AWK,;t t
85666 s,@SET_MAKE@,$SET_MAKE,;t t
85667 s,@am__leading_dot@,$am__leading_dot,;t t
85668 s,@AMTAR@,$AMTAR,;t t
85669 s,@am__tar@,$am__tar,;t t
85670 s,@am__untar@,$am__untar,;t t
85671 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
85672 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
85673 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
85674 s,@CC@,$CC,;t t
85675 s,@ac_ct_CC@,$ac_ct_CC,;t t
85676 s,@EXEEXT@,$EXEEXT,;t t
85677 s,@OBJEXT@,$OBJEXT,;t t
85678 s,@CXX@,$CXX,;t t
85679 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
85680 s,@CFLAGS@,$CFLAGS,;t t
85681 s,@CXXFLAGS@,$CXXFLAGS,;t t
85682 s,@LN_S@,$LN_S,;t t
85683 s,@AS@,$AS,;t t
85684 s,@ac_ct_AS@,$ac_ct_AS,;t t
85685 s,@AR@,$AR,;t t
85686 s,@ac_ct_AR@,$ac_ct_AR,;t t
85687 s,@RANLIB@,$RANLIB,;t t
85688 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
85689 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
85690 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
85691 s,@MAINT@,$MAINT,;t t
85692 s,@CPP@,$CPP,;t t
85693 s,@CPPFLAGS@,$CPPFLAGS,;t t
85694 s,@EGREP@,$EGREP,;t t
85695 s,@LIBTOOL@,$LIBTOOL,;t t
85696 s,@CXXCPP@,$CXXCPP,;t t
85697 s,@enable_shared@,$enable_shared,;t t
85698 s,@enable_static@,$enable_static,;t t
85699 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
85700 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
85701 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
85702 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
85703 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
85704 s,@CSTDIO_H@,$CSTDIO_H,;t t
85705 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
85706 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
85707 s,@check_msgfmt@,$check_msgfmt,;t t
85708 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
85709 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
85710 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
85711 s,@USE_NLS@,$USE_NLS,;t t
85712 s,@CLOCALE_H@,$CLOCALE_H,;t t
85713 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
85714 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
85715 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
85716 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
85717 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
85718 s,@CMONEY_CC@,$CMONEY_CC,;t t
85719 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
85720 s,@CTIME_H@,$CTIME_H,;t t
85721 s,@CTIME_CC@,$CTIME_CC,;t t
85722 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
85723 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
85724 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
85725 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
85726 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
85727 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
85728 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
85729 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
85730 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
85731 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
85732 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
85733 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
85734 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
85735 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
85736 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
85737 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
85738 s,@WERROR@,$WERROR,;t t
85739 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
85740 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
85741 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
85742 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
85743 s,@LIBICONV@,$LIBICONV,;t t
85744 s,@LTLIBICONV@,$LTLIBICONV,;t t
85745 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
85746 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
85747 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
85748 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
85749 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
85750 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
85751 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
85752 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
85753 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
85754 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
85755 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
85756 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
85757 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
85758 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
85759 s,@baseline_dir@,$baseline_dir,;t t
85760 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
85761 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
85762 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
85763 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
85764 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
85765 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
85766 s,@gxx_include_dir@,$gxx_include_dir,;t t
85767 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
85768 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
85769 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
85770 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
85771 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
85772 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
85773 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
85774 s,@LIBOBJS@,$LIBOBJS,;t t
85775 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
85776 CEOF
85778 _ACEOF
85780 cat >>$CONFIG_STATUS <<\_ACEOF
85781 # Split the substitutions into bite-sized pieces for seds with
85782 # small command number limits, like on Digital OSF/1 and HP-UX.
85783 ac_max_sed_lines=48
85784 ac_sed_frag=1 # Number of current file.
85785 ac_beg=1 # First line for current file.
85786 ac_end=$ac_max_sed_lines # Line after last line for current file.
85787 ac_more_lines=:
85788 ac_sed_cmds=
85789 while $ac_more_lines; do
85790 if test $ac_beg -gt 1; then
85791 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
85792 else
85793 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
85795 if test ! -s $tmp/subs.frag; then
85796 ac_more_lines=false
85797 else
85798 # The purpose of the label and of the branching condition is to
85799 # speed up the sed processing (if there are no `@' at all, there
85800 # is no need to browse any of the substitutions).
85801 # These are the two extra sed commands mentioned above.
85802 (echo ':t
85803 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
85804 if test -z "$ac_sed_cmds"; then
85805 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
85806 else
85807 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
85809 ac_sed_frag=`expr $ac_sed_frag + 1`
85810 ac_beg=$ac_end
85811 ac_end=`expr $ac_end + $ac_max_sed_lines`
85813 done
85814 if test -z "$ac_sed_cmds"; then
85815 ac_sed_cmds=cat
85817 fi # test -n "$CONFIG_FILES"
85819 _ACEOF
85820 cat >>$CONFIG_STATUS <<\_ACEOF
85821 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
85822 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
85823 case $ac_file in
85824 - | *:- | *:-:* ) # input from stdin
85825 cat >$tmp/stdin
85826 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
85827 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
85828 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
85829 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
85830 * ) ac_file_in=$ac_file.in ;;
85831 esac
85833 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
85834 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
85835 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
85836 X"$ac_file" : 'X\(//\)[^/]' \| \
85837 X"$ac_file" : 'X\(//\)$' \| \
85838 X"$ac_file" : 'X\(/\)' \| \
85839 . : '\(.\)' 2>/dev/null ||
85840 echo X"$ac_file" |
85841 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
85842 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
85843 /^X\(\/\/\)$/{ s//\1/; q; }
85844 /^X\(\/\).*/{ s//\1/; q; }
85845 s/.*/./; q'`
85846 { if $as_mkdir_p; then
85847 mkdir -p "$ac_dir"
85848 else
85849 as_dir="$ac_dir"
85850 as_dirs=
85851 while test ! -d "$as_dir"; do
85852 as_dirs="$as_dir $as_dirs"
85853 as_dir=`(dirname "$as_dir") 2>/dev/null ||
85854 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
85855 X"$as_dir" : 'X\(//\)[^/]' \| \
85856 X"$as_dir" : 'X\(//\)$' \| \
85857 X"$as_dir" : 'X\(/\)' \| \
85858 . : '\(.\)' 2>/dev/null ||
85859 echo X"$as_dir" |
85860 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
85861 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
85862 /^X\(\/\/\)$/{ s//\1/; q; }
85863 /^X\(\/\).*/{ s//\1/; q; }
85864 s/.*/./; q'`
85865 done
85866 test ! -n "$as_dirs" || mkdir $as_dirs
85867 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
85868 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
85869 { (exit 1); exit 1; }; }; }
85871 ac_builddir=.
85873 if test "$ac_dir" != .; then
85874 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
85875 # A "../" for each directory in $ac_dir_suffix.
85876 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
85877 else
85878 ac_dir_suffix= ac_top_builddir=
85881 case $srcdir in
85882 .) # No --srcdir option. We are building in place.
85883 ac_srcdir=.
85884 if test -z "$ac_top_builddir"; then
85885 ac_top_srcdir=.
85886 else
85887 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
85888 fi ;;
85889 [\\/]* | ?:[\\/]* ) # Absolute path.
85890 ac_srcdir=$srcdir$ac_dir_suffix;
85891 ac_top_srcdir=$srcdir ;;
85892 *) # Relative path.
85893 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
85894 ac_top_srcdir=$ac_top_builddir$srcdir ;;
85895 esac
85897 # Do not use `cd foo && pwd` to compute absolute paths, because
85898 # the directories may not exist.
85899 case `pwd` in
85900 .) ac_abs_builddir="$ac_dir";;
85902 case "$ac_dir" in
85903 .) ac_abs_builddir=`pwd`;;
85904 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
85905 *) ac_abs_builddir=`pwd`/"$ac_dir";;
85906 esac;;
85907 esac
85908 case $ac_abs_builddir in
85909 .) ac_abs_top_builddir=${ac_top_builddir}.;;
85911 case ${ac_top_builddir}. in
85912 .) ac_abs_top_builddir=$ac_abs_builddir;;
85913 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
85914 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
85915 esac;;
85916 esac
85917 case $ac_abs_builddir in
85918 .) ac_abs_srcdir=$ac_srcdir;;
85920 case $ac_srcdir in
85921 .) ac_abs_srcdir=$ac_abs_builddir;;
85922 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
85923 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
85924 esac;;
85925 esac
85926 case $ac_abs_builddir in
85927 .) ac_abs_top_srcdir=$ac_top_srcdir;;
85929 case $ac_top_srcdir in
85930 .) ac_abs_top_srcdir=$ac_abs_builddir;;
85931 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
85932 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
85933 esac;;
85934 esac
85937 case $INSTALL in
85938 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
85939 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
85940 esac
85942 if test x"$ac_file" != x-; then
85943 { echo "$as_me:$LINENO: creating $ac_file" >&5
85944 echo "$as_me: creating $ac_file" >&6;}
85945 rm -f "$ac_file"
85947 # Let's still pretend it is `configure' which instantiates (i.e., don't
85948 # use $as_me), people would be surprised to read:
85949 # /* config.h. Generated by config.status. */
85950 if test x"$ac_file" = x-; then
85951 configure_input=
85952 else
85953 configure_input="$ac_file. "
85955 configure_input=$configure_input"Generated from `echo $ac_file_in |
85956 sed 's,.*/,,'` by configure."
85958 # First look for the input files in the build tree, otherwise in the
85959 # src tree.
85960 ac_file_inputs=`IFS=:
85961 for f in $ac_file_in; do
85962 case $f in
85963 -) echo $tmp/stdin ;;
85964 [\\/$]*)
85965 # Absolute (can't be DOS-style, as IFS=:)
85966 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
85967 echo "$as_me: error: cannot find input file: $f" >&2;}
85968 { (exit 1); exit 1; }; }
85969 echo "$f";;
85970 *) # Relative
85971 if test -f "$f"; then
85972 # Build tree
85973 echo "$f"
85974 elif test -f "$srcdir/$f"; then
85975 # Source tree
85976 echo "$srcdir/$f"
85977 else
85978 # /dev/null tree
85979 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
85980 echo "$as_me: error: cannot find input file: $f" >&2;}
85981 { (exit 1); exit 1; }; }
85982 fi;;
85983 esac
85984 done` || { (exit 1); exit 1; }
85985 _ACEOF
85986 cat >>$CONFIG_STATUS <<_ACEOF
85987 sed "$ac_vpsub
85988 $extrasub
85989 _ACEOF
85990 cat >>$CONFIG_STATUS <<\_ACEOF
85992 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
85993 s,@configure_input@,$configure_input,;t t
85994 s,@srcdir@,$ac_srcdir,;t t
85995 s,@abs_srcdir@,$ac_abs_srcdir,;t t
85996 s,@top_srcdir@,$ac_top_srcdir,;t t
85997 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
85998 s,@builddir@,$ac_builddir,;t t
85999 s,@abs_builddir@,$ac_abs_builddir,;t t
86000 s,@top_builddir@,$ac_top_builddir,;t t
86001 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
86002 s,@INSTALL@,$ac_INSTALL,;t t
86003 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
86004 rm -f $tmp/stdin
86005 if test x"$ac_file" != x-; then
86006 mv $tmp/out $ac_file
86007 else
86008 cat $tmp/out
86009 rm -f $tmp/out
86012 # Run the commands associated with the file.
86013 case $ac_file in
86014 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
86015 esac
86016 done
86017 _ACEOF
86018 cat >>$CONFIG_STATUS <<\_ACEOF
86021 # CONFIG_HEADER section.
86024 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
86025 # NAME is the cpp macro being defined and VALUE is the value it is being given.
86027 # ac_d sets the value in "#define NAME VALUE" lines.
86028 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
86029 ac_dB='[ ].*$,\1#\2'
86030 ac_dC=' '
86031 ac_dD=',;t'
86032 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
86033 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
86034 ac_uB='$,\1#\2define\3'
86035 ac_uC=' '
86036 ac_uD=',;t'
86038 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
86039 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
86040 case $ac_file in
86041 - | *:- | *:-:* ) # input from stdin
86042 cat >$tmp/stdin
86043 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
86044 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
86045 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
86046 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
86047 * ) ac_file_in=$ac_file.in ;;
86048 esac
86050 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
86051 echo "$as_me: creating $ac_file" >&6;}
86053 # First look for the input files in the build tree, otherwise in the
86054 # src tree.
86055 ac_file_inputs=`IFS=:
86056 for f in $ac_file_in; do
86057 case $f in
86058 -) echo $tmp/stdin ;;
86059 [\\/$]*)
86060 # Absolute (can't be DOS-style, as IFS=:)
86061 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
86062 echo "$as_me: error: cannot find input file: $f" >&2;}
86063 { (exit 1); exit 1; }; }
86064 # Do quote $f, to prevent DOS paths from being IFS'd.
86065 echo "$f";;
86066 *) # Relative
86067 if test -f "$f"; then
86068 # Build tree
86069 echo "$f"
86070 elif test -f "$srcdir/$f"; then
86071 # Source tree
86072 echo "$srcdir/$f"
86073 else
86074 # /dev/null tree
86075 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
86076 echo "$as_me: error: cannot find input file: $f" >&2;}
86077 { (exit 1); exit 1; }; }
86078 fi;;
86079 esac
86080 done` || { (exit 1); exit 1; }
86081 # Remove the trailing spaces.
86082 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
86084 _ACEOF
86086 # Transform confdefs.h into two sed scripts, `conftest.defines' and
86087 # `conftest.undefs', that substitutes the proper values into
86088 # config.h.in to produce config.h. The first handles `#define'
86089 # templates, and the second `#undef' templates.
86090 # And first: Protect against being on the right side of a sed subst in
86091 # config.status. Protect against being in an unquoted here document
86092 # in config.status.
86093 rm -f conftest.defines conftest.undefs
86094 # Using a here document instead of a string reduces the quoting nightmare.
86095 # Putting comments in sed scripts is not portable.
86097 # `end' is used to avoid that the second main sed command (meant for
86098 # 0-ary CPP macros) applies to n-ary macro definitions.
86099 # See the Autoconf documentation for `clear'.
86100 cat >confdef2sed.sed <<\_ACEOF
86101 s/[\\&,]/\\&/g
86102 s,[\\$`],\\&,g
86103 t clear
86104 : clear
86105 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
86106 t end
86107 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
86108 : end
86109 _ACEOF
86110 # If some macros were called several times there might be several times
86111 # the same #defines, which is useless. Nevertheless, we may not want to
86112 # sort them, since we want the *last* AC-DEFINE to be honored.
86113 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
86114 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
86115 rm -f confdef2sed.sed
86117 # This sed command replaces #undef with comments. This is necessary, for
86118 # example, in the case of _POSIX_SOURCE, which is predefined and required
86119 # on some systems where configure will not decide to define it.
86120 cat >>conftest.undefs <<\_ACEOF
86121 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
86122 _ACEOF
86124 # Break up conftest.defines because some shells have a limit on the size
86125 # of here documents, and old seds have small limits too (100 cmds).
86126 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
86127 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
86128 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
86129 echo ' :' >>$CONFIG_STATUS
86130 rm -f conftest.tail
86131 while grep . conftest.defines >/dev/null
86133 # Write a limited-size here document to $tmp/defines.sed.
86134 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
86135 # Speed up: don't consider the non `#define' lines.
86136 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
86137 # Work around the forget-to-reset-the-flag bug.
86138 echo 't clr' >>$CONFIG_STATUS
86139 echo ': clr' >>$CONFIG_STATUS
86140 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
86141 echo 'CEOF
86142 sed -f $tmp/defines.sed $tmp/in >$tmp/out
86143 rm -f $tmp/in
86144 mv $tmp/out $tmp/in
86145 ' >>$CONFIG_STATUS
86146 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
86147 rm -f conftest.defines
86148 mv conftest.tail conftest.defines
86149 done
86150 rm -f conftest.defines
86151 echo ' fi # grep' >>$CONFIG_STATUS
86152 echo >>$CONFIG_STATUS
86154 # Break up conftest.undefs because some shells have a limit on the size
86155 # of here documents, and old seds have small limits too (100 cmds).
86156 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
86157 rm -f conftest.tail
86158 while grep . conftest.undefs >/dev/null
86160 # Write a limited-size here document to $tmp/undefs.sed.
86161 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
86162 # Speed up: don't consider the non `#undef'
86163 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
86164 # Work around the forget-to-reset-the-flag bug.
86165 echo 't clr' >>$CONFIG_STATUS
86166 echo ': clr' >>$CONFIG_STATUS
86167 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
86168 echo 'CEOF
86169 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
86170 rm -f $tmp/in
86171 mv $tmp/out $tmp/in
86172 ' >>$CONFIG_STATUS
86173 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
86174 rm -f conftest.undefs
86175 mv conftest.tail conftest.undefs
86176 done
86177 rm -f conftest.undefs
86179 cat >>$CONFIG_STATUS <<\_ACEOF
86180 # Let's still pretend it is `configure' which instantiates (i.e., don't
86181 # use $as_me), people would be surprised to read:
86182 # /* config.h. Generated by config.status. */
86183 if test x"$ac_file" = x-; then
86184 echo "/* Generated by configure. */" >$tmp/config.h
86185 else
86186 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
86188 cat $tmp/in >>$tmp/config.h
86189 rm -f $tmp/in
86190 if test x"$ac_file" != x-; then
86191 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
86192 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
86193 echo "$as_me: $ac_file is unchanged" >&6;}
86194 else
86195 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
86196 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
86197 X"$ac_file" : 'X\(//\)[^/]' \| \
86198 X"$ac_file" : 'X\(//\)$' \| \
86199 X"$ac_file" : 'X\(/\)' \| \
86200 . : '\(.\)' 2>/dev/null ||
86201 echo X"$ac_file" |
86202 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
86203 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
86204 /^X\(\/\/\)$/{ s//\1/; q; }
86205 /^X\(\/\).*/{ s//\1/; q; }
86206 s/.*/./; q'`
86207 { if $as_mkdir_p; then
86208 mkdir -p "$ac_dir"
86209 else
86210 as_dir="$ac_dir"
86211 as_dirs=
86212 while test ! -d "$as_dir"; do
86213 as_dirs="$as_dir $as_dirs"
86214 as_dir=`(dirname "$as_dir") 2>/dev/null ||
86215 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
86216 X"$as_dir" : 'X\(//\)[^/]' \| \
86217 X"$as_dir" : 'X\(//\)$' \| \
86218 X"$as_dir" : 'X\(/\)' \| \
86219 . : '\(.\)' 2>/dev/null ||
86220 echo X"$as_dir" |
86221 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
86222 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
86223 /^X\(\/\/\)$/{ s//\1/; q; }
86224 /^X\(\/\).*/{ s//\1/; q; }
86225 s/.*/./; q'`
86226 done
86227 test ! -n "$as_dirs" || mkdir $as_dirs
86228 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
86229 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
86230 { (exit 1); exit 1; }; }; }
86232 rm -f $ac_file
86233 mv $tmp/config.h $ac_file
86235 else
86236 cat $tmp/config.h
86237 rm -f $tmp/config.h
86239 # Compute $ac_file's index in $config_headers.
86240 _am_stamp_count=1
86241 for _am_header in $config_headers :; do
86242 case $_am_header in
86243 $ac_file | $ac_file:* )
86244 break ;;
86246 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
86247 esac
86248 done
86249 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
86250 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
86251 X$ac_file : 'X\(//\)[^/]' \| \
86252 X$ac_file : 'X\(//\)$' \| \
86253 X$ac_file : 'X\(/\)' \| \
86254 . : '\(.\)' 2>/dev/null ||
86255 echo X$ac_file |
86256 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
86257 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
86258 /^X\(\/\/\)$/{ s//\1/; q; }
86259 /^X\(\/\).*/{ s//\1/; q; }
86260 s/.*/./; q'`/stamp-h$_am_stamp_count
86261 done
86262 _ACEOF
86263 cat >>$CONFIG_STATUS <<\_ACEOF
86266 # CONFIG_COMMANDS section.
86268 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
86269 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
86270 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
86271 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
86272 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
86273 X"$ac_dest" : 'X\(//\)[^/]' \| \
86274 X"$ac_dest" : 'X\(//\)$' \| \
86275 X"$ac_dest" : 'X\(/\)' \| \
86276 . : '\(.\)' 2>/dev/null ||
86277 echo X"$ac_dest" |
86278 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
86279 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
86280 /^X\(\/\/\)$/{ s//\1/; q; }
86281 /^X\(\/\).*/{ s//\1/; q; }
86282 s/.*/./; q'`
86283 { if $as_mkdir_p; then
86284 mkdir -p "$ac_dir"
86285 else
86286 as_dir="$ac_dir"
86287 as_dirs=
86288 while test ! -d "$as_dir"; do
86289 as_dirs="$as_dir $as_dirs"
86290 as_dir=`(dirname "$as_dir") 2>/dev/null ||
86291 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
86292 X"$as_dir" : 'X\(//\)[^/]' \| \
86293 X"$as_dir" : 'X\(//\)$' \| \
86294 X"$as_dir" : 'X\(/\)' \| \
86295 . : '\(.\)' 2>/dev/null ||
86296 echo X"$as_dir" |
86297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
86298 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
86299 /^X\(\/\/\)$/{ s//\1/; q; }
86300 /^X\(\/\).*/{ s//\1/; q; }
86301 s/.*/./; q'`
86302 done
86303 test ! -n "$as_dirs" || mkdir $as_dirs
86304 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
86305 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
86306 { (exit 1); exit 1; }; }; }
86308 ac_builddir=.
86310 if test "$ac_dir" != .; then
86311 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
86312 # A "../" for each directory in $ac_dir_suffix.
86313 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
86314 else
86315 ac_dir_suffix= ac_top_builddir=
86318 case $srcdir in
86319 .) # No --srcdir option. We are building in place.
86320 ac_srcdir=.
86321 if test -z "$ac_top_builddir"; then
86322 ac_top_srcdir=.
86323 else
86324 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
86325 fi ;;
86326 [\\/]* | ?:[\\/]* ) # Absolute path.
86327 ac_srcdir=$srcdir$ac_dir_suffix;
86328 ac_top_srcdir=$srcdir ;;
86329 *) # Relative path.
86330 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
86331 ac_top_srcdir=$ac_top_builddir$srcdir ;;
86332 esac
86334 # Do not use `cd foo && pwd` to compute absolute paths, because
86335 # the directories may not exist.
86336 case `pwd` in
86337 .) ac_abs_builddir="$ac_dir";;
86339 case "$ac_dir" in
86340 .) ac_abs_builddir=`pwd`;;
86341 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
86342 *) ac_abs_builddir=`pwd`/"$ac_dir";;
86343 esac;;
86344 esac
86345 case $ac_abs_builddir in
86346 .) ac_abs_top_builddir=${ac_top_builddir}.;;
86348 case ${ac_top_builddir}. in
86349 .) ac_abs_top_builddir=$ac_abs_builddir;;
86350 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
86351 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
86352 esac;;
86353 esac
86354 case $ac_abs_builddir in
86355 .) ac_abs_srcdir=$ac_srcdir;;
86357 case $ac_srcdir in
86358 .) ac_abs_srcdir=$ac_abs_builddir;;
86359 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
86360 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
86361 esac;;
86362 esac
86363 case $ac_abs_builddir in
86364 .) ac_abs_top_srcdir=$ac_top_srcdir;;
86366 case $ac_top_srcdir in
86367 .) ac_abs_top_srcdir=$ac_abs_builddir;;
86368 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
86369 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
86370 esac;;
86371 esac
86374 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
86375 echo "$as_me: executing $ac_dest commands" >&6;}
86376 case $ac_dest in
86377 default-1 )
86378 # Only add multilib support code if we just rebuilt the top-level
86379 # Makefile.
86380 case " $CONFIG_FILES " in
86381 *" Makefile "*)
86382 ac_file=Makefile . ${multi_basedir}/config-ml.in
86384 esac ;;
86385 default ) if test -n "$CONFIG_FILES"; then
86386 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
86387 # that multilib installs will end up installed in the correct place.
86388 # The testsuite needs it for multilib-aware ABI baseline files.
86389 # To work around this not being passed down from config-ml.in ->
86390 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
86391 # append it here. Only modify Makefiles that have just been created.
86393 # Also, get rid of this simulated-VPATH thing that automake does.
86394 cat > vpsed << \_EOF
86395 s!`test -f '$<' || echo '$(srcdir)/'`!!
86396 _EOF
86397 for i in $SUBDIRS; do
86398 case $CONFIG_FILES in
86399 *${i}/Makefile*)
86400 #echo "Adding MULTISUBDIR to $i/Makefile"
86401 sed -f vpsed $i/Makefile > tmp
86402 grep '^MULTISUBDIR =' Makefile >> tmp
86403 mv tmp $i/Makefile
86405 esac
86406 done
86407 rm vpsed
86409 (cd include && ${MAKE-make})
86411 esac
86412 done
86413 _ACEOF
86415 cat >>$CONFIG_STATUS <<\_ACEOF
86417 { (exit 0); exit 0; }
86418 _ACEOF
86419 chmod +x $CONFIG_STATUS
86420 ac_clean_files=$ac_clean_files_save
86423 # configure is writing to config.log, and then calls config.status.
86424 # config.status does its own redirection, appending to config.log.
86425 # Unfortunately, on DOS this fails, as config.log is still kept open
86426 # by configure, so config.status won't be able to write to it; its
86427 # output is simply discarded. So we exec the FD to /dev/null,
86428 # effectively closing config.log, so it can be properly (re)opened and
86429 # appended to by config.status. When coming back to configure, we
86430 # need to make the FD available again.
86431 if test "$no_create" != yes; then
86432 ac_cs_success=:
86433 ac_config_status_args=
86434 test "$silent" = yes &&
86435 ac_config_status_args="$ac_config_status_args --quiet"
86436 exec 5>/dev/null
86437 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
86438 exec 5>>config.log
86439 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
86440 # would make configure fail if this is the last instruction.
86441 $ac_cs_success || { (exit 1); exit 1; }